amazonka-ses-1.3.2: Amazon Simple Email Service SDK.

Copyright(c) 2013-2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.SES.SetIdentityNotificationTopic

Contents

Description

Given an identity (email address or domain), sets the Amazon Simple Notification Service (Amazon SNS) topic to which Amazon SES will publish bounce, complaint, and/or delivery notifications for emails sent with that identity as the Source.

Unless feedback forwarding is enabled, you must specify Amazon SNS topics for bounce and complaint notifications. For more information, see SetIdentityFeedbackForwardingEnabled.

This action is throttled at one request per second.

For more information about feedback notification, see the Amazon SES Developer Guide.

See: AWS API Reference for SetIdentityNotificationTopic.

Synopsis

Creating a Request

setIdentityNotificationTopic Source

Creates a value of SetIdentityNotificationTopic with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

sintSNSTopic :: Lens' SetIdentityNotificationTopic (Maybe Text) Source

The Amazon Resource Name (ARN) of the Amazon SNS topic. If the parameter is omitted from the request or a null value is passed, SnsTopic is cleared and publishing is disabled.

sintIdentity :: Lens' SetIdentityNotificationTopic Text Source

The identity for which the Amazon SNS topic will be set. You can specify an identity by using its name or by using its Amazon Resource Name (ARN). Examples: 'user\'example.com', 'example.com', 'arn:aws:ses:us-east-1:123456789012:identity\/example.com'.

sintNotificationType :: Lens' SetIdentityNotificationTopic NotificationType Source

The type of notifications that will be published to the specified Amazon SNS topic.

Destructuring the Response

setIdentityNotificationTopicResponse Source

Creates a value of SetIdentityNotificationTopicResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Response Lenses