Skip to content

DescribeJobTemplate

Source: src/AWS/EMRContainers/DescribeJobTemplate.ts

Runtime binding for emr-containers:DescribeJobTemplate.

Reads the bound JobTemplate’s stored StartJobRun values — the execution role, release label, job driver, and parameter configuration. The template ID is injected from the binding. Provide the implementation with Effect.provide(AWS.EMRContainers.DescribeJobTemplateHttp).

// init — bind the operation to the template
const describeJobTemplate =
yield* AWS.EMRContainers.DescribeJobTemplate(template);
// runtime
const { jobTemplate } = yield* describeJobTemplate();
yield* Effect.log(
`template targets ${jobTemplate?.jobTemplateData.releaseLabel}`,
);