Skip to content

/AWS1/CL_LMD=>LISTLAYERVERSIONS()

About ListLayerVersions

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.

Method Signature

IMPORTING

Required arguments:

IV_LAYERNAME TYPE /AWS1/LMDLAYERNAME /AWS1/LMDLAYERNAME

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

Optional arguments:

IV_COMPATIBLERUNTIME TYPE /AWS1/LMDRUNTIME /AWS1/LMDRUNTIME

A runtime identifier.

The following list includes deprecated runtimes. For more information, see Runtime use after deprecation.

For a list of all currently supported runtimes, see Supported runtimes.

IV_MARKER TYPE /AWS1/LMDSTRING /AWS1/LMDSTRING

A pagination token returned by a previous call.

IV_MAXITEMS TYPE /AWS1/LMDMAXLAYERLISTITEMS /AWS1/LMDMAXLAYERLISTITEMS

The maximum number of versions to return.

IV_COMPATIBLEARCHITECTURE TYPE /AWS1/LMDARCHITECTURE /AWS1/LMDARCHITECTURE

The compatible instruction set architecture.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_LMDLISTLAYERVRSSRSP /AWS1/CL_LMDLISTLAYERVRSSRSP