list_functions
¶
list_functions(
*,
config_overrides: Optional[LambdaClientConfig] = None,
master_region: Optional[MasterRegion] = None,
function_version: Optional[FunctionVersion] = None,
marker: Optional[String] = None,
max_items: Optional[MaxListItems] = None,
) -> ListFunctionsResponse
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, StateReason, LastUpdateStatus, LastUpdateStatusReason, LastUpdateStatusReasonCode, RuntimeVersionConfig) for a function or version, use GetFunction.
Parameters:
-
master_region(Optional[MasterRegion], default:None) –For Lambda@Edge functions, the Amazon Web Services Region of the master function. For example,
us-east-1filters the list of functions to include only Lambda@Edge functions replicated from a master function in US East (N. Virginia). If specified, you must setFunctionVersiontoALL. -
function_version(Optional[FunctionVersion], default:None) –Set to
ALLto include entries for all published versions of each function. -
marker(Optional[String], default:None) –Specify the pagination token that's returned by a previous request to retrieve the next page of results.
-
max_items(Optional[MaxListItems], default:None) –The maximum number of functions to return in the response. Note that
ListFunctionsreturns a maximum of 50 items in each response, even if you set the number higher.
Raises:
-
InvalidParameterValueException–One of the parameters in the request is not valid.
-
ServiceException–The Lambda service encountered an internal error.
-
TooManyRequestsException–The request throughput limit was exceeded. For more information, see Lambda quotas.
-
UnknownServiceError–The service returned an error code this client does not model.
Examples:
To get a list of Lambda functions This operation returns a list of Lambda functions.
Source code in docs_src/capo_lambda/_services/_lambda.py
3400 3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 3420 3421 3422 3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 3434 3435 3436 3437 3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 3471 3472 3473 | |