cancelVariantImportJob method

Future<void> cancelVariantImportJob({
  1. required String jobId,
})
Cancels a variant 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> cancelVariantImportJob({
  required String jobId,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'DELETE',
    requestUri: '/import/variant/${Uri.encodeComponent(jobId)}',
    exceptionFnMap: _exceptionFns,
  );
}