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 add_source_identifier_to_subscription
and remove_source_identifier_from_subscription
calls.
See https://www.paws-r-sdk.com/docs/rds_modify_event_subscription/ for full documentation.
rds_modify_event_subscription(
SubscriptionName,
SnsTopicArn = NULL,
SourceType = NULL,
EventCategories = NULL,
Enabled = NULL
)
[required] The name of the RDS event notification subscription.
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.
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 | zero-etl | custom-engine-version | blue-green-deployment
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
describe_event_categories
operation.
Specifies whether to activate the subscription.