GetHarvestJob
Source:
src/AWS/MediaPackageV2/GetHarvestJob.ts
Runtime binding for mediapackagev2:GetHarvestJob.
Reads the status of a harvest job on the bound OriginEndpoint —
e.g. polling until a clip export reaches COMPLETED before publishing
the VOD asset. The endpoint’s group, channel, and name are injected from
the binding. Provide the implementation with
Effect.provide(AWS.MediaPackageV2.GetHarvestJobHttp).
Harvesting Live-to-VOD Clips
Section titled “Harvesting Live-to-VOD Clips”// init — bind the operation to the endpointconst getHarvestJob = yield* AWS.MediaPackageV2.GetHarvestJob(endpoint);
// runtimeconst { Status } = yield* getHarvestJob({ HarvestJobName: job.HarvestJobName });