public void NeptuneAddSourceIdentifierToSubscription()
        {
            #region add-source-identifier-to-subscription-93fb6a15-0a59-4577-a7b5-e12db9752c14

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

            EventSubscription eventSubscription = response.EventSubscription;

            #endregion
        }
 private Amazon.Neptune.Model.AddSourceIdentifierToSubscriptionResponse CallAWSServiceOperation(IAmazonNeptune client, Amazon.Neptune.Model.AddSourceIdentifierToSubscriptionRequest request)
 {
     Utils.Common.WriteVerboseEndpointMessage(this, client.Config, "Amazon Neptune", "AddSourceIdentifierToSubscription");
     try
     {
         #if DESKTOP
         return(client.AddSourceIdentifierToSubscription(request));
         #elif CORECLR
         return(client.AddSourceIdentifierToSubscriptionAsync(request).GetAwaiter().GetResult());
         #else
                 #error "Unknown build edition"
         #endif
     }
     catch (AmazonServiceException exc)
     {
         var webException = exc.InnerException as System.Net.WebException;
         if (webException != null)
         {
             throw new Exception(Utils.Common.FormatNameResolutionFailureMessage(client.Config, webException.Message), webException);
         }
         throw;
     }
 }