aws_sdk_quicksight/client/
list_folders.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 [`ListFolders`](crate::operation::list_folders::builders::ListFoldersFluentBuilder) operation.
4    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_folders::builders::ListFoldersFluentBuilder::into_paginator).
5    ///
6    /// - The fluent builder is configurable:
7    ///   - [`aws_account_id(impl Into<String>)`](crate::operation::list_folders::builders::ListFoldersFluentBuilder::aws_account_id) / [`set_aws_account_id(Option<String>)`](crate::operation::list_folders::builders::ListFoldersFluentBuilder::set_aws_account_id):<br>required: **true**<br><p>The ID for the Amazon Web Services account that contains the folder.</p><br>
8    ///   - [`next_token(impl Into<String>)`](crate::operation::list_folders::builders::ListFoldersFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_folders::builders::ListFoldersFluentBuilder::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>
9    ///   - [`max_results(i32)`](crate::operation::list_folders::builders::ListFoldersFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_folders::builders::ListFoldersFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of results to be returned per request.</p><br>
10    /// - On success, responds with [`ListFoldersOutput`](crate::operation::list_folders::ListFoldersOutput) with field(s):
11    ///   - [`status(i32)`](crate::operation::list_folders::ListFoldersOutput::status): <p>The HTTP status of the request.</p>
12    ///   - [`folder_summary_list(Option<Vec::<FolderSummary>>)`](crate::operation::list_folders::ListFoldersOutput::folder_summary_list): <p>A structure that contains all of the folders in the Amazon Web Services account. This structure provides basic information about the folders.</p>
13    ///   - [`next_token(Option<String>)`](crate::operation::list_folders::ListFoldersOutput::next_token): <p>The token for the next set of results, or null if there are no more results.</p>
14    ///   - [`request_id(Option<String>)`](crate::operation::list_folders::ListFoldersOutput::request_id): <p>The Amazon Web Services request ID for this operation.</p>
15    /// - On failure, responds with [`SdkError<ListFoldersError>`](crate::operation::list_folders::ListFoldersError)
16    pub fn list_folders(&self) -> crate::operation::list_folders::builders::ListFoldersFluentBuilder {
17        crate::operation::list_folders::builders::ListFoldersFluentBuilder::new(self.handle.clone())
18    }
19}