create_deliverability_test_report
¶
create_deliverability_test_report(
from_email_address: EmailAddress,
content: EmailContent,
*,
config_overrides: Optional[SESv2ClientConfig] = None,
report_name: Optional[ReportName] = None,
tags: Optional[TagList] = None,
) -> CreateDeliverabilityTestReportResponse
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.
Parameters:
-
report_name(Optional[ReportName], default:None) –A unique name that helps you to identify the predictive inbox placement test when you retrieve the results.
-
from_email_address(EmailAddress) –The email address that the predictive inbox placement test email was sent from.
-
content(EmailContent) –The HTML body of the message that you sent when you performed the predictive inbox placement test.
-
tags(Optional[TagList], default:None) –An array of objects that define the tags (keys and values) that you want to associate with the predictive inbox placement test.
Raises:
-
AccountSuspendedException–The message can't be sent because the account's ability to send email has been permanently restricted.
-
BadRequestException–The input you provided is invalid.
-
ConcurrentModificationException–The resource is being modified by another operation or thread.
-
LimitExceededException–There are too many instances of the specified resource type.
-
MailFromDomainNotVerifiedException–The message can't be sent because the sending domain isn't verified.
-
MessageRejected–The message can't be sent because it contains invalid content.
-
NotFoundException–The resource you attempted to access doesn't exist.
-
SendingPausedException–The message can't be sent because the account's ability to send email is currently paused.
-
TooManyRequestsException–Too many requests have been made to the operation.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_sesv2/_services/se_sv2.py
1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 | |