aws_sdk_lookoutmetrics/client/describe_anomaly_detector.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 [`DescribeAnomalyDetector`](crate::operation::describe_anomaly_detector::builders::DescribeAnomalyDetectorFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`anomaly_detector_arn(impl Into<String>)`](crate::operation::describe_anomaly_detector::builders::DescribeAnomalyDetectorFluentBuilder::anomaly_detector_arn) / [`set_anomaly_detector_arn(Option<String>)`](crate::operation::describe_anomaly_detector::builders::DescribeAnomalyDetectorFluentBuilder::set_anomaly_detector_arn):<br>required: **true**<br><p>The ARN of the detector to describe.</p><br>
7 /// - On success, responds with [`DescribeAnomalyDetectorOutput`](crate::operation::describe_anomaly_detector::DescribeAnomalyDetectorOutput) with field(s):
8 /// - [`anomaly_detector_arn(Option<String>)`](crate::operation::describe_anomaly_detector::DescribeAnomalyDetectorOutput::anomaly_detector_arn): <p>The ARN of the detector.</p>
9 /// - [`anomaly_detector_name(Option<String>)`](crate::operation::describe_anomaly_detector::DescribeAnomalyDetectorOutput::anomaly_detector_name): <p>The name of the detector.</p>
10 /// - [`anomaly_detector_description(Option<String>)`](crate::operation::describe_anomaly_detector::DescribeAnomalyDetectorOutput::anomaly_detector_description): <p>A description of the detector.</p>
11 /// - [`anomaly_detector_config(Option<AnomalyDetectorConfigSummary>)`](crate::operation::describe_anomaly_detector::DescribeAnomalyDetectorOutput::anomaly_detector_config): <p>Contains information about the detector's configuration.</p>
12 /// - [`creation_time(Option<DateTime>)`](crate::operation::describe_anomaly_detector::DescribeAnomalyDetectorOutput::creation_time): <p>The time at which the detector was created.</p>
13 /// - [`last_modification_time(Option<DateTime>)`](crate::operation::describe_anomaly_detector::DescribeAnomalyDetectorOutput::last_modification_time): <p>The time at which the detector was last modified.</p>
14 /// - [`status(Option<AnomalyDetectorStatus>)`](crate::operation::describe_anomaly_detector::DescribeAnomalyDetectorOutput::status): <p>The status of the detector.</p>
15 /// - [`failure_reason(Option<String>)`](crate::operation::describe_anomaly_detector::DescribeAnomalyDetectorOutput::failure_reason): <p>The reason that the detector failed.</p>
16 /// - [`kms_key_arn(Option<String>)`](crate::operation::describe_anomaly_detector::DescribeAnomalyDetectorOutput::kms_key_arn): <p>The ARN of the KMS key to use to encrypt your data.</p>
17 /// - [`failure_type(Option<AnomalyDetectorFailureType>)`](crate::operation::describe_anomaly_detector::DescribeAnomalyDetectorOutput::failure_type): <p>The process that caused the detector to fail.</p>
18 /// - On failure, responds with [`SdkError<DescribeAnomalyDetectorError>`](crate::operation::describe_anomaly_detector::DescribeAnomalyDetectorError)
19 pub fn describe_anomaly_detector(&self) -> crate::operation::describe_anomaly_detector::builders::DescribeAnomalyDetectorFluentBuilder {
20 crate::operation::describe_anomaly_detector::builders::DescribeAnomalyDetectorFluentBuilder::new(self.handle.clone())
21 }
22}