SetIdentityNotificationTopic Method

Sets the Bounce or Complaint notification topic for an identity.


public func setIdentityNotificationTopic(identity: String, notificationType: Int32, snsTopic: String) throws -> Void


This method sets the Simple Notification Service (SNS) topic used by Amazon when reporting Bounce or Complaint notifications. The Identity parameter specifies the identity for which you are setting the notification topic.

The NotificationType parameter specifies whether you are setting the topic for Bounce or Complaint notifications. Possible values are:

0Bounce Notifications
1Complaint Notifications

The SnsTopic parameter specifies Amazon Resource Name (ARN) of the Simple Notification Service (SNS) topic. This value is of the form "arn:aws:sns:us-east-1:1234567890123456:mytopic" and is returned by Amazon when creating a new topic.

Copyright (c) 2022 /n software inc. - All rights reserved.
Cloud Mail 2020 macOS Edition - Version 20.0 [Build 8164]