:doc:`Batch <../../batch>` / Client / delete_job_queue

****************
delete_job_queue
****************



.. py:method:: Batch.Client.delete_job_queue(**kwargs)

  

  Deletes the specified job queue. You must first disable submissions for a queue with the  UpdateJobQueue operation. All jobs in the queue are eventually terminated when you delete a job queue. The jobs are terminated at a rate of about 16 jobs each second.

   

  It's not necessary to disassociate compute environments from a queue before submitting a ``DeleteJobQueue`` request.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DeleteJobQueue>`_  


  **Request Syntax**
  ::

    response = client.delete_job_queue(
        jobQueue='string'
    )
    
  :type jobQueue: string
  :param jobQueue: **[REQUIRED]** 

    The short name or full Amazon Resource Name (ARN) of the queue to delete.

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`Batch.Client.exceptions.ClientException`

  
  *   :py:class:`Batch.Client.exceptions.ServerException`

  

  **Examples**

  This example deletes the GPGPU job queue.
  ::

    response = client.delete_job_queue(
        jobQueue='GPGPU',
    )
    
    print(response)

  
  Expected Output:
  ::

    {
        'ResponseMetadata': {
            '...': '...',
        },
    }

  