Skip to content

GetMatchingJob

Source: src/AWS/EntityResolution/GetMatchingJob.ts

Runtime binding for entityresolution:GetMatchingJob.

Reads the status, metrics, and errors of a matching job run of the bound workflow. Provide the implementation with Effect.provide(AWS.EntityResolution.GetMatchingJobHttp).

// init — bind the operation to the workflow
const getMatchingJob = yield* AWS.EntityResolution.GetMatchingJob(workflow);
// runtime
const job = yield* getMatchingJob({ jobId });
console.log(job.status, job.metrics?.matchIDs);