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

# POST /ListServiceViews

`POST /ListServiceViews`

Lists all Resource Explorer service views available in the current Amazon Web Services account. This operation returns the ARNs of available service views.

## Request body

- object
  - `MaxResults` integer — The maximum number of service view results to return in a single response. Valid values are between <code>1</code> and <code>50</code>.
  - `NextToken` string — The pagination token from a previous <code>ListServiceViews</code> response. Use this token to retrieve the next set of results.

## Response `200`

Success

- ListServiceViewsOutput
  - `NextToken` string — The pagination token to use in a subsequent <code>ListServiceViews</code> request to retrieve the next set of results.
  - `ServiceViews` String[] — A list of Amazon Resource Names (ARNs) for the service views available in the current Amazon Web Services account.

## 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)
