v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1466347371.7 KB

Lists the versions of an <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html">Lambda layer</a>. Versions that have been deleted aren't listed. Specify a <a href="https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html">runtime identifier</a> to list only versions that indicate that they're compatible with that runtime. Specify a compatible architecture to include only layer versions that are compatible with that architecture.

get/2018-10-31/layers/{LayerName}/versions

Path parameters

LayerNamestring required

The name or Amazon Resource Name (ARN) of the layer.

Query parameters

CompatibleRuntime'nodejs' | 'nodejs4.3' | 'nodejs6.10' | 'nodejs8.10' | 'nodejs10.x' | 'nodejs12.x' | 'nodejs14.x' | 'nodejs16.x' | 'java8' | 'java8.al2' | 'java11' | 'python2.7' | 'python3.6' | 'python3.7' | 'python3.8' | 'python3.9' | 'dotnetcore1.0' | 'dotnetcore2.0' | 'dotnetcore2.1' | 'dotnetcore3.1' | 'dotnet6' | 'nodejs4.3-edge' | 'go1.x' | 'ruby2.5' | 'ruby2.7' | 'provided' | 'provided.al2' | 'nodejs18.x' | 'python3.10'

A runtime identifier. For example, <code>go1.x</code>.

Markerstring

A pagination token returned by a previous call.

MaxItemsinteger

The maximum number of versions to return.

CompatibleArchitecture'x86_64' | 'arm64'

The compatible <a href="https://docs.aws.amazon.com/lambda/latest/dg/foundation-arch.html">instruction set architecture</a>.

Response

Success

NextMarkerstring

A pagination token returned when the response doesn't contain all versions.