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.

SNSDestination

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

type SNSDestination struct { TopicARN *string `type:"string" required:"true"` }

Contains the topic ARN associated with an Amazon Simple Notification Service (Amazon SNS) event destination.

Event destinations, such as Amazon SNS, are associated with configuration sets, which enable you to publish email sending events. For information about using configuration sets, see the Amazon SES Developer Guide (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/monitor-sending-activity.html).

TopicARN

Type: *string

The ARN of the Amazon SNS topic that email sending events will be published to. An example of an Amazon SNS topic ARN is arn:aws:sns:us-west-2:123456789012:MyTopic. For more information about Amazon SNS topics, see the Amazon SNS Developer Guide (https://docs.aws.amazon.com/sns/latest/dg/CreateTopic.html).

TopicARN is a required field

Method

GoString

func (s SNSDestination) GoString() string

GoString returns the string representation

SetTopicARN

func (s *SNSDestination) SetTopicARN(v string) *SNSDestination

SetTopicARN sets the TopicARN field's value.

String

func (s SNSDestination) String() string

String returns the string representation

Validate

func (s *SNSDestination) Validate() error

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

On this page: