list_layers¶
Operation¶
list_layers
¶
list_layers(request: ListLayersInput | ListLayersInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[ListLayersInputDict]) -> 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 |
|---|---|---|---|
request
|
ListLayersInput | ListLayersInputDict | 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[ListLayersInputDict]
|
The input fields as keyword arguments. |
{}
|
Returns:
| Type | Description |
|---|---|
ListLayersOutput
|
An instance of |
list_layers
async
¶
list_layers(request: ListLayersInput | ListLayersInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[ListLayersInputDict]) -> 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 |
|---|---|---|---|
request
|
ListLayersInput | ListLayersInputDict | 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[ListLayersInputDict]
|
The input fields as keyword arguments. |
{}
|
Returns:
| Type | Description |
|---|---|
ListLayersOutput
|
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.
ListLayersInputDict
¶
Bases: TypedDict
Dictionary form of ListLayersInput.
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.
ListLayersInput
dataclass
¶
Bases: _SerdeShape
Dataclass for ListLayersInput 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.
Output¶
ListLayersOutput
dataclass
¶
Bases: _SerdeShape
Dataclass for ListLayersOutput structure.
Attributes¶
layers
class-attribute
instance-attribute
¶
layers: list[LayersListItem] | None = ...
A list of function layers.
next_marker
class-attribute
instance-attribute
¶
next_marker: str | None = ...
A pagination token returned when the response doesn't contain all layers.
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.