Skip to main content

id_namespaces

Creates, updates, deletes or gets an id_namespace resource or lists id_namespaces in a region

Overview

Nameid_namespaces
TypeResource
DescriptionIdNamespace defined in AWS Entity Resolution service
Idaws.entityresolution.id_namespaces

Fields

NameDatatypeDescription
id_namespace_namestring
descriptionstring
input_source_configarray
id_mapping_workflow_propertiesarray
typestring
role_arnstring
id_namespace_arnstringThe arn associated with the IdNamespace
created_atstringThe date and time when the IdNamespace was created
updated_atstringThe date and time when the IdNamespace was updated
tagsarray
regionstringAWS region.

Methods

NameAccessible byRequired Params
create_resourceINSERTIdNamespaceName, Type, region
delete_resourceDELETEdata__Identifier, region
update_resourceUPDATEdata__Identifier, data__PatchDocument, region
list_resourcesSELECTregion
get_resourceSELECTdata__Identifier, region

SELECT examples

Gets all id_namespaces in a region.

SELECT
region,
id_namespace_name,
description,
input_source_config,
id_mapping_workflow_properties,
type,
role_arn,
id_namespace_arn,
created_at,
updated_at,
tags
FROM aws.entityresolution.id_namespaces
WHERE region = 'us-east-1';

Gets all properties from an individual id_namespace.

SELECT
region,
id_namespace_name,
description,
input_source_config,
id_mapping_workflow_properties,
type,
role_arn,
id_namespace_arn,
created_at,
updated_at,
tags
FROM aws.entityresolution.id_namespaces
WHERE region = 'us-east-1' AND data__Identifier = '<IdNamespaceName>';

INSERT example

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

/*+ create */
INSERT INTO aws.entityresolution.id_namespaces (
IdNamespaceName,
Type,
region
)
SELECT
'{{ IdNamespaceName }}',
'{{ Type }}',
'{{ region }}';

DELETE example

/*+ delete */
DELETE FROM aws.entityresolution.id_namespaces
WHERE data__Identifier = '<IdNamespaceName>'
AND region = 'us-east-1';

Permissions

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

Create

entityresolution:CreateIdNamespace,
entityresolution:TagResource,
iam:PassRole

Read

entityresolution:GetIdNamespace,
entityresolution:ListTagsForResource

Update

entityresolution:UpdateIdNamespace,
entityresolution:ListTagsForResource,
entityresolution:TagResource,
entityresolution:UntagResource,
iam:PassRole

Delete

entityresolution:DeleteIdNamespace,
entityresolution:GetIdNamespace,
entityresolution:UntagResource

List

entityresolution:ListIdNamespaces