aws_sdk_bcmdashboards/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    ///   - [`arn(impl Into<String>)`](crate::operation::delete_dashboard::builders::DeleteDashboardFluentBuilder::arn) / [`set_arn(Option<String>)`](crate::operation::delete_dashboard::builders::DeleteDashboardFluentBuilder::set_arn):<br>required: **true**<br><p>The ARN of the dashboard to be deleted.</p><br>
7    /// - On success, responds with [`DeleteDashboardOutput`](crate::operation::delete_dashboard::DeleteDashboardOutput) with field(s):
8    ///   - [`arn(String)`](crate::operation::delete_dashboard::DeleteDashboardOutput::arn): <p>The ARN of the dashboard that was deleted.</p>
9    /// - On failure, responds with [`SdkError<DeleteDashboardError>`](crate::operation::delete_dashboard::DeleteDashboardError)
10    pub fn delete_dashboard(&self) -> crate::operation::delete_dashboard::builders::DeleteDashboardFluentBuilder {
11        crate::operation::delete_dashboard::builders::DeleteDashboardFluentBuilder::new(self.handle.clone())
12    }
13}