public void RedshiftDeleteEventSubscription()
        {
            #region to-delete-an-event-subscription-1483134357677

            var response = client.DeleteEventSubscription(new DeleteEventSubscriptionRequest
            {
                SubscriptionName = "mysubscription"
            });


            #endregion
        }
 private Amazon.Redshift.Model.DeleteEventSubscriptionResponse CallAWSServiceOperation(IAmazonRedshift client, Amazon.Redshift.Model.DeleteEventSubscriptionRequest request)
 {
     Utils.Common.WriteVerboseEndpointMessage(this, client.Config, "Amazon Redshift", "DeleteEventSubscription");
     try
     {
         #if DESKTOP
         return(client.DeleteEventSubscription(request));
         #elif CORECLR
         return(client.DeleteEventSubscriptionAsync(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;
     }
 }