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

****************
list_job_members
****************



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

  

  Lists members on a job.

  

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


  **Request Syntax**
  ::

    response = client.list_job_members(
        farmId='string',
        queueId='string',
        jobId='string',
        nextToken='string',
        maxResults=123
    )
    
  :type farmId: string
  :param farmId: **[REQUIRED]** 

    The farm ID of the job to list.

    

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

    The queue ID to include on the list.

    

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

    The job ID to include on the list.

    

  
  :type nextToken: string
  :param nextToken: 

    The token for the next set of results, or ``null`` to start from the beginning.

    

  
  :type maxResults: integer
  :param maxResults: 

    The maximum number of results to return. Use this parameter with ``NextToken`` to get results as a set of sequential pages.

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

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

    

    - *(dict) --* 
      

      - **members** *(list) --* 

        The members on the list.

        
        

        - *(dict) --* 

          The details for a job member.

          
          

          - **farmId** *(string) --* 

            The farm ID.

            
          

          - **queueId** *(string) --* 

            The queue ID.

            
          

          - **jobId** *(string) --* 

            The job ID.

            
          

          - **principalId** *(string) --* 

            The principal ID of the job member.

            
          

          - **principalType** *(string) --* 

            The principal type of the job member.

            
          

          - **identityStoreId** *(string) --* 

            The identity store ID.

            
          

          - **membershipLevel** *(string) --* 

            The job member's membership level.

            
      
    
      

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

  