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

Lists the versions of an Lambda layer. Versions that have been deleted aren't listed. Specify a runtime identifier 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.

Servers

Path parameters

Name Type Required Description
LayerName String Yes

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

Request headers

Name Type Required Description
X-Amz-Content-Sha256 String No
X-Amz-Credential String No
X-Amz-Date String No
X-Amz-Algorithm String No
X-Amz-SignedHeaders String No
X-Amz-Security-Token String No
X-Amz-Signature String No

Query parameters

Name Type Required Description
MaxItems Integer No

The maximum number of versions to return.

CompatibleArchitecture String No

The compatible instruction set architecture.

Possible values:

  • "x86_64"
  • "arm64"
CompatibleRuntime String No

A runtime identifier. For example, go1.x.

Possible values:

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

A pagination token returned by a previous call.

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.