Skip to content

/AWS1/CL_LMD=>LISTVERSIONSBYFUNCTION()

About ListVersionsByFunction

Returns a list of versions, with the version-specific configuration of each. Lambda returns up to 50 versions per call.

Method Signature

IMPORTING

Required arguments:

IV_FUNCTIONNAME TYPE /AWS1/LMDNAMESPACEDFUNCNAME /AWS1/LMDNAMESPACEDFUNCNAME

The name or ARN of the Lambda function.

Name formats

  • Function name - MyFunction.

  • Function ARN - arn:aws:lambda:us-west-2:123456789012:function:MyFunction.

  • Partial ARN - 123456789012:function:MyFunction.

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

Optional arguments:

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 versions to return. Note that ListVersionsByFunction returns a maximum of 50 items in each response, even if you set the number higher.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_LMDLISTVRSSBYFUNCRSP /AWS1/CL_LMDLISTVRSSBYFUNCRSP