ValidateStateMachineDefinitionDiagnostic
¶
Source code in docs_src/capo_sfn/types/validate_state_machine_definition_diagnostic.py
code
instance-attribute
¶
Identifying code for the diagnostic.
location
instance-attribute
¶
location: NotRequired[ValidateStateMachineDefinitionLocation]
Location of the issue in the state machine, if available.
For errors specific to a field, the location could be in the format: /States/, for example: /States/FailState/ErrorPath.
message
instance-attribute
¶
Message describing the diagnostic condition.
severity
instance-attribute
¶
severity: ValidateStateMachineDefinitionSeverity
A value of ERROR means that you cannot create or update a state machine with this definition.
WARNING level diagnostics alert you to potential issues, but they will not prevent you from creating or updating your state machine.