public void RedshiftCreateSnapshotCopyGrant()
        {
            #region to-create-a-snapshot-copy-grant-1482180728699

            var response = client.CreateSnapshotCopyGrant(new CreateSnapshotCopyGrantRequest
            {
                SnapshotCopyGrantName = "mycopygrant"
            });


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