DeadlineCloud / Client / associate_member_to_job

associate_member_to_job#

DeadlineCloud.Client.associate_member_to_job(**kwargs)#

Assigns a job membership level to a member

See also: AWS API Documentation

Request Syntax

response = client.associate_member_to_job(
    farmId='string',
    identityStoreId='string',
    jobId='string',
    membershipLevel='VIEWER'|'CONTRIBUTOR'|'OWNER'|'MANAGER',
    principalId='string',
    principalType='USER'|'GROUP',
    queueId='string'
)
Parameters:
  • farmId (string) –

    [REQUIRED]

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

  • identityStoreId (string) –

    [REQUIRED]

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

  • jobId (string) –

    [REQUIRED]

    The job ID to associate with the member.

  • membershipLevel (string) –

    [REQUIRED]

    The principal’s membership level for the associated job.

  • principalId (string) –

    [REQUIRED]

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

  • principalType (string) –

    [REQUIRED]

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

  • queueId (string) –

    [REQUIRED]

    The queue ID to associate to the member.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions

  • DeadlineCloud.Client.exceptions.AccessDeniedException

  • DeadlineCloud.Client.exceptions.InternalServerErrorException

  • DeadlineCloud.Client.exceptions.ResourceNotFoundException

  • DeadlineCloud.Client.exceptions.ThrottlingException

  • DeadlineCloud.Client.exceptions.ValidationException

  • DeadlineCloud.Client.exceptions.ServiceQuotaExceededException