Amazon Resource Explorer Index API

The Index API from Amazon Resource Explorer — 4 operation(s) for index.

GitHub OpenAPI

Operations 4

POST /GetIndex Get Index #
POST /CreateIndex Create Index #
POST /DeleteIndex Delete Index #
POST /ListIndexes List 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/amazon-resource-explorer:amazon-resource-explorer-index-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-resource-explorer-index-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: AWS Resource Explorer Index API
  version: '2022-07-28'
  description: Generated from AWS's published Smithy model for AWS Resource Explorer. 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://resource-explorer-2.{region}.amazonaws.com
  variables:
    region:
      default: us-east-1
security:
- sigv4: []
paths:
  /GetIndex:
    post:
      operationId: GetIndex
      summary: Get Index
      description: Retrieves details about the Amazon Web Services Resource Explorer index in the Amazon Web Services Region
        in which you invoked the operation.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetIndexOutput'
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '500':
          description: InternalServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '429':
          description: ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
        '400':
          description: ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationException'
      tags:
      - Index
  /CreateIndex:
    post:
      operationId: CreateIndex
      summary: Create Index
      description: Turns on Amazon Web Services Resource Explorer in the Amazon Web Services Region in which you called this
        operation by creating an index. Resource Explorer begins discovering the resources in this Region and stores the details
        about the resources in the index so that they can be queried by using the Search operation. You can create only one
        index in a Region. This operation creates only a local index. To promote the local index in one Amazon Web Services
        Region into the aggregator index for the Amazon Web Services account, use the UpdateIndexType operation. For more
        information, see Turning on cross-Region search by creating an aggregator index in the Amazon Web Services Resource
        Explorer User Guide. For more details about what happens when you turn on Resource Explorer in an Amazon Web Services
        Region, see Turn on Resource Explorer to index your resources in an Amazon Web Services Region in the Amazon Web Services
        Resource Explorer User Guide. If this is the first Amazon Web Services Region in which you've created an index for
        Resource Explorer, then this operation also creates a service-linked role in your Amazon Web Services account that
        allows Resource Explorer to enumerate you
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreateIndexOutput'
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '409':
          description: ConflictException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConflictException'
        '500':
          description: InternalServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerException'
        '429':
          description: ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
        '400':
          description: ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationException'
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                ClientToken:
                  type: string
                  description: This value helps ensure idempotency. Resource Explorer uses this value to prevent the accidental
                    creation of duplicate versions. We recommend that you generate a UUID-type value to ensure the uniqueness
                    of your index.
                Tags:
                  type: object
                  additionalProperties:
                    type: string
                  description: The specified tags are attached only to the index created in this Amazon Web Services Region.
                    The tags aren't attached to any of the resources listed in the index.
      tags:
      - Index
  /DeleteIndex:
    post:
      operationId: DeleteIndex
      summary: Delete Index
      description: Deletes the specified index and turns off Amazon Web Services Resource Explorer in the specified Amazon
        Web Services Region. When you delete an index, Resource Explorer stops discovering and indexing resources in that
        Region. Resource Explorer also deletes all views in that Region. These actions occur as asynchronous background tasks.
        You can check to see when the actions are complete by using the GetIndex operation and checking the Status response
        value. If the index you delete is the aggregator index for the Amazon Web Services account, you must wait 24 hours
        before you can promote another local index to be the aggregator index for the account. Users can't perform account-wide
        searches using Resource Explorer until another aggregator index is configured.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeleteIndexOutput'
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '500':
          description: InternalServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '429':
          description: ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
        '400':
          description: ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationException'
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                Arn:
                  type: string
                  description: The Amazon resource name (ARN) of the index that you want to delete.
              required:
              - Arn
      tags:
      - Index
  /ListIndexes:
    post:
      operationId: ListIndexes
      summary: List Indexes
      description: Retrieves a list of all of the indexes in Amazon Web Services Regions that are currently collecting resource
        information for Amazon Web Services Resource Explorer.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListIndexesOutput'
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '500':
          description: InternalServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerException'
        '429':
          description: ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
        '400':
          description: ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationException'
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                Type:
                  type: string
                  description: If specified, limits the output to only indexes of the specified Type, either LOCAL or AGGREGATOR.
                    Use this option to discover the aggregator index for your account.
                Regions:
                  type: array
                  items:
                    type: string
                  description: If specified, limits the response to only information about the index in the specified list
                    of Amazon Web Services Regions.
                MaxResults:
                  type: integer
                  description: 'The maximum number of results that you want included on each page of the response. If you
                    do not include this parameter, it defaults to a value appropriate to the operation. If additional items
                    exist beyond those included in the current response, the NextToken response element is present and has
                    a value (is not null). Include that value as the NextToken request parameter in the next call to the operation
                    to get the next part of the results. An API operation can return fewer results than the maximum even when
                    there are more results available. You should check NextToken after every operation to '
                NextToken:
                  type: string
                  description: The parameter for receiving additional results if you receive a NextToken response in a previous
                    request. A NextToken response indicates that more output is available. Set this parameter to the value
                    of the previous call's NextToken response to indicate where the output should continue from. The pagination
                    tokens expire after 24 hours.
      tags:
      - Index
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: resource-explorer-2
  schemas:
    AccessDeniedException:
      type: object
      properties:
        Message:
          type: string
    ConflictException:
      type: object
      properties:
        Message:
          type: string
      required:
      - Message
    CreateIndexOutput:
      type: object
      properties:
        Arn:
          type: string
          description: 'The ARN of the new local index for the Region. You can reference this ARN in IAM permission policies
            to authorize the following operations: DeleteIndex | GetIndex | UpdateIndexType | CreateView'
        State:
          type: string
          description: Indicates the current state of the index. You can check for changes to the state for asynchronous operations
            by calling the GetIndex operation. The state can remain in the CREATING or UPDATING state for several hours as
            Resource Explorer discovers the information about your resources and populates the index.
        CreatedAt:
          type: string
          description: The date and timestamp when the index was created.
    DeleteIndexOutput:
      type: object
      properties:
        Arn:
          type: string
          description: The Amazon resource name (ARN) of the index that you successfully started the deletion process. This
            operation is asynchronous. To check its status, call the GetIndex operation.
        State:
          type: string
          description: Indicates the current state of the index.
        LastUpdatedAt:
          type: string
          description: The date and time when you last updated this index.
    GetIndexOutput:
      type: object
      properties:
        Arn:
          type: string
          description: The Amazon resource name (ARN) of the index.
        Type:
          type: string
          description: The type of the index in this Region. For information about the aggregator index and how it differs
            from a local index, see Turning on cross-Region search by creating an aggregator index.
        State:
          type: string
          description: The current state of the index in this Amazon Web Services Region.
        ReplicatingFrom:
          type: array
          items:
            type: string
          description: This response value is present only if this index is Type=AGGREGATOR. A list of the Amazon Web Services
            Regions that replicate their content to the index in this Region.
        ReplicatingTo:
          type: array
          items:
            type: string
          description: This response value is present only if this index is Type=LOCAL. The Amazon Web Services Region that
            contains the aggregator index, if one exists. If an aggregator index does exist then the Region in which you called
            this operation replicates its index information to the Region specified in this response value.
        CreatedAt:
          type: string
          description: The date and time when the index was originally created.
        LastUpdatedAt:
          type: string
          description: The date and time when the index was last updated.
        Tags:
          type: object
          additionalProperties:
            type: string
          description: Tag key and value pairs that are attached to the index.
    Index:
      type: object
      properties:
        Region:
          type: string
          description: The Amazon Web Services Region in which the index exists.
        Arn:
          type: string
          description: The Amazon resource name (ARN) of the index.
        Type:
          type: string
          description: 'The type of index. It can be one of the following values: LOCAL – The index contains information about
            resources from only the same Amazon Web Services Region. AGGREGATOR – Resource Explorer replicates copies of the
            indexed information about resources in all other Amazon Web Services Regions to the aggregator index. This lets
            search results in the Region with the aggregator index to include resources from all Regions in the account where
            Resource Explorer is turned on.'
    InternalServerException:
      type: object
      properties:
        Message:
          type: string
    ListIndexesOutput:
      type: object
      properties:
        Indexes:
          type: array
          items:
            $ref: '#/components/schemas/Index'
          description: A structure that contains the details and status of each index.
        NextToken:
          type: string
          description: If present, indicates that more output is available than is included in the current response. Use this
            value in the NextToken request parameter in a subsequent call to the operation to get the next part of the output.
            You should repeat this until the NextToken response element comes back as null. The pagination tokens expire after
            24 hours.
    ResourceNotFoundException:
      type: object
      properties:
        Message:
          type: string
    ThrottlingException:
      type: object
      properties:
        Message:
          type: string
    ValidationException:
      type: object
      properties:
        Message:
          type: string
        FieldList:
          type: array
          items:
            $ref: '#/components/schemas/ValidationExceptionField'
          description: An array of the request fields that had validation errors.
      required:
      - Message
    ValidationExceptionField:
      type: object
      properties:
        Name:
          type: string
          description: The name of the request field that had a validation error.
        ValidationIssue:
          type: string
          description: The validation error caused by the request field.
      required:
      - Name
      - ValidationIssue
x-provenance:
  method: harvested
  publisher: Amazon Web Services
  source: https://raw.githubusercontent.com/aws/api-models-aws/3cd98287b471c106254abd89279cc87308d38bfd/models/resource-explorer-2/service/2022-07-28/resource-explorer-2-2022-07-28.json
  note: converted by smithy-to-openapi.py from AWS's Smithy model (roadmap#1001)