Amazon.Batch.AmazonBatchClient.DeleteJobQueue C# (CSharp) Method

DeleteJobQueue() public method

Deletes the specified job queue. You must first disable submissions for a queue with the UpdateJobQueue operation and terminate any jobs that have not completed with the TerminateJob.

It is not necessary to disassociate compute environments from a queue before submitting a DeleteJobQueue request.

/// These errors are usually caused by a client action, such as using an action or resource /// on behalf of a user that doesn't have permission to use the action or resource, or /// specifying an identifier that is not valid. /// /// These errors are usually caused by a server issue. ///
public DeleteJobQueue ( DeleteJobQueueRequest request ) : DeleteJobQueueResponse
request Amazon.Batch.Model.DeleteJobQueueRequest Container for the necessary parameters to execute the DeleteJobQueue service method.
return DeleteJobQueueResponse
        public DeleteJobQueueResponse DeleteJobQueue(DeleteJobQueueRequest request)
        {
            var marshaller = new DeleteJobQueueRequestMarshaller();
            var unmarshaller = DeleteJobQueueResponseUnmarshaller.Instance;

            return Invoke<DeleteJobQueueRequest,DeleteJobQueueResponse>(request, marshaller, unmarshaller);
        }