create_sbom_export
async
¶
create_sbom_export(
report_format: SbomReportFormat,
s3_destination: Destination,
*,
config_overrides: Optional[AsyncInspector2ClientConfig] = None,
resource_filter_criteria: Optional[ResourceFilterCriteria] = None,
) -> CreateSbomExportResponse
Creates a software bill of materials (SBOM) report.
Parameters:
-
resource_filter_criteria(Optional[ResourceFilterCriteria], default:None) –The resource filter criteria for the software bill of materials (SBOM) report.
-
report_format(SbomReportFormat) –The output format for the software bill of materials (SBOM) report.
-
s3_destination(Destination) –Contains details of the Amazon S3 bucket and KMS key used to export findings.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
For
Enable, you receive this error if you attempt to use a feature in an unsupported Amazon Web Services Region. -
InternalServerException–The request has failed due to an internal failure of the Amazon Inspector service.
-
ResourceNotFoundException–The operation tried to access an invalid resource. Make sure the resource is specified correctly.
-
ThrottlingException–The limit on the number of requests per second was exceeded.
-
ValidationException–The request has failed validation due to missing required fields or having invalid inputs.
-
UnknownServiceError–The service returned an error code this client does not model.