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