Skip to main content

id_namespace_associations

Creates, updates, deletes or gets an id_namespace_association resource or lists id_namespace_associations in a region

Overview

Nameid_namespace_associations
TypeResource
DescriptionRepresents an association between an ID namespace and a collaboration
Idaws.cleanrooms.id_namespace_associations

Fields

NameDatatypeDescription
id_namespace_association_identifierstring
arnstring
membership_identifierstring
membership_arnstring
collaboration_identifierstring
collaboration_arnstring
input_reference_configobject
tagsarray
namestring
descriptionstring
id_mapping_configobject
input_reference_propertiesobject
regionstringAWS region.

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

Methods

NameAccessible byRequired Params
create_resourceINSERTMembershipIdentifier, InputReferenceConfig, Name, region
delete_resourceDELETEdata__Identifier, region
update_resourceUPDATEdata__Identifier, data__PatchDocument, region
list_resourcesSELECTregion
get_resourceSELECTdata__Identifier, region

SELECT examples

Gets all id_namespace_associations in a region.

SELECT
region,
id_namespace_association_identifier,
arn,
membership_identifier,
membership_arn,
collaboration_identifier,
collaboration_arn,
input_reference_config,
tags,
name,
description,
id_mapping_config,
input_reference_properties
FROM aws.cleanrooms.id_namespace_associations
WHERE region = 'us-east-1';

Gets all properties from an individual id_namespace_association.

SELECT
region,
id_namespace_association_identifier,
arn,
membership_identifier,
membership_arn,
collaboration_identifier,
collaboration_arn,
input_reference_config,
tags,
name,
description,
id_mapping_config,
input_reference_properties
FROM aws.cleanrooms.id_namespace_associations
WHERE region = 'us-east-1' AND data__Identifier = '<IdNamespaceAssociationIdentifier>|<MembershipIdentifier>';

INSERT example

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

/*+ create */
INSERT INTO aws.cleanrooms.id_namespace_associations (
MembershipIdentifier,
InputReferenceConfig,
Name,
region
)
SELECT
'{{ MembershipIdentifier }}',
'{{ InputReferenceConfig }}',
'{{ Name }}',
'{{ region }}';

DELETE example

/*+ delete */
DELETE FROM aws.cleanrooms.id_namespace_associations
WHERE data__Identifier = '<IdNamespaceAssociationIdentifier|MembershipIdentifier>'
AND region = 'us-east-1';

Permissions

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

Create

cleanrooms:CreateIdNamespaceAssociation,
cleanrooms:GetIdNamespaceAssociation,
cleanrooms:ListIdNamespaceAssociations,
cleanrooms:ListTagsForResource,
cleanrooms:TagResource,
cleanrooms:GetMembership,
cleanrooms:GetCollaboration,
entityresolution:GetIdNamespace,
entityresolution:AddPolicyStatement

Read

cleanrooms:GetIdNamespaceAssociation,
cleanrooms:ListTagsForResource,
cleanrooms:GetMembership,
cleanrooms:GetCollaboration,
entityresolution:GetIdNamespace

Update

cleanrooms:UpdateIdNamespaceAssociation,
cleanrooms:GetIdNamespaceAssociation,
cleanrooms:GetMembership,
cleanrooms:GetCollaboration,
cleanrooms:ListTagsForResource,
cleanrooms:TagResource,
cleanrooms:UntagResource,
entityresolution:GetIdNamespace,
entityresolution:AddPolicyStatement

Delete

cleanrooms:DeleteIdNamespaceAssociation,
cleanrooms:GetIdNamespaceAssociation,
cleanrooms:ListIdNamespaceAssociations,
cleanrooms:GetMembership,
cleanrooms:GetCollaboration,
cleanrooms:ListTagsForResource,
cleanrooms:UntagResource,
entityresolution:GetIdNamespace,
entityresolution:DeletePolicyStatement

List

cleanrooms:ListIdNamespaceAssociations,
cleanrooms:GetMembership,
cleanrooms:GetCollaboration