stopAssessment method
Stops the assessment of an on-premises environment.
May throw AccessDeniedException.
May throw InternalServerException.
May throw ThrottlingException.
May throw ValidationException.
Parameter assessmentId :
The assessmentId returned by StartAssessment.
Implementation
Future<void> stopAssessment({
required String assessmentId,
}) async {
final $payload = <String, dynamic>{
'assessmentId': assessmentId,
};
final response = await _protocol.send(
payload: $payload,
method: 'POST',
requestUri: '/stop-assessment',
exceptionFnMap: _exceptionFns,
);
}