aws_sdk_amp/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    ///   - [`workspace_id(impl Into<String>)`](crate::operation::delete_anomaly_detector::builders::DeleteAnomalyDetectorFluentBuilder::workspace_id) / [`set_workspace_id(Option<String>)`](crate::operation::delete_anomaly_detector::builders::DeleteAnomalyDetectorFluentBuilder::set_workspace_id):<br>required: **true**<br><p>The identifier of the workspace containing the anomaly detector to delete.</p><br>
7    ///   - [`anomaly_detector_id(impl Into<String>)`](crate::operation::delete_anomaly_detector::builders::DeleteAnomalyDetectorFluentBuilder::anomaly_detector_id) / [`set_anomaly_detector_id(Option<String>)`](crate::operation::delete_anomaly_detector::builders::DeleteAnomalyDetectorFluentBuilder::set_anomaly_detector_id):<br>required: **true**<br><p>The identifier of the anomaly detector to delete.</p><br>
8    ///   - [`client_token(impl Into<String>)`](crate::operation::delete_anomaly_detector::builders::DeleteAnomalyDetectorFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::delete_anomaly_detector::builders::DeleteAnomalyDetectorFluentBuilder::set_client_token):<br>required: **false**<br><p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.</p><br>
9    /// - On success, responds with [`DeleteAnomalyDetectorOutput`](crate::operation::delete_anomaly_detector::DeleteAnomalyDetectorOutput)
10    /// - On failure, responds with [`SdkError<DeleteAnomalyDetectorError>`](crate::operation::delete_anomaly_detector::DeleteAnomalyDetectorError)
11    pub fn delete_anomaly_detector(&self) -> crate::operation::delete_anomaly_detector::builders::DeleteAnomalyDetectorFluentBuilder {
12        crate::operation::delete_anomaly_detector::builders::DeleteAnomalyDetectorFluentBuilder::new(self.handle.clone())
13    }
14}