Skip to content

/AWS1/CL_LMD=>INVOKEASYNC()

About InvokeAsync

For asynchronous function invocation, use Invoke.

Invokes a function asynchronously.

If you do use the InvokeAsync action, note that it doesn't support the use of X-Ray active tracing. Trace ID is not propagated to the function, even if X-Ray active tracing is turned on.

Method Signature

IMPORTING

Required arguments:

IV_FUNCTIONNAME TYPE /AWS1/LMDNAMESPACEDFUNCNAME /AWS1/LMDNAMESPACEDFUNCNAME

The name or ARN of the Lambda function.

Name formats

  • Function namemy-function.

  • Function ARNarn:aws:lambda:us-west-2:123456789012:function:my-function.

  • Partial ARN123456789012:function:my-function.

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

IV_INVOKEARGS TYPE /AWS1/LMDBLOBSTREAM /AWS1/LMDBLOBSTREAM

The JSON that you want to provide to your Lambda function as input.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_LMDINVOKEASYNCRSP /AWS1/CL_LMDINVOKEASYNCRSP