Skip to content

/AWS1/CL_SWFSCHLAMBDAFUNCFAI00

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

CONSTRUCTOR

IMPORTING

Required arguments:

iv_id TYPE /AWS1/SWFFUNCTIONID /AWS1/SWFFUNCTIONID

The ID provided in the ScheduleLambdaFunction decision that failed.

iv_name TYPE /AWS1/SWFFUNCTIONNAME /AWS1/SWFFUNCTIONNAME

The name of the Lambda function.

iv_cause TYPE /AWS1/SWFSCHLAMBDAFUNCFAILED00 /AWS1/SWFSCHLAMBDAFUNCFAILED00

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 it lacked sufficient permissions. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.

iv_dcsntaskcompletedeventid TYPE /AWS1/SWFEVENTID /AWS1/SWFEVENTID

The ID of the LambdaFunctionCompleted event corresponding to the decision that resulted in scheduling this Lambda task. To help diagnose issues, use this information to trace back the chain of events leading up to this event.


Queryable Attributes

id

The ID provided in the ScheduleLambdaFunction decision that failed.

Accessible with the following methods

Method Description
GET_ID() Getter for ID, with configurable default
ASK_ID() Getter for ID w/ exceptions if field has no value
HAS_ID() Determine if ID has a value

name

The name of the Lambda function.

Accessible with the following methods

Method Description
GET_NAME() Getter for NAME, with configurable default
ASK_NAME() Getter for NAME w/ exceptions if field has no value
HAS_NAME() Determine if NAME has a value

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 it lacked sufficient permissions. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows 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

decisionTaskCompletedEventId

The ID of the LambdaFunctionCompleted event corresponding to the decision that resulted in scheduling this Lambda task. 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_DCSNTASKCOMPLETEDEVENTID() Getter for DECISIONTASKCOMPLETEDEVENTID