Learn R Programming

paws.database (version 0.7.0)

docdb_modify_event_subscription: Modifies an existing Amazon DocumentDB event notification subscription

Description

Modifies an existing Amazon DocumentDB event notification subscription.

See https://www.paws-r-sdk.com/docs/docdb_modify_event_subscription/ for full documentation.

Usage

docdb_modify_event_subscription(
  SubscriptionName,
  SnsTopicArn = NULL,
  SourceType = NULL,
  EventCategories = NULL,
  Enabled = NULL
)

Arguments

SubscriptionName

[required] The name of the Amazon DocumentDB event notification subscription.

SnsTopicArn

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.

SourceType

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

EventCategories

A list of event categories for a SourceType that you want to subscribe to.

Enabled

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