AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Removes a source identifier from an existing event notification subscription.


For .NET Core this operation is only available in asynchronous form. Please refer to RemoveSourceIdentifierFromSubscriptionAsync.

Namespace: Amazon.Neptune
Assembly: AWSSDK.Neptune.dll
Version: 3.x.y.z


public abstract RemoveSourceIdentifierFromSubscriptionResponse RemoveSourceIdentifierFromSubscription(
         RemoveSourceIdentifierFromSubscriptionRequest request
Type: Amazon.Neptune.Model.RemoveSourceIdentifierFromSubscriptionRequest

Container for the necessary parameters to execute the RemoveSourceIdentifierFromSubscription service method.

Return Value
The response from the RemoveSourceIdentifierFromSubscription service method, as returned by Neptune.


SourceNotFoundException The source could not be found.
SubscriptionNotFoundException The designated subscription could not be found.


This example removes the specified source identifier from the specified DB event subscription.

To remove a source identifier from a DB event subscription

var response = client.RemoveSourceIdentifierFromSubscription(new RemoveSourceIdentifierFromSubscriptionRequest 
    SourceIdentifier = "mymysqlinstance",
    SubscriptionName = "myeventsubscription"

EventSubscription eventSubscription = response.EventSubscription;


Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5

See Also