getFindingsReportStatus method

Future<GetFindingsReportStatusResponse> getFindingsReportStatus({
  1. String? reportId,
})

Gets the status of a 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 retrieve the status of.

Implementation

Future<GetFindingsReportStatusResponse> getFindingsReportStatus({
  String? reportId,
}) async {
  final $payload = <String, dynamic>{
    if (reportId != null) 'reportId': reportId,
  };
  final response = await _protocol.send(
    payload: $payload,
    method: 'POST',
    requestUri: '/reporting/status/get',
    exceptionFnMap: _exceptionFns,
  );
  return GetFindingsReportStatusResponse.fromJson(response);
}