1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetLendingAnalysisSummary`](crate::operation::get_lending_analysis_summary::builders::GetLendingAnalysisSummaryFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`job_id(impl Into<String>)`](crate::operation::get_lending_analysis_summary::builders::GetLendingAnalysisSummaryFluentBuilder::job_id) / [`set_job_id(Option<String>)`](crate::operation::get_lending_analysis_summary::builders::GetLendingAnalysisSummaryFluentBuilder::set_job_id):<br>required: **true**<br><p> A unique identifier for the lending or text-detection job. The <code>JobId</code> is returned from StartLendingAnalysis. A <code>JobId</code> value is only valid for 7 days.</p><br>
    /// - On success, responds with [`GetLendingAnalysisSummaryOutput`](crate::operation::get_lending_analysis_summary::GetLendingAnalysisSummaryOutput) with field(s):
    ///   - [`document_metadata(Option<DocumentMetadata>)`](crate::operation::get_lending_analysis_summary::GetLendingAnalysisSummaryOutput::document_metadata): <p>Information about the input document.</p>
    ///   - [`job_status(Option<JobStatus>)`](crate::operation::get_lending_analysis_summary::GetLendingAnalysisSummaryOutput::job_status): <p> The current status of the lending analysis job. </p>
    ///   - [`summary(Option<LendingSummary>)`](crate::operation::get_lending_analysis_summary::GetLendingAnalysisSummaryOutput::summary): <p> Contains summary information for documents grouped by type.</p>
    ///   - [`warnings(Option<Vec::<Warning>>)`](crate::operation::get_lending_analysis_summary::GetLendingAnalysisSummaryOutput::warnings): <p>A list of warnings that occurred during the lending analysis operation.</p>
    ///   - [`status_message(Option<String>)`](crate::operation::get_lending_analysis_summary::GetLendingAnalysisSummaryOutput::status_message): <p>Returns if the lending analysis could not be completed. Contains explanation for what error occurred.</p>
    ///   - [`analyze_lending_model_version(Option<String>)`](crate::operation::get_lending_analysis_summary::GetLendingAnalysisSummaryOutput::analyze_lending_model_version): <p>The current model version of the Analyze Lending API.</p>
    /// - On failure, responds with [`SdkError<GetLendingAnalysisSummaryError>`](crate::operation::get_lending_analysis_summary::GetLendingAnalysisSummaryError)
    pub fn get_lending_analysis_summary(&self) -> crate::operation::get_lending_analysis_summary::builders::GetLendingAnalysisSummaryFluentBuilder {
        crate::operation::get_lending_analysis_summary::builders::GetLendingAnalysisSummaryFluentBuilder::new(self.handle.clone())
    }
}