aws rds delete-event-subscription
Deletes an RDS event notification subscription. AWS CLI reference
1 example 1 option Its page in the AWS CLI reference
Examples
To delete an event subscription
The following delete-event-subscription example deletes the specified event subscription.
aws rds delete-event-subscription --subscription-name my-instance-eventsIdentify--subscription-nameThe name of the RDS event notification subscription you want to delete.Its output
{
"EventSubscription": {
"EventSubscriptionArn": "arn:aws:rds:us-west-2:123456789012:es:my-instance-events",
"CustomerAwsId": "123456789012",
"Enabled": false,
"SourceIdsList": [
"test-instance"
],
"SourceType": "db-instance",
"EventCategoriesList": [
"backup",
"recovery"
],
"SubscriptionCreationTime": "2018-07-31 23:22:01.893",
"CustSubscriptionId": "my-instance-events",
"SnsTopicArn": "arn:aws:sns:us-west-2:123456789012:interesting-events",
"Status": "deleting"
}
}For more information, see Deleting an Amazon RDS event notification subscription in the Amazon RDS User Guide.
Options
--subscription-nameThe name of the RDS event notification subscription you want to delete.