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.

EventDestinationDefinition

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

type EventDestinationDefinition struct { CloudWatchDestination *CloudWatchDestination `type:"structure"` Enabled *bool `type:"boolean"` KinesisFirehoseDestination *KinesisFirehoseDestination `type:"structure"` MatchingEventTypes []*string `type:"list"` PinpointDestination *PinpointDestination `type:"structure"` SnsDestination *SnsDestination `type:"structure"` }

An object that defines the event destination. Specifically, it defines which services receive events from emails sent using the configuration set that the event destination is associated with. Also defines the types of events that are sent to the event destination.

CloudWatchDestination

An object that defines an Amazon CloudWatch destination for email events. You can use Amazon CloudWatch to monitor and gain insights on your email sending metrics.

Enabled

Type: *bool

If true, the event destination is enabled. When the event destination is enabled, the specified event types are sent to the destinations in this EventDestinationDefinition.

If false, the event destination is disabled. When the event destination is disabled, events aren't sent to the specified destinations.

KinesisFirehoseDestination

An object that defines an Amazon Kinesis Data Firehose destination for email events. You can use Amazon Kinesis Data Firehose to stream data to other services, such as Amazon S3 and Amazon Redshift.

MatchingEventTypes

Type: []*string

An array that specifies which events Amazon Pinpoint should send to the destinations in this EventDestinationDefinition.

PinpointDestination

An object that defines a Amazon Pinpoint destination for email events. You can use Amazon Pinpoint events to create attributes in Amazon Pinpoint projects. You can use these attributes to create segments for your campaigns.

SnsDestination

An object that defines an Amazon SNS destination for email events. You can use Amazon SNS to send notification when certain email events occur.

Method

GoString

func (s EventDestinationDefinition) GoString() string

GoString returns the string representation

SetCloudWatchDestination

func (s *EventDestinationDefinition) SetCloudWatchDestination(v *CloudWatchDestination) *EventDestinationDefinition

SetCloudWatchDestination sets the CloudWatchDestination field's value.

SetEnabled

func (s *EventDestinationDefinition) SetEnabled(v bool) *EventDestinationDefinition

SetEnabled sets the Enabled field's value.

SetKinesisFirehoseDestination

func (s *EventDestinationDefinition) SetKinesisFirehoseDestination(v *KinesisFirehoseDestination) *EventDestinationDefinition

SetKinesisFirehoseDestination sets the KinesisFirehoseDestination field's value.

SetMatchingEventTypes

func (s *EventDestinationDefinition) SetMatchingEventTypes(v []*string) *EventDestinationDefinition

SetMatchingEventTypes sets the MatchingEventTypes field's value.

SetPinpointDestination

func (s *EventDestinationDefinition) SetPinpointDestination(v *PinpointDestination) *EventDestinationDefinition

SetPinpointDestination sets the PinpointDestination field's value.

SetSnsDestination

func (s *EventDestinationDefinition) SetSnsDestination(v *SnsDestination) *EventDestinationDefinition

SetSnsDestination sets the SnsDestination field's value.

String

func (s EventDestinationDefinition) String() string

String returns the string representation

Validate

func (s *EventDestinationDefinition) Validate() error

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

On this page: