list_functions
async
¶
list_functions(
*,
config_overrides: Optional[AsyncLambdaClientConfig] = 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/async__lambda.py
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 3474 3475 3476 3477 3478 3479 3480 3481 3482 3483 3484 3485 3486 3487 3488 3489 3490 3491 3492 3493 3494 3495 3496 3497 3498 3499 3500 3501 3502 3503 3504 3505 3506 3507 3508 3509 3510 3511 3512 3513 3514 3515 3516 | |