aws_sdk_inspector2/client/cancel_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 [`CancelSbomExport`](crate::operation::cancel_sbom_export::builders::CancelSbomExportFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`report_id(impl Into<String>)`](crate::operation::cancel_sbom_export::builders::CancelSbomExportFluentBuilder::report_id) / [`set_report_id(Option<String>)`](crate::operation::cancel_sbom_export::builders::CancelSbomExportFluentBuilder::set_report_id):<br>required: **true**<br><p>The report ID of the SBOM export to cancel.</p><br>
7 /// - On success, responds with [`CancelSbomExportOutput`](crate::operation::cancel_sbom_export::CancelSbomExportOutput) with field(s):
8 /// - [`report_id(Option<String>)`](crate::operation::cancel_sbom_export::CancelSbomExportOutput::report_id): <p>The report ID of the canceled SBOM export.</p>
9 /// - On failure, responds with [`SdkError<CancelSbomExportError>`](crate::operation::cancel_sbom_export::CancelSbomExportError)
10 pub fn cancel_sbom_export(&self) -> crate::operation::cancel_sbom_export::builders::CancelSbomExportFluentBuilder {
11 crate::operation::cancel_sbom_export::builders::CancelSbomExportFluentBuilder::new(self.handle.clone())
12 }
13}