Skip to content

Set Identity Headers In Notifications Enabled

ses_set_identity_headers_in_notifications_enabled R Documentation

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)

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 includes headers in notifications, and a value of false specifies that Amazon SES does not include headers in notifications.

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

Value

An empty list.

Request syntax

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

Examples

## Not run: 
# 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"
)

## End(Not run)