cancelAnnotationImportJob method

Future<void> cancelAnnotationImportJob({
  1. required String jobId,
})
Cancels an annotation import job.

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

Parameter jobId : The job's ID.

Implementation

Future<void> cancelAnnotationImportJob({
  required String jobId,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'DELETE',
    requestUri: '/import/annotation/${Uri.encodeComponent(jobId)}',
    exceptionFnMap: _exceptionFns,
  );
}