Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CreateJobTemplateCommand

Creates a job template. Job template stores values of StartJobRun API request in a template and can be used to start a job run. Job template allows two use cases: avoid repeating recurring StartJobRun API request values, enforcing certain values in StartJobRun API request.

example

Use a bare-bones client and the command you need to make an API call.

import { EMRContainersClient, CreateJobTemplateCommand } from "@aws-sdk/client-emr-containers"; // ES Modules import
// const { EMRContainersClient, CreateJobTemplateCommand } = require("@aws-sdk/client-emr-containers"); // CommonJS import
const client = new EMRContainersClient(config);
const command = new CreateJobTemplateCommand(input);
const response = await client.send(command);
see

CreateJobTemplateCommandInput for command's input shape.

see

CreateJobTemplateCommandOutput for command's response shape.

see

config for EMRContainersClient's config shape.

Hierarchy

Implements

Index

Constructors

constructor

Properties

Readonly input

input: CreateJobTemplateCommandInput

Readonly middlewareStack

Methods

Static getEndpointParameterInstructions