aws_sdk_quicksight/client/
list_brands.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 [`ListBrands`](crate::operation::list_brands::builders::ListBrandsFluentBuilder) operation.
4    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_brands::builders::ListBrandsFluentBuilder::into_paginator).
5    ///
6    /// - The fluent builder is configurable:
7    ///   - [`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>
8    ///   - [`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>
9    ///   - [`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>
10    /// - On success, responds with [`ListBrandsOutput`](crate::operation::list_brands::ListBrandsOutput) with field(s):
11    ///   - [`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>
12    ///   - [`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>
13    /// - On failure, responds with [`SdkError<ListBrandsError>`](crate::operation::list_brands::ListBrandsError)
14    pub fn list_brands(&self) -> crate::operation::list_brands::builders::ListBrandsFluentBuilder {
15        crate::operation::list_brands::builders::ListBrandsFluentBuilder::new(self.handle.clone())
16    }
17}