AWS Lambda Layers API

Manage Lambda layers that package libraries, custom runtimes, and other dependencies for sharing across functions

GitHub OpenAPI

Operations 7

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /2015-03-31/layers List Lambda layers and their latest version · Aws Lambda List Layers #
Ask an LLM
“What Lambda layers are available in my account?”
“Can I find only layers that work with Python 3.12 or arm64?”
Tell an agent
List my Lambda layers with their latest versions.
List layers compatible with runtime {runtime} and architecture {architecture}.
GET /2015-03-31/layers/{LayerName}/versions List the versions of one layer · Aws Lambda List Layer Versions #
Ask an LLM
“Which versions of a shared layer have been published?”
“Can I list only the versions of a layer that support a given runtime?”
Tell an agent
List every version of layer {layer}.
List versions of layer {layer} compatible with {runtime}.
POST /2015-03-31/layers/{LayerName}/versions Publish a new layer version from a ZIP · Aws Lambda Publish a Layer Version #
Ask an LLM
“How do I package shared libraries as a Lambda layer?”
“Can I declare which runtimes and license a layer version supports when I publish it?”
Tell an agent
Publish a new version of layer {layer} from archive {content}.
Publish layer {layer} from {content} for runtimes {runtimes} under license {license}.
GET /2015-03-31/layers/{LayerName}/versions/{VersionNumber} Get a layer version and its download link · Aws Lambda Get a Layer Version #
Ask an LLM
“How do I download the archive behind a specific layer version?”
“What runtimes and license does a given layer version declare?”
Tell an agent
Get version {version} of layer {layer} with its download link.
Show the compatible runtimes of {layer} version {version}.
DELETE /2015-03-31/layers/{LayerName}/versions/{VersionNumber} Delete a layer version · Aws Lambda Delete a Layer Version #
Ask an LLM
“How do I retire an old layer version so nobody can add it to new functions?”
“Do functions already using a layer version break when I delete it?”
Tell an agent destructive · confirm first
Delete version {version} of layer {layer}.
Retire layer {layer} version {version}.
GET /2018-10-31/layers List Layers #
GET /2018-10-31/layers?find=LayerVersion Get Layer Version By Arn #

Documentation

Specifications

Code Examples

Schemas & Data

Other Resources

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/aws-lambda:aws-lambda-layers-api"
All apis
curl "https://apis.io/api/v1/apis?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. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

aws-lambda-layers-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Aws Lambda Layers API
  version: '2015-03-31'
  description: 'Operations tagged Layers across 2 of this provider''s published API definitions: aws-lambda-api-openapi.yml, aws-lambda-layers-api-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://lambda.{region}.amazonaws.com
  description: AWS Lambda Regional Endpoint
  variables:
    region:
      description: The AWS region for the Lambda service endpoint
      default: us-east-1
      enum:
      - us-east-1
      - us-east-2
      - us-west-1
      - us-west-2
      - eu-west-1
      - eu-west-2
      - eu-west-3
      - eu-central-1
      - eu-north-1
      - ap-southeast-1
      - ap-southeast-2
      - ap-northeast-1
      - ap-northeast-2
      - ap-south-1
      - sa-east-1
      - ca-central-1
security:
- sigv4: []
tags:


# --- truncated at 32 KB (36 KB total) ---
# Full source: https://artifacts.apis.io/aws-lambda/openapi/aws-lambda-layers-api-openapi.yml