@@ -65,9 +65,15 @@ public interface AmazonTextractAsync extends AmazonTextract {
6565 * </li>
6666 * <li>
6767 * <p>
68- * Queries.A QUERIES_RESULT Block object contains the answer to the query,
69- * the alias associated and an ID that connect it to the query asked. This
70- * Block also contains a location and attached confidence score.
68+ * Query. A QUERY Block object contains the query text, alias and link to
69+ * the associated Query results block object.
70+ * </p>
71+ * </li>
72+ * <li>
73+ * <p>
74+ * Query Result. A QUERY_RESULT Block object contains the answer to the
75+ * query and an ID that connects it to the query asked. This Block also
76+ * contains a confidence score.
7177 * </p>
7278 * </li>
7379 * </ul>
@@ -152,9 +158,15 @@ Future<AnalyzeDocumentResult> analyzeDocumentAsync(AnalyzeDocumentRequest analyz
152158 * </li>
153159 * <li>
154160 * <p>
155- * Queries.A QUERIES_RESULT Block object contains the answer to the query,
156- * the alias associated and an ID that connect it to the query asked. This
157- * Block also contains a location and attached confidence score.
161+ * Query. A QUERY Block object contains the query text, alias and link to
162+ * the associated Query results block object.
163+ * </p>
164+ * </li>
165+ * <li>
166+ * <p>
167+ * Query Result. A QUERY_RESULT Block object contains the answer to the
168+ * query and an ID that connects it to the query asked. This Block also
169+ * contains a confidence score.
158170 * </p>
159171 * </li>
160172 * </ul>
@@ -218,7 +230,7 @@ Future<AnalyzeDocumentResult> analyzeDocumentAsync(
218230 * </p>
219231 * <p>
220232 * Information is returned as <code>ExpenseDocuments</code> and seperated as
221- * follows.
233+ * follows:
222234 * </p>
223235 * <ul>
224236 * <li>
@@ -266,7 +278,7 @@ Future<AnalyzeExpenseResult> analyzeExpenseAsync(AnalyzeExpenseRequest analyzeEx
266278 * </p>
267279 * <p>
268280 * Information is returned as <code>ExpenseDocuments</code> and seperated as
269- * follows.
281+ * follows:
270282 * </p>
271283 * <ul>
272284 * <li>
@@ -385,7 +397,7 @@ Future<AnalyzeIDResult> analyzeIDAsync(AnalyzeIDRequest analyzeIDRequest,
385397 * <p>
386398 * Detects text in the input document. Amazon Textract can detect lines of
387399 * text and the words that make up a line of text. The input document must
388- * be an image in JPEG, PNG, PDF, or TIFF format .
400+ * be in one of the following image formats: JPEG, PNG, PDF, or TIFF.
389401 * <code>DetectDocumentText</code> returns the detected text in an array of
390402 * <a>Block</a> objects.
391403 * </p>
@@ -436,7 +448,7 @@ Future<DetectDocumentTextResult> detectDocumentTextAsync(
436448 * <p>
437449 * Detects text in the input document. Amazon Textract can detect lines of
438450 * text and the words that make up a line of text. The input document must
439- * be an image in JPEG, PNG, PDF, or TIFF format .
451+ * be in one of the following image formats: JPEG, PNG, PDF, or TIFF.
440452 * <code>DetectDocumentText</code> returns the detected text in an array of
441453 * <a>Block</a> objects.
442454 * </p>
@@ -538,12 +550,26 @@ Future<DetectDocumentTextResult> detectDocumentTextAsync(
538550 * </li>
539551 * <li>
540552 * <p>
541- * Queries. A QUERIES_RESULT Block object contains the answer to the query,
542- * the alias associated and an ID that connect it to the query asked. This
543- * Block also contains a location and attached confidence score
553+ * Query. A QUERY Block object contains the query text, alias and link to
554+ * the associated Query results block object.
555+ * </p>
556+ * </li>
557+ * <li>
558+ * <p>
559+ * Query Results. A QUERY_RESULT Block object contains the answer to the
560+ * query and an ID that connects it to the query asked. This Block also
561+ * contains a confidence score.
544562 * </p>
545563 * </li>
546564 * </ul>
565+ * <note>
566+ * <p>
567+ * While processing a document with queries, look out for
568+ * <code>INVALID_REQUEST_PARAMETERS</code> output. This indicates that
569+ * either the per page query limit has been exceeded or that the operation
570+ * is trying to query a page in the document which doesn’t exist.
571+ * </p>
572+ * </note>
547573 * <p>
548574 * Selection elements such as check boxes and option buttons (radio buttons)
549575 * can be detected in form data and in tables. A SELECTION_ELEMENT
@@ -640,12 +666,26 @@ Future<GetDocumentAnalysisResult> getDocumentAnalysisAsync(
640666 * </li>
641667 * <li>
642668 * <p>
643- * Queries. A QUERIES_RESULT Block object contains the answer to the query,
644- * the alias associated and an ID that connect it to the query asked. This
645- * Block also contains a location and attached confidence score
669+ * Query. A QUERY Block object contains the query text, alias and link to
670+ * the associated Query results block object.
671+ * </p>
672+ * </li>
673+ * <li>
674+ * <p>
675+ * Query Results. A QUERY_RESULT Block object contains the answer to the
676+ * query and an ID that connects it to the query asked. This Block also
677+ * contains a confidence score.
646678 * </p>
647679 * </li>
648680 * </ul>
681+ * <note>
682+ * <p>
683+ * While processing a document with queries, look out for
684+ * <code>INVALID_REQUEST_PARAMETERS</code> output. This indicates that
685+ * either the per page query limit has been exceeded or that the operation
686+ * is trying to query a page in the document which doesn’t exist.
687+ * </p>
688+ * </note>
649689 * <p>
650690 * Selection elements such as check boxes and option buttons (radio buttons)
651691 * can be detected in form data and in tables. A SELECTION_ELEMENT
0 commit comments