Class: Aws::States::Types::MockErrorOutput

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

Overview

A JSON object that contains a mocked error.

Constant Summary collapse

SENSITIVE =
[:error, :cause]

Instance Attribute Summary collapse

Instance Attribute Details

#causeString

A string containing the cause of the exception thrown when executing the state’s logic.

Returns:

  • (String)


3404
3405
3406
3407
3408
3409
# File 'lib/aws-sdk-states/types.rb', line 3404

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

#errorString

A string denoting the error code of the exception thrown when invoking the tested state. This field is required if ‘mock.errorOutput` is specified.

Returns:

  • (String)


3404
3405
3406
3407
3408
3409
# File 'lib/aws-sdk-states/types.rb', line 3404

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