RemoveSourceIdentifierFromSubscription - 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).

RemoveSourceIdentifierFromSubscription

Removes a source identifier from an existing Amazon DocumentDB event notification subscription.

Request Parameters

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

SourceIdentifier

The source identifier to be removed from the subscription, such as the instance identifier for an instance, or the name of a security group.

Type: String

Required: Yes

SubscriptionName

The name of the Amazon DocumentDB event notification subscription that you want to remove a source identifier from.

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.

SourceNotFound

The requested source could not be found.

HTTP Status Code: 404

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: