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