cancelExportTask method

Future<CancelExportTaskOutput> cancelExportTask({
  1. required String taskIdentifier,
})

Cancel the specified export task.

May throw ConflictException. May throw InternalServerException. May throw ResourceNotFoundException. May throw ThrottlingException. May throw ValidationException.

Parameter taskIdentifier : The unique identifier of the export task.

Implementation

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