AWS Lambda · OpenAPI Overlay 1.0.0
API Evangelist conversational phrasing for AWS Lambda Policy API
7 actions
7 updates
phrasing
extends
openapi/aws-lambda-policy-api-openapi.yml
Generated by API Evangelist
Written by API Evangelist tooling for AWS Lambda's API. It is a proposal applied on top of the contract, not a document AWS Lambda publishes.
What the actions change
x-apievangelist-phrasing
Targets 7
$.info
$.paths['/2015-03-31/functions/{FunctionName}/policy'].get
$.paths['/2015-03-31/functions/{FunctionName}/policy'].post
$.paths['/2018-10-31/layers/{LayerName}/versions/{VersionNumber}/policy'].get
$.paths['/2018-10-31/layers/{LayerName}/versions/{VersionNumber}/policy'].post
$.paths['/2018-10-31/layers/{LayerName}/versions/{VersionNumber}/policy/{StatementId}'].delete
$.paths['/2015-03-31/functions/{FunctionName}/policy/{StatementId}'].delete
OpenAPI Overlay
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
title: API Evangelist conversational phrasing for AWS Lambda Policy API
version: 1.0.0
extends: openapi/aws-lambda-policy-api-openapi.yml
actions:
- target: $.info
update:
x-apievangelist-phrasing:
method: generated
generated: '2026-11-24'
generator: build-phrasing.py
label: Generated by API Evangelist
operations: 6
- target: $.paths['/2015-03-31/functions/{FunctionName}/policy'].get
update:
x-apievangelist-phrasing:
intent: Get a function's resource-based policy
effect: read
questions:
- What IAM policy is attached to my Lambda function?
- Can I read the policy on a specific version or alias of a function?
instructions:
- text: Get the policy for function {FunctionName}.
slots:
FunctionName: path.FunctionName
- text: Show the policy on version {Qualifier} of {FunctionName}.
slots:
Qualifier: query.Qualifier
FunctionName: path.FunctionName
method: generated
generated: '2026-11-24'
- target: $.paths['/2015-03-31/functions/{FunctionName}/policy'].post
update:
x-apievangelist-phrasing:
intent: Grant a principal permission to invoke a function
effect: write
questions:
- How do I let another account call my Lambda function?
- Can I restrict an IAM role's access to a single version of a function?
- What happens if I add a permission for a function URL that uses IAM auth?
instructions:
- text: Add permission {StatementId} to invoke function {FunctionName} for {Principal} with action {Action}.
slots:
StatementId: requestBody.StatementId
FunctionName: path.FunctionName
Principal: requestBody.Principal
Action: requestBody.Action
- text: Grant {Principal} access to version {Qualifier} of {FunctionName} using statement {StatementId}, action {Action}.
slots:
Principal: requestBody.Principal
Qualifier: query.Qualifier
FunctionName: path.FunctionName
StatementId: requestBody.StatementId
Action: requestBody.Action
- text: Allow principal {Principal} to invoke {FunctionName} via function URL authenticated with {FunctionUrlAuthType} (statement {StatementId}, action {Action}).
slots:
Principal: requestBody.Principal
FunctionName: path.FunctionName
FunctionUrlAuthType: requestBody.FunctionUrlAuthType
StatementId: requestBody.StatementId
Action: requestBody.Action
method: generated
generated: '2026-11-24'
- target: $.paths['/2018-10-31/layers/{LayerName}/versions/{VersionNumber}/policy'].get
update:
x-apievangelist-phrasing:
intent: Get a layer version's resource-based policy
effect: read
questions:
- What permissions are attached to a version of my Lambda layer?
- Can I read a layer's policy for one specific version?
instructions:
- text: Get the policy for layer version {VersionNumber} of {LayerName}.
slots:
VersionNumber: path.VersionNumber
LayerName: path.LayerName
- text: Show who has permission to use layer {LayerName} version {VersionNumber}.
slots:
LayerName: path.LayerName
VersionNumber: path.VersionNumber
method: generated
generated: '2026-11-24'
- target: $.paths['/2018-10-31/layers/{LayerName}/versions/{VersionNumber}/policy'].post
update:
x-apievangelist-phrasing:
intent: Grant permission to use a layer version
effect: write
questions:
- How do I let other accounts use a version of my Lambda layer?
- Can I share a layer version with an entire organization?
instructions:
- text: Grant {Principal} permission to use layer version {VersionNumber} of {LayerName} with action {Action}, statement {StatementId}.
slots:
Principal: requestBody.Principal
VersionNumber: path.VersionNumber
LayerName: path.LayerName
Action: requestBody.Action
StatementId: requestBody.StatementId
- text: Share layer {LayerName} version {VersionNumber} with organization {OrganizationId}, statement {StatementId}, action {Action}, principal {Principal}.
slots:
LayerName: path.LayerName
VersionNumber: path.VersionNumber
OrganizationId: requestBody.OrganizationId
StatementId: requestBody.StatementId
Action: requestBody.Action
Principal: requestBody.Principal
method: generated
generated: '2026-11-24'
- target: $.paths['/2018-10-31/layers/{LayerName}/versions/{VersionNumber}/policy/{StatementId}'].delete
update:
x-apievangelist-phrasing:
intent: Revoke a layer version permission
effect: destructive
questions:
- How do I stop an account from using a version of my layer?
- Can I remove a single statement from a layer version's policy?
instructions:
- text: Remove statement {StatementId} from the policy of layer version {VersionNumber} of {LayerName}.
slots:
StatementId: path.StatementId
VersionNumber: path.VersionNumber
LayerName: path.LayerName
- text: Revoke layer {LayerName} version {VersionNumber} permission {StatementId}.
slots:
LayerName: path.LayerName
VersionNumber: path.VersionNumber
StatementId: path.StatementId
method: generated
generated: '2026-11-24'
- target: $.paths['/2015-03-31/functions/{FunctionName}/policy/{StatementId}'].delete
update:
x-apievangelist-phrasing:
intent: Revoke a function's permission
effect: destructive
questions:
- How do I stop an AWS service from invoking my function?
- Can I remove a function permission for a specific version?
instructions:
- text: Remove statement {StatementId} from the policy of {FunctionName}.
slots:
StatementId: path.StatementId
FunctionName: path.FunctionName
- text: Revoke permission {StatementId} on version {Qualifier} of {FunctionName}.
slots:
StatementId: path.StatementId
Qualifier: query.Qualifier
FunctionName: path.FunctionName
method: generated
generated: '2026-11-24'
Work with this as data
Every overlay here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for openapi overlays
4 MCP tools reach this
find_overlaysBrowse and filter every overlay in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/aws-lambda-policy-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.