aws_sdk_endusermessaging/client/list_brand_profiles.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 [`ListBrandProfiles`](crate::operation::list_brand_profiles::builders::ListBrandProfilesFluentBuilder) operation.
4 /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_brand_profiles::builders::ListBrandProfilesFluentBuilder::into_paginator).
5 ///
6 /// - The fluent builder is configurable:
7 /// - [`next_token(impl Into<String>)`](crate::operation::list_brand_profiles::builders::ListBrandProfilesFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_brand_profiles::builders::ListBrandProfilesFluentBuilder::set_next_token):<br>required: **false**<br><p>The token to retrieve the next page of results. This value is returned when more results are available, and is null when there are no more results to return.</p><br>
8 /// - [`max_results(i32)`](crate::operation::list_brand_profiles::builders::ListBrandProfilesFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_brand_profiles::builders::ListBrandProfilesFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of results to return per page.</p><br>
9 /// - On success, responds with [`ListBrandProfilesOutput`](crate::operation::list_brand_profiles::ListBrandProfilesOutput) with field(s):
10 /// - [`brand_profiles(Vec::<BrandProfileInfo>)`](crate::operation::list_brand_profiles::ListBrandProfilesOutput::brand_profiles): <p>The list of brand profiles.</p>
11 /// - [`next_token(Option<String>)`](crate::operation::list_brand_profiles::ListBrandProfilesOutput::next_token): <p>The token to retrieve the next page of results. This value is returned when more results are available, and is null when there are no more results to return.</p>
12 /// - On failure, responds with [`SdkError<ListBrandProfilesError>`](crate::operation::list_brand_profiles::ListBrandProfilesError)
13 pub fn list_brand_profiles(&self) -> crate::operation::list_brand_profiles::builders::ListBrandProfilesFluentBuilder {
14 crate::operation::list_brand_profiles::builders::ListBrandProfilesFluentBuilder::new(self.handle.clone())
15 }
16}