Class: AWS.PinpointEmail
- Inherits:
-
AWS.Service
- Object
- AWS.Service
- AWS.PinpointEmail
- Identifier:
- pinpointemail
- API Version:
- 2018-07-26
- Defined in:
- (unknown)
Overview
Constructs a service interface object. Each API operation is exposed as a function on service.
Service Description
This document contains reference information for the Amazon Pinpoint Email API, version 1.0. This document is best used in conjunction with the Amazon Pinpoint Developer Guide.
The Amazon Pinpoint Email API is available in the US East (N. Virginia), US West (Oregon), EU (Frankfurt), and EU (Ireland) Regions at the following endpoints:
-
US East (N. Virginia):
email.us-east-1.amazonaws.com
-
US West (Oregon):
email.us-west-2.amazonaws.com
-
EU (Frankfurt):
email.eu-central-1.amazonaws.com
-
EU (Ireland):
email.eu-west-1.amazonaws.com
Sending a Request Using PinpointEmail
var pinpointemail = new AWS.PinpointEmail();
pinpointemail.getBlacklistReports(params, function (err, data) {
if (err) console.log(err, err.stack); // an error occurred
else console.log(data); // successful response
});
Locking the API Version
In order to ensure that the PinpointEmail object uses this specific API, you can
construct the object by passing the apiVersion
option to the constructor:
var pinpointemail = new AWS.PinpointEmail({apiVersion: '2018-07-26'});
You can also set the API version globally in AWS.config.apiVersions
using
the pinpointemail service identifier:
AWS.config.apiVersions = {
pinpointemail: '2018-07-26',
// other service API versions
};
var pinpointemail = new AWS.PinpointEmail();
Constructor Summary
-
new AWS.PinpointEmail(options = {}) ⇒ Object
constructor
Constructs a service object.
Property Summary
-
endpoint ⇒ AWS.Endpoint
readwrite
An Endpoint object representing the endpoint URL for service requests.
Properties inherited from AWS.Service
Method Summary
-
createConfigurationSet(params = {}, callback) ⇒ AWS.Request
Create a configuration set.
-
createConfigurationSetEventDestination(params = {}, callback) ⇒ AWS.Request
Create an event destination.
-
createDedicatedIpPool(params = {}, callback) ⇒ AWS.Request
Create a new pool of dedicated IP addresses.
-
createDeliverabilityTestReport(params = {}, callback) ⇒ AWS.Request
Create a new predictive inbox placement test.
-
createEmailIdentity(params = {}, callback) ⇒ AWS.Request
Verifies an email identity for use with Amazon Pinpoint.
-
deleteConfigurationSet(params = {}, callback) ⇒ AWS.Request
Delete an existing configuration set.
-
deleteConfigurationSetEventDestination(params = {}, callback) ⇒ AWS.Request
Delete an event destination.
-
deleteDedicatedIpPool(params = {}, callback) ⇒ AWS.Request
Delete a dedicated IP pool.
-
deleteEmailIdentity(params = {}, callback) ⇒ AWS.Request
Deletes an email identity that you previously verified for use with Amazon Pinpoint.
-
getAccount(params = {}, callback) ⇒ AWS.Request
Obtain information about the email-sending status and capabilities of your Amazon Pinpoint account in the current AWS Region.
-
getBlacklistReports(params = {}, callback) ⇒ AWS.Request
Retrieve a list of the blacklists that your dedicated IP addresses appear on.
-
getConfigurationSet(params = {}, callback) ⇒ AWS.Request
Get information about an existing configuration set, including the dedicated IP pool that it's associated with, whether or not it's enabled for sending email, and more.
-
getConfigurationSetEventDestinations(params = {}, callback) ⇒ AWS.Request
Retrieve a list of event destinations that are associated with a configuration set.
-
getDedicatedIp(params = {}, callback) ⇒ AWS.Request
Get information about a dedicated IP address, including the name of the dedicated IP pool that it's associated with, as well information about the automatic warm-up process for the address.
-
getDedicatedIps(params = {}, callback) ⇒ AWS.Request
List the dedicated IP addresses that are associated with your Amazon Pinpoint account.
-
getDeliverabilityDashboardOptions(params = {}, callback) ⇒ AWS.Request
Show the status of the Deliverability dashboard.
-
getDeliverabilityTestReport(params = {}, callback) ⇒ AWS.Request
Retrieve the results of a predictive inbox placement test.
-
getDomainStatisticsReport(params = {}, callback) ⇒ AWS.Request
Retrieve inbox placement and engagement rates for the domains that you use to send email.
-
getEmailIdentity(params = {}, callback) ⇒ AWS.Request
Provides information about a specific identity associated with your Amazon Pinpoint account, including the identity's verification status, its DKIM authentication status, and its custom Mail-From settings.
-
listConfigurationSets(params = {}, callback) ⇒ AWS.Request
List all of the configuration sets associated with your Amazon Pinpoint account in the current region.
-
listDedicatedIpPools(params = {}, callback) ⇒ AWS.Request
List all of the dedicated IP pools that exist in your Amazon Pinpoint account in the current AWS Region.
-
listDeliverabilityTestReports(params = {}, callback) ⇒ AWS.Request
Show a list of the predictive inbox placement tests that you've performed, regardless of their statuses.
-
listEmailIdentities(params = {}, callback) ⇒ AWS.Request
Returns a list of all of the email identities that are associated with your Amazon Pinpoint account.
-
listTagsForResource(params = {}, callback) ⇒ AWS.Request
Retrieve a list of the tags (keys and values) that are associated with a specific resource.
-
putAccountDedicatedIpWarmupAttributes(params = {}, callback) ⇒ AWS.Request
Enable or disable the automatic warm-up feature for dedicated IP addresses.
-
putAccountSendingAttributes(params = {}, callback) ⇒ AWS.Request
Enable or disable the ability of your account to send email.
-
putConfigurationSetDeliveryOptions(params = {}, callback) ⇒ AWS.Request
Associate a configuration set with a dedicated IP pool.
-
putConfigurationSetReputationOptions(params = {}, callback) ⇒ AWS.Request
Enable or disable collection of reputation metrics for emails that you send using a particular configuration set in a specific AWS Region.
-
putConfigurationSetSendingOptions(params = {}, callback) ⇒ AWS.Request
Enable or disable email sending for messages that use a particular configuration set in a specific AWS Region.
-
putConfigurationSetTrackingOptions(params = {}, callback) ⇒ AWS.Request
Specify a custom domain to use for open and click tracking elements in email that you send using Amazon Pinpoint.
-
putDedicatedIpInPool(params = {}, callback) ⇒ AWS.Request
Move a dedicated IP address to an existing dedicated IP pool.
-
putDedicatedIpWarmupAttributes(params = {}, callback) ⇒ AWS.Request
Service Reference:.
-
putDeliverabilityDashboardOption(params = {}, callback) ⇒ AWS.Request
Enable or disable the Deliverability dashboard.
-
putEmailIdentityDkimAttributes(params = {}, callback) ⇒ AWS.Request
Used to enable or disable DKIM authentication for an email identity.
-
putEmailIdentityFeedbackAttributes(params = {}, callback) ⇒ AWS.Request
Used to enable or disable feedback forwarding for an identity.
-
putEmailIdentityMailFromAttributes(params = {}, callback) ⇒ AWS.Request
Used to enable or disable the custom Mail-From domain configuration for an email identity.
-
sendEmail(params = {}, callback) ⇒ AWS.Request
Sends an email message.
-
tagResource(params = {}, callback) ⇒ AWS.Request
Add one or more tags (keys and values) to one or more specified resources.
-
untagResource(params = {}, callback) ⇒ AWS.Request
Remove one or more tags (keys and values) from a specified resource.
-
updateConfigurationSetEventDestination(params = {}, callback) ⇒ AWS.Request
Update the configuration of an event destination for a configuration set.
Methods inherited from AWS.Service
makeRequest, makeUnauthenticatedRequest, waitFor, setupRequestListeners, defineService
Constructor Details
Property Details
Method Details
createConfigurationSet(params = {}, callback) ⇒ AWS.Request
Create a configuration set. Configuration sets are groups of rules that you can apply to the emails you send using Amazon Pinpoint. You apply a configuration set to an email by including a reference to the configuration set in the headers of the email. When you apply a configuration set to an email, all of the rules in that configuration set are applied to the email.
createConfigurationSetEventDestination(params = {}, callback) ⇒ AWS.Request
Create an event destination. In Amazon Pinpoint, events include message sends, deliveries, opens, clicks, bounces, and complaints. Event destinations are places that you can send information about these events to. For example, you can send event data to Amazon SNS to receive notifications when you receive bounces or complaints, or you can use Amazon Kinesis Data Firehose to stream data to Amazon S3 for long-term storage.
A single configuration set can include more than one event destination.
createDedicatedIpPool(params = {}, callback) ⇒ AWS.Request
Create a new pool of dedicated IP addresses. A pool can include one or more dedicated IP addresses that are associated with your Amazon Pinpoint account. You can associate a pool with a configuration set. When you send an email that uses that configuration set, Amazon Pinpoint sends it using only the IP addresses in the associated pool.
createDeliverabilityTestReport(params = {}, callback) ⇒ AWS.Request
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.
createEmailIdentity(params = {}, callback) ⇒ AWS.Request
Verifies an email identity for use with Amazon Pinpoint. In Amazon Pinpoint, an identity is an email address or domain that you use when you send email. Before you can use an identity to send email with Amazon Pinpoint, you first have to verify it. By verifying an address, you demonstrate that you're the owner of the address, and that you've given Amazon Pinpoint permission to send email from the address.
When you verify an email address, Amazon Pinpoint sends an email to the address. Your email address is verified as soon as you follow the link in the verification email.
When you verify a domain, this operation provides a set of DKIM tokens, which you can convert into CNAME tokens. You add these CNAME tokens to the DNS configuration for your domain. Your domain is verified when Amazon Pinpoint detects these records in the DNS configuration for your domain. It usually takes around 72 hours to complete the domain verification process.
deleteConfigurationSet(params = {}, callback) ⇒ AWS.Request
Delete an existing configuration set.
In Amazon Pinpoint, configuration sets are groups of rules that you can apply to the emails you send. You apply a configuration set to an email by including a reference to the configuration set in the headers of the email. When you apply a configuration set to an email, all of the rules in that configuration set are applied to the email.
deleteConfigurationSetEventDestination(params = {}, callback) ⇒ AWS.Request
Delete an event destination.
In Amazon Pinpoint, events include message sends, deliveries, opens, clicks, bounces, and complaints. Event destinations are places that you can send information about these events to. For example, you can send event data to Amazon SNS to receive notifications when you receive bounces or complaints, or you can use Amazon Kinesis Data Firehose to stream data to Amazon S3 for long-term storage.
deleteEmailIdentity(params = {}, callback) ⇒ AWS.Request
Deletes an email identity that you previously verified for use with Amazon Pinpoint. An identity can be either an email address or a domain name.
getAccount(params = {}, callback) ⇒ AWS.Request
Obtain information about the email-sending status and capabilities of your Amazon Pinpoint account in the current AWS Region.
getBlacklistReports(params = {}, callback) ⇒ AWS.Request
Retrieve a list of the blacklists that your dedicated IP addresses appear on.
getConfigurationSet(params = {}, callback) ⇒ AWS.Request
Get information about an existing configuration set, including the dedicated IP pool that it's associated with, whether or not it's enabled for sending email, and more.
In Amazon Pinpoint, configuration sets are groups of rules that you can apply to the emails you send. You apply a configuration set to an email by including a reference to the configuration set in the headers of the email. When you apply a configuration set to an email, all of the rules in that configuration set are applied to the email.
getConfigurationSetEventDestinations(params = {}, callback) ⇒ AWS.Request
Retrieve a list of event destinations that are associated with a configuration set.
In Amazon Pinpoint, events include message sends, deliveries, opens, clicks, bounces, and complaints. Event destinations are places that you can send information about these events to. For example, you can send event data to Amazon SNS to receive notifications when you receive bounces or complaints, or you can use Amazon Kinesis Data Firehose to stream data to Amazon S3 for long-term storage.
getDedicatedIp(params = {}, callback) ⇒ AWS.Request
Get information about a dedicated IP address, including the name of the dedicated IP pool that it's associated with, as well information about the automatic warm-up process for the address.
getDedicatedIps(params = {}, callback) ⇒ AWS.Request
List the dedicated IP addresses that are associated with your Amazon Pinpoint account.
getDeliverabilityDashboardOptions(params = {}, callback) ⇒ AWS.Request
Show the status of the Deliverability dashboard. When the Deliverability dashboard is enabled, you gain access to reputation metrics for the domains that you use to send email using Amazon Pinpoint. You also gain the ability to perform predictive inbox placement tests.
When you use the Deliverability dashboard, you pay a monthly charge of USD$1,250.00, in addition to any other fees that you accrue by using Amazon Pinpoint. If you enable the Deliverability dashboard after the first day of a calendar month, AWS prorates the monthly charge based on how many days have elapsed in the current calendar month.
getDeliverabilityTestReport(params = {}, callback) ⇒ AWS.Request
Retrieve the results of a predictive inbox placement test.
getDomainStatisticsReport(params = {}, callback) ⇒ AWS.Request
Retrieve inbox placement and engagement rates for the domains that you use to send email.
getEmailIdentity(params = {}, callback) ⇒ AWS.Request
Provides information about a specific identity associated with your Amazon Pinpoint account, including the identity's verification status, its DKIM authentication status, and its custom Mail-From settings.
listConfigurationSets(params = {}, callback) ⇒ AWS.Request
List all of the configuration sets associated with your Amazon Pinpoint account in the current region.
In Amazon Pinpoint, configuration sets are groups of rules that you can apply to the emails you send. You apply a configuration set to an email by including a reference to the configuration set in the headers of the email. When you apply a configuration set to an email, all of the rules in that configuration set are applied to the email.
listDedicatedIpPools(params = {}, callback) ⇒ AWS.Request
List all of the dedicated IP pools that exist in your Amazon Pinpoint account in the current AWS Region.
listDeliverabilityTestReports(params = {}, callback) ⇒ AWS.Request
Show 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.
listEmailIdentities(params = {}, callback) ⇒ AWS.Request
Returns a list of all of the email identities that are associated with your Amazon Pinpoint account. An identity can be either an email address or a domain. This operation returns identities that are verified as well as those that aren't.
listTagsForResource(params = {}, callback) ⇒ AWS.Request
Retrieve a list of the tags (keys and values) that are associated with a specific resource. A tag is a label that you optionally define and associate with a resource in Amazon Pinpoint. Each tag consists of a required tag key and an optional associated tag value. A tag key is a general label that acts as a category for more specific tag values. A tag value acts as a descriptor within a tag key.
putAccountDedicatedIpWarmupAttributes(params = {}, callback) ⇒ AWS.Request
Enable or disable the automatic warm-up feature for dedicated IP addresses.
putAccountSendingAttributes(params = {}, callback) ⇒ AWS.Request
Enable or disable the ability of your account to send email.
putConfigurationSetDeliveryOptions(params = {}, callback) ⇒ AWS.Request
Associate a configuration set with a dedicated IP pool. You can use dedicated IP pools to create groups of dedicated IP addresses for sending specific types of email.
putConfigurationSetReputationOptions(params = {}, callback) ⇒ AWS.Request
Enable or disable collection of reputation metrics for emails that you send using a particular configuration set in a specific AWS Region.
putConfigurationSetSendingOptions(params = {}, callback) ⇒ AWS.Request
Enable or disable email sending for messages that use a particular configuration set in a specific AWS Region.
putConfigurationSetTrackingOptions(params = {}, callback) ⇒ AWS.Request
Specify a custom domain to use for open and click tracking elements in email that you send using Amazon Pinpoint.
putDedicatedIpInPool(params = {}, callback) ⇒ AWS.Request
Move a dedicated IP address to an existing dedicated IP pool.
CreateDedicatedIpPool
operation. putDeliverabilityDashboardOption(params = {}, callback) ⇒ AWS.Request
Enable or disable the Deliverability dashboard. When you enable the Deliverability dashboard, you gain access to reputation metrics for the domains that you use to send email using Amazon Pinpoint. You also gain the ability to perform predictive inbox placement tests.
When you use the Deliverability dashboard, you pay a monthly charge of USD$1,250.00, in addition to any other fees that you accrue by using Amazon Pinpoint. If you enable the Deliverability dashboard after the first day of a calendar month, we prorate the monthly charge based on how many days have elapsed in the current calendar month.
putEmailIdentityDkimAttributes(params = {}, callback) ⇒ AWS.Request
Used to enable or disable DKIM authentication for an email identity.
putEmailIdentityFeedbackAttributes(params = {}, callback) ⇒ AWS.Request
Used to enable or disable feedback forwarding for an identity. This setting determines what happens when an identity is used to send an email that results in a bounce or complaint event.
When you enable feedback forwarding, 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 disable feedback forwarding, Amazon Pinpoint sends notifications through other mechanisms, such as by notifying an Amazon SNS topic. 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).
putEmailIdentityMailFromAttributes(params = {}, callback) ⇒ AWS.Request
Used to enable or disable the custom Mail-From domain configuration for an email identity.
sendEmail(params = {}, callback) ⇒ AWS.Request
Sends an email message. You can use the Amazon Pinpoint Email API to send two types of messages:
-
Simple – A standard email message. When you create this type of message, you specify the sender, the recipient, and the message body, and Amazon Pinpoint assembles the message for you.
-
Raw – A raw, MIME-formatted email message. When you send this type of email, you have to specify all of the message headers, as well as the message body. You can use this message type to send messages that contain attachments. The message that you specify has to be a valid MIME message.
tagResource(params = {}, callback) ⇒ AWS.Request
Add one or more tags (keys and values) to one or more specified resources. A tag is a label that you optionally define and associate with a resource in Amazon Pinpoint. Tags can help you categorize and manage resources in different ways, such as by purpose, owner, environment, or other criteria. A resource can have as many as 50 tags.
Each tag consists of a required tag key and an associated tag value, both of which you define. A tag key is a general label that acts as a category for more specific tag values. A tag value acts as a descriptor within a tag key.
untagResource(params = {}, callback) ⇒ AWS.Request
Remove one or more tags (keys and values) from a specified resource.
updateConfigurationSetEventDestination(params = {}, callback) ⇒ AWS.Request
Update the configuration of an event destination for a configuration set.
In Amazon Pinpoint, events include message sends, deliveries, opens, clicks, bounces, and complaints. Event destinations are places that you can send information about these events to. For example, you can send event data to Amazon SNS to receive notifications when you receive bounces or complaints, or you can use Amazon Kinesis Data Firehose to stream data to Amazon S3 for long-term storage.