Skip to content

GetJobsQueryResults

Source: src/AWS/MediaConvert/GetJobsQueryResults.ts

Runtime binding for mediaconvert:GetJobsQueryResults — fetch the results of an asynchronous jobs query started with StartJobsQuery.

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

// init
const getJobsQueryResults = yield* AWS.MediaConvert.GetJobsQueryResults();
// runtime
const results = yield* getJobsQueryResults({ Id: queryId });
if (results.Status === "COMPLETE") {
const jobs = results.Jobs ?? [];
}