Skip to main content

matching_workflows

Creates, updates, deletes, gets or lists a matching_workflows resource.

Overview

Namematching_workflows
TypeResource
Idaws.entityresolution.matching_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.
incremental_run_configobjectOptional. An object that defines the incremental run type. This object contains only the incrementalRunType field, which appears as "Automatic" in the console. For workflows where resolutionType is PROVIDER, incremental processing is not supported.
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, applyNormalization, KMSArn, and output.
resolution_techniquesobjectAn object which defines the resolutionType and the ruleBasedProperties.
role_arnstringThe Amazon Resource Name (ARN) of the IAM role. Entity Resolution assumes this role to access Amazon Web Services resources on your behalf.
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 MatchingWorkflow. (pattern: <code>arn:(aws|aws-us-gov|aws-cn):entityresolution:[a-z]{2}-[a-z]{1,10}-[0-9]:[0-9]{12}:(matchingworkflow/[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_matching_workflowselectworkflow_name, regionReturns the MatchingWorkflow with a given name, if it exists.
list_matching_workflowsselectregionnextToken, maxResultsReturns a list of all the MatchingWorkflows that have been created for an Amazon Web Services account.
create_matching_workflowinsertregion, workflowName, inputSourceConfig, outputSourceConfig, resolutionTechniques, roleArnCreates a matching workflow that defines the configuration for a data processing job. The workflow name must be unique. To modify an existing workflow, use UpdateMatchingWorkflow. For workflows where resolutionType is PROVIDER, incremental processing is not supported.
update_matching_workflowupdateworkflow_name, region, inputSourceConfig, outputSourceConfig, resolutionTechniques, roleArnUpdates an existing matching workflow. The workflow must already exist for this operation to succeed. For workflows where resolutionType is PROVIDER, incremental processing is not supported.
delete_matching_workflowdeleteworkflow_name, regionDeletes the MatchingWorkflow 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 retrieved.
maxResultsintegerThe maximum number of objects returned per page.
nextTokenstringThe pagination token from the previous API call.

SELECT examples

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

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

INSERT examples

Creates a matching workflow that defines the configuration for a data processing job. The workflow name must be unique. To modify an existing workflow, use UpdateMatchingWorkflow. For workflows where resolutionType is PROVIDER, incremental processing is not supported.

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

UPDATE examples

Updates an existing matching workflow. The workflow must already exist for this operation to succeed. For workflows where resolutionType is PROVIDER, incremental processing is not supported.

UPDATE aws.entityresolution.matching_workflows
SET
description = '{{ description }}',
inputSourceConfig = '{{ inputSourceConfig }}',
outputSourceConfig = '{{ outputSourceConfig }}',
resolutionTechniques = '{{ resolutionTechniques }}',
incrementalRunConfig = '{{ incrementalRunConfig }}',
roleArn = '{{ roleArn }}'
WHERE
workflow_name = '{{ workflow_name }}' --required
AND region = '{{ region }}' --required
AND inputSourceConfig = '{{ inputSourceConfig }}' --required
AND outputSourceConfig = '{{ outputSourceConfig }}' --required
AND resolutionTechniques = '{{ resolutionTechniques }}' --required
AND roleArn = '{{ roleArn }}' --required
RETURNING
description,
incremental_run_config,
input_source_config,
output_source_config,
resolution_techniques,
role_arn,
workflow_name;

DELETE examples

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

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