ValidateStateMachineDefinitionDiagnostic
Describes an error found during validation. Validation errors found in the definition return in the response as diagnostic elements, rather than raise an exception.
Contents
- code
-
Identifying code for the diagnostic.
Type: String
Required: Yes
- message
-
Message describing the diagnostic condition.
Type: String
Required: Yes
- severity
-
A value of
ERROR
means that you cannot create or update a state machine with this definition.Type: String
Valid Values:
ERROR
Required: Yes
- location
-
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
.Type: String
Required: No
See Also
For more information about using this API in one of the language-specific Amazon SDKs, see the following: