Skip to content

get_layer_version_by_arn

Operation

get_layer_version_by_arn

get_layer_version_by_arn(request: GetLayerVersionByArnInput | GetLayerVersionByArnInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[GetLayerVersionByArnInputDict]) -> 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
request GetLayerVersionByArnInput | GetLayerVersionByArnInputDict | None

The input as a model or dictionary. Pass this or keyword arguments, not both.

None
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
**kwargs Unpack[GetLayerVersionByArnInputDict]

The input fields as keyword arguments.

{}

Returns:

Type Description
GetLayerVersionByArnOutput

An instance of GetLayerVersionByArnOutput.

get_layer_version_by_arn async

get_layer_version_by_arn(request: GetLayerVersionByArnInput | GetLayerVersionByArnInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[GetLayerVersionByArnInputDict]) -> 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
request GetLayerVersionByArnInput | GetLayerVersionByArnInputDict | None

The input as a model or dictionary. Pass this or keyword arguments, not both.

None
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
**kwargs Unpack[GetLayerVersionByArnInputDict]

The input fields as keyword arguments.

{}

Returns:

Type Description
GetLayerVersionByArnOutput

An instance of GetLayerVersionByArnOutput.

Input

Pass the input as keyword arguments, a positional dictionary, or a positional model object. Pass plugins separately as a keyword argument.

GetLayerVersionByArnInputDict

Bases: TypedDict

Dictionary form of GetLayerVersionByArnInput.

Attributes

arn instance-attribute
arn: Required[str]

The ARN of the layer version.

GetLayerVersionByArnInput dataclass

Bases: _SerdeShape

Dataclass for GetLayerVersionByArnInput structure.

Attributes

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

The ARN of the layer version.

Output

GetLayerVersionByArnOutput dataclass

Bases: _SerdeShape

Dataclass for GetLayerVersionByArnOutput structure.

Attributes

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

A list of compatible instruction set architectures.

compatible_runtimes class-attribute instance-attribute
compatible_runtimes: list[str] | 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 = ...

Details about the layer version.

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

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

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

The description of the version.

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

The ARN of the layer.

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

The ARN of the layer version.

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

The layer's software license.

response_metadata class-attribute instance-attribute
response_metadata: ResponseMetadata = ...

Metadata about the response that produced this output. Use this to recover the request identifiers a service's support team needs in order to investigate a call. Members of the metadata are individually optional.

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

The version number.