aws_sdk_quicksight/client/
list_brands.rs

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 [`ListBrands`](crate::operation::list_brands::builders::ListBrandsFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_brands::builders::ListBrandsFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`aws_account_id(impl Into<String>)`](crate::operation::list_brands::builders::ListBrandsFluentBuilder::aws_account_id) / [`set_aws_account_id(Option<String>)`](crate::operation::list_brands::builders::ListBrandsFluentBuilder::set_aws_account_id):<br>required: **true**<br><p>The ID of the Amazon Web Services account that owns the brands that you want to list.</p><br>
    ///   - [`max_results(i32)`](crate::operation::list_brands::builders::ListBrandsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_brands::builders::ListBrandsFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of results to be returned in a single request.</p><br>
    ///   - [`next_token(impl Into<String>)`](crate::operation::list_brands::builders::ListBrandsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_brands::builders::ListBrandsFluentBuilder::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>
    /// - On success, responds with [`ListBrandsOutput`](crate::operation::list_brands::ListBrandsOutput) with field(s):
    ///   - [`next_token(Option<String>)`](crate::operation::list_brands::ListBrandsOutput::next_token): <p>The token for the next set of results, or null if there are no more results.</p>
    ///   - [`brands(Option<Vec::<BrandSummary>>)`](crate::operation::list_brands::ListBrandsOutput::brands): <p>A list of all brands in your Amazon Web Services account. This structure provides basic information about each brand.</p>
    /// - On failure, responds with [`SdkError<ListBrandsError>`](crate::operation::list_brands::ListBrandsError)
    pub fn list_brands(&self) -> crate::operation::list_brands::builders::ListBrandsFluentBuilder {
        crate::operation::list_brands::builders::ListBrandsFluentBuilder::new(self.handle.clone())
    }
}