Module Smaws_Client_Textract.AnalyzeExpense

AnalyzeExpense synchronously analyzes an input document for financially related relationships between text.

Information is returned as ExpenseDocuments and seperated as follows:

val error_to_string : [ Smaws_Lib.Protocols.AwsJson.error | `AccessDeniedException of Types.access_denied_exception | `BadDocumentException of Types.bad_document_exception | `DocumentTooLargeException of Types.document_too_large_exception | `InternalServerError of Types.internal_server_error | `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 | `UnsupportedDocumentException of Types.unsupported_document_exception ] -> string
val request : 'http_type Smaws_Lib.Context.t -> Types.analyze_expense_request -> (Types.analyze_expense_response, [> Smaws_Lib.Protocols.AwsJson.error | `AccessDeniedException of Types.access_denied_exception | `BadDocumentException of Types.bad_document_exception | `DocumentTooLargeException of Types.document_too_large_exception | `InternalServerError of Types.internal_server_error | `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 | `UnsupportedDocumentException of Types.unsupported_document_exception ]) Stdlib.result
val request_with_metadata : 'http_type Smaws_Lib.Context.t -> Types.analyze_expense_request -> (Types.analyze_expense_response Smaws_Lib.Response.t, [> Smaws_Lib.Protocols.AwsJson.error | `AccessDeniedException of Types.access_denied_exception | `BadDocumentException of Types.bad_document_exception | `DocumentTooLargeException of Types.document_too_large_exception | `InternalServerError of Types.internal_server_error | `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 | `UnsupportedDocumentException of Types.unsupported_document_exception ] * Smaws_Lib.Response.metadata) Stdlib.result