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