Amazon Kendra Indexes API

Operations for creating and managing search indexes

OpenAPI Specification

amazon-kendra-indexes-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Amazon Kendra Data Sources Indexes API
  description: The Amazon Kendra API enables programmatic management of intelligent enterprise search indexes, data source connectors, query execution, relevance tuning, and experience configuration for ML-powered search across organizational knowledge bases.
  version: '2019-02-03'
  contact:
    name: AWS Support
    url: https://aws.amazon.com/premiumsupport/
  license:
    name: Apache 2.0
    url: https://www.apache.org/licenses/LICENSE-2.0.html
  x-logo:
    url: https://a0.awsstatic.com/libra-css/images/logos/aws_logo_smile_1200x630.png
servers:
- url: https://kendra.{region}.amazonaws.com
  description: Amazon Kendra regional endpoint
  variables:
    region:
      default: us-east-1
      description: AWS region
      enum:
      - us-east-1
      - us-east-2
      - us-west-2
      - eu-west-1
      - ap-southeast-1
      - ap-southeast-2
      - ap-northeast-1
security:
- sigv4: []
tags:
- name: Indexes
  description: Operations for creating and managing search indexes
paths:
  /indexes:
    post:
      operationId: CreateIndex
      summary: Amazon Kendra Create Index
      description: Creates a new Amazon Kendra index for enterprise search.
      tags:
      - Indexes
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - Name
              - RoleArn
              properties:
                Name:
                  type: string
                  description: The name for the index.
                  example: example-value
                RoleArn:
                  type: string
                  description: The IAM role ARN that gives Kendra permissions.
                  example: example-value
                Description:
                  type: string
                  description: A description for the index.
                Edition:
                  type: string
                  description: 'The edition: DEVELOPER_EDITION or ENTERPRISE_EDITION.'
      responses:
        '200':
          description: Success
        '400':
          description: Bad request - invalid input parameters
        '403':
          description: Access denied - insufficient permissions
        '500':
          description: Internal server error
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
    get:
      operationId: ListIndexes
      summary: Amazon Kendra List Indexes
      description: Lists the Amazon Kendra indexes in the current account.
      tags:
      - Indexes
      responses:
        '200':
          description: Success
        '400':
          description: Bad request - invalid input parameters
        '403':
          description: Access denied - insufficient permissions
        '500':
          description: Internal server error
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
  /indexes/{IndexId}:
    get:
      operationId: DescribeIndex
      summary: Amazon Kendra Describe Index
      description: Gets information about an existing Amazon Kendra index.
      tags:
      - Indexes
      parameters:
      - name: IndexId
        in: path
        required: true
        schema:
          type: string
        description: The identifier of the index.
      responses:
        '200':
          description: Success
        '400':
          description: Bad request - invalid input parameters
        '403':
          description: Access denied - insufficient permissions
        '500':
          description: Internal server error
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
    put:
      operationId: UpdateIndex
      summary: Amazon Kendra Update Index
      description: Updates an existing Amazon Kendra index.
      tags:
      - Indexes
      parameters:
      - name: IndexId
        in: path
        required: true
        schema:
          type: string
        description: The identifier of the index.
      responses:
        '200':
          description: Success
        '400':
          description: Bad request - invalid input parameters
        '403':
          description: Access denied - insufficient permissions
        '500':
          description: Internal server error
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
    delete:
      operationId: DeleteIndex
      summary: Amazon Kendra Delete Index
      description: Deletes an existing Amazon Kendra index.
      tags:
      - Indexes
      parameters:
      - name: IndexId
        in: path
        required: true
        schema:
          type: string
        description: The identifier of the index.
      responses:
        '200':
          description: Success
        '400':
          description: Bad request - invalid input parameters
        '403':
          description: Access denied - insufficient permissions
        '500':
          description: Internal server error
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
components:
  securitySchemes:
    sigv4:
      type: apiKey
      name: Authorization
      in: header
      description: AWS Signature Version 4 authentication