---
title: "GET /2018-10-31/layers"
method: GET
path: "/2018-10-31/layers"
---

# GET /2018-10-31/layers

`GET /2018-10-31/layers`

Lists <a href="https://docs.aws.amazon.com/lambda/latest/dg/invocation-layers.html">Lambda layers</a> and shows information about the latest version of each. Specify a <a href="https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html">runtime identifier</a> to list only layers that indicate that they're compatible with that runtime. Specify a compatible architecture to include only layers that are compatible with that <a href="https://docs.aws.amazon.com/lambda/latest/dg/foundation-arch.html">instruction set architecture</a>.

## 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'
- `Marker` string
- `MaxItems` integer
- `CompatibleArchitecture` 'x86_64' | 'arm64'

## Response `200`

Success

- ListLayersResponse
  - `NextMarker` string — A pagination token returned when the response doesn't contain all layers.
  - `Layers` LayersListItem[] — A list of function layers.
    - `LayerName` string — The name of the layer.
    - `LayerArn` string — The Amazon Resource Name (ARN) of the function layer.
    - `LatestMatchingVersion` object — The newest version of the layer.
      - `LayerVersionArn` string — The ARN of the layer version.
      - `Version` integer — The version number.
      - `Description` string — The description of the version.
      - `CreatedDate` string — The date that the version was created, in ISO 8601 format. For example, <code>2018-11-27T15:10:45.123+0000</code>.
      - `CompatibleRuntimes` Runtime[] — The layer's compatible runtimes.
      - `LicenseInfo` string — The layer's open-source license.
      - `CompatibleArchitectures` Architecture[] — A list of compatible <a href="https://docs.aws.amazon.com/lambda/latest/dg/foundation-arch.html">instruction set architectures</a>.

## Other responses

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

---

[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)
