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
16
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetOTelEnrichment`](crate::operation::get_o_tel_enrichment::builders::GetOTelEnrichmentFluentBuilder) operation.
    ///
    /// - The fluent builder takes no input, just [`send`](crate::operation::get_o_tel_enrichment::builders::GetOTelEnrichmentFluentBuilder::send) it.
    /// - On success, responds with [`GetOTelEnrichmentOutput`](crate::operation::get_o_tel_enrichment::GetOTelEnrichmentOutput) with field(s):
    ///   - [`status(Option<OTelEnrichmentStatus>)`](crate::operation::get_o_tel_enrichment::GetOTelEnrichmentOutput::status): <p>The status of OTel enrichment for the account. Valid values are <code>Running</code> (enrichment is enabled) and <code>Stopped</code> (enrichment is disabled).</p>
    ///   - [`include_filters(Option<Vec::<OTelEnrichmentMetricSelector>>)`](crate::operation::get_o_tel_enrichment::GetOTelEnrichmentOutput::include_filters): <p>The metric namespaces, and the metric names, that are enriched. This parameter is omitted when enrichment is stopped, and when enrichment is running with no include filters, which means that every supported namespace is in scope.</p>
    ///   - [`exclude_filters(Option<Vec::<OTelEnrichmentMetricSelector>>)`](crate::operation::get_o_tel_enrichment::GetOTelEnrichmentOutput::exclude_filters): <p>The metric namespaces, and the metric names, that are left unenriched. This parameter is omitted when enrichment is stopped, and when enrichment is running with no exclude filters, which means that nothing is excluded.</p>
    ///   - [`created_at(Option<DateTime>)`](crate::operation::get_o_tel_enrichment::GetOTelEnrichmentOutput::created_at): <p>The date and time that enrichment started for the account. This parameter is omitted when enrichment is stopped.</p>
    ///   - [`updated_at(Option<DateTime>)`](crate::operation::get_o_tel_enrichment::GetOTelEnrichmentOutput::updated_at): <p>The date and time that the enrichment configuration for the account was last stored.</p>
    /// - On failure, responds with [`SdkError<GetOTelEnrichmentError>`](crate::operation::get_o_tel_enrichment::GetOTelEnrichmentError)
    pub fn get_o_tel_enrichment(&self) -> crate::operation::get_o_tel_enrichment::builders::GetOTelEnrichmentFluentBuilder {
        crate::operation::get_o_tel_enrichment::builders::GetOTelEnrichmentFluentBuilder::new(self.handle.clone())
    }
}