deleteMatchingWorkflow method

Future<DeleteMatchingWorkflowOutput> deleteMatchingWorkflow({
  1. required String workflowName,
})

Deletes the MatchingWorkflow with a given name. This operation will succeed even if a workflow with the given name does not exist.

May throw AccessDeniedException. May throw ConflictException. May throw InternalServerException. May throw ThrottlingException. May throw ValidationException.

Parameter workflowName : The name of the workflow to be retrieved.

Implementation

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