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.

Container for the parameters to the AddSourceIdentifierToSubscription operation. Adds a source identifier to an existing event notification subscription.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.Neptune.AmazonNeptuneRequest
      Amazon.Neptune.Model.AddSourceIdentifierToSubscriptionRequest

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

Syntax

C#
public class AddSourceIdentifierToSubscriptionRequest : AmazonNeptuneRequest
         IAmazonWebServiceRequest

The AddSourceIdentifierToSubscriptionRequest type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property SourceIdentifier System.String

Gets and sets the property SourceIdentifier.

The identifier of the event source to be added.

Constraints:

  • If the source type is a DB instance, then a DBInstanceIdentifier must be supplied.

  • If the source type is a DB security group, a DBSecurityGroupName must be supplied.

  • If the source type is a DB parameter group, a DBParameterGroupName must be supplied.

  • If the source type is a DB snapshot, a DBSnapshotIdentifier must be supplied.

Public Property SubscriptionName System.String

Gets and sets the property SubscriptionName.

The name of the event notification subscription you want to add a source identifier to.

Examples

This example add a source identifier to an event notification subscription.

To add a source identifier to an event notification subscription


var response = client.AddSourceIdentifierToSubscription(new AddSourceIdentifierToSubscriptionRequest 
{
    SourceIdentifier = "mymysqlinstance",
    SubscriptionName = "mymysqleventsubscription"
});

EventSubscription eventSubscription = response.EventSubscription;

            

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

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