Skip to main content

matching_workflows

Creates, updates, deletes or gets a matching_workflow resource or lists matching_workflows in a region

Overview

Namematching_workflows
TypeResource
DescriptionMatchingWorkflow defined in AWS Entity Resolution service
Idaws.entityresolution.matching_workflows

Fields

NameDatatypeDescription
workflow_namestringThe name of the MatchingWorkflow
descriptionstringThe description of the MatchingWorkflow
input_source_configarray
output_source_configarray
resolution_techniquesobject
role_arnstring
tagsarray
workflow_arnstringThe default MatchingWorkflow arn
created_atstringThe time of this SchemaMapping got created
updated_atstringThe time of this SchemaMapping got last updated at
regionstringAWS region.

Methods

NameAccessible byRequired Params
create_resourceINSERTWorkflowName, InputSourceConfig, OutputSourceConfig, ResolutionTechniques, RoleArn, region
delete_resourceDELETEdata__Identifier, region
update_resourceUPDATEdata__Identifier, data__PatchDocument, region
list_resourcesSELECTregion
get_resourceSELECTdata__Identifier, region

SELECT examples

Gets all matching_workflows in a region.

SELECT
region,
workflow_name,
description,
input_source_config,
output_source_config,
resolution_techniques,
role_arn,
tags,
workflow_arn,
created_at,
updated_at
FROM aws.entityresolution.matching_workflows
WHERE region = 'us-east-1';

Gets all properties from an individual matching_workflow.

SELECT
region,
workflow_name,
description,
input_source_config,
output_source_config,
resolution_techniques,
role_arn,
tags,
workflow_arn,
created_at,
updated_at
FROM aws.entityresolution.matching_workflows
WHERE region = 'us-east-1' AND data__Identifier = '<WorkflowName>';

INSERT example

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

/*+ create */
INSERT INTO aws.entityresolution.matching_workflows (
WorkflowName,
InputSourceConfig,
OutputSourceConfig,
ResolutionTechniques,
RoleArn,
region
)
SELECT
'{{ WorkflowName }}',
'{{ InputSourceConfig }}',
'{{ OutputSourceConfig }}',
'{{ ResolutionTechniques }}',
'{{ RoleArn }}',
'{{ region }}';

DELETE example

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

Permissions

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

Create

entityresolution:CreateMatchingWorkflow,
entityresolution:GetMatchingWorkflow,
entityresolution:TagResource,
kms:CreateGrant,
kms:DescribeKey,
iam:PassRole

Read

entityresolution:GetMatchingWorkflow,
entityresolution:ListTagsForResource

Delete

entityresolution:DeleteMatchingWorkflow,
entityresolution:GetMatchingWorkflow,
entityresolution:UntagResource

List

entityresolution:ListMatchingWorkflows

Update

entityresolution:GetMatchingWorkflow,
entityresolution:UpdateMatchingWorkflow,
entityresolution:ListTagsForResource,
entityresolution:TagResource,
entityresolution:UntagResource,
iam:PassRole,
kms:CreateGrant,
kms:DescribeKey