Values.StartDocumentAnalysisResponseSourceStarts the asynchronous analysis of an input document for relationships between detected items such as key-value pairs, tables, and selection elements. StartDocumentAnalysis can analyze text in documents that are in JPEG, PNG, TIFF, and PDF format. The documents are stored in an Amazon S3 bucket. Use DocumentLocation to specify the bucket name and file name of the document. StartDocumentAnalysis returns a job identifier (JobId) that you use to get the results of the operation. When text analysis is finished, Amazon Textract publishes a completion status to the Amazon Simple Notification Service (Amazon SNS) topic that you specify in NotificationChannel. 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 GetDocumentAnalysis, and pass the job identifier (JobId) from the initial call to StartDocumentAnalysis. For more information, see Document Text Analysis.
type nonrec error = [ | `AccessDeniedException of AccessDeniedException.t| `BadDocumentException of BadDocumentException.t| `DocumentTooLargeException of DocumentTooLargeException.t| `IdempotentParameterMismatchException of IdempotentParameterMismatchException.t| `InternalServerError of InternalServerError.t| `InvalidKMSKeyException of InvalidKMSKeyException.t| `InvalidParameterException of InvalidParameterException.t| `InvalidS3ObjectException of InvalidS3ObjectException.t| `LimitExceededException of LimitExceededException.t| `ProvisionedThroughputExceededException of
ProvisionedThroughputExceededException.t| `ThrottlingException of ThrottlingException.t| `UnsupportedDocumentException of UnsupportedDocumentException.t| `Unknown_operation_error of string * string option ]val error_of_json :
string ->
Yojson.Safe.t ->
[> `AccessDeniedException of unit
| `BadDocumentException of unit
| `DocumentTooLargeException of unit
| `IdempotentParameterMismatchException of unit
| `InternalServerError of unit
| `InvalidKMSKeyException of unit
| `InvalidParameterException of unit
| `InvalidS3ObjectException of unit
| `LimitExceededException of unit
| `ProvisionedThroughputExceededException of unit
| `ThrottlingException of unit
| `Unknown_operation_error of string * string option
| `UnsupportedDocumentException of unit ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `AccessDeniedException of unit
| `BadDocumentException of unit
| `DocumentTooLargeException of unit
| `IdempotentParameterMismatchException of unit
| `InternalServerError of unit
| `InvalidKMSKeyException of unit
| `InvalidParameterException of unit
| `InvalidS3ObjectException of unit
| `LimitExceededException of unit
| `ProvisionedThroughputExceededException of unit
| `ThrottlingException of unit
| `Unknown_operation_error of string * string option
| `UnsupportedDocumentException of unit ]