Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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 Pinpoint 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.
Synopsis
- data CreateDeliverabilityTestReport = CreateDeliverabilityTestReport' {
- reportName :: Maybe Text
- tags :: Maybe [Tag]
- fromEmailAddress :: Text
- content :: EmailContent
- newCreateDeliverabilityTestReport :: Text -> EmailContent -> CreateDeliverabilityTestReport
- createDeliverabilityTestReport_reportName :: Lens' CreateDeliverabilityTestReport (Maybe Text)
- createDeliverabilityTestReport_tags :: Lens' CreateDeliverabilityTestReport (Maybe [Tag])
- createDeliverabilityTestReport_fromEmailAddress :: Lens' CreateDeliverabilityTestReport Text
- createDeliverabilityTestReport_content :: Lens' CreateDeliverabilityTestReport EmailContent
- data CreateDeliverabilityTestReportResponse = CreateDeliverabilityTestReportResponse' {}
- newCreateDeliverabilityTestReportResponse :: Int -> Text -> DeliverabilityTestStatus -> CreateDeliverabilityTestReportResponse
- createDeliverabilityTestReportResponse_httpStatus :: Lens' CreateDeliverabilityTestReportResponse Int
- createDeliverabilityTestReportResponse_reportId :: Lens' CreateDeliverabilityTestReportResponse Text
- createDeliverabilityTestReportResponse_deliverabilityTestStatus :: Lens' CreateDeliverabilityTestReportResponse DeliverabilityTestStatus
Creating a Request
data CreateDeliverabilityTestReport Source #
A request to perform a 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
Pinpoint 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.
See: newCreateDeliverabilityTestReport
smart constructor.
CreateDeliverabilityTestReport' | |
|
Instances
newCreateDeliverabilityTestReport Source #
Create a value of CreateDeliverabilityTestReport
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:reportName:CreateDeliverabilityTestReport'
, createDeliverabilityTestReport_reportName
- A unique name that helps you to identify the predictive inbox placement
test when you retrieve the results.
$sel:tags:CreateDeliverabilityTestReport'
, createDeliverabilityTestReport_tags
- An array of objects that define the tags (keys and values) that you want
to associate with the predictive inbox placement test.
$sel:fromEmailAddress:CreateDeliverabilityTestReport'
, createDeliverabilityTestReport_fromEmailAddress
- The email address that the predictive inbox placement test email was
sent from.
$sel:content:CreateDeliverabilityTestReport'
, createDeliverabilityTestReport_content
- The HTML body of the message that you sent when you performed the
predictive inbox placement test.
Request Lenses
createDeliverabilityTestReport_reportName :: Lens' CreateDeliverabilityTestReport (Maybe Text) Source #
A unique name that helps you to identify the predictive inbox placement test when you retrieve the results.
createDeliverabilityTestReport_tags :: Lens' CreateDeliverabilityTestReport (Maybe [Tag]) Source #
An array of objects that define the tags (keys and values) that you want to associate with the predictive inbox placement test.
createDeliverabilityTestReport_fromEmailAddress :: Lens' CreateDeliverabilityTestReport Text Source #
The email address that the predictive inbox placement test email was sent from.
createDeliverabilityTestReport_content :: Lens' CreateDeliverabilityTestReport EmailContent Source #
The HTML body of the message that you sent when you performed the predictive inbox placement test.
Destructuring the Response
data CreateDeliverabilityTestReportResponse Source #
Information about the predictive inbox placement test that you created.
See: newCreateDeliverabilityTestReportResponse
smart constructor.
CreateDeliverabilityTestReportResponse' | |
|
Instances
newCreateDeliverabilityTestReportResponse Source #
:: Int | |
-> Text | |
-> DeliverabilityTestStatus |
|
-> CreateDeliverabilityTestReportResponse |
Create a value of CreateDeliverabilityTestReportResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:httpStatus:CreateDeliverabilityTestReportResponse'
, createDeliverabilityTestReportResponse_httpStatus
- The response's http status code.
$sel:reportId:CreateDeliverabilityTestReportResponse'
, createDeliverabilityTestReportResponse_reportId
- A unique string that identifies the predictive inbox placement test.
$sel:deliverabilityTestStatus:CreateDeliverabilityTestReportResponse'
, createDeliverabilityTestReportResponse_deliverabilityTestStatus
- The status of the predictive inbox placement test. If the status is
IN_PROGRESS
, then the predictive inbox placement test is currently
running. Predictive inbox placement tests are usually complete within 24
hours of creating the test. If the status is COMPLETE
, then the test
is finished, and you can use the GetDeliverabilityTestReport
to view
the results of the test.
Response Lenses
createDeliverabilityTestReportResponse_httpStatus :: Lens' CreateDeliverabilityTestReportResponse Int Source #
The response's http status code.
createDeliverabilityTestReportResponse_reportId :: Lens' CreateDeliverabilityTestReportResponse Text Source #
A unique string that identifies the predictive inbox placement test.
createDeliverabilityTestReportResponse_deliverabilityTestStatus :: Lens' CreateDeliverabilityTestReportResponse DeliverabilityTestStatus Source #
The status of the predictive inbox placement test. If the status is
IN_PROGRESS
, then the predictive inbox placement test is currently
running. Predictive inbox placement tests are usually complete within 24
hours of creating the test. If the status is COMPLETE
, then the test
is finished, and you can use the GetDeliverabilityTestReport
to view
the results of the test.