aws-sdk-cloudwatchomni 1.2.0

AWS SDK for CloudWatch Omni
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 [`GetAlert`](crate::operation::get_alert::builders::GetAlertFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`space_id(impl Into<String>)`](crate::operation::get_alert::builders::GetAlertFluentBuilder::space_id) / [`set_space_id(Option<String>)`](crate::operation::get_alert::builders::GetAlertFluentBuilder::set_space_id):<br>required: **true**<br>The unique ID of the space.<br>
    ///   - [`alert_id(impl Into<String>)`](crate::operation::get_alert::builders::GetAlertFluentBuilder::alert_id) / [`set_alert_id(Option<String>)`](crate::operation::get_alert::builders::GetAlertFluentBuilder::set_alert_id):<br>required: **true**<br>The alert to retrieve.<br>
    /// - On success, responds with [`GetAlertOutput`](crate::operation::get_alert::GetAlertOutput) with field(s):
    ///   - [`alert(Option<Alert>)`](crate::operation::get_alert::GetAlertOutput::alert): The full alert entity.
    /// - On failure, responds with [`SdkError<GetAlertError>`](crate::operation::get_alert::GetAlertError)
    pub fn get_alert(&self) -> crate::operation::get_alert::builders::GetAlertFluentBuilder {
        crate::operation::get_alert::builders::GetAlertFluentBuilder::new(self.handle.clone())
    }
}