Skip to main content

aws_sdk_cloudwatch/client/
get_o_tel_enrichment.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3    /// Constructs a fluent builder for the [`GetOTelEnrichment`](crate::operation::get_o_tel_enrichment::builders::GetOTelEnrichmentFluentBuilder) operation.
4    ///
5    /// - The fluent builder takes no input, just [`send`](crate::operation::get_o_tel_enrichment::builders::GetOTelEnrichmentFluentBuilder::send) it.
6    /// - On success, responds with [`GetOTelEnrichmentOutput`](crate::operation::get_o_tel_enrichment::GetOTelEnrichmentOutput) with field(s):
7    ///   - [`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>
8    /// - On failure, responds with [`SdkError<GetOTelEnrichmentError>`](crate::operation::get_o_tel_enrichment::GetOTelEnrichmentError)
9    pub fn get_o_tel_enrichment(&self) -> crate::operation::get_o_tel_enrichment::builders::GetOTelEnrichmentFluentBuilder {
10        crate::operation::get_o_tel_enrichment::builders::GetOTelEnrichmentFluentBuilder::new(self.handle.clone())
11    }
12}