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 = '{{ region }}' 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 }}'
RETURNING
ErrorCode,
EventTime,
Identifier,
Operation,
OperationStatus,
RequestToken,
ResourceModel,
RetryAfter,
StatusMessage,
TypeName
;

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 }}'
RETURNING
ErrorCode,
EventTime,
Identifier,
Operation,
OperationStatus,
RequestToken,
ResourceModel,
RetryAfter,
StatusMessage,
TypeName
;

DELETE example

/*+ delete */
DELETE FROM awscc.cleanrooms.id_namespace_associations
WHERE
Identifier = '{{ id_namespace_association_identifier }}|{{ membership_identifier }}' AND
region = '{{ region }}'
RETURNING
ErrorCode,
EventTime,
Identifier,
Operation,
OperationStatus,
RequestToken,
ResourceModel,
RetryAfter,
StatusMessage,
TypeName
;

Additional Parameters

Mutable resources in the Cloud Control provider support additional optional parameters which can be supplied with INSERT, UPDATE, or DELETE operations. These include:

ParameterDescription
ClientToken
A unique identifier to ensure the idempotency of the resource request.This allows the provider to accurately distinguish between retries and new requests.
A client token is valid for 36 hours once used.
After that, a resource request with the same client token is treated as a new request.
If you do not specify a client token, one is generated for inclusion in the request.
RoleArn
The ARN of the IAM role used to perform this resource operation.The role specified must have the permissions required for this operation.
If you do not specify a role, a temporary session is created using your AWS user credentials.
TypeVersionId
For private resource types, the type version to use in this resource operation.If you do not specify a resource version, the default version is used.

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