aws_sdk_inspector2/client/get_findings_report_status.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 [`GetFindingsReportStatus`](crate::operation::get_findings_report_status::builders::GetFindingsReportStatusFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`report_id(impl Into<String>)`](crate::operation::get_findings_report_status::builders::GetFindingsReportStatusFluentBuilder::report_id) / [`set_report_id(Option<String>)`](crate::operation::get_findings_report_status::builders::GetFindingsReportStatusFluentBuilder::set_report_id):<br>required: **false**<br><p>The ID of the report to retrieve the status of.</p><br>
7 /// - On success, responds with [`GetFindingsReportStatusOutput`](crate::operation::get_findings_report_status::GetFindingsReportStatusOutput) with field(s):
8 /// - [`report_id(Option<String>)`](crate::operation::get_findings_report_status::GetFindingsReportStatusOutput::report_id): <p>The ID of the report.</p>
9 /// - [`status(Option<ExternalReportStatus>)`](crate::operation::get_findings_report_status::GetFindingsReportStatusOutput::status): <p>The status of the report.</p>
10 /// - [`error_code(Option<ReportingErrorCode>)`](crate::operation::get_findings_report_status::GetFindingsReportStatusOutput::error_code): <p>The error code of the report.</p>
11 /// - [`error_message(Option<String>)`](crate::operation::get_findings_report_status::GetFindingsReportStatusOutput::error_message): <p>The error message of the report.</p>
12 /// - [`destination(Option<Destination>)`](crate::operation::get_findings_report_status::GetFindingsReportStatusOutput::destination): <p>The destination of the report.</p>
13 /// - [`filter_criteria(Option<FilterCriteria>)`](crate::operation::get_findings_report_status::GetFindingsReportStatusOutput::filter_criteria): <p>The filter criteria associated with the report.</p>
14 /// - On failure, responds with [`SdkError<GetFindingsReportStatusError>`](crate::operation::get_findings_report_status::GetFindingsReportStatusError)
15 pub fn get_findings_report_status(&self) -> crate::operation::get_findings_report_status::builders::GetFindingsReportStatusFluentBuilder {
16 crate::operation::get_findings_report_status::builders::GetFindingsReportStatusFluentBuilder::new(self.handle.clone())
17 }
18}