Class: Aws::States::Types::MockInput
- Inherits:
-
Struct
- Object
- Struct
- Aws::States::Types::MockInput
- Includes:
- Aws::Structure
- Defined in:
- lib/aws-sdk-states/types.rb
Overview
A JSON object that contains a mocked ‘result` or `errorOutput`.
Constant Summary collapse
- SENSITIVE =
[:result]
Instance Attribute Summary collapse
-
#error_output ⇒ Types::MockErrorOutput
The mocked error output when calling TestState.
-
#field_validation_mode ⇒ String
Determines the level of strictness when validating mocked results against their respective API models.
-
#result ⇒ String
A JSON string containing the mocked result of the state invocation.
Instance Attribute Details
#error_output ⇒ Types::MockErrorOutput
The mocked error output when calling TestState. When specified, the mocked response is returned as a JSON object that contains an ‘error` and `cause` field.
3439 3440 3441 3442 3443 3444 3445 |
# File 'lib/aws-sdk-states/types.rb', line 3439 class MockInput < Struct.new( :result, :error_output, :field_validation_mode) SENSITIVE = [:result] include Aws::Structure end |
#field_validation_mode ⇒ String
Determines the level of strictness when validating mocked results against their respective API models. Values include:
-
‘STRICT`: All required fields must be present, and all present fields must conform to the API’s schema.
-
‘PRESENT`: All present fields must conform to the API’s schema.
-
‘NONE`: No validation is performed.
If no value is specified, the default value is ‘STRICT`.
3439 3440 3441 3442 3443 3444 3445 |
# File 'lib/aws-sdk-states/types.rb', line 3439 class MockInput < Struct.new( :result, :error_output, :field_validation_mode) SENSITIVE = [:result] include Aws::Structure end |
#result ⇒ String
A JSON string containing the mocked result of the state invocation.
3439 3440 3441 3442 3443 3444 3445 |
# File 'lib/aws-sdk-states/types.rb', line 3439 class MockInput < Struct.new( :result, :error_output, :field_validation_mode) SENSITIVE = [:result] include Aws::Structure end |