---
title: "GET /2015-03-31/functions/{FunctionName}/policy"
method: GET
path: "/2015-03-31/functions/{FunctionName}/policy"
---

# GET /2015-03-31/functions/{FunctionName}/policy

`GET /2015-03-31/functions/{FunctionName}/policy`

Returns the <a href="https://docs.aws.amazon.com/lambda/latest/dg/access-control-resource-based.html">resource-based IAM policy</a> for a function, version, or alias.

## Path parameters

- `FunctionName` string, required

## Query parameters

- `Qualifier` string

## Response `200`

Success

- GetPolicyResponse
  - `Policy` string — The resource-based policy.
  - `RevisionId` string — A unique identifier for the current revision of the policy.

## Other responses

- `480` — ServiceException
- `481` — ResourceNotFoundException
- `482` — TooManyRequestsException
- `483` — InvalidParameterValueException

---

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