Struct aws_sdk_sesv2::operation::list_domain_deliverability_campaigns::builders::ListDomainDeliverabilityCampaignsFluentBuilder
source · pub struct ListDomainDeliverabilityCampaignsFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to ListDomainDeliverabilityCampaigns
.
Retrieve deliverability data for all the campaigns that used a specific domain to send email during a specified time range. This data is available for a domain only if you enabled the Deliverability dashboard for the domain.
Implementations§
source§impl ListDomainDeliverabilityCampaignsFluentBuilder
impl ListDomainDeliverabilityCampaignsFluentBuilder
sourcepub fn as_input(&self) -> &ListDomainDeliverabilityCampaignsInputBuilder
pub fn as_input(&self) -> &ListDomainDeliverabilityCampaignsInputBuilder
Access the ListDomainDeliverabilityCampaigns as a reference.
sourcepub async fn send(
self
) -> Result<ListDomainDeliverabilityCampaignsOutput, SdkError<ListDomainDeliverabilityCampaignsError, HttpResponse>>
pub async fn send( self ) -> Result<ListDomainDeliverabilityCampaignsOutput, SdkError<ListDomainDeliverabilityCampaignsError, 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<ListDomainDeliverabilityCampaignsOutput, ListDomainDeliverabilityCampaignsError, Self>
pub fn customize( self ) -> CustomizableOperation<ListDomainDeliverabilityCampaignsOutput, ListDomainDeliverabilityCampaignsError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn into_paginator(self) -> ListDomainDeliverabilityCampaignsPaginator
pub fn into_paginator(self) -> ListDomainDeliverabilityCampaignsPaginator
Create a paginator for this request
Paginators are used by calling send().await
which returns a PaginationStream
.
sourcepub fn start_date(self, input: DateTime) -> Self
pub fn start_date(self, input: DateTime) -> Self
The first day that you want to obtain deliverability data for.
sourcepub fn set_start_date(self, input: Option<DateTime>) -> Self
pub fn set_start_date(self, input: Option<DateTime>) -> Self
The first day that you want to obtain deliverability data for.
sourcepub fn get_start_date(&self) -> &Option<DateTime>
pub fn get_start_date(&self) -> &Option<DateTime>
The first day that you want to obtain deliverability data for.
sourcepub fn end_date(self, input: DateTime) -> Self
pub fn end_date(self, input: DateTime) -> Self
The last day that you want to obtain deliverability data for. This value has to be less than or equal to 30 days after the value of the StartDate
parameter.
sourcepub fn set_end_date(self, input: Option<DateTime>) -> Self
pub fn set_end_date(self, input: Option<DateTime>) -> Self
The last day that you want to obtain deliverability data for. This value has to be less than or equal to 30 days after the value of the StartDate
parameter.
sourcepub fn get_end_date(&self) -> &Option<DateTime>
pub fn get_end_date(&self) -> &Option<DateTime>
The last day that you want to obtain deliverability data for. This value has to be less than or equal to 30 days after the value of the StartDate
parameter.
sourcepub fn subscribed_domain(self, input: impl Into<String>) -> Self
pub fn subscribed_domain(self, input: impl Into<String>) -> Self
The domain to obtain deliverability data for.
sourcepub fn set_subscribed_domain(self, input: Option<String>) -> Self
pub fn set_subscribed_domain(self, input: Option<String>) -> Self
The domain to obtain deliverability data for.
sourcepub fn get_subscribed_domain(&self) -> &Option<String>
pub fn get_subscribed_domain(&self) -> &Option<String>
The domain to obtain deliverability data for.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
A token that’s returned from a previous call to the ListDomainDeliverabilityCampaigns
operation. This token indicates the position of a campaign in the list of campaigns.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
A token that’s returned from a previous call to the ListDomainDeliverabilityCampaigns
operation. This token indicates the position of a campaign in the list of campaigns.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
A token that’s returned from a previous call to the ListDomainDeliverabilityCampaigns
operation. This token indicates the position of a campaign in the list of campaigns.
sourcepub fn page_size(self, input: i32) -> Self
pub fn page_size(self, input: i32) -> Self
The maximum number of results to include in response to a single call to the ListDomainDeliverabilityCampaigns
operation. If the number of results is larger than the number that you specify in this parameter, 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 maximum number of results to include in response to a single call to the ListDomainDeliverabilityCampaigns
operation. If the number of results is larger than the number that you specify in this parameter, 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 maximum number of results to include in response to a single call to the ListDomainDeliverabilityCampaigns
operation. If the number of results is larger than the number that you specify in this parameter, the response includes a NextToken
element, which you can use to obtain additional results.
Trait Implementations§
source§impl Clone for ListDomainDeliverabilityCampaignsFluentBuilder
impl Clone for ListDomainDeliverabilityCampaignsFluentBuilder
source§fn clone(&self) -> ListDomainDeliverabilityCampaignsFluentBuilder
fn clone(&self) -> ListDomainDeliverabilityCampaignsFluentBuilder
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 ListDomainDeliverabilityCampaignsFluentBuilder
impl !RefUnwindSafe for ListDomainDeliverabilityCampaignsFluentBuilder
impl Send for ListDomainDeliverabilityCampaignsFluentBuilder
impl Sync for ListDomainDeliverabilityCampaignsFluentBuilder
impl Unpin for ListDomainDeliverabilityCampaignsFluentBuilder
impl !UnwindSafe for ListDomainDeliverabilityCampaignsFluentBuilder
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