aws_sdk_cloudwatchlogs/client/
delete_log_anomaly_detector.rs

1
2
3
4
5
6
7
8
9
10
11
12
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DeleteLogAnomalyDetector`](crate::operation::delete_log_anomaly_detector::builders::DeleteLogAnomalyDetectorFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`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>
    /// - On success, responds with [`DeleteLogAnomalyDetectorOutput`](crate::operation::delete_log_anomaly_detector::DeleteLogAnomalyDetectorOutput)
    /// - On failure, responds with [`SdkError<DeleteLogAnomalyDetectorError>`](crate::operation::delete_log_anomaly_detector::DeleteLogAnomalyDetectorError)
    pub fn delete_log_anomaly_detector(&self) -> crate::operation::delete_log_anomaly_detector::builders::DeleteLogAnomalyDetectorFluentBuilder {
        crate::operation::delete_log_anomaly_detector::builders::DeleteLogAnomalyDetectorFluentBuilder::new(self.handle.clone())
    }
}