Skip to content

GetMatchId

Source: src/AWS/EntityResolution/GetMatchId.ts

Runtime binding for entityresolution:GetMatchId.

Returns the Match ID of a customer record if it has already been processed by the bound rule-based matching workflow — a read-only dry run of an incremental load. Provide the implementation with Effect.provide(AWS.EntityResolution.GetMatchIdHttp).

// init — bind the operation to the workflow
const getMatchId = yield* AWS.EntityResolution.GetMatchId(workflow);
// runtime
const { matchId, matchRule } = yield* getMatchId({
record: { id: "1", email: "jane@example.com" },
});