Struct aws_sdk_ssm::client::fluent_builders::ListDocuments [−][src]
pub struct ListDocuments<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to ListDocuments
.
Returns all Systems Manager (SSM) documents in the current Amazon Web Services account and Amazon Web Services Region. You can limit the results of this request by using a filter.
Implementations
impl<C, M, R> ListDocuments<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> ListDocuments<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<ListDocumentsOutput, SdkError<ListDocumentsError>> where
R::Policy: SmithyRetryPolicy<ListDocumentsInputOperationOutputAlias, ListDocumentsOutput, ListDocumentsError, ListDocumentsInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<ListDocumentsOutput, SdkError<ListDocumentsError>> where
R::Policy: SmithyRetryPolicy<ListDocumentsInputOperationOutputAlias, ListDocumentsOutput, ListDocumentsError, ListDocumentsInputOperationRetryAlias>,
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
Appends an item to DocumentFilterList
.
To override the contents of this collection use set_document_filter_list
.
This data type is deprecated. Instead, use Filters
.
This data type is deprecated. Instead, use Filters
.
Appends an item to Filters
.
To override the contents of this collection use set_filters
.
One or more DocumentKeyValuesFilter
objects. Use a filter to return a more
specific list of results. For keys, you can specify one or more key-value pair tags that have
been applied to a document. Other valid keys include Owner
, Name
,
PlatformTypes
, DocumentType
, and TargetType
. For example,
to return documents you own use Key=Owner,Values=Self
. To specify a custom key-value
pair, use the format Key=tag:tagName,Values=valueName
.
This API operation only supports filtering documents by using a single tag key and one or
more tag values. For example: Key=tag:tagName,Values=valueName1,valueName2
One or more DocumentKeyValuesFilter
objects. Use a filter to return a more
specific list of results. For keys, you can specify one or more key-value pair tags that have
been applied to a document. Other valid keys include Owner
, Name
,
PlatformTypes
, DocumentType
, and TargetType
. For example,
to return documents you own use Key=Owner,Values=Self
. To specify a custom key-value
pair, use the format Key=tag:tagName,Values=valueName
.
This API operation only supports filtering documents by using a single tag key and one or
more tag values. For example: Key=tag:tagName,Values=valueName1,valueName2
The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.
The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.
The token for the next set of items to return. (You received this token from a previous call.)
The token for the next set of items to return. (You received this token from a previous call.)
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for ListDocuments<C, M, R>
impl<C, M, R> Unpin for ListDocuments<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for ListDocuments<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more