Skip to content

GenerateMatchId

Source: src/AWS/EntityResolution/GenerateMatchId.ts

Runtime binding for entityresolution:GenerateMatchId.

Generates or retrieves Match IDs for records submitted in real time against the bound rule-based matching workflow: existing records return their Match IDs, unmatched records get new ones. Provide the implementation with Effect.provide(AWS.EntityResolution.GenerateMatchIdHttp).

// init — bind the operation to the workflow
const generateMatchId = yield* AWS.EntityResolution.GenerateMatchId(workflow);
// runtime
const { matchGroups } = yield* generateMatchId({
records: [
{
inputSourceARN: table.tableArn,
uniqueId: "1",
recordAttributeMap: { id: "1", email: "jane@example.com" },
},
],
});