Skip to main content

id_mapping_workflows

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

Overview

Nameid_mapping_workflows
TypeResource
Idaws.entityresolution.id_mapping_workflows

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
created_atstring (date-time)The timestamp of when the workflow was created.
descriptionstringA description of the workflow.
id_mapping_techniquesobjectAn object which defines the ID mapping technique and any additional configurations.
incremental_run_configobjectIncremental run configuration for an ID mapping workflow.
input_source_configarrayA list of InputSource objects, which have the fields InputSourceARN and SchemaName.
output_source_configarrayA list of OutputSource objects, each of which contains fields outputS3Path and KMSArn.
role_arnstringThe Amazon Resource Name (ARN) of the IAM role. Entity Resolution assumes this role to access Amazon Web Services resources on your behalf. (pattern: <code>$|^arn:aws:iam::\d{12}:role/?[a-zA-Z_0-9+=,.@-_/]+</code>)
tagsobjectThe tags used to organize, track, or control access for this resource.
updated_atstring (date-time)The timestamp of when the workflow was last updated.
workflow_arnstringThe ARN (Amazon Resource Name) that Entity Resolution generated for the IdMappingWorkflow . (pattern: <code>arn:(aws|aws-us-gov|aws-cn):entityresolution:[a-z]{2}-[a-z]{1,10}-[0-9]:[0-9]{12}:(idmappingworkflow/[a-zA-Z_0-9-]{1,255})</code>)
workflow_namestringThe name of the workflow. (pattern: <code>[a-zA-Z_0-9-]*</code>)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_id_mapping_workflowselectworkflow_name, regionReturns the IdMappingWorkflow with a given name, if it exists.
list_id_mapping_workflowsselectregionnextToken, maxResultsReturns a list of all the IdMappingWorkflows that have been created for an Amazon Web Services account.
create_id_mapping_workflowinsertregion, workflowName, inputSourceConfig, idMappingTechniquesCreates an IdMappingWorkflow object which stores the configuration of the data processing job to be run. Each IdMappingWorkflow must have a unique workflow name. To modify an existing workflow, use the UpdateIdMappingWorkflow API. Incremental processing is not supported for ID mapping workflows.
update_id_mapping_workflowupdateworkflow_name, region, inputSourceConfig, idMappingTechniquesUpdates an existing IdMappingWorkflow. This method is identical to CreateIdMappingWorkflow, except it uses an HTTP PUT request instead of a POST request, and the IdMappingWorkflow must already exist for the method to succeed. Incremental processing is not supported for ID mapping workflows.
delete_id_mapping_workflowdeleteworkflow_name, regionDeletes the IdMappingWorkflow with a given name. This operation returns a ResourceNotFoundException if a workflow with the given name does not exist.

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
regionstringAWS region (default: us-east-1)
workflow_namestringThe name of the workflow to be deleted.
maxResultsintegerThe maximum number of objects returned per page.
nextTokenstringThe pagination token from the previous API call.

SELECT examples

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

SELECT
created_at,
description,
id_mapping_techniques,
incremental_run_config,
input_source_config,
output_source_config,
role_arn,
tags,
updated_at,
workflow_arn,
workflow_name
FROM aws.entityresolution.id_mapping_workflows
WHERE workflow_name = '{{ workflow_name }}' -- required
AND region = '{{ region }}' -- required
;

INSERT examples

Creates an IdMappingWorkflow object which stores the configuration of the data processing job to be run. Each IdMappingWorkflow must have a unique workflow name. To modify an existing workflow, use the UpdateIdMappingWorkflow API. Incremental processing is not supported for ID mapping workflows.

INSERT INTO aws.entityresolution.id_mapping_workflows (
workflowName,
description,
inputSourceConfig,
outputSourceConfig,
idMappingTechniques,
incrementalRunConfig,
roleArn,
tags,
region
)
SELECT
'{{ workflowName }}' /* required */,
'{{ description }}',
'{{ inputSourceConfig }}' /* required */,
'{{ outputSourceConfig }}',
'{{ idMappingTechniques }}' /* required */,
'{{ incrementalRunConfig }}',
'{{ roleArn }}',
'{{ tags }}',
'{{ region }}'
RETURNING
description,
id_mapping_techniques,
incremental_run_config,
input_source_config,
output_source_config,
role_arn,
workflow_arn,
workflow_name
;

UPDATE examples

Updates an existing IdMappingWorkflow. This method is identical to CreateIdMappingWorkflow, except it uses an HTTP PUT request instead of a POST request, and the IdMappingWorkflow must already exist for the method to succeed. Incremental processing is not supported for ID mapping workflows.

UPDATE aws.entityresolution.id_mapping_workflows
SET
description = '{{ description }}',
inputSourceConfig = '{{ inputSourceConfig }}',
outputSourceConfig = '{{ outputSourceConfig }}',
idMappingTechniques = '{{ idMappingTechniques }}',
incrementalRunConfig = '{{ incrementalRunConfig }}',
roleArn = '{{ roleArn }}'
WHERE
workflow_name = '{{ workflow_name }}' --required
AND region = '{{ region }}' --required
AND inputSourceConfig = '{{ inputSourceConfig }}' --required
AND idMappingTechniques = '{{ idMappingTechniques }}' --required
RETURNING
description,
id_mapping_techniques,
incremental_run_config,
input_source_config,
output_source_config,
role_arn,
workflow_arn,
workflow_name;

DELETE examples

Deletes the IdMappingWorkflow with a given name. This operation returns a ResourceNotFoundException if a workflow with the given name does not exist.

DELETE FROM aws.entityresolution.id_mapping_workflows
WHERE workflow_name = '{{ workflow_name }}' --required
AND region = '{{ region }}' --required
;