aws_sdk_cloudwatchlogs/client/
delete_log_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 [`DeleteLogAnomalyDetector`](crate::operation::delete_log_anomaly_detector::builders::DeleteLogAnomalyDetectorFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`anomaly_detector_arn(impl Into<String>)`](crate::operation::delete_log_anomaly_detector::builders::DeleteLogAnomalyDetectorFluentBuilder::anomaly_detector_arn) / [`set_anomaly_detector_arn(Option<String>)`](crate::operation::delete_log_anomaly_detector::builders::DeleteLogAnomalyDetectorFluentBuilder::set_anomaly_detector_arn):<br>required: **true**<br><p>The ARN of the anomaly detector to delete. You can find the ARNs of log anomaly detectors in your account by using the <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_ListLogAnomalyDetectors.html">ListLogAnomalyDetectors</a> operation.</p><br>
7    /// - On success, responds with [`DeleteLogAnomalyDetectorOutput`](crate::operation::delete_log_anomaly_detector::DeleteLogAnomalyDetectorOutput)
8    /// - On failure, responds with [`SdkError<DeleteLogAnomalyDetectorError>`](crate::operation::delete_log_anomaly_detector::DeleteLogAnomalyDetectorError)
9    pub fn delete_log_anomaly_detector(&self) -> crate::operation::delete_log_anomaly_detector::builders::DeleteLogAnomalyDetectorFluentBuilder {
10        crate::operation::delete_log_anomaly_detector::builders::DeleteLogAnomalyDetectorFluentBuilder::new(self.handle.clone())
11    }
12}