:doc:`ParallelComputingService <../../pcs>` / Client / delete_queue

************
delete_queue
************



.. py:method:: ParallelComputingService.Client.delete_queue(**kwargs)

  

  Deletes a job queue. If the compute node group associated with this queue isn't associated with any other queues, PCS terminates all the compute nodes for this queue.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/pcs-2023-02-10/DeleteQueue>`_  


  **Request Syntax**
  ::

    response = client.delete_queue(
        clusterIdentifier='string',
        queueIdentifier='string',
        clientToken='string'
    )
    
  :type clusterIdentifier: string
  :param clusterIdentifier: **[REQUIRED]** 

    The name or ID of the cluster of the queue.

    

  
  :type queueIdentifier: string
  :param queueIdentifier: **[REQUIRED]** 

    The name or ID of the queue to delete.

    

  
  :type clientToken: string
  :param clientToken: 

    A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Idempotency ensures that an API request completes only once. With an idempotent request, if the original request completes successfully, the subsequent retries with the same client token return the result from the original successful request and they have no additional effect. If you don't specify a client token, the CLI and SDK automatically generate 1 for you.

    This field is autopopulated if not provided.

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

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`ParallelComputingService.Client.exceptions.ThrottlingException`

  
  *   :py:class:`ParallelComputingService.Client.exceptions.ValidationException`

  
  *   :py:class:`ParallelComputingService.Client.exceptions.ConflictException`

  
  *   :py:class:`ParallelComputingService.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`ParallelComputingService.Client.exceptions.InternalServerException`

  
  *   :py:class:`ParallelComputingService.Client.exceptions.AccessDeniedException`

  