Validates the syntax of a state machine definition specified in Amazon States Language (ASL), a JSON-based, structured language.
See https://www.paws-r-sdk.com/docs/sfn_validate_state_machine_definition/ for full documentation.
sfn_validate_state_machine_definition(
definition,
type = NULL,
severity = NULL,
maxResults = NULL
)
[required] The Amazon States Language definition of the state machine. For more information, see Amazon States Language (ASL).
The target type of state machine for this definition. The default is
STANDARD
.
Minimum level of diagnostics to return. ERROR
returns only ERROR
diagnostics, whereas WARNING
returns both WARNING
and ERROR
diagnostics. The default is ERROR
.
The maximum number of diagnostics that are returned per call. The default and maximum value is 100. Setting the value to 0 will also use the default of 100.
If the number of diagnostics returned in the response exceeds
maxResults
, the value of the truncated
field in the response will be
set to true
.