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

Inherits:
Struct
  • Object
show all
Includes:
Aws::Structure
Defined in:
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)


1390
1391
1392
1393
1394
1395
1396
1397
# File 'lib/aws-sdk-states/types.rb', line 1390

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)


1390
1391
1392
1393
1394
1395
1396
1397
# File 'lib/aws-sdk-states/types.rb', line 1390

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)


1390
1391
1392
1393
1394
1395
1396
1397
# File 'lib/aws-sdk-states/types.rb', line 1390

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)


1390
1391
1392
1393
1394
1395
1396
1397
# File 'lib/aws-sdk-states/types.rb', line 1390

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