Values.StartDocumentTextDetectionResponseSourceStarts the asynchronous detection of text in a document. Amazon Textract can detect lines of text and the words that make up a line of text. StartDocumentTextDetection 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. StartDocumentTextDetection returns a job identifier (JobId) that you use to get the results of the operation. When text detection 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 detection operation, first check that the status value published to the Amazon SNS topic is SUCCEEDED. If so, call GetDocumentTextDetection, and pass the job identifier (JobId) from the initial call to StartDocumentTextDetection. For more information, see Document Text Detection.
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 ]