aws_sdk_cloudtrail/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 /// - [`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 name or ARN for the dashboard.</p><br>
7 /// - On success, responds with [`DeleteDashboardOutput`](crate::operation::delete_dashboard::DeleteDashboardOutput)
8 /// - On failure, responds with [`SdkError<DeleteDashboardError>`](crate::operation::delete_dashboard::DeleteDashboardError)
9 pub fn delete_dashboard(&self) -> crate::operation::delete_dashboard::builders::DeleteDashboardFluentBuilder {
10 crate::operation::delete_dashboard::builders::DeleteDashboardFluentBuilder::new(self.handle.clone())
11 }
12}