// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`ListDocuments`](crate::operation::list_documents::builders::ListDocumentsFluentBuilder) operation.
/// This operation supports pagination; See [`into_paginator()`](crate::operation::list_documents::builders::ListDocumentsFluentBuilder::into_paginator).
///
/// - The fluent builder is configurable:
/// - [`document_filter_list(DocumentFilter)`](crate::operation::list_documents::builders::ListDocumentsFluentBuilder::document_filter_list) / [`set_document_filter_list(Option<Vec::<DocumentFilter>>)`](crate::operation::list_documents::builders::ListDocumentsFluentBuilder::set_document_filter_list):<br>required: **false**<br><p>This data type is deprecated. Instead, use <code>Filters</code>.</p><br>
/// - [`filters(DocumentKeyValuesFilter)`](crate::operation::list_documents::builders::ListDocumentsFluentBuilder::filters) / [`set_filters(Option<Vec::<DocumentKeyValuesFilter>>)`](crate::operation::list_documents::builders::ListDocumentsFluentBuilder::set_filters):<br>required: **false**<br><p>One or more <code>DocumentKeyValuesFilter</code> 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 <code>Owner</code>, <code>Name</code>, <code>PlatformTypes</code>, <code>DocumentType</code>, and <code>TargetType</code>. For example, to return documents you own use <code>Key=Owner,Values=Self</code>. To specify a custom key-value pair, use the format <code>Key=tag:tagName,Values=valueName</code>.</p><note> <p>This API operation only supports filtering documents by using a single tag key and one or more tag values. For example: <code>Key=tag:tagName,Values=valueName1,valueName2</code></p> </note><br>
/// - [`max_results(i32)`](crate::operation::list_documents::builders::ListDocumentsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_documents::builders::ListDocumentsFluentBuilder::set_max_results):<br>required: **false**<br><p>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.</p><br>
/// - [`next_token(impl Into<String>)`](crate::operation::list_documents::builders::ListDocumentsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_documents::builders::ListDocumentsFluentBuilder::set_next_token):<br>required: **false**<br><p>The token for the next set of items to return. (You received this token from a previous call.)</p><br>
/// - On success, responds with [`ListDocumentsOutput`](crate::operation::list_documents::ListDocumentsOutput) with field(s):
/// - [`document_identifiers(Option<Vec::<DocumentIdentifier>>)`](crate::operation::list_documents::ListDocumentsOutput::document_identifiers): <p>The names of the SSM documents.</p>
/// - [`next_token(Option<String>)`](crate::operation::list_documents::ListDocumentsOutput::next_token): <p>The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.</p>
/// - On failure, responds with [`SdkError<ListDocumentsError>`](crate::operation::list_documents::ListDocumentsError)
pub fn list_documents(&self) -> crate::operation::list_documents::builders::ListDocumentsFluentBuilder {
crate::operation::list_documents::builders::ListDocumentsFluentBuilder::new(self.handle.clone())
}
}