cancelFindingsReport method
Cancels the given findings report.
May throw AccessDeniedException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
May throw ValidationException.
Parameter reportId :
The ID of the report to be canceled.
Implementation
Future<CancelFindingsReportResponse> cancelFindingsReport({
required String reportId,
}) async {
final $payload = <String, dynamic>{
'reportId': reportId,
};
final response = await _protocol.send(
payload: $payload,
method: 'POST',
requestUri: '/reporting/cancel',
exceptionFnMap: _exceptionFns,
);
return CancelFindingsReportResponse.fromJson(response);
}