AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Describes potential issues found during state machine validation. Rather than raise
an exception, validation will return a list of diagnostic elements containing
diagnostic information.
The ValidateStateMachineDefinitionlAPI
might add new diagnostics in the future, adjust diagnostic codes, or change the message
wording. Your automated processes should only rely on the value of the result
field value (OK, FAIL). Do not rely on the exact order, count, or wording of
diagnostic messages.
List of warning codes
No .$
on a field that appears to be a JSONPath or Intrinsic Function.
Field value looks like a path, but field name does not end with 'Path'.
Attempt to use a path in the result of a pass state.
List of error codes
JSON syntax problem found.
Received a null or empty workflow input.
Schema validation reported errors.
The value of a Task-state resource field is invalid.
The workflow does not have a terminal state.
The same state name appears more than once.
The state name does not follow the naming convention.
The state machine name has not been specified.
The state machine name does not follow the naming convention.
The state name exceeds the allowed length.
The state name already exists.
A label name appears more than once.
You have provided an invalid label name.
The value of "Next" field doesn't match a known state name.
The states are too deeply nested.
Namespace: Amazon.StepFunctions.Model
Assembly: AWSSDK.StepFunctions.dll
Version: 3.x.y.z
public class ValidateStateMachineDefinitionDiagnostic
The ValidateStateMachineDefinitionDiagnostic type exposes the following members
Name | Description | |
---|---|---|
![]() |
ValidateStateMachineDefinitionDiagnostic() |
Name | Type | Description | |
---|---|---|---|
![]() |
Code | System.String |
Gets and sets the property Code. Identifying code for the diagnostic. |
![]() |
Location | System.String |
Gets and sets the property Location. Location of the issue in the state machine, if available.
For errors specific to a field, the location could be in the format: |
![]() |
Message | System.String |
Gets and sets the property Message. Message describing the diagnostic condition. |
![]() |
Severity | Amazon.StepFunctions.ValidateStateMachineDefinitionSeverity |
Gets and sets the property Severity.
A value of
|
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer, 3.5