public void DatabaseMigrationServiceDeleteReplicationSubnetGroup()
        {
            #region delete-replication-subnet-group-1481752728597

            var response = client.DeleteReplicationSubnetGroup(new DeleteReplicationSubnetGroupRequest
            {
                ReplicationSubnetGroupIdentifier = "us-west-2ab-vpc-215ds366"
            });


            #endregion
        }
示例#2
0
 private Amazon.DatabaseMigrationService.Model.DeleteReplicationSubnetGroupResponse CallAWSServiceOperation(IAmazonDatabaseMigrationService client, Amazon.DatabaseMigrationService.Model.DeleteReplicationSubnetGroupRequest request)
 {
     Utils.Common.WriteVerboseEndpointMessage(this, client.Config, "AWS Database Migration Service", "DeleteReplicationSubnetGroup");
     try
     {
         #if DESKTOP
         return(client.DeleteReplicationSubnetGroup(request));
         #elif CORECLR
         return(client.DeleteReplicationSubnetGroupAsync(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;
     }
 }