Struct aws_sdk_pinpointemail::operation::list_configuration_sets::builders::ListConfigurationSetsFluentBuilder
source · pub struct ListConfigurationSetsFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to ListConfigurationSets
.
List all of the configuration sets associated with your Amazon Pinpoint account in the current region.
In Amazon Pinpoint, configuration sets are groups of rules that you can apply to the emails you send. You apply a configuration set to an email by including a reference to the configuration set in the headers of the email. When you apply a configuration set to an email, all of the rules in that configuration set are applied to the email.
Implementations§
source§impl ListConfigurationSetsFluentBuilder
impl ListConfigurationSetsFluentBuilder
sourcepub fn as_input(&self) -> &ListConfigurationSetsInputBuilder
pub fn as_input(&self) -> &ListConfigurationSetsInputBuilder
Access the ListConfigurationSets as a reference.
sourcepub async fn send(
self
) -> Result<ListConfigurationSetsOutput, SdkError<ListConfigurationSetsError, HttpResponse>>
pub async fn send( self ) -> Result<ListConfigurationSetsOutput, SdkError<ListConfigurationSetsError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<ListConfigurationSetsOutput, ListConfigurationSetsError, Self>
pub fn customize( self ) -> CustomizableOperation<ListConfigurationSetsOutput, ListConfigurationSetsError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn into_paginator(self) -> ListConfigurationSetsPaginator
pub fn into_paginator(self) -> ListConfigurationSetsPaginator
Create a paginator for this request
Paginators are used by calling send().await
which returns a PaginationStream
.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
A token returned from a previous call to ListConfigurationSets
to indicate the position in the list of configuration sets.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
A token returned from a previous call to ListConfigurationSets
to indicate the position in the list of configuration sets.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
A token returned from a previous call to ListConfigurationSets
to indicate the position in the list of configuration sets.
sourcepub fn page_size(self, input: i32) -> Self
pub fn page_size(self, input: i32) -> Self
The number of results to show in a single call to ListConfigurationSets
. If the number of results is larger than the number you specified in this parameter, then the response includes a NextToken
element, which you can use to obtain additional results.
sourcepub fn set_page_size(self, input: Option<i32>) -> Self
pub fn set_page_size(self, input: Option<i32>) -> Self
The number of results to show in a single call to ListConfigurationSets
. If the number of results is larger than the number you specified in this parameter, then the response includes a NextToken
element, which you can use to obtain additional results.
sourcepub fn get_page_size(&self) -> &Option<i32>
pub fn get_page_size(&self) -> &Option<i32>
The number of results to show in a single call to ListConfigurationSets
. If the number of results is larger than the number you specified in this parameter, then the response includes a NextToken
element, which you can use to obtain additional results.
Trait Implementations§
source§impl Clone for ListConfigurationSetsFluentBuilder
impl Clone for ListConfigurationSetsFluentBuilder
source§fn clone(&self) -> ListConfigurationSetsFluentBuilder
fn clone(&self) -> ListConfigurationSetsFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for ListConfigurationSetsFluentBuilder
impl !RefUnwindSafe for ListConfigurationSetsFluentBuilder
impl Send for ListConfigurationSetsFluentBuilder
impl Sync for ListConfigurationSetsFluentBuilder
impl Unpin for ListConfigurationSetsFluentBuilder
impl !UnwindSafe for ListConfigurationSetsFluentBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more