Skip to content

GetJob

Source: src/AWS/MediaConvert/GetJob.ts

Runtime binding for mediaconvert:GetJob — poll the status and full JSON of a submitted transcode job from runtime code.

Job ids are server-assigned at runtime, so the binding takes no arguments and grants mediaconvert:GetJob on *. Provide the implementation with Effect.provide(AWS.MediaConvert.GetJobHttp).

// init
const getJob = yield* AWS.MediaConvert.GetJob();
// runtime
const { Job } = yield* getJob({ Id: jobId });
if (Job?.Status === "COMPLETE") { ... }