Skip to content

CreateJob

Source: src/AWS/Deadline/CreateJob.ts

Runtime binding for deadline:CreateJob.

Submits a render job to the bound Queue — the data-plane entry point of Deadline Cloud. The job template is an Open Job Description (OJD) document (JSON or YAML). The queue’s farmId/queueId are injected from the binding. Provide the implementation with Effect.provide(AWS.Deadline.CreateJobHttp).

// init — bind the operation to the queue
const createJob = yield* AWS.Deadline.CreateJob(queue);
// runtime
const { jobId } = yield* createJob({
template: JSON.stringify(jobTemplate),
templateType: "JSON",
priority: 50,
});