---
title: "GET /policies/{policyName}"
method: GET
path: "/policies/{policyName}"
---

# GET /policies/{policyName}

`GET /policies/{policyName}`

Gets information about the specified policy with the policy document of the default version.

Requires permission to access the [GetPolicy](https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions) action.

## Path parameters

- `policyName` string, required

## Response `200`

Success

- GetPolicyResponse — The output from the GetPolicy operation.
  - `policyName` string — The policy name.
  - `policyArn` string — The policy ARN.
  - `policyDocument` string — The JSON document that describes the policy.
  - `defaultVersionId` string — The default policy version ID.
  - `creationDate` string, date-time — The date the policy was created.
  - `lastModifiedDate` string, date-time — The date the policy was last modified.
  - `generationId` string — The generation ID of the policy.

## Other responses

- `480` — ResourceNotFoundException
- `481` — InvalidRequestException
- `482` — ThrottlingException
- `483` — UnauthorizedException
- `484` — ServiceUnavailableException
- `485` — InternalFailureException

---

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