id_namespace_associations
Creates, updates, deletes or gets an id_namespace_association
resource or lists id_namespace_associations
in a region
Overview
Name | id_namespace_associations |
Type | Resource |
Description | Represents an association between an ID namespace and a collaboration |
Id | aws.cleanrooms.id_namespace_associations |
Fields
Name | Datatype | Description |
---|---|---|
id_namespace_association_identifier | string | |
arn | string | |
membership_identifier | string | |
membership_arn | string | |
collaboration_identifier | string | |
collaboration_arn | string | |
input_reference_config | object | |
tags | array | |
name | string | |
description | string | |
id_mapping_config | object | |
input_reference_properties | object | |
region | string | AWS region. |
For more information, see AWS::CleanRooms::IdNamespaceAssociation
.
Methods
Name | Accessible by | Required Params |
---|---|---|
create_resource | INSERT | MembershipIdentifier, InputReferenceConfig, Name, region |
delete_resource | DELETE | data__Identifier, region |
update_resource | UPDATE | data__Identifier, data__PatchDocument, region |
list_resources | SELECT | region |
get_resource | SELECT | data__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
.
- Required Properties
- All Properties
- Manifest
/*+ create */
INSERT INTO aws.cleanrooms.id_namespace_associations (
MembershipIdentifier,
InputReferenceConfig,
Name,
region
)
SELECT
'{{ MembershipIdentifier }}',
'{{ InputReferenceConfig }}',
'{{ Name }}',
'{{ region }}';
/*+ create */
INSERT INTO aws.cleanrooms.id_namespace_associations (
MembershipIdentifier,
InputReferenceConfig,
Tags,
Name,
Description,
IdMappingConfig,
region
)
SELECT
'{{ MembershipIdentifier }}',
'{{ InputReferenceConfig }}',
'{{ Tags }}',
'{{ Name }}',
'{{ Description }}',
'{{ IdMappingConfig }}',
'{{ region }}';
version: 1
name: stack name
description: stack description
providers:
- aws
globals:
- name: region
value: '{{ vars.AWS_REGION }}'
resources:
- name: id_namespace_association
props:
- name: MembershipIdentifier
value: '{{ MembershipIdentifier }}'
- name: InputReferenceConfig
value:
InputReferenceArn: '{{ InputReferenceArn }}'
ManageResourcePolicies: '{{ ManageResourcePolicies }}'
- name: Tags
value:
- Key: '{{ Key }}'
Value: '{{ Value }}'
- name: Name
value: '{{ Name }}'
- name: Description
value: '{{ Description }}'
- name: IdMappingConfig
value:
AllowUseAsDimensionColumn: '{{ AllowUseAsDimensionColumn }}'
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