Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Given an identity (an email address or a 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
.
You can execute this operation no more than once per second.
For more information about feedback notification, see the Amazon SES Developer Guide .
- setIdentityNotificationTopic :: Text -> NotificationType -> SetIdentityNotificationTopic
- data SetIdentityNotificationTopic
- sintSNSTopic :: Lens' SetIdentityNotificationTopic (Maybe Text)
- sintIdentity :: Lens' SetIdentityNotificationTopic Text
- sintNotificationType :: Lens' SetIdentityNotificationTopic NotificationType
- setIdentityNotificationTopicResponse :: Int -> SetIdentityNotificationTopicResponse
- data SetIdentityNotificationTopicResponse
- sintrsResponseStatus :: Lens' SetIdentityNotificationTopicResponse Int
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:
sintSNSTopic
- 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
- 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
- The type of notifications that will be published to the specified Amazon SNS topic.
data SetIdentityNotificationTopic Source #
Represents a request to specify the Amazon SNS topic to which Amazon SES will publish bounce, complaint, or delivery notifications for emails sent with that identity as the Source. For information about Amazon SES notifications, see the Amazon SES Developer Guide .
See: setIdentityNotificationTopic
smart constructor.
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:
sintrsResponseStatus
- -- | The response status code.
data SetIdentityNotificationTopicResponse Source #
An empty element returned on a successful request.
See: setIdentityNotificationTopicResponse
smart constructor.
Response Lenses
sintrsResponseStatus :: Lens' SetIdentityNotificationTopicResponse Int Source #
- - | The response status code.