Skip to main content

deliverability_test_reports

Creates, updates, deletes, gets or lists a deliverability_test_reports resource.

Overview

Namedeliverability_test_reports
TypeResource
Idaws.sesv2.deliverability_test_reports

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
deliverability_test_reportobjectAn object that contains the results of the predictive inbox placement test.
isp_placementsarrayAn object that describes how the test email was handled by several email providers, including Gmail, Hotmail, Yahoo, AOL, and others.
messagestringAn object that contains the message that you sent when you performed this predictive inbox placement test.
overall_placementobjectAn object that specifies how many test messages that were sent during the predictive inbox placement test were delivered to recipients' inboxes, how many were sent to recipients' spam folders, and how many weren't delivered.
tagsarrayAn array of objects that define the tags (keys and values) that are associated with the predictive inbox placement test.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_deliverability_test_reportselectreport_id, regionRetrieve the results of a predictive inbox placement test.
list_deliverability_test_reportsselectregionNextToken, PageSizeShow a list of the predictive inbox placement tests that you've performed, regardless of their statuses. For predictive inbox placement tests that are complete, you can use the GetDeliverabilityTestReport operation to view the results.
create_deliverability_test_reportinsertregion, FromEmailAddress, ContentCreate a new predictive inbox placement test. Predictive inbox placement tests can help you predict how your messages will be handled by various email providers around the world. When you perform a predictive inbox placement test, you provide a sample message that contains the content that you plan to send to your customers. Amazon SES then sends that message to special email addresses spread across several major email providers. After about 24 hours, the test is complete, and you can use the GetDeliverabilityTestReport operation to view the results of the test.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)
report_idstringA unique string that identifies the predictive inbox placement test.
NextTokenstringA token returned from a previous call to ListDeliverabilityTestReports to indicate the position in the list of predictive inbox placement tests.
PageSizeintegerThe number of results to show in a single call to ListDeliverabilityTestReports. 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 0, and can be no more than 1000.

SELECT examples

Retrieve the results of a predictive inbox placement test.

SELECT
deliverability_test_report,
isp_placements,
message,
overall_placement,
tags
FROM aws.sesv2.deliverability_test_reports
WHERE report_id = '{{ report_id }}' -- required
AND region = '{{ region }}' -- required
;

INSERT examples

Create a new predictive inbox placement test. Predictive inbox placement tests can help you predict how your messages will be handled by various email providers around the world. When you perform a predictive inbox placement test, you provide a sample message that contains the content that you plan to send to your customers. Amazon SES then sends that message to special email addresses spread across several major email providers. After about 24 hours, the test is complete, and you can use the GetDeliverabilityTestReport operation to view the results of the test.

INSERT INTO aws.sesv2.deliverability_test_reports (
ReportName,
FromEmailAddress,
Content,
Tags,
region
)
SELECT
'{{ ReportName }}',
'{{ FromEmailAddress }}' /* required */,
'{{ Content }}' /* required */,
'{{ Tags }}',
'{{ region }}'
RETURNING
deliverability_test_status,
report_id
;