Skip to main content

queue_members

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

Overview

Namequeue_members
TypeResource
Idaws.deadline.queue_members

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
farm_idstringThe farm ID. (pattern: <code>farm-[0-9a-f]{32}</code>)
identity_store_idstringThe identity store ID. (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 queue member's membership level. (VIEWER, CONTRIBUTOR, OWNER, MANAGER)
principal_idstringThe principal ID of the queue 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 queue member. (USER, GROUP)
queue_idstringThe queue ID. (pattern: <code>queue-[0-9a-f]{32}</code>)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_queue_membersselectfarm_id, queue_id, regionnextToken, maxResultsLists the members in a queue.

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 for the queue.
queue_idstringThe queue ID to include on the list.
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 in a queue.

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