deleteIdMappingWorkflow method

Future<DeleteIdMappingWorkflowOutput> deleteIdMappingWorkflow({
  1. required String workflowName,
})

Deletes the IdMappingWorkflow 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 deleted.

Implementation

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