DeadlineCloud / Client / list_job_members

list_job_members#

DeadlineCloud.Client.list_job_members(**kwargs)#

Lists members on a job.

See also: AWS API Documentation

Request Syntax

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

    [REQUIRED]

    The farm ID of the job to list.

  • jobId (string) –

    [REQUIRED]

    The job ID to include on the 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) –

    [REQUIRED]

    The queue ID to include on the list.

Return type:

dict

Returns:

Response Syntax

{
    'members': [
        {
            'farmId': 'string',
            'identityStoreId': 'string',
            'jobId': 'string',
            'membershipLevel': 'VIEWER'|'CONTRIBUTOR'|'OWNER'|'MANAGER',
            'principalId': 'string',
            'principalType': 'USER'|'GROUP',
            'queueId': 'string'
        },
    ],
    'nextToken': 'string'
}

Response Structure

  • (dict) –

    • members (list) –

      The members on the list.

      • (dict) –

        The details for a job member.

        • farmId (string) –

          The farm ID.

        • identityStoreId (string) –

          The identity store ID.

        • jobId (string) –

          The job ID.

        • membershipLevel (string) –

          The job member’s membership level.

        • principalId (string) –

          The principal ID of the job member.

        • principalType (string) –

          The principal type of the job member.

        • queueId (string) –

          The queue 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.

Exceptions

  • DeadlineCloud.Client.exceptions.AccessDeniedException

  • DeadlineCloud.Client.exceptions.InternalServerErrorException

  • DeadlineCloud.Client.exceptions.ResourceNotFoundException

  • DeadlineCloud.Client.exceptions.ThrottlingException

  • DeadlineCloud.Client.exceptions.ValidationException