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

# POST /ListResourcePolicies

`POST /ListResourcePolicies`

Returns the list of resource policies in the target Amazon Web Services account.

## Query parameters

- `NextToken` string

## Request body

- object
  - `NextToken` string — Not currently supported.

## Response `200`

Success

- ListResourcePoliciesResult
  - `ResourcePolicies` ResourcePolicy[] — The list of resource policies in the target Amazon Web Services account.
    - `PolicyName` string — The name of the resource policy. Must be unique within a specific Amazon Web Services account.
    - `PolicyDocument` string — The resource policy document, which can be up to 5kb in size.
    - `PolicyRevisionId` string — Returns the current policy revision id for this policy name.
    - `LastUpdatedTime` string, date-time — When the policy was last updated, in Unix time seconds.
  - `NextToken` string — Pagination token. Not currently supported.

## Other responses

- `480` — InvalidRequestException
- `481` — ThrottledException

---

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