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

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

GitHub OpenAPI

Operations 1

POST /#GetPartitionIndexes Get Partition Indexes #

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-getpartitionindexes-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-getpartitionindexes-api-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: AWS Glue Aws Glue X Amz Target Awsglue Getpartitionindexes 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:
  /#GetPartitionIndexes:
    post:
      operationId: GetPartitionIndexes
      summary: Get Partition Indexes
      description: Retrieves the partition indexes associated with a table.
      responses:
        '200':
          description: Success
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/GetPartitionIndexesResponse'
        '400':
          description: ConflictException; EntityNotFoundException; InvalidInputException; OperationTimeoutException
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/ConflictException'
        '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.GetPartitionIndexes
      requestBody:
        required: true
        content:
          application/x-amz-json-1.1:
            schema:
              $ref: '#/components/schemas/GetPartitionIndexesRequest'
      tags:
      - Aws Glue X Amz Target Awsglue Getpartitionindexes 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:
    BackfillError:
      type: object
      properties:
        Code:
          type: string
          enum:
          - ENCRYPTED_PARTITION_ERROR
          - INTERNAL_ERROR
          - INVALID_PARTITION_TYPE_DATA_ERROR
          - MISSING_PARTITION_VALUE_ERROR
          - UNSUPPORTED_PARTITION_CHARACTER_ERROR
          description: The error code for an error that occurred when registering partition indexes for an existing table.
        Partitions:
          type: array
          items:
            $ref: '#/components/schemas/PartitionValueList'
          description: A list of a limited number of partitions in the response.
    ConflictException:
      type: object
      properties:
        Message:
          type: string
          description: A message describing the problem.
    GetPartitionIndexesRequest:
      type: object
      properties:
        CatalogId:
          type: string
          description: The catalog ID where the table resides.
        DatabaseName:
          type: string
          description: Specifies the name of a database from which you want to retrieve partition indexes.
        TableName:
          type: string
          description: Specifies the name of a table for which you want to retrieve the partition indexes.
        NextToken:
          type: string
          description: A continuation token, included if this is a continuation call.
      required:
      - DatabaseName
      - TableName
    GetPartitionIndexesResponse:
      type: object
      properties:
        PartitionIndexDescriptorList:
          type: array
          items:
            $ref: '#/components/schemas/PartitionIndexDescriptor'
          description: A list of index descriptors.
        NextToken:
          type: string
          description: A continuation token, present if the current list segment is not the last.
    InternalServiceException:
      type: object
      properties:
        Message:
          type: string
          description: A message describing the problem.
    KeySchemaElement:
      type: object
      properties:
        Name:
          type: string
          description: The name of a partition key.
        Type:
          type: string
          description: The type of a partition key.
      required:
      - Name
      - Type
    PartitionIndexDescriptor:
      type: object
      properties:
        IndexName:
          type: string
          description: The name of the partition index.
        Keys:
          type: array
          items:
            $ref: '#/components/schemas/KeySchemaElement'
          description: A list of one or more keys, as KeySchemaElement structures, for the partition index.
        IndexStatus:
          type: string
          enum:
          - CREATING
          - ACTIVE
          - DELETING
          - FAILED
          description: 'The status of the partition index. The possible statuses are: CREATING: The index is being created.
            When an index is in a CREATING state, the index or its table cannot be deleted. ACTIVE: The index creation succeeds.
            FAILED: The index creation fails. DELETING: The index is deleted from the list of indexes.'
        BackfillErrors:
          type: array
          items:
            $ref: '#/components/schemas/BackfillError'
          description: A list of errors that can occur when registering partition indexes for an existing table.
      required:
      - IndexName
      - Keys
      - IndexStatus
    PartitionValueList:
      type: object
      properties:
        Values:
          type: array
          items:
            type: string
          description: The list of values.
      required:
      - Values
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)