validateFlowDefinition method
Future<ValidateFlowDefinitionResponse>
validateFlowDefinition({
- required FlowDefinition definition,
Validates the definition of a flow.
May throw AccessDeniedException.
May throw InternalServerException.
May throw ThrottlingException.
May throw ValidationException.
Parameter definition :
The definition of a flow to validate.
Implementation
Future<ValidateFlowDefinitionResponse> validateFlowDefinition({
required FlowDefinition definition,
}) async {
final $payload = <String, dynamic>{
'definition': definition,
};
final response = await _protocol.send(
payload: $payload,
method: 'POST',
requestUri: '/flows/validate-definition',
exceptionFnMap: _exceptionFns,
);
return ValidateFlowDefinitionResponse.fromJson(response);
}