Struct aws_sdk_sesv2::operation::list_contact_lists::builders::ListContactListsFluentBuilder
source · pub struct ListContactListsFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to ListContactLists
.
Lists all of the contact lists available.
Implementations§
source§impl ListContactListsFluentBuilder
impl ListContactListsFluentBuilder
sourcepub fn as_input(&self) -> &ListContactListsInputBuilder
pub fn as_input(&self) -> &ListContactListsInputBuilder
Access the ListContactLists as a reference.
sourcepub async fn send(
self
) -> Result<ListContactListsOutput, SdkError<ListContactListsError, HttpResponse>>
pub async fn send( self ) -> Result<ListContactListsOutput, SdkError<ListContactListsError, 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<ListContactListsOutput, ListContactListsError, Self>
pub fn customize( self ) -> CustomizableOperation<ListContactListsOutput, ListContactListsError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn into_paginator(self) -> ListContactListsPaginator
pub fn into_paginator(self) -> ListContactListsPaginator
Create a paginator for this request
Paginators are used by calling send().await
which returns a PaginationStream
.
sourcepub fn page_size(self, input: i32) -> Self
pub fn page_size(self, input: i32) -> Self
Maximum number of contact lists to return at once. Use this parameter to paginate results. If additional contact lists exist beyond the specified limit, the NextToken
element is sent in the response. Use the NextToken
value in subsequent requests to retrieve additional lists.
sourcepub fn set_page_size(self, input: Option<i32>) -> Self
pub fn set_page_size(self, input: Option<i32>) -> Self
Maximum number of contact lists to return at once. Use this parameter to paginate results. If additional contact lists exist beyond the specified limit, the NextToken
element is sent in the response. Use the NextToken
value in subsequent requests to retrieve additional lists.
sourcepub fn get_page_size(&self) -> &Option<i32>
pub fn get_page_size(&self) -> &Option<i32>
Maximum number of contact lists to return at once. Use this parameter to paginate results. If additional contact lists exist beyond the specified limit, the NextToken
element is sent in the response. Use the NextToken
value in subsequent requests to retrieve additional lists.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
A string token indicating that there might be additional contact lists available to be listed. Use the token provided in the Response to use in the subsequent call to ListContactLists with the same parameters to retrieve the next page of contact lists.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
A string token indicating that there might be additional contact lists available to be listed. Use the token provided in the Response to use in the subsequent call to ListContactLists with the same parameters to retrieve the next page of contact lists.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
A string token indicating that there might be additional contact lists available to be listed. Use the token provided in the Response to use in the subsequent call to ListContactLists with the same parameters to retrieve the next page of contact lists.
Trait Implementations§
source§impl Clone for ListContactListsFluentBuilder
impl Clone for ListContactListsFluentBuilder
source§fn clone(&self) -> ListContactListsFluentBuilder
fn clone(&self) -> ListContactListsFluentBuilder
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 ListContactListsFluentBuilder
impl !RefUnwindSafe for ListContactListsFluentBuilder
impl Send for ListContactListsFluentBuilder
impl Sync for ListContactListsFluentBuilder
impl Unpin for ListContactListsFluentBuilder
impl !UnwindSafe for ListContactListsFluentBuilder
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