list_layers¶
Operation¶
list_layers
async
¶
list_layers(input: ListLayersInput, plugins: list[Plugin] | None = None) -> ListLayersOutput
Lists Lambda layers and shows information about the latest version of each. Specify a runtime identifier to list only layers that indicate that they're compatible with that runtime. Specify a compatible architecture to include only layers that are compatible with that instruction set architecture.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
ListLayersInput
|
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 |
|---|---|
ListLayersOutput
|
An instance of |
Input¶
ListLayersInput
dataclass
¶
Dataclass for ListLayersInput 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.
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 layers to return.
Output¶
ListLayersOutput
dataclass
¶
Dataclass for ListLayersOutput structure.
Attributes¶
layers
class-attribute
instance-attribute
¶
layers: list[LayersListItem] | None = None
A list of function layers.
next_marker
class-attribute
instance-attribute
¶
next_marker: str | None = None
A pagination token returned when the response doesn't contain all layers.