Skip to content

LambdaClient.list_functions

rboto-lambda==0.4.0 · Service index · Types

Model summary (excerpt): Returns a list of Lambda Event 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. The ListFunctions operation returns a subset of the FunctionConfiguration fields. To get the additional fields (State, StateReasonCode,...

Install and imports

python -m pip install "rboto[lambda]==0.4.0"
from rboto import LambdaClient
from rboto_lambda.types import (
    FunctionVersion,
    ListFunctionsOutput,
)

Signature

async def list_functions(
    *,
    master_region: str | None = None,
    function_version: FunctionVersion | None = None,
    marker: str | None = None,
    max_items: int | None = None,
) -> ListFunctionsOutput: ...

Arguments without defaults are required. None omits an optional request argument. Static types do not validate resource existence, permissions, lengths, ranges, or conditional service requirements.

Arguments

Argument Required Model notes (excerpt)
master_region No 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 .
function_version No Set to ALL to include entries for all published versions of each function.
marker No Specify the pagination token that's returned by a previous request to retrieve the next page of results.
max_items No 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.

Read-only native attributes, accessed as response.field. Collection getters materialize Python values; to_dict() recursively materializes a mapping. Streams are consumed once.

Field Type Presence References
next_marker str | None Always present —
functions list[FunctionConfiguration] | None Always present FunctionConfiguration

| None means a value can be absent. Output mappings include every declared key; optional input keys may be omitted. Unknown output enum/union variants are not automatically valid inputs.

FunctionVersion, ListFunctionsOutput

Follow these links for nested inputs and outputs; recursive types link back to the same type page.

Pagination and streaming

client.paginators.list_functions(...) accepts the same arguments and returns AsyncIterator[ListFunctionsOutput]. Direct calls return one page. Pages preserve the Output representation above.

Input cursors: marker. Page-size argument: max_items.

No output stream.

Errors

Import from rboto_lambda.exceptions:

InvalidParameterValueError, ServiceError, TooManyRequestsError.

Other service failures use the service base error; credential, transport and timeout failures use shared errors.

Service guide · Pinned model