SDK for PHP 3.x

Client: Aws\PinpointEmail\PinpointEmailClient
Service ID: pinpoint-email
Version: 2018-07-26

This page describes the parameters and results for the operations of the Amazon Pinpoint Email Service (2018-07-26), and shows how to use the Aws\PinpointEmail\PinpointEmailClient object to call the described operations. This documentation is specific to the 2018-07-26 API version of the service.

Operation Summary

Each of the following operations can be created from a client using $client->getCommand('CommandName'), where "CommandName" is the name of one of the following operations. Note: a command is a value that encapsulates an operation and the parameters used to create an HTTP request.

You can also create and send a command immediately using the magic methods available on a client object: $client->commandName(/* parameters */). You can send the command asynchronously (returning a promise) by appending the word "Async" to the operation name: $client->commandNameAsync(/* parameters */).

CreateConfigurationSet ( array $params = [] )
Create a configuration set.
CreateConfigurationSetEventDestination ( array $params = [] )
Create an event destination.
CreateDedicatedIpPool ( array $params = [] )
Create a new pool of dedicated IP addresses.
CreateDeliverabilityTestReport ( array $params = [] )
Create a new predictive inbox placement test.
CreateEmailIdentity ( array $params = [] )
Verifies an email identity for use with Amazon Pinpoint.
DeleteConfigurationSet ( array $params = [] )
Delete an existing configuration set.
DeleteConfigurationSetEventDestination ( array $params = [] )
Delete an event destination.
DeleteDedicatedIpPool ( array $params = [] )
Delete a dedicated IP pool.
DeleteEmailIdentity ( array $params = [] )
Deletes an email identity that you previously verified for use with Amazon Pinpoint.
GetAccount ( array $params = [] )
Obtain information about the email-sending status and capabilities of your Amazon Pinpoint account in the current AWS Region.
GetBlacklistReports ( array $params = [] )
Retrieve a list of the blacklists that your dedicated IP addresses appear on.
GetConfigurationSet ( array $params = [] )
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 ( array $params = [] )
Retrieve a list of event destinations that are associated with a configuration set.
GetDedicatedIp ( array $params = [] )
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 ( array $params = [] )
List the dedicated IP addresses that are associated with your Amazon Pinpoint account.
GetDeliverabilityDashboardOptions ( array $params = [] )
Retrieve information about the status of the Deliverability dashboard for your Amazon Pinpoint account.
GetDeliverabilityTestReport ( array $params = [] )
Retrieve the results of a predictive inbox placement test.
GetDomainDeliverabilityCampaign ( array $params = [] )
Retrieve all the deliverability data for a specific campaign.
GetDomainStatisticsReport ( array $params = [] )
Retrieve inbox placement and engagement rates for the domains that you use to send email.
GetEmailIdentity ( array $params = [] )
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 ( array $params = [] )
List all of the configuration sets associated with your Amazon Pinpoint account in the current region.
ListDedicatedIpPools ( array $params = [] )
List all of the dedicated IP pools that exist in your Amazon Pinpoint account in the current AWS Region.
ListDeliverabilityTestReports ( array $params = [] )
Show a list of the predictive inbox placement tests that you've performed, regardless of their statuses.
ListDomainDeliverabilityCampaigns ( array $params = [] )
Retrieve deliverability data for all the campaigns that used a specific domain to send email during a specified time range.
ListEmailIdentities ( array $params = [] )
Returns a list of all of the email identities that are associated with your Amazon Pinpoint account.
ListTagsForResource ( array $params = [] )
Retrieve a list of the tags (keys and values) that are associated with a specified resource.
PutAccountDedicatedIpWarmupAttributes ( array $params = [] )
Enable or disable the automatic warm-up feature for dedicated IP addresses.
PutAccountSendingAttributes ( array $params = [] )
Enable or disable the ability of your account to send email.
PutConfigurationSetDeliveryOptions ( array $params = [] )
Associate a configuration set with a dedicated IP pool.
PutConfigurationSetReputationOptions ( array $params = [] )
Enable or disable collection of reputation metrics for emails that you send using a particular configuration set in a specific AWS Region.
PutConfigurationSetSendingOptions ( array $params = [] )
Enable or disable email sending for messages that use a particular configuration set in a specific AWS Region.
PutConfigurationSetTrackingOptions ( array $params = [] )
Specify a custom domain to use for open and click tracking elements in email that you send using Amazon Pinpoint.
PutDedicatedIpInPool ( array $params = [] )
Move a dedicated IP address to an existing dedicated IP pool.
PutDedicatedIpWarmupAttributes ( array $params = [] )
PutDeliverabilityDashboardOption ( array $params = [] )
Enable or disable the Deliverability dashboard for your Amazon Pinpoint account.
PutEmailIdentityDkimAttributes ( array $params = [] )
Used to enable or disable DKIM authentication for an email identity.
PutEmailIdentityFeedbackAttributes ( array $params = [] )
Used to enable or disable feedback forwarding for an identity.
PutEmailIdentityMailFromAttributes ( array $params = [] )
Used to enable or disable the custom Mail-From domain configuration for an email identity.
SendEmail ( array $params = [] )
Sends an email message.
TagResource ( array $params = [] )
Add one or more tags (keys and values) to a specified resource.
UntagResource ( array $params = [] )
Remove one or more tags (keys and values) from a specified resource.
UpdateConfigurationSetEventDestination ( array $params = [] )
Update the configuration of an event destination for a configuration set.

Paginators

Paginators handle automatically iterating over paginated API results. Paginators are associated with specific API operations, and they accept the parameters that the corresponding API operation accepts. You can get a paginator from a client class using getPaginator($paginatorName, $operationParameters). This client supports the following paginators:

GetDedicatedIps
ListConfigurationSets
ListDedicatedIpPools
ListDeliverabilityTestReports
ListDomainDeliverabilityCampaigns
ListEmailIdentities

Operations

CreateConfigurationSet

$result = $client->createConfigurationSet([/* ... */]);
$promise = $client->createConfigurationSetAsync([/* ... */]);

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.

Parameter Syntax

$result = $client->createConfigurationSet([
    'ConfigurationSetName' => '<string>', // REQUIRED
    'DeliveryOptions' => [
        'SendingPoolName' => '<string>',
        'TlsPolicy' => 'REQUIRE|OPTIONAL',
    ],
    'ReputationOptions' => [
        'LastFreshStart' => <integer || string || DateTime>,
        'ReputationMetricsEnabled' => true || false,
    ],
    'SendingOptions' => [
        'SendingEnabled' => true || false,
    ],
    'Tags' => [
        [
            'Key' => '<string>', // REQUIRED
            'Value' => '<string>', // REQUIRED
        ],
        // ...
    ],
    'TrackingOptions' => [
        'CustomRedirectDomain' => '<string>', // REQUIRED
    ],
]);

Parameter Details

Members
ConfigurationSetName
Required: Yes
Type: string

The name of the configuration set.

DeliveryOptions
Type: DeliveryOptions structure

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

ReputationOptions
Type: ReputationOptions structure

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

SendingOptions
Type: SendingOptions structure

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

Tags
Type: Array of Tag structures

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

TrackingOptions
Type: TrackingOptions structure

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

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

AlreadyExistsException:

The resource specified in your request already exists.

NotFoundException:

The resource you attempted to access doesn't exist.

TooManyRequestsException:

Too many requests have been made to the operation.

LimitExceededException:

There are too many instances of the specified resource type.

BadRequestException:

The input you provided is invalid.

ConcurrentModificationException:

The resource is being modified by another operation or thread.

CreateConfigurationSetEventDestination

$result = $client->createConfigurationSetEventDestination([/* ... */]);
$promise = $client->createConfigurationSetEventDestinationAsync([/* ... */]);

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.

Parameter Syntax

$result = $client->createConfigurationSetEventDestination([
    'ConfigurationSetName' => '<string>', // REQUIRED
    'EventDestination' => [ // REQUIRED
        'CloudWatchDestination' => [
            'DimensionConfigurations' => [ // REQUIRED
                [
                    'DefaultDimensionValue' => '<string>', // REQUIRED
                    'DimensionName' => '<string>', // REQUIRED
                    'DimensionValueSource' => 'MESSAGE_TAG|EMAIL_HEADER|LINK_TAG', // REQUIRED
                ],
                // ...
            ],
        ],
        'Enabled' => true || false,
        'KinesisFirehoseDestination' => [
            'DeliveryStreamArn' => '<string>', // REQUIRED
            'IamRoleArn' => '<string>', // REQUIRED
        ],
        'MatchingEventTypes' => ['<string>', ...],
        'PinpointDestination' => [
            'ApplicationArn' => '<string>',
        ],
        'SnsDestination' => [
            'TopicArn' => '<string>', // REQUIRED
        ],
    ],
    'EventDestinationName' => '<string>', // REQUIRED
]);

Parameter Details

Members
ConfigurationSetName
Required: Yes
Type: string

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

EventDestination
Required: Yes
Type: EventDestinationDefinition structure

An object that defines the event destination.

EventDestinationName
Required: Yes
Type: string

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

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

NotFoundException:

The resource you attempted to access doesn't exist.

AlreadyExistsException:

The resource specified in your request already exists.

LimitExceededException:

There are too many instances of the specified resource type.

TooManyRequestsException:

Too many requests have been made to the operation.

BadRequestException:

The input you provided is invalid.

CreateDedicatedIpPool

$result = $client->createDedicatedIpPool([/* ... */]);
$promise = $client->createDedicatedIpPoolAsync([/* ... */]);

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.

Parameter Syntax

$result = $client->createDedicatedIpPool([
    'PoolName' => '<string>', // REQUIRED
    'Tags' => [
        [
            'Key' => '<string>', // REQUIRED
            'Value' => '<string>', // REQUIRED
        ],
        // ...
    ],
]);

Parameter Details

Members
PoolName
Required: Yes
Type: string

The name of the dedicated IP pool.

Tags
Type: Array of Tag structures

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

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

AlreadyExistsException:

The resource specified in your request already exists.

LimitExceededException:

There are too many instances of the specified resource type.

TooManyRequestsException:

Too many requests have been made to the operation.

BadRequestException:

The input you provided is invalid.

ConcurrentModificationException:

The resource is being modified by another operation or thread.

CreateDeliverabilityTestReport

$result = $client->createDeliverabilityTestReport([/* ... */]);
$promise = $client->createDeliverabilityTestReportAsync([/* ... */]);

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.

Parameter Syntax

$result = $client->createDeliverabilityTestReport([
    'Content' => [ // REQUIRED
        'Raw' => [
            'Data' => <string || resource || Psr\Http\Message\StreamInterface>, // REQUIRED
        ],
        'Simple' => [
            'Body' => [ // REQUIRED
                'Html' => [
                    'Charset' => '<string>',
                    'Data' => '<string>', // REQUIRED
                ],
                'Text' => [
                    'Charset' => '<string>',
                    'Data' => '<string>', // REQUIRED
                ],
            ],
            'Subject' => [ // REQUIRED
                'Charset' => '<string>',
                'Data' => '<string>', // REQUIRED
            ],
        ],
        'Template' => [
            'TemplateArn' => '<string>',
            'TemplateData' => '<string>',
        ],
    ],
    'FromEmailAddress' => '<string>', // REQUIRED
    'ReportName' => '<string>',
    'Tags' => [
        [
            'Key' => '<string>', // REQUIRED
            'Value' => '<string>', // REQUIRED
        ],
        // ...
    ],
]);

Parameter Details

Members
Content
Required: Yes
Type: EmailContent structure

The HTML body of the message that you sent when you performed the predictive inbox placement test.

FromEmailAddress
Required: Yes
Type: string

The email address that the predictive inbox placement test email was sent from.

ReportName
Type: string

A unique name that helps you to identify the predictive inbox placement test when you retrieve the results.

Tags
Type: Array of Tag structures

An array of objects that define the tags (keys and values) that you want to associate with the predictive inbox placement test.

Result Syntax

[
    'DeliverabilityTestStatus' => 'IN_PROGRESS|COMPLETED',
    'ReportId' => '<string>',
]

Result Details

Members
DeliverabilityTestStatus
Required: Yes
Type: string

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.

ReportId
Required: Yes
Type: string

A unique string that identifies the predictive inbox placement test.

Errors

AccountSuspendedException:

The message can't be sent because the account's ability to send email has been permanently restricted.

SendingPausedException:

The message can't be sent because the account's ability to send email is currently paused.

MessageRejected:

The message can't be sent because it contains invalid content.

MailFromDomainNotVerifiedException:

The message can't be sent because the sending domain isn't verified.

NotFoundException:

The resource you attempted to access doesn't exist.

TooManyRequestsException:

Too many requests have been made to the operation.

LimitExceededException:

There are too many instances of the specified resource type.

BadRequestException:

The input you provided is invalid.

ConcurrentModificationException:

The resource is being modified by another operation or thread.

CreateEmailIdentity

$result = $client->createEmailIdentity([/* ... */]);
$promise = $client->createEmailIdentityAsync([/* ... */]);

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.

Parameter Syntax

$result = $client->createEmailIdentity([
    'EmailIdentity' => '<string>', // REQUIRED
    'Tags' => [
        [
            'Key' => '<string>', // REQUIRED
            'Value' => '<string>', // REQUIRED
        ],
        // ...
    ],
]);

Parameter Details

Members
EmailIdentity
Required: Yes
Type: string

The email address or domain that you want to verify.

Tags
Type: Array of Tag structures

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

Result Syntax

[
    'DkimAttributes' => [
        'SigningEnabled' => true || false,
        'Status' => 'PENDING|SUCCESS|FAILED|TEMPORARY_FAILURE|NOT_STARTED',
        'Tokens' => ['<string>', ...],
    ],
    'IdentityType' => 'EMAIL_ADDRESS|DOMAIN|MANAGED_DOMAIN',
    'VerifiedForSendingStatus' => true || false,
]

Result Details

Members
DkimAttributes
Type: DkimAttributes structure

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.

IdentityType
Type: string

The email identity type.

VerifiedForSendingStatus
Type: boolean

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.

Errors

LimitExceededException:

There are too many instances of the specified resource type.

TooManyRequestsException:

Too many requests have been made to the operation.

BadRequestException:

The input you provided is invalid.

ConcurrentModificationException:

The resource is being modified by another operation or thread.

DeleteConfigurationSet

$result = $client->deleteConfigurationSet([/* ... */]);
$promise = $client->deleteConfigurationSetAsync([/* ... */]);

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.

Parameter Syntax

$result = $client->deleteConfigurationSet([
    'ConfigurationSetName' => '<string>', // REQUIRED
]);

Parameter Details

Members
ConfigurationSetName
Required: Yes
Type: string

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

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

NotFoundException:

The resource you attempted to access doesn't exist.

TooManyRequestsException:

Too many requests have been made to the operation.

BadRequestException:

The input you provided is invalid.

ConcurrentModificationException:

The resource is being modified by another operation or thread.

DeleteConfigurationSetEventDestination

$result = $client->deleteConfigurationSetEventDestination([/* ... */]);
$promise = $client->deleteConfigurationSetEventDestinationAsync([/* ... */]);

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.

Parameter Syntax

$result = $client->deleteConfigurationSetEventDestination([
    'ConfigurationSetName' => '<string>', // REQUIRED
    'EventDestinationName' => '<string>', // REQUIRED
]);

Parameter Details

Members
ConfigurationSetName
Required: Yes
Type: string

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

EventDestinationName
Required: Yes
Type: string

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

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

NotFoundException:

The resource you attempted to access doesn't exist.

TooManyRequestsException:

Too many requests have been made to the operation.

BadRequestException:

The input you provided is invalid.

DeleteDedicatedIpPool

$result = $client->deleteDedicatedIpPool([/* ... */]);
$promise = $client->deleteDedicatedIpPoolAsync([/* ... */]);

Delete a dedicated IP pool.

Parameter Syntax

$result = $client->deleteDedicatedIpPool([
    'PoolName' => '<string>', // REQUIRED
]);

Parameter Details

Members
PoolName
Required: Yes
Type: string

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

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

NotFoundException:

The resource you attempted to access doesn't exist.

TooManyRequestsException:

Too many requests have been made to the operation.

BadRequestException:

The input you provided is invalid.

ConcurrentModificationException:

The resource is being modified by another operation or thread.

DeleteEmailIdentity

$result = $client->deleteEmailIdentity([/* ... */]);
$promise = $client->deleteEmailIdentityAsync([/* ... */]);

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.

Parameter Syntax

$result = $client->deleteEmailIdentity([
    'EmailIdentity' => '<string>', // REQUIRED
]);

Parameter Details

Members
EmailIdentity
Required: Yes
Type: string

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

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

NotFoundException:

The resource you attempted to access doesn't exist.

TooManyRequestsException:

Too many requests have been made to the operation.

BadRequestException:

The input you provided is invalid.

ConcurrentModificationException:

The resource is being modified by another operation or thread.

GetAccount

$result = $client->getAccount([/* ... */]);
$promise = $client->getAccountAsync([/* ... */]);

Obtain information about the email-sending status and capabilities of your Amazon Pinpoint account in the current AWS Region.

Parameter Syntax

$result = $client->getAccount([
]);

Parameter Details

Members

Result Syntax

[
    'DedicatedIpAutoWarmupEnabled' => true || false,
    'EnforcementStatus' => '<string>',
    'ProductionAccessEnabled' => true || false,
    'SendQuota' => [
        'Max24HourSend' => <float>,
        'MaxSendRate' => <float>,
        'SentLast24Hours' => <float>,
    ],
    'SendingEnabled' => true || false,
]

Result Details

Members
DedicatedIpAutoWarmupEnabled
Type: boolean

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

EnforcementStatus
Type: string

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.

ProductionAccessEnabled
Type: boolean

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.

SendQuota
Type: SendQuota structure

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

SendingEnabled
Type: boolean

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

Errors

TooManyRequestsException:

Too many requests have been made to the operation.

BadRequestException:

The input you provided is invalid.

GetBlacklistReports

$result = $client->getBlacklistReports([/* ... */]);
$promise = $client->getBlacklistReportsAsync([/* ... */]);

Retrieve a list of the blacklists that your dedicated IP addresses appear on.

Parameter Syntax

$result = $client->getBlacklistReports([
    'BlacklistItemNames' => ['<string>', ...], // REQUIRED
]);

Parameter Details

Members
BlacklistItemNames
Required: Yes
Type: Array of strings

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.

Result Syntax

[
    'BlacklistReport' => [
        '<BlacklistItemName>' => [
            [
                'Description' => '<string>',
                'ListingTime' => <DateTime>,
                'RblName' => '<string>',
            ],
            // ...
        ],
        // ...
    ],
]

Result Details

Members
BlacklistReport
Required: Yes
Type: Associative array of custom strings keys (BlacklistItemName) to BlacklistEntry structuress

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

Errors

TooManyRequestsException:

Too many requests have been made to the operation.

NotFoundException:

The resource you attempted to access doesn't exist.

BadRequestException:

The input you provided is invalid.

GetConfigurationSet

$result = $client->getConfigurationSet([/* ... */]);
$promise = $client->getConfigurationSetAsync([/* ... */]);

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.

Parameter Syntax

$result = $client->getConfigurationSet([
    'ConfigurationSetName' => '<string>', // REQUIRED
]);

Parameter Details

Members
ConfigurationSetName
Required: Yes
Type: string

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

Result Syntax

[
    'ConfigurationSetName' => '<string>',
    'DeliveryOptions' => [
        'SendingPoolName' => '<string>',
        'TlsPolicy' => 'REQUIRE|OPTIONAL',
    ],
    'ReputationOptions' => [
        'LastFreshStart' => <DateTime>,
        'ReputationMetricsEnabled' => true || false,
    ],
    'SendingOptions' => [
        'SendingEnabled' => true || false,
    ],
    'Tags' => [
        [
            'Key' => '<string>',
            'Value' => '<string>',
        ],
        // ...
    ],
    'TrackingOptions' => [
        'CustomRedirectDomain' => '<string>',
    ],
]

Result Details

Members
ConfigurationSetName
Type: string

The name of the configuration set.

DeliveryOptions
Type: DeliveryOptions structure

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

ReputationOptions
Type: ReputationOptions structure

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

SendingOptions
Type: SendingOptions structure

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

Tags
Type: Array of Tag structures

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

TrackingOptions
Type: TrackingOptions structure

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

Errors

NotFoundException:

The resource you attempted to access doesn't exist.

TooManyRequestsException:

Too many requests have been made to the operation.

BadRequestException:

The input you provided is invalid.

GetConfigurationSetEventDestinations

$result = $client->getConfigurationSetEventDestinations([/* ... */]);
$promise = $client->getConfigurationSetEventDestinationsAsync([/* ... */]);

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.

Parameter Syntax

$result = $client->getConfigurationSetEventDestinations([
    'ConfigurationSetName' => '<string>', // REQUIRED
]);

Parameter Details

Members
ConfigurationSetName
Required: Yes
Type: string

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

Result Syntax

[
    'EventDestinations' => [
        [
            'CloudWatchDestination' => [
                'DimensionConfigurations' => [
                    [
                        'DefaultDimensionValue' => '<string>',
                        'DimensionName' => '<string>',
                        'DimensionValueSource' => 'MESSAGE_TAG|EMAIL_HEADER|LINK_TAG',
                    ],
                    // ...
                ],
            ],
            'Enabled' => true || false,
            'KinesisFirehoseDestination' => [
                'DeliveryStreamArn' => '<string>',
                'IamRoleArn' => '<string>',
            ],
            'MatchingEventTypes' => ['<string>', ...],
            'Name' => '<string>',
            'PinpointDestination' => [
                'ApplicationArn' => '<string>',
            ],
            'SnsDestination' => [
                'TopicArn' => '<string>',
            ],
        ],
        // ...
    ],
]

Result Details

Members
EventDestinations
Type: Array of EventDestination structures

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

Errors

NotFoundException:

The resource you attempted to access doesn't exist.

TooManyRequestsException:

Too many requests have been made to the operation.

BadRequestException:

The input you provided is invalid.

GetDedicatedIp

$result = $client->getDedicatedIp([/* ... */]);
$promise = $client->getDedicatedIpAsync([/* ... */]);

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.

Parameter Syntax

$result = $client->getDedicatedIp([
    'Ip' => '<string>', // REQUIRED
]);

Parameter Details

Members
Ip
Required: Yes
Type: string

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.

Result Syntax

[
    'DedicatedIp' => [
        'Ip' => '<string>',
        'PoolName' => '<string>',
        'WarmupPercentage' => <integer>,
        'WarmupStatus' => 'IN_PROGRESS|DONE',
    ],
]

Result Details

Members
DedicatedIp
Type: DedicatedIp structure

An object that contains information about a dedicated IP address.

Errors

TooManyRequestsException:

Too many requests have been made to the operation.

NotFoundException:

The resource you attempted to access doesn't exist.

BadRequestException:

The input you provided is invalid.

GetDedicatedIps

$result = $client->getDedicatedIps([/* ... */]);
$promise = $client->getDedicatedIpsAsync([/* ... */]);

List the dedicated IP addresses that are associated with your Amazon Pinpoint account.

Parameter Syntax

$result = $client->getDedicatedIps([
    'NextToken' => '<string>',
    'PageSize' => <integer>,
    'PoolName' => '<string>',
]);

Parameter Details

Members
NextToken
Type: string

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

PageSize
Type: int

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.

PoolName
Type: string

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

Result Syntax

[
    'DedicatedIps' => [
        [
            'Ip' => '<string>',
            'PoolName' => '<string>',
            'WarmupPercentage' => <integer>,
            'WarmupStatus' => 'IN_PROGRESS|DONE',
        ],
        // ...
    ],
    'NextToken' => '<string>',
]

Result Details

Members
DedicatedIps
Type: Array of DedicatedIp structures

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

NextToken
Type: string

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.

Errors

TooManyRequestsException:

Too many requests have been made to the operation.

NotFoundException:

The resource you attempted to access doesn't exist.

BadRequestException:

The input you provided is invalid.

GetDeliverabilityDashboardOptions

$result = $client->getDeliverabilityDashboardOptions([/* ... */]);
$promise = $client->getDeliverabilityDashboardOptionsAsync([/* ... */]);

Retrieve information about the status of the Deliverability dashboard for your Amazon Pinpoint account. When the Deliverability dashboard is enabled, you gain access to reputation, deliverability, and other 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 subscription charge, in addition to any other fees that you accrue by using Amazon Pinpoint. For more information about the features and cost of a Deliverability dashboard subscription, see Amazon Pinpoint Pricing.

Parameter Syntax

$result = $client->getDeliverabilityDashboardOptions([
]);

Parameter Details

Members

Result Syntax

[
    'AccountStatus' => 'ACTIVE|PENDING_EXPIRATION|DISABLED',
    'ActiveSubscribedDomains' => [
        [
            'Domain' => '<string>',
            'InboxPlacementTrackingOption' => [
                'Global' => true || false,
                'TrackedIsps' => ['<string>', ...],
            ],
            'SubscriptionStartDate' => <DateTime>,
        ],
        // ...
    ],
    'DashboardEnabled' => true || false,
    'PendingExpirationSubscribedDomains' => [
        [
            'Domain' => '<string>',
            'InboxPlacementTrackingOption' => [
                'Global' => true || false,
                'TrackedIsps' => ['<string>', ...],
            ],
            'SubscriptionStartDate' => <DateTime>,
        ],
        // ...
    ],
    'SubscriptionExpiryDate' => <DateTime>,
]

Result Details

Members
AccountStatus
Type: string

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.

ActiveSubscribedDomains
Type: Array of DomainDeliverabilityTrackingOption structures

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.

DashboardEnabled
Required: Yes
Type: boolean

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

PendingExpirationSubscribedDomains
Type: Array of DomainDeliverabilityTrackingOption structures

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.

SubscriptionExpiryDate
Type: timestamp (string|DateTime or anything parsable by strtotime)

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.

Errors

TooManyRequestsException:

Too many requests have been made to the operation.

LimitExceededException:

There are too many instances of the specified resource type.

BadRequestException:

The input you provided is invalid.

GetDeliverabilityTestReport

$result = $client->getDeliverabilityTestReport([/* ... */]);
$promise = $client->getDeliverabilityTestReportAsync([/* ... */]);

Retrieve the results of a predictive inbox placement test.

Parameter Syntax

$result = $client->getDeliverabilityTestReport([
    'ReportId' => '<string>', // REQUIRED
]);

Parameter Details

Members
ReportId
Required: Yes
Type: string

A unique string that identifies the predictive inbox placement test.

Result Syntax

[
    'DeliverabilityTestReport' => [
        'CreateDate' => <DateTime>,
        'DeliverabilityTestStatus' => 'IN_PROGRESS|COMPLETED',
        'FromEmailAddress' => '<string>',
        'ReportId' => '<string>',
        'ReportName' => '<string>',
        'Subject' => '<string>',
    ],
    'IspPlacements' => [
        [
            'IspName' => '<string>',
            'PlacementStatistics' => [
                'DkimPercentage' => <float>,
                'InboxPercentage' => <float>,
                'MissingPercentage' => <float>,
                'SpamPercentage' => <float>,
                'SpfPercentage' => <float>,
            ],
        ],
        // ...
    ],
    'Message' => '<string>',
    'OverallPlacement' => [
        'DkimPercentage' => <float>,
        'InboxPercentage' => <float>,
        'MissingPercentage' => <float>,
        'SpamPercentage' => <float>,
        'SpfPercentage' => <float>,
    ],
    'Tags' => [
        [
            'Key' => '<string>',
            'Value' => '<string>',
        ],
        // ...
    ],
]

Result Details

Members
DeliverabilityTestReport
Required: Yes
Type: DeliverabilityTestReport structure

An object that contains the results of the predictive inbox placement test.

IspPlacements
Required: Yes
Type: Array of IspPlacement structures

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

Message
Type: string

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

OverallPlacement
Required: Yes
Type: PlacementStatistics structure

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.

Tags
Type: Array of Tag structures

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

Errors

TooManyRequestsException:

Too many requests have been made to the operation.

NotFoundException:

The resource you attempted to access doesn't exist.

BadRequestException:

The input you provided is invalid.

GetDomainDeliverabilityCampaign

$result = $client->getDomainDeliverabilityCampaign([/* ... */]);
$promise = $client->getDomainDeliverabilityCampaignAsync([/* ... */]);

Retrieve all the deliverability data for a specific campaign. This data is available for a campaign only if the campaign sent email by using a domain that the Deliverability dashboard is enabled for (PutDeliverabilityDashboardOption operation).

Parameter Syntax

$result = $client->getDomainDeliverabilityCampaign([
    'CampaignId' => '<string>', // REQUIRED
]);

Parameter Details

Members
CampaignId
Required: Yes
Type: string

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.

Result Syntax

[
    'DomainDeliverabilityCampaign' => [
        'CampaignId' => '<string>',
        'DeleteRate' => <float>,
        'Esps' => ['<string>', ...],
        'FirstSeenDateTime' => <DateTime>,
        'FromAddress' => '<string>',
        'ImageUrl' => '<string>',
        'InboxCount' => <integer>,
        'LastSeenDateTime' => <DateTime>,
        'ProjectedVolume' => <integer>,
        'ReadDeleteRate' => <float>,
        'ReadRate' => <float>,
        'SendingIps' => ['<string>', ...],
        'SpamCount' => <integer>,
        'Subject' => '<string>',
    ],
]

Result Details

Members
DomainDeliverabilityCampaign
Required: Yes
Type: DomainDeliverabilityCampaign structure

An object that contains the deliverability data for the campaign.

Errors

TooManyRequestsException:

Too many requests have been made to the operation.

BadRequestException:

The input you provided is invalid.

NotFoundException:

The resource you attempted to access doesn't exist.

GetDomainStatisticsReport

$result = $client->getDomainStatisticsReport([/* ... */]);
$promise = $client->getDomainStatisticsReportAsync([/* ... */]);

Retrieve inbox placement and engagement rates for the domains that you use to send email.

Parameter Syntax

$result = $client->getDomainStatisticsReport([
    'Domain' => '<string>', // REQUIRED
    'EndDate' => <integer || string || DateTime>, // REQUIRED
    'StartDate' => <integer || string || DateTime>, // REQUIRED
]);

Parameter Details

Members
Domain
Required: Yes
Type: string

The domain that you want to obtain deliverability metrics for.

EndDate
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

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.

StartDate
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

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

Result Syntax

[
    'DailyVolumes' => [
        [
            'DomainIspPlacements' => [
                [
                    'InboxPercentage' => <float>,
                    'InboxRawCount' => <integer>,
                    'IspName' => '<string>',
                    'SpamPercentage' => <float>,
                    'SpamRawCount' => <integer>,
                ],
                // ...
            ],
            'StartDate' => <DateTime>,
            'VolumeStatistics' => [
                'InboxRawCount' => <integer>,
                'ProjectedInbox' => <integer>,
                'ProjectedSpam' => <integer>,
                'SpamRawCount' => <integer>,
            ],
        ],
        // ...
    ],
    'OverallVolume' => [
        'DomainIspPlacements' => [
            [
                'InboxPercentage' => <float>,
                'InboxRawCount' => <integer>,
                'IspName' => '<string>',
                'SpamPercentage' => <float>,
                'SpamRawCount' => <integer>,
            ],
            // ...
        ],
        'ReadRatePercent' => <float>,
        'VolumeStatistics' => [
            'InboxRawCount' => <integer>,
            'ProjectedInbox' => <integer>,
            'ProjectedSpam' => <integer>,
            'SpamRawCount' => <integer>,
        ],
    ],
]

Result Details

Members
DailyVolumes
Required: Yes
Type: Array of DailyVolume structures

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.

OverallVolume
Required: Yes
Type: OverallVolume structure

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.

Errors

TooManyRequestsException:

Too many requests have been made to the operation.

NotFoundException:

The resource you attempted to access doesn't exist.

BadRequestException:

The input you provided is invalid.

GetEmailIdentity

$result = $client->getEmailIdentity([/* ... */]);
$promise = $client->getEmailIdentityAsync([/* ... */]);

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.

Parameter Syntax

$result = $client->getEmailIdentity([
    'EmailIdentity' => '<string>', // REQUIRED
]);

Parameter Details

Members
EmailIdentity
Required: Yes
Type: string

The email identity that you want to retrieve details for.

Result Syntax

[
    'DkimAttributes' => [
        'SigningEnabled' => true || false,
        'Status' => 'PENDING|SUCCESS|FAILED|TEMPORARY_FAILURE|NOT_STARTED',
        'Tokens' => ['<string>', ...],
    ],
    'FeedbackForwardingStatus' => true || false,
    'IdentityType' => 'EMAIL_ADDRESS|DOMAIN|MANAGED_DOMAIN',
    'MailFromAttributes' => [
        'BehaviorOnMxFailure' => 'USE_DEFAULT_VALUE|REJECT_MESSAGE',
        'MailFromDomain' => '<string>',
        'MailFromDomainStatus' => 'PENDING|SUCCESS|FAILED|TEMPORARY_FAILURE',
    ],
    'Tags' => [
        [
            'Key' => '<string>',
            'Value' => '<string>',
        ],
        // ...
    ],
    'VerifiedForSendingStatus' => true || false,
]

Result Details

Members
DkimAttributes
Type: DkimAttributes structure

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.

FeedbackForwardingStatus
Type: boolean

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

IdentityType
Type: string

The email identity type.

MailFromAttributes
Type: MailFromAttributes structure

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

Tags
Type: Array of Tag structures

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

VerifiedForSendingStatus
Type: boolean

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.

Errors

NotFoundException:

The resource you attempted to access doesn't exist.

TooManyRequestsException:

Too many requests have been made to the operation.

BadRequestException:

The input you provided is invalid.

ListConfigurationSets

$result = $client->listConfigurationSets([/* ... */]);
$promise = $client->listConfigurationSetsAsync([/* ... */]);

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.

Parameter Syntax

$result = $client->listConfigurationSets([
    'NextToken' => '<string>',
    'PageSize' => <integer>,
]);

Parameter Details

Members
NextToken
Type: string

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

PageSize
Type: int

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.

Result Syntax

[
    'ConfigurationSets' => ['<string>', ...],
    'NextToken' => '<string>',
]

Result Details

Members
ConfigurationSets
Type: Array of strings

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

NextToken
Type: string

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.

Errors

TooManyRequestsException:

Too many requests have been made to the operation.

BadRequestException:

The input you provided is invalid.

ListDedicatedIpPools

$result = $client->listDedicatedIpPools([/* ... */]);
$promise = $client->listDedicatedIpPoolsAsync([/* ... */]);

List all of the dedicated IP pools that exist in your Amazon Pinpoint account in the current AWS Region.

Parameter Syntax

$result = $client->listDedicatedIpPools([
    'NextToken' => '<string>',
    'PageSize' => <integer>,
]);

Parameter Details

Members
NextToken
Type: string

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

PageSize
Type: int

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.

Result Syntax

[
    'DedicatedIpPools' => ['<string>', ...],
    'NextToken' => '<string>',
]

Result Details

Members
DedicatedIpPools
Type: Array of strings

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

NextToken
Type: string

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.

Errors

TooManyRequestsException:

Too many requests have been made to the operation.

BadRequestException:

The input you provided is invalid.

ListDeliverabilityTestReports

$result = $client->listDeliverabilityTestReports([/* ... */]);
$promise = $client->listDeliverabilityTestReportsAsync([/* ... */]);

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.

Parameter Syntax

$result = $client->listDeliverabilityTestReports([
    'NextToken' => '<string>',
    'PageSize' => <integer>,
]);

Parameter Details

Members
NextToken
Type: string

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

PageSize
Type: int

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.

Result Syntax

[
    'DeliverabilityTestReports' => [
        [
            'CreateDate' => <DateTime>,
            'DeliverabilityTestStatus' => 'IN_PROGRESS|COMPLETED',
            'FromEmailAddress' => '<string>',
            'ReportId' => '<string>',
            'ReportName' => '<string>',
            'Subject' => '<string>',
        ],
        // ...
    ],
    'NextToken' => '<string>',
]

Result Details

Members
DeliverabilityTestReports
Required: Yes
Type: Array of DeliverabilityTestReport structures

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

NextToken
Type: string

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.

Errors

TooManyRequestsException:

Too many requests have been made to the operation.

NotFoundException:

The resource you attempted to access doesn't exist.

BadRequestException:

The input you provided is invalid.

ListDomainDeliverabilityCampaigns

$result = $client->listDomainDeliverabilityCampaigns([/* ... */]);
$promise = $client->listDomainDeliverabilityCampaignsAsync([/* ... */]);

Retrieve deliverability data for all the campaigns that used a specific domain to send email during a specified time range. This data is available for a domain only if you enabled the Deliverability dashboard (PutDeliverabilityDashboardOption operation) for the domain.

Parameter Syntax

$result = $client->listDomainDeliverabilityCampaigns([
    'EndDate' => <integer || string || DateTime>, // REQUIRED
    'NextToken' => '<string>',
    'PageSize' => <integer>,
    'StartDate' => <integer || string || DateTime>, // REQUIRED
    'SubscribedDomain' => '<string>', // REQUIRED
]);

Parameter Details

Members
EndDate
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

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.

NextToken
Type: string

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.

PageSize
Type: int

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.

StartDate
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

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

SubscribedDomain
Required: Yes
Type: string

The domain to obtain deliverability data for.

Result Syntax

[
    'DomainDeliverabilityCampaigns' => [
        [
            'CampaignId' => '<string>',
            'DeleteRate' => <float>,
            'Esps' => ['<string>', ...],
            'FirstSeenDateTime' => <DateTime>,
            'FromAddress' => '<string>',
            'ImageUrl' => '<string>',
            'InboxCount' => <integer>,
            'LastSeenDateTime' => <DateTime>,
            'ProjectedVolume' => <integer>,
            'ReadDeleteRate' => <float>,
            'ReadRate' => <float>,
            'SendingIps' => ['<string>', ...],
            'SpamCount' => <integer>,
            'Subject' => '<string>',
        ],
        // ...
    ],
    'NextToken' => '<string>',
]

Result Details

Members
DomainDeliverabilityCampaigns
Required: Yes
Type: Array of DomainDeliverabilityCampaign structures

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

NextToken
Type: string

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.

Errors

TooManyRequestsException:

Too many requests have been made to the operation.

BadRequestException:

The input you provided is invalid.

NotFoundException:

The resource you attempted to access doesn't exist.

ListEmailIdentities

$result = $client->listEmailIdentities([/* ... */]);
$promise = $client->listEmailIdentitiesAsync([/* ... */]);

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.

Parameter Syntax

$result = $client->listEmailIdentities([
    'NextToken' => '<string>',
    'PageSize' => <integer>,
]);

Parameter Details

Members
NextToken
Type: string

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

PageSize
Type: int

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.

Result Syntax

[
    'EmailIdentities' => [
        [
            'IdentityName' => '<string>',
            'IdentityType' => 'EMAIL_ADDRESS|DOMAIN|MANAGED_DOMAIN',
            'SendingEnabled' => true || false,
        ],
        // ...
    ],
    'NextToken' => '<string>',
]

Result Details

Members
EmailIdentities
Type: Array of IdentityInfo structures

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

NextToken
Type: string

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.

Errors

TooManyRequestsException:

Too many requests have been made to the operation.

BadRequestException:

The input you provided is invalid.

ListTagsForResource

$result = $client->listTagsForResource([/* ... */]);
$promise = $client->listTagsForResourceAsync([/* ... */]);

Retrieve a list of the tags (keys and values) that are associated with a specified 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.

Parameter Syntax

$result = $client->listTagsForResource([
    'ResourceArn' => '<string>', // REQUIRED
]);

Parameter Details

Members
ResourceArn
Required: Yes
Type: string

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

Result Syntax

[
    'Tags' => [
        [
            'Key' => '<string>',
            'Value' => '<string>',
        ],
        // ...
    ],
]

Result Details

Members
Tags
Required: Yes
Type: Array of Tag structures

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)

Errors

BadRequestException:

The input you provided is invalid.

NotFoundException:

The resource you attempted to access doesn't exist.

TooManyRequestsException:

Too many requests have been made to the operation.

PutAccountDedicatedIpWarmupAttributes

$result = $client->putAccountDedicatedIpWarmupAttributes([/* ... */]);
$promise = $client->putAccountDedicatedIpWarmupAttributesAsync([/* ... */]);

Enable or disable the automatic warm-up feature for dedicated IP addresses.

Parameter Syntax

$result = $client->putAccountDedicatedIpWarmupAttributes([
    'AutoWarmupEnabled' => true || false,
]);

Parameter Details

Members
AutoWarmupEnabled
Type: boolean

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.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

TooManyRequestsException:

Too many requests have been made to the operation.

BadRequestException:

The input you provided is invalid.

PutAccountSendingAttributes

$result = $client->putAccountSendingAttributes([/* ... */]);
$promise = $client->putAccountSendingAttributesAsync([/* ... */]);

Enable or disable the ability of your account to send email.

Parameter Syntax

$result = $client->putAccountSendingAttributes([
    'SendingEnabled' => true || false,
]);

Parameter Details

Members
SendingEnabled
Type: boolean

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.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

TooManyRequestsException:

Too many requests have been made to the operation.

BadRequestException:

The input you provided is invalid.

PutConfigurationSetDeliveryOptions

$result = $client->putConfigurationSetDeliveryOptions([/* ... */]);
$promise = $client->putConfigurationSetDeliveryOptionsAsync([/* ... */]);

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.

Parameter Syntax

$result = $client->putConfigurationSetDeliveryOptions([
    'ConfigurationSetName' => '<string>', // REQUIRED
    'SendingPoolName' => '<string>',
    'TlsPolicy' => 'REQUIRE|OPTIONAL',
]);

Parameter Details

Members
ConfigurationSetName
Required: Yes
Type: string

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

SendingPoolName
Type: string

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

TlsPolicy
Type: string

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.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

NotFoundException:

The resource you attempted to access doesn't exist.

TooManyRequestsException:

Too many requests have been made to the operation.

BadRequestException:

The input you provided is invalid.

PutConfigurationSetReputationOptions

$result = $client->putConfigurationSetReputationOptions([/* ... */]);
$promise = $client->putConfigurationSetReputationOptionsAsync([/* ... */]);

Enable or disable collection of reputation metrics for emails that you send using a particular configuration set in a specific AWS Region.

Parameter Syntax

$result = $client->putConfigurationSetReputationOptions([
    'ConfigurationSetName' => '<string>', // REQUIRED
    'ReputationMetricsEnabled' => true || false,
]);

Parameter Details

Members
ConfigurationSetName
Required: Yes
Type: string

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

ReputationMetricsEnabled
Type: boolean

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

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

NotFoundException:

The resource you attempted to access doesn't exist.

TooManyRequestsException:

Too many requests have been made to the operation.

BadRequestException:

The input you provided is invalid.

PutConfigurationSetSendingOptions

$result = $client->putConfigurationSetSendingOptions([/* ... */]);
$promise = $client->putConfigurationSetSendingOptionsAsync([/* ... */]);

Enable or disable email sending for messages that use a particular configuration set in a specific AWS Region.

Parameter Syntax

$result = $client->putConfigurationSetSendingOptions([
    'ConfigurationSetName' => '<string>', // REQUIRED
    'SendingEnabled' => true || false,
]);

Parameter Details

Members
ConfigurationSetName
Required: Yes
Type: string

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

SendingEnabled
Type: boolean

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

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

NotFoundException:

The resource you attempted to access doesn't exist.

TooManyRequestsException:

Too many requests have been made to the operation.

BadRequestException:

The input you provided is invalid.

PutConfigurationSetTrackingOptions

$result = $client->putConfigurationSetTrackingOptions([/* ... */]);
$promise = $client->putConfigurationSetTrackingOptionsAsync([/* ... */]);

Specify a custom domain to use for open and click tracking elements in email that you send using Amazon Pinpoint.

Parameter Syntax

$result = $client->putConfigurationSetTrackingOptions([
    'ConfigurationSetName' => '<string>', // REQUIRED
    'CustomRedirectDomain' => '<string>',
]);

Parameter Details

Members
ConfigurationSetName
Required: Yes
Type: string

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

CustomRedirectDomain
Type: string

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

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

NotFoundException:

The resource you attempted to access doesn't exist.

TooManyRequestsException:

Too many requests have been made to the operation.

BadRequestException:

The input you provided is invalid.

PutDedicatedIpInPool

$result = $client->putDedicatedIpInPool([/* ... */]);
$promise = $client->putDedicatedIpInPoolAsync([/* ... */]);

Move a dedicated IP address to an existing dedicated IP pool.

The dedicated IP address that you specify must already exist, and must be associated with your Amazon Pinpoint account.

The dedicated IP pool you specify must already exist. You can create a new pool by using the CreateDedicatedIpPool operation.

Parameter Syntax

$result = $client->putDedicatedIpInPool([
    'DestinationPoolName' => '<string>', // REQUIRED
    'Ip' => '<string>', // REQUIRED
]);

Parameter Details

Members
DestinationPoolName
Required: Yes
Type: string

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.

Ip
Required: Yes
Type: string

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.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

NotFoundException:

The resource you attempted to access doesn't exist.

TooManyRequestsException:

Too many requests have been made to the operation.

BadRequestException:

The input you provided is invalid.

PutDedicatedIpWarmupAttributes

$result = $client->putDedicatedIpWarmupAttributes([/* ... */]);
$promise = $client->putDedicatedIpWarmupAttributesAsync([/* ... */]);

Parameter Syntax

$result = $client->putDedicatedIpWarmupAttributes([
    'Ip' => '<string>', // REQUIRED
    'WarmupPercentage' => <integer>, // REQUIRED
]);

Parameter Details

Members
Ip
Required: Yes
Type: string

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

WarmupPercentage
Required: Yes
Type: int

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

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

NotFoundException:

The resource you attempted to access doesn't exist.

TooManyRequestsException:

Too many requests have been made to the operation.

BadRequestException:

The input you provided is invalid.

PutDeliverabilityDashboardOption

$result = $client->putDeliverabilityDashboardOption([/* ... */]);
$promise = $client->putDeliverabilityDashboardOptionAsync([/* ... */]);

Enable or disable the Deliverability dashboard for your Amazon Pinpoint account. When you enable the Deliverability dashboard, you gain access to reputation, deliverability, and other 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 subscription charge, in addition to any other fees that you accrue by using Amazon Pinpoint. For more information about the features and cost of a Deliverability dashboard subscription, see Amazon Pinpoint Pricing.

Parameter Syntax

$result = $client->putDeliverabilityDashboardOption([
    'DashboardEnabled' => true || false, // REQUIRED
    'SubscribedDomains' => [
        [
            'Domain' => '<string>',
            'InboxPlacementTrackingOption' => [
                'Global' => true || false,
                'TrackedIsps' => ['<string>', ...],
            ],
            'SubscriptionStartDate' => <integer || string || DateTime>,
        ],
        // ...
    ],
]);

Parameter Details

Members
DashboardEnabled
Required: Yes
Type: boolean

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

SubscribedDomains
Type: Array of DomainDeliverabilityTrackingOption structures

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

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

AlreadyExistsException:

The resource specified in your request already exists.

NotFoundException:

The resource you attempted to access doesn't exist.

TooManyRequestsException:

Too many requests have been made to the operation.

LimitExceededException:

There are too many instances of the specified resource type.

BadRequestException:

The input you provided is invalid.

PutEmailIdentityDkimAttributes

$result = $client->putEmailIdentityDkimAttributes([/* ... */]);
$promise = $client->putEmailIdentityDkimAttributesAsync([/* ... */]);

Used to enable or disable DKIM authentication for an email identity.

Parameter Syntax

$result = $client->putEmailIdentityDkimAttributes([
    'EmailIdentity' => '<string>', // REQUIRED
    'SigningEnabled' => true || false,
]);

Parameter Details

Members
EmailIdentity
Required: Yes
Type: string

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

SigningEnabled
Type: boolean

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.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

NotFoundException:

The resource you attempted to access doesn't exist.

TooManyRequestsException:

Too many requests have been made to the operation.

BadRequestException:

The input you provided is invalid.

PutEmailIdentityFeedbackAttributes

$result = $client->putEmailIdentityFeedbackAttributes([/* ... */]);
$promise = $client->putEmailIdentityFeedbackAttributesAsync([/* ... */]);

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

Parameter Syntax

$result = $client->putEmailIdentityFeedbackAttributes([
    'EmailForwardingEnabled' => true || false,
    'EmailIdentity' => '<string>', // REQUIRED
]);

Parameter Details

Members
EmailForwardingEnabled
Type: boolean

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

EmailIdentity
Required: Yes
Type: string

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

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

NotFoundException:

The resource you attempted to access doesn't exist.

TooManyRequestsException:

Too many requests have been made to the operation.

BadRequestException:

The input you provided is invalid.

PutEmailIdentityMailFromAttributes

$result = $client->putEmailIdentityMailFromAttributes([/* ... */]);
$promise = $client->putEmailIdentityMailFromAttributesAsync([/* ... */]);

Used to enable or disable the custom Mail-From domain configuration for an email identity.

Parameter Syntax

$result = $client->putEmailIdentityMailFromAttributes([
    'BehaviorOnMxFailure' => 'USE_DEFAULT_VALUE|REJECT_MESSAGE',
    'EmailIdentity' => '<string>', // REQUIRED
    'MailFromDomain' => '<string>',
]);

Parameter Details

Members
BehaviorOnMxFailure
Type: string

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.

EmailIdentity
Required: Yes
Type: string

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

MailFromDomain
Type: string

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.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

NotFoundException:

The resource you attempted to access doesn't exist.

TooManyRequestsException:

Too many requests have been made to the operation.

BadRequestException:

The input you provided is invalid.

SendEmail

$result = $client->sendEmail([/* ... */]);
$promise = $client->sendEmailAsync([/* ... */]);

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.

Parameter Syntax

$result = $client->sendEmail([
    'ConfigurationSetName' => '<string>',
    'Content' => [ // REQUIRED
        'Raw' => [
            'Data' => <string || resource || Psr\Http\Message\StreamInterface>, // REQUIRED
        ],
        'Simple' => [
            'Body' => [ // REQUIRED
                'Html' => [
                    'Charset' => '<string>',
                    'Data' => '<string>', // REQUIRED
                ],
                'Text' => [
                    'Charset' => '<string>',
                    'Data' => '<string>', // REQUIRED
                ],
            ],
            'Subject' => [ // REQUIRED
                'Charset' => '<string>',
                'Data' => '<string>', // REQUIRED
            ],
        ],
        'Template' => [
            'TemplateArn' => '<string>',
            'TemplateData' => '<string>',
        ],
    ],
    'Destination' => [ // REQUIRED
        'BccAddresses' => ['<string>', ...],
        'CcAddresses' => ['<string>', ...],
        'ToAddresses' => ['<string>', ...],
    ],
    'EmailTags' => [
        [
            'Name' => '<string>', // REQUIRED
            'Value' => '<string>', // REQUIRED
        ],
        // ...
    ],
    'FeedbackForwardingEmailAddress' => '<string>',
    'FromEmailAddress' => '<string>',
    'ReplyToAddresses' => ['<string>', ...],
]);

Parameter Details

Members
ConfigurationSetName
Type: string

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

Content
Required: Yes
Type: EmailContent structure

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

Destination
Required: Yes
Type: Destination structure

An object that contains the recipients of the email message.

EmailTags
Type: Array of MessageTag structures

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.

FeedbackForwardingEmailAddress
Type: string

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

FromEmailAddress
Type: string

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

ReplyToAddresses
Type: Array of strings

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

Result Syntax

[
    'MessageId' => '<string>',
]

Result Details

Members
MessageId
Type: string

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.

Errors

TooManyRequestsException:

Too many requests have been made to the operation.

LimitExceededException:

There are too many instances of the specified resource type.

AccountSuspendedException:

The message can't be sent because the account's ability to send email has been permanently restricted.

SendingPausedException:

The message can't be sent because the account's ability to send email is currently paused.

MessageRejected:

The message can't be sent because it contains invalid content.

MailFromDomainNotVerifiedException:

The message can't be sent because the sending domain isn't verified.

NotFoundException:

The resource you attempted to access doesn't exist.

BadRequestException:

The input you provided is invalid.

TagResource

$result = $client->tagResource([/* ... */]);
$promise = $client->tagResourceAsync([/* ... */]);

Add one or more tags (keys and values) to a specified resource. 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.

Parameter Syntax

$result = $client->tagResource([
    'ResourceArn' => '<string>', // REQUIRED
    'Tags' => [ // REQUIRED
        [
            'Key' => '<string>', // REQUIRED
            'Value' => '<string>', // REQUIRED
        ],
        // ...
    ],
]);

Parameter Details

Members
ResourceArn
Required: Yes
Type: string

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

Tags
Required: Yes
Type: Array of Tag structures

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.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

BadRequestException:

The input you provided is invalid.

ConcurrentModificationException:

The resource is being modified by another operation or thread.

NotFoundException:

The resource you attempted to access doesn't exist.

TooManyRequestsException:

Too many requests have been made to the operation.

UntagResource

$result = $client->untagResource([/* ... */]);
$promise = $client->untagResourceAsync([/* ... */]);

Remove one or more tags (keys and values) from a specified resource.

Parameter Syntax

$result = $client->untagResource([
    'ResourceArn' => '<string>', // REQUIRED
    'TagKeys' => ['<string>', ...], // REQUIRED
]);

Parameter Details

Members
ResourceArn
Required: Yes
Type: string

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

TagKeys
Required: Yes
Type: Array of strings

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

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

BadRequestException:

The input you provided is invalid.

ConcurrentModificationException:

The resource is being modified by another operation or thread.

NotFoundException:

The resource you attempted to access doesn't exist.

TooManyRequestsException:

Too many requests have been made to the operation.

UpdateConfigurationSetEventDestination

$result = $client->updateConfigurationSetEventDestination([/* ... */]);
$promise = $client->updateConfigurationSetEventDestinationAsync([/* ... */]);

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.

Parameter Syntax

$result = $client->updateConfigurationSetEventDestination([
    'ConfigurationSetName' => '<string>', // REQUIRED
    'EventDestination' => [ // REQUIRED
        'CloudWatchDestination' => [
            'DimensionConfigurations' => [ // REQUIRED
                [
                    'DefaultDimensionValue' => '<string>', // REQUIRED
                    'DimensionName' => '<string>', // REQUIRED
                    'DimensionValueSource' => 'MESSAGE_TAG|EMAIL_HEADER|LINK_TAG', // REQUIRED
                ],
                // ...
            ],
        ],
        'Enabled' => true || false,
        'KinesisFirehoseDestination' => [
            'DeliveryStreamArn' => '<string>', // REQUIRED
            'IamRoleArn' => '<string>', // REQUIRED
        ],
        'MatchingEventTypes' => ['<string>', ...],
        'PinpointDestination' => [
            'ApplicationArn' => '<string>',
        ],
        'SnsDestination' => [
            'TopicArn' => '<string>', // REQUIRED
        ],
    ],
    'EventDestinationName' => '<string>', // REQUIRED
]);

Parameter Details

Members
ConfigurationSetName
Required: Yes
Type: string

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

EventDestination
Required: Yes
Type: EventDestinationDefinition structure

An object that defines the event destination.

EventDestinationName
Required: Yes
Type: string

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

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

NotFoundException:

The resource you attempted to access doesn't exist.

TooManyRequestsException:

Too many requests have been made to the operation.

BadRequestException:

The input you provided is invalid.

Shapes

AccountSuspendedException

Description

The message can't be sent because the account's ability to send email has been permanently restricted.

Members

AlreadyExistsException

Description

The resource specified in your request already exists.

Members

BadRequestException

Description

The input you provided is invalid.

Members

BlacklistEntry

Description

An object that contains information about a blacklisting event that impacts one of the dedicated IP addresses that is associated with your account.

Members
Description
Type: string

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

ListingTime
Type: timestamp (string|DateTime or anything parsable by strtotime)

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

RblName
Type: string

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

Body

Description

Represents the body of the email message.

Members
Html
Type: Content structure

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.

Text
Type: Content structure

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.

CloudWatchDestination

Description

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.

Members
DimensionConfigurations
Required: Yes
Type: Array of CloudWatchDimensionConfiguration structures

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

CloudWatchDimensionConfiguration

Description

An object that defines the dimension configuration to use when you send Amazon Pinpoint email events to Amazon CloudWatch.

Members
DefaultDimensionValue
Required: Yes
Type: string

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.

DimensionName
Required: Yes
Type: string

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.

DimensionValueSource
Required: Yes
Type: string

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.

ConcurrentModificationException

Description

The resource is being modified by another operation or thread.

Members

Content

Description

An object that represents the content of the email, and optionally a character set specification.

Members
Charset
Type: string

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.

Data
Required: Yes
Type: string

The content of the message itself.

DailyVolume

Description

An object that contains information about the volume of email sent on each day of the analysis period.

Members
DomainIspPlacements
Type: Array of DomainIspPlacement structures

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

StartDate
Type: timestamp (string|DateTime or anything parsable by strtotime)

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

VolumeStatistics
Type: VolumeStatistics structure

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

DedicatedIp

Description

Contains information about a dedicated IP address that is associated with your Amazon Pinpoint account.

Members
Ip
Required: Yes
Type: string

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

PoolName
Type: string

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

WarmupPercentage
Required: Yes
Type: int

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.

WarmupStatus
Required: Yes
Type: string

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.

DeliverabilityTestReport

Description

An object that contains metadata related to a predictive inbox placement test.

Members
CreateDate
Type: timestamp (string|DateTime or anything parsable by strtotime)

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

DeliverabilityTestStatus
Type: string

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.

FromEmailAddress
Type: string

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

ReportId
Type: string

A unique string that identifies the predictive inbox placement test.

ReportName
Type: string

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

Subject
Type: string

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

DeliveryOptions

Description

Used to associate a configuration set with a dedicated IP pool.

Members
SendingPoolName
Type: string

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

TlsPolicy
Type: string

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

Description

An object that describes the recipients for an email.

Members
BccAddresses
Type: Array of strings

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

CcAddresses
Type: Array of strings

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

ToAddresses
Type: Array of strings

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

DkimAttributes

Description

An object that contains information about the DKIM configuration for an email identity.

Members
SigningEnabled
Type: boolean

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.

Status
Type: string

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.

Tokens
Type: Array of strings

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.

DomainDeliverabilityCampaign

Description

An object that contains the deliverability data for a specific campaign. This data is available for a campaign only if the campaign sent email by using a domain that the Deliverability dashboard is enabled for (PutDeliverabilityDashboardOption operation).

Members
CampaignId
Type: string

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.

DeleteRate
Type: double

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.

Esps
Type: Array of strings

The major email providers who handled the email message.

FirstSeenDateTime
Type: timestamp (string|DateTime or anything parsable by strtotime)

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.

FromAddress
Type: string

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

ImageUrl
Type: string

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

InboxCount
Type: long (int|float)

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

LastSeenDateTime
Type: timestamp (string|DateTime or anything parsable by strtotime)

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.

ProjectedVolume
Type: long (int|float)

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

ReadDeleteRate
Type: double

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.

ReadRate
Type: double

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.

SendingIps
Type: Array of strings

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

SpamCount
Type: long (int|float)

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

Subject
Type: string

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

DomainDeliverabilityTrackingOption

Description

An object that contains information about the Deliverability dashboard subscription for a verified domain that you use to send email and currently has an active Deliverability dashboard subscription. If a Deliverability dashboard subscription is active for a domain, you gain access to reputation, inbox placement, and other metrics for the domain.

Members
Domain
Type: string

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

InboxPlacementTrackingOption

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

SubscriptionStartDate
Type: timestamp (string|DateTime or anything parsable by strtotime)

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

DomainIspPlacement

Description

An object that contains inbox placement data for email sent from one of your email domains to a specific email provider.

Members
InboxPercentage
Type: double

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

InboxRawCount
Type: long (int|float)

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

IspName
Type: string

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

SpamPercentage
Type: double

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.

SpamRawCount
Type: long (int|float)

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

Description

An object that defines the entire content of the email, including the message headers and the body content. You can create a simple email message, in which you specify the subject and the text and HTML versions of the message body. You can also create raw messages, in which you specify a complete MIME-formatted message. Raw messages can include attachments and custom headers.

Members
Raw
Type: RawMessage structure

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.

Simple
Type: Message structure

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

Template
Type: Template structure

The template to use for the email message.

EventDestination

Description

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.

Members
CloudWatchDestination
Type: CloudWatchDestination structure

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.

Enabled
Type: boolean

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.

KinesisFirehoseDestination
Type: KinesisFirehoseDestination structure

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.

MatchingEventTypes
Required: Yes
Type: Array of strings

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

Name
Required: Yes
Type: string

A name that identifies the event destination.

PinpointDestination
Type: PinpointDestination structure

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.

SnsDestination
Type: SnsDestination structure

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

EventDestinationDefinition

Description

An object that defines the event destination. Specifically, it defines which services receive events from emails sent using the configuration set that the event destination is associated with. Also defines the types of events that are sent to the event destination.

Members
CloudWatchDestination
Type: CloudWatchDestination structure

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.

Enabled
Type: boolean

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.

KinesisFirehoseDestination
Type: KinesisFirehoseDestination structure

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.

MatchingEventTypes
Type: Array of strings

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

PinpointDestination
Type: PinpointDestination structure

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.

SnsDestination
Type: SnsDestination structure

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

Description

Information about an email identity.

Members
IdentityName
Type: string

The address or domain of the identity.

IdentityType
Type: string

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.

SendingEnabled
Type: boolean

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

Description

An object that contains information about the inbox placement data settings for a verified domain that’s associated with your AWS account. This data is available only if you enabled the Deliverability dashboard for the domain (PutDeliverabilityDashboardOption operation).

Members
Global
Type: boolean

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

TrackedIsps
Type: Array of strings

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

IspPlacement

Description

An object that describes how email sent during the predictive inbox placement test was handled by a certain email provider.

Members
IspName
Type: string

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

PlacementStatistics
Type: PlacementStatistics structure

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

KinesisFirehoseDestination

Description

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.

Members
DeliveryStreamArn
Required: Yes
Type: string

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

IamRoleArn
Required: Yes
Type: string

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

LimitExceededException

Description

There are too many instances of the specified resource type.

Members

MailFromAttributes

Description

A list of attributes that are associated with a MAIL FROM domain.

Members
BehaviorOnMxFailure
Required: Yes
Type: string

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.

MailFromDomain
Required: Yes
Type: string

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

MailFromDomainStatus
Required: Yes
Type: string

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.

MailFromDomainNotVerifiedException

Description

The message can't be sent because the sending domain isn't verified.

Members

Message

Description

Represents the email message that you're sending. The Message object consists of a subject line and a message body.

Members
Body
Required: Yes
Type: Body structure

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

Subject
Required: Yes
Type: Content structure

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.

MessageRejected

Description

The message can't be sent because it contains invalid content.

Members

MessageTag

Description

Contains the name and value of a tag that you apply to an email. You can use message tags when you publish email sending events.

Members
Name
Required: Yes
Type: string

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.

Value
Required: Yes
Type: string

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.

NotFoundException

Description

The resource you attempted to access doesn't exist.

Members

OverallVolume

Description

An object that contains information about email that was sent from the selected domain.

Members
DomainIspPlacements
Type: Array of DomainIspPlacement structures

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

ReadRatePercent
Type: double

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

VolumeStatistics
Type: VolumeStatistics structure

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

PinpointDestination

Description

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.

Members
ApplicationArn
Type: string

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

PlacementStatistics

Description

An object that contains inbox placement data for an email provider.

Members
DkimPercentage
Type: double

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

InboxPercentage
Type: double

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

MissingPercentage
Type: double

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

SpamPercentage
Type: double

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

SpfPercentage
Type: double

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

RawMessage

Description

The raw email message.

Members
Data
Required: Yes
Type: blob (string|resource|Psr\Http\Message\StreamInterface)

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.

ReputationOptions

Description

Enable or disable collection of reputation metrics for emails that you send using this configuration set in the current AWS Region.

Members
LastFreshStart
Type: timestamp (string|DateTime or anything parsable by strtotime)

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.

ReputationMetricsEnabled
Type: boolean

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

Description

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

Members
Max24HourSend
Type: double

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.

MaxSendRate
Type: double

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.

SentLast24Hours
Type: double

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

SendingOptions

Description

Used to enable or disable email sending for messages that use this configuration set in the current AWS Region.

Members
SendingEnabled
Type: boolean

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

SendingPausedException

Description

The message can't be sent because the account's ability to send email is currently paused.

Members

SnsDestination

Description

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

Members
TopicArn
Required: Yes
Type: string

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

Description

An object that defines the tags that are associated with a resource. 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 a more specific tag value. A tag value acts as a descriptor within a tag key. A tag key can contain as many as 128 characters. A tag value can contain as many as 256 characters. The characters can be Unicode letters, digits, white space, or one of the following symbols: _ . : / = + -. The following additional restrictions apply to tags:

  • Tag keys and values are case sensitive.

  • For each associated resource, each tag key must be unique and it can have only one value.

  • The aws: prefix is reserved for use by AWS; you can’t use it in any tag keys or values that you define. In addition, you can't edit or remove tag keys or values that use this prefix. Tags that use this prefix don’t count against the limit of 50 tags per resource.

  • You can associate tags with public or shared resources, but the tags are available only for your AWS account, not any other accounts that share the resource. In addition, the tags are available only for resources that are located in the specified AWS Region for your AWS account.

Members
Key
Required: Yes
Type: string

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.

Value
Required: Yes
Type: string

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

Members
TemplateArn
Type: string

The Amazon Resource Name (ARN) of the template.

TemplateData
Type: string

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.

TooManyRequestsException

Description

Too many requests have been made to the operation.

Members

TrackingOptions

Description

An object that defines the tracking options for a configuration set. When you use Amazon Pinpoint to send an email, it contains an invisible image that's used to track when recipients open your email. If your email contains links, those links are changed slightly in order to track when recipients click them.

These images and links include references to a domain operated by AWS. You can optionally configure Amazon Pinpoint to use a domain that you operate for these images and links.

Members
CustomRedirectDomain
Required: Yes
Type: string

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

VolumeStatistics

Description

An object that contains information about the amount of email that was delivered to recipients.

Members
InboxRawCount
Type: long (int|float)

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

ProjectedInbox
Type: long (int|float)

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

ProjectedSpam
Type: long (int|float)

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

SpamRawCount
Type: long (int|float)

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