Class: Aws::States::Types::EvaluationFailedEventDetails

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

Overview

Contains details about an evaluation failure that occurred while processing a state, for example, when a JSONata expression throws an error. This event will only be present in state machines that have QueryLanguage set to JSONata, or individual states set to JSONata.

Constant Summary collapse

SENSITIVE =
[:error, :cause, :location]

Instance Attribute Summary collapse

Instance Attribute Details

#causeString

A more detailed explanation of the cause of the failure.

Returns:

  • (String)


1424
1425
1426
1427
1428
1429
1430
1431
# File 'gems/aws-sdk-states/lib/aws-sdk-states/types.rb', line 1424

class EvaluationFailedEventDetails < Struct.new(
  :error,
  :cause,
  :location,
  :state)
  SENSITIVE = [:error, :cause, :location]
  include Aws::Structure
end

#errorString

The error code of the failure.

Returns:

  • (String)


1424
1425
1426
1427
1428
1429
1430
1431
# File 'gems/aws-sdk-states/lib/aws-sdk-states/types.rb', line 1424

class EvaluationFailedEventDetails < Struct.new(
  :error,
  :cause,
  :location,
  :state)
  SENSITIVE = [:error, :cause, :location]
  include Aws::Structure
end

#locationString

The location of the field in the state in which the evaluation error occurred.

Returns:

  • (String)


1424
1425
1426
1427
1428
1429
1430
1431
# File 'gems/aws-sdk-states/lib/aws-sdk-states/types.rb', line 1424

class EvaluationFailedEventDetails < Struct.new(
  :error,
  :cause,
  :location,
  :state)
  SENSITIVE = [:error, :cause, :location]
  include Aws::Structure
end

#stateString

The name of the state in which the evaluation error occurred.

Returns:

  • (String)


1424
1425
1426
1427
1428
1429
1430
1431
# File 'gems/aws-sdk-states/lib/aws-sdk-states/types.rb', line 1424

class EvaluationFailedEventDetails < Struct.new(
  :error,
  :cause,
  :location,
  :state)
  SENSITIVE = [:error, :cause, :location]
  include Aws::Structure
end