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 [`DescribeAnomaly`](crate::operation::describe_anomaly::builders::DescribeAnomalyFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`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>
    ///   - [`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>
    /// - On success, responds with [`DescribeAnomalyOutput`](crate::operation::describe_anomaly::DescribeAnomalyOutput) with field(s):
    ///   - [`proactive_anomaly(Option<ProactiveAnomaly>)`](crate::operation::describe_anomaly::DescribeAnomalyOutput::proactive_anomaly): <p> A <code>ProactiveAnomaly</code> object that represents the requested anomaly. </p>
    ///   - [`reactive_anomaly(Option<ReactiveAnomaly>)`](crate::operation::describe_anomaly::DescribeAnomalyOutput::reactive_anomaly): <p> A <code>ReactiveAnomaly</code> object that represents the requested anomaly. </p>
    /// - On failure, responds with [`SdkError<DescribeAnomalyError>`](crate::operation::describe_anomaly::DescribeAnomalyError)
    pub fn describe_anomaly(&self) -> crate::operation::describe_anomaly::builders::DescribeAnomalyFluentBuilder {
        crate::operation::describe_anomaly::builders::DescribeAnomalyFluentBuilder::new(self.handle.clone())
    }
}