Skip to content

/AWS1/CL_SWFSTRTLAMBDAFUNCFA00

Provides the details of the StartLambdaFunctionFailed event. It isn't set for other event types.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_scheduledeventid TYPE /AWS1/SWFEVENTID /AWS1/SWFEVENTID

The ID of the ActivityTaskScheduled event that was recorded when this activity task was scheduled. To help diagnose issues, use this information to trace back the chain of events leading up to this event.

iv_cause TYPE /AWS1/SWFSTRTLAMBDAFUNCFAILE00 /AWS1/SWFSTRTLAMBDAFUNCFAILE00

The cause of the failure. To help diagnose issues, use this information to trace back the chain of events leading up to this event.

If cause is set to OPERATION_NOT_PERMITTED, the decision failed because the IAM role attached to the execution lacked sufficient permissions. For details and example IAM policies, see Lambda Tasks in the Amazon SWF Developer Guide.

iv_message TYPE /AWS1/SWFCAUSEMESSAGE /AWS1/SWFCAUSEMESSAGE

A description that can help diagnose the cause of the fault.


Queryable Attributes

scheduledEventId

The ID of the ActivityTaskScheduled event that was recorded when this activity task was scheduled. To help diagnose issues, use this information to trace back the chain of events leading up to this event.

Accessible with the following methods

Method Description
GET_SCHEDULEDEVENTID() Getter for SCHEDULEDEVENTID

cause

The cause of the failure. To help diagnose issues, use this information to trace back the chain of events leading up to this event.

If cause is set to OPERATION_NOT_PERMITTED, the decision failed because the IAM role attached to the execution lacked sufficient permissions. For details and example IAM policies, see Lambda Tasks in the Amazon SWF Developer Guide.

Accessible with the following methods

Method Description
GET_CAUSE() Getter for CAUSE, with configurable default
ASK_CAUSE() Getter for CAUSE w/ exceptions if field has no value
HAS_CAUSE() Determine if CAUSE has a value

message

A description that can help diagnose the cause of the fault.

Accessible with the following methods

Method Description
GET_MESSAGE() Getter for MESSAGE, with configurable default
ASK_MESSAGE() Getter for MESSAGE w/ exceptions if field has no value
HAS_MESSAGE() Determine if MESSAGE has a value