deleteBatchPredictionJob method

Future<void> deleteBatchPredictionJob({
  1. required String jobId,
})

Deletes a batch prediction job.

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

Parameter jobId : The ID of the batch prediction job to delete.

Implementation

Future<void> deleteBatchPredictionJob({
  required String jobId,
}) async {
  final headers = <String, String>{
    'Content-Type': 'application/x-amz-json-1.1',
    'X-Amz-Target': 'AWSHawksNestServiceFacade.DeleteBatchPredictionJob'
  };
  await _protocol.send(
    method: 'POST',
    requestUri: '/',
    exceptionFnMap: _exceptionFns,
    // TODO queryParams
    headers: headers,
    payload: {
      'jobId': jobId,
    },
  );
}