aws-sdk-amp 1.110.0

AWS SDK for Amazon Prometheus Service
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DescribeAnomalyDetector`](crate::operation::describe_anomaly_detector::builders::DescribeAnomalyDetectorFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`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>
    ///   - [`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>
    /// - On success, responds with [`DescribeAnomalyDetectorOutput`](crate::operation::describe_anomaly_detector::DescribeAnomalyDetectorOutput) with field(s):
    ///   - [`anomaly_detector(Option<AnomalyDetectorDescription>)`](crate::operation::describe_anomaly_detector::DescribeAnomalyDetectorOutput::anomaly_detector): <p>The detailed information about the anomaly detector.</p>
    /// - On failure, responds with [`SdkError<DescribeAnomalyDetectorError>`](crate::operation::describe_anomaly_detector::DescribeAnomalyDetectorError)
    pub fn describe_anomaly_detector(&self) -> crate::operation::describe_anomaly_detector::builders::DescribeAnomalyDetectorFluentBuilder {
        crate::operation::describe_anomaly_detector::builders::DescribeAnomalyDetectorFluentBuilder::new(self.handle.clone())
    }
}