Skip to content

SearchJobs

Source: src/AWS/MediaConvert/SearchJobs.ts

Runtime binding for mediaconvert:SearchJobs — search your recent transcode jobs by input file, queue, or status from runtime code (e.g. “did we already transcode this upload?”).

The binding takes no arguments and grants mediaconvert:SearchJobs on *. Provide the implementation with Effect.provide(AWS.MediaConvert.SearchJobsHttp).

// init
const searchJobs = yield* AWS.MediaConvert.SearchJobs();
// runtime
const { Jobs } = yield* searchJobs({
InputFile: `s3://${bucket}/${key}`,
Status: "COMPLETE",
});