Amazon Simple Email Service 2019-09-27
- Client: Aws\SesV2\SesV2Client
- Service ID: sesv2
- Version: 2019-09-27
This page describes the parameters and results for the operations of the Amazon Simple Email Service (2019-09-27), and shows how to use the Aws\SesV2\SesV2Client object to call the described operations. This documentation is specific to the 2019-09-27 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 */)
.
- BatchGetMetricData ( array $params = [] )
- Retrieves batches of metric data collected based on your sending activity.
- CancelExportJob ( array $params = [] )
- Cancels an export job.
- CreateConfigurationSet ( array $params = [] )
- Create a configuration set.
- CreateConfigurationSetEventDestination ( array $params = [] )
- Create an event destination.
- CreateContact ( array $params = [] )
- Creates a contact, which is an end-user who is receiving the email, and adds them to a contact list.
- CreateContactList ( array $params = [] )
- Creates a contact list.
- CreateCustomVerificationEmailTemplate ( array $params = [] )
- Creates a new custom verification email template.
- CreateDedicatedIpPool ( array $params = [] )
- Create a new pool of dedicated IP addresses.
- CreateDeliverabilityTestReport ( array $params = [] )
- Create a new predictive inbox placement test.
- CreateEmailIdentity ( array $params = [] )
- Starts the process of verifying an email identity.
- CreateEmailIdentityPolicy ( array $params = [] )
- Creates the specified sending authorization policy for the given identity (an email address or a domain).
- CreateEmailTemplate ( array $params = [] )
- Creates an email template.
- CreateExportJob ( array $params = [] )
- Creates an export job for a data source and destination.
- CreateImportJob ( array $params = [] )
- Creates an import job for a data destination.
- CreateMultiRegionEndpoint ( array $params = [] )
- Creates a multi-region endpoint (global-endpoint).
- DeleteConfigurationSet ( array $params = [] )
- Delete an existing configuration set.
- DeleteConfigurationSetEventDestination ( array $params = [] )
- Delete an event destination.
- DeleteContact ( array $params = [] )
- Removes a contact from a contact list.
- DeleteContactList ( array $params = [] )
- Deletes a contact list and all of the contacts on that list.
- DeleteCustomVerificationEmailTemplate ( array $params = [] )
- Deletes an existing custom verification email template.
- DeleteDedicatedIpPool ( array $params = [] )
- Delete a dedicated IP pool.
- DeleteEmailIdentity ( array $params = [] )
- Deletes an email identity.
- DeleteEmailIdentityPolicy ( array $params = [] )
- Deletes the specified sending authorization policy for the given identity (an email address or a domain).
- DeleteEmailTemplate ( array $params = [] )
- Deletes an email template.
- DeleteMultiRegionEndpoint ( array $params = [] )
- Deletes a multi-region endpoint (global-endpoint).
- DeleteSuppressedDestination ( array $params = [] )
- Removes an email address from the suppression list for your account.
- GetAccount ( array $params = [] )
- Obtain information about the email-sending status and capabilities of your Amazon SES account in the current Amazon Web Services 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.
- GetContact ( array $params = [] )
- Returns a contact from a contact list.
- GetContactList ( array $params = [] )
- Returns contact list metadata.
- GetCustomVerificationEmailTemplate ( array $params = [] )
- Returns the custom email verification template for the template name you specify.
- 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.
- GetDedicatedIpPool ( array $params = [] )
- Retrieve information about the dedicated pool.
- GetDedicatedIps ( array $params = [] )
- List the dedicated IP addresses that are associated with your Amazon Web Services account.
- GetDeliverabilityDashboardOptions ( array $params = [] )
- Retrieve information about the status of the Deliverability dashboard for your 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, including the identity's verification status, sending authorization policies, its DKIM authentication status, and its custom Mail-From settings.
- GetEmailIdentityPolicies ( array $params = [] )
- Returns the requested sending authorization policies for the given identity (an email address or a domain).
- GetEmailTemplate ( array $params = [] )
- Displays the template object (which includes the subject line, HTML part and text part) for the template you specify.
- GetExportJob ( array $params = [] )
- Provides information about an export job.
- GetImportJob ( array $params = [] )
- Provides information about an import job.
- GetMessageInsights ( array $params = [] )
- Provides information about a specific message, including the from address, the subject, the recipient address, email tags, as well as events associated with the message.
- GetMultiRegionEndpoint ( array $params = [] )
- Displays the multi-region endpoint (global-endpoint) configuration.
- GetSuppressedDestination ( array $params = [] )
- Retrieves information about a specific email address that's on the suppression list for your account.
- ListConfigurationSets ( array $params = [] )
- List all of the configuration sets associated with your account in the current region.
- ListContactLists ( array $params = [] )
- Lists all of the contact lists available.
- ListContacts ( array $params = [] )
- Lists the contacts present in a specific contact list.
- ListCustomVerificationEmailTemplates ( array $params = [] )
- Lists the existing custom verification email templates for your account in the current Amazon Web Services Region.
- ListDedicatedIpPools ( array $params = [] )
- List all of the dedicated IP pools that exist in your Amazon Web Services account in the current 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 Web Services account.
- ListEmailTemplates ( array $params = [] )
- Lists the email templates present in your Amazon SES account in the current Amazon Web Services Region.
- ListExportJobs ( array $params = [] )
- Lists all of the export jobs.
- ListImportJobs ( array $params = [] )
- Lists all of the import jobs.
- ListMultiRegionEndpoints ( array $params = [] )
- List the multi-region endpoints (global-endpoints).
- ListRecommendations ( array $params = [] )
- Lists the recommendations present in your Amazon SES account in the current Amazon Web Services Region.
- ListSuppressedDestinations ( array $params = [] )
- Retrieves a list of email addresses that are on the suppression list for your 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.
- PutAccountDetails ( array $params = [] )
- Update your Amazon SES account details.
- PutAccountSendingAttributes ( array $params = [] )
- Enable or disable the ability of your account to send email.
- PutAccountSuppressionAttributes ( array $params = [] )
- Change the settings for the account-level suppression list.
- PutAccountVdmAttributes ( array $params = [] )
- Update your Amazon SES account VDM attributes.
- 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 Amazon Web Services Region.
- PutConfigurationSetSendingOptions ( array $params = [] )
- Enable or disable email sending for messages that use a particular configuration set in a specific Amazon Web Services Region.
- PutConfigurationSetSuppressionOptions ( array $params = [] )
- Specify the account suppression list preferences for a configuration set.
- PutConfigurationSetTrackingOptions ( array $params = [] )
- Specify a custom domain to use for open and click tracking elements in email that you send.
- PutConfigurationSetVdmOptions ( array $params = [] )
- Specify VDM preferences for email that you send using the configuration set.
- PutDedicatedIpInPool ( array $params = [] )
- Move a dedicated IP address to an existing dedicated IP pool.
- PutDedicatedIpPoolScalingAttributes ( array $params = [] )
- Used to convert a dedicated IP pool to a different scaling mode.
- PutDedicatedIpWarmupAttributes ( array $params = [] )
- PutDeliverabilityDashboardOption ( array $params = [] )
- Enable or disable the Deliverability dashboard.
- PutEmailIdentityConfigurationSetAttributes ( array $params = [] )
- Used to associate a configuration set with an email identity.
- PutEmailIdentityDkimAttributes ( array $params = [] )
- Used to enable or disable DKIM authentication for an email identity.
- PutEmailIdentityDkimSigningAttributes ( array $params = [] )
- Used to configure or change the DKIM authentication settings for an email domain 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.
- PutSuppressedDestination ( array $params = [] )
- Adds an email address to the suppression list for your account.
- SendBulkEmail ( array $params = [] )
- Composes an email message to multiple destinations.
- SendCustomVerificationEmail ( array $params = [] )
- Adds an email address to the list of identities for your Amazon SES account in the current Amazon Web Services Region and attempts to verify it.
- SendEmail ( array $params = [] )
- Sends an email message.
- TagResource ( array $params = [] )
- Add one or more tags (keys and values) to a specified resource.
- TestRenderEmailTemplate ( array $params = [] )
- Creates a preview of the MIME content of an email when provided with a template and a set of replacement data.
- 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.
- UpdateContact ( array $params = [] )
- Updates a contact's preferences for a list.
- UpdateContactList ( array $params = [] )
- Updates contact list metadata.
- UpdateCustomVerificationEmailTemplate ( array $params = [] )
- Updates an existing custom verification email template.
- UpdateEmailIdentityPolicy ( array $params = [] )
- Updates the specified sending authorization policy for the given identity (an email address or a domain).
- UpdateEmailTemplate ( array $params = [] )
- Updates an email template.
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
- ListContactLists
- ListContacts
- ListCustomVerificationEmailTemplates
- ListDedicatedIpPools
- ListDeliverabilityTestReports
- ListDomainDeliverabilityCampaigns
- ListEmailIdentities
- ListEmailTemplates
- ListExportJobs
- ListImportJobs
- ListMultiRegionEndpoints
- ListRecommendations
- ListSuppressedDestinations
Operations
BatchGetMetricData
$result = $client->batchGetMetricData
([/* ... */]); $promise = $client->batchGetMetricDataAsync
([/* ... */]);
Retrieves batches of metric data collected based on your sending activity.
You can execute this operation no more than 16 times per second, and with at most 160 queries from the batches per second (cumulative).
Parameter Syntax
$result = $client->batchGetMetricData([ 'Queries' => [ // REQUIRED [ 'Dimensions' => ['<string>', ...], 'EndDate' => <integer || string || DateTime>, // REQUIRED 'Id' => '<string>', // REQUIRED 'Metric' => 'SEND|COMPLAINT|PERMANENT_BOUNCE|TRANSIENT_BOUNCE|OPEN|CLICK|DELIVERY|DELIVERY_OPEN|DELIVERY_CLICK|DELIVERY_COMPLAINT', // REQUIRED 'Namespace' => 'VDM', // REQUIRED 'StartDate' => <integer || string || DateTime>, // REQUIRED ], // ... ], ]);
Parameter Details
Members
- Queries
-
- Required: Yes
- Type: Array of BatchGetMetricDataQuery structures
A list of queries for metrics to be retrieved.
Result Syntax
[ 'Errors' => [ [ 'Code' => 'INTERNAL_FAILURE|ACCESS_DENIED', 'Id' => '<string>', 'Message' => '<string>', ], // ... ], 'Results' => [ [ 'Id' => '<string>', 'Timestamps' => [<DateTime>, ...], 'Values' => [<integer>, ...], ], // ... ], ]
Result Details
Members
- Errors
-
- Type: Array of MetricDataError structures
A list of
MetricDataError
encountered while processing your metric data batch request. - Results
-
- Type: Array of MetricDataResult structures
A list of successfully retrieved
MetricDataResult
.
Errors
- BadRequestException:
The input you provided is invalid.
- InternalServiceErrorException:
The request couldn't be processed because an error occurred with the Amazon SES API v2.
- TooManyRequestsException:
Too many requests have been made to the operation.
- NotFoundException:
The resource you attempted to access doesn't exist.
CancelExportJob
$result = $client->cancelExportJob
([/* ... */]); $promise = $client->cancelExportJobAsync
([/* ... */]);
Cancels an export job.
Parameter Syntax
$result = $client->cancelExportJob([ 'JobId' => '<string>', // REQUIRED ]);
Parameter Details
Members
- JobId
-
- Required: Yes
- Type: string
The export job ID.
Result Syntax
[]
Result Details
Errors
- NotFoundException:
The resource you attempted to access doesn't exist.
- BadRequestException:
The input you provided is invalid.
- TooManyRequestsException:
Too many requests have been made to the operation.
Examples
Example 1: Cancel export job
Cancels the export job with ID ef28cf62-9d8e-4b60-9283-b09816c99a99
$result = $client->cancelExportJob([ 'JobId' => 'ef28cf62-9d8e-4b60-9283-b09816c99a99', ]);
CreateConfigurationSet
$result = $client->createConfigurationSet
([/* ... */]); $promise = $client->createConfigurationSetAsync
([/* ... */]);
Create a configuration set. Configuration sets are groups of rules that you can apply to the emails that you send. You apply a configuration set to an email by specifying the name of the configuration set when you call the Amazon SES API v2. 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' => [ 'MaxDeliverySeconds' => <integer>, 'SendingPoolName' => '<string>', 'TlsPolicy' => 'REQUIRE|OPTIONAL', ], 'ReputationOptions' => [ 'LastFreshStart' => <integer || string || DateTime>, 'ReputationMetricsEnabled' => true || false, ], 'SendingOptions' => [ 'SendingEnabled' => true || false, ], 'SuppressionOptions' => [ 'SuppressedReasons' => ['<string>', ...], ], 'Tags' => [ [ 'Key' => '<string>', // REQUIRED 'Value' => '<string>', // REQUIRED ], // ... ], 'TrackingOptions' => [ 'CustomRedirectDomain' => '<string>', // REQUIRED 'HttpsPolicy' => 'REQUIRE|REQUIRE_OPEN_ONLY|OPTIONAL', ], 'VdmOptions' => [ 'DashboardOptions' => [ 'EngagementMetrics' => 'ENABLED|DISABLED', ], 'GuardianOptions' => [ 'OptimizedSharedDelivery' => 'ENABLED|DISABLED', ], ], ]);
Parameter Details
Members
- ConfigurationSetName
-
- Required: Yes
- Type: string
The name of the configuration set. The name can contain up to 64 alphanumeric characters, including letters, numbers, hyphens (-) and underscores (_) only.
- 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 SES 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 SES can send email that you send using the configuration set.
- SuppressionOptions
-
- Type: SuppressionOptions structure
An object that contains information about the suppression list preferences for your account.
- Tags
-
- Type: Array of Tag structures
An array of objects that define the tags (keys and values) 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.
- VdmOptions
-
- Type: VdmOptions structure
An object that defines the VDM options for emails that you send using the configuration set.
Result Syntax
[]
Result Details
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. 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 EventBridge and associate a rule to send the event to the specified target.
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, 'EventBridgeDestination' => [ 'EventBusArn' => '<string>', // REQUIRED ], '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 .
- 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
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.
CreateContact
$result = $client->createContact
([/* ... */]); $promise = $client->createContactAsync
([/* ... */]);
Creates a contact, which is an end-user who is receiving the email, and adds them to a contact list.
Parameter Syntax
$result = $client->createContact([ 'AttributesData' => '<string>', 'ContactListName' => '<string>', // REQUIRED 'EmailAddress' => '<string>', // REQUIRED 'TopicPreferences' => [ [ 'SubscriptionStatus' => 'OPT_IN|OPT_OUT', // REQUIRED 'TopicName' => '<string>', // REQUIRED ], // ... ], 'UnsubscribeAll' => true || false, ]);
Parameter Details
Members
- AttributesData
-
- Type: string
The attribute data attached to a contact.
- ContactListName
-
- Required: Yes
- Type: string
The name of the contact list to which the contact should be added.
- EmailAddress
-
- Required: Yes
- Type: string
The contact's email address.
- TopicPreferences
-
- Type: Array of TopicPreference structures
The contact's preferences for being opted-in to or opted-out of topics.
- UnsubscribeAll
-
- Type: boolean
A boolean value status noting if the contact is unsubscribed from all contact list topics.
Result Syntax
[]
Result Details
Errors
- BadRequestException:
The input you provided is invalid.
- TooManyRequestsException:
Too many requests have been made to the operation.
- NotFoundException:
The resource you attempted to access doesn't exist.
- AlreadyExistsException:
The resource specified in your request already exists.
CreateContactList
$result = $client->createContactList
([/* ... */]); $promise = $client->createContactListAsync
([/* ... */]);
Creates a contact list.
Parameter Syntax
$result = $client->createContactList([ 'ContactListName' => '<string>', // REQUIRED 'Description' => '<string>', 'Tags' => [ [ 'Key' => '<string>', // REQUIRED 'Value' => '<string>', // REQUIRED ], // ... ], 'Topics' => [ [ 'DefaultSubscriptionStatus' => 'OPT_IN|OPT_OUT', // REQUIRED 'Description' => '<string>', 'DisplayName' => '<string>', // REQUIRED 'TopicName' => '<string>', // REQUIRED ], // ... ], ]);
Parameter Details
Members
- ContactListName
-
- Required: Yes
- Type: string
The name of the contact list.
- Description
-
- Type: string
A description of what the contact list is about.
- Tags
-
- Type: Array of Tag structures
The tags associated with a contact list.
- Topics
-
- Type: Array of Topic structures
An interest group, theme, or label within a list. A contact list can have multiple topics.
Result Syntax
[]
Result Details
Errors
- BadRequestException:
The input you provided is invalid.
- TooManyRequestsException:
Too many requests have been made to the operation.
- AlreadyExistsException:
The resource specified in your request already exists.
- LimitExceededException:
There are too many instances of the specified resource type.
CreateCustomVerificationEmailTemplate
$result = $client->createCustomVerificationEmailTemplate
([/* ... */]); $promise = $client->createCustomVerificationEmailTemplateAsync
([/* ... */]);
Creates a new custom verification email template.
For more information about custom verification email templates, see Using custom verification email templates in the Amazon SES Developer Guide.
You can execute this operation no more than once per second.
Parameter Syntax
$result = $client->createCustomVerificationEmailTemplate([ 'FailureRedirectionURL' => '<string>', // REQUIRED 'FromEmailAddress' => '<string>', // REQUIRED 'SuccessRedirectionURL' => '<string>', // REQUIRED 'TemplateContent' => '<string>', // REQUIRED 'TemplateName' => '<string>', // REQUIRED 'TemplateSubject' => '<string>', // REQUIRED ]);
Parameter Details
Members
- FailureRedirectionURL
-
- Required: Yes
- Type: string
The URL that the recipient of the verification email is sent to if his or her address is not successfully verified.
- FromEmailAddress
-
- Required: Yes
- Type: string
The email address that the custom verification email is sent from.
- SuccessRedirectionURL
-
- Required: Yes
- Type: string
The URL that the recipient of the verification email is sent to if his or her address is successfully verified.
- TemplateContent
-
- Required: Yes
- Type: string
The content of the custom verification email. The total size of the email must be less than 10 MB. The message body may contain HTML, with some limitations. For more information, see Custom verification email frequently asked questions in the Amazon SES Developer Guide.
- TemplateName
-
- Required: Yes
- Type: string
The name of the custom verification email template.
- TemplateSubject
-
- Required: Yes
- Type: string
The subject line of the custom verification email.
Result Syntax
[]
Result Details
Errors
- BadRequestException:
The input you provided is invalid.
- 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.
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 Web Services account. You can associate a pool with a configuration set. When you send an email that uses that configuration set, the message is sent from one of the addresses in the associated pool.
Parameter Syntax
$result = $client->createDedicatedIpPool([ 'PoolName' => '<string>', // REQUIRED 'ScalingMode' => 'STANDARD|MANAGED', 'Tags' => [ [ 'Key' => '<string>', // REQUIRED 'Value' => '<string>', // REQUIRED ], // ... ], ]);
Parameter Details
Members
- PoolName
-
- Required: Yes
- Type: string
The name of the dedicated IP pool.
- ScalingMode
-
- Type: string
The type of scaling mode.
- 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
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 SES then sends that message to special email addresses spread across several major email providers. After about 24 hours, the test is complete, and you can use the GetDeliverabilityTestReport
operation to view the results of the test.
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 ], ], 'Headers' => [ [ 'Name' => '<string>', // REQUIRED 'Value' => '<string>', // REQUIRED ], // ... ], 'Subject' => [ // REQUIRED 'Charset' => '<string>', 'Data' => '<string>', // REQUIRED ], ], 'Template' => [ 'Headers' => [ [ 'Name' => '<string>', // REQUIRED 'Value' => '<string>', // REQUIRED ], // ... ], 'TemplateArn' => '<string>', 'TemplateContent' => [ 'Html' => '<string>', 'Subject' => '<string>', 'Text' => '<string>', ], 'TemplateData' => '<string>', 'TemplateName' => '<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 isCOMPLETE
, then the test is finished, and you can use theGetDeliverabilityTestReport
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
([/* ... */]);
Starts the process of verifying an email identity. An identity is an email address or domain that you use when you send email. Before you can use an identity to send email, you first have to verify it. By verifying an identity, you demonstrate that you're the owner of the identity, and that you've given Amazon SES API v2 permission to send email from the identity.
When you verify an email address, Amazon SES 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 without specifying the DkimSigningAttributes
object, this operation provides a set of DKIM tokens. You can convert these tokens into CNAME records, which you then add to the DNS configuration for your domain. Your domain is verified when Amazon SES detects these records in the DNS configuration for your domain. This verification method is known as Easy DKIM.
Alternatively, you can perform the verification process by providing your own public-private key pair. This verification method is known as Bring Your Own DKIM (BYODKIM). To use BYODKIM, your call to the CreateEmailIdentity
operation has to include the DkimSigningAttributes
object. When you specify this object, you provide a selector (a component of the DNS record name that identifies the public key to use for DKIM authentication) and a private key.
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 SES detects these records in the DNS configuration for your domain. For some DNS providers, it can take 72 hours or more to complete the domain verification process.
Additionally, you can associate an existing configuration set with the email identity that you're verifying.
Parameter Syntax
$result = $client->createEmailIdentity([ 'ConfigurationSetName' => '<string>', 'DkimSigningAttributes' => [ 'DomainSigningAttributesOrigin' => 'AWS_SES|EXTERNAL|AWS_SES_AF_SOUTH_1|AWS_SES_EU_NORTH_1|AWS_SES_AP_SOUTH_1|AWS_SES_EU_WEST_3|AWS_SES_EU_WEST_2|AWS_SES_EU_SOUTH_1|AWS_SES_EU_WEST_1|AWS_SES_AP_NORTHEAST_3|AWS_SES_AP_NORTHEAST_2|AWS_SES_ME_SOUTH_1|AWS_SES_AP_NORTHEAST_1|AWS_SES_IL_CENTRAL_1|AWS_SES_SA_EAST_1|AWS_SES_CA_CENTRAL_1|AWS_SES_AP_SOUTHEAST_1|AWS_SES_AP_SOUTHEAST_2|AWS_SES_AP_SOUTHEAST_3|AWS_SES_EU_CENTRAL_1|AWS_SES_US_EAST_1|AWS_SES_US_EAST_2|AWS_SES_US_WEST_1|AWS_SES_US_WEST_2', 'DomainSigningPrivateKey' => '<string>', 'DomainSigningSelector' => '<string>', 'NextSigningKeyLength' => 'RSA_1024_BIT|RSA_2048_BIT', ], 'EmailIdentity' => '<string>', // REQUIRED 'Tags' => [ [ 'Key' => '<string>', // REQUIRED 'Value' => '<string>', // REQUIRED ], // ... ], ]);
Parameter Details
Members
- ConfigurationSetName
-
- Type: string
The configuration set to use by default when sending from this identity. Note that any configuration set defined in the email sending request takes precedence.
- DkimSigningAttributes
-
- Type: DkimSigningAttributes structure
If your request includes this object, Amazon SES configures the identity to use Bring Your Own DKIM (BYODKIM) for DKIM authentication purposes, or, configures the key length to be used for Easy DKIM.
You can only specify this object if the email identity is a domain, as opposed to an address.
- EmailIdentity
-
- Required: Yes
- Type: string
The email address or domain to verify.
- Tags
-
- Type: Array of Tag structures
An array of objects that define the tags (keys and values) to associate with the email identity.
Result Syntax
[ 'DkimAttributes' => [ 'CurrentSigningKeyLength' => 'RSA_1024_BIT|RSA_2048_BIT', 'LastKeyGenerationTimestamp' => <DateTime>, 'NextSigningKeyLength' => 'RSA_1024_BIT|RSA_2048_BIT', 'SigningAttributesOrigin' => 'AWS_SES|EXTERNAL|AWS_SES_AF_SOUTH_1|AWS_SES_EU_NORTH_1|AWS_SES_AP_SOUTH_1|AWS_SES_EU_WEST_3|AWS_SES_EU_WEST_2|AWS_SES_EU_SOUTH_1|AWS_SES_EU_WEST_1|AWS_SES_AP_NORTHEAST_3|AWS_SES_AP_NORTHEAST_2|AWS_SES_ME_SOUTH_1|AWS_SES_AP_NORTHEAST_1|AWS_SES_IL_CENTRAL_1|AWS_SES_SA_EAST_1|AWS_SES_CA_CENTRAL_1|AWS_SES_AP_SOUTHEAST_1|AWS_SES_AP_SOUTHEAST_2|AWS_SES_AP_SOUTHEAST_3|AWS_SES_EU_CENTRAL_1|AWS_SES_US_EAST_1|AWS_SES_US_EAST_2|AWS_SES_US_WEST_1|AWS_SES_US_WEST_2', '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.
- IdentityType
-
- Type: string
The email identity type. Note: the
MANAGED_DOMAIN
identity type is not supported. - VerifiedForSendingStatus
-
- Type: boolean
Specifies whether or not the identity is verified. You can only send email from verified email addresses or domains. For more information about verifying identities, see the Amazon Pinpoint User Guide.
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.
- NotFoundException:
The resource you attempted to access doesn't exist.
CreateEmailIdentityPolicy
$result = $client->createEmailIdentityPolicy
([/* ... */]); $promise = $client->createEmailIdentityPolicyAsync
([/* ... */]);
Creates the specified sending authorization policy for the given identity (an email address or a domain).
This API is for the identity owner only. If you have not verified the identity, this API will return an error.
Sending authorization is a feature that enables an identity owner to authorize other senders to use its identities. For information about using sending authorization, see the Amazon SES Developer Guide.
You can execute this operation no more than once per second.
Parameter Syntax
$result = $client->createEmailIdentityPolicy([ 'EmailIdentity' => '<string>', // REQUIRED 'Policy' => '<string>', // REQUIRED 'PolicyName' => '<string>', // REQUIRED ]);
Parameter Details
Members
- EmailIdentity
-
- Required: Yes
- Type: string
The email identity.
- Policy
-
- Required: Yes
- Type: string
The text of the policy in JSON format. The policy cannot exceed 4 KB.
For information about the syntax of sending authorization policies, see the Amazon SES Developer Guide.
- PolicyName
-
- Required: Yes
- Type: string
The name of the policy.
The policy name cannot exceed 64 characters and can only include alphanumeric characters, dashes, and underscores.
Result Syntax
[]
Result Details
Errors
- NotFoundException:
The resource you attempted to access doesn't exist.
- AlreadyExistsException:
The resource specified in your request already exists.
- 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.
CreateEmailTemplate
$result = $client->createEmailTemplate
([/* ... */]); $promise = $client->createEmailTemplateAsync
([/* ... */]);
Creates an email template. Email templates enable you to send personalized email to one or more destinations in a single API operation. For more information, see the Amazon SES Developer Guide.
You can execute this operation no more than once per second.
Parameter Syntax
$result = $client->createEmailTemplate([ 'TemplateContent' => [ // REQUIRED 'Html' => '<string>', 'Subject' => '<string>', 'Text' => '<string>', ], 'TemplateName' => '<string>', // REQUIRED ]);
Parameter Details
Members
- TemplateContent
-
- Required: Yes
- Type: EmailTemplateContent structure
The content of the email template, composed of a subject line, an HTML part, and a text-only part.
- TemplateName
-
- Required: Yes
- Type: string
The name of the template.
Result Syntax
[]
Result Details
Errors
- AlreadyExistsException:
The resource specified in your request already exists.
- TooManyRequestsException:
Too many requests have been made to the operation.
- BadRequestException:
The input you provided is invalid.
- LimitExceededException:
There are too many instances of the specified resource type.
CreateExportJob
$result = $client->createExportJob
([/* ... */]); $promise = $client->createExportJobAsync
([/* ... */]);
Creates an export job for a data source and destination.
You can execute this operation no more than once per second.
Parameter Syntax
$result = $client->createExportJob([ 'ExportDataSource' => [ // REQUIRED 'MessageInsightsDataSource' => [ 'EndDate' => <integer || string || DateTime>, // REQUIRED 'Exclude' => [ 'Destination' => ['<string>', ...], 'FromEmailAddress' => ['<string>', ...], 'Isp' => ['<string>', ...], 'LastDeliveryEvent' => ['<string>', ...], 'LastEngagementEvent' => ['<string>', ...], 'Subject' => ['<string>', ...], ], 'Include' => [ 'Destination' => ['<string>', ...], 'FromEmailAddress' => ['<string>', ...], 'Isp' => ['<string>', ...], 'LastDeliveryEvent' => ['<string>', ...], 'LastEngagementEvent' => ['<string>', ...], 'Subject' => ['<string>', ...], ], 'MaxResults' => <integer>, 'StartDate' => <integer || string || DateTime>, // REQUIRED ], 'MetricsDataSource' => [ 'Dimensions' => [ // REQUIRED '<MetricDimensionName>' => ['<string>', ...], // ... ], 'EndDate' => <integer || string || DateTime>, // REQUIRED 'Metrics' => [ // REQUIRED [ 'Aggregation' => 'RATE|VOLUME', 'Name' => 'SEND|COMPLAINT|PERMANENT_BOUNCE|TRANSIENT_BOUNCE|OPEN|CLICK|DELIVERY|DELIVERY_OPEN|DELIVERY_CLICK|DELIVERY_COMPLAINT', ], // ... ], 'Namespace' => 'VDM', // REQUIRED 'StartDate' => <integer || string || DateTime>, // REQUIRED ], ], 'ExportDestination' => [ // REQUIRED 'DataFormat' => 'CSV|JSON', // REQUIRED 'S3Url' => '<string>', ], ]);
Parameter Details
Members
- ExportDataSource
-
- Required: Yes
- Type: ExportDataSource structure
The data source for the export job.
- ExportDestination
-
- Required: Yes
- Type: ExportDestination structure
The destination for the export job.
Result Syntax
[ 'JobId' => '<string>', ]
Result Details
Members
- JobId
-
- Type: string
A string that represents the export job ID.
Errors
- BadRequestException:
The input you provided is invalid.
- TooManyRequestsException:
Too many requests have been made to the operation.
- NotFoundException:
The resource you attempted to access doesn't exist.
- LimitExceededException:
There are too many instances of the specified resource type.
Examples
Example 1: Create Metrics export job
Creates a new export job for Metrics data
$result = $client->createExportJob([ 'ExportDataSource' => [ 'MetricsDataSource' => [ 'Dimensions' => [ 'ISP' => [ '*', ], ], 'EndDate' =>, 'Metrics' => [ [ 'Aggregation' => 'VOLUME', 'Name' => 'SEND', ], [ 'Aggregation' => 'VOLUME', 'Name' => 'COMPLAINT', ], [ 'Aggregation' => 'RATE', 'Name' => 'COMPLAINT', ], ], 'Namespace' => 'VDM', 'StartDate' => , ], ], 'ExportDestination' => [ 'DataFormat' => 'CSV', ], ]);
Result syntax:
[ 'JobId' => 'ef28cf62-9d8e-4b60-9283-b09816c99a99', ]
Example 2: Create Message Insights export job
Creates a new export job for Message Insights data
$result = $client->createExportJob([ 'ExportDataSource' => [ 'MessageInsightsDataSource' => [ 'EndDate' =>, 'Exclude' => [ 'FromEmailAddress' => [ 'hello@example.com', ], ], 'Include' => [ 'Subject' => [ 'Hello', ], ], 'StartDate' => , ], ], 'ExportDestination' => [ 'DataFormat' => 'CSV', ], ]);
Result syntax:
[ 'JobId' => 'ef28cf62-9d8e-4b60-9283-b09816c99a99', ]
CreateImportJob
$result = $client->createImportJob
([/* ... */]); $promise = $client->createImportJobAsync
([/* ... */]);
Creates an import job for a data destination.
Parameter Syntax
$result = $client->createImportJob([ 'ImportDataSource' => [ // REQUIRED 'DataFormat' => 'CSV|JSON', // REQUIRED 'S3Url' => '<string>', // REQUIRED ], 'ImportDestination' => [ // REQUIRED 'ContactListDestination' => [ 'ContactListImportAction' => 'DELETE|PUT', // REQUIRED 'ContactListName' => '<string>', // REQUIRED ], 'SuppressionListDestination' => [ 'SuppressionListImportAction' => 'DELETE|PUT', // REQUIRED ], ], ]);
Parameter Details
Members
- ImportDataSource
-
- Required: Yes
- Type: ImportDataSource structure
The data source for the import job.
- ImportDestination
-
- Required: Yes
- Type: ImportDestination structure
The destination for the import job.
Result Syntax
[ 'JobId' => '<string>', ]
Result Details
Members
- JobId
-
- Type: string
A string that represents the import job ID.
Errors
- BadRequestException:
The input you provided is invalid.
- LimitExceededException:
There are too many instances of the specified resource type.
- TooManyRequestsException:
Too many requests have been made to the operation.
CreateMultiRegionEndpoint
$result = $client->createMultiRegionEndpoint
([/* ... */]); $promise = $client->createMultiRegionEndpointAsync
([/* ... */]);
Creates a multi-region endpoint (global-endpoint).
The primary region is going to be the AWS-Region where the operation is executed. The secondary region has to be provided in request's parameters. From the data flow standpoint there is no difference between primary and secondary regions - sending traffic will be split equally between the two. The primary region is the region where the resource has been created and where it can be managed.
Parameter Syntax
$result = $client->createMultiRegionEndpoint([ 'Details' => [ // REQUIRED 'RoutesDetails' => [ // REQUIRED [ 'Region' => '<string>', // REQUIRED ], // ... ], ], 'EndpointName' => '<string>', // REQUIRED 'Tags' => [ [ 'Key' => '<string>', // REQUIRED 'Value' => '<string>', // REQUIRED ], // ... ], ]);
Parameter Details
Members
- Details
-
- Required: Yes
- Type: Details structure
Contains details of a multi-region endpoint (global-endpoint) being created.
- EndpointName
-
- Required: Yes
- Type: string
The name of the multi-region endpoint (global-endpoint).
- Tags
-
- Type: Array of Tag structures
An array of objects that define the tags (keys and values) to associate with the multi-region endpoint (global-endpoint).
Result Syntax
[ 'EndpointId' => '<string>', 'Status' => 'CREATING|READY|FAILED|DELETING', ]
Result Details
Members
- EndpointId
-
- Type: string
The ID of the multi-region endpoint (global-endpoint).
- Status
-
- Type: string
A status of the multi-region endpoint (global-endpoint) right after the create request.
-
CREATING
– The resource is being provisioned. -
READY
– The resource is ready to use. -
FAILED
– The resource failed to be provisioned. -
DELETING
– The resource is being deleted as requested.
Errors
- LimitExceededException:
There are too many instances of the specified resource type.
- TooManyRequestsException:
Too many requests have been made to the operation.
- AlreadyExistsException:
The resource specified in your request already exists.
- BadRequestException:
The input you provided is invalid.
DeleteConfigurationSet
$result = $client->deleteConfigurationSet
([/* ... */]); $promise = $client->deleteConfigurationSetAsync
([/* ... */]);
Delete an existing configuration set.
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.
Result Syntax
[]
Result Details
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.
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 EventBridge and associate a rule to send the event to the specified target.
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 to delete.
- EventDestinationName
-
- Required: Yes
- Type: string
The name of the event destination to delete.
Result Syntax
[]
Result Details
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.
DeleteContact
$result = $client->deleteContact
([/* ... */]); $promise = $client->deleteContactAsync
([/* ... */]);
Removes a contact from a contact list.
Parameter Syntax
$result = $client->deleteContact([ 'ContactListName' => '<string>', // REQUIRED 'EmailAddress' => '<string>', // REQUIRED ]);
Parameter Details
Members
- ContactListName
-
- Required: Yes
- Type: string
The name of the contact list from which the contact should be removed.
- EmailAddress
-
- Required: Yes
- Type: string
The contact's email address.
Result Syntax
[]
Result Details
Errors
- BadRequestException:
The input you provided is invalid.
- TooManyRequestsException:
Too many requests have been made to the operation.
- NotFoundException:
The resource you attempted to access doesn't exist.
DeleteContactList
$result = $client->deleteContactList
([/* ... */]); $promise = $client->deleteContactListAsync
([/* ... */]);
Deletes a contact list and all of the contacts on that list.
Parameter Syntax
$result = $client->deleteContactList([ 'ContactListName' => '<string>', // REQUIRED ]);
Parameter Details
Members
- ContactListName
-
- Required: Yes
- Type: string
The name of the contact list.
Result Syntax
[]
Result Details
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.
- ConcurrentModificationException:
The resource is being modified by another operation or thread.
DeleteCustomVerificationEmailTemplate
$result = $client->deleteCustomVerificationEmailTemplate
([/* ... */]); $promise = $client->deleteCustomVerificationEmailTemplateAsync
([/* ... */]);
Deletes an existing custom verification email template.
For more information about custom verification email templates, see Using custom verification email templates in the Amazon SES Developer Guide.
You can execute this operation no more than once per second.
Parameter Syntax
$result = $client->deleteCustomVerificationEmailTemplate([ 'TemplateName' => '<string>', // REQUIRED ]);
Parameter Details
Members
- TemplateName
-
- Required: Yes
- Type: string
The name of the custom verification email template that you want to delete.
Result Syntax
[]
Result Details
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
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. 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) to delete.
Result Syntax
[]
Result Details
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.
DeleteEmailIdentityPolicy
$result = $client->deleteEmailIdentityPolicy
([/* ... */]); $promise = $client->deleteEmailIdentityPolicyAsync
([/* ... */]);
Deletes the specified sending authorization policy for the given identity (an email address or a domain). This API returns successfully even if a policy with the specified name does not exist.
This API is for the identity owner only. If you have not verified the identity, this API will return an error.
Sending authorization is a feature that enables an identity owner to authorize other senders to use its identities. For information about using sending authorization, see the Amazon SES Developer Guide.
You can execute this operation no more than once per second.
Parameter Syntax
$result = $client->deleteEmailIdentityPolicy([ 'EmailIdentity' => '<string>', // REQUIRED 'PolicyName' => '<string>', // REQUIRED ]);
Parameter Details
Members
- EmailIdentity
-
- Required: Yes
- Type: string
The email identity.
- PolicyName
-
- Required: Yes
- Type: string
The name of the policy.
The policy name cannot exceed 64 characters and can only include alphanumeric characters, dashes, and underscores.
Result Syntax
[]
Result Details
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.
DeleteEmailTemplate
$result = $client->deleteEmailTemplate
([/* ... */]); $promise = $client->deleteEmailTemplateAsync
([/* ... */]);
Deletes an email template.
You can execute this operation no more than once per second.
Parameter Syntax
$result = $client->deleteEmailTemplate([ 'TemplateName' => '<string>', // REQUIRED ]);
Parameter Details
Members
- TemplateName
-
- Required: Yes
- Type: string
The name of the template to be deleted.
Result Syntax
[]
Result Details
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.
DeleteMultiRegionEndpoint
$result = $client->deleteMultiRegionEndpoint
([/* ... */]); $promise = $client->deleteMultiRegionEndpointAsync
([/* ... */]);
Deletes a multi-region endpoint (global-endpoint).
Only multi-region endpoints (global-endpoints) whose primary region is the AWS-Region where operation is executed can be deleted.
Parameter Syntax
$result = $client->deleteMultiRegionEndpoint([ 'EndpointName' => '<string>', // REQUIRED ]);
Parameter Details
Members
- EndpointName
-
- Required: Yes
- Type: string
The name of the multi-region endpoint (global-endpoint) to be deleted.
Result Syntax
[ 'Status' => 'CREATING|READY|FAILED|DELETING', ]
Result Details
Members
- Status
-
- Type: string
A status of the multi-region endpoint (global-endpoint) right after the delete request.
-
CREATING
– The resource is being provisioned. -
READY
– The resource is ready to use. -
FAILED
– The resource failed to be provisioned. -
DELETING
– The resource is being deleted as requested.
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.
DeleteSuppressedDestination
$result = $client->deleteSuppressedDestination
([/* ... */]); $promise = $client->deleteSuppressedDestinationAsync
([/* ... */]);
Removes an email address from the suppression list for your account.
Parameter Syntax
$result = $client->deleteSuppressedDestination([ 'EmailAddress' => '<string>', // REQUIRED ]);
Parameter Details
Members
- EmailAddress
-
- Required: Yes
- Type: string
The suppressed email destination to remove from the account suppression list.
Result Syntax
[]
Result Details
Errors
- NotFoundException:
The resource you attempted to access doesn't exist.
- BadRequestException:
The input you provided is invalid.
- TooManyRequestsException:
Too many requests have been made to the operation.
GetAccount
$result = $client->getAccount
([/* ... */]); $promise = $client->getAccountAsync
([/* ... */]);
Obtain information about the email-sending status and capabilities of your Amazon SES account in the current Amazon Web Services Region.
Parameter Syntax
$result = $client->getAccount([ ]);
Parameter Details
Members
Result Syntax
[ 'DedicatedIpAutoWarmupEnabled' => true || false, 'Details' => [ 'AdditionalContactEmailAddresses' => ['<string>', ...], 'ContactLanguage' => 'EN|JA', 'MailType' => 'MARKETING|TRANSACTIONAL', 'ReviewDetails' => [ 'CaseId' => '<string>', 'Status' => 'PENDING|FAILED|GRANTED|DENIED', ], 'UseCaseDescription' => '<string>', 'WebsiteURL' => '<string>', ], 'EnforcementStatus' => '<string>', 'ProductionAccessEnabled' => true || false, 'SendQuota' => [ 'Max24HourSend' => <float>, 'MaxSendRate' => <float>, 'SentLast24Hours' => <float>, ], 'SendingEnabled' => true || false, 'SuppressionAttributes' => [ 'SuppressedReasons' => ['<string>', ...], ], 'VdmAttributes' => [ 'DashboardAttributes' => [ 'EngagementMetrics' => 'ENABLED|DISABLED', ], 'GuardianAttributes' => [ 'OptimizedSharedDelivery' => 'ENABLED|DISABLED', ], 'VdmEnabled' => 'ENABLED|DISABLED', ], ]
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.
- Details
-
- Type: AccountDetails structure
An object that defines your account details.
- EnforcementStatus
-
- Type: string
The reputation status of your Amazon SES 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 potential issues with your Amazon SES 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 Amazon Web Services 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.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 SES account in the current Amazon Web Services Region.
- SendingEnabled
-
- Type: boolean
Indicates whether or not email sending is enabled for your Amazon SES account in the current Amazon Web Services Region.
- SuppressionAttributes
-
- Type: SuppressionAttributes structure
An object that contains information about the email address suppression preferences for your account in the current Amazon Web Services Region.
- VdmAttributes
-
- Type: VdmAttributes structure
The VDM attributes that apply to your Amazon SES account.
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 SES or Amazon Pinpoint.
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.
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.
Result Syntax
[ 'ConfigurationSetName' => '<string>', 'DeliveryOptions' => [ 'MaxDeliverySeconds' => <integer>, 'SendingPoolName' => '<string>', 'TlsPolicy' => 'REQUIRE|OPTIONAL', ], 'ReputationOptions' => [ 'LastFreshStart' => <DateTime>, 'ReputationMetricsEnabled' => true || false, ], 'SendingOptions' => [ 'SendingEnabled' => true || false, ], 'SuppressionOptions' => [ 'SuppressedReasons' => ['<string>', ...], ], 'Tags' => [ [ 'Key' => '<string>', 'Value' => '<string>', ], // ... ], 'TrackingOptions' => [ 'CustomRedirectDomain' => '<string>', 'HttpsPolicy' => 'REQUIRE|REQUIRE_OPEN_ONLY|OPTIONAL', ], 'VdmOptions' => [ 'DashboardOptions' => [ 'EngagementMetrics' => 'ENABLED|DISABLED', ], 'GuardianOptions' => [ 'OptimizedSharedDelivery' => 'ENABLED|DISABLED', ], ], ]
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 SES 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 SES can send email that you send using the configuration set.
- SuppressionOptions
-
- Type: SuppressionOptions structure
An object that contains information about the suppression list preferences for your account.
- 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.
- VdmOptions
-
- Type: VdmOptions structure
An object that contains information about the VDM preferences for your 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.
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 EventBridge and associate a rule to send the event to the specified target.
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, 'EventBridgeDestination' => [ 'EventBusArn' => '<string>', ], '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.
GetContact
$result = $client->getContact
([/* ... */]); $promise = $client->getContactAsync
([/* ... */]);
Returns a contact from a contact list.
Parameter Syntax
$result = $client->getContact([ 'ContactListName' => '<string>', // REQUIRED 'EmailAddress' => '<string>', // REQUIRED ]);
Parameter Details
Members
- ContactListName
-
- Required: Yes
- Type: string
The name of the contact list to which the contact belongs.
- EmailAddress
-
- Required: Yes
- Type: string
The contact's email address.
Result Syntax
[ 'AttributesData' => '<string>', 'ContactListName' => '<string>', 'CreatedTimestamp' => <DateTime>, 'EmailAddress' => '<string>', 'LastUpdatedTimestamp' => <DateTime>, 'TopicDefaultPreferences' => [ [ 'SubscriptionStatus' => 'OPT_IN|OPT_OUT', 'TopicName' => '<string>', ], // ... ], 'TopicPreferences' => [ [ 'SubscriptionStatus' => 'OPT_IN|OPT_OUT', 'TopicName' => '<string>', ], // ... ], 'UnsubscribeAll' => true || false, ]
Result Details
Members
- AttributesData
-
- Type: string
The attribute data attached to a contact.
- ContactListName
-
- Type: string
The name of the contact list to which the contact belongs.
- CreatedTimestamp
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
A timestamp noting when the contact was created.
- EmailAddress
-
- Type: string
The contact's email address.
- LastUpdatedTimestamp
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
A timestamp noting the last time the contact's information was updated.
- TopicDefaultPreferences
-
- Type: Array of TopicPreference structures
The default topic preferences applied to the contact.
- TopicPreferences
-
- Type: Array of TopicPreference structures
The contact's preference for being opted-in to or opted-out of a topic.>
- UnsubscribeAll
-
- Type: boolean
A boolean value status noting if the contact is unsubscribed from all contact list topics.
Errors
- BadRequestException:
The input you provided is invalid.
- TooManyRequestsException:
Too many requests have been made to the operation.
- NotFoundException:
The resource you attempted to access doesn't exist.
GetContactList
$result = $client->getContactList
([/* ... */]); $promise = $client->getContactListAsync
([/* ... */]);
Returns contact list metadata. It does not return any information about the contacts present in the list.
Parameter Syntax
$result = $client->getContactList([ 'ContactListName' => '<string>', // REQUIRED ]);
Parameter Details
Members
- ContactListName
-
- Required: Yes
- Type: string
The name of the contact list.
Result Syntax
[ 'ContactListName' => '<string>', 'CreatedTimestamp' => <DateTime>, 'Description' => '<string>', 'LastUpdatedTimestamp' => <DateTime>, 'Tags' => [ [ 'Key' => '<string>', 'Value' => '<string>', ], // ... ], 'Topics' => [ [ 'DefaultSubscriptionStatus' => 'OPT_IN|OPT_OUT', 'Description' => '<string>', 'DisplayName' => '<string>', 'TopicName' => '<string>', ], // ... ], ]
Result Details
Members
- ContactListName
-
- Type: string
The name of the contact list.
- CreatedTimestamp
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
A timestamp noting when the contact list was created.
- Description
-
- Type: string
A description of what the contact list is about.
- LastUpdatedTimestamp
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
A timestamp noting the last time the contact list was updated.
- Tags
-
- Type: Array of Tag structures
The tags associated with a contact list.
- Topics
-
- Type: Array of Topic structures
An interest group, theme, or label within a list. A contact list can have multiple topics.
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.
GetCustomVerificationEmailTemplate
$result = $client->getCustomVerificationEmailTemplate
([/* ... */]); $promise = $client->getCustomVerificationEmailTemplateAsync
([/* ... */]);
Returns the custom email verification template for the template name you specify.
For more information about custom verification email templates, see Using custom verification email templates in the Amazon SES Developer Guide.
You can execute this operation no more than once per second.
Parameter Syntax
$result = $client->getCustomVerificationEmailTemplate([ 'TemplateName' => '<string>', // REQUIRED ]);
Parameter Details
Members
- TemplateName
-
- Required: Yes
- Type: string
The name of the custom verification email template that you want to retrieve.
Result Syntax
[ 'FailureRedirectionURL' => '<string>', 'FromEmailAddress' => '<string>', 'SuccessRedirectionURL' => '<string>', 'TemplateContent' => '<string>', 'TemplateName' => '<string>', 'TemplateSubject' => '<string>', ]
Result Details
Members
- FailureRedirectionURL
-
- Type: string
The URL that the recipient of the verification email is sent to if his or her address is not successfully verified.
- FromEmailAddress
-
- Type: string
The email address that the custom verification email is sent from.
- SuccessRedirectionURL
-
- Type: string
The URL that the recipient of the verification email is sent to if his or her address is successfully verified.
- TemplateContent
-
- Type: string
The content of the custom verification email.
- TemplateName
-
- Type: string
The name of the custom verification email template.
- TemplateSubject
-
- Type: string
The subject line of the custom verification email.
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 Web Services 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.
GetDedicatedIpPool
$result = $client->getDedicatedIpPool
([/* ... */]); $promise = $client->getDedicatedIpPoolAsync
([/* ... */]);
Retrieve information about the dedicated pool.
Parameter Syntax
$result = $client->getDedicatedIpPool([ 'PoolName' => '<string>', // REQUIRED ]);
Parameter Details
Members
- PoolName
-
- Required: Yes
- Type: string
The name of the dedicated IP pool to retrieve.
Result Syntax
[ 'DedicatedIpPool' => [ 'PoolName' => '<string>', 'ScalingMode' => 'STANDARD|MANAGED', ], ]
Result Details
Members
- DedicatedIpPool
-
- Type: DedicatedIpPool structure
An object that contains information about a dedicated IP pool.
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 Web Services 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 aNextToken
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 associated with your Amazon Web Services 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 theNextToken
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 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. 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 SES and other Amazon Web Services services. For more information about the features and cost of a Deliverability dashboard subscription, see Amazon SES 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. 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 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.
Parameter Syntax
$result = $client->getDomainDeliverabilityCampaign([ 'CampaignId' => '<string>', // REQUIRED ]);
Parameter Details
Members
- CampaignId
-
- Required: Yes
- Type: string
The unique identifier for the campaign. The Deliverability dashboard automatically generates and assigns this identifier to a campaign.
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 theStartDate
. - 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 theEndDate
. - 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 theEndDate
.
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, including the identity's verification status, sending authorization policies, 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.
Result Syntax
[ 'ConfigurationSetName' => '<string>', 'DkimAttributes' => [ 'CurrentSigningKeyLength' => 'RSA_1024_BIT|RSA_2048_BIT', 'LastKeyGenerationTimestamp' => <DateTime>, 'NextSigningKeyLength' => 'RSA_1024_BIT|RSA_2048_BIT', 'SigningAttributesOrigin' => 'AWS_SES|EXTERNAL|AWS_SES_AF_SOUTH_1|AWS_SES_EU_NORTH_1|AWS_SES_AP_SOUTH_1|AWS_SES_EU_WEST_3|AWS_SES_EU_WEST_2|AWS_SES_EU_SOUTH_1|AWS_SES_EU_WEST_1|AWS_SES_AP_NORTHEAST_3|AWS_SES_AP_NORTHEAST_2|AWS_SES_ME_SOUTH_1|AWS_SES_AP_NORTHEAST_1|AWS_SES_IL_CENTRAL_1|AWS_SES_SA_EAST_1|AWS_SES_CA_CENTRAL_1|AWS_SES_AP_SOUTHEAST_1|AWS_SES_AP_SOUTHEAST_2|AWS_SES_AP_SOUTHEAST_3|AWS_SES_EU_CENTRAL_1|AWS_SES_US_EAST_1|AWS_SES_US_EAST_2|AWS_SES_US_WEST_1|AWS_SES_US_WEST_2', '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', ], 'Policies' => ['<string>', ...], 'Tags' => [ [ 'Key' => '<string>', 'Value' => '<string>', ], // ... ], 'VerificationInfo' => [ 'ErrorType' => 'SERVICE_ERROR|DNS_SERVER_ERROR|HOST_NOT_FOUND|TYPE_NOT_FOUND|INVALID_VALUE|REPLICATION_ACCESS_DENIED|REPLICATION_PRIMARY_NOT_FOUND|REPLICATION_PRIMARY_BYO_DKIM_NOT_SUPPORTED|REPLICATION_REPLICA_AS_PRIMARY_NOT_SUPPORTED|REPLICATION_PRIMARY_INVALID_REGION', 'LastCheckedTimestamp' => <DateTime>, 'LastSuccessTimestamp' => <DateTime>, 'SOARecord' => [ 'AdminEmail' => '<string>', 'PrimaryNameServer' => '<string>', 'SerialNumber' => <integer>, ], ], 'VerificationStatus' => 'PENDING|SUCCESS|FAILED|TEMPORARY_FAILURE|NOT_STARTED', 'VerifiedForSendingStatus' => true || false, ]
Result Details
Members
- ConfigurationSetName
-
- Type: string
The configuration set used by default when sending from this identity.
- DkimAttributes
-
- Type: DkimAttributes structure
An object that contains information about the DKIM attributes for the identity.
- FeedbackForwardingStatus
-
- Type: boolean
The feedback forwarding configuration for the identity.
If the value is
true
, you receive email notifications when bounce or complaint events occur. These notifications are sent to the address that you specified in theReturn-Path
header of the original email.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 (for example, by setting up an event destination), you receive an email notification when these events occur (even if this setting is disabled).
- IdentityType
-
- Type: string
The email identity type. Note: the
MANAGED_DOMAIN
identity type is not supported. - MailFromAttributes
-
- Type: MailFromAttributes structure
An object that contains information about the Mail-From attributes for the email identity.
- Policies
-
- Type: Associative array of custom strings keys (PolicyName) to strings
A map of policy names to policies.
- Tags
-
- Type: Array of Tag structures
An array of objects that define the tags (keys and values) that are associated with the email identity.
- VerificationInfo
-
- Type: VerificationInfo structure
An object that contains additional information about the verification status for the identity.
- VerificationStatus
-
- Type: string
The verification status of the identity. The status can be one of the following:
-
PENDING
– The verification process was initiated, but Amazon SES hasn't yet been able to verify the identity. -
SUCCESS
– The verification process completed successfully. -
FAILED
– The verification process failed. -
TEMPORARY_FAILURE
– A temporary issue is preventing Amazon SES from determining the verification status of the identity. -
NOT_STARTED
– The verification process hasn't been initiated for the identity.
- VerifiedForSendingStatus
-
- Type: boolean
Specifies whether or not the identity is verified. 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.
GetEmailIdentityPolicies
$result = $client->getEmailIdentityPolicies
([/* ... */]); $promise = $client->getEmailIdentityPoliciesAsync
([/* ... */]);
Returns the requested sending authorization policies for the given identity (an email address or a domain). The policies are returned as a map of policy names to policy contents. You can retrieve a maximum of 20 policies at a time.
This API is for the identity owner only. If you have not verified the identity, this API will return an error.
Sending authorization is a feature that enables an identity owner to authorize other senders to use its identities. For information about using sending authorization, see the Amazon SES Developer Guide.
You can execute this operation no more than once per second.
Parameter Syntax
$result = $client->getEmailIdentityPolicies([ 'EmailIdentity' => '<string>', // REQUIRED ]);
Parameter Details
Members
- EmailIdentity
-
- Required: Yes
- Type: string
The email identity.
Result Syntax
[ 'Policies' => ['<string>', ...], ]
Result Details
Members
- Policies
-
- Type: Associative array of custom strings keys (PolicyName) to strings
A map of policy names to policies.
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.
GetEmailTemplate
$result = $client->getEmailTemplate
([/* ... */]); $promise = $client->getEmailTemplateAsync
([/* ... */]);
Displays the template object (which includes the subject line, HTML part and text part) for the template you specify.
You can execute this operation no more than once per second.
Parameter Syntax
$result = $client->getEmailTemplate([ 'TemplateName' => '<string>', // REQUIRED ]);
Parameter Details
Members
- TemplateName
-
- Required: Yes
- Type: string
The name of the template.
Result Syntax
[ 'TemplateContent' => [ 'Html' => '<string>', 'Subject' => '<string>', 'Text' => '<string>', ], 'TemplateName' => '<string>', ]
Result Details
Members
- TemplateContent
-
- Required: Yes
- Type: EmailTemplateContent structure
The content of the email template, composed of a subject line, an HTML part, and a text-only part.
- TemplateName
-
- Required: Yes
- Type: string
The name of the template.
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.
GetExportJob
$result = $client->getExportJob
([/* ... */]); $promise = $client->getExportJobAsync
([/* ... */]);
Provides information about an export job.
Parameter Syntax
$result = $client->getExportJob([ 'JobId' => '<string>', // REQUIRED ]);
Parameter Details
Members
- JobId
-
- Required: Yes
- Type: string
The export job ID.
Result Syntax
[ 'CompletedTimestamp' => <DateTime>, 'CreatedTimestamp' => <DateTime>, 'ExportDataSource' => [ 'MessageInsightsDataSource' => [ 'EndDate' => <DateTime>, 'Exclude' => [ 'Destination' => ['<string>', ...], 'FromEmailAddress' => ['<string>', ...], 'Isp' => ['<string>', ...], 'LastDeliveryEvent' => ['<string>', ...], 'LastEngagementEvent' => ['<string>', ...], 'Subject' => ['<string>', ...], ], 'Include' => [ 'Destination' => ['<string>', ...], 'FromEmailAddress' => ['<string>', ...], 'Isp' => ['<string>', ...], 'LastDeliveryEvent' => ['<string>', ...], 'LastEngagementEvent' => ['<string>', ...], 'Subject' => ['<string>', ...], ], 'MaxResults' => <integer>, 'StartDate' => <DateTime>, ], 'MetricsDataSource' => [ 'Dimensions' => [ '<MetricDimensionName>' => ['<string>', ...], // ... ], 'EndDate' => <DateTime>, 'Metrics' => [ [ 'Aggregation' => 'RATE|VOLUME', 'Name' => 'SEND|COMPLAINT|PERMANENT_BOUNCE|TRANSIENT_BOUNCE|OPEN|CLICK|DELIVERY|DELIVERY_OPEN|DELIVERY_CLICK|DELIVERY_COMPLAINT', ], // ... ], 'Namespace' => 'VDM', 'StartDate' => <DateTime>, ], ], 'ExportDestination' => [ 'DataFormat' => 'CSV|JSON', 'S3Url' => '<string>', ], 'ExportSourceType' => 'METRICS_DATA|MESSAGE_INSIGHTS', 'FailureInfo' => [ 'ErrorMessage' => '<string>', 'FailedRecordsS3Url' => '<string>', ], 'JobId' => '<string>', 'JobStatus' => 'CREATED|PROCESSING|COMPLETED|FAILED|CANCELLED', 'Statistics' => [ 'ExportedRecordsCount' => <integer>, 'ProcessedRecordsCount' => <integer>, ], ]
Result Details
Members
- CompletedTimestamp
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp of when the export job was completed.
- CreatedTimestamp
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp of when the export job was created.
- ExportDataSource
-
- Type: ExportDataSource structure
The data source of the export job.
- ExportDestination
-
- Type: ExportDestination structure
The destination of the export job.
- ExportSourceType
-
- Type: string
The type of source of the export job.
- FailureInfo
-
- Type: FailureInfo structure
The failure details about an export job.
- JobId
-
- Type: string
The export job ID.
- JobStatus
-
- Type: string
The status of the export job.
- Statistics
-
- Type: ExportStatistics structure
The statistics about the export job.
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.
Examples
Example 1: Get export job
Gets the export job with ID ef28cf62-9d8e-4b60-9283-b09816c99a99
$result = $client->getExportJob([ 'JobId' => 'ef28cf62-9d8e-4b60-9283-b09816c99a99', ]);
Result syntax:
[ 'CreatedTimestamp' =>, 'ExportDataSource' => [ 'MetricsDataSource' => [ 'Dimensions' => [ 'ISP' => [ '*', ], ], 'EndDate' => , 'Metrics' => [ [ 'Aggregation' => 'VOLUME', 'Name' => 'SEND', ], [ 'Aggregation' => 'VOLUME', 'Name' => 'COMPLAINT', ], [ 'Aggregation' => 'RATE', 'Name' => 'COMPLAINT', ], ], 'Namespace' => 'VDM', 'StartDate' => , ], ], 'ExportDestination' => [ 'DataFormat' => 'CSV', ], 'ExportSourceType' => 'METRICS_DATA', 'JobId' => 'ef28cf62-9d8e-4b60-9283-b09816c99a99', 'JobStatus' => 'PROCESSING', 'Statistics' => [ 'ExportedRecordsCount' => 5, 'ProcessedRecordsCount' => 5, ], ]
GetImportJob
$result = $client->getImportJob
([/* ... */]); $promise = $client->getImportJobAsync
([/* ... */]);
Provides information about an import job.
Parameter Syntax
$result = $client->getImportJob([ 'JobId' => '<string>', // REQUIRED ]);
Parameter Details
Members
- JobId
-
- Required: Yes
- Type: string
The ID of the import job.
Result Syntax
[ 'CompletedTimestamp' => <DateTime>, 'CreatedTimestamp' => <DateTime>, 'FailedRecordsCount' => <integer>, 'FailureInfo' => [ 'ErrorMessage' => '<string>', 'FailedRecordsS3Url' => '<string>', ], 'ImportDataSource' => [ 'DataFormat' => 'CSV|JSON', 'S3Url' => '<string>', ], 'ImportDestination' => [ 'ContactListDestination' => [ 'ContactListImportAction' => 'DELETE|PUT', 'ContactListName' => '<string>', ], 'SuppressionListDestination' => [ 'SuppressionListImportAction' => 'DELETE|PUT', ], ], 'JobId' => '<string>', 'JobStatus' => 'CREATED|PROCESSING|COMPLETED|FAILED|CANCELLED', 'ProcessedRecordsCount' => <integer>, ]
Result Details
Members
- CompletedTimestamp
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The time stamp of when the import job was completed.
- CreatedTimestamp
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The time stamp of when the import job was created.
- FailedRecordsCount
-
- Type: int
The number of records that failed processing because of invalid input or other reasons.
- FailureInfo
-
- Type: FailureInfo structure
The failure details about an import job.
- ImportDataSource
-
- Type: ImportDataSource structure
The data source of the import job.
- ImportDestination
-
- Type: ImportDestination structure
The destination of the import job.
- JobId
-
- Type: string
A string that represents the import job ID.
- JobStatus
-
- Type: string
The status of the import job.
- ProcessedRecordsCount
-
- Type: int
The current number of records processed.
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.
GetMessageInsights
$result = $client->getMessageInsights
([/* ... */]); $promise = $client->getMessageInsightsAsync
([/* ... */]);
Provides information about a specific message, including the from address, the subject, the recipient address, email tags, as well as events associated with the message.
You can execute this operation no more than once per second.
Parameter Syntax
$result = $client->getMessageInsights([ 'MessageId' => '<string>', // REQUIRED ]);
Parameter Details
Members
- MessageId
-
- Required: Yes
- Type: string
A
MessageId
is a unique identifier for a message, and is returned when sending emails through Amazon SES.
Result Syntax
[ 'EmailTags' => [ [ 'Name' => '<string>', 'Value' => '<string>', ], // ... ], 'FromEmailAddress' => '<string>', 'Insights' => [ [ 'Destination' => '<string>', 'Events' => [ [ 'Details' => [ 'Bounce' => [ 'BounceSubType' => '<string>', 'BounceType' => 'UNDETERMINED|TRANSIENT|PERMANENT', 'DiagnosticCode' => '<string>', ], 'Complaint' => [ 'ComplaintFeedbackType' => '<string>', 'ComplaintSubType' => '<string>', ], ], 'Timestamp' => <DateTime>, 'Type' => 'SEND|REJECT|BOUNCE|COMPLAINT|DELIVERY|OPEN|CLICK|RENDERING_FAILURE|DELIVERY_DELAY|SUBSCRIPTION', ], // ... ], 'Isp' => '<string>', ], // ... ], 'MessageId' => '<string>', 'Subject' => '<string>', ]
Result Details
Members
- EmailTags
-
- Type: Array of MessageTag structures
A list of tags, in the form of name/value pairs, that were applied to the email you sent, along with Amazon SES Auto-Tags.
- FromEmailAddress
-
- Type: string
The from address used to send the message.
- Insights
-
- Type: Array of EmailInsights structures
A set of insights associated with the message.
- MessageId
-
- Type: string
A unique identifier for the message.
- Subject
-
- Type: string
The subject line of the message.
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.
Examples
Example 1: Get Message Insights
Provides information about a specific message.
$result = $client->getMessageInsights([ 'MessageId' => '000000000000ab00-0a000aa0-1234-0a0a-1234-0a0aaa0aa00a-000000', ]);
Result syntax:
[ 'EmailTags' => [ [ 'Name' => 'ses:operation', 'Value' => 'SendEmail', ], [ 'Name' => 'ses:recipient-isp', 'Value' => 'UNKNOWN_ISP', ], [ 'Name' => 'ses:source-ip', 'Value' => '0.0.0.0', ], [ 'Name' => 'ses:from-domain', 'Value' => 'example.com', ], [ 'Name' => 'ses:sender-identity', 'Value' => 'hello@example.com', ], [ 'Name' => 'ses:caller-identity', 'Value' => 'Identity', ], ], 'FromEmailAddress' => 'hello@example.com', 'Insights' => [ [ 'Destination' => 'recipient@example.com', 'Events' => [ [ 'Timestamp' =>, 'Type' => 'SEND', ], [ 'Timestamp' => , 'Type' => 'DELIVERY', ], ], 'Isp' => 'UNKNOWN_ISP', ], ], 'MessageId' => '000000000000ab00-0a000aa0-1234-0a0a-1234-0a0aaa0aa00a-000000', 'Subject' => 'hello', ]
GetMultiRegionEndpoint
$result = $client->getMultiRegionEndpoint
([/* ... */]); $promise = $client->getMultiRegionEndpointAsync
([/* ... */]);
Displays the multi-region endpoint (global-endpoint) configuration.
Only multi-region endpoints (global-endpoints) whose primary region is the AWS-Region where operation is executed can be displayed.
Parameter Syntax
$result = $client->getMultiRegionEndpoint([ 'EndpointName' => '<string>', // REQUIRED ]);
Parameter Details
Members
- EndpointName
-
- Required: Yes
- Type: string
The name of the multi-region endpoint (global-endpoint).
Result Syntax
[ 'CreatedTimestamp' => <DateTime>, 'EndpointId' => '<string>', 'EndpointName' => '<string>', 'LastUpdatedTimestamp' => <DateTime>, 'Routes' => [ [ 'Region' => '<string>', ], // ... ], 'Status' => 'CREATING|READY|FAILED|DELETING', ]
Result Details
Members
- CreatedTimestamp
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The time stamp of when the multi-region endpoint (global-endpoint) was created.
- EndpointId
-
- Type: string
The ID of the multi-region endpoint (global-endpoint).
- EndpointName
-
- Type: string
The name of the multi-region endpoint (global-endpoint).
- LastUpdatedTimestamp
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The time stamp of when the multi-region endpoint (global-endpoint) was last updated.
- Routes
-
- Type: Array of Route structures
Contains routes information for the multi-region endpoint (global-endpoint).
- Status
-
- Type: string
The status of the multi-region endpoint (global-endpoint).
-
CREATING
– The resource is being provisioned. -
READY
– The resource is ready to use. -
FAILED
– The resource failed to be provisioned. -
DELETING
– The resource is being deleted as requested.
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.
GetSuppressedDestination
$result = $client->getSuppressedDestination
([/* ... */]); $promise = $client->getSuppressedDestinationAsync
([/* ... */]);
Retrieves information about a specific email address that's on the suppression list for your account.
Parameter Syntax
$result = $client->getSuppressedDestination([ 'EmailAddress' => '<string>', // REQUIRED ]);
Parameter Details
Members
- EmailAddress
-
- Required: Yes
- Type: string
The email address that's on the account suppression list.
Result Syntax
[ 'SuppressedDestination' => [ 'Attributes' => [ 'FeedbackId' => '<string>', 'MessageId' => '<string>', ], 'EmailAddress' => '<string>', 'LastUpdateTime' => <DateTime>, 'Reason' => 'BOUNCE|COMPLAINT', ], ]
Result Details
Members
- SuppressedDestination
-
- Required: Yes
- Type: SuppressedDestination structure
An object containing information about the suppressed email address.
Errors
- BadRequestException:
The input you provided is invalid.
- TooManyRequestsException:
Too many requests have been made to the operation.
- NotFoundException:
The resource you attempted to access doesn't exist.
ListConfigurationSets
$result = $client->listConfigurationSets
([/* ... */]); $promise = $client->listConfigurationSetsAsync
([/* ... */]);
List all of the configuration sets associated with your account in the current region.
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 aNextToken
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 SES account in the current Amazon Web Services 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 theNextToken
parameter.
Errors
- TooManyRequestsException:
Too many requests have been made to the operation.
- BadRequestException:
The input you provided is invalid.
ListContactLists
$result = $client->listContactLists
([/* ... */]); $promise = $client->listContactListsAsync
([/* ... */]);
Lists all of the contact lists available.
Parameter Syntax
$result = $client->listContactLists([ 'NextToken' => '<string>', 'PageSize' => <integer>, ]);
Parameter Details
Members
- NextToken
-
- Type: string
A string token indicating that there might be additional contact lists available to be listed. Use the token provided in the Response to use in the subsequent call to ListContactLists with the same parameters to retrieve the next page of contact lists.
- PageSize
-
- Type: int
Maximum number of contact lists to return at once. Use this parameter to paginate results. If additional contact lists exist beyond the specified limit, the
NextToken
element is sent in the response. Use theNextToken
value in subsequent requests to retrieve additional lists.
Result Syntax
[ 'ContactLists' => [ [ 'ContactListName' => '<string>', 'LastUpdatedTimestamp' => <DateTime>, ], // ... ], 'NextToken' => '<string>', ]
Result Details
Members
- ContactLists
-
- Type: Array of ContactList structures
The available contact lists.
- NextToken
-
- Type: string
A string token indicating that there might be additional contact lists available to be listed. Copy this token to a subsequent call to
ListContactLists
with the same parameters to retrieve the next page of contact lists.
Errors
- BadRequestException:
The input you provided is invalid.
- TooManyRequestsException:
Too many requests have been made to the operation.
ListContacts
$result = $client->listContacts
([/* ... */]); $promise = $client->listContactsAsync
([/* ... */]);
Lists the contacts present in a specific contact list.
Parameter Syntax
$result = $client->listContacts([ 'ContactListName' => '<string>', // REQUIRED 'Filter' => [ 'FilteredStatus' => 'OPT_IN|OPT_OUT', 'TopicFilter' => [ 'TopicName' => '<string>', 'UseDefaultIfPreferenceUnavailable' => true || false, ], ], 'NextToken' => '<string>', 'PageSize' => <integer>, ]);
Parameter Details
Members
- ContactListName
-
- Required: Yes
- Type: string
The name of the contact list.
- Filter
-
- Type: ListContactsFilter structure
A filter that can be applied to a list of contacts.
- NextToken
-
- Type: string
A string token indicating that there might be additional contacts available to be listed. Use the token provided in the Response to use in the subsequent call to ListContacts with the same parameters to retrieve the next page of contacts.
- PageSize
-
- Type: int
The number of contacts that may be returned at once, which is dependent on if there are more or less contacts than the value of the PageSize. Use this parameter to paginate results. If additional contacts exist beyond the specified limit, the
NextToken
element is sent in the response. Use theNextToken
value in subsequent requests to retrieve additional contacts.
Result Syntax
[ 'Contacts' => [ [ 'EmailAddress' => '<string>', 'LastUpdatedTimestamp' => <DateTime>, 'TopicDefaultPreferences' => [ [ 'SubscriptionStatus' => 'OPT_IN|OPT_OUT', 'TopicName' => '<string>', ], // ... ], 'TopicPreferences' => [ [ 'SubscriptionStatus' => 'OPT_IN|OPT_OUT', 'TopicName' => '<string>', ], // ... ], 'UnsubscribeAll' => true || false, ], // ... ], 'NextToken' => '<string>', ]
Result Details
Members
- Contacts
-
- Type: Array of Contact structures
The contacts present in a specific contact list.
- NextToken
-
- Type: string
A string token indicating that there might be additional contacts available to be listed. Copy this token to a subsequent call to
ListContacts
with the same parameters to retrieve the next page of contacts.
Errors
- BadRequestException:
The input you provided is invalid.
- TooManyRequestsException:
Too many requests have been made to the operation.
- NotFoundException:
The resource you attempted to access doesn't exist.
ListCustomVerificationEmailTemplates
$result = $client->listCustomVerificationEmailTemplates
([/* ... */]); $promise = $client->listCustomVerificationEmailTemplatesAsync
([/* ... */]);
Lists the existing custom verification email templates for your account in the current Amazon Web Services Region.
For more information about custom verification email templates, see Using custom verification email templates in the Amazon SES Developer Guide.
You can execute this operation no more than once per second.
Parameter Syntax
$result = $client->listCustomVerificationEmailTemplates([ 'NextToken' => '<string>', 'PageSize' => <integer>, ]);
Parameter Details
Members
- NextToken
-
- Type: string
A token returned from a previous call to
ListCustomVerificationEmailTemplates
to indicate the position in the list of custom verification email templates. - PageSize
-
- Type: int
The number of results to show in a single call to
ListCustomVerificationEmailTemplates
. If the number of results is larger than the number you specified in this parameter, then the response includes aNextToken
element, which you can use to obtain additional results.The value you specify has to be at least 1, and can be no more than 50.
Result Syntax
[ 'CustomVerificationEmailTemplates' => [ [ 'FailureRedirectionURL' => '<string>', 'FromEmailAddress' => '<string>', 'SuccessRedirectionURL' => '<string>', 'TemplateName' => '<string>', 'TemplateSubject' => '<string>', ], // ... ], 'NextToken' => '<string>', ]
Result Details
Members
- CustomVerificationEmailTemplates
-
- Type: Array of CustomVerificationEmailTemplateMetadata structures
A list of the custom verification email templates that exist in your account.
- NextToken
-
- Type: string
A token indicating that there are additional custom verification email templates available to be listed. Pass this token to a subsequent call to
ListCustomVerificationEmailTemplates
to retrieve the next 50 custom verification email templates.
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 Web Services account in the current 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 aNextToken
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 Web Services account in the current Region.
- 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 theNextToken
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 aNextToken
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 theNextToken
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 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 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 aNextToken
element, which you can use to obtain additional results. - StartDate
-
- Required: Yes
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The first day 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 Web Services 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. This operation returns identities that are associated with Amazon SES and Amazon Pinpoint.
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 aNextToken
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, 'VerificationStatus' => 'PENDING|SUCCESS|FAILED|TEMPORARY_FAILURE|NOT_STARTED', ], // ... ], 'NextToken' => '<string>', ]
Result Details
Members
- EmailIdentities
-
- Type: Array of IdentityInfo structures
An array that includes all of the email identities associated with your Amazon Web Services 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 theNextToken
parameter.
Errors
- TooManyRequestsException:
Too many requests have been made to the operation.
- BadRequestException:
The input you provided is invalid.
ListEmailTemplates
$result = $client->listEmailTemplates
([/* ... */]); $promise = $client->listEmailTemplatesAsync
([/* ... */]);
Lists the email templates present in your Amazon SES account in the current Amazon Web Services Region.
You can execute this operation no more than once per second.
Parameter Syntax
$result = $client->listEmailTemplates([ 'NextToken' => '<string>', 'PageSize' => <integer>, ]);
Parameter Details
Members
- NextToken
-
- Type: string
A token returned from a previous call to
ListEmailTemplates
to indicate the position in the list of email templates. - PageSize
-
- Type: int
The number of results to show in a single call to
ListEmailTemplates
. If the number of results is larger than the number you specified in this parameter, then the response includes aNextToken
element, which you can use to obtain additional results.The value you specify has to be at least 1, and can be no more than 100.
Result Syntax
[ 'NextToken' => '<string>', 'TemplatesMetadata' => [ [ 'CreatedTimestamp' => <DateTime>, 'TemplateName' => '<string>', ], // ... ], ]
Result Details
Members
- NextToken
-
- Type: string
A token indicating that there are additional email templates available to be listed. Pass this token to a subsequent
ListEmailTemplates
call to retrieve the next 10 email templates. - TemplatesMetadata
-
- Type: Array of EmailTemplateMetadata structures
An array the contains the name and creation time stamp for each template in your Amazon SES account.
Errors
- TooManyRequestsException:
Too many requests have been made to the operation.
- BadRequestException:
The input you provided is invalid.
ListExportJobs
$result = $client->listExportJobs
([/* ... */]); $promise = $client->listExportJobsAsync
([/* ... */]);
Lists all of the export jobs.
Parameter Syntax
$result = $client->listExportJobs([ 'ExportSourceType' => 'METRICS_DATA|MESSAGE_INSIGHTS', 'JobStatus' => 'CREATED|PROCESSING|COMPLETED|FAILED|CANCELLED', 'NextToken' => '<string>', 'PageSize' => <integer>, ]);
Parameter Details
Members
- ExportSourceType
-
- Type: string
A value used to list export jobs that have a certain
ExportSourceType
. - JobStatus
-
- Type: string
A value used to list export jobs that have a certain
JobStatus
. - NextToken
-
- Type: string
The pagination token returned from a previous call to
ListExportJobs
to indicate the position in the list of export jobs. - PageSize
-
- Type: int
Maximum number of export jobs to return at once. Use this parameter to paginate results. If additional export jobs exist beyond the specified limit, the
NextToken
element is sent in the response. Use theNextToken
value in subsequent calls toListExportJobs
to retrieve additional export jobs.
Result Syntax
[ 'ExportJobs' => [ [ 'CompletedTimestamp' => <DateTime>, 'CreatedTimestamp' => <DateTime>, 'ExportSourceType' => 'METRICS_DATA|MESSAGE_INSIGHTS', 'JobId' => '<string>', 'JobStatus' => 'CREATED|PROCESSING|COMPLETED|FAILED|CANCELLED', ], // ... ], 'NextToken' => '<string>', ]
Result Details
Members
- ExportJobs
-
- Type: Array of ExportJobSummary structures
A list of the export job summaries.
- NextToken
-
- Type: string
A string token indicating that there might be additional export jobs available to be listed. Use this token to a subsequent call to
ListExportJobs
with the same parameters to retrieve the next page of export jobs.
Errors
- TooManyRequestsException:
Too many requests have been made to the operation.
- BadRequestException:
The input you provided is invalid.
Examples
Example 1: List export jobs
Lists export jobs of type METRICS_DATA and status PROCESSING
$result = $client->listExportJobs([ 'ExportSourceType' => 'METRICS_DATA', 'JobStatus' => 'PROCESSING', 'PageSize' => 25, ]);
Result syntax:
[ 'ExportJobs' => [ [ 'CreatedTimestamp' =>, 'ExportSourceType' => 'METRICS_DATA', 'JobId' => '72de83a0-6b49-47ca-9783-8b812576887a', 'JobStatus' => 'PROCESSING', ], ], ]
ListImportJobs
$result = $client->listImportJobs
([/* ... */]); $promise = $client->listImportJobsAsync
([/* ... */]);
Lists all of the import jobs.
Parameter Syntax
$result = $client->listImportJobs([ 'ImportDestinationType' => 'SUPPRESSION_LIST|CONTACT_LIST', 'NextToken' => '<string>', 'PageSize' => <integer>, ]);
Parameter Details
Members
- ImportDestinationType
-
- Type: string
The destination of the import job, which can be used to list import jobs that have a certain
ImportDestinationType
. - NextToken
-
- Type: string
A string token indicating that there might be additional import jobs available to be listed. Copy this token to a subsequent call to
ListImportJobs
with the same parameters to retrieve the next page of import jobs. - PageSize
-
- Type: int
Maximum number of import jobs to return at once. Use this parameter to paginate results. If additional import jobs exist beyond the specified limit, the
NextToken
element is sent in the response. Use theNextToken
value in subsequent requests to retrieve additional addresses.
Result Syntax
[ 'ImportJobs' => [ [ 'CreatedTimestamp' => <DateTime>, 'FailedRecordsCount' => <integer>, 'ImportDestination' => [ 'ContactListDestination' => [ 'ContactListImportAction' => 'DELETE|PUT', 'ContactListName' => '<string>', ], 'SuppressionListDestination' => [ 'SuppressionListImportAction' => 'DELETE|PUT', ], ], 'JobId' => '<string>', 'JobStatus' => 'CREATED|PROCESSING|COMPLETED|FAILED|CANCELLED', 'ProcessedRecordsCount' => <integer>, ], // ... ], 'NextToken' => '<string>', ]
Result Details
Members
- ImportJobs
-
- Type: Array of ImportJobSummary structures
A list of the import job summaries.
- NextToken
-
- Type: string
A string token indicating that there might be additional import jobs available to be listed. Copy this token to a subsequent call to
ListImportJobs
with the same parameters to retrieve the next page of import jobs.
Errors
- TooManyRequestsException:
Too many requests have been made to the operation.
- BadRequestException:
The input you provided is invalid.
ListMultiRegionEndpoints
$result = $client->listMultiRegionEndpoints
([/* ... */]); $promise = $client->listMultiRegionEndpointsAsync
([/* ... */]);
List the multi-region endpoints (global-endpoints).
Only multi-region endpoints (global-endpoints) whose primary region is the AWS-Region where operation is executed will be listed.
Parameter Syntax
$result = $client->listMultiRegionEndpoints([ 'NextToken' => '<string>', 'PageSize' => <integer>, ]);
Parameter Details
Members
- NextToken
-
- Type: string
A token returned from a previous call to
ListMultiRegionEndpoints
to indicate the position in the list of multi-region endpoints (global-endpoints). - PageSize
-
- Type: int
The number of results to show in a single call to
ListMultiRegionEndpoints
. If the number of results is larger than the number you specified in this parameter, the response includes aNextToken
element that you can use to retrieve the next page of results.
Result Syntax
[ 'MultiRegionEndpoints' => [ [ 'CreatedTimestamp' => <DateTime>, 'EndpointId' => '<string>', 'EndpointName' => '<string>', 'LastUpdatedTimestamp' => <DateTime>, 'Regions' => ['<string>', ...], 'Status' => 'CREATING|READY|FAILED|DELETING', ], // ... ], 'NextToken' => '<string>', ]
Result Details
Members
- MultiRegionEndpoints
-
- Type: Array of MultiRegionEndpoint structures
An array that contains key multi-region endpoint (global-endpoint) properties.
- NextToken
-
- Type: string
A token indicating that there are additional multi-region endpoints (global-endpoints) available to be listed. Pass this token to a subsequent
ListMultiRegionEndpoints
call to retrieve the next page.
Errors
- TooManyRequestsException:
Too many requests have been made to the operation.
- BadRequestException:
The input you provided is invalid.
ListRecommendations
$result = $client->listRecommendations
([/* ... */]); $promise = $client->listRecommendationsAsync
([/* ... */]);
Lists the recommendations present in your Amazon SES account in the current Amazon Web Services Region.
You can execute this operation no more than once per second.
Parameter Syntax
$result = $client->listRecommendations([ 'Filter' => ['<string>', ...], 'NextToken' => '<string>', 'PageSize' => <integer>, ]);
Parameter Details
Members
- Filter
-
- Type: Associative array of custom strings keys (ListRecommendationsFilterKey) to strings
Filters applied when retrieving recommendations. Can eiter be an individual filter, or combinations of
STATUS
andIMPACT
orSTATUS
andTYPE
- NextToken
-
- Type: string
A token returned from a previous call to
ListRecommendations
to indicate the position in the list of recommendations. - PageSize
-
- Type: int
The number of results to show in a single call to
ListRecommendations
. If the number of results is larger than the number you specified in this parameter, then the response includes aNextToken
element, which you can use to obtain additional results.The value you specify has to be at least 1, and can be no more than 100.
Result Syntax
[ 'NextToken' => '<string>', 'Recommendations' => [ [ 'CreatedTimestamp' => <DateTime>, 'Description' => '<string>', 'Impact' => 'LOW|HIGH', 'LastUpdatedTimestamp' => <DateTime>, 'ResourceArn' => '<string>', 'Status' => 'OPEN|FIXED', 'Type' => 'DKIM|DMARC|SPF|BIMI', ], // ... ], ]
Result Details
Members
- NextToken
-
- Type: string
A string token indicating that there might be additional recommendations available to be listed. Use the token provided in the
ListRecommendationsResponse
to use in the subsequent call toListRecommendations
with the same parameters to retrieve the next page of recommendations. - Recommendations
-
- Type: Array of Recommendation structures
The recommendations applicable to your account.
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.
ListSuppressedDestinations
$result = $client->listSuppressedDestinations
([/* ... */]); $promise = $client->listSuppressedDestinationsAsync
([/* ... */]);
Retrieves a list of email addresses that are on the suppression list for your account.
Parameter Syntax
$result = $client->listSuppressedDestinations([ 'EndDate' => <integer || string || DateTime>, 'NextToken' => '<string>', 'PageSize' => <integer>, 'Reasons' => ['<string>', ...], 'StartDate' => <integer || string || DateTime>, ]);
Parameter Details
Members
- EndDate
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
Used to filter the list of suppressed email destinations so that it only includes addresses that were added to the list before a specific date.
- NextToken
-
- Type: string
A token returned from a previous call to
ListSuppressedDestinations
to indicate the position in the list of suppressed email addresses. - PageSize
-
- Type: int
The number of results to show in a single call to
ListSuppressedDestinations
. If the number of results is larger than the number you specified in this parameter, then the response includes aNextToken
element, which you can use to obtain additional results. - Reasons
-
- Type: Array of strings
The factors that caused the email address to be added to .
- StartDate
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
Used to filter the list of suppressed email destinations so that it only includes addresses that were added to the list after a specific date.
Result Syntax
[ 'NextToken' => '<string>', 'SuppressedDestinationSummaries' => [ [ 'EmailAddress' => '<string>', 'LastUpdateTime' => <DateTime>, 'Reason' => 'BOUNCE|COMPLAINT', ], // ... ], ]
Result Details
Members
- NextToken
-
- Type: string
A token that indicates that there are additional email addresses on the suppression list for your account. To view additional suppressed addresses, issue another request to
ListSuppressedDestinations
, and pass this token in theNextToken
parameter. - SuppressedDestinationSummaries
-
- Type: Array of SuppressedDestinationSummary structures
A list of summaries, each containing a summary for a suppressed email destination.
Errors
- BadRequestException:
The input you provided is invalid.
- TooManyRequestsException:
Too many requests have been made to the operation.
- InvalidNextTokenException:
The specified request includes an invalid or expired token.
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. 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 SES account in the current Amazon Web Services Region. Set to
true
to enable the automatic warm-up feature, or set tofalse
to disable it.
Result Syntax
[]
Result Details
Errors
- TooManyRequestsException:
Too many requests have been made to the operation.
- BadRequestException:
The input you provided is invalid.
PutAccountDetails
$result = $client->putAccountDetails
([/* ... */]); $promise = $client->putAccountDetailsAsync
([/* ... */]);
Update your Amazon SES account details.
Parameter Syntax
$result = $client->putAccountDetails([ 'AdditionalContactEmailAddresses' => ['<string>', ...], 'ContactLanguage' => 'EN|JA', 'MailType' => 'MARKETING|TRANSACTIONAL', // REQUIRED 'ProductionAccessEnabled' => true || false, 'UseCaseDescription' => '<string>', 'WebsiteURL' => '<string>', // REQUIRED ]);
Parameter Details
Members
- AdditionalContactEmailAddresses
-
- Type: Array of strings
Additional email addresses that you would like to be notified regarding Amazon SES matters.
- ContactLanguage
-
- Type: string
The language you would prefer to be contacted with.
- MailType
-
- Required: Yes
- Type: string
The type of email your account will send.
- ProductionAccessEnabled
-
- Type: boolean
Indicates whether or not your account should have production access in the current Amazon Web Services 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.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. - UseCaseDescription
-
- Type: string
A description of the types of email that you plan to send.
- WebsiteURL
-
- Required: Yes
- Type: string
The URL of your website. This information helps us better understand the type of content that you plan to send.
Result Syntax
[]
Result Details
Errors
- TooManyRequestsException:
Too many requests have been made to the operation.
- BadRequestException:
The input you provided is invalid.
- ConflictException:
If there is already an ongoing account details update under review.
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 tofalse
to disable email sending.If Amazon Web Services 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
Errors
- TooManyRequestsException:
Too many requests have been made to the operation.
- BadRequestException:
The input you provided is invalid.
PutAccountSuppressionAttributes
$result = $client->putAccountSuppressionAttributes
([/* ... */]); $promise = $client->putAccountSuppressionAttributesAsync
([/* ... */]);
Change the settings for the account-level suppression list.
Parameter Syntax
$result = $client->putAccountSuppressionAttributes([ 'SuppressedReasons' => ['<string>', ...], ]);
Parameter Details
Members
- SuppressedReasons
-
- Type: Array of strings
A list that contains the reasons that email addresses will be automatically added to the suppression list for your account. This list can contain any or all of the following:
-
COMPLAINT
– Amazon SES adds an email address to the suppression list for your account when a message sent to that address results in a complaint. -
BOUNCE
– Amazon SES adds an email address to the suppression list for your account when a message sent to that address results in a hard bounce.
Result Syntax
[]
Result Details
Errors
- TooManyRequestsException:
Too many requests have been made to the operation.
- BadRequestException:
The input you provided is invalid.
PutAccountVdmAttributes
$result = $client->putAccountVdmAttributes
([/* ... */]); $promise = $client->putAccountVdmAttributesAsync
([/* ... */]);
Update your Amazon SES account VDM attributes.
You can execute this operation no more than once per second.
Parameter Syntax
$result = $client->putAccountVdmAttributes([ 'VdmAttributes' => [ // REQUIRED 'DashboardAttributes' => [ 'EngagementMetrics' => 'ENABLED|DISABLED', ], 'GuardianAttributes' => [ 'OptimizedSharedDelivery' => 'ENABLED|DISABLED', ], 'VdmEnabled' => 'ENABLED|DISABLED', // REQUIRED ], ]);
Parameter Details
Members
- VdmAttributes
-
- Required: Yes
- Type: VdmAttributes structure
The VDM attributes that you wish to apply to your Amazon SES account.
Result Syntax
[]
Result Details
Errors
- BadRequestException:
The input you provided is invalid.
- TooManyRequestsException:
Too many requests have been made to the operation.
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 'MaxDeliverySeconds' => <integer>, 'SendingPoolName' => '<string>', 'TlsPolicy' => 'REQUIRE|OPTIONAL', ]);
Parameter Details
Members
- ConfigurationSetName
-
- Required: Yes
- Type: string
The name of the configuration set to associate with a dedicated IP pool.
- MaxDeliverySeconds
-
- Type: long (int|float)
The maximum amount of time, in seconds, that Amazon SES API v2 will attempt delivery of email. If specified, the value must greater than or equal to 300 seconds (5 minutes) and less than or equal to 50400 seconds (840 minutes).
- SendingPoolName
-
- Type: string
The name of the dedicated IP pool 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 isOptional
, messages can be delivered in plain text if a TLS connection can't be established.
Result Syntax
[]
Result Details
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 Amazon Web Services 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.
- ReputationMetricsEnabled
-
- Type: boolean
If
true
, tracking of reputation metrics is enabled for the configuration set. Iffalse
, tracking of reputation metrics is disabled for the configuration set.
Result Syntax
[]
Result Details
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 Amazon Web Services 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 to enable or disable email sending for.
- SendingEnabled
-
- Type: boolean
If
true
, email sending is enabled for the configuration set. Iffalse
, email sending is disabled for the configuration set.
Result Syntax
[]
Result Details
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.
PutConfigurationSetSuppressionOptions
$result = $client->putConfigurationSetSuppressionOptions
([/* ... */]); $promise = $client->putConfigurationSetSuppressionOptionsAsync
([/* ... */]);
Specify the account suppression list preferences for a configuration set.
Parameter Syntax
$result = $client->putConfigurationSetSuppressionOptions([ 'ConfigurationSetName' => '<string>', // REQUIRED 'SuppressedReasons' => ['<string>', ...], ]);
Parameter Details
Members
- ConfigurationSetName
-
- Required: Yes
- Type: string
The name of the configuration set to change the suppression list preferences for.
- SuppressedReasons
-
- Type: Array of strings
A list that contains the reasons that email addresses are automatically added to the suppression list for your account. This list can contain any or all of the following:
-
COMPLAINT
– Amazon SES adds an email address to the suppression list for your account when a message sent to that address results in a complaint. -
BOUNCE
– Amazon SES adds an email address to the suppression list for your account when a message sent to that address results in a hard bounce.
Result Syntax
[]
Result Details
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.
Parameter Syntax
$result = $client->putConfigurationSetTrackingOptions([ 'ConfigurationSetName' => '<string>', // REQUIRED 'CustomRedirectDomain' => '<string>', 'HttpsPolicy' => 'REQUIRE|REQUIRE_OPEN_ONLY|OPTIONAL', ]);
Parameter Details
Members
- ConfigurationSetName
-
- Required: Yes
- Type: string
The name of the configuration set.
- CustomRedirectDomain
-
- Type: string
The domain to use to track open and click events.
- HttpsPolicy
-
- Type: string
The https policy to use for tracking open and click events. If the value is OPTIONAL or HttpsPolicy is not specified, the open trackers use HTTP and click tracker use the original protocol of the link. If the value is REQUIRE, both open and click tracker uses HTTPS and if the value is REQUIRE_OPEN_ONLY open tracker uses HTTPS and link tracker is same as original protocol of the link.
Result Syntax
[]
Result Details
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.
PutConfigurationSetVdmOptions
$result = $client->putConfigurationSetVdmOptions
([/* ... */]); $promise = $client->putConfigurationSetVdmOptionsAsync
([/* ... */]);
Specify VDM preferences for email that you send using the configuration set.
You can execute this operation no more than once per second.
Parameter Syntax
$result = $client->putConfigurationSetVdmOptions([ 'ConfigurationSetName' => '<string>', // REQUIRED 'VdmOptions' => [ 'DashboardOptions' => [ 'EngagementMetrics' => 'ENABLED|DISABLED', ], 'GuardianOptions' => [ 'OptimizedSharedDelivery' => 'ENABLED|DISABLED', ], ], ]);
Parameter Details
Members
- ConfigurationSetName
-
- Required: Yes
- Type: string
The name of the configuration set.
- VdmOptions
-
- Type: VdmOptions structure
The VDM options to apply to the configuration set.
Result Syntax
[]
Result Details
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 Web Services 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 Web Services account.
Result Syntax
[]
Result Details
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.
PutDedicatedIpPoolScalingAttributes
$result = $client->putDedicatedIpPoolScalingAttributes
([/* ... */]); $promise = $client->putDedicatedIpPoolScalingAttributesAsync
([/* ... */]);
Used to convert a dedicated IP pool to a different scaling mode.
MANAGED
pools cannot be converted to STANDARD
scaling mode.
Parameter Syntax
$result = $client->putDedicatedIpPoolScalingAttributes([ 'PoolName' => '<string>', // REQUIRED 'ScalingMode' => 'STANDARD|MANAGED', // REQUIRED ]);
Parameter Details
Members
- PoolName
-
- Required: Yes
- Type: string
The name of the dedicated IP pool.
- ScalingMode
-
- Required: Yes
- Type: string
The scaling mode to apply to the dedicated IP pool.
Changing the scaling mode from
MANAGED
toSTANDARD
is not supported.
Result Syntax
[]
Result Details
Errors
- NotFoundException:
The resource you attempted to access doesn't exist.
- ConcurrentModificationException:
The resource is being modified by another operation or thread.
- TooManyRequestsException:
Too many requests have been made to the operation.
- BadRequestException:
The input you provided is invalid.
Examples
Example 1: Used to convert a dedicated IP pool to a different scaling mode.
This example converts a dedicated IP pool from STANDARD to MANAGED.
$result = $client->putDedicatedIpPoolScalingAttributes([ 'PoolName' => 'sample-ses-pool', 'ScalingMode' => 'MANAGED', ]);
Result syntax:
[ ]
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
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. When you enable the Deliverability dashboard, you gain access to reputation, deliverability, and other metrics for the domains that you use to send email. 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 SES and other Amazon Web Services services. For more information about the features and cost of a Deliverability dashboard subscription, see Amazon SES 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. 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
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.
PutEmailIdentityConfigurationSetAttributes
$result = $client->putEmailIdentityConfigurationSetAttributes
([/* ... */]); $promise = $client->putEmailIdentityConfigurationSetAttributesAsync
([/* ... */]);
Used to associate a configuration set with an email identity.
Parameter Syntax
$result = $client->putEmailIdentityConfigurationSetAttributes([ 'ConfigurationSetName' => '<string>', 'EmailIdentity' => '<string>', // REQUIRED ]);
Parameter Details
Members
- ConfigurationSetName
-
- Type: string
The configuration set to associate with an email identity.
- EmailIdentity
-
- Required: Yes
- Type: string
The email address or domain to associate with a configuration set.
Result Syntax
[]
Result Details
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.
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.
- SigningEnabled
-
- Type: boolean
Sets the DKIM signing configuration for the identity.
When you set this value
true
, then the messages that are sent from the identity are signed using DKIM. If you set this value tofalse
, your messages are sent without DKIM signing.
Result Syntax
[]
Result Details
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.
PutEmailIdentityDkimSigningAttributes
$result = $client->putEmailIdentityDkimSigningAttributes
([/* ... */]); $promise = $client->putEmailIdentityDkimSigningAttributesAsync
([/* ... */]);
Used to configure or change the DKIM authentication settings for an email domain identity. You can use this operation to do any of the following:
-
Update the signing attributes for an identity that uses Bring Your Own DKIM (BYODKIM).
-
Update the key length that should be used for Easy DKIM.
-
Change from using no DKIM authentication to using Easy DKIM.
-
Change from using no DKIM authentication to using BYODKIM.
-
Change from using Easy DKIM to using BYODKIM.
-
Change from using BYODKIM to using Easy DKIM.
Parameter Syntax
$result = $client->putEmailIdentityDkimSigningAttributes([ 'EmailIdentity' => '<string>', // REQUIRED 'SigningAttributes' => [ 'DomainSigningAttributesOrigin' => 'AWS_SES|EXTERNAL|AWS_SES_AF_SOUTH_1|AWS_SES_EU_NORTH_1|AWS_SES_AP_SOUTH_1|AWS_SES_EU_WEST_3|AWS_SES_EU_WEST_2|AWS_SES_EU_SOUTH_1|AWS_SES_EU_WEST_1|AWS_SES_AP_NORTHEAST_3|AWS_SES_AP_NORTHEAST_2|AWS_SES_ME_SOUTH_1|AWS_SES_AP_NORTHEAST_1|AWS_SES_IL_CENTRAL_1|AWS_SES_SA_EAST_1|AWS_SES_CA_CENTRAL_1|AWS_SES_AP_SOUTHEAST_1|AWS_SES_AP_SOUTHEAST_2|AWS_SES_AP_SOUTHEAST_3|AWS_SES_EU_CENTRAL_1|AWS_SES_US_EAST_1|AWS_SES_US_EAST_2|AWS_SES_US_WEST_1|AWS_SES_US_WEST_2', 'DomainSigningPrivateKey' => '<string>', 'DomainSigningSelector' => '<string>', 'NextSigningKeyLength' => 'RSA_1024_BIT|RSA_2048_BIT', ], 'SigningAttributesOrigin' => 'AWS_SES|EXTERNAL|AWS_SES_AF_SOUTH_1|AWS_SES_EU_NORTH_1|AWS_SES_AP_SOUTH_1|AWS_SES_EU_WEST_3|AWS_SES_EU_WEST_2|AWS_SES_EU_SOUTH_1|AWS_SES_EU_WEST_1|AWS_SES_AP_NORTHEAST_3|AWS_SES_AP_NORTHEAST_2|AWS_SES_ME_SOUTH_1|AWS_SES_AP_NORTHEAST_1|AWS_SES_IL_CENTRAL_1|AWS_SES_SA_EAST_1|AWS_SES_CA_CENTRAL_1|AWS_SES_AP_SOUTHEAST_1|AWS_SES_AP_SOUTHEAST_2|AWS_SES_AP_SOUTHEAST_3|AWS_SES_EU_CENTRAL_1|AWS_SES_US_EAST_1|AWS_SES_US_EAST_2|AWS_SES_US_WEST_1|AWS_SES_US_WEST_2', // REQUIRED ]);
Parameter Details
Members
- EmailIdentity
-
- Required: Yes
- Type: string
The email identity.
- SigningAttributes
-
- Type: DkimSigningAttributes structure
An object that contains information about the private key and selector that you want to use to configure DKIM for the identity for Bring Your Own DKIM (BYODKIM) for the identity, or, configures the key length to be used for Easy DKIM.
- SigningAttributesOrigin
-
- Required: Yes
- Type: string
The method to use to configure DKIM for the identity. There are the following possible values:
-
AWS_SES
– Configure DKIM for the identity by using Easy DKIM. -
EXTERNAL
– Configure DKIM for the identity by using Bring Your Own DKIM (BYODKIM).
Result Syntax
[ 'DkimStatus' => 'PENDING|SUCCESS|FAILED|TEMPORARY_FAILURE|NOT_STARTED', 'DkimTokens' => ['<string>', ...], ]
Result Details
Members
- DkimStatus
-
- Type: string
The DKIM authentication status of the identity. Amazon SES determines the authentication status by searching for specific records in the DNS configuration for your domain. If you used Easy DKIM to set up DKIM authentication, Amazon SES tries to find three unique CNAME records in the DNS configuration for your domain.
If you provided a public key to perform DKIM authentication, Amazon SES tries to find a TXT record that uses the selector that you specified. The value of the TXT record must be a public key that's paired with the private key that you specified in the process of creating the identity.
The status can be one of the following:
-
PENDING
– The verification process was initiated, but Amazon SES hasn't yet detected the DKIM records in the DNS configuration for the domain. -
SUCCESS
– The verification process completed successfully. -
FAILED
– The verification process failed. This typically occurs when Amazon SES fails to find the DKIM records in the DNS configuration of the domain. -
TEMPORARY_FAILURE
– A temporary issue is preventing Amazon SES from determining the DKIM authentication status of the domain. -
NOT_STARTED
– The DKIM verification process hasn't been initiated for the domain.
- DkimTokens
-
- Type: Array of strings
If you used Easy DKIM to configure DKIM authentication for the domain, then this object contains 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 SES detects these records in the DNS configuration for your domain, the DKIM authentication process is complete.
If you configured DKIM authentication for the domain by providing your own public-private key pair, then this object contains the selector that's associated with your public key.
Regardless of the DKIM authentication method you use, Amazon SES searches for the appropriate records in the DNS configuration of the domain for up to 72 hours.
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.
If the value is true
, you receive email notifications when bounce or complaint events occur. These notifications are sent to the address that you specified in the Return-Path
header of the original email.
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 (for example, by setting up an event destination), you receive 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
, you receive email notifications when bounce or complaint events occur. These notifications are sent to the address that you specified in theReturn-Path
header of the original email.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 (for example, by setting up an event destination), you receive an email notification when these events occur (even if this setting is disabled).
- EmailIdentity
-
- Required: Yes
- Type: string
The email identity.
Result Syntax
[]
Result Details
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 to take if the required MX record isn't found when you send an email. When you set this value to
UseDefaultValue
, the mail is sent using amazonses.com as the MAIL FROM domain. When you set this value toRejectMessage
, the Amazon SES API v2 returns aMailFromDomainNotVerified
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
, andTemporaryFailure
states. - EmailIdentity
-
- Required: Yes
- Type: string
The verified email identity.
- 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
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.
PutSuppressedDestination
$result = $client->putSuppressedDestination
([/* ... */]); $promise = $client->putSuppressedDestinationAsync
([/* ... */]);
Adds an email address to the suppression list for your account.
Parameter Syntax
$result = $client->putSuppressedDestination([ 'EmailAddress' => '<string>', // REQUIRED 'Reason' => 'BOUNCE|COMPLAINT', // REQUIRED ]);
Parameter Details
Members
- EmailAddress
-
- Required: Yes
- Type: string
The email address that should be added to the suppression list for your account.
- Reason
-
- Required: Yes
- Type: string
The factors that should cause the email address to be added to the suppression list for your account.
Result Syntax
[]
Result Details
Errors
- BadRequestException:
The input you provided is invalid.
- TooManyRequestsException:
Too many requests have been made to the operation.
SendBulkEmail
$result = $client->sendBulkEmail
([/* ... */]); $promise = $client->sendBulkEmailAsync
([/* ... */]);
Composes an email message to multiple destinations.
Parameter Syntax
$result = $client->sendBulkEmail([ 'BulkEmailEntries' => [ // REQUIRED [ 'Destination' => [ // REQUIRED 'BccAddresses' => ['<string>', ...], 'CcAddresses' => ['<string>', ...], 'ToAddresses' => ['<string>', ...], ], 'ReplacementEmailContent' => [ 'ReplacementTemplate' => [ 'ReplacementTemplateData' => '<string>', ], ], 'ReplacementHeaders' => [ [ 'Name' => '<string>', // REQUIRED 'Value' => '<string>', // REQUIRED ], // ... ], 'ReplacementTags' => [ [ 'Name' => '<string>', // REQUIRED 'Value' => '<string>', // REQUIRED ], // ... ], ], // ... ], 'ConfigurationSetName' => '<string>', 'DefaultContent' => [ // REQUIRED 'Template' => [ 'Headers' => [ [ 'Name' => '<string>', // REQUIRED 'Value' => '<string>', // REQUIRED ], // ... ], 'TemplateArn' => '<string>', 'TemplateContent' => [ 'Html' => '<string>', 'Subject' => '<string>', 'Text' => '<string>', ], 'TemplateData' => '<string>', 'TemplateName' => '<string>', ], ], 'DefaultEmailTags' => [ [ 'Name' => '<string>', // REQUIRED 'Value' => '<string>', // REQUIRED ], // ... ], 'EndpointId' => '<string>', 'FeedbackForwardingEmailAddress' => '<string>', 'FeedbackForwardingEmailAddressIdentityArn' => '<string>', 'FromEmailAddress' => '<string>', 'FromEmailAddressIdentityArn' => '<string>', 'ReplyToAddresses' => ['<string>', ...], ]);
Parameter Details
Members
- BulkEmailEntries
-
- Required: Yes
- Type: Array of BulkEmailEntry structures
The list of bulk email entry objects.
- ConfigurationSetName
-
- Type: string
The name of the configuration set to use when sending the email.
- DefaultContent
-
- Required: Yes
- Type: BulkEmailContent structure
An object that contains the body of the message. You can specify a template message.
- DefaultEmailTags
-
- 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. - EndpointId
-
- Type: string
The ID of the multi-region endpoint (global-endpoint).
- FeedbackForwardingEmailAddress
-
- Type: string
The address that you want bounce and complaint notifications to be sent to.
- FeedbackForwardingEmailAddressIdentityArn
-
- Type: string
This parameter is used only for sending authorization. It is the ARN of the identity that is associated with the sending authorization policy that permits you to use the email address specified in the
FeedbackForwardingEmailAddress
parameter.For example, if the owner of example.com (which has ARN arn:aws:ses:us-east-1:123456789012:identity/example.com) attaches a policy to it that authorizes you to use feedback@example.com, then you would specify the
FeedbackForwardingEmailAddressIdentityArn
to be arn:aws:ses:us-east-1:123456789012:identity/example.com, and theFeedbackForwardingEmailAddress
to be feedback@example.com.For more information about sending authorization, see the Amazon SES Developer Guide.
- FromEmailAddress
-
- Type: string
The email address to use as the "From" address for the email. The address that you specify has to be verified.
- FromEmailAddressIdentityArn
-
- Type: string
This parameter is used only for sending authorization. It is the ARN of the identity that is associated with the sending authorization policy that permits you to use the email address specified in the
FromEmailAddress
parameter.For example, if the owner of example.com (which has ARN arn:aws:ses:us-east-1:123456789012:identity/example.com) attaches a policy to it that authorizes you to use sender@example.com, then you would specify the
FromEmailAddressIdentityArn
to be arn:aws:ses:us-east-1:123456789012:identity/example.com, and theFromEmailAddress
to be sender@example.com.For more information about sending authorization, see the Amazon SES Developer Guide.
- 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
[ 'BulkEmailEntryResults' => [ [ 'Error' => '<string>', 'MessageId' => '<string>', 'Status' => 'SUCCESS|MESSAGE_REJECTED|MAIL_FROM_DOMAIN_NOT_VERIFIED|CONFIGURATION_SET_NOT_FOUND|TEMPLATE_NOT_FOUND|ACCOUNT_SUSPENDED|ACCOUNT_THROTTLED|ACCOUNT_DAILY_QUOTA_EXCEEDED|INVALID_SENDING_POOL_NAME|ACCOUNT_SENDING_PAUSED|CONFIGURATION_SET_SENDING_PAUSED|INVALID_PARAMETER|TRANSIENT_FAILURE|FAILED', ], // ... ], ]
Result Details
Members
- BulkEmailEntryResults
-
- Required: Yes
- Type: Array of BulkEmailEntryResult structures
One object per intended recipient. Check each response object and retry any messages with a failure status.
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.
SendCustomVerificationEmail
$result = $client->sendCustomVerificationEmail
([/* ... */]); $promise = $client->sendCustomVerificationEmailAsync
([/* ... */]);
Adds an email address to the list of identities for your Amazon SES account in the current Amazon Web Services Region and attempts to verify it. As a result of executing this operation, a customized verification email is sent to the specified address.
To use this operation, you must first create a custom verification email template. For more information about creating and using custom verification email templates, see Using custom verification email templates in the Amazon SES Developer Guide.
You can execute this operation no more than once per second.
Parameter Syntax
$result = $client->sendCustomVerificationEmail([ 'ConfigurationSetName' => '<string>', 'EmailAddress' => '<string>', // REQUIRED 'TemplateName' => '<string>', // REQUIRED ]);
Parameter Details
Members
- ConfigurationSetName
-
- Type: string
Name of a configuration set to use when sending the verification email.
- EmailAddress
-
- Required: Yes
- Type: string
The email address to verify.
- TemplateName
-
- Required: Yes
- Type: string
The name of the custom verification email template to use when sending the verification email.
Result Syntax
[ 'MessageId' => '<string>', ]
Result Details
Members
- MessageId
-
- Type: string
The unique message identifier returned from the
SendCustomVerificationEmail
operation.
Errors
- TooManyRequestsException:
Too many requests have been made to the operation.
- LimitExceededException:
There are too many instances of the specified resource type.
- MessageRejected:
The message can't be sent because it contains invalid content.
- SendingPausedException:
The message can't be sent because the account's ability to send email is currently paused.
- 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.
SendEmail
$result = $client->sendEmail
([/* ... */]); $promise = $client->sendEmailAsync
([/* ... */]);
Sends an email message. You can use the Amazon SES API v2 to send the following 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 SES 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.
-
Templated – A message that contains personalization tags. When you send this type of email, Amazon SES API v2 automatically replaces the tags with values that you specify.
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 ], ], 'Headers' => [ [ 'Name' => '<string>', // REQUIRED 'Value' => '<string>', // REQUIRED ], // ... ], 'Subject' => [ // REQUIRED 'Charset' => '<string>', 'Data' => '<string>', // REQUIRED ], ], 'Template' => [ 'Headers' => [ [ 'Name' => '<string>', // REQUIRED 'Value' => '<string>', // REQUIRED ], // ... ], 'TemplateArn' => '<string>', 'TemplateContent' => [ 'Html' => '<string>', 'Subject' => '<string>', 'Text' => '<string>', ], 'TemplateData' => '<string>', 'TemplateName' => '<string>', ], ], 'Destination' => [ 'BccAddresses' => ['<string>', ...], 'CcAddresses' => ['<string>', ...], 'ToAddresses' => ['<string>', ...], ], 'EmailTags' => [ [ 'Name' => '<string>', // REQUIRED 'Value' => '<string>', // REQUIRED ], // ... ], 'EndpointId' => '<string>', 'FeedbackForwardingEmailAddress' => '<string>', 'FeedbackForwardingEmailAddressIdentityArn' => '<string>', 'FromEmailAddress' => '<string>', 'FromEmailAddressIdentityArn' => '<string>', 'ListManagementOptions' => [ 'ContactListName' => '<string>', // REQUIRED 'TopicName' => '<string>', ], 'ReplyToAddresses' => ['<string>', ...], ]);
Parameter Details
Members
- ConfigurationSetName
-
- Type: string
The name of the configuration set 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, Raw message, or a Templated message.
- Destination
-
- 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. - EndpointId
-
- Type: string
The ID of the multi-region endpoint (global-endpoint).
- FeedbackForwardingEmailAddress
-
- Type: string
The address that you want bounce and complaint notifications to be sent to.
- FeedbackForwardingEmailAddressIdentityArn
-
- Type: string
This parameter is used only for sending authorization. It is the ARN of the identity that is associated with the sending authorization policy that permits you to use the email address specified in the
FeedbackForwardingEmailAddress
parameter.For example, if the owner of example.com (which has ARN arn:aws:ses:us-east-1:123456789012:identity/example.com) attaches a policy to it that authorizes you to use feedback@example.com, then you would specify the
FeedbackForwardingEmailAddressIdentityArn
to be arn:aws:ses:us-east-1:123456789012:identity/example.com, and theFeedbackForwardingEmailAddress
to be feedback@example.com.For more information about sending authorization, see the Amazon SES Developer Guide.
- FromEmailAddress
-
- Type: string
The email address to use as the "From" address for the email. The address that you specify has to be verified.
- FromEmailAddressIdentityArn
-
- Type: string
This parameter is used only for sending authorization. It is the ARN of the identity that is associated with the sending authorization policy that permits you to use the email address specified in the
FromEmailAddress
parameter.For example, if the owner of example.com (which has ARN arn:aws:ses:us-east-1:123456789012:identity/example.com) attaches a policy to it that authorizes you to use sender@example.com, then you would specify the
FromEmailAddressIdentityArn
to be arn:aws:ses:us-east-1:123456789012:identity/example.com, and theFromEmailAddress
to be sender@example.com.For more information about sending authorization, see the Amazon SES Developer Guide.
For Raw emails, the
FromEmailAddressIdentityArn
value overrides the X-SES-SOURCE-ARN and X-SES-FROM-ARN headers specified in raw email message content. - ListManagementOptions
-
- Type: ListManagementOptions structure
An object used to specify a list or topic to which an email belongs, which will be used when a contact chooses to unsubscribe.
- 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 the message is accepted.
It's possible for Amazon SES to accept a message without sending it. For example, this can happen when the message that you're trying to send has an attachment that contains a virus, or when you send a templated email that contains invalid personalization content.
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. 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
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.
TestRenderEmailTemplate
$result = $client->testRenderEmailTemplate
([/* ... */]); $promise = $client->testRenderEmailTemplateAsync
([/* ... */]);
Creates a preview of the MIME content of an email when provided with a template and a set of replacement data.
You can execute this operation no more than once per second.
Parameter Syntax
$result = $client->testRenderEmailTemplate([ 'TemplateData' => '<string>', // REQUIRED 'TemplateName' => '<string>', // REQUIRED ]);
Parameter Details
Members
- TemplateData
-
- Required: Yes
- Type: string
A list of replacement values to apply to the template. This parameter is a JSON object, typically consisting of key-value pairs in which the keys correspond to replacement tags in the email template.
- TemplateName
-
- Required: Yes
- Type: string
The name of the template.
Result Syntax
[ 'RenderedTemplate' => '<string>', ]
Result Details
Members
- RenderedTemplate
-
- Required: Yes
- Type: string
The complete MIME message rendered by applying the data in the
TemplateData
parameter to the template specified in the TemplateName parameter.
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.
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:/v2/email/tags?ResourceArn=ResourceArn&TagKeys=Key1&TagKeys=Key2
Result Syntax
[]
Result Details
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.
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 EventBridge and associate a rule to send the event to the specified target.
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, 'EventBridgeDestination' => [ 'EventBusArn' => '<string>', // REQUIRED ], '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 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.
Result Syntax
[]
Result Details
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.
UpdateContact
$result = $client->updateContact
([/* ... */]); $promise = $client->updateContactAsync
([/* ... */]);
Updates a contact's preferences for a list.
You must specify all existing topic preferences in the TopicPreferences
object, not just the ones that need updating; otherwise, all your existing preferences will be removed.
Parameter Syntax
$result = $client->updateContact([ 'AttributesData' => '<string>', 'ContactListName' => '<string>', // REQUIRED 'EmailAddress' => '<string>', // REQUIRED 'TopicPreferences' => [ [ 'SubscriptionStatus' => 'OPT_IN|OPT_OUT', // REQUIRED 'TopicName' => '<string>', // REQUIRED ], // ... ], 'UnsubscribeAll' => true || false, ]);
Parameter Details
Members
- AttributesData
-
- Type: string
The attribute data attached to a contact.
- ContactListName
-
- Required: Yes
- Type: string
The name of the contact list.
- EmailAddress
-
- Required: Yes
- Type: string
The contact's email address.
- TopicPreferences
-
- Type: Array of TopicPreference structures
The contact's preference for being opted-in to or opted-out of a topic.
- UnsubscribeAll
-
- Type: boolean
A boolean value status noting if the contact is unsubscribed from all contact list topics.
Result Syntax
[]
Result Details
Errors
- BadRequestException:
The input you provided is invalid.
- TooManyRequestsException:
Too many requests have been made to the operation.
- NotFoundException:
The resource you attempted to access doesn't exist.
- ConcurrentModificationException:
The resource is being modified by another operation or thread.
UpdateContactList
$result = $client->updateContactList
([/* ... */]); $promise = $client->updateContactListAsync
([/* ... */]);
Updates contact list metadata. This operation does a complete replacement.
Parameter Syntax
$result = $client->updateContactList([ 'ContactListName' => '<string>', // REQUIRED 'Description' => '<string>', 'Topics' => [ [ 'DefaultSubscriptionStatus' => 'OPT_IN|OPT_OUT', // REQUIRED 'Description' => '<string>', 'DisplayName' => '<string>', // REQUIRED 'TopicName' => '<string>', // REQUIRED ], // ... ], ]);
Parameter Details
Members
- ContactListName
-
- Required: Yes
- Type: string
The name of the contact list.
- Description
-
- Type: string
A description of what the contact list is about.
- Topics
-
- Type: Array of Topic structures
An interest group, theme, or label within a list. A contact list can have multiple topics.
Result Syntax
[]
Result Details
Errors
- BadRequestException:
The input you provided is invalid.
- TooManyRequestsException:
Too many requests have been made to the operation.
- NotFoundException:
The resource you attempted to access doesn't exist.
- ConcurrentModificationException:
The resource is being modified by another operation or thread.
UpdateCustomVerificationEmailTemplate
$result = $client->updateCustomVerificationEmailTemplate
([/* ... */]); $promise = $client->updateCustomVerificationEmailTemplateAsync
([/* ... */]);
Updates an existing custom verification email template.
For more information about custom verification email templates, see Using custom verification email templates in the Amazon SES Developer Guide.
You can execute this operation no more than once per second.
Parameter Syntax
$result = $client->updateCustomVerificationEmailTemplate([ 'FailureRedirectionURL' => '<string>', // REQUIRED 'FromEmailAddress' => '<string>', // REQUIRED 'SuccessRedirectionURL' => '<string>', // REQUIRED 'TemplateContent' => '<string>', // REQUIRED 'TemplateName' => '<string>', // REQUIRED 'TemplateSubject' => '<string>', // REQUIRED ]);
Parameter Details
Members
- FailureRedirectionURL
-
- Required: Yes
- Type: string
The URL that the recipient of the verification email is sent to if his or her address is not successfully verified.
- FromEmailAddress
-
- Required: Yes
- Type: string
The email address that the custom verification email is sent from.
- SuccessRedirectionURL
-
- Required: Yes
- Type: string
The URL that the recipient of the verification email is sent to if his or her address is successfully verified.
- TemplateContent
-
- Required: Yes
- Type: string
The content of the custom verification email. The total size of the email must be less than 10 MB. The message body may contain HTML, with some limitations. For more information, see Custom verification email frequently asked questions in the Amazon SES Developer Guide.
- TemplateName
-
- Required: Yes
- Type: string
The name of the custom verification email template that you want to update.
- TemplateSubject
-
- Required: Yes
- Type: string
The subject line of the custom verification email.
Result Syntax
[]
Result Details
Errors
- NotFoundException:
The resource you attempted to access doesn't exist.
- BadRequestException:
The input you provided is invalid.
- TooManyRequestsException:
Too many requests have been made to the operation.
UpdateEmailIdentityPolicy
$result = $client->updateEmailIdentityPolicy
([/* ... */]); $promise = $client->updateEmailIdentityPolicyAsync
([/* ... */]);
Updates the specified sending authorization policy for the given identity (an email address or a domain). This API returns successfully even if a policy with the specified name does not exist.
This API is for the identity owner only. If you have not verified the identity, this API will return an error.
Sending authorization is a feature that enables an identity owner to authorize other senders to use its identities. For information about using sending authorization, see the Amazon SES Developer Guide.
You can execute this operation no more than once per second.
Parameter Syntax
$result = $client->updateEmailIdentityPolicy([ 'EmailIdentity' => '<string>', // REQUIRED 'Policy' => '<string>', // REQUIRED 'PolicyName' => '<string>', // REQUIRED ]);
Parameter Details
Members
- EmailIdentity
-
- Required: Yes
- Type: string
The email identity.
- Policy
-
- Required: Yes
- Type: string
The text of the policy in JSON format. The policy cannot exceed 4 KB.
For information about the syntax of sending authorization policies, see the Amazon SES Developer Guide.
- PolicyName
-
- Required: Yes
- Type: string
The name of the policy.
The policy name cannot exceed 64 characters and can only include alphanumeric characters, dashes, and underscores.
Result Syntax
[]
Result Details
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.
UpdateEmailTemplate
$result = $client->updateEmailTemplate
([/* ... */]); $promise = $client->updateEmailTemplateAsync
([/* ... */]);
Updates an email template. Email templates enable you to send personalized email to one or more destinations in a single API operation. For more information, see the Amazon SES Developer Guide.
You can execute this operation no more than once per second.
Parameter Syntax
$result = $client->updateEmailTemplate([ 'TemplateContent' => [ // REQUIRED 'Html' => '<string>', 'Subject' => '<string>', 'Text' => '<string>', ], 'TemplateName' => '<string>', // REQUIRED ]);
Parameter Details
Members
- TemplateContent
-
- Required: Yes
- Type: EmailTemplateContent structure
The content of the email template, composed of a subject line, an HTML part, and a text-only part.
- TemplateName
-
- Required: Yes
- Type: string
The name of the template.
Result Syntax
[]
Result Details
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
AccountDetails
Description
An object that contains information about your account details.
Members
- AdditionalContactEmailAddresses
-
- Type: Array of strings
Additional email addresses where updates are sent about your account review process.
- ContactLanguage
-
- Type: string
The language you would prefer for the case. The contact language can be one of
ENGLISH
orJAPANESE
. - MailType
-
- Type: string
The type of email your account is sending. The mail type can be one of the following:
-
MARKETING
– Most of your sending traffic is to keep your customers informed of your latest offering. -
TRANSACTIONAL
– Most of your sending traffic is to communicate during a transaction with a customer.
- ReviewDetails
-
- Type: ReviewDetails structure
Information about the review of the latest details you submitted.
- UseCaseDescription
-
- Type: string
A description of the types of email that you plan to send.
- WebsiteURL
-
- Type: string
The URL of your website. This information helps us better understand the type of content that you plan to send.
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
BatchGetMetricDataQuery
Description
Represents a single metric data query to include in a batch.
Members
- Dimensions
-
- Type: Associative array of custom strings keys (MetricDimensionName) to strings
An object that contains mapping between
MetricDimensionName
andMetricDimensionValue
to filter metrics by. - EndDate
-
- Required: Yes
- Type: timestamp (string|DateTime or anything parsable by strtotime)
Represents the end date for the query interval.
- Id
-
- Required: Yes
- Type: string
The query identifier.
- Metric
-
- Required: Yes
- Type: string
The queried metric. This can be one of the following:
-
SEND
– Emails sent eligible for tracking in the VDM dashboard. This excludes emails sent to the mailbox simulator and emails addressed to more than one recipient. -
COMPLAINT
– Complaints received for your account. This excludes complaints from the mailbox simulator, those originating from your account-level suppression list (if enabled), and those for emails addressed to more than one recipient -
PERMANENT_BOUNCE
– Permanent bounces - i.e. feedback received for emails sent to non-existent mailboxes. Excludes bounces from the mailbox simulator, those originating from your account-level suppression list (if enabled), and those for emails addressed to more than one recipient. -
TRANSIENT_BOUNCE
– Transient bounces - i.e. feedback received for delivery failures excluding issues with non-existent mailboxes. Excludes bounces from the mailbox simulator, and those for emails addressed to more than one recipient. -
OPEN
– Unique open events for emails including open trackers. Excludes opens for emails addressed to more than one recipient. -
CLICK
– Unique click events for emails including wrapped links. Excludes clicks for emails addressed to more than one recipient. -
DELIVERY
– Successful deliveries for email sending attempts. Excludes deliveries to the mailbox simulator and for emails addressed to more than one recipient. -
DELIVERY_OPEN
– Successful deliveries for email sending attempts. Excludes deliveries to the mailbox simulator, for emails addressed to more than one recipient, and emails without open trackers. -
DELIVERY_CLICK
– Successful deliveries for email sending attempts. Excludes deliveries to the mailbox simulator, for emails addressed to more than one recipient, and emails without click trackers. -
DELIVERY_COMPLAINT
– Successful deliveries for email sending attempts. Excludes deliveries to the mailbox simulator, for emails addressed to more than one recipient, and emails addressed to recipients hosted by ISPs with which Amazon SES does not have a feedback loop agreement.
- Namespace
-
- Required: Yes
- Type: string
The query namespace - e.g.
VDM
- StartDate
-
- Required: Yes
- Type: timestamp (string|DateTime or anything parsable by strtotime)
Represents the start date for the query interval.
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.
- 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.
Bounce
Description
Information about a Bounce
event.
Members
- BounceSubType
-
- Type: string
The subtype of the bounce, as determined by SES.
- BounceType
-
- Type: string
The type of the bounce, as determined by SES. Can be one of
UNDETERMINED
,TRANSIENT
, orPERMANENT
- DiagnosticCode
-
- Type: string
The status code issued by the reporting Message Transfer Authority (MTA). This field only appears if a delivery status notification (DSN) was attached to the bounce and the
Diagnostic-Code
was provided in the DSN.
BulkEmailContent
Description
An object that contains the body of the message. You can specify a template message.
Members
- Template
-
- Type: Template structure
The template to use for the bulk email message.
BulkEmailEntry
Members
- Destination
-
- Required: Yes
- Type: Destination structure
Represents the destination of the message, consisting of To:, CC:, and BCC: fields.
Amazon SES does not support the SMTPUTF8 extension, as described in RFC6531. For this reason, the local part of a destination email address (the part of the email address that precedes the @ sign) may only contain 7-bit ASCII characters. If the domain part of an address (the part after the @ sign) contains non-ASCII characters, they must be encoded using Punycode, as described in RFC3492.
- ReplacementEmailContent
-
- Type: ReplacementEmailContent structure
The
ReplacementEmailContent
associated with aBulkEmailEntry
. - ReplacementHeaders
-
- Type: Array of MessageHeader structures
The list of message headers associated with the
BulkEmailEntry
data type.-
Headers Not Present in
BulkEmailEntry
: If a header is specified inTemplate
but not inBulkEmailEntry
, the header fromTemplate
will be added to the outgoing email. -
Headers Present in
BulkEmailEntry
: If a header is specified inBulkEmailEntry
, it takes precedence over any header of the same name specified inTemplate
:-
If the header is also defined within
Template
, the value fromBulkEmailEntry
will replace the header's value in the email. -
If the header is not defined within
Template
, it will simply be added to the email as specified inBulkEmailEntry
.
-
- ReplacementTags
-
- 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
SendBulkTemplatedEmail
operation. Tags correspond to characteristics of the email that you define, so that you can publish email sending events.
BulkEmailEntryResult
Description
The result of the SendBulkEmail
operation of each specified BulkEmailEntry
.
Members
- Error
-
- Type: string
A description of an error that prevented a message being sent using the
SendBulkTemplatedEmail
operation. - MessageId
-
- Type: string
The unique message identifier returned from the
SendBulkTemplatedEmail
operation. - Status
-
- Type: string
The status of a message sent using the
SendBulkTemplatedEmail
operation.Possible values for this parameter include:
-
SUCCESS: Amazon SES accepted the message, and will attempt to deliver it to the recipients.
-
MESSAGE_REJECTED: The message was rejected because it contained a virus.
-
MAIL_FROM_DOMAIN_NOT_VERIFIED: The sender's email address or domain was not verified.
-
CONFIGURATION_SET_DOES_NOT_EXIST: The configuration set you specified does not exist.
-
TEMPLATE_DOES_NOT_EXIST: The template you specified does not exist.
-
ACCOUNT_SUSPENDED: Your account has been shut down because of issues related to your email sending practices.
-
ACCOUNT_THROTTLED: The number of emails you can send has been reduced because your account has exceeded its allocated sending limit.
-
ACCOUNT_DAILY_QUOTA_EXCEEDED: You have reached or exceeded the maximum number of emails you can send from your account in a 24-hour period.
-
INVALID_SENDING_POOL_NAME: The configuration set you specified refers to an IP pool that does not exist.
-
ACCOUNT_SENDING_PAUSED: Email sending for the Amazon SES account was disabled using the UpdateAccountSendingEnabled operation.
-
CONFIGURATION_SET_SENDING_PAUSED: Email sending for this configuration set was disabled using the UpdateConfigurationSetSendingEnabled operation.
-
INVALID_PARAMETER_VALUE: One or more of the parameters you specified when calling this operation was invalid. See the error message for additional information.
-
TRANSIENT_FAILURE: Amazon SES was unable to process your request because of a temporary issue.
-
FAILED: Amazon SES was unable to process your request. See the error message for additional information.
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 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:
-
Can only contain ASCII letters (a–z, A–Z), numbers (0–9), underscores (_), or dashes (-), at signs (@), and periods (.).
-
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 the Amazon SES API v2 finds the value of a dimension to publish to Amazon CloudWatch. To use the message tags that you specify using an
X-SES-MESSAGE-TAGS
header or a parameter to theSendEmail
orSendRawEmail
API, choosemessageTag
. To use your own email headers, chooseemailHeader
. To use link tags, chooselinkTags
.
Complaint
Description
Information about a Complaint
event.
Members
- ComplaintFeedbackType
-
- Type: string
The value of the
Feedback-Type
field from the feedback report received from the ISP. - ComplaintSubType
-
- Type: string
Can either be
null
orOnAccountSuppressionList
. If the value isOnAccountSuppressionList
, SES accepted the message, but didn't attempt to send it because it was on the account-level suppression list.
ConcurrentModificationException
Description
The resource is being modified by another operation or thread.
Members
ConflictException
Description
If there is already an ongoing account details update under review.
Members
Contact
Description
A contact is the end-user who is receiving the email.
Members
- EmailAddress
-
- Type: string
The contact's email address.
- LastUpdatedTimestamp
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
A timestamp noting the last time the contact's information was updated.
- TopicDefaultPreferences
-
- Type: Array of TopicPreference structures
The default topic preferences applied to the contact.
- TopicPreferences
-
- Type: Array of TopicPreference structures
The contact's preference for being opted-in to or opted-out of a topic.
- UnsubscribeAll
-
- Type: boolean
A boolean value status noting if the contact is unsubscribed from all contact list topics.
ContactList
Description
A list that contains contacts that have subscribed to a particular topic or topics.
Members
- ContactListName
-
- Type: string
The name of the contact list.
- LastUpdatedTimestamp
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
A timestamp noting the last time the contact list was updated.
ContactListDestination
Description
An object that contains details about the action of a contact list.
Members
- ContactListImportAction
-
- Required: Yes
- Type: string
>The type of action to perform on the addresses. The following are the possible values:
-
PUT: add the addresses to the contact list. If the record already exists, it will override it with the new value.
-
DELETE: remove the addresses from the contact list.
- ContactListName
-
- Required: Yes
- Type: string
The name of the contact list.
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 SES 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
, orShift_JIS
. - Data
-
- Required: Yes
- Type: string
The content of the message itself.
CustomVerificationEmailTemplateMetadata
Description
Contains information about a custom verification email template.
Members
- FailureRedirectionURL
-
- Type: string
The URL that the recipient of the verification email is sent to if his or her address is not successfully verified.
- FromEmailAddress
-
- Type: string
The email address that the custom verification email is sent from.
- SuccessRedirectionURL
-
- Type: string
The URL that the recipient of the verification email is sent to if his or her address is successfully verified.
- TemplateName
-
- Type: string
The name of the custom verification email template.
- TemplateSubject
-
- Type: string
The subject line of the custom verification email.
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.
DashboardAttributes
Description
An object containing additional settings for your VDM configuration as applicable to the Dashboard.
Members
- EngagementMetrics
-
- Type: string
Specifies the status of your VDM engagement metrics collection. Can be one of the following:
-
ENABLED
– Amazon SES enables engagement metrics for your account. -
DISABLED
– Amazon SES disables engagement metrics for your account.
DashboardOptions
Description
An object containing additional settings for your VDM configuration as applicable to the Dashboard.
Members
- EngagementMetrics
-
- Type: string
Specifies the status of your VDM engagement metrics collection. Can be one of the following:
-
ENABLED
– Amazon SES enables engagement metrics for the configuration set. -
DISABLED
– Amazon SES disables engagement metrics for the configuration set.
DedicatedIp
Description
Contains information about a dedicated IP address that is associated with your Amazon SES account.
To learn more about requesting dedicated IP addresses, see Requesting and Relinquishing Dedicated IP Addresses in the Amazon SES Developer Guide.
Members
- Ip
-
- Required: Yes
- Type: string
An IPv4 address.
- 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.
DedicatedIpPool
Description
Contains information about a dedicated IP pool.
Members
- PoolName
-
- Required: Yes
- Type: string
The name of the dedicated IP pool.
- ScalingMode
-
- Required: Yes
- Type: string
The type of the dedicated IP pool.
-
STANDARD
– A dedicated IP pool where you can control which IPs are part of the pool. -
MANAGED
– A dedicated IP pool where the reputation and number of IPs are automatically managed by Amazon SES.
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.
- 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 isCOMPLETE
, then the test is finished, and you can use theGetDeliverabilityTestReport
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
- MaxDeliverySeconds
-
- Type: long (int|float)
The maximum amount of time, in seconds, that Amazon SES API v2 will attempt delivery of email. If specified, the value must greater than or equal to 300 seconds (5 minutes) and less than or equal to 50400 seconds (840 minutes).
- SendingPoolName
-
- Type: string
The name of the dedicated IP pool 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 isOptional
, 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.
Amazon SES does not support the SMTPUTF8 extension, as described in RFC6531. For this reason, the local part of a destination email address (the part of the email address that precedes the @ sign) may only contain 7-bit ASCII characters. If the domain part of an address (the part after the @ sign) contains non-ASCII characters, they must be encoded using Punycode, as described in RFC3492.
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.
Details
Description
An object that contains configuration details of multi-region endpoint (global-endpoint).
Members
- RoutesDetails
-
- Required: Yes
- Type: Array of RouteDetails structures
A list of route configuration details. Must contain exactly one route configuration.
DkimAttributes
Description
An object that contains information about the DKIM authentication status for an email identity.
Amazon SES determines the authentication status by searching for specific records in the DNS configuration for the domain. If you used Easy DKIM to set up DKIM authentication, Amazon SES tries to find three unique CNAME records in the DNS configuration for your domain. If you provided a public key to perform DKIM authentication, Amazon SES tries to find a TXT record that uses the selector that you specified. The value of the TXT record must be a public key that's paired with the private key that you specified in the process of creating the identity
Members
- CurrentSigningKeyLength
-
- Type: string
[Easy DKIM] The key length of the DKIM key pair in use.
- LastKeyGenerationTimestamp
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
[Easy DKIM] The last time a key pair was generated for this identity.
- NextSigningKeyLength
-
- Type: string
[Easy DKIM] The key length of the future DKIM key pair to be generated. This can be changed at most once per day.
- SigningAttributesOrigin
-
- Type: string
A string that indicates how DKIM was configured for the identity. These are the possible values:
-
AWS_SES
– Indicates that DKIM was configured for the identity by using Easy DKIM. -
EXTERNAL
– Indicates that DKIM was configured for the identity by using Bring Your Own DKIM (BYODKIM). -
AWS_SES_AF_SOUTH_1
– Indicates that DKIM was configured for the identity by replicating signing attributes from a parent identity in Africa (Cape Town) region using Deterministic Easy-DKIM (DEED). -
AWS_SES_EU_NORTH_1
– Indicates that DKIM was configured for the identity by replicating signing attributes from a parent identity in Europe (Stockholm) region using Deterministic Easy-DKIM (DEED). -
AWS_SES_AP_SOUTH_1
– Indicates that DKIM was configured for the identity by replicating signing attributes from a parent identity in Asia Pacific (Mumbai) region using Deterministic Easy-DKIM (DEED). -
AWS_SES_EU_WEST_3
– Indicates that DKIM was configured for the identity by replicating signing attributes from a parent identity in Europe (Paris) region using Deterministic Easy-DKIM (DEED). -
AWS_SES_EU_WEST_2
– Indicates that DKIM was configured for the identity by replicating signing attributes from a parent identity in Europe (London) region using Deterministic Easy-DKIM (DEED). -
AWS_SES_EU_SOUTH_1
– Indicates that DKIM was configured for the identity by replicating signing attributes from a parent identity in Europe (Milan) region using Deterministic Easy-DKIM (DEED). -
AWS_SES_EU_WEST_1
– Indicates that DKIM was configured for the identity by replicating signing attributes from a parent identity in Europe (Ireland) region using Deterministic Easy-DKIM (DEED). -
AWS_SES_AP_NORTHEAST_3
– Indicates that DKIM was configured for the identity by replicating signing attributes from a parent identity in Asia Pacific (Osaka) region using Deterministic Easy-DKIM (DEED). -
AWS_SES_AP_NORTHEAST_2
– Indicates that DKIM was configured for the identity by replicating signing attributes from a parent identity in Asia Pacific (Seoul) region using Deterministic Easy-DKIM (DEED). -
AWS_SES_ME_SOUTH_1
– Indicates that DKIM was configured for the identity by replicating signing attributes from a parent identity in Middle East (Bahrain) region using Deterministic Easy-DKIM (DEED). -
AWS_SES_AP_NORTHEAST_1
– Indicates that DKIM was configured for the identity by replicating signing attributes from a parent identity in Asia Pacific (Tokyo) region using Deterministic Easy-DKIM (DEED). -
AWS_SES_IL_CENTRAL_1
– Indicates that DKIM was configured for the identity by replicating signing attributes from a parent identity in Israel (Tel Aviv) region using Deterministic Easy-DKIM (DEED). -
AWS_SES_SA_EAST_1
– Indicates that DKIM was configured for the identity by replicating signing attributes from a parent identity in South America (São Paulo) region using Deterministic Easy-DKIM (DEED). -
AWS_SES_CA_CENTRAL_1
– Indicates that DKIM was configured for the identity by replicating signing attributes from a parent identity in Canada (Central) region using Deterministic Easy-DKIM (DEED). -
AWS_SES_AP_SOUTHEAST_1
– Indicates that DKIM was configured for the identity by replicating signing attributes from a parent identity in Asia Pacific (Singapore) region using Deterministic Easy-DKIM (DEED). -
AWS_SES_AP_SOUTHEAST_2
– Indicates that DKIM was configured for the identity by replicating signing attributes from a parent identity in Asia Pacific (Sydney) region using Deterministic Easy-DKIM (DEED). -
AWS_SES_AP_SOUTHEAST_3
– Indicates that DKIM was configured for the identity by replicating signing attributes from a parent identity in Asia Pacific (Jakarta) region using Deterministic Easy-DKIM (DEED). -
AWS_SES_EU_CENTRAL_1
– Indicates that DKIM was configured for the identity by replicating signing attributes from a parent identity in Europe (Frankfurt) region using Deterministic Easy-DKIM (DEED). -
AWS_SES_US_EAST_1
– Indicates that DKIM was configured for the identity by replicating signing attributes from a parent identity in US East (N. Virginia) region using Deterministic Easy-DKIM (DEED). -
AWS_SES_US_EAST_2
– Indicates that DKIM was configured for the identity by replicating signing attributes from a parent identity in US East (Ohio) region using Deterministic Easy-DKIM (DEED). -
AWS_SES_US_WEST_1
– Indicates that DKIM was configured for the identity by replicating signing attributes from a parent identity in US West (N. California) region using Deterministic Easy-DKIM (DEED). -
AWS_SES_US_WEST_2
– Indicates that DKIM was configured for the identity by replicating signing attributes from a parent identity in US West (Oregon) region using Deterministic Easy-DKIM (DEED).
- SigningEnabled
-
- Type: boolean
If the value is
true
, then the messages that you send from the identity are signed using DKIM. If the value isfalse
, then the messages that you send from the identity aren't DKIM-signed. - Status
-
- Type: string
Describes whether or not Amazon SES has successfully located the DKIM records in the DNS records for the domain. The status can be one of the following:
-
PENDING
– The verification process was initiated, but Amazon SES hasn't yet detected the DKIM records in the DNS configuration for the domain. -
SUCCESS
– The verification process completed successfully. -
FAILED
– The verification process failed. This typically occurs when Amazon SES fails to find the DKIM records in the DNS configuration of the domain. -
TEMPORARY_FAILURE
– A temporary issue is preventing Amazon SES from determining the DKIM authentication status of the domain. -
NOT_STARTED
– The DKIM verification process hasn't been initiated for the domain.
- Tokens
-
- Type: Array of strings
If you used Easy DKIM to configure DKIM authentication for the domain, then this object contains 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 SES detects these records in the DNS configuration for your domain, the DKIM authentication process is complete.
If you configured DKIM authentication for the domain by providing your own public-private key pair, then this object contains the selector for the public key.
Regardless of the DKIM authentication method you use, Amazon SES searches for the appropriate records in the DNS configuration of the domain for up to 72 hours.
DkimSigningAttributes
Description
An object that contains configuration for Bring Your Own DKIM (BYODKIM), or, for Easy DKIM
Members
- DomainSigningAttributesOrigin
-
- Type: string
The attribute to use for configuring DKIM for the identity depends on the operation:
-
For
PutEmailIdentityDkimSigningAttributes
:-
None of the values are allowed - use the
SigningAttributesOrigin
parameter instead
-
-
For
CreateEmailIdentity
when replicating a parent identity's DKIM configuration:-
Allowed values: All values except
AWS_SES
andEXTERNAL
-
-
AWS_SES
– Configure DKIM for the identity by using Easy DKIM. -
EXTERNAL
– Configure DKIM for the identity by using Bring Your Own DKIM (BYODKIM). -
AWS_SES_AF_SOUTH_1
– Configure DKIM for the identity by replicating from a parent identity in Africa (Cape Town) region using Deterministic Easy-DKIM (DEED). -
AWS_SES_EU_NORTH_1
– Configure DKIM for the identity by replicating from a parent identity in Europe (Stockholm) region using Deterministic Easy-DKIM (DEED). -
AWS_SES_AP_SOUTH_1
– Configure DKIM for the identity by replicating from a parent identity in Asia Pacific (Mumbai) region using Deterministic Easy-DKIM (DEED). -
AWS_SES_EU_WEST_3
– Configure DKIM for the identity by replicating from a parent identity in Europe (Paris) region using Deterministic Easy-DKIM (DEED). -
AWS_SES_EU_WEST_2
– Configure DKIM for the identity by replicating from a parent identity in Europe (London) region using Deterministic Easy-DKIM (DEED). -
AWS_SES_EU_SOUTH_1
– Configure DKIM for the identity by replicating from a parent identity in Europe (Milan) region using Deterministic Easy-DKIM (DEED). -
AWS_SES_EU_WEST_1
– Configure DKIM for the identity by replicating from a parent identity in Europe (Ireland) region using Deterministic Easy-DKIM (DEED). -
AWS_SES_AP_NORTHEAST_3
– Configure DKIM for the identity by replicating from a parent identity in Asia Pacific (Osaka) region using Deterministic Easy-DKIM (DEED). -
AWS_SES_AP_NORTHEAST_2
– Configure DKIM for the identity by replicating from a parent identity in Asia Pacific (Seoul) region using Deterministic Easy-DKIM (DEED). -
AWS_SES_ME_SOUTH_1
– Configure DKIM for the identity by replicating from a parent identity in Middle East (Bahrain) region using Deterministic Easy-DKIM (DEED). -
AWS_SES_AP_NORTHEAST_1
– Configure DKIM for the identity by replicating from a parent identity in Asia Pacific (Tokyo) region using Deterministic Easy-DKIM (DEED). -
AWS_SES_IL_CENTRAL_1
– Configure DKIM for the identity by replicating from a parent identity in Israel (Tel Aviv) region using Deterministic Easy-DKIM (DEED). -
AWS_SES_SA_EAST_1
– Configure DKIM for the identity by replicating from a parent identity in South America (São Paulo) region using Deterministic Easy-DKIM (DEED). -
AWS_SES_CA_CENTRAL_1
– Configure DKIM for the identity by replicating from a parent identity in Canada (Central) region using Deterministic Easy-DKIM (DEED). -
AWS_SES_AP_SOUTHEAST_1
– Configure DKIM for the identity by replicating from a parent identity in Asia Pacific (Singapore) region using Deterministic Easy-DKIM (DEED). -
AWS_SES_AP_SOUTHEAST_2
– Configure DKIM for the identity by replicating from a parent identity in Asia Pacific (Sydney) region using Deterministic Easy-DKIM (DEED). -
AWS_SES_AP_SOUTHEAST_3
– Configure DKIM for the identity by replicating from a parent identity in Asia Pacific (Jakarta) region using Deterministic Easy-DKIM (DEED). -
AWS_SES_EU_CENTRAL_1
– Configure DKIM for the identity by replicating from a parent identity in Europe (Frankfurt) region using Deterministic Easy-DKIM (DEED). -
AWS_SES_US_EAST_1
– Configure DKIM for the identity by replicating from a parent identity in US East (N. Virginia) region using Deterministic Easy-DKIM (DEED). -
AWS_SES_US_EAST_2
– Configure DKIM for the identity by replicating from a parent identity in US East (Ohio) region using Deterministic Easy-DKIM (DEED). -
AWS_SES_US_WEST_1
– Configure DKIM for the identity by replicating from a parent identity in US West (N. California) region using Deterministic Easy-DKIM (DEED). -
AWS_SES_US_WEST_2
– Configure DKIM for the identity by replicating from a parent identity in US West (Oregon) region using Deterministic Easy-DKIM (DEED).
- DomainSigningPrivateKey
-
- Type: string
[Bring Your Own DKIM] A private key that's used to generate a DKIM signature.
The private key must use 1024 or 2048-bit RSA encryption, and must be encoded using base64 encoding.
- DomainSigningSelector
-
- Type: string
[Bring Your Own DKIM] A string that's used to identify a public key in the DNS configuration for a domain.
- NextSigningKeyLength
-
- Type: string
[Easy DKIM] The key length of the future DKIM key pair to be generated. This can be changed at most once per day.
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. The Deliverability dashboard automatically generates and assigns this identifier to a campaign.
- 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 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 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 Amazon Web Services account and currently has an active Deliverability dashboard subscription.
- InboxPlacementTrackingOption
-
- Type: InboxPlacementTrackingOption structure
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 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 the Amazon SES API v2 supports.
-
The raw data of the message needs to base64-encoded if you are accessing Amazon SES directly through the HTTPS interface. If you are accessing Amazon SES using an Amazon Web Services SDK, the SDK takes care of the base 64-encoding for you.
-
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.
EmailInsights
Description
An email's insights contain metadata and delivery information about a specific email.
Members
- Destination
-
- Type: string
The recipient of the email.
- Events
-
- Type: Array of InsightsEvent structures
A list of events associated with the sent email.
- Isp
-
- Type: string
The recipient's ISP (e.g.,
Gmail
,Yahoo
, etc.).
EmailTemplateContent
Description
The content of the email, composed of a subject line, an HTML part, and a text-only part.
Members
- Html
-
- Type: string
The HTML body of the email.
- Subject
-
- Type: string
The subject line of the email.
- Text
-
- Type: string
The email body that will be visible to recipients whose email clients do not display HTML.
EmailTemplateMetadata
Description
Contains information about an email template.
Members
- CreatedTimestamp
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The time and date the template was created.
- TemplateName
-
- Type: string
The name of the template.
EventBridgeDestination
Description
An object that defines an Amazon EventBridge destination for email events. You can use Amazon EventBridge to send notifications when certain email events occur.
Members
- EventBusArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the Amazon EventBridge bus to publish email events to. Only the default bus is supported.
EventDestination
Description
In the Amazon SES API v2, events include message sends, deliveries, opens, clicks, bounces, complaints and delivery delays. 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 thisEventDestinationDefinition
.If
false
, the event destination is disabled. When the event destination is disabled, events aren't sent to the specified destinations. - EventBridgeDestination
-
- Type: EventBridgeDestination structure
An object that defines an Amazon EventBridge destination for email events. You can use Amazon EventBridge to send notifications when certain email events occur.
- 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 SES sends to the specified event destinations.
-
SEND
- The send request was successful and SES will attempt to deliver the message to the recipient’s mail server. (If account-level or global suppression is being used, SES will still count it as a send, but delivery is suppressed.) -
REJECT
- SES accepted the email, but determined that it contained a virus and didn’t attempt to deliver it to the recipient’s mail server. -
BOUNCE
- (Hard bounce) The recipient's mail server permanently rejected the email. (Soft bounces are only included when SES fails to deliver the email after retrying for a period of time.) -
COMPLAINT
- The email was successfully delivered to the recipient’s mail server, but the recipient marked it as spam. -
DELIVERY
- SES successfully delivered the email to the recipient's mail server. -
OPEN
- The recipient received the message and opened it in their email client. -
CLICK
- The recipient clicked one or more links in the email. -
RENDERING_FAILURE
- The email wasn't sent because of a template rendering issue. This event type can occur when template data is missing, or when there is a mismatch between template parameters and data. (This event type only occurs when you send email using theSendTemplatedEmail
orSendBulkTemplatedEmail
API operations.) -
DELIVERY_DELAY
- The email couldn't be delivered to the recipient’s mail server because a temporary issue occurred. Delivery delays can occur, for example, when the recipient's inbox is full, or when the receiving email server experiences a transient issue. -
SUBSCRIPTION
- The email was successfully delivered, but the recipient updated their subscription preferences by clicking on an unsubscribe link as part of your subscription management.
- Name
-
- Required: Yes
- Type: string
A name that identifies the event destination.
- PinpointDestination
-
- Type: PinpointDestination structure
An object that defines an Amazon Pinpoint project destination for email events. You can send email event data to a Amazon Pinpoint project to view metrics using the Transactional Messaging dashboards that are built in to Amazon Pinpoint. For more information, see Transactional Messaging Charts in the Amazon Pinpoint User Guide.
- SnsDestination
-
- Type: SnsDestination structure
An object that defines an Amazon SNS destination for email events. You can use Amazon SNS to send notifications 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 thisEventDestinationDefinition
.If
false
, the event destination is disabled. When the event destination is disabled, events aren't sent to the specified destinations. - EventBridgeDestination
-
- Type: EventBridgeDestination structure
An object that defines an Amazon EventBridge destination for email events. You can use Amazon EventBridge to send notifications when certain email events occur.
- 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 the Amazon SES API v2 should send to the destinations in this
EventDestinationDefinition
. - PinpointDestination
-
- Type: PinpointDestination structure
An object that defines an Amazon Pinpoint project destination for email events. You can send email event data to a Amazon Pinpoint project to view metrics using the Transactional Messaging dashboards that are built in to Amazon Pinpoint. For more information, see Transactional Messaging Charts in the Amazon Pinpoint User Guide.
- SnsDestination
-
- Type: SnsDestination structure
An object that defines an Amazon SNS destination for email events. You can use Amazon SNS to send notifications when certain email events occur.
EventDetails
ExportDataSource
Description
An object that contains details about the data source of the export job. It can only contain one of MetricsDataSource
or MessageInsightsDataSource
object.
Members
- MessageInsightsDataSource
-
- Type: MessageInsightsDataSource structure
An object that contains filters applied when performing the Message Insights export.
- MetricsDataSource
-
- Type: MetricsDataSource structure
An object that contains details about the data source for the metrics export.
ExportDestination
Description
An object that contains details about the destination of the export job.
Members
- DataFormat
-
- Required: Yes
- Type: string
The data format of the final export job file, can be one of the following:
-
CSV
- A comma-separated values file. -
JSON
- A Json file.
- S3Url
-
- Type: string
An Amazon S3 pre-signed URL that points to the generated export file.
ExportJobSummary
Description
A summary of the export job.
Members
- CompletedTimestamp
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp of when the export job was completed.
- CreatedTimestamp
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp of when the export job was created.
- ExportSourceType
-
- Type: string
The source type of the export job.
- JobId
-
- Type: string
The export job ID.
- JobStatus
-
- Type: string
The status of the export job.
ExportMetric
Description
An object that contains a mapping between a Metric
and MetricAggregation
.
Members
- Aggregation
-
- Type: string
The aggregation to apply to a metric, can be one of the following:
-
VOLUME
- The volume of events for this metric. -
RATE
- The rate for this metric relative to theSEND
metric volume.
- Name
-
- Type: string
The metric to export, can be one of the following:
-
SEND
- Emails sent eligible for tracking in the VDM dashboard. This excludes emails sent to the mailbox simulator and emails addressed to more than one recipient. -
COMPLAINT
- Complaints received for your account. This excludes complaints from the mailbox simulator, those originating from your account-level suppression list (if enabled), and those for emails addressed to more than one recipient -
PERMANENT_BOUNCE
- Permanent bounces - i.e., feedback received for emails sent to non-existent mailboxes. Excludes bounces from the mailbox simulator, those originating from your account-level suppression list (if enabled), and those for emails addressed to more than one recipient. -
TRANSIENT_BOUNCE
- Transient bounces - i.e., feedback received for delivery failures excluding issues with non-existent mailboxes. Excludes bounces from the mailbox simulator, and those for emails addressed to more than one recipient. -
OPEN
- Unique open events for emails including open trackers. Excludes opens for emails addressed to more than one recipient. -
CLICK
- Unique click events for emails including wrapped links. Excludes clicks for emails addressed to more than one recipient. -
DELIVERY
- Successful deliveries for email sending attempts. Excludes deliveries to the mailbox simulator and for emails addressed to more than one recipient. -
DELIVERY_OPEN
- Successful deliveries for email sending attempts. Excludes deliveries to the mailbox simulator, for emails addressed to more than one recipient, and emails without open trackers. -
DELIVERY_CLICK
- Successful deliveries for email sending attempts. Excludes deliveries to the mailbox simulator, for emails addressed to more than one recipient, and emails without click trackers. -
DELIVERY_COMPLAINT
- Successful deliveries for email sending attempts. Excludes deliveries to the mailbox simulator, for emails addressed to more than one recipient, and emails addressed to recipients hosted by ISPs with which Amazon SES does not have a feedback loop agreement.
ExportStatistics
Description
Statistics about the execution of an export job.
Members
- ExportedRecordsCount
-
- Type: int
The number of records that were exported to the final export file.
This value might not be available for all export source types
- ProcessedRecordsCount
-
- Type: int
The number of records that were processed to generate the final export file.
FailureInfo
Description
An object that contains the failure details about a job.
Members
- ErrorMessage
-
- Type: string
A message about why the job failed.
- FailedRecordsS3Url
-
- Type: string
An Amazon S3 pre-signed URL that contains all the failed records and related information.
GuardianAttributes
Description
An object containing additional settings for your VDM configuration as applicable to the Guardian.
Members
- OptimizedSharedDelivery
-
- Type: string
Specifies the status of your VDM optimized shared delivery. Can be one of the following:
-
ENABLED
– Amazon SES enables optimized shared delivery for your account. -
DISABLED
– Amazon SES disables optimized shared delivery for your account.
GuardianOptions
Description
An object containing additional settings for your VDM configuration as applicable to the Guardian.
Members
- OptimizedSharedDelivery
-
- Type: string
Specifies the status of your VDM optimized shared delivery. Can be one of the following:
-
ENABLED
– Amazon SES enables optimized shared delivery for the configuration set. -
DISABLED
– Amazon SES disables optimized shared delivery for the configuration set.
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. Note: the
MANAGED_DOMAIN
type is not supported for email identity types. - SendingEnabled
-
- Type: boolean
Indicates whether or not you can send email from the identity.
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 SES to send email from that identity.
- VerificationStatus
-
- Type: string
The verification status of the identity. The status can be one of the following:
-
PENDING
– The verification process was initiated, but Amazon SES hasn't yet been able to verify the identity. -
SUCCESS
– The verification process completed successfully. -
FAILED
– The verification process failed. -
TEMPORARY_FAILURE
– A temporary issue is preventing Amazon SES from determining the verification status of the identity. -
NOT_STARTED
– The verification process hasn't been initiated for the identity.
ImportDataSource
Description
An object that contains details about the data source of the import job.
Members
- DataFormat
-
- Required: Yes
- Type: string
The data format of the import job's data source.
- S3Url
-
- Required: Yes
- Type: string
An Amazon S3 URL in the format s3://<bucket_name>/<object>.
ImportDestination
Description
An object that contains details about the resource destination the import job is going to target.
Members
- ContactListDestination
-
- Type: ContactListDestination structure
An object that contains the action of the import job towards a contact list.
- SuppressionListDestination
-
- Type: SuppressionListDestination structure
An object that contains the action of the import job towards suppression list.
ImportJobSummary
Description
A summary of the import job.
Members
- CreatedTimestamp
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The date and time when the import job was created.
- FailedRecordsCount
-
- Type: int
The number of records that failed processing because of invalid input or other reasons.
- ImportDestination
-
- Type: ImportDestination structure
An object that contains details about the resource destination the import job is going to target.
- JobId
-
- Type: string
A string that represents a job ID.
- JobStatus
-
- Type: string
The status of a job.
-
CREATED
– Job has just been created. -
PROCESSING
– Job is processing. -
ERROR
– An error occurred during processing. -
COMPLETED
– Job has completed processing successfully.
- ProcessedRecordsCount
-
- Type: int
The current number of records processed.
InboxPlacementTrackingOption
Description
An object that contains information about the inbox placement data settings for a verified domain that’s associated with your Amazon Web Services account. This data is available only if you enabled the Deliverability dashboard for the domain.
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.
InsightsEvent
Description
An object containing details about a specific event.
Members
- Details
-
- Type: EventDetails structure
Details about bounce or complaint events.
- Timestamp
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp of the event.
- Type
-
- Type: string
The type of event:
-
SEND
- The send request was successful and SES will attempt to deliver the message to the recipient’s mail server. (If account-level or global suppression is being used, SES will still count it as a send, but delivery is suppressed.) -
DELIVERY
- SES successfully delivered the email to the recipient's mail server. Excludes deliveries to the mailbox simulator, and those from emails addressed to more than one recipient. -
BOUNCE
- Feedback received for delivery failures. Additional details about the bounce are provided in theDetails
object. Excludes bounces from the mailbox simulator, and those from emails addressed to more than one recipient. -
COMPLAINT
- Complaint received for the email. Additional details about the complaint are provided in theDetails
object. This excludes complaints from the mailbox simulator, those originating from your account-level suppression list (if enabled), and those from emails addressed to more than one recipient. -
OPEN
- Open event for emails including open trackers. Excludes opens for emails addressed to more than one recipient. -
CLICK
- Click event for emails including wrapped links. Excludes clicks for emails addressed to more than one recipient.
InternalServiceErrorException
Description
The request couldn't be processed because an error occurred with the Amazon SES API v2.
Members
InvalidNextTokenException
Description
The specified request includes an invalid or expired token.
Members
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 the Amazon SES API v2 sends email events to.
- IamRoleArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the IAM role that the Amazon SES API v2 uses to send email events to the Amazon Kinesis Data Firehose stream.
LimitExceededException
Description
There are too many instances of the specified resource type.
Members
ListContactsFilter
Description
A filter that can be applied to a list of contacts.
Members
- FilteredStatus
-
- Type: string
The status by which you are filtering:
OPT_IN
orOPT_OUT
. - TopicFilter
-
- Type: TopicFilter structure
Used for filtering by a specific topic preference.
ListManagementOptions
Description
An object used to specify a list or topic to which an email belongs, which will be used when a contact chooses to unsubscribe.
Members
- ContactListName
-
- Required: Yes
- Type: string
The name of the contact list.
- TopicName
-
- Type: string
The name of the topic.
MailFromAttributes
Description
A list of attributes that are associated with a MAIL FROM domain.
Members
- BehaviorOnMxFailure
-
- Required: Yes
- Type: string
The action to take if the required MX record can't be found when you send an email. When you set this value to
USE_DEFAULT_VALUE
, the mail is sent using amazonses.com as the MAIL FROM domain. When you set this value toREJECT_MESSAGE
, the Amazon SES API v2 returns aMailFromDomainNotVerified
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
, andTemporaryFailure
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 SES hasn't started searching for the MX record yet. -
SUCCESS
– Amazon SES detected the required MX record for the MAIL FROM domain. -
FAILED
– Amazon SES can't find the required MX record, or the record no longer exists. -
TEMPORARY_FAILURE
– A temporary issue occurred, which prevented Amazon SES 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.
- Headers
-
- Type: Array of MessageHeader structures
The list of message headers that will be added to the email message.
- 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.
MessageHeader
Description
Contains the name and value of a message header that you add to an email.
Members
- Name
-
- Required: Yes
- Type: string
The name of the message header. The message header name has to meet the following criteria:
-
Can contain any printable ASCII character (33 - 126) except for colon (:).
-
Can contain no more than 126 characters.
- Value
-
- Required: Yes
- Type: string
The value of the message header. The message header value has to meet the following criteria:
-
Can contain any printable ASCII character.
-
Can contain no more than 870 characters.
MessageInsightsDataSource
Description
An object that contains filters applied when performing the Message Insights export.
Members
- EndDate
-
- Required: Yes
- Type: timestamp (string|DateTime or anything parsable by strtotime)
Represents the end date for the export interval as a timestamp. The end date is inclusive.
- Exclude
-
- Type: MessageInsightsFilters structure
Filters for results to be excluded from the export file.
- Include
-
- Type: MessageInsightsFilters structure
Filters for results to be included in the export file.
- MaxResults
-
- Type: int
The maximum number of results.
- StartDate
-
- Required: Yes
- Type: timestamp (string|DateTime or anything parsable by strtotime)
Represents the start date for the export interval as a timestamp. The start date is inclusive.
MessageInsightsFilters
Description
An object containing Message Insights filters.
If you specify multiple filters, the filters are joined by AND.
If you specify multiple values for a filter, the values are joined by OR. Filter values are case-sensitive.
FromEmailAddress
, Destination
, and Subject
filters support partial match. A partial match is performed by using the *
wildcard character placed at the beginning (suffix match), the end (prefix match) or both ends of the string (contains match). In order to match the literal characters *
or \
, they must be escaped using the \
character. If no wildcard character is present, an exact match is performed.
Members
- Destination
-
- Type: Array of strings
The recipient's email address.
- FromEmailAddress
-
- Type: Array of strings
The from address used to send the message.
- Isp
-
- Type: Array of strings
The recipient's ISP (e.g.,
Gmail
,Yahoo
, etc.). - LastDeliveryEvent
-
- Type: Array of strings
The last delivery-related event for the email, where the ordering is as follows:
SEND
<BOUNCE
<DELIVERY
<COMPLAINT
. - LastEngagementEvent
-
- Type: Array of strings
The last engagement-related event for the email, where the ordering is as follows:
OPEN
<CLICK
.Engagement events are only available if Engagement tracking is enabled.
- Subject
-
- Type: Array of strings
The subject line of the message.
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.
MetricDataError
Description
An error corresponding to the unsuccessful processing of a single metric data query.
Members
- Code
-
- Type: string
The query error code. Can be one of:
-
INTERNAL_FAILURE
– Amazon SES has failed to process one of the queries. -
ACCESS_DENIED
– You have insufficient access to retrieve metrics based on the given query.
- Id
-
- Type: string
The query identifier.
- Message
-
- Type: string
The error message associated with the current query error.
MetricDataResult
Description
The result of a single metric data query.
Members
- Id
-
- Type: string
The query identifier.
- Timestamps
-
- Type: Array of timestamp (string|DateTime or anything parsable by strtotime)s
A list of timestamps for the metric data results.
- Values
-
- Type: Array of long (int|float)s
A list of values (cumulative / sum) for the metric data results.
MetricsDataSource
Description
An object that contains details about the data source for the metrics export.
Members
- Dimensions
-
- Required: Yes
- Type: Associative array of custom strings keys (MetricDimensionName) to stringss
An object that contains a mapping between a
MetricDimensionName
andMetricDimensionValue
to filter metrics by. Must contain a least 1 dimension but no more than 3 unique ones. - EndDate
-
- Required: Yes
- Type: timestamp (string|DateTime or anything parsable by strtotime)
Represents the end date for the export interval as a timestamp.
- Metrics
-
- Required: Yes
- Type: Array of ExportMetric structures
A list of
ExportMetric
objects to export. - Namespace
-
- Required: Yes
- Type: string
The metrics namespace - e.g.,
VDM
. - StartDate
-
- Required: Yes
- Type: timestamp (string|DateTime or anything parsable by strtotime)
Represents the start date for the export interval as a timestamp.
MultiRegionEndpoint
Description
An object that contains multi-region endpoint (global-endpoint) properties.
Members
- CreatedTimestamp
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The time stamp of when the multi-region endpoint (global-endpoint) was created.
- EndpointId
-
- Type: string
The ID of the multi-region endpoint (global-endpoint).
- EndpointName
-
- Type: string
The name of the multi-region endpoint (global-endpoint).
- LastUpdatedTimestamp
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The time stamp of when the multi-region endpoint (global-endpoint) was last updated.
- Regions
-
- Type: Array of strings
Primary and secondary regions between which multi-region endpoint splits sending traffic.
- Status
-
- Type: string
The status of the multi-region endpoint (global-endpoint).
-
CREATING
– The resource is being provisioned. -
READY
– The resource is ready to use. -
FAILED
– The resource failed to be provisioned. -
DELETING
– The resource is being deleted as requested.
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 an Amazon Pinpoint project destination for email events. You can send email event data to a Amazon Pinpoint project to view metrics using the Transactional Messaging dashboards that are built in to Amazon Pinpoint. For more information, see Transactional Messaging Charts in the Amazon Pinpoint User Guide.
Members
- ApplicationArn
-
- Type: string
The Amazon Resource Name (ARN) of the Amazon Pinpoint project 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
Represents the raw content of an 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 the Amazon SES supports.
-
The raw data of the message needs to base64-encoded if you are accessing Amazon SES directly through the HTTPS interface. If you are accessing Amazon SES using an Amazon Web Services SDK, the SDK takes care of the base 64-encoding for you.
-
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.
Recommendation
Description
A recommendation generated for your account.
Members
- CreatedTimestamp
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The first time this issue was encountered and the recommendation was generated.
- Description
-
- Type: string
The recommendation description / disambiguator - e.g.
DKIM1
andDKIM2
are different recommendations about your DKIM setup. - Impact
-
- Type: string
The recommendation impact, with values like
HIGH
orLOW
. - LastUpdatedTimestamp
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The last time the recommendation was updated.
- ResourceArn
-
- Type: string
The resource affected by the recommendation, with values like
arn:aws:ses:us-east-1:123456789012:identity/example.com
. - Status
-
- Type: string
The recommendation status, with values like
OPEN
orFIXED
. - Type
-
- Type: string
The recommendation type, with values like
DKIM
,SPF
,DMARC
orBIMI
.
ReplacementEmailContent
Description
The ReplaceEmailContent
object to be used for a specific BulkEmailEntry
. The ReplacementTemplate
can be specified within this object.
Members
- ReplacementTemplate
-
- Type: ReplacementTemplate structure
The
ReplacementTemplate
associated withReplacementEmailContent
.
ReplacementTemplate
Description
An object which contains ReplacementTemplateData
to be used for a specific BulkEmailEntry
.
Members
- ReplacementTemplateData
-
- Type: string
A list of replacement values to apply to the template. This parameter is a JSON object, typically consisting of key-value pairs in which the keys correspond to replacement tags in the email template.
ReputationOptions
Description
Enable or disable collection of reputation metrics for emails that you send using this configuration set in the current Amazon Web Services 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. Iffalse
, tracking of reputation metrics is disabled for the configuration set.
ReviewDetails
Description
An object that contains information about your account details review.
Members
- CaseId
-
- Type: string
The associated support center case ID (if any).
- Status
-
- Type: string
The status of the latest review of your account. The status can be one of the following:
-
PENDING
– We have received your appeal and are in the process of reviewing it. -
GRANTED
– Your appeal has been reviewed and your production access has been granted. -
DENIED
– Your appeal has been reviewed and your production access has been denied. -
FAILED
– An internal error occurred and we didn't receive your appeal. You can submit your appeal again.
Route
Description
An object which contains an AWS-Region and routing status.
Members
- Region
-
- Required: Yes
- Type: string
The name of an AWS-Region.
RouteDetails
Description
An object that contains route configuration. Includes secondary region name.
Members
- Region
-
- Required: Yes
- Type: string
The name of an AWS-Region to be a secondary region for the multi-region endpoint (global-endpoint).
SOARecord
Description
An object that contains information about the start of authority (SOA) record associated with the identity.
Members
- AdminEmail
-
- Type: string
Administrative contact email from the SOA record.
- PrimaryNameServer
-
- Type: string
Primary name server specified in the SOA record.
- SerialNumber
-
- Type: long (int|float)
Serial number from the SOA record.
SendQuota
Description
An object that contains information about the per-day and per-second sending limits for your Amazon SES account in the current Amazon Web Services Region.
Members
- Max24HourSend
-
- Type: double
The maximum number of emails that you can send in the current Amazon Web Services Region over a 24-hour period. A value of -1 signifies an unlimited quota. (This value is also referred to as your sending quota.)
- MaxSendRate
-
- Type: double
The maximum number of emails that you can send per second in the current Amazon Web Services 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 SES account in the current Amazon Web Services 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 Amazon Web Services Region.
Members
- SendingEnabled
-
- Type: boolean
If
true
, email sending is enabled for the configuration set. Iffalse
, 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 notifications when certain email events occur.
Members
- TopicArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the Amazon SNS topic to publish email events to. For more information about Amazon SNS topics, see the Amazon SNS Developer Guide.
SuppressedDestination
Description
An object that contains information about an email address that is on the suppression list for your account.
Members
- Attributes
-
- Type: SuppressedDestinationAttributes structure
An optional value that can contain additional information about the reasons that the address was added to the suppression list for your account.
- EmailAddress
-
- Required: Yes
- Type: string
The email address that is on the suppression list for your account.
- LastUpdateTime
-
- Required: Yes
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The date and time when the suppressed destination was last updated, shown in Unix time format.
- Reason
-
- Required: Yes
- Type: string
The reason that the address was added to the suppression list for your account.
SuppressedDestinationAttributes
Description
An object that contains additional attributes that are related an email address that is on the suppression list for your account.
Members
- FeedbackId
-
- Type: string
A unique identifier that's generated when an email address is added to the suppression list for your account.
- MessageId
-
- Type: string
The unique identifier of the email message that caused the email address to be added to the suppression list for your account.
SuppressedDestinationSummary
Description
A summary that describes the suppressed email address.
Members
- EmailAddress
-
- Required: Yes
- Type: string
The email address that's on the suppression list for your account.
- LastUpdateTime
-
- Required: Yes
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The date and time when the suppressed destination was last updated, shown in Unix time format.
- Reason
-
- Required: Yes
- Type: string
The reason that the address was added to the suppression list for your account.
SuppressionAttributes
Description
An object that contains information about the email address suppression preferences for your account in the current Amazon Web Services Region.
Members
- SuppressedReasons
-
- Type: Array of strings
A list that contains the reasons that email addresses will be automatically added to the suppression list for your account. This list can contain any or all of the following:
-
COMPLAINT
– Amazon SES adds an email address to the suppression list for your account when a message sent to that address results in a complaint. -
BOUNCE
– Amazon SES adds an email address to the suppression list for your account when a message sent to that address results in a hard bounce.
SuppressionListDestination
Description
An object that contains details about the action of suppression list.
Members
- SuppressionListImportAction
-
- Required: Yes
- Type: string
The type of action to perform on the address. The following are possible values:
-
PUT: add the addresses to the suppression list. If the record already exists, it will override it with the new value.
-
DELETE: remove the addresses from the suppression list.
SuppressionOptions
Description
An object that contains information about the suppression list preferences for your account.
Members
- SuppressedReasons
-
- Type: Array of strings
A list that contains the reasons that email addresses are automatically added to the suppression list for your account. This list can contain any or all of the following:
-
COMPLAINT
– Amazon SES adds an email address to the suppression list for your account when a message sent to that address results in a complaint. -
BOUNCE
– Amazon SES adds an email address to the suppression list for your account when a message sent to that address results in a hard bounce.
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. 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 Amazon Web Services; 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 Amazon Web Services account, not any other accounts that share the resource. In addition, the tags are available only for resources that are located in the specified Amazon Web Services Region for your Amazon Web Services 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. If you don't specify a value, Amazon SES sets the value to an empty string.
Template
Description
An object that defines the email template to use for an email message, and the values to use for any message variables in that template. An email template is a type of message template that contains content that you want to reuse in email messages that you send. You can specifiy the email template by providing the name or ARN of an email template previously saved in your Amazon SES account or by providing the full template content.
Members
- Headers
-
- Type: Array of MessageHeader structures
The list of message headers that will be added to the email message.
- TemplateArn
-
- Type: string
The Amazon Resource Name (ARN) of the template.
- TemplateContent
-
- Type: EmailTemplateContent structure
The content of the template.
Amazon SES supports only simple substitions when you send email using the
SendEmail
orSendBulkEmail
operations and you provide the full template content in the request. - 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.
- TemplateName
-
- Type: string
The name of the template. You will refer to this name when you send email using the
SendTemplatedEmail
orSendBulkTemplatedEmail
operations.
TooManyRequestsException
Description
Too many requests have been made to the operation.
Members
Topic
Description
An interest group, theme, or label within a list. Lists can have multiple topics.
Members
- DefaultSubscriptionStatus
-
- Required: Yes
- Type: string
The default subscription status to be applied to a contact if the contact has not noted their preference for subscribing to a topic.
- Description
-
- Type: string
A description of what the topic is about, which the contact will see.
- DisplayName
-
- Required: Yes
- Type: string
The name of the topic the contact will see.
- TopicName
-
- Required: Yes
- Type: string
The name of the topic.
TopicFilter
Description
Used for filtering by a specific topic preference.
Members
- TopicName
-
- Type: string
The name of a topic on which you wish to apply the filter.
- UseDefaultIfPreferenceUnavailable
-
- Type: boolean
Notes that the default subscription status should be applied to a contact because the contact has not noted their preference for subscribing to a topic.
TopicPreference
Description
The contact's preference for being opted-in to or opted-out of a topic.
Members
- SubscriptionStatus
-
- Required: Yes
- Type: string
The contact's subscription status to a topic which is either
OPT_IN
orOPT_OUT
. - TopicName
-
- Required: Yes
- Type: string
The name of the topic.
TrackingOptions
Description
An object that defines the tracking options for a configuration set. When you use the Amazon SES API v2 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 Amazon Web Services. You can optionally configure the Amazon SES to use a domain that you operate for these images and links.
Members
- CustomRedirectDomain
-
- Required: Yes
- Type: string
The domain to use for tracking open and click events.
- HttpsPolicy
-
- Type: string
The https policy to use for tracking open and click events.
VdmAttributes
Description
The VDM attributes that apply to your Amazon SES account.
Members
- DashboardAttributes
-
- Type: DashboardAttributes structure
Specifies additional settings for your VDM configuration as applicable to the Dashboard.
- GuardianAttributes
-
- Type: GuardianAttributes structure
Specifies additional settings for your VDM configuration as applicable to the Guardian.
- VdmEnabled
-
- Required: Yes
- Type: string
Specifies the status of your VDM configuration. Can be one of the following:
-
ENABLED
– Amazon SES enables VDM for your account. -
DISABLED
– Amazon SES disables VDM for your account.
VdmOptions
Description
An object that defines the VDM settings that apply to emails that you send using the configuration set.
Members
- DashboardOptions
-
- Type: DashboardOptions structure
Specifies additional settings for your VDM configuration as applicable to the Dashboard.
- GuardianOptions
-
- Type: GuardianOptions structure
Specifies additional settings for your VDM configuration as applicable to the Guardian.
VerificationInfo
Description
An object that contains additional information about the verification status for the identity.
Members
- ErrorType
-
- Type: string
Provides the reason for the failure describing why Amazon SES was not able to successfully verify the identity. Below are the possible values:
-
INVALID_VALUE
– Amazon SES was able to find the record, but the value contained within the record was invalid. Ensure you have published the correct values for the record. -
TYPE_NOT_FOUND
– The queried hostname exists but does not have the requested type of DNS record. Ensure that you have published the correct type of DNS record. -
HOST_NOT_FOUND
– The queried hostname does not exist or was not reachable at the time of the request. Ensure that you have published the required DNS record(s). -
SERVICE_ERROR
– A temporary issue is preventing Amazon SES from determining the verification status of the domain. -
DNS_SERVER_ERROR
– The DNS server encountered an issue and was unable to complete the request. -
REPLICATION_ACCESS_DENIED
– The verification failed because the user does not have the required permissions to replicate the DKIM key from the primary region. Ensure you have the necessary permissions in both primary and replica regions. -
REPLICATION_PRIMARY_NOT_FOUND
– The verification failed because no corresponding identity was found in the specified primary region. Ensure the identity exists in the primary region before attempting replication. -
REPLICATION_PRIMARY_BYO_DKIM_NOT_SUPPORTED
– The verification failed because the identity in the primary region is configured with Bring Your Own DKIM (BYODKIM). DKIM key replication is only supported for identities using Easy DKIM. -
REPLICATION_REPLICA_AS_PRIMARY_NOT_SUPPORTED
– The verification failed because the specified primary identity is a replica of another identity, and multi-level replication is not supported; the primary identity must be a non-replica identity. -
REPLICATION_PRIMARY_INVALID_REGION
– The verification failed due to an invalid primary region specified. Ensure you provide a valid AWS region where Amazon SES is available and different from the replica region.
- LastCheckedTimestamp
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The last time a verification attempt was made for this identity.
- LastSuccessTimestamp
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The last time a successful verification was made for this identity.
- SOARecord
-
- Type: SOARecord structure
An object that contains information about the start of authority (SOA) record associated with the identity.
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.