aws-sdk-quicksight 1.136.0

AWS SDK for Amazon QuickSight
Documentation
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`ListSpaces`](crate::operation::list_spaces::builders::ListSpacesFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`aws_account_id(impl Into<String>)`](crate::operation::list_spaces::builders::ListSpacesFluentBuilder::aws_account_id) / [`set_aws_account_id(Option<String>)`](crate::operation::list_spaces::builders::ListSpacesFluentBuilder::set_aws_account_id):<br>required: **true**<br><p>The ID of the Amazon Web Services account that contains the spaces.</p><br>
    ///   - [`next_token(impl Into<String>)`](crate::operation::list_spaces::builders::ListSpacesFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_spaces::builders::ListSpacesFluentBuilder::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>
    ///   - [`max_results(i32)`](crate::operation::list_spaces::builders::ListSpacesFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_spaces::builders::ListSpacesFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of results to return.</p><br>
    /// - On success, responds with [`ListSpacesOutput`](crate::operation::list_spaces::ListSpacesOutput) with field(s):
    ///   - [`space_id(String)`](crate::operation::list_spaces::ListSpacesOutput::space_id): <p>The ID of the space.</p>
    ///   - [`space_arn(Option<String>)`](crate::operation::list_spaces::ListSpacesOutput::space_arn): <p>The ARN of the space.</p>
    ///   - [`space_summaries(Vec::<SpaceSummary>)`](crate::operation::list_spaces::ListSpacesOutput::space_summaries): <p>A list of space summaries.</p>
    ///   - [`next_token(Option<String>)`](crate::operation::list_spaces::ListSpacesOutput::next_token): <p>The token for the next set of results, or null if there are no more results.</p>
    ///   - [`request_id(Option<String>)`](crate::operation::list_spaces::ListSpacesOutput::request_id): <p>The Amazon Web Services request ID for this operation.</p>
    /// - On failure, responds with [`SdkError<ListSpacesError>`](crate::operation::list_spaces::ListSpacesError)
    pub fn list_spaces(&self) -> crate::operation::list_spaces::builders::ListSpacesFluentBuilder {
        crate::operation::list_spaces::builders::ListSpacesFluentBuilder::new(self.handle.clone())
    }
}