You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

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

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

Overview

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

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.

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.

Returns:

  • (String)


5556
5557
5558
5559
5560
5561
# File 'gems/aws-sdk-swf/lib/aws-sdk-swf/types.rb', line 5556

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

#messageString

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

Returns:

  • (String)


5556
5557
5558
5559
5560
5561
# File 'gems/aws-sdk-swf/lib/aws-sdk-swf/types.rb', line 5556

class StartLambdaFunctionFailedEventAttributes < Struct.new(
  :scheduled_event_id,
  :cause,
  :message)
  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)


5556
5557
5558
5559
5560
5561
# File 'gems/aws-sdk-swf/lib/aws-sdk-swf/types.rb', line 5556

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