@aws-sdk/client-textract 3.296.0 → 3.298.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (51) hide show
  1. package/dist-cjs/commands/AnalyzeDocumentCommand.js +2 -3
  2. package/dist-cjs/commands/AnalyzeExpenseCommand.js +2 -3
  3. package/dist-cjs/commands/AnalyzeIDCommand.js +2 -3
  4. package/dist-cjs/commands/DetectDocumentTextCommand.js +2 -3
  5. package/dist-cjs/commands/GetDocumentAnalysisCommand.js +2 -3
  6. package/dist-cjs/commands/GetDocumentTextDetectionCommand.js +2 -3
  7. package/dist-cjs/commands/GetExpenseAnalysisCommand.js +2 -3
  8. package/dist-cjs/commands/GetLendingAnalysisCommand.js +2 -3
  9. package/dist-cjs/commands/GetLendingAnalysisSummaryCommand.js +2 -3
  10. package/dist-cjs/commands/StartDocumentAnalysisCommand.js +2 -3
  11. package/dist-cjs/commands/StartDocumentTextDetectionCommand.js +2 -3
  12. package/dist-cjs/commands/StartExpenseAnalysisCommand.js +2 -3
  13. package/dist-cjs/commands/StartLendingAnalysisCommand.js +2 -3
  14. package/dist-cjs/endpoint/ruleset.js +3 -3
  15. package/dist-cjs/models/models_0.js +12 -274
  16. package/dist-es/commands/AnalyzeDocumentCommand.js +2 -3
  17. package/dist-es/commands/AnalyzeExpenseCommand.js +2 -3
  18. package/dist-es/commands/AnalyzeIDCommand.js +2 -3
  19. package/dist-es/commands/DetectDocumentTextCommand.js +2 -3
  20. package/dist-es/commands/GetDocumentAnalysisCommand.js +2 -3
  21. package/dist-es/commands/GetDocumentTextDetectionCommand.js +2 -3
  22. package/dist-es/commands/GetExpenseAnalysisCommand.js +2 -3
  23. package/dist-es/commands/GetLendingAnalysisCommand.js +2 -3
  24. package/dist-es/commands/GetLendingAnalysisSummaryCommand.js +2 -3
  25. package/dist-es/commands/StartDocumentAnalysisCommand.js +2 -3
  26. package/dist-es/commands/StartDocumentTextDetectionCommand.js +2 -3
  27. package/dist-es/commands/StartExpenseAnalysisCommand.js +2 -3
  28. package/dist-es/commands/StartLendingAnalysisCommand.js +2 -3
  29. package/dist-es/endpoint/ruleset.js +3 -3
  30. package/dist-es/models/models_0.js +11 -204
  31. package/dist-types/Textract.d.ts +17 -13
  32. package/dist-types/TextractClient.d.ts +24 -4
  33. package/dist-types/commands/AnalyzeDocumentCommand.d.ts +16 -2
  34. package/dist-types/commands/AnalyzeExpenseCommand.d.ts +16 -0
  35. package/dist-types/commands/AnalyzeIDCommand.d.ts +17 -1
  36. package/dist-types/commands/DetectDocumentTextCommand.d.ts +16 -1
  37. package/dist-types/commands/GetDocumentAnalysisCommand.d.ts +16 -4
  38. package/dist-types/commands/GetDocumentTextDetectionCommand.d.ts +16 -1
  39. package/dist-types/commands/GetExpenseAnalysisCommand.d.ts +16 -0
  40. package/dist-types/commands/GetLendingAnalysisCommand.d.ts +18 -2
  41. package/dist-types/commands/GetLendingAnalysisSummaryCommand.d.ts +16 -0
  42. package/dist-types/commands/StartDocumentAnalysisCommand.d.ts +16 -1
  43. package/dist-types/commands/StartDocumentTextDetectionCommand.d.ts +16 -0
  44. package/dist-types/commands/StartExpenseAnalysisCommand.d.ts +16 -1
  45. package/dist-types/commands/StartLendingAnalysisCommand.d.ts +16 -0
  46. package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
  47. package/dist-types/models/TextractServiceException.d.ts +2 -0
  48. package/dist-types/models/models_0.d.ts +275 -300
  49. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
  50. package/dist-types/ts3.4/models/models_0.d.ts +11 -174
  51. package/package.json +4 -3
@@ -1,6 +1,7 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType, LazyJsonString as __LazyJsonString } from "@aws-sdk/smithy-client";
2
2
  import { TextractServiceException as __BaseException } from "./TextractServiceException";
3
3
  /**
4
+ * @public
4
5
  * <p>You aren't authorized to perform the action. Use the Amazon Resource Name (ARN)
5
6
  * of an authorized user or IAM role to perform the operation.</p>
6
7
  */
@@ -15,10 +16,10 @@ export declare class AccessDeniedException extends __BaseException {
15
16
  constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
16
17
  }
17
18
  /**
19
+ * @public
18
20
  * <p>The S3 bucket name and file name that identifies the document.</p>
19
21
  * <p>The AWS Region for the S3 bucket that contains the document must match the Region that
20
22
  * you use for Amazon Textract operations.</p>
21
- *
22
23
  * <p>For Amazon Textract to process a file in an S3 bucket, the user must have
23
24
  * permission to access the S3 bucket and file.
24
25
  *
@@ -41,6 +42,7 @@ export interface S3Object {
41
42
  Version?: string;
42
43
  }
43
44
  /**
45
+ * @public
44
46
  * <p>The input document, either as bytes or as an S3 object.</p>
45
47
  * <p>You pass image bytes to an Amazon Textract API operation by using the <code>Bytes</code>
46
48
  * property. For example, you would use the <code>Bytes</code> property to pass a document
@@ -55,7 +57,6 @@ export interface S3Object {
55
57
  * <p>If you use the AWS CLI to call Amazon Textract operations, passing image bytes using
56
58
  * the Bytes property isn't supported. You must first upload the document to an Amazon S3
57
59
  * bucket, and then call the operation using the S3Object property.</p>
58
- *
59
60
  * <p>For Amazon Textract to process an S3 object, the user must have permission
60
61
  * to access the S3 object. </p>
61
62
  */
@@ -73,17 +74,24 @@ export interface Document {
73
74
  */
74
75
  S3Object?: S3Object;
75
76
  }
77
+ /**
78
+ * @public
79
+ */
76
80
  export declare enum FeatureType {
77
81
  FORMS = "FORMS",
78
82
  QUERIES = "QUERIES",
79
83
  SIGNATURES = "SIGNATURES",
80
84
  TABLES = "TABLES"
81
85
  }
86
+ /**
87
+ * @public
88
+ */
82
89
  export declare enum ContentClassifier {
83
90
  FREE_OF_ADULT_CONTENT = "FreeOfAdultContent",
84
91
  FREE_OF_PERSONALLY_IDENTIFIABLE_INFORMATION = "FreeOfPersonallyIdentifiableInformation"
85
92
  }
86
93
  /**
94
+ * @public
87
95
  * <p>Allows you to set attributes of the image. Currently, you can declare an image as free
88
96
  * of personally identifiable information and adult content. </p>
89
97
  */
@@ -95,6 +103,7 @@ export interface HumanLoopDataAttributes {
95
103
  ContentClassifiers?: (ContentClassifier | string)[];
96
104
  }
97
105
  /**
106
+ * @public
98
107
  * <p>Sets up the human review workflow the document will be sent to if one of the conditions
99
108
  * is met. You can also set certain attributes of the image before review. </p>
100
109
  */
@@ -114,6 +123,7 @@ export interface HumanLoopConfig {
114
123
  DataAttributes?: HumanLoopDataAttributes;
115
124
  }
116
125
  /**
126
+ * @public
117
127
  * <p>Each query contains the question you want to ask in the Text and the alias you want to associate.</p>
118
128
  */
119
129
  export interface Query {
@@ -151,6 +161,7 @@ export interface Query {
151
161
  Pages?: string[];
152
162
  }
153
163
  /**
164
+ * @public
154
165
  * <p></p>
155
166
  */
156
167
  export interface QueriesConfig {
@@ -159,6 +170,9 @@ export interface QueriesConfig {
159
170
  */
160
171
  Queries: Query[] | undefined;
161
172
  }
173
+ /**
174
+ * @public
175
+ */
162
176
  export interface AnalyzeDocumentRequest {
163
177
  /**
164
178
  * <p>The input document as base64-encoded bytes or an Amazon S3 object. If you use the AWS
@@ -188,6 +202,9 @@ export interface AnalyzeDocumentRequest {
188
202
  */
189
203
  QueriesConfig?: QueriesConfig;
190
204
  }
205
+ /**
206
+ * @public
207
+ */
191
208
  export declare enum BlockType {
192
209
  CELL = "CELL",
193
210
  KEY_VALUE_SET = "KEY_VALUE_SET",
@@ -199,15 +216,27 @@ export declare enum BlockType {
199
216
  SELECTION_ELEMENT = "SELECTION_ELEMENT",
200
217
  SIGNATURE = "SIGNATURE",
201
218
  TABLE = "TABLE",
219
+ TABLE_FOOTER = "TABLE_FOOTER",
220
+ TABLE_TITLE = "TABLE_TITLE",
202
221
  TITLE = "TITLE",
203
222
  WORD = "WORD"
204
223
  }
224
+ /**
225
+ * @public
226
+ */
205
227
  export declare enum EntityType {
206
228
  COLUMN_HEADER = "COLUMN_HEADER",
207
229
  KEY = "KEY",
230
+ SEMI_STRUCTURED_TABLE = "SEMI_STRUCTURED_TABLE",
231
+ STRUCTURED_TABLE = "STRUCTURED_TABLE",
232
+ TABLE_FOOTER = "TABLE_FOOTER",
233
+ TABLE_SECTION_TITLE = "TABLE_SECTION_TITLE",
234
+ TABLE_SUMMARY = "TABLE_SUMMARY",
235
+ TABLE_TITLE = "TABLE_TITLE",
208
236
  VALUE = "VALUE"
209
237
  }
210
238
  /**
239
+ * @public
211
240
  * <p>The bounding box around the detected page, text, key-value pair, table, table cell, or
212
241
  * selection element on a document page. The <code>left</code> (x-coordinate) and
213
242
  * <code>top</code> (y-coordinate) are coordinates that represent the top and left sides of
@@ -244,11 +273,11 @@ export interface BoundingBox {
244
273
  Top?: number;
245
274
  }
246
275
  /**
276
+ * @public
247
277
  * <p>The X and Y coordinates of a point on a document page. The X and Y
248
278
  * values that are returned are ratios of the overall document page size. For example, if the
249
279
  * input document is 700 x 200 and the operation returns X=0.5 and Y=0.25, then the point is
250
280
  * at the (350,50) pixel coordinate on the document page.</p>
251
- *
252
281
  * <p>An array of <code>Point</code> objects, <code>Polygon</code>, is returned
253
282
  * by <a>DetectDocumentText</a>. <code>Polygon</code> represents a fine-grained
254
283
  * polygon around detected text. For more information, see Geometry in the Amazon Textract
@@ -265,6 +294,7 @@ export interface Point {
265
294
  Y?: number;
266
295
  }
267
296
  /**
297
+ * @public
268
298
  * <p>Information about where the following items are located on a document page: detected
269
299
  * page, text, key-value pairs, tables, table cells, and selection elements.</p>
270
300
  */
@@ -279,15 +309,22 @@ export interface Geometry {
279
309
  */
280
310
  Polygon?: Point[];
281
311
  }
312
+ /**
313
+ * @public
314
+ */
282
315
  export declare enum RelationshipType {
283
316
  ANSWER = "ANSWER",
284
317
  CHILD = "CHILD",
285
318
  COMPLEX_FEATURES = "COMPLEX_FEATURES",
286
319
  MERGED_CELL = "MERGED_CELL",
320
+ TABLE = "TABLE",
321
+ TABLE_FOOTER = "TABLE_FOOTER",
322
+ TABLE_TITLE = "TABLE_TITLE",
287
323
  TITLE = "TITLE",
288
324
  VALUE = "VALUE"
289
325
  }
290
326
  /**
327
+ * @public
291
328
  * <p>Information about how blocks are related to each other. A <code>Block</code> object
292
329
  * contains 0 or more <code>Relation</code> objects in a list, <code>Relationships</code>. For
293
330
  * more information, see <a>Block</a>.</p>
@@ -296,12 +333,46 @@ export declare enum RelationshipType {
296
333
  */
297
334
  export interface Relationship {
298
335
  /**
299
- * <p>The type of relationship that the blocks in the IDs array have with the current block.
300
- * The relationship can be <code>VALUE</code> or <code>CHILD</code>. A relationship of type
301
- * VALUE is a list that contains the ID of the VALUE block that's associated with the KEY of a
302
- * key-value pair. A relationship of type CHILD is a list of IDs that identify WORD blocks in
303
- * the case of lines Cell blocks in the case of Tables, and WORD blocks in the case of
304
- * Selection Elements.</p>
336
+ * <p>The type of relationship between the blocks in the IDs array and the current block. The
337
+ * following list describes the relationship types that can be returned. </p>
338
+ * <ul>
339
+ * <li>
340
+ * <p>
341
+ * <i>VALUE</i> - A list that contains the ID of the VALUE block that's associated with the
342
+ * KEY of a key-value pair.</p>
343
+ * </li>
344
+ * <li>
345
+ * <p>
346
+ * <i>CHILD</i> - A list of IDs that identify blocks found within the
347
+ * current block object. For example, WORD blocks have a CHILD relationship to the LINE
348
+ * block type.</p>
349
+ * </li>
350
+ * <li>
351
+ * <p>
352
+ * <i>MERGED_CELL</i> - A list of IDs that identify each of the
353
+ * MERGED_CELL block types in a table.</p>
354
+ * </li>
355
+ * <li>
356
+ * <p>
357
+ * <i>ANSWER</i> - A list that contains the ID of the QUERY_RESULT
358
+ * block that’s associated with the corresponding QUERY block. </p>
359
+ * </li>
360
+ * <li>
361
+ * <p>
362
+ * <i>TABLE</i> - A list of IDs that identify associated TABLE block
363
+ * types. </p>
364
+ * </li>
365
+ * <li>
366
+ * <p>
367
+ * <i>TABLE_TITLE</i> - A list that contains the ID for the TABLE_TITLE
368
+ * block type in a table. </p>
369
+ * </li>
370
+ * <li>
371
+ * <p>
372
+ * <i>TABLE_FOOTER</i> - A list of IDs that identify the TABLE_FOOTER
373
+ * block types in a table. </p>
374
+ * </li>
375
+ * </ul>
305
376
  */
306
377
  Type?: RelationshipType | string;
307
378
  /**
@@ -311,15 +382,22 @@ export interface Relationship {
311
382
  */
312
383
  Ids?: string[];
313
384
  }
385
+ /**
386
+ * @public
387
+ */
314
388
  export declare enum SelectionStatus {
315
389
  NOT_SELECTED = "NOT_SELECTED",
316
390
  SELECTED = "SELECTED"
317
391
  }
392
+ /**
393
+ * @public
394
+ */
318
395
  export declare enum TextType {
319
396
  HANDWRITING = "HANDWRITING",
320
397
  PRINTED = "PRINTED"
321
398
  }
322
399
  /**
400
+ * @public
323
401
  * <p>A <code>Block</code> represents items that are recognized in a document within a group
324
402
  * of pixels close to each other. The information returned in a <code>Block</code> object
325
403
  * depends on the type of operation. In text detection for documents (for example <a>DetectDocumentText</a>), you get information about the detected words and lines
@@ -386,11 +464,28 @@ export interface Block {
386
464
  * </li>
387
465
  * <li>
388
466
  * <p>
467
+ * <i>TABLE_TITLE</i> - The title of a table. A title is typically a
468
+ * line of text above or below a table, or embedded as the first row of a table. </p>
469
+ * </li>
470
+ * <li>
471
+ * <p>
472
+ * <i>TABLE_FOOTER</i> - The footer associated with a table. A footer
473
+ * is typically a line or lines of text below a table or embedded as the last row of a
474
+ * table. </p>
475
+ * </li>
476
+ * <li>
477
+ * <p>
389
478
  * <i>CELL</i> - A cell within a detected table. The cell is the parent
390
479
  * of the block that contains the text in the cell.</p>
391
480
  * </li>
392
481
  * <li>
393
482
  * <p>
483
+ * <i>MERGED_CELL</i> - A cell in a table whose content spans more than
484
+ * one row or column. The <code>Relationships</code> array for this cell contain data
485
+ * from individual cells.</p>
486
+ * </li>
487
+ * <li>
488
+ * <p>
394
489
  * <i>SELECTION_ELEMENT</i> - A selection element such as an option
395
490
  * button (radio button) or a check box that's detected on a document page. Use the
396
491
  * value of <code>SelectionStatus</code> to determine the status of the selection
@@ -442,14 +537,12 @@ export interface Block {
442
537
  */
443
538
  ColumnIndex?: number;
444
539
  /**
445
- * <p>The number of rows that a table cell spans. Currently this value is always 1, even if
446
- * the number of rows spanned is greater than 1. <code>RowSpan</code> isn't returned by
540
+ * <p>The number of rows that a table cell spans. <code>RowSpan</code> isn't returned by
447
541
  * <code>DetectDocumentText</code> and <code>GetDocumentTextDetection</code>.</p>
448
542
  */
449
543
  RowSpan?: number;
450
544
  /**
451
- * <p>The number of columns that a table cell spans. Currently this value is always 1, even if
452
- * the number of columns spanned is greater than 1. <code>ColumnSpan</code> isn't returned by
545
+ * <p>The number of columns that a table cell spans. <code>ColumnSpan</code> isn't returned by
453
546
  * <code>DetectDocumentText</code> and <code>GetDocumentTextDetection</code>. </p>
454
547
  */
455
548
  ColumnSpan?: number;
@@ -465,30 +558,60 @@ export interface Block {
465
558
  */
466
559
  Id?: string;
467
560
  /**
468
- * <p>A list of child blocks of the current block. For example, a LINE object has child blocks
469
- * for each WORD block that's part of the line of text. There aren't Relationship objects in
470
- * the list for relationships that don't exist, such as when the current block has no child
471
- * blocks. The list size can be the following:</p>
561
+ * <p>A list of relationship objects that describe how blocks are related to each other. For
562
+ * example, a LINE block object contains a CHILD relationship type with the WORD blocks that
563
+ * make up the line of text. There aren't Relationship objects in the list for relationships
564
+ * that don't exist, such as when the current block has no child blocks.</p>
565
+ */
566
+ Relationships?: Relationship[];
567
+ /**
568
+ * <p>The type of entity. </p>
569
+ * <p>The following entity types can be returned by FORMS analysis:</p>
472
570
  * <ul>
473
571
  * <li>
474
- * <p>0 - The block has no child blocks.</p>
572
+ * <p>
573
+ * <i>KEY</i> - An identifier for a field on the document.</p>
475
574
  * </li>
476
575
  * <li>
477
- * <p>1 - The block has child blocks.</p>
576
+ * <p>
577
+ * <i>VALUE</i> - The field text.</p>
478
578
  * </li>
479
579
  * </ul>
480
- */
481
- Relationships?: Relationship[];
482
- /**
483
- * <p>The type of entity. The following can be returned:</p>
580
+ * <p>The following entity types can be returned by TABLES analysis:</p>
484
581
  * <ul>
485
582
  * <li>
486
583
  * <p>
487
- * <i>KEY</i> - An identifier for a field on the document.</p>
584
+ * <i>COLUMN_HEADER</i> - Identifies a cell that is a header of a column. </p>
488
585
  * </li>
489
586
  * <li>
490
587
  * <p>
491
- * <i>VALUE</i> - The field text.</p>
588
+ * <i>TABLE_TITLE</i> - Identifies a cell that is a title within the
589
+ * table. </p>
590
+ * </li>
591
+ * <li>
592
+ * <p>
593
+ * <i>TABLE_SECTION_TITLE</i> - Identifies a cell that is a title of a
594
+ * section within a table. A section title is a cell that typically spans an entire row
595
+ * above a section. </p>
596
+ * </li>
597
+ * <li>
598
+ * <p>
599
+ * <i>TABLE_FOOTER</i> - Identifies a cell that is a footer of a table. </p>
600
+ * </li>
601
+ * <li>
602
+ * <p>
603
+ * <i>TABLE_SUMMARY</i> - Identifies a summary cell of a table. A
604
+ * summary cell can be a row of a table or an additional, smaller table that contains
605
+ * summary information for another table. </p>
606
+ * </li>
607
+ * <li>
608
+ * <p>
609
+ * <i>STRUCTURED_TABLE </i> - Identifies a table with column headers
610
+ * where the content of each row corresponds to the headers. </p>
611
+ * </li>
612
+ * <li>
613
+ * <p>
614
+ * <i>SEMI_STRUCTURED_TABLE</i> - Identifies a non-structured table. </p>
492
615
  * </li>
493
616
  * </ul>
494
617
  * <p>
@@ -507,7 +630,7 @@ export interface Block {
507
630
  * documents that are in PDF or TIFF format. A scanned image (JPEG/PNG) provided to an
508
631
  * asynchronous operation, even if it contains multiple document pages, is considered a
509
632
  * single-page document. This means that for scanned images the value of <code>Page</code> is
510
- * always 1. Synchronous operations operations will also return a <code>Page</code> value of 1
633
+ * always 1. Synchronous operations will also return a <code>Page</code> value of 1
511
634
  * because every input document is considered to be a single-page document.</p>
512
635
  */
513
636
  Page?: number;
@@ -517,6 +640,7 @@ export interface Block {
517
640
  Query?: Query;
518
641
  }
519
642
  /**
643
+ * @public
520
644
  * <p>Information about the input document.</p>
521
645
  */
522
646
  export interface DocumentMetadata {
@@ -526,6 +650,7 @@ export interface DocumentMetadata {
526
650
  Pages?: number;
527
651
  }
528
652
  /**
653
+ * @public
529
654
  * <p>Shows the results of the human in the loop evaluation. If there is no HumanLoopArn, the
530
655
  * input did not trigger human review.</p>
531
656
  */
@@ -544,6 +669,9 @@ export interface HumanLoopActivationOutput {
544
669
  */
545
670
  HumanLoopActivationConditionsEvaluationResults?: __LazyJsonString | string;
546
671
  }
672
+ /**
673
+ * @public
674
+ */
547
675
  export interface AnalyzeDocumentResponse {
548
676
  /**
549
677
  * <p>Metadata about the analyzed document. An example is the number of pages.</p>
@@ -563,6 +691,7 @@ export interface AnalyzeDocumentResponse {
563
691
  AnalyzeDocumentModelVersion?: string;
564
692
  }
565
693
  /**
694
+ * @public
566
695
  * <p>Amazon Textract isn't able to read the document. For more information on the document
567
696
  * limits in Amazon Textract, see <a>limits</a>.</p>
568
697
  */
@@ -577,6 +706,7 @@ export declare class BadDocumentException extends __BaseException {
577
706
  constructor(opts: __ExceptionOptionType<BadDocumentException, __BaseException>);
578
707
  }
579
708
  /**
709
+ * @public
580
710
  * <p>The document can't be processed because it's too large. The maximum document size for
581
711
  * synchronous operations 10 MB. The maximum document size for asynchronous operations is 500
582
712
  * MB for PDF files.</p>
@@ -592,6 +722,7 @@ export declare class DocumentTooLargeException extends __BaseException {
592
722
  constructor(opts: __ExceptionOptionType<DocumentTooLargeException, __BaseException>);
593
723
  }
594
724
  /**
725
+ * @public
595
726
  * <p>Indicates you have exceeded the maximum number of active human in the loop workflows available</p>
596
727
  */
597
728
  export declare class HumanLoopQuotaExceededException extends __BaseException {
@@ -617,6 +748,7 @@ export declare class HumanLoopQuotaExceededException extends __BaseException {
617
748
  constructor(opts: __ExceptionOptionType<HumanLoopQuotaExceededException, __BaseException>);
618
749
  }
619
750
  /**
751
+ * @public
620
752
  * <p>Amazon Textract experienced a service issue. Try your call again.</p>
621
753
  */
622
754
  export declare class InternalServerError extends __BaseException {
@@ -630,6 +762,7 @@ export declare class InternalServerError extends __BaseException {
630
762
  constructor(opts: __ExceptionOptionType<InternalServerError, __BaseException>);
631
763
  }
632
764
  /**
765
+ * @public
633
766
  * <p>An input parameter violated a constraint. For example, in synchronous operations,
634
767
  * an <code>InvalidParameterException</code> exception occurs
635
768
  * when neither of the <code>S3Object</code> or <code>Bytes</code> values are supplied in the <code>Document</code>
@@ -647,6 +780,7 @@ export declare class InvalidParameterException extends __BaseException {
647
780
  constructor(opts: __ExceptionOptionType<InvalidParameterException, __BaseException>);
648
781
  }
649
782
  /**
783
+ * @public
650
784
  * <p>Amazon Textract is unable to access the S3 object that's specified in the request.
651
785
  * for more information, <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/s3-access-control.html">Configure Access to Amazon S3</a>
652
786
  * For troubleshooting information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/troubleshooting.html">Troubleshooting Amazon S3</a>
@@ -663,6 +797,7 @@ export declare class InvalidS3ObjectException extends __BaseException {
663
797
  constructor(opts: __ExceptionOptionType<InvalidS3ObjectException, __BaseException>);
664
798
  }
665
799
  /**
800
+ * @public
666
801
  * <p>The number of requests exceeded your throughput limit. If you want to increase this limit,
667
802
  * contact Amazon Textract.</p>
668
803
  */
@@ -677,6 +812,7 @@ export declare class ProvisionedThroughputExceededException extends __BaseExcept
677
812
  constructor(opts: __ExceptionOptionType<ProvisionedThroughputExceededException, __BaseException>);
678
813
  }
679
814
  /**
815
+ * @public
680
816
  * <p>Amazon Textract is temporarily unable to process the request. Try your call again.</p>
681
817
  */
682
818
  export declare class ThrottlingException extends __BaseException {
@@ -690,6 +826,7 @@ export declare class ThrottlingException extends __BaseException {
690
826
  constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
691
827
  }
692
828
  /**
829
+ * @public
693
830
  * <p>The format of the input document isn't supported. Documents for operations can be in
694
831
  * PNG, JPEG, PDF, or TIFF format.</p>
695
832
  */
@@ -703,6 +840,9 @@ export declare class UnsupportedDocumentException extends __BaseException {
703
840
  */
704
841
  constructor(opts: __ExceptionOptionType<UnsupportedDocumentException, __BaseException>);
705
842
  }
843
+ /**
844
+ * @public
845
+ */
706
846
  export interface AnalyzeExpenseRequest {
707
847
  /**
708
848
  * <p>The input document, either as bytes or as an S3 object.</p>
@@ -719,13 +859,13 @@ export interface AnalyzeExpenseRequest {
719
859
  * <p>If you use the AWS CLI to call Amazon Textract operations, passing image bytes using
720
860
  * the Bytes property isn't supported. You must first upload the document to an Amazon S3
721
861
  * bucket, and then call the operation using the S3Object property.</p>
722
- *
723
862
  * <p>For Amazon Textract to process an S3 object, the user must have permission
724
863
  * to access the S3 object. </p>
725
864
  */
726
865
  Document: Document | undefined;
727
866
  }
728
867
  /**
868
+ * @public
729
869
  * <p>Returns the kind of currency detected.</p>
730
870
  */
731
871
  export interface ExpenseCurrency {
@@ -777,6 +917,7 @@ export interface ExpenseCurrency {
777
917
  Confidence?: number;
778
918
  }
779
919
  /**
920
+ * @public
780
921
  * <p>Shows the group that a certain key belongs to. This helps differentiate between
781
922
  * names and addresses for different organizations, that can be hard to determine
782
923
  * via JSON response.</p>
@@ -792,6 +933,7 @@ export interface ExpenseGroupProperty {
792
933
  Id?: string;
793
934
  }
794
935
  /**
936
+ * @public
795
937
  * <p>An object used to store information about the Value or Label detected by Amazon Textract.</p>
796
938
  */
797
939
  export interface ExpenseDetection {
@@ -810,6 +952,7 @@ export interface ExpenseDetection {
810
952
  Confidence?: number;
811
953
  }
812
954
  /**
955
+ * @public
813
956
  * <p>An object used to store information about the Type detected by Amazon Textract.</p>
814
957
  */
815
958
  export interface ExpenseType {
@@ -823,6 +966,7 @@ export interface ExpenseType {
823
966
  Confidence?: number;
824
967
  }
825
968
  /**
969
+ * @public
826
970
  * <p>Breakdown of detected information, seperated into
827
971
  * the catagories Type, LabelDetection, and ValueDetection</p>
828
972
  */
@@ -855,6 +999,7 @@ export interface ExpenseField {
855
999
  GroupProperties?: ExpenseGroupProperty[];
856
1000
  }
857
1001
  /**
1002
+ * @public
858
1003
  * <p>A structure that holds information about the different lines found in a document's tables.</p>
859
1004
  */
860
1005
  export interface LineItemFields {
@@ -864,6 +1009,7 @@ export interface LineItemFields {
864
1009
  LineItemExpenseFields?: ExpenseField[];
865
1010
  }
866
1011
  /**
1012
+ * @public
867
1013
  * <p>A grouping of tables which contain LineItems, with each table identified by the table's <code>LineItemGroupIndex</code>.</p>
868
1014
  */
869
1015
  export interface LineItemGroup {
@@ -877,6 +1023,7 @@ export interface LineItemGroup {
877
1023
  LineItems?: LineItemFields[];
878
1024
  }
879
1025
  /**
1026
+ * @public
880
1027
  * <p>The structure holding all the information returned by AnalyzeExpense</p>
881
1028
  */
882
1029
  export interface ExpenseDocument {
@@ -899,6 +1046,9 @@ export interface ExpenseDocument {
899
1046
  */
900
1047
  Blocks?: Block[];
901
1048
  }
1049
+ /**
1050
+ * @public
1051
+ */
902
1052
  export interface AnalyzeExpenseResponse {
903
1053
  /**
904
1054
  * <p>Information about the input document.</p>
@@ -909,16 +1059,23 @@ export interface AnalyzeExpenseResponse {
909
1059
  */
910
1060
  ExpenseDocuments?: ExpenseDocument[];
911
1061
  }
1062
+ /**
1063
+ * @public
1064
+ */
912
1065
  export interface AnalyzeIDRequest {
913
1066
  /**
914
1067
  * <p>The document being passed to AnalyzeID.</p>
915
1068
  */
916
1069
  DocumentPages: Document[] | undefined;
917
1070
  }
1071
+ /**
1072
+ * @public
1073
+ */
918
1074
  export declare enum ValueType {
919
1075
  DATE = "DATE"
920
1076
  }
921
1077
  /**
1078
+ * @public
922
1079
  * <p>Contains information relating to dates in a document, including the type
923
1080
  * of value, and the value.</p>
924
1081
  */
@@ -933,6 +1090,7 @@ export interface NormalizedValue {
933
1090
  ValueType?: ValueType | string;
934
1091
  }
935
1092
  /**
1093
+ * @public
936
1094
  * <p>Used to contain the information detected by an AnalyzeID operation.</p>
937
1095
  */
938
1096
  export interface AnalyzeIDDetections {
@@ -951,6 +1109,7 @@ export interface AnalyzeIDDetections {
951
1109
  Confidence?: number;
952
1110
  }
953
1111
  /**
1112
+ * @public
954
1113
  * <p>Structure containing both the normalized type of the extracted information
955
1114
  * and the text associated with it. These are extracted as Type and Value respectively.</p>
956
1115
  */
@@ -965,6 +1124,7 @@ export interface IdentityDocumentField {
965
1124
  ValueDetection?: AnalyzeIDDetections;
966
1125
  }
967
1126
  /**
1127
+ * @public
968
1128
  * <p>The structure that lists each document processed in an AnalyzeID operation.</p>
969
1129
  */
970
1130
  export interface IdentityDocument {
@@ -983,6 +1143,9 @@ export interface IdentityDocument {
983
1143
  */
984
1144
  Blocks?: Block[];
985
1145
  }
1146
+ /**
1147
+ * @public
1148
+ */
986
1149
  export interface AnalyzeIDResponse {
987
1150
  /**
988
1151
  * <p>The list of documents processed by AnalyzeID. Includes a number denoting their place in
@@ -998,6 +1161,9 @@ export interface AnalyzeIDResponse {
998
1161
  */
999
1162
  AnalyzeIDModelVersion?: string;
1000
1163
  }
1164
+ /**
1165
+ * @public
1166
+ */
1001
1167
  export interface DetectDocumentTextRequest {
1002
1168
  /**
1003
1169
  * <p>The input document as base64-encoded bytes or an Amazon S3 object. If you use the AWS CLI
@@ -1008,6 +1174,9 @@ export interface DetectDocumentTextRequest {
1008
1174
  */
1009
1175
  Document: Document | undefined;
1010
1176
  }
1177
+ /**
1178
+ * @public
1179
+ */
1011
1180
  export interface DetectDocumentTextResponse {
1012
1181
  /**
1013
1182
  * <p>Metadata about the document. It contains the number of pages that are detected in the
@@ -1025,6 +1194,7 @@ export interface DetectDocumentTextResponse {
1025
1194
  DetectDocumentTextModelVersion?: string;
1026
1195
  }
1027
1196
  /**
1197
+ * @public
1028
1198
  * <p>A structure that holds information regarding a detected signature on a page.</p>
1029
1199
  */
1030
1200
  export interface DetectedSignature {
@@ -1034,6 +1204,7 @@ export interface DetectedSignature {
1034
1204
  Page?: number;
1035
1205
  }
1036
1206
  /**
1207
+ * @public
1037
1208
  * <p>Contains information about the pages of a document, defined by logical boundary.</p>
1038
1209
  */
1039
1210
  export interface SplitDocument {
@@ -1047,6 +1218,7 @@ export interface SplitDocument {
1047
1218
  Pages?: number[];
1048
1219
  }
1049
1220
  /**
1221
+ * @public
1050
1222
  * <p>A structure containing information about an undetected signature on a page where it was expected but not found.</p>
1051
1223
  */
1052
1224
  export interface UndetectedSignature {
@@ -1056,11 +1228,12 @@ export interface UndetectedSignature {
1056
1228
  Page?: number;
1057
1229
  }
1058
1230
  /**
1231
+ * @public
1059
1232
  * <p>Summary information about documents grouped by the same document type.</p>
1060
1233
  */
1061
1234
  export interface DocumentGroup {
1062
1235
  /**
1063
- * <p>The type of document that Amazon Textract has detected. See LINK for a list of all types returned by Textract.</p>
1236
+ * <p>The type of document that Amazon Textract has detected. See <a href="https://docs.aws.amazon.com/textract/latest/dg/lending-response-objects.html">Analyze Lending Response Objects</a> for a list of all types returned by Textract.</p>
1064
1237
  */
1065
1238
  Type?: string;
1066
1239
  /**
@@ -1077,6 +1250,7 @@ export interface DocumentGroup {
1077
1250
  UndetectedSignatures?: UndetectedSignature[];
1078
1251
  }
1079
1252
  /**
1253
+ * @public
1080
1254
  * <p>The Amazon S3 bucket that contains the document to be processed. It's used by asynchronous
1081
1255
  * operations.</p>
1082
1256
  * <p>The input document can be an image file in JPEG or PNG format. It can also be a file in
@@ -1089,6 +1263,7 @@ export interface DocumentLocation {
1089
1263
  S3Object?: S3Object;
1090
1264
  }
1091
1265
  /**
1266
+ * @public
1092
1267
  * <p>The results extracted for a lending document.</p>
1093
1268
  */
1094
1269
  export interface LendingDetection {
@@ -1111,6 +1286,7 @@ export interface LendingDetection {
1111
1286
  Confidence?: number;
1112
1287
  }
1113
1288
  /**
1289
+ * @public
1114
1290
  * <p>Holds the normalized key-value pairs returned by AnalyzeDocument, including the document type, detected text, and geometry.</p>
1115
1291
  */
1116
1292
  export interface LendingField {
@@ -1128,6 +1304,7 @@ export interface LendingField {
1128
1304
  ValueDetections?: LendingDetection[];
1129
1305
  }
1130
1306
  /**
1307
+ * @public
1131
1308
  * <p>Information regarding a detected signature on a page.</p>
1132
1309
  */
1133
1310
  export interface SignatureDetection {
@@ -1142,6 +1319,7 @@ export interface SignatureDetection {
1142
1319
  Geometry?: Geometry;
1143
1320
  }
1144
1321
  /**
1322
+ * @public
1145
1323
  * <p>Holds the structured data returned by AnalyzeDocument for lending documents.</p>
1146
1324
  */
1147
1325
  export interface LendingDocument {
@@ -1155,6 +1333,7 @@ export interface LendingDocument {
1155
1333
  SignatureDetections?: SignatureDetection[];
1156
1334
  }
1157
1335
  /**
1336
+ * @public
1158
1337
  * <p>Contains information extracted by an analysis operation after using StartLendingAnalysis.</p>
1159
1338
  */
1160
1339
  export interface Extraction {
@@ -1171,6 +1350,9 @@ export interface Extraction {
1171
1350
  */
1172
1351
  IdentityDocument?: IdentityDocument;
1173
1352
  }
1353
+ /**
1354
+ * @public
1355
+ */
1174
1356
  export interface GetDocumentAnalysisRequest {
1175
1357
  /**
1176
1358
  * <p>A unique identifier for the text-detection job. The <code>JobId</code> is returned from
@@ -1191,6 +1373,9 @@ export interface GetDocumentAnalysisRequest {
1191
1373
  */
1192
1374
  NextToken?: string;
1193
1375
  }
1376
+ /**
1377
+ * @public
1378
+ */
1194
1379
  export declare enum JobStatus {
1195
1380
  FAILED = "FAILED",
1196
1381
  IN_PROGRESS = "IN_PROGRESS",
@@ -1198,6 +1383,7 @@ export declare enum JobStatus {
1198
1383
  SUCCEEDED = "SUCCEEDED"
1199
1384
  }
1200
1385
  /**
1386
+ * @public
1201
1387
  * <p>A warning about an issue that occurred during asynchronous text analysis (<a>StartDocumentAnalysis</a>) or asynchronous document text detection (<a>StartDocumentTextDetection</a>). </p>
1202
1388
  */
1203
1389
  export interface Warning {
@@ -1210,6 +1396,9 @@ export interface Warning {
1210
1396
  */
1211
1397
  Pages?: number[];
1212
1398
  }
1399
+ /**
1400
+ * @public
1401
+ */
1213
1402
  export interface GetDocumentAnalysisResponse {
1214
1403
  /**
1215
1404
  * <p>Information about a document that Amazon Textract processed.
@@ -1245,6 +1434,7 @@ export interface GetDocumentAnalysisResponse {
1245
1434
  AnalyzeDocumentModelVersion?: string;
1246
1435
  }
1247
1436
  /**
1437
+ * @public
1248
1438
  * <p>An invalid job identifier was passed to an asynchronous analysis operation.</p>
1249
1439
  */
1250
1440
  export declare class InvalidJobIdException extends __BaseException {
@@ -1258,6 +1448,7 @@ export declare class InvalidJobIdException extends __BaseException {
1258
1448
  constructor(opts: __ExceptionOptionType<InvalidJobIdException, __BaseException>);
1259
1449
  }
1260
1450
  /**
1451
+ * @public
1261
1452
  * <p> Indicates you do not have decrypt permissions with the KMS key entered, or the KMS key
1262
1453
  * was entered incorrectly. </p>
1263
1454
  */
@@ -1271,6 +1462,9 @@ export declare class InvalidKMSKeyException extends __BaseException {
1271
1462
  */
1272
1463
  constructor(opts: __ExceptionOptionType<InvalidKMSKeyException, __BaseException>);
1273
1464
  }
1465
+ /**
1466
+ * @public
1467
+ */
1274
1468
  export interface GetDocumentTextDetectionRequest {
1275
1469
  /**
1276
1470
  * <p>A unique identifier for the text detection job. The <code>JobId</code> is returned from
@@ -1289,6 +1483,9 @@ export interface GetDocumentTextDetectionRequest {
1289
1483
  */
1290
1484
  NextToken?: string;
1291
1485
  }
1486
+ /**
1487
+ * @public
1488
+ */
1292
1489
  export interface GetDocumentTextDetectionResponse {
1293
1490
  /**
1294
1491
  * <p>Information about a document that Amazon Textract processed. <code>DocumentMetadata</code> is
@@ -1322,6 +1519,9 @@ export interface GetDocumentTextDetectionResponse {
1322
1519
  */
1323
1520
  DetectDocumentTextModelVersion?: string;
1324
1521
  }
1522
+ /**
1523
+ * @public
1524
+ */
1325
1525
  export interface GetExpenseAnalysisRequest {
1326
1526
  /**
1327
1527
  * <p>A unique identifier for the text detection job. The <code>JobId</code> is returned from
@@ -1340,6 +1540,9 @@ export interface GetExpenseAnalysisRequest {
1340
1540
  */
1341
1541
  NextToken?: string;
1342
1542
  }
1543
+ /**
1544
+ * @public
1545
+ */
1343
1546
  export interface GetExpenseAnalysisResponse {
1344
1547
  /**
1345
1548
  * <p>Information about a document that Amazon Textract processed. <code>DocumentMetadata</code> is
@@ -1373,6 +1576,9 @@ export interface GetExpenseAnalysisResponse {
1373
1576
  */
1374
1577
  AnalyzeExpenseModelVersion?: string;
1375
1578
  }
1579
+ /**
1580
+ * @public
1581
+ */
1376
1582
  export interface GetLendingAnalysisRequest {
1377
1583
  /**
1378
1584
  * <p>A unique identifier for the lending or text-detection job. The <code>JobId</code> is
@@ -1394,6 +1600,7 @@ export interface GetLendingAnalysisRequest {
1394
1600
  NextToken?: string;
1395
1601
  }
1396
1602
  /**
1603
+ * @public
1397
1604
  * <p>Contains information regarding predicted values returned by Amazon Textract operations, including the
1398
1605
  * predicted value and the confidence in the predicted value.</p>
1399
1606
  */
@@ -1408,6 +1615,7 @@ export interface Prediction {
1408
1615
  Confidence?: number;
1409
1616
  }
1410
1617
  /**
1618
+ * @public
1411
1619
  * <p>The class assigned to a Page object detected in an input document.
1412
1620
  * Contains information regarding the predicted type/class of a document's page and the
1413
1621
  * page number that the Page object was detected on.</p>
@@ -1424,6 +1632,7 @@ export interface PageClassification {
1424
1632
  PageNumber: Prediction[] | undefined;
1425
1633
  }
1426
1634
  /**
1635
+ * @public
1427
1636
  * <p>Contains the detections for each page analyzed through the Analyze Lending API.</p>
1428
1637
  */
1429
1638
  export interface LendingResult {
@@ -1440,6 +1649,9 @@ export interface LendingResult {
1440
1649
  */
1441
1650
  Extractions?: Extraction[];
1442
1651
  }
1652
+ /**
1653
+ * @public
1654
+ */
1443
1655
  export interface GetLendingAnalysisResponse {
1444
1656
  /**
1445
1657
  * <p>Information about the input document.</p>
@@ -1473,6 +1685,9 @@ export interface GetLendingAnalysisResponse {
1473
1685
  */
1474
1686
  AnalyzeLendingModelVersion?: string;
1475
1687
  }
1688
+ /**
1689
+ * @public
1690
+ */
1476
1691
  export interface GetLendingAnalysisSummaryRequest {
1477
1692
  /**
1478
1693
  * <p> A unique identifier for the lending or text-detection job. The <code>JobId</code> is
@@ -1481,6 +1696,7 @@ export interface GetLendingAnalysisSummaryRequest {
1481
1696
  JobId: string | undefined;
1482
1697
  }
1483
1698
  /**
1699
+ * @public
1484
1700
  * <p>Contains information regarding DocumentGroups and UndetectedDocumentTypes.</p>
1485
1701
  */
1486
1702
  export interface LendingSummary {
@@ -1493,6 +1709,9 @@ export interface LendingSummary {
1493
1709
  */
1494
1710
  UndetectedDocumentTypes?: string[];
1495
1711
  }
1712
+ /**
1713
+ * @public
1714
+ */
1496
1715
  export interface GetLendingAnalysisSummaryResponse {
1497
1716
  /**
1498
1717
  * <p>Information about the input document.</p>
@@ -1521,6 +1740,7 @@ export interface GetLendingAnalysisSummaryResponse {
1521
1740
  AnalyzeLendingModelVersion?: string;
1522
1741
  }
1523
1742
  /**
1743
+ * @public
1524
1744
  * <p>A <code>ClientRequestToken</code> input parameter was reused with an operation, but at
1525
1745
  * least one of the other input parameters is different from the previous call to the
1526
1746
  * operation. </p>
@@ -1536,6 +1756,7 @@ export declare class IdempotentParameterMismatchException extends __BaseExceptio
1536
1756
  constructor(opts: __ExceptionOptionType<IdempotentParameterMismatchException, __BaseException>);
1537
1757
  }
1538
1758
  /**
1759
+ * @public
1539
1760
  * <p>An Amazon Textract service limit was exceeded. For example, if you start too many
1540
1761
  * asynchronous jobs concurrently, calls to start operations
1541
1762
  * (<code>StartDocumentTextDetection</code>, for example) raise a LimitExceededException
@@ -1553,6 +1774,7 @@ export declare class LimitExceededException extends __BaseException {
1553
1774
  constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
1554
1775
  }
1555
1776
  /**
1777
+ * @public
1556
1778
  * <p>The Amazon Simple Notification Service (Amazon SNS) topic to which Amazon Textract publishes the completion status of
1557
1779
  * an asynchronous document operation. </p>
1558
1780
  */
@@ -1567,6 +1789,7 @@ export interface NotificationChannel {
1567
1789
  RoleArn: string | undefined;
1568
1790
  }
1569
1791
  /**
1792
+ * @public
1570
1793
  * <p>Sets whether or not your output will go to a user created bucket. Used to set the name
1571
1794
  * of the bucket, and the prefix on the output file.</p>
1572
1795
  * <p>
@@ -1596,6 +1819,9 @@ export interface OutputConfig {
1596
1819
  */
1597
1820
  S3Prefix?: string;
1598
1821
  }
1822
+ /**
1823
+ * @public
1824
+ */
1599
1825
  export interface StartDocumentAnalysisRequest {
1600
1826
  /**
1601
1827
  * <p>The location of the document to be processed.</p>
@@ -1648,6 +1874,9 @@ export interface StartDocumentAnalysisRequest {
1648
1874
  */
1649
1875
  QueriesConfig?: QueriesConfig;
1650
1876
  }
1877
+ /**
1878
+ * @public
1879
+ */
1651
1880
  export interface StartDocumentAnalysisResponse {
1652
1881
  /**
1653
1882
  * <p>The identifier for the document text detection job. Use <code>JobId</code> to identify
@@ -1656,6 +1885,9 @@ export interface StartDocumentAnalysisResponse {
1656
1885
  */
1657
1886
  JobId?: string;
1658
1887
  }
1888
+ /**
1889
+ * @public
1890
+ */
1659
1891
  export interface StartDocumentTextDetectionRequest {
1660
1892
  /**
1661
1893
  * <p>The location of the document to be processed.</p>
@@ -1695,6 +1927,9 @@ export interface StartDocumentTextDetectionRequest {
1695
1927
  */
1696
1928
  KMSKeyId?: string;
1697
1929
  }
1930
+ /**
1931
+ * @public
1932
+ */
1698
1933
  export interface StartDocumentTextDetectionResponse {
1699
1934
  /**
1700
1935
  * <p>The identifier of the text detection job for the document. Use <code>JobId</code> to
@@ -1703,6 +1938,9 @@ export interface StartDocumentTextDetectionResponse {
1703
1938
  */
1704
1939
  JobId?: string;
1705
1940
  }
1941
+ /**
1942
+ * @public
1943
+ */
1706
1944
  export interface StartExpenseAnalysisRequest {
1707
1945
  /**
1708
1946
  * <p>The location of the document to be processed.</p>
@@ -1742,6 +1980,9 @@ export interface StartExpenseAnalysisRequest {
1742
1980
  */
1743
1981
  KMSKeyId?: string;
1744
1982
  }
1983
+ /**
1984
+ * @public
1985
+ */
1745
1986
  export interface StartExpenseAnalysisResponse {
1746
1987
  /**
1747
1988
  * <p>A unique identifier for the text detection job. The <code>JobId</code> is returned from
@@ -1749,6 +1990,9 @@ export interface StartExpenseAnalysisResponse {
1749
1990
  */
1750
1991
  JobId?: string;
1751
1992
  }
1993
+ /**
1994
+ * @public
1995
+ */
1752
1996
  export interface StartLendingAnalysisRequest {
1753
1997
  /**
1754
1998
  * <p>The Amazon S3 bucket that contains the document to be processed. It's used by asynchronous
@@ -1804,6 +2048,9 @@ export interface StartLendingAnalysisRequest {
1804
2048
  */
1805
2049
  KMSKeyId?: string;
1806
2050
  }
2051
+ /**
2052
+ * @public
2053
+ */
1807
2054
  export interface StartLendingAnalysisResponse {
1808
2055
  /**
1809
2056
  * <p>A unique identifier for the lending or text-detection job. The <code>JobId</code> is
@@ -1812,275 +2059,3 @@ export interface StartLendingAnalysisResponse {
1812
2059
  */
1813
2060
  JobId?: string;
1814
2061
  }
1815
- /**
1816
- * @internal
1817
- */
1818
- export declare const S3ObjectFilterSensitiveLog: (obj: S3Object) => any;
1819
- /**
1820
- * @internal
1821
- */
1822
- export declare const DocumentFilterSensitiveLog: (obj: Document) => any;
1823
- /**
1824
- * @internal
1825
- */
1826
- export declare const HumanLoopDataAttributesFilterSensitiveLog: (obj: HumanLoopDataAttributes) => any;
1827
- /**
1828
- * @internal
1829
- */
1830
- export declare const HumanLoopConfigFilterSensitiveLog: (obj: HumanLoopConfig) => any;
1831
- /**
1832
- * @internal
1833
- */
1834
- export declare const QueryFilterSensitiveLog: (obj: Query) => any;
1835
- /**
1836
- * @internal
1837
- */
1838
- export declare const QueriesConfigFilterSensitiveLog: (obj: QueriesConfig) => any;
1839
- /**
1840
- * @internal
1841
- */
1842
- export declare const AnalyzeDocumentRequestFilterSensitiveLog: (obj: AnalyzeDocumentRequest) => any;
1843
- /**
1844
- * @internal
1845
- */
1846
- export declare const BoundingBoxFilterSensitiveLog: (obj: BoundingBox) => any;
1847
- /**
1848
- * @internal
1849
- */
1850
- export declare const PointFilterSensitiveLog: (obj: Point) => any;
1851
- /**
1852
- * @internal
1853
- */
1854
- export declare const GeometryFilterSensitiveLog: (obj: Geometry) => any;
1855
- /**
1856
- * @internal
1857
- */
1858
- export declare const RelationshipFilterSensitiveLog: (obj: Relationship) => any;
1859
- /**
1860
- * @internal
1861
- */
1862
- export declare const BlockFilterSensitiveLog: (obj: Block) => any;
1863
- /**
1864
- * @internal
1865
- */
1866
- export declare const DocumentMetadataFilterSensitiveLog: (obj: DocumentMetadata) => any;
1867
- /**
1868
- * @internal
1869
- */
1870
- export declare const HumanLoopActivationOutputFilterSensitiveLog: (obj: HumanLoopActivationOutput) => any;
1871
- /**
1872
- * @internal
1873
- */
1874
- export declare const AnalyzeDocumentResponseFilterSensitiveLog: (obj: AnalyzeDocumentResponse) => any;
1875
- /**
1876
- * @internal
1877
- */
1878
- export declare const AnalyzeExpenseRequestFilterSensitiveLog: (obj: AnalyzeExpenseRequest) => any;
1879
- /**
1880
- * @internal
1881
- */
1882
- export declare const ExpenseCurrencyFilterSensitiveLog: (obj: ExpenseCurrency) => any;
1883
- /**
1884
- * @internal
1885
- */
1886
- export declare const ExpenseGroupPropertyFilterSensitiveLog: (obj: ExpenseGroupProperty) => any;
1887
- /**
1888
- * @internal
1889
- */
1890
- export declare const ExpenseDetectionFilterSensitiveLog: (obj: ExpenseDetection) => any;
1891
- /**
1892
- * @internal
1893
- */
1894
- export declare const ExpenseTypeFilterSensitiveLog: (obj: ExpenseType) => any;
1895
- /**
1896
- * @internal
1897
- */
1898
- export declare const ExpenseFieldFilterSensitiveLog: (obj: ExpenseField) => any;
1899
- /**
1900
- * @internal
1901
- */
1902
- export declare const LineItemFieldsFilterSensitiveLog: (obj: LineItemFields) => any;
1903
- /**
1904
- * @internal
1905
- */
1906
- export declare const LineItemGroupFilterSensitiveLog: (obj: LineItemGroup) => any;
1907
- /**
1908
- * @internal
1909
- */
1910
- export declare const ExpenseDocumentFilterSensitiveLog: (obj: ExpenseDocument) => any;
1911
- /**
1912
- * @internal
1913
- */
1914
- export declare const AnalyzeExpenseResponseFilterSensitiveLog: (obj: AnalyzeExpenseResponse) => any;
1915
- /**
1916
- * @internal
1917
- */
1918
- export declare const AnalyzeIDRequestFilterSensitiveLog: (obj: AnalyzeIDRequest) => any;
1919
- /**
1920
- * @internal
1921
- */
1922
- export declare const NormalizedValueFilterSensitiveLog: (obj: NormalizedValue) => any;
1923
- /**
1924
- * @internal
1925
- */
1926
- export declare const AnalyzeIDDetectionsFilterSensitiveLog: (obj: AnalyzeIDDetections) => any;
1927
- /**
1928
- * @internal
1929
- */
1930
- export declare const IdentityDocumentFieldFilterSensitiveLog: (obj: IdentityDocumentField) => any;
1931
- /**
1932
- * @internal
1933
- */
1934
- export declare const IdentityDocumentFilterSensitiveLog: (obj: IdentityDocument) => any;
1935
- /**
1936
- * @internal
1937
- */
1938
- export declare const AnalyzeIDResponseFilterSensitiveLog: (obj: AnalyzeIDResponse) => any;
1939
- /**
1940
- * @internal
1941
- */
1942
- export declare const DetectDocumentTextRequestFilterSensitiveLog: (obj: DetectDocumentTextRequest) => any;
1943
- /**
1944
- * @internal
1945
- */
1946
- export declare const DetectDocumentTextResponseFilterSensitiveLog: (obj: DetectDocumentTextResponse) => any;
1947
- /**
1948
- * @internal
1949
- */
1950
- export declare const DetectedSignatureFilterSensitiveLog: (obj: DetectedSignature) => any;
1951
- /**
1952
- * @internal
1953
- */
1954
- export declare const SplitDocumentFilterSensitiveLog: (obj: SplitDocument) => any;
1955
- /**
1956
- * @internal
1957
- */
1958
- export declare const UndetectedSignatureFilterSensitiveLog: (obj: UndetectedSignature) => any;
1959
- /**
1960
- * @internal
1961
- */
1962
- export declare const DocumentGroupFilterSensitiveLog: (obj: DocumentGroup) => any;
1963
- /**
1964
- * @internal
1965
- */
1966
- export declare const DocumentLocationFilterSensitiveLog: (obj: DocumentLocation) => any;
1967
- /**
1968
- * @internal
1969
- */
1970
- export declare const LendingDetectionFilterSensitiveLog: (obj: LendingDetection) => any;
1971
- /**
1972
- * @internal
1973
- */
1974
- export declare const LendingFieldFilterSensitiveLog: (obj: LendingField) => any;
1975
- /**
1976
- * @internal
1977
- */
1978
- export declare const SignatureDetectionFilterSensitiveLog: (obj: SignatureDetection) => any;
1979
- /**
1980
- * @internal
1981
- */
1982
- export declare const LendingDocumentFilterSensitiveLog: (obj: LendingDocument) => any;
1983
- /**
1984
- * @internal
1985
- */
1986
- export declare const ExtractionFilterSensitiveLog: (obj: Extraction) => any;
1987
- /**
1988
- * @internal
1989
- */
1990
- export declare const GetDocumentAnalysisRequestFilterSensitiveLog: (obj: GetDocumentAnalysisRequest) => any;
1991
- /**
1992
- * @internal
1993
- */
1994
- export declare const WarningFilterSensitiveLog: (obj: Warning) => any;
1995
- /**
1996
- * @internal
1997
- */
1998
- export declare const GetDocumentAnalysisResponseFilterSensitiveLog: (obj: GetDocumentAnalysisResponse) => any;
1999
- /**
2000
- * @internal
2001
- */
2002
- export declare const GetDocumentTextDetectionRequestFilterSensitiveLog: (obj: GetDocumentTextDetectionRequest) => any;
2003
- /**
2004
- * @internal
2005
- */
2006
- export declare const GetDocumentTextDetectionResponseFilterSensitiveLog: (obj: GetDocumentTextDetectionResponse) => any;
2007
- /**
2008
- * @internal
2009
- */
2010
- export declare const GetExpenseAnalysisRequestFilterSensitiveLog: (obj: GetExpenseAnalysisRequest) => any;
2011
- /**
2012
- * @internal
2013
- */
2014
- export declare const GetExpenseAnalysisResponseFilterSensitiveLog: (obj: GetExpenseAnalysisResponse) => any;
2015
- /**
2016
- * @internal
2017
- */
2018
- export declare const GetLendingAnalysisRequestFilterSensitiveLog: (obj: GetLendingAnalysisRequest) => any;
2019
- /**
2020
- * @internal
2021
- */
2022
- export declare const PredictionFilterSensitiveLog: (obj: Prediction) => any;
2023
- /**
2024
- * @internal
2025
- */
2026
- export declare const PageClassificationFilterSensitiveLog: (obj: PageClassification) => any;
2027
- /**
2028
- * @internal
2029
- */
2030
- export declare const LendingResultFilterSensitiveLog: (obj: LendingResult) => any;
2031
- /**
2032
- * @internal
2033
- */
2034
- export declare const GetLendingAnalysisResponseFilterSensitiveLog: (obj: GetLendingAnalysisResponse) => any;
2035
- /**
2036
- * @internal
2037
- */
2038
- export declare const GetLendingAnalysisSummaryRequestFilterSensitiveLog: (obj: GetLendingAnalysisSummaryRequest) => any;
2039
- /**
2040
- * @internal
2041
- */
2042
- export declare const LendingSummaryFilterSensitiveLog: (obj: LendingSummary) => any;
2043
- /**
2044
- * @internal
2045
- */
2046
- export declare const GetLendingAnalysisSummaryResponseFilterSensitiveLog: (obj: GetLendingAnalysisSummaryResponse) => any;
2047
- /**
2048
- * @internal
2049
- */
2050
- export declare const NotificationChannelFilterSensitiveLog: (obj: NotificationChannel) => any;
2051
- /**
2052
- * @internal
2053
- */
2054
- export declare const OutputConfigFilterSensitiveLog: (obj: OutputConfig) => any;
2055
- /**
2056
- * @internal
2057
- */
2058
- export declare const StartDocumentAnalysisRequestFilterSensitiveLog: (obj: StartDocumentAnalysisRequest) => any;
2059
- /**
2060
- * @internal
2061
- */
2062
- export declare const StartDocumentAnalysisResponseFilterSensitiveLog: (obj: StartDocumentAnalysisResponse) => any;
2063
- /**
2064
- * @internal
2065
- */
2066
- export declare const StartDocumentTextDetectionRequestFilterSensitiveLog: (obj: StartDocumentTextDetectionRequest) => any;
2067
- /**
2068
- * @internal
2069
- */
2070
- export declare const StartDocumentTextDetectionResponseFilterSensitiveLog: (obj: StartDocumentTextDetectionResponse) => any;
2071
- /**
2072
- * @internal
2073
- */
2074
- export declare const StartExpenseAnalysisRequestFilterSensitiveLog: (obj: StartExpenseAnalysisRequest) => any;
2075
- /**
2076
- * @internal
2077
- */
2078
- export declare const StartExpenseAnalysisResponseFilterSensitiveLog: (obj: StartExpenseAnalysisResponse) => any;
2079
- /**
2080
- * @internal
2081
- */
2082
- export declare const StartLendingAnalysisRequestFilterSensitiveLog: (obj: StartLendingAnalysisRequest) => any;
2083
- /**
2084
- * @internal
2085
- */
2086
- export declare const StartLendingAnalysisResponseFilterSensitiveLog: (obj: StartLendingAnalysisResponse) => any;