aws_sdk_cloudtrail/client/get_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 [`GetDashboard`](crate::operation::get_dashboard::builders::GetDashboardFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`dashboard_id(impl Into<String>)`](crate::operation::get_dashboard::builders::GetDashboardFluentBuilder::dashboard_id) / [`set_dashboard_id(Option<String>)`](crate::operation::get_dashboard::builders::GetDashboardFluentBuilder::set_dashboard_id):<br>required: **true**<br><p>The name or ARN for the dashboard.</p><br>
7 /// - On success, responds with [`GetDashboardOutput`](crate::operation::get_dashboard::GetDashboardOutput) with field(s):
8 /// - [`dashboard_arn(Option<String>)`](crate::operation::get_dashboard::GetDashboardOutput::dashboard_arn): <p>The ARN for the dashboard.</p>
9 /// - [`r#type(Option<DashboardType>)`](crate::operation::get_dashboard::GetDashboardOutput::type): <p>The type of dashboard.</p>
10 /// - [`status(Option<DashboardStatus>)`](crate::operation::get_dashboard::GetDashboardOutput::status): <p>The status of the dashboard.</p>
11 /// - [`widgets(Option<Vec::<Widget>>)`](crate::operation::get_dashboard::GetDashboardOutput::widgets): <p>An array of widgets for the dashboard.</p>
12 /// - [`refresh_schedule(Option<RefreshSchedule>)`](crate::operation::get_dashboard::GetDashboardOutput::refresh_schedule): <p>The refresh schedule for the dashboard, if configured.</p>
13 /// - [`created_timestamp(Option<DateTime>)`](crate::operation::get_dashboard::GetDashboardOutput::created_timestamp): <p>The timestamp that shows when the dashboard was created.</p>
14 /// - [`updated_timestamp(Option<DateTime>)`](crate::operation::get_dashboard::GetDashboardOutput::updated_timestamp): <p>The timestamp that shows when the dashboard was last updated.</p>
15 /// - [`last_refresh_id(Option<String>)`](crate::operation::get_dashboard::GetDashboardOutput::last_refresh_id): <p>The ID of the last dashboard refresh.</p>
16 /// - [`last_refresh_failure_reason(Option<String>)`](crate::operation::get_dashboard::GetDashboardOutput::last_refresh_failure_reason): <p>Provides information about failures for the last scheduled refresh.</p>
17 /// - [`termination_protection_enabled(Option<bool>)`](crate::operation::get_dashboard::GetDashboardOutput::termination_protection_enabled): <p>Indicates whether termination protection is enabled for the dashboard.</p>
18 /// - On failure, responds with [`SdkError<GetDashboardError>`](crate::operation::get_dashboard::GetDashboardError)
19 pub fn get_dashboard(&self) -> crate::operation::get_dashboard::builders::GetDashboardFluentBuilder {
20 crate::operation::get_dashboard::builders::GetDashboardFluentBuilder::new(self.handle.clone())
21 }
22}