class Aws::DocDB::Types::ModifyEventSubscriptionMessage

Represents the input to ModifyEventSubscription.

@note When making an API call, you may pass ModifyEventSubscriptionMessage

data as a hash:

    {
      subscription_name: "String", # required
      sns_topic_arn: "String",
      source_type: "String",
      event_categories: ["String"],
      enabled: false,
    }

@!attribute [rw] subscription_name

The name of the Amazon DocumentDB event notification subscription.
@return [String]

@!attribute [rw] sns_topic_arn

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

@!attribute [rw] source_type

The type of source that is generating the events. For example, if
you want to be notified of events generated by an instance, set this
parameter to `db-instance`. If this value is not specified, all
events are returned.

Valid values: `db-instance`, `db-parameter-group`,
`db-security-group`
@return [String]

@!attribute [rw] event_categories

A list of event categories for a `SourceType` that you want to
subscribe to.
@return [Array<String>]

@!attribute [rw] enabled

A Boolean value; set to `true` to activate the subscription.
@return [Boolean]

@see docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/ModifyEventSubscriptionMessage AWS API Documentation

Constants

SENSITIVE