// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`ListDocumentMetadataHistory`](crate::operation::list_document_metadata_history::builders::ListDocumentMetadataHistoryFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`name(impl Into<String>)`](crate::operation::list_document_metadata_history::builders::ListDocumentMetadataHistoryFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::list_document_metadata_history::builders::ListDocumentMetadataHistoryFluentBuilder::set_name):<br>required: **true**<br><p>The name of the change template.</p><br>
/// - [`document_version(impl Into<String>)`](crate::operation::list_document_metadata_history::builders::ListDocumentMetadataHistoryFluentBuilder::document_version) / [`set_document_version(Option<String>)`](crate::operation::list_document_metadata_history::builders::ListDocumentMetadataHistoryFluentBuilder::set_document_version):<br>required: **false**<br><p>The version of the change template.</p><br>
/// - [`metadata(DocumentMetadataEnum)`](crate::operation::list_document_metadata_history::builders::ListDocumentMetadataHistoryFluentBuilder::metadata) / [`set_metadata(Option<DocumentMetadataEnum>)`](crate::operation::list_document_metadata_history::builders::ListDocumentMetadataHistoryFluentBuilder::set_metadata):<br>required: **true**<br><p>The type of data for which details are being requested. Currently, the only supported value is <code>DocumentReviews</code>.</p><br>
/// - [`next_token(impl Into<String>)`](crate::operation::list_document_metadata_history::builders::ListDocumentMetadataHistoryFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_document_metadata_history::builders::ListDocumentMetadataHistoryFluentBuilder::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>
/// - [`max_results(i32)`](crate::operation::list_document_metadata_history::builders::ListDocumentMetadataHistoryFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_document_metadata_history::builders::ListDocumentMetadataHistoryFluentBuilder::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>
/// - On success, responds with [`ListDocumentMetadataHistoryOutput`](crate::operation::list_document_metadata_history::ListDocumentMetadataHistoryOutput) with field(s):
/// - [`name(Option<String>)`](crate::operation::list_document_metadata_history::ListDocumentMetadataHistoryOutput::name): <p>The name of the change template.</p>
/// - [`document_version(Option<String>)`](crate::operation::list_document_metadata_history::ListDocumentMetadataHistoryOutput::document_version): <p>The version of the change template.</p>
/// - [`author(Option<String>)`](crate::operation::list_document_metadata_history::ListDocumentMetadataHistoryOutput::author): <p>The user ID of the person in the organization who requested the review of the change template.</p>
/// - [`metadata(Option<DocumentMetadataResponseInfo>)`](crate::operation::list_document_metadata_history::ListDocumentMetadataHistoryOutput::metadata): <p>Information about the response to the change template approval request.</p>
/// - [`next_token(Option<String>)`](crate::operation::list_document_metadata_history::ListDocumentMetadataHistoryOutput::next_token): <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>
/// - On failure, responds with [`SdkError<ListDocumentMetadataHistoryError>`](crate::operation::list_document_metadata_history::ListDocumentMetadataHistoryError)
pub fn list_document_metadata_history(
&self,
) -> crate::operation::list_document_metadata_history::builders::ListDocumentMetadataHistoryFluentBuilder {
crate::operation::list_document_metadata_history::builders::ListDocumentMetadataHistoryFluentBuilder::new(self.handle.clone())
}
}