list_layer_versions¶
Operation¶
list_layer_versions
async
¶
list_layer_versions(input: ListLayerVersionsInput, plugins: list[Plugin] | None = None) -> 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 |
|---|---|---|---|
input
|
ListLayerVersionsInput
|
An instance of |
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 |
|---|---|
ListLayerVersionsOutput
|
An instance of |
Input¶
ListLayerVersionsInput
dataclass
¶
Dataclass for ListLayerVersionsInput structure.
Attributes¶
compatible_architecture
class-attribute
instance-attribute
¶
compatible_architecture: Architecture | None = None
The compatible instruction set architecture.
compatible_runtime
class-attribute
instance-attribute
¶
compatible_runtime: Runtime | None = 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 = None
The name or Amazon Resource Name (ARN) of the layer.
marker
class-attribute
instance-attribute
¶
marker: str | None = None
A pagination token returned by a previous call.
max_items
class-attribute
instance-attribute
¶
max_items: int | None = None
The maximum number of versions to return.
Output¶
ListLayerVersionsOutput
dataclass
¶
Dataclass for ListLayerVersionsOutput structure.
Attributes¶
layer_versions
class-attribute
instance-attribute
¶
layer_versions: list[LayerVersionsListItem] | None = None
A list of versions.
next_marker
class-attribute
instance-attribute
¶
next_marker: str | None = None
A pagination token returned when the response doesn't contain all versions.