Inspector2 / Client / cancel_sbom_export

cancel_sbom_export#

Inspector2.Client.cancel_sbom_export(**kwargs)#

Cancels a software bill of materials (SBOM) report.

See also: AWS API Documentation

Request Syntax

response = client.cancel_sbom_export(
    reportId='string'
)
Parameters:

reportId (string) –

[REQUIRED]

The report ID of the SBOM export to cancel.

Return type:

dict

Returns:

Response Syntax

{
    'reportId': 'string'
}

Response Structure

  • (dict) –

    • reportId (string) –

      The report ID of the canceled SBOM export.

Exceptions

  • Inspector2.Client.exceptions.ValidationException

  • Inspector2.Client.exceptions.AccessDeniedException

  • Inspector2.Client.exceptions.ThrottlingException

  • Inspector2.Client.exceptions.ResourceNotFoundException

  • Inspector2.Client.exceptions.InternalServerException