deleteJob method

Future<void> deleteJob({
  1. required String jobID,
})

Deletes a single Job by ID.

May throw ConflictException. May throw InternalServerException. May throw ResourceNotFoundException. May throw ThrottlingException. May throw UninitializedAccountException.

Parameter jobID : The ID of the Job to be deleted.

Implementation

Future<void> deleteJob({
  required String jobID,
}) async {
  final $payload = <String, dynamic>{
    'jobID': jobID,
  };
  final response = await _protocol.send(
    payload: $payload,
    method: 'POST',
    requestUri: '/DeleteJob',
    exceptionFnMap: _exceptionFns,
  );
}