DeadlineCloud / Client / list_queue_fleet_associations

list_queue_fleet_associations#

DeadlineCloud.Client.list_queue_fleet_associations(**kwargs)#

Lists queue-fleet associations.

See also: AWS API Documentation

Request Syntax

response = client.list_queue_fleet_associations(
    farmId='string',
    fleetId='string',
    maxResults=123,
    nextToken='string',
    queueId='string'
)
Parameters:
  • farmId (string) –

    [REQUIRED]

    The farm ID for the queue-fleet association list.

  • fleetId (string) – The fleet ID for the queue-fleet association 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-fleet association list.

Return type:

dict

Returns:

Response Syntax

{
    'nextToken': 'string',
    'queueFleetAssociations': [
        {
            'createdAt': datetime(2015, 1, 1),
            'createdBy': 'string',
            'fleetId': 'string',
            'queueId': 'string',
            'status': 'ACTIVE'|'STOP_SCHEDULING_AND_COMPLETE_TASKS'|'STOP_SCHEDULING_AND_CANCEL_TASKS'|'STOPPED',
            'updatedAt': datetime(2015, 1, 1),
            'updatedBy': 'string'
        },
    ]
}

Response Structure

  • (dict) –

    • 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.

    • queueFleetAssociations (list) –

      The queue-fleet associations on the list.

      • (dict) –

        The details of a queue-fleet association.

        • createdAt (datetime) –

          The date and time the resource was created.

        • createdBy (string) –

          The user or system that created this resource.

        • fleetId (string) –

          The fleet ID.

        • queueId (string) –

          The queue ID.

        • status (string) –

          The status of task scheduling in the queue-fleet association.

          • ACTIVE–Association is active.

          • STOP_SCHEDULING_AND_COMPLETE_TASKS–Association has stopped scheduling new tasks and is completing current tasks.

          • STOP_SCHEDULING_AND_CANCEL_TASKS–Association has stopped scheduling new tasks and is canceling current tasks.

          • STOPPED–Association has been stopped.

        • updatedAt (datetime) –

          The date and time the resource was updated.

        • updatedBy (string) –

          The user or system that updated this resource.

Exceptions

  • DeadlineCloud.Client.exceptions.AccessDeniedException

  • DeadlineCloud.Client.exceptions.InternalServerErrorException

  • DeadlineCloud.Client.exceptions.ResourceNotFoundException

  • DeadlineCloud.Client.exceptions.ThrottlingException