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

***********************
associate_member_to_job
***********************



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

  

  Assigns a job membership level to a member

  

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


  **Request Syntax**
  ::

    response = client.associate_member_to_job(
        farmId='string',
        queueId='string',
        jobId='string',
        principalId='string',
        principalType='USER'|'GROUP',
        identityStoreId='string',
        membershipLevel='VIEWER'|'CONTRIBUTOR'|'OWNER'|'MANAGER'
    )
    
  :type farmId: string
  :param farmId: **[REQUIRED]** 

    The farm ID of the job to associate with the member.

    

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

    The queue ID to associate to the member.

    

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

    The job ID to associate with the member.

    

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

    The member's principal ID to associate with the job.

    

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

    The member's principal type to associate with the job.

    

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

    The member's identity store ID to associate with the job.

    

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

    The principal's membership level for the associated job.

    

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

  
  *   :py:class:`DeadlineCloud.Client.exceptions.ServiceQuotaExceededException`

  