aws_sdk_datazone/client/list_metadata_generation_runs.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`ListMetadataGenerationRuns`](crate::operation::list_metadata_generation_runs::builders::ListMetadataGenerationRunsFluentBuilder) operation.
/// This operation supports pagination; See [`into_paginator()`](crate::operation::list_metadata_generation_runs::builders::ListMetadataGenerationRunsFluentBuilder::into_paginator).
///
/// - The fluent builder is configurable:
/// - [`domain_identifier(impl Into<String>)`](crate::operation::list_metadata_generation_runs::builders::ListMetadataGenerationRunsFluentBuilder::domain_identifier) / [`set_domain_identifier(Option<String>)`](crate::operation::list_metadata_generation_runs::builders::ListMetadataGenerationRunsFluentBuilder::set_domain_identifier):<br>required: **true**<br><p>The ID of the Amazon DataZone domain where you want to list metadata generation runs.</p><br>
/// - [`status(MetadataGenerationRunStatus)`](crate::operation::list_metadata_generation_runs::builders::ListMetadataGenerationRunsFluentBuilder::status) / [`set_status(Option<MetadataGenerationRunStatus>)`](crate::operation::list_metadata_generation_runs::builders::ListMetadataGenerationRunsFluentBuilder::set_status):<br>required: **false**<br><p>The status of the metadata generation runs.</p><br>
/// - [`r#type(MetadataGenerationRunType)`](crate::operation::list_metadata_generation_runs::builders::ListMetadataGenerationRunsFluentBuilder::type) / [`set_type(Option<MetadataGenerationRunType>)`](crate::operation::list_metadata_generation_runs::builders::ListMetadataGenerationRunsFluentBuilder::set_type):<br>required: **false**<br><p>The type of the metadata generation runs.</p><br>
/// - [`next_token(impl Into<String>)`](crate::operation::list_metadata_generation_runs::builders::ListMetadataGenerationRunsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_metadata_generation_runs::builders::ListMetadataGenerationRunsFluentBuilder::set_next_token):<br>required: **false**<br><p>When the number of metadata generation runs is greater than the default value for the MaxResults parameter, or if you explicitly specify a value for MaxResults that is less than the number of metadata generation runs, the response includes a pagination token named NextToken. You can specify this NextToken value in a subsequent call to ListMetadataGenerationRuns to list the next set of revisions.</p><br>
/// - [`max_results(i32)`](crate::operation::list_metadata_generation_runs::builders::ListMetadataGenerationRunsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_metadata_generation_runs::builders::ListMetadataGenerationRunsFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of metadata generation runs to return in a single call to ListMetadataGenerationRuns. When the number of metadata generation runs to be listed is greater than the value of MaxResults, the response contains a NextToken value that you can use in a subsequent call to ListMetadataGenerationRuns to list the next set of revisions.</p><br>
/// - On success, responds with [`ListMetadataGenerationRunsOutput`](crate::operation::list_metadata_generation_runs::ListMetadataGenerationRunsOutput) with field(s):
/// - [`items(Option<Vec::<MetadataGenerationRunItem>>)`](crate::operation::list_metadata_generation_runs::ListMetadataGenerationRunsOutput::items): <p>The results of the ListMetadataGenerationRuns action.</p>
/// - [`next_token(Option<String>)`](crate::operation::list_metadata_generation_runs::ListMetadataGenerationRunsOutput::next_token): <p>When the number of metadata generation runs is greater than the default value for the MaxResults parameter, or if you explicitly specify a value for MaxResults that is less than the number of metadata generation runs, the response includes a pagination token named NextToken. You can specify this NextToken value in a subsequent call to ListMetadataGenerationRuns to list the next set of revisions.</p>
/// - On failure, responds with [`SdkError<ListMetadataGenerationRunsError>`](crate::operation::list_metadata_generation_runs::ListMetadataGenerationRunsError)
pub fn list_metadata_generation_runs(
&self,
) -> crate::operation::list_metadata_generation_runs::builders::ListMetadataGenerationRunsFluentBuilder {
crate::operation::list_metadata_generation_runs::builders::ListMetadataGenerationRunsFluentBuilder::new(self.handle.clone())
}
}