aws-sdk-cloudwatchomni 1.2.0

AWS SDK for CloudWatch Omni
Documentation
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetView`](crate::operation::get_view::builders::GetViewFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`name(impl Into<String>)`](crate::operation::get_view::builders::GetViewFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::get_view::builders::GetViewFluentBuilder::set_name):<br>required: **true**<br>The name of the view.<br>
    /// - On success, responds with [`GetViewOutput`](crate::operation::get_view::GetViewOutput) with field(s):
    ///   - [`name(String)`](crate::operation::get_view::GetViewOutput::name): The name of the view.
    ///   - [`r#type(ViewType)`](crate::operation::get_view::GetViewOutput::type): The ownership category of the view.
    ///   - [`description(Option<String>)`](crate::operation::get_view::GetViewOutput::description): The description of the view.
    ///   - [`definition(String)`](crate::operation::get_view::GetViewOutput::definition): The SQL query that defines the view.
    ///   - [`created_at(DateTime)`](crate::operation::get_view::GetViewOutput::created_at): The timestamp when the view was created.
    ///   - [`updated_at(DateTime)`](crate::operation::get_view::GetViewOutput::updated_at): The timestamp when the view was last updated.
    ///   - [`arn(String)`](crate::operation::get_view::GetViewOutput::arn): The ARN of the view.
    /// - On failure, responds with [`SdkError<GetViewError>`](crate::operation::get_view::GetViewError)
    pub fn get_view(&self) -> crate::operation::get_view::builders::GetViewFluentBuilder {
        crate::operation::get_view::builders::GetViewFluentBuilder::new(self.handle.clone())
    }
}