aws_sdk_quicksight/client/
list_dashboard_versions.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 [`ListDashboardVersions`](crate::operation::list_dashboard_versions::builders::ListDashboardVersionsFluentBuilder) operation.
4    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_dashboard_versions::builders::ListDashboardVersionsFluentBuilder::into_paginator).
5    ///
6    /// - The fluent builder is configurable:
7    ///   - [`aws_account_id(impl Into<String>)`](crate::operation::list_dashboard_versions::builders::ListDashboardVersionsFluentBuilder::aws_account_id) / [`set_aws_account_id(Option<String>)`](crate::operation::list_dashboard_versions::builders::ListDashboardVersionsFluentBuilder::set_aws_account_id):<br>required: **true**<br><p>The ID of the Amazon Web Services account that contains the dashboard that you're listing versions for.</p><br>
8    ///   - [`dashboard_id(impl Into<String>)`](crate::operation::list_dashboard_versions::builders::ListDashboardVersionsFluentBuilder::dashboard_id) / [`set_dashboard_id(Option<String>)`](crate::operation::list_dashboard_versions::builders::ListDashboardVersionsFluentBuilder::set_dashboard_id):<br>required: **true**<br><p>The ID for the dashboard.</p><br>
9    ///   - [`next_token(impl Into<String>)`](crate::operation::list_dashboard_versions::builders::ListDashboardVersionsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_dashboard_versions::builders::ListDashboardVersionsFluentBuilder::set_next_token):<br>required: **false**<br><p>The token for the next set of results, or null if there are no more results.</p><br>
10    ///   - [`max_results(i32)`](crate::operation::list_dashboard_versions::builders::ListDashboardVersionsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_dashboard_versions::builders::ListDashboardVersionsFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of results to be returned per request.</p><br>
11    /// - On success, responds with [`ListDashboardVersionsOutput`](crate::operation::list_dashboard_versions::ListDashboardVersionsOutput) with field(s):
12    ///   - [`dashboard_version_summary_list(Option<Vec::<DashboardVersionSummary>>)`](crate::operation::list_dashboard_versions::ListDashboardVersionsOutput::dashboard_version_summary_list): <p>A structure that contains information about each version of the dashboard.</p>
13    ///   - [`next_token(Option<String>)`](crate::operation::list_dashboard_versions::ListDashboardVersionsOutput::next_token): <p>The token for the next set of results, or null if there are no more results.</p>
14    ///   - [`status(i32)`](crate::operation::list_dashboard_versions::ListDashboardVersionsOutput::status): <p>The HTTP status of the request.</p>
15    ///   - [`request_id(Option<String>)`](crate::operation::list_dashboard_versions::ListDashboardVersionsOutput::request_id): <p>The Amazon Web Services request ID for this operation.</p>
16    /// - On failure, responds with [`SdkError<ListDashboardVersionsError>`](crate::operation::list_dashboard_versions::ListDashboardVersionsError)
17    pub fn list_dashboard_versions(&self) -> crate::operation::list_dashboard_versions::builders::ListDashboardVersionsFluentBuilder {
18        crate::operation::list_dashboard_versions::builders::ListDashboardVersionsFluentBuilder::new(self.handle.clone())
19    }
20}