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

******************************
create_queue_limit_association
******************************



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

  

  Associates a limit with a particular queue. After the limit is associated, all workers for jobs that specify the limit associated with the queue are subject to the limit. You can't associate two limits with the same ``amountRequirementName`` to the same queue.

  

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


  **Request Syntax**
  ::

    response = client.create_queue_limit_association(
        farmId='string',
        queueId='string',
        limitId='string'
    )
    
  :type farmId: string
  :param farmId: **[REQUIRED]** 

    The unique identifier of the farm that contains the queue and limit to associate.

    

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

    The unique identifier of the queue to associate with the limit.

    

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

    The unique identifier of the limit to associate with the queue.

    

  
  
  :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`

  