Skip to main content

id_namespace_associations

Creates, updates, deletes, gets or lists an id_namespace_associations resource.

Overview

Nameid_namespace_associations
TypeResource
Idaws.cleanrooms.id_namespace_associations

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringThe unique identifier for this ID namespace association. (pattern: <code>[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}</code>)
namestringThe name of this ID namespace association. (pattern: <code>(?!\s*$)[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDBFF-\uDC00\uDFFF\t]*</code>)
arnstringThe Amazon Resource Name (ARN) of the ID namespace association. (pattern: <code>arn:aws:cleanrooms:[\w]{2}-[\w]{4,9}-[\d]:[\d]{12}:membership/[\d\w-]+/idnamespaceassociation/[\d\w-]+</code>)
collaboration_arnstringThe Amazon Resource Name (ARN) of the collaboration that contains this ID namespace association. (pattern: <code>arn:aws:[\w]+:[\w]{2}-[\w]{4,9}-[\d]:[\d]{12}:collaboration/[\d\w-]+</code>)
collaboration_idstringThe unique identifier of the collaboration that contains this ID namespace association. (pattern: <code>[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}</code>)
create_timestring (date-time)The time at which the ID namespace association was created.
descriptionstringThe description of the ID namespace association. (pattern: <code>[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDBFF-\uDC00\uDFFF\t\r\n]*</code>)
id_mapping_configobjectThe configuration settings for the ID mapping table.
input_reference_configobjectProvides the information for the ID namespace association input reference configuration.
input_reference_propertiesobjectThe input reference properties for the ID namespace association.
membership_arnstringThe Amazon Resource Name (ARN) of the membership resource for this ID namespace association. (pattern: <code>arn:aws:[\w]+:[\w]{2}-[\w]{4,9}-[\d]:[\d]{12}:membership/[\d\w-]+</code>)
membership_idstringThe unique identifier of the membership resource for this ID namespace association. (pattern: <code>[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}</code>)
update_timestring (date-time)The most recent time at which the ID namespace association was updated.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_id_namespace_associationselectid_namespace_association_identifier, membership_identifier, regionRetrieves an ID namespace association.
list_id_namespace_associationsselectmembership_identifier, regionnextToken, maxResultsReturns a list of ID namespace associations.
create_id_namespace_associationinsertmembership_identifier, region, inputReferenceConfig, nameCreates an ID namespace association.
update_id_namespace_associationupdateid_namespace_association_identifier, membership_identifier, regionProvides the details that are necessary to update an ID namespace association.
delete_id_namespace_associationdeleteid_namespace_association_identifier, membership_identifier, regionDeletes an ID namespace association.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
id_namespace_association_identifierstringThe unique identifier of the ID namespace association that you want to delete.
membership_identifierstringThe unique identifier of the membership that contains the ID namespace association that you want to delete.
regionstringAWS region (default: us-east-1)
maxResultsintegerThe maximum size of the results that is returned per call. Service chooses a default if it has not been set. Service may return a nextToken even if the maximum results has not been met.
nextTokenstringThe pagination token that's used to fetch the next set of results.

SELECT examples

Retrieves an ID namespace association.

SELECT
id,
name,
arn,
collaboration_arn,
collaboration_id,
create_time,
description,
id_mapping_config,
input_reference_config,
input_reference_properties,
membership_arn,
membership_id,
update_time
FROM aws.cleanrooms.id_namespace_associations
WHERE id_namespace_association_identifier = '{{ id_namespace_association_identifier }}' -- required
AND membership_identifier = '{{ membership_identifier }}' -- required
AND region = '{{ region }}' -- required
;

INSERT examples

Creates an ID namespace association.

INSERT INTO aws.cleanrooms.id_namespace_associations (
inputReferenceConfig,
tags,
name,
description,
idMappingConfig,
membership_identifier,
region
)
SELECT
'{{ inputReferenceConfig }}' /* required */,
'{{ tags }}',
'{{ name }}' /* required */,
'{{ description }}',
'{{ idMappingConfig }}',
'{{ membership_identifier }}',
'{{ region }}'
RETURNING
id_namespace_association
;

UPDATE examples

Provides the details that are necessary to update an ID namespace association.

UPDATE aws.cleanrooms.id_namespace_associations
SET
name = '{{ name }}',
description = '{{ description }}',
idMappingConfig = '{{ idMappingConfig }}'
WHERE
id_namespace_association_identifier = '{{ id_namespace_association_identifier }}' --required
AND membership_identifier = '{{ membership_identifier }}' --required
AND region = '{{ region }}' --required
RETURNING
id_namespace_association;

DELETE examples

Deletes an ID namespace association.

DELETE FROM aws.cleanrooms.id_namespace_associations
WHERE id_namespace_association_identifier = '{{ id_namespace_association_identifier }}' --required
AND membership_identifier = '{{ membership_identifier }}' --required
AND region = '{{ region }}' --required
;