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

************************
update_queue_environment
************************



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

  

  Updates the queue environment.

  

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


  **Request Syntax**
  ::

    response = client.update_queue_environment(
        clientToken='string',
        farmId='string',
        queueId='string',
        queueEnvironmentId='string',
        priority=123,
        templateType='JSON'|'YAML',
        template='string'
    )
    
  :type clientToken: string
  :param clientToken: 

    The unique token which the server uses to recognize retries of the same request.

    This field is autopopulated if not provided.

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

    The farm ID of the queue environment to update.

    

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

    The queue ID of the queue environment to update.

    

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

    The queue environment ID to update.

    

  
  :type priority: integer
  :param priority: 

    The priority to update.

    

  
  :type templateType: string
  :param templateType: 

    The template type to update.

    

  
  :type template: string
  :param template: 

    The template to update.

    

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

  