aws_sdk_lookoutmetrics/client/describe_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 [`DescribeAlert`](crate::operation::describe_alert::builders::DescribeAlertFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`alert_arn(impl Into<String>)`](crate::operation::describe_alert::builders::DescribeAlertFluentBuilder::alert_arn) / [`set_alert_arn(Option<String>)`](crate::operation::describe_alert::builders::DescribeAlertFluentBuilder::set_alert_arn):<br>required: **true**<br><p>The ARN of the alert to describe.</p><br>
7 /// - On success, responds with [`DescribeAlertOutput`](crate::operation::describe_alert::DescribeAlertOutput) with field(s):
8 /// - [`alert(Option<Alert>)`](crate::operation::describe_alert::DescribeAlertOutput::alert): <p>Contains information about an alert.</p>
9 /// - On failure, responds with [`SdkError<DescribeAlertError>`](crate::operation::describe_alert::DescribeAlertError)
10 pub fn describe_alert(&self) -> crate::operation::describe_alert::builders::DescribeAlertFluentBuilder {
11 crate::operation::describe_alert::builders::DescribeAlertFluentBuilder::new(self.handle.clone())
12 }
13}