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
Idawscc.cleanrooms.id_namespace_associations

Fields

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

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

Methods

NameResourceAccessible byRequired Params
create_resourceid_namespace_associationsINSERTMembershipIdentifier, InputReferenceConfig, Name, region
delete_resourceid_namespace_associationsDELETEIdentifier, region
update_resourceid_namespace_associationsUPDATEIdentifier, PatchDocument, region
list_resourcesid_namespace_associations_list_onlySELECTregion
get_resourceid_namespace_associationsSELECTIdentifier, region

SELECT examples

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 awscc.cleanrooms.id_namespace_associations
WHERE
region = 'us-east-1' AND
Identifier = '{{ id_namespace_association_identifier }}|{{ membership_identifier }}';

INSERT example

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

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

UPDATE example

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

/*+ update */
UPDATE awscc.cleanrooms.id_namespace_associations
SET PatchDocument = string('{{ {
"Tags": tags,
"Name": name,
"Description": description,
"IdMappingConfig": id_mapping_config
} | generate_patch_document }}')
WHERE
region = '{{ region }}' AND
Identifier = '{{ id_namespace_association_identifier }}|{{ membership_identifier }}';

DELETE example

/*+ delete */
DELETE FROM awscc.cleanrooms.id_namespace_associations
WHERE
Identifier = '{{ id_namespace_association_identifier }}|{{ membership_identifier }}' AND
region = 'us-east-1';

Permissions

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

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