Skip to main content

farm_members

Creates, updates, deletes, gets or lists a farm_members resource.

Overview

Namefarm_members
TypeResource
Idaws.deadline.farm_members

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
farm_idstringThe farm ID of the farm member. (pattern: <code>farm-[0-9a-f]{32}</code>)
identity_store_idstringThe identity store ID of the farm member. (pattern: <code>d-[0-9a-f]{10}$|^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}</code>)
membership_levelstringThe farm member's membership level. (VIEWER, CONTRIBUTOR, OWNER, MANAGER)
principal_idstringThe principal ID of the farm member. (pattern: <code>([0-9a-f]{10}-|)[A-Fa-f0-9]{8}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{12}</code>)
principal_typestringThe principal type of the farm member. (USER, GROUP)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_farm_membersselectfarm_id, regionnextToken, maxResultsLists the members of a farm.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
farm_idstringThe farm ID.
regionstringAWS region (default: us-east-1)
maxResultsintegerThe maximum number of results to return. Use this parameter with NextToken to get results as a set of sequential pages.
nextTokenstringThe token for the next set of results, or null to start from the beginning.

SELECT examples

Lists the members of a farm.

SELECT
farm_id,
identity_store_id,
membership_level,
principal_id,
principal_type
FROM aws.deadline.farm_members
WHERE farm_id = '{{ farm_id }}' -- required
AND region = '{{ region }}' -- required
AND nextToken = '{{ nextToken }}'
AND maxResults = '{{ maxResults }}'
;