aws-sdk-cloudtrail 1.104.0

AWS SDK for AWS CloudTrail
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`ListDashboards`](crate::operation::list_dashboards::builders::ListDashboardsFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`name_prefix(impl Into<String>)`](crate::operation::list_dashboards::builders::ListDashboardsFluentBuilder::name_prefix) / [`set_name_prefix(Option<String>)`](crate::operation::list_dashboards::builders::ListDashboardsFluentBuilder::set_name_prefix):<br>required: **false**<br><p>Specify a name prefix to filter on.</p><br>
    ///   - [`r#type(DashboardType)`](crate::operation::list_dashboards::builders::ListDashboardsFluentBuilder::type) / [`set_type(Option<DashboardType>)`](crate::operation::list_dashboards::builders::ListDashboardsFluentBuilder::set_type):<br>required: **false**<br><p>Specify a dashboard type to filter on: <code>CUSTOM</code> or <code>MANAGED</code>.</p><br>
    ///   - [`next_token(impl Into<String>)`](crate::operation::list_dashboards::builders::ListDashboardsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_dashboards::builders::ListDashboardsFluentBuilder::set_next_token):<br>required: **false**<br><p>A token you can use to get the next page of dashboard results.</p><br>
    ///   - [`max_results(i32)`](crate::operation::list_dashboards::builders::ListDashboardsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_dashboards::builders::ListDashboardsFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of dashboards to display on a single page.</p><br>
    /// - On success, responds with [`ListDashboardsOutput`](crate::operation::list_dashboards::ListDashboardsOutput) with field(s):
    ///   - [`dashboards(Option<Vec::<DashboardDetail>>)`](crate::operation::list_dashboards::ListDashboardsOutput::dashboards): <p>Contains information about dashboards in the account, in the current Region that match the applied filters.</p>
    ///   - [`next_token(Option<String>)`](crate::operation::list_dashboards::ListDashboardsOutput::next_token): <p>A token you can use to get the next page of dashboard results.</p>
    /// - On failure, responds with [`SdkError<ListDashboardsError>`](crate::operation::list_dashboards::ListDashboardsError)
    pub fn list_dashboards(&self) -> crate::operation::list_dashboards::builders::ListDashboardsFluentBuilder {
        crate::operation::list_dashboards::builders::ListDashboardsFluentBuilder::new(self.handle.clone())
    }
}