aws-sdk-cloudwatch 1.133.0

AWS SDK for Amazon CloudWatch
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetResourceMetricsConfiguration`](crate::operation::get_resource_metrics_configuration::builders::GetResourceMetricsConfigurationFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`resource_arn(impl Into<String>)`](crate::operation::get_resource_metrics_configuration::builders::GetResourceMetricsConfigurationFluentBuilder::resource_arn) / [`set_resource_arn(Option<String>)`](crate::operation::get_resource_metrics_configuration::builders::GetResourceMetricsConfigurationFluentBuilder::set_resource_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the Amazon Web Services resource to retrieve the resource metrics configuration for.</p><br>
    /// - On success, responds with [`GetResourceMetricsConfigurationOutput`](crate::operation::get_resource_metrics_configuration::GetResourceMetricsConfigurationOutput) with field(s):
    ///   - [`resource_metrics_configuration(Option<ResourceMetricsConfiguration>)`](crate::operation::get_resource_metrics_configuration::GetResourceMetricsConfigurationOutput::resource_metrics_configuration): <p>The resource metrics configuration for the specified resource.</p>
    /// - On failure, responds with [`SdkError<GetResourceMetricsConfigurationError>`](crate::operation::get_resource_metrics_configuration::GetResourceMetricsConfigurationError)
    pub fn get_resource_metrics_configuration(
        &self,
    ) -> crate::operation::get_resource_metrics_configuration::builders::GetResourceMetricsConfigurationFluentBuilder {
        crate::operation::get_resource_metrics_configuration::builders::GetResourceMetricsConfigurationFluentBuilder::new(self.handle.clone())
    }
}