Skip to content

StartJobsQuery

Source: src/AWS/MediaConvert/StartJobsQuery.ts

Runtime binding for mediaconvert:StartJobsQuery — start an asynchronous, filtered query over your job history (the async counterpart of SearchJobs for larger result sets). Retrieve the results with GetJobsQueryResults using the returned query Id.

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

// init
const startJobsQuery = yield* AWS.MediaConvert.StartJobsQuery();
// runtime
const { Id } = yield* startJobsQuery({
FilterList: [{ Type: "STATUS", Inputs: ["ERROR"] }],
});