aws_sdk_quicksight/client/
delete_dashboard.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3    /// Constructs a fluent builder for the [`DeleteDashboard`](crate::operation::delete_dashboard::builders::DeleteDashboardFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`aws_account_id(impl Into<String>)`](crate::operation::delete_dashboard::builders::DeleteDashboardFluentBuilder::aws_account_id) / [`set_aws_account_id(Option<String>)`](crate::operation::delete_dashboard::builders::DeleteDashboardFluentBuilder::set_aws_account_id):<br>required: **true**<br><p>The ID of the Amazon Web Services account that contains the dashboard that you're deleting.</p><br>
7    ///   - [`dashboard_id(impl Into<String>)`](crate::operation::delete_dashboard::builders::DeleteDashboardFluentBuilder::dashboard_id) / [`set_dashboard_id(Option<String>)`](crate::operation::delete_dashboard::builders::DeleteDashboardFluentBuilder::set_dashboard_id):<br>required: **true**<br><p>The ID for the dashboard.</p><br>
8    ///   - [`version_number(i64)`](crate::operation::delete_dashboard::builders::DeleteDashboardFluentBuilder::version_number) / [`set_version_number(Option<i64>)`](crate::operation::delete_dashboard::builders::DeleteDashboardFluentBuilder::set_version_number):<br>required: **false**<br><p>The version number of the dashboard. If the version number property is provided, only the specified version of the dashboard is deleted.</p><br>
9    /// - On success, responds with [`DeleteDashboardOutput`](crate::operation::delete_dashboard::DeleteDashboardOutput) with field(s):
10    ///   - [`status(i32)`](crate::operation::delete_dashboard::DeleteDashboardOutput::status): <p>The HTTP status of the request.</p>
11    ///   - [`arn(Option<String>)`](crate::operation::delete_dashboard::DeleteDashboardOutput::arn): <p>The Secure Socket Layer (SSL) properties that apply for the resource.</p>
12    ///   - [`dashboard_id(Option<String>)`](crate::operation::delete_dashboard::DeleteDashboardOutput::dashboard_id): <p>The ID of the dashboard.</p>
13    ///   - [`request_id(Option<String>)`](crate::operation::delete_dashboard::DeleteDashboardOutput::request_id): <p>The Amazon Web Services request ID for this operation.</p>
14    /// - On failure, responds with [`SdkError<DeleteDashboardError>`](crate::operation::delete_dashboard::DeleteDashboardError)
15    pub fn delete_dashboard(&self) -> crate::operation::delete_dashboard::builders::DeleteDashboardFluentBuilder {
16        crate::operation::delete_dashboard::builders::DeleteDashboardFluentBuilder::new(self.handle.clone())
17    }
18}