Amazon EMR Job Templates API

The Job Templates API from Amazon EMR — 2 operation(s) for job templates.

GitHub OpenAPI

Operations 4

POST /jobtemplates Create Job Template #
GET /jobtemplates List Job Templates #
DELETE /jobtemplates/{id} Delete Job Template #
GET /jobtemplates/{id} Describe Job Template #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/amazon-emr:amazon-emr-job-templates-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

amazon-emr-job-templates-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Amazon EMR Job Templates API
  version: '2009-03-31'
  description: Generated from AWS's published Smithy model for Amazon EMR. 4 operation(s).
  contact:
    name: Amazon Web Services
    url: https://aws.amazon.com/contact-us/
  license:
    name: Apache 2.0
    identifier: Apache-2.0
    url: https://github.com/aws/api-models-aws/blob/main/LICENSE
servers:
- url: https://emr-containers.{region}.amazonaws.com
  variables:
    region:
      default: us-east-1
security:
- sigv4: []
paths:
  /jobtemplates:
    post:
      operationId: CreateJobTemplate
      summary: Create Job Template
      description: '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.'
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreateJobTemplateResponse'
        '500':
          description: InternalServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EmrContainersInternalServerException'
        '400':
          description: ResourceNotFoundException; ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                  description: The specified name of the job template.
                clientToken:
                  type: string
                  description: The client token of the job template.
                jobTemplateData:
                  $ref: '#/components/schemas/JobTemplateData'
                tags:
                  type: object
                  additionalProperties:
                    type: string
                  description: The tags that are associated with the job template.
                kmsKeyArn:
                  type: string
                  description: The KMS key ARN used to encrypt the job template.
              required:
              - name
              - clientToken
              - jobTemplateData
      tags:
      - Job Templates
    get:
      operationId: ListJobTemplates
      summary: List Job Templates
      description: 'Lists job templates based on a set of parameters. 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.'
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListJobTemplatesResponse'
        '500':
          description: InternalServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EmrContainersInternalServerException'
        '400':
          description: ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationException'
      parameters:
      - name: createdAfter
        in: query
        schema:
          type: string
          format: date-time
        description: The date and time after which the job templates were created.
      - name: createdBefore
        in: query
        schema:
          type: string
          format: date-time
        description: The date and time before which the job templates were created.
      - name: maxResults
        in: query
        schema:
          type: integer
        description: The maximum number of job templates that can be listed.
      - name: nextToken
        in: query
        schema:
          type: string
        description: The token for the next set of job templates to return.
      tags:
      - Job Templates
  /jobtemplates/{id}:
    delete:
      operationId: DeleteJobTemplate
      summary: Delete Job Template
      description: 'Deletes 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.'
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeleteJobTemplateResponse'
        '500':
          description: InternalServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EmrContainersInternalServerException'
        '400':
          description: ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationException'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
        description: The ID of the job template that will be deleted.
      tags:
      - Job Templates
    get:
      operationId: DescribeJobTemplate
      summary: Describe Job Template
      description: 'Displays detailed information about a specified 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.'
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DescribeJobTemplateResponse'
        '500':
          description: InternalServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EmrContainersInternalServerException'
        '400':
          description: ResourceNotFoundException; ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
        description: The ID of the job template that will be described.
      tags:
      - Job Templates
components:
  securitySchemes:
    sigv4:
      type: apiKey
      in: header
      name: Authorization
      description: AWS Signature Version 4. The Authorization header carries an AWS4-HMAC-SHA256 signature over the canonical
        request, with X-Amz-Date (and X-Amz-Security-Token for temporary credentials). Not a bearer token.
      x-aws-sigv4:
        signingName: emr-containers
  schemas:
    CreateJobTemplateResponse:
      type: object
      properties:
        id:
          type: string
          description: This output display the created job template ID.
        name:
          type: string
          description: This output displays the name of the created job template.
        arn:
          type: string
          description: This output display the ARN of the created job template.
        createdAt:
          type: string
          format: date-time
          description: This output displays the date and time when the job template was created.
    DeleteJobTemplateResponse:
      type: object
      properties:
        id:
          type: string
          description: This output contains the ID of the job template that was deleted.
    DescribeJobTemplateResponse:
      type: object
      properties:
        jobTemplate:
          $ref: '#/components/schemas/JobTemplate'
    EmrContainersConfiguration:
      type: object
      properties:
        classification:
          type: string
          description: The classification within a configuration.
        properties:
          type: object
          additionalProperties:
            type: string
          description: A set of properties specified within a configuration classification.
        configurations:
          type: array
          items:
            $ref: '#/components/schemas/EmrContainersConfiguration'
          description: A list of additional configurations to apply within a configuration object.
      required:
      - classification
    EmrContainersInternalServerException:
      type: object
      properties:
        message:
          type: string
    JobDriver:
      type: object
      properties:
        sparkSubmitJobDriver:
          $ref: '#/components/schemas/SparkSubmitJobDriver'
        sparkSqlJobDriver:
          $ref: '#/components/schemas/SparkSqlJobDriver'
    JobTemplate:
      type: object
      properties:
        name:
          type: string
          description: The name of the job template.
        id:
          type: string
          description: The ID of the job template.
        arn:
          type: string
          description: The ARN of the job template.
        createdAt:
          type: string
          format: date-time
          description: The date and time when the job template was created.
        createdBy:
          type: string
          description: The user who created the job template.
        tags:
          type: object
          additionalProperties:
            type: string
          description: The tags assigned to the job template.
        jobTemplateData:
          $ref: '#/components/schemas/JobTemplateData'
        kmsKeyArn:
          type: string
          description: The KMS key ARN used to encrypt the job template.
        decryptionError:
          type: string
          description: The error message in case the decryption of job template fails.
      required:
      - jobTemplateData
    JobTemplateData:
      type: object
      properties:
        executionRoleArn:
          type: string
          description: The execution role ARN of the job run.
        releaseLabel:
          type: string
          description: The release version of Amazon EMR.
        configurationOverrides:
          $ref: '#/components/schemas/ParametricConfigurationOverrides'
        jobDriver:
          $ref: '#/components/schemas/JobDriver'
        parameterConfiguration:
          type: object
          additionalProperties:
            $ref: '#/components/schemas/TemplateParameterConfiguration'
          description: The configuration of parameters existing in the job template.
        jobTags:
          type: object
          additionalProperties:
            type: string
          description: The tags assigned to jobs started using the job template.
      required:
      - executionRoleArn
      - releaseLabel
      - jobDriver
    ListJobTemplatesResponse:
      type: object
      properties:
        templates:
          type: array
          items:
            $ref: '#/components/schemas/JobTemplate'
          description: This output lists information about the specified job templates.
        nextToken:
          type: string
          description: This output displays the token for the next set of job templates.
    ParametricCloudWatchMonitoringConfiguration:
      type: object
      properties:
        logGroupName:
          type: string
          description: The name of the log group for log publishing.
        logStreamNamePrefix:
          type: string
          description: The specified name prefix for log streams.
    ParametricConfigurationOverrides:
      type: object
      properties:
        applicationConfiguration:
          type: array
          items:
            $ref: '#/components/schemas/EmrContainersConfiguration'
          description: The configurations for the application running by the job run.
        monitoringConfiguration:
          $ref: '#/components/schemas/ParametricMonitoringConfiguration'
    ParametricMonitoringConfiguration:
      type: object
      properties:
        persistentAppUI:
          type: string
          description: Monitoring configurations for the persistent application UI.
        cloudWatchMonitoringConfiguration:
          $ref: '#/components/schemas/ParametricCloudWatchMonitoringConfiguration'
        s3MonitoringConfiguration:
          $ref: '#/components/schemas/ParametricS3MonitoringConfiguration'
    ParametricS3MonitoringConfiguration:
      type: object
      properties:
        logUri:
          type: string
          description: Amazon S3 destination URI for log publishing.
    ResourceNotFoundException:
      type: object
      properties:
        message:
          type: string
    SparkSqlJobDriver:
      type: object
      properties:
        entryPoint:
          type: string
          description: The SQL file to be executed.
        sparkSqlParameters:
          type: string
          description: The Spark parameters to be included in the Spark SQL command.
    SparkSubmitJobDriver:
      type: object
      properties:
        entryPoint:
          type: string
          description: The entry point of job application.
        entryPointArguments:
          type: array
          items:
            type: string
          description: The arguments for job application.
        sparkSubmitParameters:
          type: string
          description: The Spark submit parameters that are used for job runs.
      required:
      - entryPoint
    TemplateParameterConfiguration:
      type: object
      properties:
        type:
          type: string
          enum:
          - NUMBER
          - STRING
          description: 'The type of the job template parameter. Allowed values are: ‘STRING’, ‘NUMBER’.'
        defaultValue:
          type: string
          description: The default value for the job template parameter.
    ValidationException:
      type: object
      properties:
        message:
          type: string
x-provenance:
  method: harvested
  publisher: Amazon Web Services
  source: https://raw.githubusercontent.com/aws/api-models-aws/3cd98287b471c106254abd89279cc87308d38bfd/models/emr-containers/service/2020-10-01/emr-containers-2020-10-01.json
  note: converted by smithy-to-openapi.py from AWS's Smithy model (roadmap#1001)