aws_sdk_inspector2/client/create_sbom_export.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`CreateSbomExport`](crate::operation::create_sbom_export::builders::CreateSbomExportFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`resource_filter_criteria(ResourceFilterCriteria)`](crate::operation::create_sbom_export::builders::CreateSbomExportFluentBuilder::resource_filter_criteria) / [`set_resource_filter_criteria(Option<ResourceFilterCriteria>)`](crate::operation::create_sbom_export::builders::CreateSbomExportFluentBuilder::set_resource_filter_criteria):<br>required: **false**<br><p>The resource filter criteria for the software bill of materials (SBOM) report.</p><br>
7 /// - [`report_format(SbomReportFormat)`](crate::operation::create_sbom_export::builders::CreateSbomExportFluentBuilder::report_format) / [`set_report_format(Option<SbomReportFormat>)`](crate::operation::create_sbom_export::builders::CreateSbomExportFluentBuilder::set_report_format):<br>required: **true**<br><p>The output format for the software bill of materials (SBOM) report.</p><br>
8 /// - [`s3_destination(Destination)`](crate::operation::create_sbom_export::builders::CreateSbomExportFluentBuilder::s3_destination) / [`set_s3_destination(Option<Destination>)`](crate::operation::create_sbom_export::builders::CreateSbomExportFluentBuilder::set_s3_destination):<br>required: **true**<br><p>Contains details of the Amazon S3 bucket and KMS key used to export findings.</p><br>
9 /// - On success, responds with [`CreateSbomExportOutput`](crate::operation::create_sbom_export::CreateSbomExportOutput) with field(s):
10 /// - [`report_id(Option<String>)`](crate::operation::create_sbom_export::CreateSbomExportOutput::report_id): <p>The report ID for the software bill of materials (SBOM) report.</p>
11 /// - On failure, responds with [`SdkError<CreateSbomExportError>`](crate::operation::create_sbom_export::CreateSbomExportError)
12 pub fn create_sbom_export(&self) -> crate::operation::create_sbom_export::builders::CreateSbomExportFluentBuilder {
13 crate::operation::create_sbom_export::builders::CreateSbomExportFluentBuilder::new(self.handle.clone())
14 }
15}