Learn R Programming

paws.compute (version 0.1.12)

lambda_list_layer_versions: Lists the versions of an AWS Lambda layer

Description

Lists the versions of an AWS 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.

Usage

lambda_list_layer_versions(CompatibleRuntime, LayerName, Marker,
  MaxItems)

Value

A list with the following syntax:

list(
  NextMarker = "string",
  LayerVersions = list(
    list(
      LayerVersionArn = "string",
      Version = 123,
      Description = "string",
      CreatedDate = "string",
      CompatibleRuntimes = list(
        "nodejs"|"nodejs4.3"|"nodejs6.10"|"nodejs8.10"|"nodejs10.x"|"nodejs12.x"|"java8"|"java8.al2"|"java11"|"python2.7"|"python3.6"|"python3.7"|"python3.8"|"dotnetcore1.0"|"dotnetcore2.0"|"dotnetcore2.1"|"dotnetcore3.1"|"nodejs4.3-edge"|"go1.x"|"ruby2.5"|"ruby2.7"|"provided"|"provided.al2"
      ),
      LicenseInfo = "string"
    )
  )
)

Arguments

CompatibleRuntime

A runtime identifier. For example, go1.x.

LayerName

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

Marker

A pagination token returned by a previous call.

MaxItems

The maximum number of versions to return.

Request syntax

svc$list_layer_versions(
  CompatibleRuntime = "nodejs"|"nodejs4.3"|"nodejs6.10"|"nodejs8.10"|"nodejs10.x"|"nodejs12.x"|"java8"|"java8.al2"|"java11"|"python2.7"|"python3.6"|"python3.7"|"python3.8"|"dotnetcore1.0"|"dotnetcore2.0"|"dotnetcore2.1"|"dotnetcore3.1"|"nodejs4.3-edge"|"go1.x"|"ruby2.5"|"ruby2.7"|"provided"|"provided.al2",
  LayerName = "string",
  Marker = "string",
  MaxItems = 123
)

Examples

Run this code
if (FALSE) {
# The following example displays information about the versions for the
# layer named blank-java-lib
svc$list_layer_versions(
  LayerName = "blank-java-lib"
)
}

Run the code above in your browser using DataLab