Skip to content

aws.entityresolution.get_id_namespace

Example SQL Queries

SELECT * FROM
aws.entityresolution.get_id_namespace
WHERE
"id_namespace_name" = 'VALUE';

Description

Returns the IdNamespace with a given name, if it exists.

Table Definition

Column NameColumn Data Type
id_namespace_name Required Input Column

The name of the ID namespace.

VARCHAR
_aws_profile Input Column

The AWS profile defines the AWS identity used. It can be defined via credentials or by assuming a IAM role.

STRUCT(
"type" VARCHAR,
"name" VARCHAR,
"account_id" VARCHAR,
"via_profile_name" VARCHAR,
"assumed_role_arn" VARCHAR,
"organization" STRUCT(
"account_name" VARCHAR,
"id" VARCHAR,
"tags" STRUCT(
"key" VARCHAR,
"value" VARCHAR
)[],
"master_account" STRUCT(
"id" VARCHAR,
"email" VARCHAR
),
"parents" STRUCT(
"type" VARCHAR,
"id" VARCHAR,
"name" VARCHAR,
"tags" STRUCT(
"key" VARCHAR,
"value" VARCHAR
)[]
)[]
)
)
Show child fields
_aws_profile.account_id

The AWS account id

_aws_profile.assumed_role_arn

The ARN of the assumed role

_aws_profile.name

The unique name of the profile.

_aws_profile.organization

Information about this profile's membership in the AWS organization.

Show child fields
_aws_profile.organization.account_name

The name of account speciifed by the organization

_aws_profile.organization.id

The organization id

_aws_profile.organization.master_account
Show child fields
_aws_profile.organization.master_account.email

The organization master account email address

_aws_profile.organization.master_account.id

The organization master account id

_aws_profile.organization.parents[]
Show child fields
_aws_profile.organization.parents[].id

The id of the parent

_aws_profile.organization.parents[].name

The name of the parent

_aws_profile.organization.parents[].tags[]
Show child fields
_aws_profile.organization.parents[].tags[].key
_aws_profile.organization.parents[].tags[].value
_aws_profile.organization.parents[].type

The type of parent can be an organization unit or a root

_aws_profile.organization.tags[]
Show child fields
_aws_profile.organization.tags[].key
_aws_profile.organization.tags[].value
_aws_profile.type

The type of profile, either 'credentials' or 'assumed_role'

_aws_profile.via_profile_name

This IAM role for this profile is assumed by first utilizing another profile with this name to obtain credentials.

created_at

The timestamp of when the ID namespace was created.

TIMESTAMP_S
description

The description of the ID namespace.

VARCHAR
id_mapping_workflow_properties

Determines the properties of IdMappingWorkflow where this IdNamespace can be used as a Source or a Target.

STRUCT(
"id_mapping_type" VARCHAR,
"provider_properties" STRUCT(
"provider_configuration" VARCHAR,
"provider_service_arn" VARCHAR
),
"rule_based_properties" STRUCT(
"attribute_matching_model" VARCHAR,
"record_matching_models" VARCHAR[],
"rule_definition_types" VARCHAR[],
"rules" STRUCT(
"matching_keys" VARCHAR[],
"rule_name" VARCHAR
)[]
)
)[]
Show child fields
id_mapping_workflow_properties[]
Show child fields
id_mapping_workflow_properties[].id_mapping_type

The type of ID mapping.

id_mapping_workflow_properties[].provider_properties

An object which defines any additional configurations required by the provider service.

Show child fields
id_mapping_workflow_properties[].provider_properties.provider_configuration

An object which defines any additional configurations required by the provider service.

id_mapping_workflow_properties[].provider_properties.provider_service_arn

The Amazon Resource Name (ARN) of the provider service.

id_mapping_workflow_properties[].rule_based_properties

An object which defines any additional configurations required by rule-based matching.

Show child fields
id_mapping_workflow_properties[].rule_based_properties.attribute_matching_model

The comparison type. You can either choose ONE_TO_ONE or MANY_TO_MANY as the attributeMatchingModel.

If you choose MANY_TO_MANY, the system can match attributes across the sub-types of an attribute type. For example, if the value of the Email field of Profile A matches the value of BusinessEmail field of Profile B, the two profiles are matched on the Email attribute type.

If you choose ONE_TO_ONE, the system can only match attributes if the sub-types are an exact match. For example, for the Email attribute type, the system will only consider it a match if the value of the Email field of Profile A matches the value of the Email field of Profile B.

id_mapping_workflow_properties[].rule_based_properties.record_matching_models[]
id_mapping_workflow_properties[].rule_based_properties.rule_definition_types[]
id_mapping_workflow_properties[].rule_based_properties.rules[]
Show child fields
id_mapping_workflow_properties[].rule_based_properties.rules[].matching_keys[]
id_mapping_workflow_properties[].rule_based_properties.rules[].rule_name

A name for the matching rule.

id_namespace_arn

The Amazon Resource Name (ARN) of the ID namespace.

VARCHAR
input_source_config

A list of InputSource objects, which have the fields InputSourceARN and SchemaName.

STRUCT(
"input_source_arn" VARCHAR,
"schema_name" VARCHAR
)[]
Show child fields
input_source_config[]
Show child fields
input_source_config[].input_source_arn

An Glue table Amazon Resource Name (ARN) or a matching workflow ARN for the input source table.

input_source_config[].schema_name

The name of the schema.

role_arn

The Amazon Resource Name (ARN) of the IAM role. Entity Resolution assumes this role to access the resources defined in this IdNamespace on your behalf as part of a workflow run.

VARCHAR
tags

The tags used to organize, track, or control access for this resource.

MAP(VARCHAR, VARCHAR)
type

The type of ID namespace. There are two types: SOURCE and TARGET.

The SOURCE contains configurations for sourceId data that will be processed in an ID mapping workflow.

The TARGET contains a configuration of targetId to which all sourceIds will resolve to.

VARCHAR
updated_at

The timestamp of when the ID namespace was last updated.

TIMESTAMP_S