aws docdb delete-event-subscription
Deletes an Amazon DocumentDB event notification subscription. AWS CLI reference
1 example 1 option Its page in the AWS CLI reference
Examples
To delete an event notification subscription
The following delete-event-subscription example deletes the specified event notification subscription.
aws docdb delete-event-subscription --subscription-name docdb-cluster-eventsIdentify--subscription-nameThe name of the Amazon DocumentDB event notification subscription that you want to delete.Its output
{
"EventSubscription": {
"CustomerAwsId": "123456789012",
"CustSubscriptionId": "docdb-cluster-events",
"SnsTopicArn": "arn:aws:sns:us-west-2:123456789012:docdb-events",
"Status": "deleting",
"SubscriptionCreationTime": "2026-10-29 13:06:47.837",
"SourceType": "db-cluster",
"EventCategoriesList": [
"failure",
"maintenance",
"notification"
],
"Enabled": false,
"EventSubscriptionArn": "arn:aws:rds:us-west-2:123456789012:es:docdb-cluster-events"
}
}For more information, see Deleting an Amazon DocumentDB event notification subscription in the Amazon DocumentDB Developer Guide.
Options
--subscription-nameThe name of the Amazon DocumentDB event notification subscription that you want to delete.