Class: Aws::SWF::Types::StartLambdaFunctionFailedEventAttributes

Inherits:
Struct
  • Object
show all
Includes:
Aws::Structure
Defined in:
lib/aws-sdk-swf/types.rb

Overview

Provides the details of the ‘StartLambdaFunctionFailed` event. It isn’t set for other event types.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#causeString

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

<note markdown=“1”> 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*.

</note>

[1]: docs.aws.amazon.com/amazonswf/latest/developerguide/lambda-task.html

Returns:

  • (String)


5124
5125
5126
5127
5128
5129
5130
# File 'lib/aws-sdk-swf/types.rb', line 5124

class StartLambdaFunctionFailedEventAttributes < Struct.new(
  :scheduled_event_id,
  :cause,
  :message)
  SENSITIVE = []
  include Aws::Structure
end

#messageString

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

Returns:

  • (String)


5124
5125
5126
5127
5128
5129
5130
# File 'lib/aws-sdk-swf/types.rb', line 5124

class StartLambdaFunctionFailedEventAttributes < Struct.new(
  :scheduled_event_id,
  :cause,
  :message)
  SENSITIVE = []
  include Aws::Structure
end

#scheduled_event_idInteger

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.

Returns:

  • (Integer)


5124
5125
5126
5127
5128
5129
5130
# File 'lib/aws-sdk-swf/types.rb', line 5124

class StartLambdaFunctionFailedEventAttributes < Struct.new(
  :scheduled_event_id,
  :cause,
  :message)
  SENSITIVE = []
  include Aws::Structure
end