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

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

GitHub OpenAPI

Operations 1

POST /#CreatePartition Create Partition #

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-createpartition-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-createpartition-api-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: AWS Glue Aws Glue X Amz Target Awsglue Createpartition 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:
  /#CreatePartition:
    post:
      operationId: CreatePartition
      summary: Create Partition
      description: Creates a new partition.
      responses:
        '200':
          description: Success
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/CreatePartitionResponse'
        '400':
          description: AlreadyExistsException; EntityNotFoundException; GlueEncryptionException; InvalidInputException; OperationTimeoutException;
            ResourceNumberLimitExceededException
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/AlreadyExistsException'
        '500':
          description: InternalServiceException
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/InternalServiceException'
      parameters:
      - name: X-Amz-Target
        in: header
        required: true
        schema:
          type: string
          enum:
          - AWSGlue.CreatePartition
      requestBody:
        required: true
        content:
          application/x-amz-json-1.1:
            schema:
              $ref: '#/components/schemas/CreatePartitionRequest'
      tags:
      - Aws Glue X Amz Target Awsglue Createpartition 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:
    AlreadyExistsException:
      type: object
      properties:
        Message:
          type: string
          description: A message describing the problem.
    Column:
      type: object
      properties:
        Name:
          type: string
          description: The name of the Column.
        Type:
          type: string
          description: The data type of the Column.
        Comment:
          type: string
          description: A free-form text comment.
        Parameters:
          type: object
          additionalProperties:
            type: string
          description: These key-value pairs define properties associated with the column.
      required:
      - Name
    CreatePartitionRequest:
      type: object
      properties:
        CatalogId:
          type: string
          description: The Amazon Web Services account ID of the catalog in which the partition is to be created.
        DatabaseName:
          type: string
          description: The name of the metadata database in which the partition is to be created.
        TableName:
          type: string
          description: The name of the metadata table in which the partition is to be created.
        PartitionInput:
          $ref: '#/components/schemas/PartitionInput'
      required:
      - DatabaseName
      - TableName
      - PartitionInput
    CreatePartitionResponse:
      type: object
      properties: {}
    InternalServiceException:
      type: object
      properties:
        Message:
          type: string
          description: A message describing the problem.
    Order:
      type: object
      properties:
        Column:
          type: string
          description: The name of the column.
        SortOrder:
          type: integer
          description: Indicates that the column is sorted in ascending order (== 1), or in descending order (==0).
      required:
      - Column
      - SortOrder
    PartitionInput:
      type: object
      properties:
        Values:
          type: array
          items:
            type: string
          description: The values of the partition. Although this parameter is not required by the SDK, you must specify this
            parameter for a valid input. The values for the keys for the new partition must be passed as an array of String
            objects that must be ordered in the same order as the partition keys appearing in the Amazon S3 prefix. Otherwise
            Glue will add the values to the wrong keys.
        LastAccessTime:
          type: string
          format: date-time
          description: The last time at which the partition was accessed.
        StorageDescriptor:
          $ref: '#/components/schemas/StorageDescriptor'
        Parameters:
          type: object
          additionalProperties:
            type: string
          description: These key-value pairs define partition parameters.
        LastAnalyzedTime:
          type: string
          format: date-time
          description: The last time at which column statistics were computed for this partition.
    SchemaId:
      type: object
      properties:
        SchemaArn:
          type: string
          description: The Amazon Resource Name (ARN) of the schema. One of SchemaArn or SchemaName has to be provided.
        SchemaName:
          type: string
          description: The name of the schema. One of SchemaArn or SchemaName has to be provided.
        RegistryName:
          type: string
          description: The name of the schema registry that contains the schema.
    SchemaReference:
      type: object
      properties:
        SchemaId:
          $ref: '#/components/schemas/SchemaId'
        SchemaVersionId:
          type: string
          description: The unique ID assigned to a version of the schema. Either this or the SchemaId has to be provided.
        SchemaVersionNumber:
          type: integer
          description: The version number of the schema.
    SerDeInfo:
      type: object
      properties:
        Name:
          type: string
          description: Name of the SerDe.
        SerializationLibrary:
          type: string
          description: Usually the class that implements the SerDe. An example is org.apache.hadoop.hive.serde2.columnar.ColumnarSerDe.
        Parameters:
          type: object
          additionalProperties:
            type: string
          description: These key-value pairs define initialization parameters for the SerDe.
    SkewedInfo:
      type: object
      properties:
        SkewedColumnNames:
          type: array
          items:
            type: string
          description: A list of names of columns that contain skewed values.
        SkewedColumnValues:
          type: array
          items:
            type: string
          description: A list of values that appear so frequently as to be considered skewed.
        SkewedColumnValueLocationMaps:
          type: object
          additionalProperties:
            type: string
          description: A mapping of skewed values to the columns that contain them.
    StorageDescriptor:
      type: object
      properties:
        Columns:
          type: array
          items:
            $ref: '#/components/schemas/Column'
          description: A list of the Columns in the table.
        Location:
          type: string
          description: The physical location of the table. By default, this takes the form of the warehouse location, followed
            by the database location in the warehouse, followed by the table name.
        AdditionalLocations:
          type: array
          items:
            type: string
          description: A list of locations that point to the path where a Delta table is located.
        InputFormat:
          type: string
          description: 'The input format: SequenceFileInputFormat (binary), or TextInputFormat, or a custom format.'
        OutputFormat:
          type: string
          description: 'The output format: SequenceFileOutputFormat (binary), or IgnoreKeyTextOutputFormat, or a custom format.'
        Compressed:
          type: boolean
          description: True if the data in the table is compressed, or False if not.
        NumberOfBuckets:
          type: integer
          description: Must be specified if the table contains any dimension columns.
        SerdeInfo:
          $ref: '#/components/schemas/SerDeInfo'
        BucketColumns:
          type: array
          items:
            type: string
          description: A list of reducer grouping columns, clustering columns, and bucketing columns in the table.
        SortColumns:
          type: array
          items:
            $ref: '#/components/schemas/Order'
          description: A list specifying the sort order of each bucket in the table.
        Parameters:
          type: object
          additionalProperties:
            type: string
          description: The user-supplied properties in key-value form.
        SkewedInfo:
          $ref: '#/components/schemas/SkewedInfo'
        StoredAsSubDirectories:
          type: boolean
          description: True if the table data is stored in subdirectories, or False if not.
        SchemaReference:
          $ref: '#/components/schemas/SchemaReference'
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)