Skip to main content

lending_analysis_summaries

Creates, updates, deletes, gets or lists a lending_analysis_summaries resource.

Overview

Namelending_analysis_summaries
TypeResource
Idaws.textract.lending_analysis_summaries

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
analyze_lending_model_versionstringThe current model version of the Analyze Lending API.
document_metadataobjectInformation about the input document.
job_statusstringThe current status of the lending analysis job. (IN_PROGRESS, SUCCEEDED, FAILED, PARTIAL_SUCCESS)
status_messagestringReturns if the lending analysis could not be completed. Contains explanation for what error occurred.
summaryobjectContains summary information for documents grouped by type.
warningsarrayA list of warnings that occurred during the lending analysis operation.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_lending_analysis_summaryselectregionGets summarized results for the StartLendingAnalysis operation, which analyzes text in a lending document. The returned summary consists of information about documents grouped together by a common document type. Information like detected signatures, page numbers, and split documents is returned with respect to the type of grouped document. You start asynchronous text analysis by calling StartLendingAnalysis, which returns a job identifier (JobId). When the text analysis operation finishes, Amazon Textract publishes a completion status to the Amazon Simple Notification Service (Amazon SNS) topic that's registered in the initial call to StartLendingAnalysis. To get the results of the text analysis operation, first check that the status value published to the Amazon SNS topic is SUCCEEDED. If so, call GetLendingAnalysisSummary, and pass the job identifier (JobId) from the initial call to StartLendingAnalysis.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

Gets summarized results for the StartLendingAnalysis operation, which analyzes text in a lending document. The returned summary consists of information about documents grouped together by a common document type. Information like detected signatures, page numbers, and split documents is returned with respect to the type of grouped document. You start asynchronous text analysis by calling StartLendingAnalysis, which returns a job identifier (JobId). When the text analysis operation finishes, Amazon Textract publishes a completion status to the Amazon Simple Notification Service (Amazon SNS) topic that's registered in the initial call to StartLendingAnalysis. To get the results of the text analysis operation, first check that the status value published to the Amazon SNS topic is SUCCEEDED. If so, call GetLendingAnalysisSummary, and pass the job identifier (JobId) from the initial call to StartLendingAnalysis.

SELECT
analyze_lending_model_version,
document_metadata,
job_status,
status_message,
summary,
warnings
FROM aws.textract.lending_analysis_summaries
WHERE region = '{{ region }}' -- required
;