list_domain_deliverability_campaigns
¶
list_domain_deliverability_campaigns(
start_date: Timestamp,
end_date: Timestamp,
subscribed_domain: Domain,
*,
config_overrides: Optional[PinpointEmailClientConfig] = None,
next_token: Optional[NextToken] = None,
page_size: Optional[MaxItems] = None,
) -> ListDomainDeliverabilityCampaignsResponse
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 (PutDeliverabilityDashboardOption operation) for the domain.
Parameters:
-
start_date(Timestamp) –The first day, in Unix time format, that you want to obtain deliverability data for.
-
end_date(Timestamp) –The last day, in Unix time format, 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
StartDateparameter. -
subscribed_domain(Domain) –The domain to obtain deliverability data for.
-
next_token(Optional[NextToken], default:None) –A token that’s returned from a previous call to the
ListDomainDeliverabilityCampaignsoperation. This token indicates the position of a campaign in the list of campaigns. -
page_size(Optional[MaxItems], default:None) –The maximum number of results to include in response to a single call to the
ListDomainDeliverabilityCampaignsoperation. If the number of results is larger than the number that you specify in this parameter, the response includes aNextTokenelement, which you can use to obtain additional results.
Raises:
-
BadRequestException–The input you provided is invalid.
-
NotFoundException–The resource you attempted to access doesn't exist.
-
TooManyRequestsException–Too many requests have been made to the operation.
-
UnknownServiceError–The service returned an error code this client does not model.