Skip to content

ListJobParameterDefinitions

Source: src/AWS/Deadline/ListJobParameterDefinitions.ts

Runtime binding for deadline:ListJobParameterDefinitions.

Lists the parameter definitions a job’s Open Job Description template declares (name, type, default, allowed values) for a job in the bound Queue — useful to introspect what a resubmission would accept. The queue’s farmId/queueId are injected from the binding. Provide the implementation with Effect.provide(AWS.Deadline.ListJobParameterDefinitionsHttp).

// init — bind the operation to the queue
const listJobParameterDefinitions =
yield* AWS.Deadline.ListJobParameterDefinitions(queue);
// runtime
const { jobParameterDefinitions } =
yield* listJobParameterDefinitions({ jobId });