---
title: "POST /ListServiceIndexes"
method: POST
path: "/ListServiceIndexes"
---

# POST /ListServiceIndexes

`POST /ListServiceIndexes`

Lists all Resource Explorer indexes across the specified Amazon Web Services Regions. This operation returns information about indexes including their ARNs, types, and Regions.

## Request body

- object
  - `Regions` ListServiceIndexesInputRegionsListMemberString[] — A list of Amazon Web Services Regions to include in the search for indexes. If not specified, indexes from all Regions are returned.
  - `MaxResults` integer — The maximum number of index results to return in a single response. Valid values are between <code>1</code> and <code>100</code>.
  - `NextToken` string — The pagination token from a previous <code>ListServiceIndexes</code> response. Use this token to retrieve the next set of results.

## Response `200`

Success

- ListServiceIndexesOutput
  - `Indexes` Index[] — A list of <code>Index</code> objects that describe the Resource Explorer indexes found in the specified Regions.
    - `Region` string — The Amazon Web Services Region in which the index exists.
    - `Arn` string — The <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon resource name (ARN)</a> of the index.
    - `Type` 'LOCAL' | 'AGGREGATOR' — <p>The type of index. It can be one of the following values:</p> <ul> <li> <p> <code>LOCAL</code> – The index contains information about resources from only the same Amazon Web Services Region.</p> </li> <li> <p> <code>AGGREGATOR</code> – 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.</p> </li> </ul>
  - `NextToken` string — The pagination token to use in a subsequent <code>ListServiceIndexes</code> request to retrieve the next set of results.

## Other responses

- `480` — InternalServerException
- `481` — ValidationException
- `482` — ThrottlingException
- `483` — AccessDeniedException

---

[API](https://skmtc.net/aws/apis/resource-explorer-2.md) · [All operations](https://skmtc.net/aws/apis/resource-explorer-2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/resource-explorer-2/versions/d0cbc402825f/schema)
