Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

AWS Lambda Layers API

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

AWS Lambda Layers API is one of 12 APIs that AWS Lambda publishes on the APIs.io network, described by a machine-readable OpenAPI specification and an AsyncAPI event-driven specification.

This API exposes 1 JSON Schema definition.

Tagged areas include Layers. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, an AsyncAPI specification, a JSON-LD context, an API reference, pricing, and 1 JSON Schema.

This API exposes 5 operations across 3 paths, and defines 7 schemas. It is described by OpenAPI 3.1.0, at version 2015-03-31.

Requests are made against a single base URL, https://lambda.{region}.amazonaws.com.

5 operations 3 paths 7 schemas 1 DELETE3 GET1 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
2015-03-31
Base URL
https://lambda.{region}.amazonaws.com
Authentication
API Key
Terms of Service
Resource Areas
1

Authentication & Security 1

AWS Lambda Layers API declares 1 security scheme for authenticating requests. An API key is passed in the header as Authorization (sigv4). By default, every request must be authenticated.

  • sigv4 — AWS Signature Version 4 authentication. Requests must be signed with valid AWS credentials that have the appropriate Lambda IAM permissions.

Paths & Operations 5

Across 3 paths, the API surfaces 5 operations — 1 DELETE, 3 GET, 1 POST. Each is listed below with its method, path, parameters, and response codes.

Layers 5

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

GET
/2015-03-31/layers
Aws Lambda List Layers
listLayers 4 params → 200429
GET
/2015-03-31/layers/{LayerName}/versions
Aws Lambda List Layer Versions
listLayerVersions 5 params → 200404
POST
/2015-03-31/layers/{LayerName}/versions
Aws Lambda Publish a Layer Version
publishLayerVersion 1 param body → 201400429
GET
/2015-03-31/layers/{LayerName}/versions/{VersionNumber}
Aws Lambda Get a Layer Version
getLayerVersion 2 params → 200404
DELETE
/2015-03-31/layers/{LayerName}/versions/{VersionNumber}
Aws Lambda Delete a Layer Version
deleteLayerVersion 2 params → 204404

Schemas 7

The contract defines 7 schemas that model the data the API accepts and returns. The most detailed are GetLayerVersionResponse (9 properties), PublishLayerVersionResponse (9 properties), LayerVersionSummary (7 properties), PublishLayerVersionRequest (5 properties). Each schema is shown below with its type and property counts.

PublishLayerVersionResponse
object
Details about a published layer version
9 properties
ListLayersResponse
object
Paginated list of layers
2 properties
ErrorResponse
object
Error response from the Lambda API
3 properties
LayerVersionSummary
object
Summary information about a layer version
7 properties
PublishLayerVersionRequest
object
Request body for publishing a layer version
5 properties 1 required
ListLayerVersionsResponse
object
Paginated list of layer versions
2 properties
GetLayerVersionResponse
object
Details about a layer version
9 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

aws-lambda-layers-api-openapi.yml Raw ↑

Other APIs AWS Lambda publishes across the network.

AWS Lambda Extensions API
AWS Lambda Telemetry API
AWS Lambda Runtime API
AWS Lambda Logs API
AWS Lambda Aliases API
AWS Lambda Concurrency API
AWS Lambda Event Source Mappings API
AWS Lambda Function URL API
AWS Lambda Functions API
AWS Lambda Tags API
AWS Lambda Versions API