aws-sdk-cloudwatch 1.111.0

AWS SDK for Amazon CloudWatch
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
// 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>
    /// - 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())
    }
}