libZSservicesZSamazonka-pinpoint-emailZSamazonka-pinpoint-email
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.PinpointEmail.Lens

Contents

Description

 
Synopsis

Operations

GetConfigurationSet

getConfigurationSet_configurationSetName :: Lens' GetConfigurationSet Text Source #

The name of the configuration set that you want to obtain more information about.

getConfigurationSetResponse_sendingOptions :: Lens' GetConfigurationSetResponse (Maybe SendingOptions) Source #

An object that defines whether or not Amazon Pinpoint can send email that you send using the configuration set.

getConfigurationSetResponse_deliveryOptions :: Lens' GetConfigurationSetResponse (Maybe DeliveryOptions) Source #

An object that defines the dedicated IP pool that is used to send emails that you send using the configuration set.

getConfigurationSetResponse_trackingOptions :: Lens' GetConfigurationSetResponse (Maybe TrackingOptions) Source #

An object that defines the open and click tracking options for emails that you send using the configuration set.

getConfigurationSetResponse_reputationOptions :: Lens' GetConfigurationSetResponse (Maybe ReputationOptions) Source #

An object that defines whether or not Amazon Pinpoint collects reputation metrics for the emails that you send that use the configuration set.

getConfigurationSetResponse_tags :: Lens' GetConfigurationSetResponse (Maybe [Tag]) Source #

An array of objects that define the tags (keys and values) that are associated with the configuration set.

PutConfigurationSetTrackingOptions

putConfigurationSetTrackingOptions_customRedirectDomain :: Lens' PutConfigurationSetTrackingOptions (Maybe Text) Source #

The domain that you want to use to track open and click events.

putConfigurationSetTrackingOptions_configurationSetName :: Lens' PutConfigurationSetTrackingOptions Text Source #

The name of the configuration set that you want to add a custom tracking domain to.

PutEmailIdentityDkimAttributes

putEmailIdentityDkimAttributes_signingEnabled :: Lens' PutEmailIdentityDkimAttributes (Maybe Bool) Source #

Sets the DKIM signing configuration for the identity.

When you set this value true, then the messages that Amazon Pinpoint sends from the identity are DKIM-signed. When you set this value to false, then the messages that Amazon Pinpoint sends from the identity aren't DKIM-signed.

putEmailIdentityDkimAttributes_emailIdentity :: Lens' PutEmailIdentityDkimAttributes Text Source #

The email identity that you want to change the DKIM settings for.

PutConfigurationSetDeliveryOptions

putConfigurationSetDeliveryOptions_sendingPoolName :: Lens' PutConfigurationSetDeliveryOptions (Maybe Text) Source #

The name of the dedicated IP pool that you want to associate with the configuration set.

putConfigurationSetDeliveryOptions_tlsPolicy :: Lens' PutConfigurationSetDeliveryOptions (Maybe TlsPolicy) Source #

Specifies whether messages that use the configuration set are required to use Transport Layer Security (TLS). If the value is Require, messages are only delivered if a TLS connection can be established. If the value is Optional, messages can be delivered in plain text if a TLS connection can't be established.

putConfigurationSetDeliveryOptions_configurationSetName :: Lens' PutConfigurationSetDeliveryOptions Text Source #

The name of the configuration set that you want to associate with a dedicated IP pool.

ListDedicatedIpPools

listDedicatedIpPools_nextToken :: Lens' ListDedicatedIpPools (Maybe Text) Source #

A token returned from a previous call to ListDedicatedIpPools to indicate the position in the list of dedicated IP pools.

listDedicatedIpPools_pageSize :: Lens' ListDedicatedIpPools (Maybe Int) Source #

The number of results to show in a single call to ListDedicatedIpPools. 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.

listDedicatedIpPoolsResponse_dedicatedIpPools :: Lens' ListDedicatedIpPoolsResponse (Maybe [Text]) Source #

A list of all of the dedicated IP pools that are associated with your Amazon Pinpoint account.

listDedicatedIpPoolsResponse_nextToken :: Lens' ListDedicatedIpPoolsResponse (Maybe Text) Source #

A token that indicates that there are additional IP pools to list. To view additional IP pools, issue another request to ListDedicatedIpPools, passing this token in the NextToken parameter.

GetDomainDeliverabilityCampaign

getDomainDeliverabilityCampaign_campaignId :: Lens' GetDomainDeliverabilityCampaign Text Source #

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.

GetDedicatedIps

getDedicatedIps_poolName :: Lens' GetDedicatedIps (Maybe Text) Source #

The name of the IP pool that the dedicated IP address is associated with.

getDedicatedIps_nextToken :: Lens' GetDedicatedIps (Maybe Text) Source #

A token returned from a previous call to GetDedicatedIps to indicate the position of the dedicated IP pool in the list of IP pools.

getDedicatedIps_pageSize :: Lens' GetDedicatedIps (Maybe Int) Source #

The number of results to show in a single call to GetDedicatedIpsRequest. 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.

getDedicatedIpsResponse_nextToken :: Lens' GetDedicatedIpsResponse (Maybe Text) Source #

A token that indicates that there are additional dedicated IP addresses to list. To view additional addresses, issue another request to GetDedicatedIps, passing this token in the NextToken parameter.

getDedicatedIpsResponse_dedicatedIps :: Lens' GetDedicatedIpsResponse (Maybe [DedicatedIp]) Source #

A list of dedicated IP addresses that are reserved for use by your Amazon Pinpoint account.

PutConfigurationSetSendingOptions

putConfigurationSetSendingOptions_sendingEnabled :: Lens' PutConfigurationSetSendingOptions (Maybe Bool) Source #

If true, email sending is enabled for the configuration set. If false, email sending is disabled for the configuration set.

putConfigurationSetSendingOptions_configurationSetName :: Lens' PutConfigurationSetSendingOptions Text Source #

The name of the configuration set that you want to enable or disable email sending for.

CreateDedicatedIpPool

createDedicatedIpPool_tags :: Lens' CreateDedicatedIpPool (Maybe [Tag]) Source #

An object that defines the tags (keys and values) that you want to associate with the pool.

ListTagsForResource

listTagsForResource_resourceArn :: Lens' ListTagsForResource Text Source #

The Amazon Resource Name (ARN) of the resource that you want to retrieve tag information for.

listTagsForResourceResponse_tags :: Lens' ListTagsForResourceResponse [Tag] Source #

An array that lists all the tags that are associated with the resource. Each tag consists of a required tag key (Key) and an associated tag value (Value)

PutEmailIdentityFeedbackAttributes

putEmailIdentityFeedbackAttributes_emailForwardingEnabled :: Lens' PutEmailIdentityFeedbackAttributes (Maybe Bool) Source #

Sets the feedback forwarding configuration for the identity.

If the value is true, Amazon Pinpoint sends you email notifications when bounce or complaint events occur. Amazon Pinpoint sends this notification to the address that you specified in the Return-Path header of the original email.

When you set this value to false, Amazon Pinpoint sends notifications through other mechanisms, such as by notifying an Amazon SNS topic or another event destination. You're required to have a method of tracking bounces and complaints. If you haven't set up another mechanism for receiving bounce or complaint notifications, Amazon Pinpoint sends an email notification when these events occur (even if this setting is disabled).

putEmailIdentityFeedbackAttributes_emailIdentity :: Lens' PutEmailIdentityFeedbackAttributes Text Source #

The email identity that you want to configure bounce and complaint feedback forwarding for.

PutConfigurationSetReputationOptions

putConfigurationSetReputationOptions_reputationMetricsEnabled :: Lens' PutConfigurationSetReputationOptions (Maybe Bool) Source #

If true, tracking of reputation metrics is enabled for the configuration set. If false, tracking of reputation metrics is disabled for the configuration set.

putConfigurationSetReputationOptions_configurationSetName :: Lens' PutConfigurationSetReputationOptions Text Source #

The name of the configuration set that you want to enable or disable reputation metric tracking for.

PutDedicatedIpInPool

putDedicatedIpInPool_ip :: Lens' PutDedicatedIpInPool Text Source #

The IP address that you want to move to the dedicated IP pool. The value you specify has to be a dedicated IP address that's associated with your Amazon Pinpoint account.

putDedicatedIpInPool_destinationPoolName :: Lens' PutDedicatedIpInPool Text Source #

The name of the IP pool that you want to add the dedicated IP address to. You have to specify an IP pool that already exists.

PutAccountSendingAttributes

putAccountSendingAttributes_sendingEnabled :: Lens' PutAccountSendingAttributes (Maybe Bool) Source #

Enables or disables your account's ability to send email. Set to true to enable email sending, or set to false to disable email sending.

If AWS paused your account's ability to send email, you can't use this operation to resume your account's ability to send email.

UpdateConfigurationSetEventDestination

updateConfigurationSetEventDestination_configurationSetName :: Lens' UpdateConfigurationSetEventDestination Text Source #

The name of the configuration set that contains the event destination that you want to modify.

DeleteConfigurationSetEventDestination

deleteConfigurationSetEventDestination_configurationSetName :: Lens' DeleteConfigurationSetEventDestination Text Source #

The name of the configuration set that contains the event destination that you want to delete.

ListConfigurationSets

listConfigurationSets_nextToken :: Lens' ListConfigurationSets (Maybe Text) Source #

A token returned from a previous call to ListConfigurationSets to indicate the position in the list of configuration sets.

listConfigurationSets_pageSize :: Lens' ListConfigurationSets (Maybe Int) Source #

The number of results to show in a single call to ListConfigurationSets. 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.

listConfigurationSetsResponse_configurationSets :: Lens' ListConfigurationSetsResponse (Maybe [Text]) Source #

An array that contains all of the configuration sets in your Amazon Pinpoint account in the current AWS Region.

listConfigurationSetsResponse_nextToken :: Lens' ListConfigurationSetsResponse (Maybe Text) Source #

A token that indicates that there are additional configuration sets to list. To view additional configuration sets, issue another request to ListConfigurationSets, and pass this token in the NextToken parameter.

DeleteEmailIdentity

deleteEmailIdentity_emailIdentity :: Lens' DeleteEmailIdentity Text Source #

The identity (that is, the email address or domain) that you want to delete from your Amazon Pinpoint account.

DeleteConfigurationSet

deleteConfigurationSet_configurationSetName :: Lens' DeleteConfigurationSet Text Source #

The name of the configuration set that you want to delete.

CreateEmailIdentity

createEmailIdentity_tags :: Lens' CreateEmailIdentity (Maybe [Tag]) Source #

An array of objects that define the tags (keys and values) that you want to associate with the email identity.

createEmailIdentity_emailIdentity :: Lens' CreateEmailIdentity Text Source #

The email address or domain that you want to verify.

createEmailIdentityResponse_dkimAttributes :: Lens' CreateEmailIdentityResponse (Maybe DkimAttributes) Source #

An object that contains information about the DKIM attributes for the identity. This object includes the tokens that you use to create the CNAME records that are required to complete the DKIM verification process.

createEmailIdentityResponse_verifiedForSendingStatus :: Lens' CreateEmailIdentityResponse (Maybe Bool) Source #

Specifies whether or not the identity is verified. In Amazon Pinpoint, you can only send email from verified email addresses or domains. For more information about verifying identities, see the Amazon Pinpoint User Guide.

GetBlacklistReports

getBlacklistReports_blacklistItemNames :: Lens' GetBlacklistReports [Text] Source #

A list of IP addresses that you want to retrieve blacklist information about. You can only specify the dedicated IP addresses that you use to send email using Amazon Pinpoint or Amazon SES.

getBlacklistReportsResponse_blacklistReport :: Lens' GetBlacklistReportsResponse (HashMap Text [BlacklistEntry]) Source #

An object that contains information about a blacklist that one of your dedicated IP addresses appears on.

ListEmailIdentities

listEmailIdentities_nextToken :: Lens' ListEmailIdentities (Maybe Text) Source #

A token returned from a previous call to ListEmailIdentities to indicate the position in the list of identities.

listEmailIdentities_pageSize :: Lens' ListEmailIdentities (Maybe Int) Source #

The number of results to show in a single call to ListEmailIdentities. 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.

listEmailIdentitiesResponse_nextToken :: Lens' ListEmailIdentitiesResponse (Maybe Text) Source #

A token that indicates that there are additional configuration sets to list. To view additional configuration sets, issue another request to ListEmailIdentities, and pass this token in the NextToken parameter.

listEmailIdentitiesResponse_emailIdentities :: Lens' ListEmailIdentitiesResponse (Maybe [IdentityInfo]) Source #

An array that includes all of the identities associated with your Amazon Pinpoint account.

GetDedicatedIp

getDedicatedIp_ip :: Lens' GetDedicatedIp Text Source #

The IP address that you want to obtain more information about. The value you specify has to be a dedicated IP address that's assocaited with your Amazon Pinpoint account.

getDedicatedIpResponse_dedicatedIp :: Lens' GetDedicatedIpResponse (Maybe DedicatedIp) Source #

An object that contains information about a dedicated IP address.

GetEmailIdentity

getEmailIdentity_emailIdentity :: Lens' GetEmailIdentity Text Source #

The email identity that you want to retrieve details for.

getEmailIdentityResponse_dkimAttributes :: Lens' GetEmailIdentityResponse (Maybe DkimAttributes) Source #

An object that contains information about the DKIM attributes for the identity. This object includes the tokens that you use to create the CNAME records that are required to complete the DKIM verification process.

getEmailIdentityResponse_verifiedForSendingStatus :: Lens' GetEmailIdentityResponse (Maybe Bool) Source #

Specifies whether or not the identity is verified. In Amazon Pinpoint, you can only send email from verified email addresses or domains. For more information about verifying identities, see the Amazon Pinpoint User Guide.

getEmailIdentityResponse_mailFromAttributes :: Lens' GetEmailIdentityResponse (Maybe MailFromAttributes) Source #

An object that contains information about the Mail-From attributes for the email identity.

getEmailIdentityResponse_feedbackForwardingStatus :: Lens' GetEmailIdentityResponse (Maybe Bool) Source #

The feedback forwarding configuration for the identity.

If the value is true, Amazon Pinpoint sends you email notifications when bounce or complaint events occur. Amazon Pinpoint sends this notification to the address that you specified in the Return-Path header of the original email.

When you set this value to false, Amazon Pinpoint sends notifications through other mechanisms, such as by notifying an Amazon SNS topic or another event destination. You're required to have a method of tracking bounces and complaints. If you haven't set up another mechanism for receiving bounce or complaint notifications, Amazon Pinpoint sends an email notification when these events occur (even if this setting is disabled).

getEmailIdentityResponse_tags :: Lens' GetEmailIdentityResponse (Maybe [Tag]) Source #

An array of objects that define the tags (keys and values) that are associated with the email identity.

GetConfigurationSetEventDestinations

getConfigurationSetEventDestinations_configurationSetName :: Lens' GetConfigurationSetEventDestinations Text Source #

The name of the configuration set that contains the event destination.

getConfigurationSetEventDestinationsResponse_eventDestinations :: Lens' GetConfigurationSetEventDestinationsResponse (Maybe [EventDestination]) Source #

An array that includes all of the events destinations that have been configured for the configuration set.

GetAccount

getAccountResponse_enforcementStatus :: Lens' GetAccountResponse (Maybe Text) Source #

The reputation status of your Amazon Pinpoint account. The status can be one of the following:

  • HEALTHY – There are no reputation-related issues that currently impact your account.
  • PROBATION – We've identified some issues with your Amazon Pinpoint account. We're placing your account under review while you work on correcting these issues.
  • SHUTDOWN – Your account's ability to send email is currently paused because of an issue with the email sent from your account. When you correct the issue, you can contact us and request that your account's ability to send email is resumed.

getAccountResponse_dedicatedIpAutoWarmupEnabled :: Lens' GetAccountResponse (Maybe Bool) Source #

Indicates whether or not the automatic warm-up feature is enabled for dedicated IP addresses that are associated with your account.

getAccountResponse_sendQuota :: Lens' GetAccountResponse (Maybe SendQuota) Source #

An object that contains information about the per-day and per-second sending limits for your Amazon Pinpoint account in the current AWS Region.

getAccountResponse_productionAccessEnabled :: Lens' GetAccountResponse (Maybe Bool) Source #

Indicates whether or not your account has production access in the current AWS Region.

If the value is false, then your account is in the sandbox. When your account is in the sandbox, you can only send email to verified identities. Additionally, the maximum number of emails you can send in a 24-hour period (your sending quota) is 200, and the maximum number of emails you can send per second (your maximum sending rate) is 1.

If the value is true, then your account has production access. When your account has production access, you can send email to any address. The sending quota and maximum sending rate for your account vary based on your specific use case.

getAccountResponse_sendingEnabled :: Lens' GetAccountResponse (Maybe Bool) Source #

Indicates whether or not email sending is enabled for your Amazon Pinpoint account in the current AWS Region.

DeleteDedicatedIpPool

deleteDedicatedIpPool_poolName :: Lens' DeleteDedicatedIpPool Text Source #

The name of the dedicated IP pool that you want to delete.

GetDomainStatisticsReport

getDomainStatisticsReport_domain :: Lens' GetDomainStatisticsReport Text Source #

The domain that you want to obtain deliverability metrics for.

getDomainStatisticsReport_startDate :: Lens' GetDomainStatisticsReport UTCTime Source #

The first day (in Unix time) that you want to obtain domain deliverability metrics for.

getDomainStatisticsReport_endDate :: Lens' GetDomainStatisticsReport UTCTime Source #

The last day (in Unix time) that you want to obtain domain deliverability metrics for. The EndDate that you specify has to be less than or equal to 30 days after the StartDate.

getDomainStatisticsReportResponse_overallVolume :: Lens' GetDomainStatisticsReportResponse OverallVolume Source #

An object that contains deliverability metrics for the domain that you specified. The data in this object is a summary of all of the data that was collected from the StartDate to the EndDate.

getDomainStatisticsReportResponse_dailyVolumes :: Lens' GetDomainStatisticsReportResponse [DailyVolume] Source #

An object that contains deliverability metrics for the domain that you specified. This object contains data for each day, starting on the StartDate and ending on the EndDate.

GetDeliverabilityDashboardOptions

getDeliverabilityDashboardOptionsResponse_accountStatus :: Lens' GetDeliverabilityDashboardOptionsResponse (Maybe DeliverabilityDashboardAccountStatus) Source #

The current status of your Deliverability dashboard subscription. If this value is PENDING_EXPIRATION, your subscription is scheduled to expire at the end of the current calendar month.

getDeliverabilityDashboardOptionsResponse_subscriptionExpiryDate :: Lens' GetDeliverabilityDashboardOptionsResponse (Maybe UTCTime) Source #

The date, in Unix time format, when your current subscription to the Deliverability dashboard is scheduled to expire, if your subscription is scheduled to expire at the end of the current calendar month. This value is null if you have an active subscription that isn’t due to expire at the end of the month.

getDeliverabilityDashboardOptionsResponse_activeSubscribedDomains :: Lens' GetDeliverabilityDashboardOptionsResponse (Maybe [DomainDeliverabilityTrackingOption]) Source #

An array of objects, one for each verified domain that you use to send email and currently has an active Deliverability dashboard subscription that isn’t scheduled to expire at the end of the current calendar month.

getDeliverabilityDashboardOptionsResponse_pendingExpirationSubscribedDomains :: Lens' GetDeliverabilityDashboardOptionsResponse (Maybe [DomainDeliverabilityTrackingOption]) Source #

An array of objects, one for each verified domain that you use to send email and currently has an active Deliverability dashboard subscription that's scheduled to expire at the end of the current calendar month.

getDeliverabilityDashboardOptionsResponse_dashboardEnabled :: Lens' GetDeliverabilityDashboardOptionsResponse Bool Source #

Specifies whether the Deliverability dashboard is enabled for your Amazon Pinpoint account. If this value is true, the dashboard is enabled.

ListDomainDeliverabilityCampaigns

listDomainDeliverabilityCampaigns_nextToken :: Lens' ListDomainDeliverabilityCampaigns (Maybe Text) Source #

A token that’s returned from a previous call to the ListDomainDeliverabilityCampaigns operation. This token indicates the position of a campaign in the list of campaigns.

listDomainDeliverabilityCampaigns_pageSize :: Lens' ListDomainDeliverabilityCampaigns (Maybe Int) Source #

The maximum number of results to include in response to a single call to the ListDomainDeliverabilityCampaigns operation. If the number of results is larger than the number that you specify in this parameter, the response includes a NextToken element, which you can use to obtain additional results.

listDomainDeliverabilityCampaigns_startDate :: Lens' ListDomainDeliverabilityCampaigns UTCTime Source #

The first day, in Unix time format, that you want to obtain deliverability data for.

listDomainDeliverabilityCampaigns_endDate :: Lens' ListDomainDeliverabilityCampaigns UTCTime Source #

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 StartDate parameter.

listDomainDeliverabilityCampaignsResponse_nextToken :: Lens' ListDomainDeliverabilityCampaignsResponse (Maybe Text) Source #

A token that’s returned from a previous call to the ListDomainDeliverabilityCampaigns operation. This token indicates the position of the campaign in the list of campaigns.

listDomainDeliverabilityCampaignsResponse_domainDeliverabilityCampaigns :: Lens' ListDomainDeliverabilityCampaignsResponse [DomainDeliverabilityCampaign] Source #

An array of responses, one for each campaign that used the domain to send email during the specified time range.

TagResource

tagResource_resourceArn :: Lens' TagResource Text Source #

The Amazon Resource Name (ARN) of the resource that you want to add one or more tags to.

tagResource_tags :: Lens' TagResource [Tag] Source #

A list of the tags that you want to add to the resource. A tag consists of a required tag key (Key) and an associated tag value (Value). The maximum length of a tag key is 128 characters. The maximum length of a tag value is 256 characters.

SendEmail

sendEmail_fromEmailAddress :: Lens' SendEmail (Maybe Text) Source #

The email address that you want to use as the "From" address for the email. The address that you specify has to be verified.

sendEmail_configurationSetName :: Lens' SendEmail (Maybe Text) Source #

The name of the configuration set that you want to use when sending the email.

sendEmail_emailTags :: Lens' SendEmail (Maybe [MessageTag]) Source #

A list of tags, in the form of name/value pairs, to apply to an email that you send using the SendEmail operation. Tags correspond to characteristics of the email that you define, so that you can publish email sending events.

sendEmail_feedbackForwardingEmailAddress :: Lens' SendEmail (Maybe Text) Source #

The address that Amazon Pinpoint should send bounce and complaint notifications to.

sendEmail_replyToAddresses :: Lens' SendEmail (Maybe [Text]) Source #

The "Reply-to" email addresses for the message. When the recipient replies to the message, each Reply-to address receives the reply.

sendEmail_destination :: Lens' SendEmail Destination Source #

An object that contains the recipients of the email message.

sendEmail_content :: Lens' SendEmail EmailContent Source #

An object that contains the body of the message. You can send either a Simple message or a Raw message.

sendEmailResponse_messageId :: Lens' SendEmailResponse (Maybe Text) Source #

A unique identifier for the message that is generated when Amazon Pinpoint accepts the message.

It is possible for Amazon Pinpoint to accept a message without sending it. This can happen when the message you're trying to send has an attachment doesn't pass a virus check, or when you send a templated email that contains invalid personalization content, for example.

sendEmailResponse_httpStatus :: Lens' SendEmailResponse Int Source #

The response's http status code.

PutDedicatedIpWarmupAttributes

putDedicatedIpWarmupAttributes_ip :: Lens' PutDedicatedIpWarmupAttributes Text Source #

The dedicated IP address that you want to update the warm-up attributes for.

putDedicatedIpWarmupAttributes_warmupPercentage :: Lens' PutDedicatedIpWarmupAttributes Int Source #

The warm-up percentage that you want to associate with the dedicated IP address.

UntagResource

untagResource_resourceArn :: Lens' UntagResource Text Source #

The Amazon Resource Name (ARN) of the resource that you want to remove one or more tags from.

untagResource_tagKeys :: Lens' UntagResource [Text] Source #

The tags (tag keys) that you want to remove from the resource. When you specify a tag key, the action removes both that key and its associated tag value.

To remove more than one tag from the resource, append the TagKeys parameter and argument for each additional tag to remove, separated by an ampersand. For example: /v1/email/tags?ResourceArn=ResourceArn&TagKeys=Key1&TagKeys=Key2

CreateDeliverabilityTestReport

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.

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.

PutEmailIdentityMailFromAttributes

putEmailIdentityMailFromAttributes_mailFromDomain :: Lens' PutEmailIdentityMailFromAttributes (Maybe Text) Source #

The custom MAIL FROM domain that you want the verified identity to use. The MAIL FROM domain must meet the following criteria:

  • It has to be a subdomain of the verified identity.
  • It can't be used to receive email.
  • It can't be used in a "From" address if the MAIL FROM domain is a destination for feedback forwarding emails.

putEmailIdentityMailFromAttributes_behaviorOnMxFailure :: Lens' PutEmailIdentityMailFromAttributes (Maybe BehaviorOnMxFailure) Source #

The action that you want Amazon Pinpoint to take if it can't read the required MX record when you send an email. When you set this value to UseDefaultValue, Amazon Pinpoint uses amazonses.com as the MAIL FROM domain. When you set this value to RejectMessage, Amazon Pinpoint returns a MailFromDomainNotVerified error, and doesn't attempt to deliver the email.

These behaviors are taken when the custom MAIL FROM domain configuration is in the Pending, Failed, and TemporaryFailure states.

putEmailIdentityMailFromAttributes_emailIdentity :: Lens' PutEmailIdentityMailFromAttributes Text Source #

The verified email identity that you want to set up the custom MAIL FROM domain for.

CreateConfigurationSetEventDestination

createConfigurationSetEventDestination_configurationSetName :: Lens' CreateConfigurationSetEventDestination Text Source #

The name of the configuration set that you want to add an event destination to.

createConfigurationSetEventDestination_eventDestinationName :: Lens' CreateConfigurationSetEventDestination Text Source #

A name that identifies the event destination within the configuration set.

ListDeliverabilityTestReports

listDeliverabilityTestReports_nextToken :: Lens' ListDeliverabilityTestReports (Maybe Text) Source #

A token returned from a previous call to ListDeliverabilityTestReports to indicate the position in the list of predictive inbox placement tests.

listDeliverabilityTestReports_pageSize :: Lens' ListDeliverabilityTestReports (Maybe Int) Source #

The 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.

listDeliverabilityTestReportsResponse_nextToken :: Lens' ListDeliverabilityTestReportsResponse (Maybe Text) Source #

A token that indicates that there are additional predictive inbox placement tests to list. To view additional predictive inbox placement tests, issue another request to ListDeliverabilityTestReports, and pass this token in the NextToken parameter.

listDeliverabilityTestReportsResponse_deliverabilityTestReports :: Lens' ListDeliverabilityTestReportsResponse [DeliverabilityTestReport] Source #

An object that contains a lists of predictive inbox placement tests that you've performed.

CreateConfigurationSet

createConfigurationSet_sendingOptions :: Lens' CreateConfigurationSet (Maybe SendingOptions) Source #

An object that defines whether or not Amazon Pinpoint can send email that you send using the configuration set.

createConfigurationSet_deliveryOptions :: Lens' CreateConfigurationSet (Maybe DeliveryOptions) Source #

An object that defines the dedicated IP pool that is used to send emails that you send using the configuration set.

createConfigurationSet_trackingOptions :: Lens' CreateConfigurationSet (Maybe TrackingOptions) Source #

An object that defines the open and click tracking options for emails that you send using the configuration set.

createConfigurationSet_reputationOptions :: Lens' CreateConfigurationSet (Maybe ReputationOptions) Source #

An object that defines whether or not Amazon Pinpoint collects reputation metrics for the emails that you send that use the configuration set.

createConfigurationSet_tags :: Lens' CreateConfigurationSet (Maybe [Tag]) Source #

An array of objects that define the tags (keys and values) that you want to associate with the configuration set.

GetDeliverabilityTestReport

getDeliverabilityTestReport_reportId :: Lens' GetDeliverabilityTestReport Text Source #

A unique string that identifies the predictive inbox placement test.

getDeliverabilityTestReportResponse_message :: Lens' GetDeliverabilityTestReportResponse (Maybe Text) Source #

An object that contains the message that you sent when you performed this predictive inbox placement test.

getDeliverabilityTestReportResponse_tags :: Lens' GetDeliverabilityTestReportResponse (Maybe [Tag]) Source #

An array of objects that define the tags (keys and values) that are associated with the predictive inbox placement test.

getDeliverabilityTestReportResponse_overallPlacement :: Lens' GetDeliverabilityTestReportResponse PlacementStatistics Source #

An 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.

getDeliverabilityTestReportResponse_ispPlacements :: Lens' GetDeliverabilityTestReportResponse [IspPlacement] Source #

An object that describes how the test email was handled by several email providers, including Gmail, Hotmail, Yahoo, AOL, and others.

PutDeliverabilityDashboardOption

putDeliverabilityDashboardOption_subscribedDomains :: Lens' PutDeliverabilityDashboardOption (Maybe [DomainDeliverabilityTrackingOption]) Source #

An array of objects, one for each verified domain that you use to send email and enabled the Deliverability dashboard for.

putDeliverabilityDashboardOption_dashboardEnabled :: Lens' PutDeliverabilityDashboardOption Bool Source #

Specifies whether to enable the Deliverability dashboard for your Amazon Pinpoint account. To enable the dashboard, set this value to true.

PutAccountDedicatedIpWarmupAttributes

putAccountDedicatedIpWarmupAttributes_autoWarmupEnabled :: Lens' PutAccountDedicatedIpWarmupAttributes (Maybe Bool) Source #

Enables or disables the automatic warm-up feature for dedicated IP addresses that are associated with your Amazon Pinpoint account in the current AWS Region. Set to true to enable the automatic warm-up feature, or set to false to disable it.

Types

BlacklistEntry

blacklistEntry_listingTime :: Lens' BlacklistEntry (Maybe UTCTime) Source #

The time when the blacklisting event occurred, shown in Unix time format.

blacklistEntry_rblName :: Lens' BlacklistEntry (Maybe Text) Source #

The name of the blacklist that the IP address appears on.

blacklistEntry_description :: Lens' BlacklistEntry (Maybe Text) Source #

Additional information about the blacklisting event, as provided by the blacklist maintainer.

Body

body_text :: Lens' Body (Maybe Content) Source #

An object that represents the version of the message that is displayed in email clients that don't support HTML, or clients where the recipient has disabled HTML rendering.

body_html :: Lens' Body (Maybe Content) Source #

An object that represents the version of the message that is displayed in email clients that support HTML. HTML messages can include formatted text, hyperlinks, images, and more.

CloudWatchDestination

cloudWatchDestination_dimensionConfigurations :: Lens' CloudWatchDestination [CloudWatchDimensionConfiguration] Source #

An array of objects that define the dimensions to use when you send email events to Amazon CloudWatch.

CloudWatchDimensionConfiguration

cloudWatchDimensionConfiguration_dimensionName :: Lens' CloudWatchDimensionConfiguration Text Source #

The name of an Amazon CloudWatch dimension associated with an email sending metric. The name has to meet the following criteria:

  • It can only contain ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-).
  • It can contain no more than 256 characters.

cloudWatchDimensionConfiguration_dimensionValueSource :: Lens' CloudWatchDimensionConfiguration DimensionValueSource Source #

The location where Amazon Pinpoint finds the value of a dimension to publish to Amazon CloudWatch. If you want Amazon Pinpoint to use the message tags that you specify using an X-SES-MESSAGE-TAGS header or a parameter to the SendEmail/SendRawEmail API, choose messageTag. If you want Amazon Pinpoint to use your own email headers, choose emailHeader. If you want Amazon Pinpoint to use link tags, choose linkTags.

cloudWatchDimensionConfiguration_defaultDimensionValue :: Lens' CloudWatchDimensionConfiguration Text Source #

The default value of the dimension that is published to Amazon CloudWatch if you don't provide the value of the dimension when you send an email. This value has to meet the following criteria:

  • It can only contain ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-).
  • It can contain no more than 256 characters.

Content

content_charset :: Lens' Content (Maybe Text) Source #

The character set for the content. Because of the constraints of the SMTP protocol, Amazon Pinpoint uses 7-bit ASCII by default. If the text includes characters outside of the ASCII range, you have to specify a character set. For example, you could specify UTF-8, ISO-8859-1, or Shift_JIS.

content_data :: Lens' Content Text Source #

The content of the message itself.

DailyVolume

dailyVolume_domainIspPlacements :: Lens' DailyVolume (Maybe [DomainIspPlacement]) Source #

An object that contains inbox placement metrics for a specified day in the analysis period, broken out by the recipient's email provider.

dailyVolume_startDate :: Lens' DailyVolume (Maybe UTCTime) Source #

The date that the DailyVolume metrics apply to, in Unix time.

dailyVolume_volumeStatistics :: Lens' DailyVolume (Maybe VolumeStatistics) Source #

An object that contains inbox placement metrics for a specific day in the analysis period.

DedicatedIp

dedicatedIp_poolName :: Lens' DedicatedIp (Maybe Text) Source #

The name of the dedicated IP pool that the IP address is associated with.

dedicatedIp_ip :: Lens' DedicatedIp Text Source #

An IP address that is reserved for use by your Amazon Pinpoint account.

dedicatedIp_warmupStatus :: Lens' DedicatedIp WarmupStatus Source #

The warm-up status of a dedicated IP address. The status can have one of the following values:

  • IN_PROGRESS – The IP address isn't ready to use because the dedicated IP warm-up process is ongoing.
  • DONE – The dedicated IP warm-up process is complete, and the IP address is ready to use.

dedicatedIp_warmupPercentage :: Lens' DedicatedIp Int Source #

Indicates how complete the dedicated IP warm-up process is. When this value equals 1, the address has completed the warm-up process and is ready for use.

DeliverabilityTestReport

deliverabilityTestReport_subject :: Lens' DeliverabilityTestReport (Maybe Text) Source #

The subject line for an email that you submitted in a predictive inbox placement test.

deliverabilityTestReport_fromEmailAddress :: Lens' DeliverabilityTestReport (Maybe Text) Source #

The sender address that you specified for the predictive inbox placement test.

deliverabilityTestReport_createDate :: Lens' DeliverabilityTestReport (Maybe UTCTime) Source #

The date and time when the predictive inbox placement test was created, in Unix time format.

deliverabilityTestReport_reportId :: Lens' DeliverabilityTestReport (Maybe Text) Source #

A unique string that identifies the predictive inbox placement test.

deliverabilityTestReport_reportName :: Lens' DeliverabilityTestReport (Maybe Text) Source #

A name that helps you identify a predictive inbox placement test report.

deliverabilityTestReport_deliverabilityTestStatus :: Lens' DeliverabilityTestReport (Maybe 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.

DeliveryOptions

deliveryOptions_sendingPoolName :: Lens' DeliveryOptions (Maybe Text) Source #

The name of the dedicated IP pool that you want to associate with the configuration set.

deliveryOptions_tlsPolicy :: Lens' DeliveryOptions (Maybe TlsPolicy) Source #

Specifies whether messages that use the configuration set are required to use Transport Layer Security (TLS). If the value is Require, messages are only delivered if a TLS connection can be established. If the value is Optional, messages can be delivered in plain text if a TLS connection can't be established.

Destination

destination_bccAddresses :: Lens' Destination (Maybe [Text]) Source #

An array that contains the email addresses of the "BCC" (blind carbon copy) recipients for the email.

destination_ccAddresses :: Lens' Destination (Maybe [Text]) Source #

An array that contains the email addresses of the "CC" (carbon copy) recipients for the email.

destination_toAddresses :: Lens' Destination (Maybe [Text]) Source #

An array that contains the email addresses of the "To" recipients for the email.

DkimAttributes

dkimAttributes_status :: Lens' DkimAttributes (Maybe DkimStatus) Source #

Describes whether or not Amazon Pinpoint has successfully located the DKIM records in the DNS records for the domain. The status can be one of the following:

  • PENDING – Amazon Pinpoint hasn't yet located the DKIM records in the DNS configuration for the domain, but will continue to attempt to locate them.
  • SUCCESS – Amazon Pinpoint located the DKIM records in the DNS configuration for the domain and determined that they're correct. Amazon Pinpoint can now send DKIM-signed email from the identity.
  • FAILED – Amazon Pinpoint was unable to locate the DKIM records in the DNS settings for the domain, and won't continue to search for them.
  • TEMPORARY_FAILURE – A temporary issue occurred, which prevented Amazon Pinpoint from determining the DKIM status for the domain.
  • NOT_STARTED – Amazon Pinpoint hasn't yet started searching for the DKIM records in the DKIM records for the domain.

dkimAttributes_tokens :: Lens' DkimAttributes (Maybe [Text]) Source #

A set of unique strings that you use to create a set of CNAME records that you add to the DNS configuration for your domain. When Amazon Pinpoint detects these records in the DNS configuration for your domain, the DKIM authentication process is complete. Amazon Pinpoint usually detects these records within about 72 hours of adding them to the DNS configuration for your domain.

dkimAttributes_signingEnabled :: Lens' DkimAttributes (Maybe Bool) Source #

If the value is true, then the messages that Amazon Pinpoint sends from the identity are DKIM-signed. If the value is false, then the messages that Amazon Pinpoint sends from the identity aren't DKIM-signed.

DomainDeliverabilityCampaign

domainDeliverabilityCampaign_spamCount :: Lens' DomainDeliverabilityCampaign (Maybe Integer) Source #

The number of email messages that were delivered to recipients' spam or junk mail folders.

domainDeliverabilityCampaign_subject :: Lens' DomainDeliverabilityCampaign (Maybe Text) Source #

The subject line, or title, of the email message.

domainDeliverabilityCampaign_esps :: Lens' DomainDeliverabilityCampaign (Maybe [Text]) Source #

The major email providers who handled the email message.

domainDeliverabilityCampaign_fromAddress :: Lens' DomainDeliverabilityCampaign (Maybe Text) Source #

The verified email address that the email message was sent from.

domainDeliverabilityCampaign_deleteRate :: Lens' DomainDeliverabilityCampaign (Maybe Double) Source #

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.

domainDeliverabilityCampaign_campaignId :: Lens' DomainDeliverabilityCampaign (Maybe Text) Source #

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_sendingIps :: Lens' DomainDeliverabilityCampaign (Maybe [Text]) Source #

The IP addresses that were used to send the email message.

domainDeliverabilityCampaign_firstSeenDateTime :: Lens' DomainDeliverabilityCampaign (Maybe UTCTime) Source #

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.

domainDeliverabilityCampaign_inboxCount :: Lens' DomainDeliverabilityCampaign (Maybe Integer) Source #

The number of email messages that were delivered to recipients’ inboxes.

domainDeliverabilityCampaign_readDeleteRate :: Lens' DomainDeliverabilityCampaign (Maybe Double) Source #

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.

domainDeliverabilityCampaign_projectedVolume :: Lens' DomainDeliverabilityCampaign (Maybe Integer) Source #

The projected number of recipients that the email message was sent to.

domainDeliverabilityCampaign_imageUrl :: Lens' DomainDeliverabilityCampaign (Maybe Text) Source #

The URL of an image that contains a snapshot of the email message that was sent.

domainDeliverabilityCampaign_readRate :: Lens' DomainDeliverabilityCampaign (Maybe Double) Source #

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.

domainDeliverabilityCampaign_lastSeenDateTime :: Lens' DomainDeliverabilityCampaign (Maybe UTCTime) Source #

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.

DomainDeliverabilityTrackingOption

domainDeliverabilityTrackingOption_domain :: Lens' DomainDeliverabilityTrackingOption (Maybe Text) Source #

A verified domain that’s associated with your AWS account and currently has an active Deliverability dashboard subscription.

domainDeliverabilityTrackingOption_subscriptionStartDate :: Lens' DomainDeliverabilityTrackingOption (Maybe UTCTime) Source #

The date, in Unix time format, when you enabled the Deliverability dashboard for the domain.

domainDeliverabilityTrackingOption_inboxPlacementTrackingOption :: Lens' DomainDeliverabilityTrackingOption (Maybe InboxPlacementTrackingOption) Source #

An object that contains information about the inbox placement data settings for the domain.

DomainIspPlacement

domainIspPlacement_spamPercentage :: Lens' DomainIspPlacement (Maybe Double) Source #

The percentage of messages that were sent from the selected domain to the specified email provider that arrived in recipients' spam or junk mail folders.

domainIspPlacement_inboxRawCount :: Lens' DomainIspPlacement (Maybe Integer) Source #

The total number of messages that were sent from the selected domain to the specified email provider that arrived in recipients' inboxes.

domainIspPlacement_ispName :: Lens' DomainIspPlacement (Maybe Text) Source #

The name of the email provider that the inbox placement data applies to.

domainIspPlacement_inboxPercentage :: Lens' DomainIspPlacement (Maybe Double) Source #

The percentage of messages that were sent from the selected domain to the specified email provider that arrived in recipients' inboxes.

domainIspPlacement_spamRawCount :: Lens' DomainIspPlacement (Maybe Integer) Source #

The total number of messages that were sent from the selected domain to the specified email provider that arrived in recipients' spam or junk mail folders.

EmailContent

emailContent_raw :: Lens' EmailContent (Maybe RawMessage) Source #

The raw email message. The message has to meet the following criteria:

  • The message has to contain a header and a body, separated by one blank line.
  • All of the required header fields must be present in the message.
  • Each part of a multipart MIME message must be formatted properly.
  • If you include attachments, they must be in a file format that Amazon Pinpoint supports.
  • The entire message must be Base64 encoded.
  • If any of the MIME parts in your message contain content that is outside of the 7-bit ASCII character range, you should encode that content to ensure that recipients' email clients render the message properly.
  • The length of any single line of text in the message can't exceed 1,000 characters. This restriction is defined in RFC 5321.

emailContent_simple :: Lens' EmailContent (Maybe Message) Source #

The simple email message. The message consists of a subject and a message body.

emailContent_template :: Lens' EmailContent (Maybe Template) Source #

The template to use for the email message.

EventDestination

eventDestination_pinpointDestination :: Lens' EventDestination (Maybe PinpointDestination) Source #

An object that defines a Amazon Pinpoint destination for email events. You can use Amazon Pinpoint events to create attributes in Amazon Pinpoint projects. You can use these attributes to create segments for your campaigns.

eventDestination_enabled :: Lens' EventDestination (Maybe Bool) Source #

If true, the event destination is enabled. When the event destination is enabled, the specified event types are sent to the destinations in this EventDestinationDefinition.

If false, the event destination is disabled. When the event destination is disabled, events aren't sent to the specified destinations.

eventDestination_kinesisFirehoseDestination :: Lens' EventDestination (Maybe KinesisFirehoseDestination) Source #

An object that defines an Amazon Kinesis Data Firehose destination for email events. You can use Amazon Kinesis Data Firehose to stream data to other services, such as Amazon S3 and Amazon Redshift.

eventDestination_cloudWatchDestination :: Lens' EventDestination (Maybe CloudWatchDestination) Source #

An object that defines an Amazon CloudWatch destination for email events. You can use Amazon CloudWatch to monitor and gain insights on your email sending metrics.

eventDestination_snsDestination :: Lens' EventDestination (Maybe SnsDestination) Source #

An object that defines an Amazon SNS destination for email events. You can use Amazon SNS to send notification when certain email events occur.

eventDestination_name :: Lens' EventDestination Text Source #

A name that identifies the event destination.

eventDestination_matchingEventTypes :: Lens' EventDestination [EventType] Source #

The types of events that Amazon Pinpoint sends to the specified event destinations.

EventDestinationDefinition

eventDestinationDefinition_matchingEventTypes :: Lens' EventDestinationDefinition (Maybe [EventType]) Source #

An array that specifies which events Amazon Pinpoint should send to the destinations in this EventDestinationDefinition.

eventDestinationDefinition_pinpointDestination :: Lens' EventDestinationDefinition (Maybe PinpointDestination) Source #

An object that defines a Amazon Pinpoint destination for email events. You can use Amazon Pinpoint events to create attributes in Amazon Pinpoint projects. You can use these attributes to create segments for your campaigns.

eventDestinationDefinition_enabled :: Lens' EventDestinationDefinition (Maybe Bool) Source #

If true, the event destination is enabled. When the event destination is enabled, the specified event types are sent to the destinations in this EventDestinationDefinition.

If false, the event destination is disabled. When the event destination is disabled, events aren't sent to the specified destinations.

eventDestinationDefinition_kinesisFirehoseDestination :: Lens' EventDestinationDefinition (Maybe KinesisFirehoseDestination) Source #

An object that defines an Amazon Kinesis Data Firehose destination for email events. You can use Amazon Kinesis Data Firehose to stream data to other services, such as Amazon S3 and Amazon Redshift.

eventDestinationDefinition_cloudWatchDestination :: Lens' EventDestinationDefinition (Maybe CloudWatchDestination) Source #

An object that defines an Amazon CloudWatch destination for email events. You can use Amazon CloudWatch to monitor and gain insights on your email sending metrics.

eventDestinationDefinition_snsDestination :: Lens' EventDestinationDefinition (Maybe SnsDestination) Source #

An object that defines an Amazon SNS destination for email events. You can use Amazon SNS to send notification when certain email events occur.

IdentityInfo

identityInfo_identityType :: Lens' IdentityInfo (Maybe IdentityType) Source #

The email identity type. The identity type can be one of the following:

  • EMAIL_ADDRESS – The identity is an email address.
  • DOMAIN – The identity is a domain.
  • MANAGED_DOMAIN – The identity is a domain that is managed by AWS.

identityInfo_identityName :: Lens' IdentityInfo (Maybe Text) Source #

The address or domain of the identity.

identityInfo_sendingEnabled :: Lens' IdentityInfo (Maybe Bool) Source #

Indicates whether or not you can send email from the identity.

In Amazon Pinpoint, an identity is an email address or domain that you send email from. Before you can send email from an identity, you have to demostrate that you own the identity, and that you authorize Amazon Pinpoint to send email from that identity.

InboxPlacementTrackingOption

inboxPlacementTrackingOption_trackedIsps :: Lens' InboxPlacementTrackingOption (Maybe [Text]) Source #

An array of strings, one for each major email provider that the inbox placement data applies to.

inboxPlacementTrackingOption_global :: Lens' InboxPlacementTrackingOption (Maybe Bool) Source #

Specifies whether inbox placement data is being tracked for the domain.

IspPlacement

ispPlacement_placementStatistics :: Lens' IspPlacement (Maybe PlacementStatistics) Source #

An object that contains inbox placement metrics for a specific email provider.

ispPlacement_ispName :: Lens' IspPlacement (Maybe Text) Source #

The name of the email provider that the inbox placement data applies to.

KinesisFirehoseDestination

kinesisFirehoseDestination_iamRoleArn :: Lens' KinesisFirehoseDestination Text Source #

The Amazon Resource Name (ARN) of the IAM role that Amazon Pinpoint uses when sending email events to the Amazon Kinesis Data Firehose stream.

kinesisFirehoseDestination_deliveryStreamArn :: Lens' KinesisFirehoseDestination Text Source #

The Amazon Resource Name (ARN) of the Amazon Kinesis Data Firehose stream that Amazon Pinpoint sends email events to.

MailFromAttributes

mailFromAttributes_mailFromDomain :: Lens' MailFromAttributes Text Source #

The name of a domain that an email identity uses as a custom MAIL FROM domain.

mailFromAttributes_mailFromDomainStatus :: Lens' MailFromAttributes MailFromDomainStatus Source #

The status of the MAIL FROM domain. This status can have the following values:

  • PENDING – Amazon Pinpoint hasn't started searching for the MX record yet.
  • SUCCESS – Amazon Pinpoint detected the required MX record for the MAIL FROM domain.
  • FAILED – Amazon Pinpoint can't find the required MX record, or the record no longer exists.
  • TEMPORARY_FAILURE – A temporary issue occurred, which prevented Amazon Pinpoint from determining the status of the MAIL FROM domain.

mailFromAttributes_behaviorOnMxFailure :: Lens' MailFromAttributes BehaviorOnMxFailure Source #

The action that Amazon Pinpoint to takes if it can't read the required MX record for a custom MAIL FROM domain. When you set this value to UseDefaultValue, Amazon Pinpoint uses amazonses.com as the MAIL FROM domain. When you set this value to RejectMessage, Amazon Pinpoint returns a MailFromDomainNotVerified error, and doesn't attempt to deliver the email.

These behaviors are taken when the custom MAIL FROM domain configuration is in the Pending, Failed, and TemporaryFailure states.

Message

message_subject :: Lens' Message Content Source #

The subject line of the email. The subject line can only contain 7-bit ASCII characters. However, you can specify non-ASCII characters in the subject line by using encoded-word syntax, as described in RFC 2047.

message_body :: Lens' Message Body Source #

The body of the message. You can specify an HTML version of the message, a text-only version of the message, or both.

MessageTag

messageTag_name :: Lens' MessageTag Text Source #

The name of the message tag. The message tag name has to meet the following criteria:

  • It can only contain ASCII letters (a–z, A–Z), numbers (0–9), underscores (_), or dashes (-).
  • It can contain no more than 256 characters.

messageTag_value :: Lens' MessageTag Text Source #

The value of the message tag. The message tag value has to meet the following criteria:

  • It can only contain ASCII letters (a–z, A–Z), numbers (0–9), underscores (_), or dashes (-).
  • It can contain no more than 256 characters.

OverallVolume

overallVolume_domainIspPlacements :: Lens' OverallVolume (Maybe [DomainIspPlacement]) Source #

An object that contains inbox and junk mail placement metrics for individual email providers.

overallVolume_volumeStatistics :: Lens' OverallVolume (Maybe VolumeStatistics) Source #

An object that contains information about the numbers of messages that arrived in recipients' inboxes and junk mail folders.

overallVolume_readRatePercent :: Lens' OverallVolume (Maybe Double) Source #

The percentage of emails that were sent from the domain that were read by their recipients.

PinpointDestination

pinpointDestination_applicationArn :: Lens' PinpointDestination (Maybe Text) Source #

The Amazon Resource Name (ARN) of the Amazon Pinpoint project that you want to send email events to.

PlacementStatistics

placementStatistics_missingPercentage :: Lens' PlacementStatistics (Maybe Double) Source #

The percentage of emails that didn't arrive in recipients' inboxes at all during the predictive inbox placement test.

placementStatistics_spamPercentage :: Lens' PlacementStatistics (Maybe Double) Source #

The percentage of emails that arrived in recipients' spam or junk mail folders during the predictive inbox placement test.

placementStatistics_spfPercentage :: Lens' PlacementStatistics (Maybe Double) Source #

The percentage of emails that were authenticated by using Sender Policy Framework (SPF) during the predictive inbox placement test.

placementStatistics_dkimPercentage :: Lens' PlacementStatistics (Maybe Double) Source #

The percentage of emails that were authenticated by using DomainKeys Identified Mail (DKIM) during the predictive inbox placement test.

placementStatistics_inboxPercentage :: Lens' PlacementStatistics (Maybe Double) Source #

The percentage of emails that arrived in recipients' inboxes during the predictive inbox placement test.

RawMessage

rawMessage_data :: Lens' RawMessage ByteString Source #

The raw email message. The message has to meet the following criteria:

  • The message has to contain a header and a body, separated by one blank line.
  • All of the required header fields must be present in the message.
  • Each part of a multipart MIME message must be formatted properly.
  • Attachments must be in a file format that Amazon Pinpoint supports.
  • The entire message must be Base64 encoded.
  • If any of the MIME parts in your message contain content that is outside of the 7-bit ASCII character range, you should encode that content to ensure that recipients' email clients render the message properly.
  • The length of any single line of text in the message can't exceed 1,000 characters. This restriction is defined in RFC 5321.--
  • - Note: This Lens automatically encodes and decodes Base64 data.
  • - The underlying isomorphism will encode to Base64 representation during
  • - serialisation, and decode from Base64 representation during deserialisation.
  • - This Lens accepts and returns only raw unencoded data.

ReputationOptions

reputationOptions_lastFreshStart :: Lens' ReputationOptions (Maybe UTCTime) Source #

The date and time (in Unix time) when the reputation metrics were last given a fresh start. When your account is given a fresh start, your reputation metrics are calculated starting from the date of the fresh start.

reputationOptions_reputationMetricsEnabled :: Lens' ReputationOptions (Maybe Bool) Source #

If true, tracking of reputation metrics is enabled for the configuration set. If false, tracking of reputation metrics is disabled for the configuration set.

SendQuota

sendQuota_maxSendRate :: Lens' SendQuota (Maybe Double) Source #

The maximum number of emails that you can send per second in the current AWS Region. This value is also called your maximum sending rate or your maximum TPS (transactions per second) rate.

sendQuota_sentLast24Hours :: Lens' SendQuota (Maybe Double) Source #

The number of emails sent from your Amazon Pinpoint account in the current AWS Region over the past 24 hours.

sendQuota_max24HourSend :: Lens' SendQuota (Maybe Double) Source #

The maximum number of emails that you can send in the current AWS Region over a 24-hour period. This value is also called your sending quota.

SendingOptions

sendingOptions_sendingEnabled :: Lens' SendingOptions (Maybe Bool) Source #

If true, email sending is enabled for the configuration set. If false, email sending is disabled for the configuration set.

SnsDestination

snsDestination_topicArn :: Lens' SnsDestination Text Source #

The Amazon Resource Name (ARN) of the Amazon SNS topic that you want to publish email events to. For more information about Amazon SNS topics, see the Amazon SNS Developer Guide.

Tag

tag_key :: Lens' Tag Text Source #

One part of a key-value pair that defines a tag. The maximum length of a tag key is 128 characters. The minimum length is 1 character.

tag_value :: Lens' Tag Text Source #

The optional part of a key-value pair that defines a tag. The maximum length of a tag value is 256 characters. The minimum length is 0 characters. If you don’t want a resource to have a specific tag value, don’t specify a value for this parameter. Amazon Pinpoint will set the value to an empty string.

Template

template_templateArn :: Lens' Template (Maybe Text) Source #

The Amazon Resource Name (ARN) of the template.

template_templateData :: Lens' Template (Maybe Text) Source #

An object that defines the values to use for message variables in the template. This object is a set of key-value pairs. Each key defines a message variable in the template. The corresponding value defines the value to use for that variable.

TrackingOptions

trackingOptions_customRedirectDomain :: Lens' TrackingOptions Text Source #

The domain that you want to use for tracking open and click events.

VolumeStatistics

volumeStatistics_inboxRawCount :: Lens' VolumeStatistics (Maybe Integer) Source #

The total number of emails that arrived in recipients' inboxes.

volumeStatistics_projectedSpam :: Lens' VolumeStatistics (Maybe Integer) Source #

An estimate of the percentage of emails sent from the current domain that will arrive in recipients' spam or junk mail folders.

volumeStatistics_projectedInbox :: Lens' VolumeStatistics (Maybe Integer) Source #

An estimate of the percentage of emails sent from the current domain that will arrive in recipients' inboxes.

volumeStatistics_spamRawCount :: Lens' VolumeStatistics (Maybe Integer) Source #

The total number of emails that arrived in recipients' spam or junk mail folders.