1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`UpdateDashboard`](crate::operation::update_dashboard::builders::UpdateDashboardFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`dashboard_id(impl Into<String>)`](crate::operation::update_dashboard::builders::UpdateDashboardFluentBuilder::dashboard_id) / [`set_dashboard_id(Option<String>)`](crate::operation::update_dashboard::builders::UpdateDashboardFluentBuilder::set_dashboard_id):<br>required: **true**<br><p>The ID of the dashboard to update.</p><br>
    ///   - [`dashboard_name(impl Into<String>)`](crate::operation::update_dashboard::builders::UpdateDashboardFluentBuilder::dashboard_name) / [`set_dashboard_name(Option<String>)`](crate::operation::update_dashboard::builders::UpdateDashboardFluentBuilder::set_dashboard_name):<br>required: **true**<br><p>A new friendly name for the dashboard.</p><br>
    ///   - [`dashboard_description(impl Into<String>)`](crate::operation::update_dashboard::builders::UpdateDashboardFluentBuilder::dashboard_description) / [`set_dashboard_description(Option<String>)`](crate::operation::update_dashboard::builders::UpdateDashboardFluentBuilder::set_dashboard_description):<br>required: **false**<br><p>A new description for the dashboard.</p><br>
    ///   - [`dashboard_definition(impl Into<String>)`](crate::operation::update_dashboard::builders::UpdateDashboardFluentBuilder::dashboard_definition) / [`set_dashboard_definition(Option<String>)`](crate::operation::update_dashboard::builders::UpdateDashboardFluentBuilder::set_dashboard_definition):<br>required: **true**<br><p>The new dashboard definition, as specified in a JSON literal. For detailed information, see <a href="https://docs.aws.amazon.com/iot-sitewise/latest/userguide/create-dashboards-using-aws-cli.html">Creating dashboards (CLI)</a> in the <i>IoT SiteWise User Guide</i>.</p><br>
    ///   - [`client_token(impl Into<String>)`](crate::operation::update_dashboard::builders::UpdateDashboardFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::update_dashboard::builders::UpdateDashboardFluentBuilder::set_client_token):<br>required: **false**<br><p>A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.</p><br>
    /// - On success, responds with [`UpdateDashboardOutput`](crate::operation::update_dashboard::UpdateDashboardOutput)
    /// - On failure, responds with [`SdkError<UpdateDashboardError>`](crate::operation::update_dashboard::UpdateDashboardError)
    pub fn update_dashboard(&self) -> crate::operation::update_dashboard::builders::UpdateDashboardFluentBuilder {
        crate::operation::update_dashboard::builders::UpdateDashboardFluentBuilder::new(self.handle.clone())
    }
}