deleteBatchEvaluation method

Future<DeleteBatchEvaluationResponse> deleteBatchEvaluation({
  1. required String batchEvaluationId,
})

Deletes a batch evaluation and its associated results.

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

Parameter batchEvaluationId : The unique identifier of the batch evaluation to delete.

Implementation

Future<DeleteBatchEvaluationResponse> deleteBatchEvaluation({
  required String batchEvaluationId,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'DELETE',
    requestUri:
        '/evaluations/batch-evaluate/${Uri.encodeComponent(batchEvaluationId)}',
    exceptionFnMap: _exceptionFns,
  );
  return DeleteBatchEvaluationResponse.fromJson(response);
}