list_layer_versions¶
Operation¶
list_layer_versions
¶
list_layer_versions(request: ListLayerVersionsInput | ListLayerVersionsInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[ListLayerVersionsInputDict]) -> ListLayerVersionsOutput
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.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
request
|
ListLayerVersionsInput | ListLayerVersionsInputDict | 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[ListLayerVersionsInputDict]
|
The input fields as keyword arguments. |
{}
|
Returns:
| Type | Description |
|---|---|
ListLayerVersionsOutput
|
An instance of |
list_layer_versions
async
¶
list_layer_versions(request: ListLayerVersionsInput | ListLayerVersionsInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[ListLayerVersionsInputDict]) -> ListLayerVersionsOutput
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.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
request
|
ListLayerVersionsInput | ListLayerVersionsInputDict | 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[ListLayerVersionsInputDict]
|
The input fields as keyword arguments. |
{}
|
Returns:
| Type | Description |
|---|---|
ListLayerVersionsOutput
|
An instance of |
Input¶
Pass the input as keyword arguments, a positional dictionary, or a positional model object. Pass plugins separately as a keyword argument.
ListLayerVersionsInputDict
¶
Bases: TypedDict
Dictionary form of ListLayerVersionsInput.
Attributes¶
compatible_architecture
instance-attribute
¶
compatible_architecture: str | None
The compatible instruction set architecture.
compatible_runtime
instance-attribute
¶
compatible_runtime: str | None
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.
layer_name
instance-attribute
¶
The name or Amazon Resource Name (ARN) of the layer.
ListLayerVersionsInput
dataclass
¶
Bases: _SerdeShape
Dataclass for ListLayerVersionsInput structure.
Attributes¶
compatible_architecture
class-attribute
instance-attribute
¶
compatible_architecture: str | None = ...
The compatible instruction set architecture.
compatible_runtime
class-attribute
instance-attribute
¶
compatible_runtime: str | None = ...
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.
layer_name
class-attribute
instance-attribute
¶
layer_name: str | None = ...
The name or Amazon Resource Name (ARN) of the layer.
Output¶
ListLayerVersionsOutput
dataclass
¶
Bases: _SerdeShape
Dataclass for ListLayerVersionsOutput structure.
Attributes¶
layer_versions
class-attribute
instance-attribute
¶
layer_versions: list[LayerVersionsListItem] | None = ...
A list of versions.
next_marker
class-attribute
instance-attribute
¶
next_marker: str | None = ...
A pagination token returned when the response doesn't contain all versions.
response_metadata
class-attribute
instance-attribute
¶
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.