:doc:`DeadlineCloud <../../deadline>` / Client / update_queue_limit_association

******************************
update_queue_limit_association
******************************



.. py:method:: DeadlineCloud.Client.update_queue_limit_association(**kwargs)

  

  Updates the status of the queue. If you set the status to one of the ``STOP_LIMIT_USAGE*`` values, there will be a delay before the status transitions to the ``STOPPED`` state.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/deadline-2023-10-12/UpdateQueueLimitAssociation>`_  


  **Request Syntax**
  ::

    response = client.update_queue_limit_association(
        farmId='string',
        queueId='string',
        limitId='string',
        status='ACTIVE'|'STOP_LIMIT_USAGE_AND_COMPLETE_TASKS'|'STOP_LIMIT_USAGE_AND_CANCEL_TASKS'
    )
    
  :type farmId: string
  :param farmId: **[REQUIRED]** 

    The unique identifier of the farm that contains the associated queues and limits.

    

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

    The unique identifier of the queue associated to the limit.

    

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

    The unique identifier of the limit associated to the queue.

    

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

    Sets the status of the limit. You can mark the limit active, or you can stop usage of the limit and either complete existing tasks or cancel any existing tasks immediately.

    

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

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`DeadlineCloud.Client.exceptions.AccessDeniedException`

  
  *   :py:class:`DeadlineCloud.Client.exceptions.InternalServerErrorException`

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

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

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

  