Learn R Programming

paws.customer.engagement (version 0.1.12)

ses_set_identity_headers_in_notifications_enabled: Given an identity (an email address or a domain), sets whether Amazon SES includes the original email headers in the Amazon Simple Notification Service (Amazon SNS) notifications of a specified type

Description

Given an identity (an email address or a domain), sets whether Amazon SES includes the original email headers in the Amazon Simple Notification Service (Amazon SNS) notifications of a specified type.

You can execute this operation no more than once per second.

For more information about using notifications with Amazon SES, see the Amazon SES Developer Guide.

Usage

ses_set_identity_headers_in_notifications_enabled(Identity,
  NotificationType, Enabled)

Value

An empty list.

Arguments

Identity

[required] The identity for which to enable or disable headers in notifications. Examples: user@example.com, example.com.

NotificationType

[required] The notification type for which to enable or disable headers in notifications.

Enabled

[required] Sets whether Amazon SES includes the original email headers in Amazon SNS notifications of the specified notification type. A value of true specifies that Amazon SES will include headers in notifications, and a value of false specifies that Amazon SES will not include headers in notifications.

This value can only be set when NotificationType is already set to use a particular Amazon SNS topic.

Request syntax

svc$set_identity_headers_in_notifications_enabled(
  Identity = "string",
  NotificationType = "Bounce"|"Complaint"|"Delivery",
  Enabled = TRUE|FALSE
)

Examples

Run this code
if (FALSE) {
# The following example configures Amazon SES to include the original
# email headers in the Amazon SNS bounce notifications for an identity:
svc$set_identity_headers_in_notifications_enabled(
  Enabled = TRUE,
  Identity = "user@example.com",
  NotificationType = "Bounce"
)
}

Run the code above in your browser using DataLab