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
15
16
17
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`UpdateOmniDashboard`](crate::operation::update_omni_dashboard::builders::UpdateOmniDashboardFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`space_id(impl Into<String>)`](crate::operation::update_omni_dashboard::builders::UpdateOmniDashboardFluentBuilder::space_id) / [`set_space_id(Option<String>)`](crate::operation::update_omni_dashboard::builders::UpdateOmniDashboardFluentBuilder::set_space_id):<br>required: **true**<br>The unique ID of the space.<br>
    ///   - [`dashboard_id(impl Into<String>)`](crate::operation::update_omni_dashboard::builders::UpdateOmniDashboardFluentBuilder::dashboard_id) / [`set_dashboard_id(Option<String>)`](crate::operation::update_omni_dashboard::builders::UpdateOmniDashboardFluentBuilder::set_dashboard_id):<br>required: **true**<br>The unique ID of the dashboard.<br>
    ///   - [`body(impl Into<String>)`](crate::operation::update_omni_dashboard::builders::UpdateOmniDashboardFluentBuilder::body) / [`set_body(Option<String>)`](crate::operation::update_omni_dashboard::builders::UpdateOmniDashboardFluentBuilder::set_body):<br>required: **false**<br>The new dashboard definition, as a JSON document. Maximum 1 MiB. Omit to leave unchanged.<br>
    ///   - [`name(impl Into<String>)`](crate::operation::update_omni_dashboard::builders::UpdateOmniDashboardFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::update_omni_dashboard::builders::UpdateOmniDashboardFluentBuilder::set_name):<br>required: **false**<br>A new name for the dashboard. Omit to leave unchanged.<br>
    ///   - [`description(impl Into<String>)`](crate::operation::update_omni_dashboard::builders::UpdateOmniDashboardFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::update_omni_dashboard::builders::UpdateOmniDashboardFluentBuilder::set_description):<br>required: **false**<br>A new description of the dashboard. Omit to leave unchanged.<br>
    /// - On success, responds with [`UpdateOmniDashboardOutput`](crate::operation::update_omni_dashboard::UpdateOmniDashboardOutput) with field(s):
    ///   - [`omni_dashboard(Option<OmniDashboard>)`](crate::operation::update_omni_dashboard::UpdateOmniDashboardOutput::omni_dashboard): The dashboard.
    /// - On failure, responds with [`SdkError<UpdateOmniDashboardError>`](crate::operation::update_omni_dashboard::UpdateOmniDashboardError)
    pub fn update_omni_dashboard(&self) -> crate::operation::update_omni_dashboard::builders::UpdateOmniDashboardFluentBuilder {
        crate::operation::update_omni_dashboard::builders::UpdateOmniDashboardFluentBuilder::new(self.handle.clone())
    }
}