AWS Entity Resolution Advanced Diagnostics
When to use
Any advanced Entity Resolution investigation — matching workflow failures, ID mapping errors, schema mapping issues, provider service errors, rule-based matching tuning, ML matching accuracy, output configuration, data quality, cross-account workflows, privacy configuration, or Glue integration.
Investigation workflow
Step 1 — Collect and triage
aws entityresolution list-matching-workflows --query 'workflowSummaries[*].{Name:workflowName,Arn:workflowArn,CreatedAt:createdAt}'
aws entityresolution list-id-mapping-workflows --query 'workflowSummaries[*].{Name:workflowName,Arn:workflowArn}'
aws entityresolution list-schema-mappings --query 'schemaList[*].{Name:schemaName,Arn:schemaArn}'
Step 2 — Domain deep dive
aws entityresolution get-matching-workflow --workflow-name <workflow-name>
aws entityresolution get-matching-job --workflow-name <workflow-name> --job-id <job-id>
aws entityresolution get-schema-mapping --schema-name <schema-name>
Step 3 — Detailed investigation
aws cloudtrail lookup-events --lookup-attributes AttributeKey=EventSource,AttributeValue=entityresolution.amazonaws.com --max-results 20
aws entityresolution get-id-mapping-workflow --workflow-name <workflow-name>
aws glue get-table --database-name <db> --name <table>
Read references/guardrails.md before concluding on any advanced Entity Resolution issue.
Tool quick reference
| Tool / API |
When to use |
entityresolution list-matching-workflows |
List matching workflows |
entityresolution get-matching-workflow |
Get workflow configuration |
entityresolution get-matching-job |
Get job execution details |
entityresolution list-id-mapping-workflows |
List ID mapping workflows |
entityresolution get-schema-mapping |
Get schema mapping details |
entityresolution list-provider-services |
List available provider services |
glue get-table |
Check Glue table schema for input data |
Gotchas: Entity Resolution Advanced
- Matching workflows support THREE resolution types: RULE_MATCHING, ML_MATCHING, and PROVIDER. Each has different configuration requirements, accuracy characteristics, and pricing.
- ID mapping workflows are separate from matching workflows. They map identifiers across datasets using provider services, not the same matching logic as matching workflows.
- Schema mappings define how input data fields map to Entity Resolution attributes. Incorrect mappings cause silent matching failures — records are processed but not matched correctly.
- Provider services (LiveRamp, TransUnion, etc.) require separate subscription and configuration. Provider errors may be due to subscription issues, not Entity Resolution configuration.
- Rule-based matching uses ordered rules evaluated sequentially. Rule order matters — more specific rules should come first. Overly broad rules cause false positives.
- ML matching accuracy depends on data quality and volume. Small datasets or datasets with many missing fields produce poor results. ML matching requires a minimum data threshold.
- Output configuration determines where results are written. S3 output requires proper bucket permissions. Glue output requires Glue database and table permissions.
Anti-hallucination rules
- Always cite specific workflow names, job IDs, or API responses as evidence.
- RULE_MATCHING, ML_MATCHING, and PROVIDER are different resolution types with different behaviors. Never conflate them.
- Matching workflows and ID mapping workflows are separate features. Never mix them up.
- Provider services have their own error modes independent of Entity Resolution. Never blame Entity Resolution for provider issues.
- Spend no more than 2 minutes on any single hypothesis. Pivot if inconclusive.
12 runbooks
| Category |
IDs |
Covers |
| A — Workflows |
A1-A2 |
Matching workflow failures, ID mapping workflow errors |
| B — Configuration |
B1-B2 |
Schema mapping issues, provider service errors |
| C — Matching |
C1-C2 |
Rule-based matching tuning, ML matching accuracy |
| D — Data |
D1-D2 |
Output configuration errors, data quality issues |
| E — Advanced |
E1-E2 |
Cross-account workflows, privacy configuration |
| F — Integration |
F1 |
Glue integration |
| Z — Catch-All |
Z1 |
General troubleshooting |
1---2name: entityresolution-advanced-diagnostics3description: Use this skill to investigate and troubleshoot advanced AWS Entity Resolution problems by analyzing matching workflow failures, ID mapping workflow errors, schema mapping issues, provider service errors, rule-based matching tuning, ML matching accuracy, output configuration errors, data quality issues, cross-account workflows, privacy configuration, and Glue integration. Activate when: matching workflow failures, ID mapping errors, schema mapping issues, provider service problems, matching accuracy concerns, output configuration errors, data quality problems, cross-account workflow failures, privacy configuration issues, Glue integration errors, or the user says something is wrong with advanced Entity Resolution features.4---56# AWS Entity Resolution Advanced Diagnostics78## When to use910Any advanced Entity Resolution investigation — matching workflow failures, ID mapping errors, schema mapping issues, provider service errors, rule-based matching tuning, ML matching accuracy, output configuration, data quality, cross-account workflows, privacy configuration, or Glue integration.1112## Investigation workflow1314### Step 1 — Collect and triage1516```17aws entityresolution list-matching-workflows --query 'workflowSummaries[*].{Name:workflowName,Arn:workflowArn,CreatedAt:createdAt}'18aws entityresolution list-id-mapping-workflows --query 'workflowSummaries[*].{Name:workflowName,Arn:workflowArn}'19aws entityresolution list-schema-mappings --query 'schemaList[*].{Name:schemaName,Arn:schemaArn}'20```2122### Step 2 — Domain deep dive2324```25aws entityresolution get-matching-workflow --workflow-name <workflow-name>26aws entityresolution get-matching-job --workflow-name <workflow-name> --job-id <job-id>27aws entityresolution get-schema-mapping --schema-name <schema-name>28```2930### Step 3 — Detailed investigation3132```33aws cloudtrail lookup-events --lookup-attributes AttributeKey=EventSource,AttributeValue=entityresolution.amazonaws.com --max-results 2034aws entityresolution get-id-mapping-workflow --workflow-name <workflow-name>35aws glue get-table --database-name <db> --name <table>36```3738Read `references/guardrails.md` before concluding on any advanced Entity Resolution issue.3940## Tool quick reference4142| Tool / API | When to use |43|------------|-------------|44| `entityresolution list-matching-workflows` | List matching workflows |45| `entityresolution get-matching-workflow` | Get workflow configuration |46| `entityresolution get-matching-job` | Get job execution details |47| `entityresolution list-id-mapping-workflows` | List ID mapping workflows |48| `entityresolution get-schema-mapping` | Get schema mapping details |49| `entityresolution list-provider-services` | List available provider services |50| `glue get-table` | Check Glue table schema for input data |5152## Gotchas: Entity Resolution Advanced5354- Matching workflows support THREE resolution types: RULE_MATCHING, ML_MATCHING, and PROVIDER. Each has different configuration requirements, accuracy characteristics, and pricing.55- ID mapping workflows are separate from matching workflows. They map identifiers across datasets using provider services, not the same matching logic as matching workflows.56- Schema mappings define how input data fields map to Entity Resolution attributes. Incorrect mappings cause silent matching failures — records are processed but not matched correctly.57- Provider services (LiveRamp, TransUnion, etc.) require separate subscription and configuration. Provider errors may be due to subscription issues, not Entity Resolution configuration.58- Rule-based matching uses ordered rules evaluated sequentially. Rule order matters — more specific rules should come first. Overly broad rules cause false positives.59- ML matching accuracy depends on data quality and volume. Small datasets or datasets with many missing fields produce poor results. ML matching requires a minimum data threshold.60- Output configuration determines where results are written. S3 output requires proper bucket permissions. Glue output requires Glue database and table permissions.6162## Anti-hallucination rules63641. Always cite specific workflow names, job IDs, or API responses as evidence.652. RULE_MATCHING, ML_MATCHING, and PROVIDER are different resolution types with different behaviors. Never conflate them.663. Matching workflows and ID mapping workflows are separate features. Never mix them up.674. Provider services have their own error modes independent of Entity Resolution. Never blame Entity Resolution for provider issues.685. Spend no more than 2 minutes on any single hypothesis. Pivot if inconclusive.6970## 12 runbooks7172| Category | IDs | Covers |73|----------|-----|--------|74| A — Workflows | A1-A2 | Matching workflow failures, ID mapping workflow errors |75| B — Configuration | B1-B2 | Schema mapping issues, provider service errors |76| C — Matching | C1-C2 | Rule-based matching tuning, ML matching accuracy |77| D — Data | D1-D2 | Output configuration errors, data quality issues |78| E — Advanced | E1-E2 | Cross-account workflows, privacy configuration |79| F — Integration | F1 | Glue integration |80| Z — Catch-All | Z1 | General troubleshooting |