Skip to content

Lambda  >  Operations  >  get_layer_version_by_arn

get_layer_version_by_arn

Operation

get_layer_version_by_arn async

get_layer_version_by_arn(input: GetLayerVersionByArnInput, plugins: list[Plugin] | None = None) -> GetLayerVersionByArnOutput

Returns information about a version of an Lambda layer, with a link to download the layer archive that's valid for 10 minutes.

Parameters:

Name Type Description Default
input GetLayerVersionByArnInput

An instance of GetLayerVersionByArnInput.

required
plugins list[Plugin] | None

A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations.

None

Returns:

Type Description
GetLayerVersionByArnOutput

An instance of GetLayerVersionByArnOutput.

Input

GetLayerVersionByArnInput dataclass

Dataclass for GetLayerVersionByArnInput structure.

Attributes

arn class-attribute instance-attribute
arn: str | None = None

The ARN of the layer version.

Output

GetLayerVersionByArnOutput dataclass

Dataclass for GetLayerVersionByArnOutput structure.

Attributes

compatible_architectures class-attribute instance-attribute
compatible_architectures: list[Architecture] | None = None

A list of compatible instruction set architectures.

compatible_runtimes class-attribute instance-attribute
compatible_runtimes: list[Runtime] | None = None

The layer's compatible runtimes.

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.

content class-attribute instance-attribute
content: LayerVersionContentOutput | None = None

Details about the layer version.

created_date class-attribute instance-attribute
created_date: str | None = None

The date that the layer version was created, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).

description class-attribute instance-attribute
description: str | None = None

The description of the version.

layer_arn class-attribute instance-attribute
layer_arn: str | None = None

The ARN of the layer.

layer_version_arn class-attribute instance-attribute
layer_version_arn: str | None = None

The ARN of the layer version.

license_info class-attribute instance-attribute
license_info: str | None = None

The layer's software license.

version class-attribute instance-attribute
version: int = 0

The version number.