Skip to main content

collaborations

Creates, updates, deletes or gets a collaboration resource or lists collaborations in a region

Overview

Namecollaborations
TypeResource
DescriptionRepresents a collaboration between AWS accounts that allows for secure data collaboration
Idawscc.cleanrooms.collaborations

Fields

NameDatatypeDescription
arnstring
tagsarrayAn arbitrary set of tags (key-value pairs) for this cleanrooms collaboration.
collaboration_identifierstring
creator_display_namestring
creator_member_abilitiesarray
creator_ml_member_abilitiesobject
data_encryption_metadataobject
descriptionstring
membersarray
namestring
job_log_statusstring
query_log_statusstring
analytics_enginestring
creator_payment_configurationobject
regionstringAWS region.

For more information, see AWS::CleanRooms::Collaboration.

Methods

NameResourceAccessible byRequired Params
create_resourcecollaborationsINSERTCreatorDisplayName, Name, Description, QueryLogStatus, region
delete_resourcecollaborationsDELETEIdentifier, region
update_resourcecollaborationsUPDATEIdentifier, PatchDocument, region
list_resourcescollaborations_list_onlySELECTregion
get_resourcecollaborationsSELECTIdentifier, region

SELECT examples

Gets all properties from an individual collaboration.

SELECT
region,
arn,
tags,
collaboration_identifier,
creator_display_name,
creator_member_abilities,
creator_ml_member_abilities,
data_encryption_metadata,
description,
members,
name,
job_log_status,
query_log_status,
analytics_engine,
creator_payment_configuration
FROM awscc.cleanrooms.collaborations
WHERE
region = 'us-east-1' AND
Identifier = '{{ collaboration_identifier }}';

INSERT example

Use the following StackQL query and manifest file to create a new collaboration resource, using stack-deploy.

/*+ create */
INSERT INTO awscc.cleanrooms.collaborations (
CreatorDisplayName,
Description,
Name,
QueryLogStatus,
region
)
SELECT
'{{ creator_display_name }}',
'{{ description }}',
'{{ name }}',
'{{ query_log_status }}',
'{{ region }}';

UPDATE example

Use the following StackQL query and manifest file to update a collaboration resource, using stack-deploy.

/*+ update */
UPDATE awscc.cleanrooms.collaborations
SET PatchDocument = string('{{ {
"Tags": tags,
"Description": description,
"Name": name,
"AnalyticsEngine": analytics_engine
} | generate_patch_document }}')
WHERE
region = '{{ region }}' AND
Identifier = '{{ collaboration_identifier }}';

DELETE example

/*+ delete */
DELETE FROM awscc.cleanrooms.collaborations
WHERE
Identifier = '{{ collaboration_identifier }}' AND
region = 'us-east-1';

Permissions

To operate on the collaborations resource, the following permissions are required:

cleanrooms:CreateCollaboration,
cleanrooms:GetCollaboration,
cleanrooms:ListMembers,
cleanrooms:ListTagsForResource,
cleanrooms:TagResource,
cleanrooms:GetCollaboration,
cleanrooms:ListCollaborations