Smaws_Client_SFN.ValidateStateMachineDefinition
val request :
Smaws_Lib.Context.t ->
validate_state_machine_definition_input ->
(validate_state_machine_definition_output,
[> Smaws_Lib.Protocols.AwsJson.error
| `ValidationException of validation_exception ])
Stdlib.result
Validates the syntax of a state machine definition.
You can validate that a state machine definition is correct without creating a state machine resource. Step Functions will implicitly perform the same syntax check when you invoke CreateStateMachine
and UpdateStateMachine
. State machine definitions are specified using a JSON-based, structured language. For more information on Amazon States Language see Amazon States Language (ASL).
Suggested uses for ValidateStateMachineDefinition
:
Errors found in the state machine definition will be returned in the response as a list of diagnostic elements, rather than raise an exception.