Struct aws_sdk_ssm::input::ListDocumentsInput
source · [−]#[non_exhaustive]pub struct ListDocumentsInput {
pub document_filter_list: Option<Vec<DocumentFilter>>,
pub filters: Option<Vec<DocumentKeyValuesFilter>>,
pub max_results: Option<i32>,
pub next_token: Option<String>,
}
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.document_filter_list: Option<Vec<DocumentFilter>>
This data type is deprecated. Instead, use Filters
.
filters: Option<Vec<DocumentKeyValuesFilter>>
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
max_results: Option<i32>
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.
next_token: Option<String>
The token for the next set of items to return. (You received this token from a previous call.)
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ListDocuments, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ListDocuments, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<ListDocuments
>
Creates a new builder-style object to manufacture ListDocumentsInput
This data type is deprecated. Instead, use 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
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.)
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ListDocumentsInput
impl Send for ListDocumentsInput
impl Sync for ListDocumentsInput
impl Unpin for ListDocumentsInput
impl UnwindSafe for ListDocumentsInput
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