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 [`UpdateView`](crate::operation::update_view::builders::UpdateViewFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`name(impl Into<String>)`](crate::operation::update_view::builders::UpdateViewFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::update_view::builders::UpdateViewFluentBuilder::set_name):<br>required: **true**<br>The name of the view to update.<br>
    ///   - [`definition(impl Into<String>)`](crate::operation::update_view::builders::UpdateViewFluentBuilder::definition) / [`set_definition(Option<String>)`](crate::operation::update_view::builders::UpdateViewFluentBuilder::set_definition):<br>required: **false**<br>The new SQL query that defines the view. Omit to leave unchanged.<br>
    ///   - [`description(impl Into<String>)`](crate::operation::update_view::builders::UpdateViewFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::update_view::builders::UpdateViewFluentBuilder::set_description):<br>required: **false**<br>The new description of the view. Omit to leave unchanged.<br>
    /// - On success, responds with [`UpdateViewOutput`](crate::operation::update_view::UpdateViewOutput) with field(s):
    ///   - [`name(String)`](crate::operation::update_view::UpdateViewOutput::name): The name of the view.
    ///   - [`r#type(ViewType)`](crate::operation::update_view::UpdateViewOutput::type): The ownership category of the view.
    ///   - [`description(Option<String>)`](crate::operation::update_view::UpdateViewOutput::description): The description of the view.
    ///   - [`definition(String)`](crate::operation::update_view::UpdateViewOutput::definition): The SQL query that defines the view.
    ///   - [`created_at(DateTime)`](crate::operation::update_view::UpdateViewOutput::created_at): The timestamp when the view was created.
    ///   - [`updated_at(DateTime)`](crate::operation::update_view::UpdateViewOutput::updated_at): The timestamp when the view was last updated.
    ///   - [`arn(String)`](crate::operation::update_view::UpdateViewOutput::arn): The ARN of the view.
    /// - On failure, responds with [`SdkError<UpdateViewError>`](crate::operation::update_view::UpdateViewError)
    pub fn update_view(&self) -> crate::operation::update_view::builders::UpdateViewFluentBuilder {
        crate::operation::update_view::builders::UpdateViewFluentBuilder::new(self.handle.clone())
    }
}