aws-sdk-amp 1.111.0

AWS SDK for Amazon Prometheus Service
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DeleteAnomalyDetector`](crate::operation::delete_anomaly_detector::builders::DeleteAnomalyDetectorFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`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>
    ///   - [`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>
    ///   - [`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>
    /// - On success, responds with [`DeleteAnomalyDetectorOutput`](crate::operation::delete_anomaly_detector::DeleteAnomalyDetectorOutput)
    /// - On failure, responds with [`SdkError<DeleteAnomalyDetectorError>`](crate::operation::delete_anomaly_detector::DeleteAnomalyDetectorError)
    pub fn delete_anomaly_detector(&self) -> crate::operation::delete_anomaly_detector::builders::DeleteAnomalyDetectorFluentBuilder {
        crate::operation::delete_anomaly_detector::builders::DeleteAnomalyDetectorFluentBuilder::new(self.handle.clone())
    }
}