Module Smaws_Client_Textract.GetLendingAnalysisSummary

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.

val error_to_string : [ Smaws_Lib.Protocols.AwsJson.error | `AccessDeniedException of Types.access_denied_exception | `InternalServerError of Types.internal_server_error | `InvalidJobIdException of Types.invalid_job_id_exception | `InvalidKMSKeyException of Types.invalid_kms_key_exception | `InvalidParameterException of Types.invalid_parameter_exception | `InvalidS3ObjectException of Types.invalid_s3_object_exception | `ProvisionedThroughputExceededException of Types.provisioned_throughput_exceeded_exception | `ThrottlingException of Types.throttling_exception ] -> string
val request : 'http_type Smaws_Lib.Context.t -> Types.get_lending_analysis_summary_request -> (Types.get_lending_analysis_summary_response, [> Smaws_Lib.Protocols.AwsJson.error | `AccessDeniedException of Types.access_denied_exception | `InternalServerError of Types.internal_server_error | `InvalidJobIdException of Types.invalid_job_id_exception | `InvalidKMSKeyException of Types.invalid_kms_key_exception | `InvalidParameterException of Types.invalid_parameter_exception | `InvalidS3ObjectException of Types.invalid_s3_object_exception | `ProvisionedThroughputExceededException of Types.provisioned_throughput_exceeded_exception | `ThrottlingException of Types.throttling_exception ]) Stdlib.result
val request_with_metadata : 'http_type Smaws_Lib.Context.t -> Types.get_lending_analysis_summary_request -> (Types.get_lending_analysis_summary_response Smaws_Lib.Response.t, [> Smaws_Lib.Protocols.AwsJson.error | `AccessDeniedException of Types.access_denied_exception | `InternalServerError of Types.internal_server_error | `InvalidJobIdException of Types.invalid_job_id_exception | `InvalidKMSKeyException of Types.invalid_kms_key_exception | `InvalidParameterException of Types.invalid_parameter_exception | `InvalidS3ObjectException of Types.invalid_s3_object_exception | `ProvisionedThroughputExceededException of Types.provisioned_throughput_exceeded_exception | `ThrottlingException of Types.throttling_exception ] * Smaws_Lib.Response.metadata) Stdlib.result