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.

ModifyEventSubscriptionInput

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

type ModifyEventSubscriptionInput struct { Enabled *bool `type:"boolean"` EventCategories []*string `type:"list"` SnsTopicArn *string `type:"string"` SourceType *string `type:"string"` SubscriptionName *string `type:"string" required:"true"` }

Enabled

Type: *bool

A Boolean value; set to true to activate the subscription.

EventCategories

Type: []*string

A list of event categories for a source type that you want to subscribe to. Use the DescribeEventCategories action to see a list of event categories.

SnsTopicArn

Type: *string

The Amazon Resource Name (ARN) of the Amazon SNS topic created for event notification. The ARN is created by Amazon SNS when you create a topic and subscribe to it.

SourceType

Type: *string

The type of AWS DMS resource that generates the events you want to subscribe to.

Valid values: replication-instance | migration-task

SubscriptionName

Type: *string

The name of the AWS DMS event notification subscription to be modified.

SubscriptionName is a required field

Method

GoString

func (s ModifyEventSubscriptionInput) GoString() string

GoString returns the string representation

SetEnabled

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

SetEnabled sets the Enabled field's value.

SetEventCategories

func (s *ModifyEventSubscriptionInput) SetEventCategories(v []*string) *ModifyEventSubscriptionInput

SetEventCategories sets the EventCategories field's value.

SetSnsTopicArn

func (s *ModifyEventSubscriptionInput) SetSnsTopicArn(v string) *ModifyEventSubscriptionInput

SetSnsTopicArn sets the SnsTopicArn field's value.

SetSourceType

func (s *ModifyEventSubscriptionInput) SetSourceType(v string) *ModifyEventSubscriptionInput

SetSourceType sets the SourceType field's value.

SetSubscriptionName

func (s *ModifyEventSubscriptionInput) SetSubscriptionName(v string) *ModifyEventSubscriptionInput

SetSubscriptionName sets the SubscriptionName field's value.

String

func (s ModifyEventSubscriptionInput) String() string

String returns the string representation

Validate

func (s *ModifyEventSubscriptionInput) Validate() error

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

On this page: