Skip to content

/AWS1/CL_LMDGETDURABLEEXECRSP

The response from the GetDurableExecution operation, containing detailed information about the durable execution.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_durableexecutionarn TYPE /AWS1/LMDDURABLEEXECUTIONARN /AWS1/LMDDURABLEEXECUTIONARN

The Amazon Resource Name (ARN) of the durable execution.

iv_durableexecutionname TYPE /AWS1/LMDDURABLEEXECUTIONNAME /AWS1/LMDDURABLEEXECUTIONNAME

The name of the durable execution. This is either the name you provided when invoking the function, or a system-generated unique identifier if no name was provided.

iv_functionarn TYPE /AWS1/LMDNAMESPACEDFUNCTIONARN /AWS1/LMDNAMESPACEDFUNCTIONARN

The Amazon Resource Name (ARN) of the Lambda function that was invoked to start this durable execution.

iv_starttimestamp TYPE /AWS1/LMDEXECUTIONTIMESTAMP /AWS1/LMDEXECUTIONTIMESTAMP

The date and time when the durable execution started, in Unix timestamp format.

iv_status TYPE /AWS1/LMDEXECUTIONSTATUS /AWS1/LMDEXECUTIONSTATUS

The current status of the durable execution. Valid values are RUNNING, SUCCEEDED, FAILED, TIMED_OUT, and STOPPED.

Optional arguments:

iv_inputpayload TYPE /AWS1/LMDINPUTPAYLOAD /AWS1/LMDINPUTPAYLOAD

The JSON input payload that was provided when the durable execution was started. For asynchronous invocations, this is limited to 256 KB. For synchronous invocations, this can be up to 6 MB.

iv_result TYPE /AWS1/LMDOUTPUTPAYLOAD /AWS1/LMDOUTPUTPAYLOAD

The JSON result returned by the durable execution if it completed successfully. This field is only present when the execution status is SUCCEEDED. The result is limited to 256 KB.

io_error TYPE REF TO /AWS1/CL_LMDERROROBJECT /AWS1/CL_LMDERROROBJECT

Error information if the durable execution failed. This field is only present when the execution status is FAILED, TIMED_OUT, or STOPPED. The combined size of all error fields is limited to 256 KB.

iv_endtimestamp TYPE /AWS1/LMDEXECUTIONTIMESTAMP /AWS1/LMDEXECUTIONTIMESTAMP

The date and time when the durable execution ended, in Unix timestamp format. This field is only present if the execution has completed (status is SUCCEEDED, FAILED, TIMED_OUT, or STOPPED).

iv_version TYPE /AWS1/LMDVRSWITHLATESTPUBED /AWS1/LMDVRSWITHLATESTPUBED

The version of the Lambda function that was invoked for this durable execution. This ensures that all replays during the execution use the same function version.

io_traceheader TYPE REF TO /AWS1/CL_LMDTRACEHEADER /AWS1/CL_LMDTRACEHEADER

The trace headers associated with the durable execution.


Queryable Attributes

DurableExecutionArn

The Amazon Resource Name (ARN) of the durable execution.

Accessible with the following methods

Method Description
GET_DURABLEEXECUTIONARN() Getter for DURABLEEXECUTIONARN, with configurable default
ASK_DURABLEEXECUTIONARN() Getter for DURABLEEXECUTIONARN w/ exceptions if field has no
HAS_DURABLEEXECUTIONARN() Determine if DURABLEEXECUTIONARN has a value

DurableExecutionName

The name of the durable execution. This is either the name you provided when invoking the function, or a system-generated unique identifier if no name was provided.

Accessible with the following methods

Method Description
GET_DURABLEEXECUTIONNAME() Getter for DURABLEEXECUTIONNAME, with configurable default
ASK_DURABLEEXECUTIONNAME() Getter for DURABLEEXECUTIONNAME w/ exceptions if field has n
HAS_DURABLEEXECUTIONNAME() Determine if DURABLEEXECUTIONNAME has a value

FunctionArn

The Amazon Resource Name (ARN) of the Lambda function that was invoked to start this durable execution.

Accessible with the following methods

Method Description
GET_FUNCTIONARN() Getter for FUNCTIONARN, with configurable default
ASK_FUNCTIONARN() Getter for FUNCTIONARN w/ exceptions if field has no value
HAS_FUNCTIONARN() Determine if FUNCTIONARN has a value

InputPayload

The JSON input payload that was provided when the durable execution was started. For asynchronous invocations, this is limited to 256 KB. For synchronous invocations, this can be up to 6 MB.

Accessible with the following methods

Method Description
GET_INPUTPAYLOAD() Getter for INPUTPAYLOAD, with configurable default
ASK_INPUTPAYLOAD() Getter for INPUTPAYLOAD w/ exceptions if field has no value
HAS_INPUTPAYLOAD() Determine if INPUTPAYLOAD has a value

Result

The JSON result returned by the durable execution if it completed successfully. This field is only present when the execution status is SUCCEEDED. The result is limited to 256 KB.

Accessible with the following methods

Method Description
GET_RESULT() Getter for RESULT, with configurable default
ASK_RESULT() Getter for RESULT w/ exceptions if field has no value
HAS_RESULT() Determine if RESULT has a value

Error

Error information if the durable execution failed. This field is only present when the execution status is FAILED, TIMED_OUT, or STOPPED. The combined size of all error fields is limited to 256 KB.

Accessible with the following methods

Method Description
GET_ERROR() Getter for ERROR

StartTimestamp

The date and time when the durable execution started, in Unix timestamp format.

Accessible with the following methods

Method Description
GET_STARTTIMESTAMP() Getter for STARTTIMESTAMP, with configurable default
ASK_STARTTIMESTAMP() Getter for STARTTIMESTAMP w/ exceptions if field has no valu
HAS_STARTTIMESTAMP() Determine if STARTTIMESTAMP has a value

Status

The current status of the durable execution. Valid values are RUNNING, SUCCEEDED, FAILED, TIMED_OUT, and STOPPED.

Accessible with the following methods

Method Description
GET_STATUS() Getter for STATUS, with configurable default
ASK_STATUS() Getter for STATUS w/ exceptions if field has no value
HAS_STATUS() Determine if STATUS has a value

EndTimestamp

The date and time when the durable execution ended, in Unix timestamp format. This field is only present if the execution has completed (status is SUCCEEDED, FAILED, TIMED_OUT, or STOPPED).

Accessible with the following methods

Method Description
GET_ENDTIMESTAMP() Getter for ENDTIMESTAMP, with configurable default
ASK_ENDTIMESTAMP() Getter for ENDTIMESTAMP w/ exceptions if field has no value
HAS_ENDTIMESTAMP() Determine if ENDTIMESTAMP has a value

Version

The version of the Lambda function that was invoked for this durable execution. This ensures that all replays during the execution use the same function version.

Accessible with the following methods

Method Description
GET_VERSION() Getter for VERSION, with configurable default
ASK_VERSION() Getter for VERSION w/ exceptions if field has no value
HAS_VERSION() Determine if VERSION has a value

TraceHeader

The trace headers associated with the durable execution.

Accessible with the following methods

Method Description
GET_TRACEHEADER() Getter for TRACEHEADER