DeadlineCloud / Client / list_queue_environments



Lists queue environments.

See also: AWS API Documentation

Request Syntax

response = client.list_queue_environments(
  • farmId (string) –


    The farm ID for the queue environment list.

  • maxResults (integer) – The maximum number of results to return. Use this parameter with NextToken to get results as a set of sequential pages.

  • nextToken (string) – The token for the next set of results, or null to start from the beginning.

  • queueId (string) –


    The queue ID for the queue environment list.

Return type:



Response Syntax

    'environments': [
            'name': 'string',
            'priority': 123,
            'queueEnvironmentId': 'string'
    'nextToken': 'string'

Response Structure

  • (dict) –

    • environments (list) –

      The environments to include in the queue environments list.

      • (dict) –

        The summary of a queue environment.

        • name (string) –

          The name of the queue environment.

        • priority (integer) –

          The queue environment’s priority.

        • queueEnvironmentId (string) –

          The queue environment ID.

    • nextToken (string) –

      If Deadline Cloud returns nextToken, then there are more results available. The value of nextToken is a unique pagination token for each page. To retrieve the next page, call the operation again using the returned token. Keep all other arguments unchanged. If no results remain, then nextToken is set to null. Each pagination token expires after 24 hours. If you provide a token that isn’t valid, then you receive an HTTP 400 ValidationException error.


  • DeadlineCloud.Client.exceptions.AccessDeniedException

  • DeadlineCloud.Client.exceptions.InternalServerErrorException

  • DeadlineCloud.Client.exceptions.ResourceNotFoundException

  • DeadlineCloud.Client.exceptions.ThrottlingException

  • DeadlineCloud.Client.exceptions.ValidationException