aws_sdk_devopsguru/client/
describe_anomaly.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 [`DescribeAnomaly`](crate::operation::describe_anomaly::builders::DescribeAnomalyFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`id(impl Into<String>)`](crate::operation::describe_anomaly::builders::DescribeAnomalyFluentBuilder::id) / [`set_id(Option<String>)`](crate::operation::describe_anomaly::builders::DescribeAnomalyFluentBuilder::set_id):<br>required: **true**<br><p>The ID of the anomaly.</p><br>
7    ///   - [`account_id(impl Into<String>)`](crate::operation::describe_anomaly::builders::DescribeAnomalyFluentBuilder::account_id) / [`set_account_id(Option<String>)`](crate::operation::describe_anomaly::builders::DescribeAnomalyFluentBuilder::set_account_id):<br>required: **false**<br><p>The ID of the member account.</p><br>
8    /// - On success, responds with [`DescribeAnomalyOutput`](crate::operation::describe_anomaly::DescribeAnomalyOutput) with field(s):
9    ///   - [`proactive_anomaly(Option<ProactiveAnomaly>)`](crate::operation::describe_anomaly::DescribeAnomalyOutput::proactive_anomaly): <p>A <code>ProactiveAnomaly</code> object that represents the requested anomaly.</p>
10    ///   - [`reactive_anomaly(Option<ReactiveAnomaly>)`](crate::operation::describe_anomaly::DescribeAnomalyOutput::reactive_anomaly): <p>A <code>ReactiveAnomaly</code> object that represents the requested anomaly.</p>
11    /// - On failure, responds with [`SdkError<DescribeAnomalyError>`](crate::operation::describe_anomaly::DescribeAnomalyError)
12    pub fn describe_anomaly(&self) -> crate::operation::describe_anomaly::builders::DescribeAnomalyFluentBuilder {
13        crate::operation::describe_anomaly::builders::DescribeAnomalyFluentBuilder::new(self.handle.clone())
14    }
15}