Class: Aws::States::Types::ValidateStateMachineDefinitionDiagnostic
- Inherits:
-
Struct
- Object
- Struct
- Aws::States::Types::ValidateStateMachineDefinitionDiagnostic
- Includes:
- Aws::Structure
- Defined in:
- lib/aws-sdk-states/types.rb
Overview
Describes an error found during validation. Validation errors found in the definition return in the response as **diagnostic elements**, rather than raise an exception.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#code ⇒ String
Identifying code for the diagnostic.
-
#location ⇒ String
Location of the issue in the state machine, if available.
-
#message ⇒ String
Message describing the diagnostic condition.
-
#severity ⇒ String
A value of ‘ERROR` means that you cannot create or update a state machine with this definition.
Instance Attribute Details
#code ⇒ String
Identifying code for the diagnostic.
4611 4612 4613 4614 4615 4616 4617 4618 |
# File 'lib/aws-sdk-states/types.rb', line 4611 class ValidateStateMachineDefinitionDiagnostic < Struct.new( :severity, :code, :message, :location) SENSITIVE = [] include Aws::Structure end |
#location ⇒ String
Location of the issue in the state machine, if available.
For errors specific to a field, the location could be in the format: ‘/States/<StateName>/<FieldName>`, for example: `/States/FailState/ErrorPath`.
4611 4612 4613 4614 4615 4616 4617 4618 |
# File 'lib/aws-sdk-states/types.rb', line 4611 class ValidateStateMachineDefinitionDiagnostic < Struct.new( :severity, :code, :message, :location) SENSITIVE = [] include Aws::Structure end |
#message ⇒ String
Message describing the diagnostic condition.
4611 4612 4613 4614 4615 4616 4617 4618 |
# File 'lib/aws-sdk-states/types.rb', line 4611 class ValidateStateMachineDefinitionDiagnostic < Struct.new( :severity, :code, :message, :location) SENSITIVE = [] include Aws::Structure end |
#severity ⇒ String
A value of ‘ERROR` means that you cannot create or update a state machine with this definition.
4611 4612 4613 4614 4615 4616 4617 4618 |
# File 'lib/aws-sdk-states/types.rb', line 4611 class ValidateStateMachineDefinitionDiagnostic < Struct.new( :severity, :code, :message, :location) SENSITIVE = [] include Aws::Structure end |