getSbomExport method

Future<GetSbomExportResponse> getSbomExport({
  1. required String reportId,
})

Gets details of a software bill of materials (SBOM) report.

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

Parameter reportId : The report ID of the SBOM export to get details for.

Implementation

Future<GetSbomExportResponse> getSbomExport({
  required String reportId,
}) async {
  final $payload = <String, dynamic>{
    'reportId': reportId,
  };
  final response = await _protocol.send(
    payload: $payload,
    method: 'POST',
    requestUri: '/sbomexport/get',
    exceptionFnMap: _exceptionFns,
  );
  return GetSbomExportResponse.fromJson(response);
}