aws_sdk_lookoutmetrics/client/
activate_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 [`ActivateAnomalyDetector`](crate::operation::activate_anomaly_detector::builders::ActivateAnomalyDetectorFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`anomaly_detector_arn(impl Into<String>)`](crate::operation::activate_anomaly_detector::builders::ActivateAnomalyDetectorFluentBuilder::anomaly_detector_arn) / [`set_anomaly_detector_arn(Option<String>)`](crate::operation::activate_anomaly_detector::builders::ActivateAnomalyDetectorFluentBuilder::set_anomaly_detector_arn):<br>required: **true**<br><p>The ARN of the anomaly detector.</p><br>
7    /// - On success, responds with [`ActivateAnomalyDetectorOutput`](crate::operation::activate_anomaly_detector::ActivateAnomalyDetectorOutput)
8    /// - On failure, responds with [`SdkError<ActivateAnomalyDetectorError>`](crate::operation::activate_anomaly_detector::ActivateAnomalyDetectorError)
9    pub fn activate_anomaly_detector(&self) -> crate::operation::activate_anomaly_detector::builders::ActivateAnomalyDetectorFluentBuilder {
10        crate::operation::activate_anomaly_detector::builders::ActivateAnomalyDetectorFluentBuilder::new(self.handle.clone())
11    }
12}