getMatchingWorkflow method

Future<GetMatchingWorkflowOutput> getMatchingWorkflow({
  1. required String workflowName,
})

Returns the MatchingWorkflow with a given name, if it exists.

May throw AccessDeniedException. May throw InternalServerException. May throw ResourceNotFoundException. May throw ThrottlingException. May throw ValidationException.

Parameter workflowName : The name of the workflow.

Implementation

Future<GetMatchingWorkflowOutput> getMatchingWorkflow({
  required String workflowName,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri: '/matchingworkflows/${Uri.encodeComponent(workflowName)}',
    exceptionFnMap: _exceptionFns,
  );
  return GetMatchingWorkflowOutput.fromJson(response);
}