AWS Glue AWS Glue #X Amz Target=AWSGlue.GetPlan API

The AWS Glue #X Amz Target=AWSGlue.GetPlan API API from AWS Glue — 1 operation(s) for aws glue #x amz target=awsglue.getplan api.

GitHub OpenAPI

Operations 1

POST /#GetPlan Get Plan #

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/aws-glue:aws-glue-aws-glue-x-amz-target-awsglue-getplan-api-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

aws-glue-aws-glue-x-amz-target-awsglue-getplan-api-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: AWS Glue Aws Glue X Amz Target Awsglue Getplan Api API
  version: '2017-03-31'
  description: Generated from AWS's published Smithy model for AWS Glue. 1 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://glue.{region}.amazonaws.com
  variables:
    region:
      default: us-east-1
security:
- sigv4: []
paths:
  /#GetPlan:
    post:
      operationId: GetPlan
      summary: Get Plan
      description: Gets code to perform a specified mapping.
      responses:
        '200':
          description: Success
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/GetPlanResponse'
        '500':
          description: InternalServiceException
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/InternalServiceException'
        '400':
          description: InvalidInputException; OperationTimeoutException
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/InvalidInputException'
      parameters:
      - name: X-Amz-Target
        in: header
        required: true
        schema:
          type: string
          enum:
          - AWSGlue.GetPlan
      requestBody:
        required: true
        content:
          application/x-amz-json-1.1:
            schema:
              $ref: '#/components/schemas/GetPlanRequest'
      tags:
      - Aws Glue X Amz Target Awsglue Getplan Api
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: glue
  schemas:
    CatalogEntry:
      type: object
      properties:
        DatabaseName:
          type: string
          description: The database in which the table metadata resides.
        TableName:
          type: string
          description: The name of the table in question.
      required:
      - DatabaseName
      - TableName
    CodeGenNodeArg:
      type: object
      properties:
        Name:
          type: string
          description: The name of the argument or property.
        Value:
          type: string
          description: The value of the argument or property.
        Param:
          type: boolean
          description: True if the value is used as a parameter.
      required:
      - Name
      - Value
    GetPlanRequest:
      type: object
      properties:
        Mapping:
          type: array
          items:
            $ref: '#/components/schemas/MappingEntry'
          description: The list of mappings from a source table to target tables.
        Source:
          $ref: '#/components/schemas/CatalogEntry'
        Sinks:
          type: array
          items:
            $ref: '#/components/schemas/CatalogEntry'
          description: The target tables.
        Location:
          $ref: '#/components/schemas/Location'
        Language:
          type: string
          enum:
          - PYTHON
          - SCALA
          description: The programming language of the code to perform the mapping.
        AdditionalPlanOptionsMap:
          type: object
          additionalProperties:
            type: string
          description: 'A map to hold additional optional key-value parameters. Currently, these key-value pairs are supported:
            inferSchema — Specifies whether to set inferSchema to true or false for the default script generated by an Glue
            job. For example, to set inferSchema to true, pass the following key value pair: --additional-plan-options-map
            ''{"inferSchema":"true"}'''
      required:
      - Mapping
      - Source
    GetPlanResponse:
      type: object
      properties:
        PythonScript:
          type: string
          description: A Python script to perform the mapping.
        ScalaCode:
          type: string
          description: The Scala code to perform the mapping.
    InternalServiceException:
      type: object
      properties:
        Message:
          type: string
          description: A message describing the problem.
    InvalidInputException:
      type: object
      properties:
        Message:
          type: string
          description: A message describing the problem.
        FromFederationSource:
          type: boolean
          description: Indicates whether or not the exception relates to a federated source.
    Location:
      type: object
      properties:
        Jdbc:
          type: array
          items:
            $ref: '#/components/schemas/CodeGenNodeArg'
          description: A JDBC location.
        S3:
          type: array
          items:
            $ref: '#/components/schemas/CodeGenNodeArg'
          description: An Amazon Simple Storage Service (Amazon S3) location.
        DynamoDB:
          type: array
          items:
            $ref: '#/components/schemas/CodeGenNodeArg'
          description: An Amazon DynamoDB table location.
    MappingEntry:
      type: object
      properties:
        SourceTable:
          type: string
          description: The name of the source table.
        SourcePath:
          type: string
          description: The source path.
        SourceType:
          type: string
          description: The source type.
        TargetTable:
          type: string
          description: The target table.
        TargetPath:
          type: string
          description: The target path.
        TargetType:
          type: string
          description: The target type.
x-provenance:
  method: harvested
  publisher: Amazon Web Services
  source: https://raw.githubusercontent.com/aws/api-models-aws/3cd98287b471c106254abd89279cc87308d38bfd/models/glue/service/2017-03-31/glue-2017-03-31.json
  note: converted by smithy-to-openapi.py from AWS's Smithy model (roadmap#1001)