AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

SetIdentityNotificationTopicInput

import "github.com/aws/aws-sdk-go/service/ses"

type SetIdentityNotificationTopicInput struct { Identity *string `type:"string" required:"true"` NotificationType *string `type:"string" required:"true" enum:"NotificationType"` SnsTopic *string `type:"string"` }

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 (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/notifications-via-sns.html).

Identity

Type: *string

The identity (email address or domain) that you want to set the Amazon SNS topic for.

You can only specify a verified identity for this parameter.

You can specify an identity by using its name or by using its Amazon Resource Name (ARN). The following examples are all valid identities: sender@example.com, example.com, arn:aws:ses:us-east-1:123456789012:identity/example.com.

Identity is a required field

NotificationType

Type: *string

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

NotificationType is a required field

SnsTopic

Type: *string

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.

Method

GoString

func (s SetIdentityNotificationTopicInput) GoString() string

GoString returns the string representation

SetIdentity

func (s *SetIdentityNotificationTopicInput) SetIdentity(v string) *SetIdentityNotificationTopicInput

SetIdentity sets the Identity field's value.

SetNotificationType

func (s *SetIdentityNotificationTopicInput) SetNotificationType(v string) *SetIdentityNotificationTopicInput

SetNotificationType sets the NotificationType field's value.

SetSnsTopic

func (s *SetIdentityNotificationTopicInput) SetSnsTopic(v string) *SetIdentityNotificationTopicInput

SetSnsTopic sets the SnsTopic field's value.

String

func (s SetIdentityNotificationTopicInput) String() string

String returns the string representation

Validate

func (s *SetIdentityNotificationTopicInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

On this page: