DeleteEventSubscription - Amazon DocumentDB
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

DeleteEventSubscription

Deletes an Amazon DocumentDB event notification subscription.

Request Parameters

For information about the parameters that are common to all actions, see Common Parameters.

SubscriptionName

The name of the Amazon DocumentDB event notification subscription that you want to delete.

Type: String

Required: Yes

Response Elements

The following element is returned by the service.

EventSubscription

Detailed information about an event to which you have subscribed.

Type: EventSubscription object

Errors

For information about the errors that are common to all actions, see Common Errors.

InvalidEventSubscriptionState

Someone else might be modifying a subscription. Wait a few seconds, and try again.

HTTP Status Code: 400

SubscriptionNotFound

The subscription name does not exist.

HTTP Status Code: 404

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: