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

******************************
create_queue_fleet_association
******************************



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

  

  Creates an association between a queue and a fleet.

  

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


  **Request Syntax**
  ::

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

    The ID of the farm that the queue and fleet belong to.

    

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

    The queue ID.

    

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

    The fleet ID.

    

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

  