---
title: "GET /policy/{resourceArn}/"
method: GET
path: "/policy/{resourceArn}/"
---

# GET /policy/{resourceArn}/

`GET /policy/{resourceArn}/`

Gets the resource policy and policy revision for a bot or bot alias.

## Path parameters

- `resourceArn` string, required

## Response `200`

Success

- DescribeResourcePolicyResponse
  - `resourceArn` string — The Amazon Resource Name (ARN) of the bot or bot alias that the resource policy is attached to.
  - `policy` string — The JSON structure that contains the resource policy. For more information about the contents of a JSON policy document, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies.html"> IAM JSON policy reference </a>.
  - `revisionId` string — The current revision of the resource policy. Use the revision ID to make sure that you are updating the most current version of a resource policy when you add a policy statement to a resource, delete a resource, or update a resource.

## Other responses

- `480` — ResourceNotFoundException
- `481` — InternalServerException
- `482` — ThrottlingException

---

[API](https://skmtc.net/aws/apis/models-lex-v2.md) · [All operations](https://skmtc.net/aws/apis/models-lex-v2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/models-lex-v2/versions/4ee1a1257ae7/schema)
