Skip to content

/AWS1/CL_LMD=>LISTFUNCTIONS()

About ListFunctions

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.

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.

Method Signature

IMPORTING

Optional arguments:

IV_MASTERREGION TYPE /AWS1/LMDMASTERREGION /AWS1/LMDMASTERREGION

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.

IV_FUNCTIONVERSION TYPE /AWS1/LMDFUNCTIONVERSION /AWS1/LMDFUNCTIONVERSION

Set to ALL to include entries for all published versions of each function.

IV_MARKER TYPE /AWS1/LMDSTRING /AWS1/LMDSTRING

Specify the pagination token that's returned by a previous request to retrieve the next page of results.

IV_MAXITEMS TYPE /AWS1/LMDMAXLISTITEMS /AWS1/LMDMAXLISTITEMS

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.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_LMDLISTFUNCSRESPONSE /AWS1/CL_LMDLISTFUNCSRESPONSE