Skip to content

/AWS1/CL_RDS=>MODIFYEVENTSUBSCRIPTION()

About ModifyEventSubscription

Modifies an existing RDS event notification subscription. You can't modify the source identifiers using this call. To change source identifiers for a subscription, use the AddSourceIdentifierToSubscription and RemoveSourceIdentifierFromSubscription calls.

You can see a list of the event categories for a given source type (SourceType) in Events in the Amazon RDS User Guide or by using the DescribeEventCategories operation.

Method Signature

IMPORTING

Required arguments:

IV_SUBSCRIPTIONNAME TYPE /AWS1/RDSSTRING /AWS1/RDSSTRING

The name of the RDS event notification subscription.

Optional arguments:

IV_SNSTOPICARN TYPE /AWS1/RDSSTRING /AWS1/RDSSTRING

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.

IV_SOURCETYPE TYPE /AWS1/RDSSTRING /AWS1/RDSSTRING

The type of source that is generating the events. For example, if you want to be notified of events generated by a DB instance, you would set this parameter to db-instance. For RDS Proxy events, specify db-proxy. If this value isn't specified, all events are returned.

Valid Values: db-instance | db-cluster | db-parameter-group | db-security-group | db-snapshot | db-cluster-snapshot | db-proxy

IT_EVENTCATEGORIES TYPE /AWS1/CL_RDSEVENTCATSLIST_W=>TT_EVENTCATEGORIESLIST TT_EVENTCATEGORIESLIST

A list of event categories for a source type (SourceType) that you want to subscribe to. You can see a list of the categories for a given source type in Events in the Amazon RDS User Guide or by using the DescribeEventCategories operation.

IV_ENABLED TYPE /AWS1/RDSBOOLEANOPTIONAL /AWS1/RDSBOOLEANOPTIONAL

Specifies whether to activate the subscription.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_RDSMDEVTSUBSCRIPTIO01 /AWS1/CL_RDSMDEVTSUBSCRIPTIO01