Skip to content

GetIdMappingJob

Source: src/AWS/EntityResolution/GetIdMappingJob.ts

Runtime binding for entityresolution:GetIdMappingJob.

Reads the status, metrics, and errors of an ID mapping job run of the bound workflow. Provide the implementation with Effect.provide(AWS.EntityResolution.GetIdMappingJobHttp).

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