Struct aws_sdk_sesv2::operation::list_email_templates::builders::ListEmailTemplatesFluentBuilder
source · pub struct ListEmailTemplatesFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to ListEmailTemplates
.
Lists the email templates present in your Amazon SES account in the current Amazon Web Services Region.
You can execute this operation no more than once per second.
Implementations§
source§impl ListEmailTemplatesFluentBuilder
impl ListEmailTemplatesFluentBuilder
sourcepub fn as_input(&self) -> &ListEmailTemplatesInputBuilder
pub fn as_input(&self) -> &ListEmailTemplatesInputBuilder
Access the ListEmailTemplates as a reference.
sourcepub async fn send(
self
) -> Result<ListEmailTemplatesOutput, SdkError<ListEmailTemplatesError, HttpResponse>>
pub async fn send( self ) -> Result<ListEmailTemplatesOutput, SdkError<ListEmailTemplatesError, 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<ListEmailTemplatesOutput, ListEmailTemplatesError, Self>
pub fn customize( self ) -> CustomizableOperation<ListEmailTemplatesOutput, ListEmailTemplatesError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn into_paginator(self) -> ListEmailTemplatesPaginator
pub fn into_paginator(self) -> ListEmailTemplatesPaginator
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 ListEmailTemplates
to indicate the position in the list of email templates.
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 ListEmailTemplates
to indicate the position in the list of email templates.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
A token returned from a previous call to ListEmailTemplates
to indicate the position in the list of email templates.
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 ListEmailTemplates
. 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.
The value you specify has to be at least 1, and can be no more than 100.
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 ListEmailTemplates
. 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.
The value you specify has to be at least 1, and can be no more than 100.
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 ListEmailTemplates
. 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.
The value you specify has to be at least 1, and can be no more than 100.
Trait Implementations§
source§impl Clone for ListEmailTemplatesFluentBuilder
impl Clone for ListEmailTemplatesFluentBuilder
source§fn clone(&self) -> ListEmailTemplatesFluentBuilder
fn clone(&self) -> ListEmailTemplatesFluentBuilder
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 ListEmailTemplatesFluentBuilder
impl !RefUnwindSafe for ListEmailTemplatesFluentBuilder
impl Send for ListEmailTemplatesFluentBuilder
impl Sync for ListEmailTemplatesFluentBuilder
impl Unpin for ListEmailTemplatesFluentBuilder
impl !UnwindSafe for ListEmailTemplatesFluentBuilder
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