Class: Aws::States::Types::ValidateStateMachineDefinitionDiagnostic

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-states/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

Instance Attribute Details

#codeString

Identifying code for the diagnostic.

Returns:

  • (String)


4612
4613
4614
4615
4616
4617
4618
4619
# File 'gems/aws-sdk-states/lib/aws-sdk-states/types.rb', line 4612

class ValidateStateMachineDefinitionDiagnostic < Struct.new(
  :severity,
  :code,
  :message,
  :location)
  SENSITIVE = []
  include Aws::Structure
end

#locationString

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.

Returns:

  • (String)


4612
4613
4614
4615
4616
4617
4618
4619
# File 'gems/aws-sdk-states/lib/aws-sdk-states/types.rb', line 4612

class ValidateStateMachineDefinitionDiagnostic < Struct.new(
  :severity,
  :code,
  :message,
  :location)
  SENSITIVE = []
  include Aws::Structure
end

#messageString

Message describing the diagnostic condition.

Returns:

  • (String)


4612
4613
4614
4615
4616
4617
4618
4619
# File 'gems/aws-sdk-states/lib/aws-sdk-states/types.rb', line 4612

class ValidateStateMachineDefinitionDiagnostic < Struct.new(
  :severity,
  :code,
  :message,
  :location)
  SENSITIVE = []
  include Aws::Structure
end

#severityString

A value of ERROR means that you cannot create or update a state machine with this definition.

Returns:

  • (String)


4612
4613
4614
4615
4616
4617
4618
4619
# File 'gems/aws-sdk-states/lib/aws-sdk-states/types.rb', line 4612

class ValidateStateMachineDefinitionDiagnostic < Struct.new(
  :severity,
  :code,
  :message,
  :location)
  SENSITIVE = []
  include Aws::Structure
end