Skip to main content

members

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

Overview

Namemembers
TypeResource
Idaws.cleanrooms.members

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
abilitiesarrayThe abilities granted to the collaboration member.
account_idstringThe identifier used to reference members of the collaboration. Currently only supports Amazon Web Services account ID. (pattern: <code>\d+</code>)
create_timestring (date-time)The time when the member was created.
display_namestringThe member's display name. (pattern: <code>(?!\s*$)[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDBFF-\uDC00\uDFFF\t]*</code>)
membership_arnstringThe unique ARN for the member's associated membership, if present. (pattern: <code>arn:aws:[\w]+:[\w]{2}-[\w]{4,9}-[\d]:[\d]{12}:membership/[\d\w-]+</code>)
membership_idstringThe unique ID for the member's associated membership, if present. (pattern: <code>[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}</code>)
ml_abilitiesobjectThe ML member abilities for a collaboration member.
payment_configurationobjectAn object representing the collaboration member's payment responsibilities set by the collaboration creator.
statusstringThe status of the member. (INVITED, ACTIVE, LEFT, REMOVED)
update_timestring (date-time)The time the member metadata was last updated.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_membersselectcollaboration_identifier, regionnextToken, maxResultsLists all members within a collaboration.
delete_memberdeletecollaboration_identifier, account_id, regionRemoves the specified member from a collaboration. The removed member is placed in the Removed status and can't interact with the collaboration. The removed member's data is inaccessible to active members of the collaboration.

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
account_idstringThe account ID of the member to remove.
collaboration_identifierstringThe unique identifier for the associated collaboration.
regionstringAWS region (default: us-east-1)
maxResultsintegerThe maximum number of results that are returned for an API request call. The service chooses a default number if you don't set one. The service might return a nextToken even if the maxResults value has not been met.
nextTokenstringThe pagination token that's used to fetch the next set of results.

SELECT examples

Lists all members within a collaboration.

SELECT
abilities,
account_id,
create_time,
display_name,
membership_arn,
membership_id,
ml_abilities,
payment_configuration,
status,
update_time
FROM aws.cleanrooms.members
WHERE collaboration_identifier = '{{ collaboration_identifier }}' -- required
AND region = '{{ region }}' -- required
AND nextToken = '{{ nextToken }}'
AND maxResults = '{{ maxResults }}'
;

DELETE examples

Removes the specified member from a collaboration. The removed member is placed in the Removed status and can't interact with the collaboration. The removed member's data is inaccessible to active members of the collaboration.

DELETE FROM aws.cleanrooms.members
WHERE collaboration_identifier = '{{ collaboration_identifier }}' --required
AND account_id = '{{ account_id }}' --required
AND region = '{{ region }}' --required
;