Skip to content

Commit e1ff6b5

Browse files
authored
feat(aws-android-sdk-textract): update models to latest (#3057)
1 parent 755ebb0 commit e1ff6b5

25 files changed

+1807
-152
lines changed

aws-android-sdk-textract/src/main/java/com/amazonaws/services/textract/AmazonTextract.java

Lines changed: 28 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -121,9 +121,15 @@ public interface AmazonTextract {
121121
* </li>
122122
* <li>
123123
* <p>
124-
* Queries.A QUERIES_RESULT Block object contains the answer to the query,
125-
* the alias associated and an ID that connect it to the query asked. This
126-
* Block also contains a location and attached confidence score.
124+
* Query. A QUERY Block object contains the query text, alias and link to
125+
* the associated Query results block object.
126+
* </p>
127+
* </li>
128+
* <li>
129+
* <p>
130+
* Query Result. A QUERY_RESULT Block object contains the answer to the
131+
* query and an ID that connects it to the query asked. This Block also
132+
* contains a confidence score.
127133
* </p>
128134
* </li>
129135
* </ul>
@@ -181,7 +187,7 @@ AnalyzeDocumentResult analyzeDocument(AnalyzeDocumentRequest analyzeDocumentRequ
181187
* </p>
182188
* <p>
183189
* Information is returned as <code>ExpenseDocuments</code> and seperated as
184-
* follows.
190+
* follows:
185191
* </p>
186192
* <ul>
187193
* <li>
@@ -258,7 +264,7 @@ AnalyzeIDResult analyzeID(AnalyzeIDRequest analyzeIDRequest) throws AmazonClient
258264
* <p>
259265
* Detects text in the input document. Amazon Textract can detect lines of
260266
* text and the words that make up a line of text. The input document must
261-
* be an image in JPEG, PNG, PDF, or TIFF format.
267+
* be in one of the following image formats: JPEG, PNG, PDF, or TIFF.
262268
* <code>DetectDocumentText</code> returns the detected text in an array of
263269
* <a>Block</a> objects.
264270
* </p>
@@ -353,12 +359,26 @@ DetectDocumentTextResult detectDocumentText(DetectDocumentTextRequest detectDocu
353359
* </li>
354360
* <li>
355361
* <p>
356-
* Queries. A QUERIES_RESULT Block object contains the answer to the query,
357-
* the alias associated and an ID that connect it to the query asked. This
358-
* Block also contains a location and attached confidence score
362+
* Query. A QUERY Block object contains the query text, alias and link to
363+
* the associated Query results block object.
364+
* </p>
365+
* </li>
366+
* <li>
367+
* <p>
368+
* Query Results. A QUERY_RESULT Block object contains the answer to the
369+
* query and an ID that connects it to the query asked. This Block also
370+
* contains a confidence score.
359371
* </p>
360372
* </li>
361373
* </ul>
374+
* <note>
375+
* <p>
376+
* While processing a document with queries, look out for
377+
* <code>INVALID_REQUEST_PARAMETERS</code> output. This indicates that
378+
* either the per page query limit has been exceeded or that the operation
379+
* is trying to query a page in the document which doesn’t exist.
380+
* </p>
381+
* </note>
362382
* <p>
363383
* Selection elements such as check boxes and option buttons (radio buttons)
364384
* can be detected in form data and in tables. A SELECTION_ELEMENT

aws-android-sdk-textract/src/main/java/com/amazonaws/services/textract/AmazonTextractAsync.java

Lines changed: 56 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -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

aws-android-sdk-textract/src/main/java/com/amazonaws/services/textract/AmazonTextractAsyncClient.java

Lines changed: 56 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -291,9 +291,15 @@ public void shutdown() {
291291
* </li>
292292
* <li>
293293
* <p>
294-
* Queries.A QUERIES_RESULT Block object contains the answer to the query,
295-
* the alias associated and an ID that connect it to the query asked. This
296-
* Block also contains a location and attached confidence score.
294+
* Query. A QUERY Block object contains the query text, alias and link to
295+
* the associated Query results block object.
296+
* </p>
297+
* </li>
298+
* <li>
299+
* <p>
300+
* Query Result. A QUERY_RESULT Block object contains the answer to the
301+
* query and an ID that connects it to the query asked. This Block also
302+
* contains a confidence score.
297303
* </p>
298304
* </li>
299305
* </ul>
@@ -385,9 +391,15 @@ public AnalyzeDocumentResult call() throws Exception {
385391
* </li>
386392
* <li>
387393
* <p>
388-
* Queries.A QUERIES_RESULT Block object contains the answer to the query,
389-
* the alias associated and an ID that connect it to the query asked. This
390-
* Block also contains a location and attached confidence score.
394+
* Query. A QUERY Block object contains the query text, alias and link to
395+
* the associated Query results block object.
396+
* </p>
397+
* </li>
398+
* <li>
399+
* <p>
400+
* Query Result. A QUERY_RESULT Block object contains the answer to the
401+
* query and an ID that connects it to the query asked. This Block also
402+
* contains a confidence score.
391403
* </p>
392404
* </li>
393405
* </ul>
@@ -461,7 +473,7 @@ public AnalyzeDocumentResult call() throws Exception {
461473
* </p>
462474
* <p>
463475
* Information is returned as <code>ExpenseDocuments</code> and seperated as
464-
* follows.
476+
* follows:
465477
* </p>
466478
* <ul>
467479
* <li>
@@ -516,7 +528,7 @@ public AnalyzeExpenseResult call() throws Exception {
516528
* </p>
517529
* <p>
518530
* Information is returned as <code>ExpenseDocuments</code> and seperated as
519-
* follows.
531+
* follows:
520532
* </p>
521533
* <ul>
522534
* <li>
@@ -662,7 +674,7 @@ public AnalyzeIDResult call() throws Exception {
662674
* <p>
663675
* Detects text in the input document. Amazon Textract can detect lines of
664676
* text and the words that make up a line of text. The input document must
665-
* be an image in JPEG, PNG, PDF, or TIFF format.
677+
* be in one of the following image formats: JPEG, PNG, PDF, or TIFF.
666678
* <code>DetectDocumentText</code> returns the detected text in an array of
667679
* <a>Block</a> objects.
668680
* </p>
@@ -719,7 +731,7 @@ public DetectDocumentTextResult call() throws Exception {
719731
* <p>
720732
* Detects text in the input document. Amazon Textract can detect lines of
721733
* text and the words that make up a line of text. The input document must
722-
* be an image in JPEG, PNG, PDF, or TIFF format.
734+
* be in one of the following image formats: JPEG, PNG, PDF, or TIFF.
723735
* <code>DetectDocumentText</code> returns the detected text in an array of
724736
* <a>Block</a> objects.
725737
* </p>
@@ -831,12 +843,26 @@ public DetectDocumentTextResult call() throws Exception {
831843
* </li>
832844
* <li>
833845
* <p>
834-
* Queries. A QUERIES_RESULT Block object contains the answer to the query,
835-
* the alias associated and an ID that connect it to the query asked. This
836-
* Block also contains a location and attached confidence score
846+
* Query. A QUERY Block object contains the query text, alias and link to
847+
* the associated Query results block object.
848+
* </p>
849+
* </li>
850+
* <li>
851+
* <p>
852+
* Query Results. A QUERY_RESULT Block object contains the answer to the
853+
* query and an ID that connects it to the query asked. This Block also
854+
* contains a confidence score.
837855
* </p>
838856
* </li>
839857
* </ul>
858+
* <note>
859+
* <p>
860+
* While processing a document with queries, look out for
861+
* <code>INVALID_REQUEST_PARAMETERS</code> output. This indicates that
862+
* either the per page query limit has been exceeded or that the operation
863+
* is trying to query a page in the document which doesn’t exist.
864+
* </p>
865+
* </note>
840866
* <p>
841867
* Selection elements such as check boxes and option buttons (radio buttons)
842868
* can be detected in form data and in tables. A SELECTION_ELEMENT
@@ -939,12 +965,26 @@ public GetDocumentAnalysisResult call() throws Exception {
939965
* </li>
940966
* <li>
941967
* <p>
942-
* Queries. A QUERIES_RESULT Block object contains the answer to the query,
943-
* the alias associated and an ID that connect it to the query asked. This
944-
* Block also contains a location and attached confidence score
968+
* Query. A QUERY Block object contains the query text, alias and link to
969+
* the associated Query results block object.
970+
* </p>
971+
* </li>
972+
* <li>
973+
* <p>
974+
* Query Results. A QUERY_RESULT Block object contains the answer to the
975+
* query and an ID that connects it to the query asked. This Block also
976+
* contains a confidence score.
945977
* </p>
946978
* </li>
947979
* </ul>
980+
* <note>
981+
* <p>
982+
* While processing a document with queries, look out for
983+
* <code>INVALID_REQUEST_PARAMETERS</code> output. This indicates that
984+
* either the per page query limit has been exceeded or that the operation
985+
* is trying to query a page in the document which doesn’t exist.
986+
* </p>
987+
* </note>
948988
* <p>
949989
* Selection elements such as check boxes and option buttons (radio buttons)
950990
* can be detected in form data and in tables. A SELECTION_ELEMENT

0 commit comments

Comments
 (0)