deleteAssessment method

Future<void> deleteAssessment({
  1. required String assessmentId,
})

Deletes an assessment in Audit Manager.

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

Parameter assessmentId : The identifier for the assessment.

Implementation

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