PinpointEmail.Client.
get_domain_deliverability_campaign
(**kwargs)¶Retrieve all the deliverability data for a specific campaign. This data is available for a campaign only if the campaign sent email by using a domain that the Deliverability dashboard is enabled for ( PutDeliverabilityDashboardOption
operation).
See also: AWS API Documentation
Request Syntax
response = client.get_domain_deliverability_campaign(
CampaignId='string'
)
[REQUIRED]
The unique identifier for the campaign. Amazon Pinpoint automatically generates and assigns this identifier to a campaign. This value is not the same as the campaign identifier that Amazon Pinpoint assigns to campaigns that you create and manage by using the Amazon Pinpoint API or the Amazon Pinpoint console.
{
'DomainDeliverabilityCampaign': {
'CampaignId': 'string',
'ImageUrl': 'string',
'Subject': 'string',
'FromAddress': 'string',
'SendingIps': [
'string',
],
'FirstSeenDateTime': datetime(2015, 1, 1),
'LastSeenDateTime': datetime(2015, 1, 1),
'InboxCount': 123,
'SpamCount': 123,
'ReadRate': 123.0,
'DeleteRate': 123.0,
'ReadDeleteRate': 123.0,
'ProjectedVolume': 123,
'Esps': [
'string',
]
}
}
Response Structure
An object that contains all the deliverability data for a specific campaign. This data is available for a campaign only if the campaign sent email by using a domain that the Deliverability dashboard is enabled for ( PutDeliverabilityDashboardOption
operation).
An object that contains the deliverability data for the campaign.
The unique identifier for the campaign. Amazon Pinpoint automatically generates and assigns this identifier to a campaign. This value is not the same as the campaign identifier that Amazon Pinpoint assigns to campaigns that you create and manage by using the Amazon Pinpoint API or the Amazon Pinpoint console.
The URL of an image that contains a snapshot of the email message that was sent.
The subject line, or title, of the email message.
The verified email address that the email message was sent from.
The IP addresses that were used to send the email message.
A dedicated IP address that is associated with your Amazon Pinpoint account.
The first time, in Unix time format, when the email message was delivered to any recipient's inbox. This value can help you determine how long it took for a campaign to deliver an email message.
The last time, in Unix time format, when the email message was delivered to any recipient's inbox. This value can help you determine how long it took for a campaign to deliver an email message.
The number of email messages that were delivered to recipients’ inboxes.
The number of email messages that were delivered to recipients' spam or junk mail folders.
The percentage of email messages that were opened by recipients. Due to technical limitations, this value only includes recipients who opened the message by using an email client that supports images.
The percentage of email messages that were deleted by recipients, without being opened first. Due to technical limitations, this value only includes recipients who opened the message by using an email client that supports images.
The percentage of email messages that were opened and then deleted by recipients. Due to technical limitations, this value only includes recipients who opened the message by using an email client that supports images.
The projected number of recipients that the email message was sent to.
The major email providers who handled the email message.
Exceptions
PinpointEmail.Client.exceptions.TooManyRequestsException
PinpointEmail.Client.exceptions.BadRequestException
PinpointEmail.Client.exceptions.NotFoundException