:doc:`Connect <../../connect>` / Client / update_queue_status

*******************
update_queue_status
*******************



.. py:method:: Connect.Client.update_queue_status(**kwargs)

  

  Updates the status of the queue.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateQueueStatus>`_  


  **Request Syntax**
  ::

    response = client.update_queue_status(
        InstanceId='string',
        QueueId='string',
        Status='ENABLED'|'DISABLED'
    )
    
  :type InstanceId: string
  :param InstanceId: **[REQUIRED]** 

    The identifier of the Amazon Connect instance. You can `find the instance ID <https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html>`__ in the Amazon Resource Name (ARN) of the instance.

    

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

    The identifier for the queue.

    

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

    The status of the queue.

    

  
  
  :returns: None
  **Exceptions**
  
  *   :py:class:`Connect.Client.exceptions.InvalidRequestException`

  
  *   :py:class:`Connect.Client.exceptions.InvalidParameterException`

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

  
  *   :py:class:`Connect.Client.exceptions.ThrottlingException`

  
  *   :py:class:`Connect.Client.exceptions.InternalServiceException`

  