aws_sdk_ssm/client/get_ops_metadata.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`GetOpsMetadata`](crate::operation::get_ops_metadata::builders::GetOpsMetadataFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`ops_metadata_arn(impl Into<String>)`](crate::operation::get_ops_metadata::builders::GetOpsMetadataFluentBuilder::ops_metadata_arn) / [`set_ops_metadata_arn(Option<String>)`](crate::operation::get_ops_metadata::builders::GetOpsMetadataFluentBuilder::set_ops_metadata_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of an OpsMetadata Object to view.</p><br>
/// - [`max_results(i32)`](crate::operation::get_ops_metadata::builders::GetOpsMetadataFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::get_ops_metadata::builders::GetOpsMetadataFluentBuilder::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::get_ops_metadata::builders::GetOpsMetadataFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::get_ops_metadata::builders::GetOpsMetadataFluentBuilder::set_next_token):<br>required: **false**<br><p>A token to start the list. Use this token to get the next set of results.</p><br>
/// - On success, responds with [`GetOpsMetadataOutput`](crate::operation::get_ops_metadata::GetOpsMetadataOutput) with field(s):
/// - [`resource_id(Option<String>)`](crate::operation::get_ops_metadata::GetOpsMetadataOutput::resource_id): <p>The resource ID of the Application Manager application.</p>
/// - [`metadata(Option<HashMap::<String, MetadataValue>>)`](crate::operation::get_ops_metadata::GetOpsMetadataOutput::metadata): <p>OpsMetadata for an Application Manager application.</p>
/// - [`next_token(Option<String>)`](crate::operation::get_ops_metadata::GetOpsMetadataOutput::next_token): <p>The token for the next set of items to return. Use this token to get the next set of results.</p>
/// - On failure, responds with [`SdkError<GetOpsMetadataError>`](crate::operation::get_ops_metadata::GetOpsMetadataError)
pub fn get_ops_metadata(&self) -> crate::operation::get_ops_metadata::builders::GetOpsMetadataFluentBuilder {
crate::operation::get_ops_metadata::builders::GetOpsMetadataFluentBuilder::new(self.handle.clone())
}
}