list_functions¶
Operation¶
list_functions
async
¶
list_functions(input: ListFunctionsInput, plugins: list[Plugin] | None = None) -> ListFunctionsOutput
Returns a list of Lambda functions, with the version-specific configuration of each. Lambda returns up to 50 functions per call.
Set FunctionVersion to ALL to include all published versions of each
function in addition to the unpublished version.
Note
The ListFunctions operation returns a subset of the
FunctionConfiguration fields. To get the additional fields (State,
StateReasonCode, StateReason, LastUpdateStatus, LastUpdateStatusReason,
LastUpdateStatusReasonCode, RuntimeVersionConfig) for a function or
version, use GetFunction.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
ListFunctionsInput
|
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 |
|---|---|
ListFunctionsOutput
|
An instance of |
Input¶
ListFunctionsInput
dataclass
¶
Dataclass for ListFunctionsInput structure.
Attributes¶
function_version
class-attribute
instance-attribute
¶
function_version: FunctionVersion | None = None
Set to ALL to include entries for all published versions of each
function.
marker
class-attribute
instance-attribute
¶
marker: str | None = None
Specify the pagination token that's returned by a previous request to retrieve the next page of results.
master_region
class-attribute
instance-attribute
¶
master_region: str | None = None
For Lambda@Edge functions, the Amazon Web Services Region of the master
function. For example, us-east-1 filters the list of functions to
include only Lambda@Edge functions replicated from a master function in
US East (N. Virginia). If specified, you must set FunctionVersion to
ALL.
max_items
class-attribute
instance-attribute
¶
max_items: int | None = None
The maximum number of functions to return in the response. Note that
ListFunctions returns a maximum of 50 items in each response, even if
you set the number higher.
Output¶
ListFunctionsOutput
dataclass
¶
A list of Lambda functions.
Attributes¶
functions
class-attribute
instance-attribute
¶
functions: list[FunctionConfiguration] | None = None
A list of Lambda functions.
next_marker
class-attribute
instance-attribute
¶
next_marker: str | None = None
The pagination token that's included if more results are available.