Values.GetLendingAnalysisSummaryResponseSourceGets 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.
type nonrec t = {documentMetadata : DocumentMetadata.t option;jobStatus : JobStatus.t option;The current status of the lending analysis job.
*)summary : LendingSummary.t option;Contains summary information for documents grouped by type.
*)warnings : Warnings.t option;A list of warnings that occurred during the lending analysis operation.
*)statusMessage : StatusMessage.t option;Returns if the lending analysis could not be completed. Contains explanation for what error occurred.
*)analyzeLendingModelVersion : String_.t option;The current model version of the Analyze Lending API.
*)}type nonrec error = [ | `AccessDeniedException of AccessDeniedException.t| `InternalServerError of InternalServerError.t| `InvalidJobIdException of InvalidJobIdException.t| `InvalidKMSKeyException of InvalidKMSKeyException.t| `InvalidParameterException of InvalidParameterException.t| `InvalidS3ObjectException of InvalidS3ObjectException.t| `ProvisionedThroughputExceededException of
ProvisionedThroughputExceededException.t| `ThrottlingException of ThrottlingException.t| `Unknown_operation_error of string * string option ]val error_of_json :
string ->
Yojson.Safe.t ->
[> `AccessDeniedException of unit
| `InternalServerError of unit
| `InvalidJobIdException of unit
| `InvalidKMSKeyException of unit
| `InvalidParameterException of unit
| `InvalidS3ObjectException of unit
| `ProvisionedThroughputExceededException of unit
| `ThrottlingException of unit
| `Unknown_operation_error of string * string option ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `AccessDeniedException of unit
| `InternalServerError of unit
| `InvalidJobIdException of unit
| `InvalidKMSKeyException of unit
| `InvalidParameterException of unit
| `InvalidS3ObjectException of unit
| `ProvisionedThroughputExceededException of unit
| `ThrottlingException of unit
| `Unknown_operation_error of string * string option ]val to_value :
t ->
[> `Structure of
(string
* [> `Enum of string
| `List of
[> `Structure of
(string
* [> `List of [> `Integer of UInteger.t ] list
| `String of ErrorCode.t ])
list ]
list
| `String of StatusMessage.t
| `Structure of
(string
* [> `Integer of UInteger.t
| `List of
[> `String of NonEmptyString.t
| `Structure of
(string
* [> `List of
[> `Structure of
(string
* [> `Integer of UInteger.t
| `List of [> `Integer of UInteger.t ] list ])
list ]
list
| `String of NonEmptyString.t ])
list ]
list ])
list ])
list ]