DeadlineCloud / Client / associate_member_to_farm

associate_member_to_farm#

DeadlineCloud.Client.associate_member_to_farm(**kwargs)#

Assigns a farm membership level to a member.

See also: AWS API Documentation

Request Syntax

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

    [REQUIRED]

    The ID of the farm to associate with the member.

  • principalId (string) –

    [REQUIRED]

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

  • principalType (string) –

    [REQUIRED]

    The principal type of the member to associate with the farm.

  • identityStoreId (string) –

    [REQUIRED]

    The identity store ID of the member to associate with the farm.

  • membershipLevel (string) –

    [REQUIRED]

    The principal’s membership level for the associated farm.

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