aws_sdk_lookoutmetrics/client/
delete_alert.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 [`DeleteAlert`](crate::operation::delete_alert::builders::DeleteAlertFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`alert_arn(impl Into<String>)`](crate::operation::delete_alert::builders::DeleteAlertFluentBuilder::alert_arn) / [`set_alert_arn(Option<String>)`](crate::operation::delete_alert::builders::DeleteAlertFluentBuilder::set_alert_arn):<br>required: **true**<br><p>The ARN of the alert to delete.</p><br>
7    /// - On success, responds with [`DeleteAlertOutput`](crate::operation::delete_alert::DeleteAlertOutput)
8    /// - On failure, responds with [`SdkError<DeleteAlertError>`](crate::operation::delete_alert::DeleteAlertError)
9    pub fn delete_alert(&self) -> crate::operation::delete_alert::builders::DeleteAlertFluentBuilder {
10        crate::operation::delete_alert::builders::DeleteAlertFluentBuilder::new(self.handle.clone())
11    }
12}