aws_sdk_amp/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 /// - [`workspace_id(impl Into<String>)`](crate::operation::describe_anomaly_detector::builders::DescribeAnomalyDetectorFluentBuilder::workspace_id) / [`set_workspace_id(Option<String>)`](crate::operation::describe_anomaly_detector::builders::DescribeAnomalyDetectorFluentBuilder::set_workspace_id):<br>required: **true**<br><p>The identifier of the workspace containing the anomaly detector.</p><br>
7 /// - [`anomaly_detector_id(impl Into<String>)`](crate::operation::describe_anomaly_detector::builders::DescribeAnomalyDetectorFluentBuilder::anomaly_detector_id) / [`set_anomaly_detector_id(Option<String>)`](crate::operation::describe_anomaly_detector::builders::DescribeAnomalyDetectorFluentBuilder::set_anomaly_detector_id):<br>required: **true**<br><p>The identifier of the anomaly detector to describe.</p><br>
8 /// - On success, responds with [`DescribeAnomalyDetectorOutput`](crate::operation::describe_anomaly_detector::DescribeAnomalyDetectorOutput) with field(s):
9 /// - [`anomaly_detector(Option<AnomalyDetectorDescription>)`](crate::operation::describe_anomaly_detector::DescribeAnomalyDetectorOutput::anomaly_detector): <p>The detailed information about the anomaly detector.</p>
10 /// - On failure, responds with [`SdkError<DescribeAnomalyDetectorError>`](crate::operation::describe_anomaly_detector::DescribeAnomalyDetectorError)
11 pub fn describe_anomaly_detector(&self) -> crate::operation::describe_anomaly_detector::builders::DescribeAnomalyDetectorFluentBuilder {
12 crate::operation::describe_anomaly_detector::builders::DescribeAnomalyDetectorFluentBuilder::new(self.handle.clone())
13 }
14}