cancelSbomExport method

Future<CancelSbomExportResponse> cancelSbomExport({
  1. required String reportId,
})

Cancels 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 cancel.

Implementation

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