DeadlineCloud / Client / list_farm_members
list_farm_members#
- DeadlineCloud.Client.list_farm_members(**kwargs)#
Lists the members of a farm.
See also: AWS API Documentation
Request Syntax
response = client.list_farm_members( farmId='string', maxResults=123, nextToken='string' )
- Parameters:
farmId (string) –
[REQUIRED]
The farm ID.
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.
- Return type:
dict
- Returns:
Response Syntax
{ 'members': [ { 'farmId': 'string', 'identityStoreId': 'string', 'membershipLevel': 'VIEWER'|'CONTRIBUTOR'|'OWNER'|'MANAGER', 'principalId': 'string', 'principalType': 'USER'|'GROUP' }, ], 'nextToken': 'string' }
Response Structure
(dict) –
members (list) –
The members on the list.
(dict) –
The member of a farm.
farmId (string) –
The farm ID of the farm member.
identityStoreId (string) –
The identity store ID of the farm member.
membershipLevel (string) –
The farm member’s membership level.
principalId (string) –
The principal ID of the farm member.
principalType (string) –
The principal type of the farm member.
nextToken (string) –
If Deadline Cloud returns
nextToken
, then there are more results available. The value ofnextToken
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, thennextToken
is set tonull
. Each pagination token expires after 24 hours. If you provide a token that isn’t valid, then you receive an HTTP 400ValidationException
error.
Exceptions
DeadlineCloud.Client.exceptions.AccessDeniedException
DeadlineCloud.Client.exceptions.InternalServerErrorException
DeadlineCloud.Client.exceptions.ResourceNotFoundException
DeadlineCloud.Client.exceptions.ThrottlingException
DeadlineCloud.Client.exceptions.ValidationException