@aws-sdk/client-textract 3.300.0 → 3.303.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.
@@ -17,69 +17,62 @@ class AccessDeniedException extends TextractServiceException_1.TextractServiceEx
17
17
  }
18
18
  }
19
19
  exports.AccessDeniedException = AccessDeniedException;
20
- var FeatureType;
21
- (function (FeatureType) {
22
- FeatureType["FORMS"] = "FORMS";
23
- FeatureType["QUERIES"] = "QUERIES";
24
- FeatureType["SIGNATURES"] = "SIGNATURES";
25
- FeatureType["TABLES"] = "TABLES";
26
- })(FeatureType = exports.FeatureType || (exports.FeatureType = {}));
27
- var ContentClassifier;
28
- (function (ContentClassifier) {
29
- ContentClassifier["FREE_OF_ADULT_CONTENT"] = "FreeOfAdultContent";
30
- ContentClassifier["FREE_OF_PERSONALLY_IDENTIFIABLE_INFORMATION"] = "FreeOfPersonallyIdentifiableInformation";
31
- })(ContentClassifier = exports.ContentClassifier || (exports.ContentClassifier = {}));
32
- var BlockType;
33
- (function (BlockType) {
34
- BlockType["CELL"] = "CELL";
35
- BlockType["KEY_VALUE_SET"] = "KEY_VALUE_SET";
36
- BlockType["LINE"] = "LINE";
37
- BlockType["MERGED_CELL"] = "MERGED_CELL";
38
- BlockType["PAGE"] = "PAGE";
39
- BlockType["QUERY"] = "QUERY";
40
- BlockType["QUERY_RESULT"] = "QUERY_RESULT";
41
- BlockType["SELECTION_ELEMENT"] = "SELECTION_ELEMENT";
42
- BlockType["SIGNATURE"] = "SIGNATURE";
43
- BlockType["TABLE"] = "TABLE";
44
- BlockType["TABLE_FOOTER"] = "TABLE_FOOTER";
45
- BlockType["TABLE_TITLE"] = "TABLE_TITLE";
46
- BlockType["TITLE"] = "TITLE";
47
- BlockType["WORD"] = "WORD";
48
- })(BlockType = exports.BlockType || (exports.BlockType = {}));
49
- var EntityType;
50
- (function (EntityType) {
51
- EntityType["COLUMN_HEADER"] = "COLUMN_HEADER";
52
- EntityType["KEY"] = "KEY";
53
- EntityType["SEMI_STRUCTURED_TABLE"] = "SEMI_STRUCTURED_TABLE";
54
- EntityType["STRUCTURED_TABLE"] = "STRUCTURED_TABLE";
55
- EntityType["TABLE_FOOTER"] = "TABLE_FOOTER";
56
- EntityType["TABLE_SECTION_TITLE"] = "TABLE_SECTION_TITLE";
57
- EntityType["TABLE_SUMMARY"] = "TABLE_SUMMARY";
58
- EntityType["TABLE_TITLE"] = "TABLE_TITLE";
59
- EntityType["VALUE"] = "VALUE";
60
- })(EntityType = exports.EntityType || (exports.EntityType = {}));
61
- var RelationshipType;
62
- (function (RelationshipType) {
63
- RelationshipType["ANSWER"] = "ANSWER";
64
- RelationshipType["CHILD"] = "CHILD";
65
- RelationshipType["COMPLEX_FEATURES"] = "COMPLEX_FEATURES";
66
- RelationshipType["MERGED_CELL"] = "MERGED_CELL";
67
- RelationshipType["TABLE"] = "TABLE";
68
- RelationshipType["TABLE_FOOTER"] = "TABLE_FOOTER";
69
- RelationshipType["TABLE_TITLE"] = "TABLE_TITLE";
70
- RelationshipType["TITLE"] = "TITLE";
71
- RelationshipType["VALUE"] = "VALUE";
72
- })(RelationshipType = exports.RelationshipType || (exports.RelationshipType = {}));
73
- var SelectionStatus;
74
- (function (SelectionStatus) {
75
- SelectionStatus["NOT_SELECTED"] = "NOT_SELECTED";
76
- SelectionStatus["SELECTED"] = "SELECTED";
77
- })(SelectionStatus = exports.SelectionStatus || (exports.SelectionStatus = {}));
78
- var TextType;
79
- (function (TextType) {
80
- TextType["HANDWRITING"] = "HANDWRITING";
81
- TextType["PRINTED"] = "PRINTED";
82
- })(TextType = exports.TextType || (exports.TextType = {}));
20
+ exports.FeatureType = {
21
+ FORMS: "FORMS",
22
+ QUERIES: "QUERIES",
23
+ SIGNATURES: "SIGNATURES",
24
+ TABLES: "TABLES",
25
+ };
26
+ exports.ContentClassifier = {
27
+ FREE_OF_ADULT_CONTENT: "FreeOfAdultContent",
28
+ FREE_OF_PERSONALLY_IDENTIFIABLE_INFORMATION: "FreeOfPersonallyIdentifiableInformation",
29
+ };
30
+ exports.BlockType = {
31
+ CELL: "CELL",
32
+ KEY_VALUE_SET: "KEY_VALUE_SET",
33
+ LINE: "LINE",
34
+ MERGED_CELL: "MERGED_CELL",
35
+ PAGE: "PAGE",
36
+ QUERY: "QUERY",
37
+ QUERY_RESULT: "QUERY_RESULT",
38
+ SELECTION_ELEMENT: "SELECTION_ELEMENT",
39
+ SIGNATURE: "SIGNATURE",
40
+ TABLE: "TABLE",
41
+ TABLE_FOOTER: "TABLE_FOOTER",
42
+ TABLE_TITLE: "TABLE_TITLE",
43
+ TITLE: "TITLE",
44
+ WORD: "WORD",
45
+ };
46
+ exports.EntityType = {
47
+ COLUMN_HEADER: "COLUMN_HEADER",
48
+ KEY: "KEY",
49
+ SEMI_STRUCTURED_TABLE: "SEMI_STRUCTURED_TABLE",
50
+ STRUCTURED_TABLE: "STRUCTURED_TABLE",
51
+ TABLE_FOOTER: "TABLE_FOOTER",
52
+ TABLE_SECTION_TITLE: "TABLE_SECTION_TITLE",
53
+ TABLE_SUMMARY: "TABLE_SUMMARY",
54
+ TABLE_TITLE: "TABLE_TITLE",
55
+ VALUE: "VALUE",
56
+ };
57
+ exports.RelationshipType = {
58
+ ANSWER: "ANSWER",
59
+ CHILD: "CHILD",
60
+ COMPLEX_FEATURES: "COMPLEX_FEATURES",
61
+ MERGED_CELL: "MERGED_CELL",
62
+ TABLE: "TABLE",
63
+ TABLE_FOOTER: "TABLE_FOOTER",
64
+ TABLE_TITLE: "TABLE_TITLE",
65
+ TITLE: "TITLE",
66
+ VALUE: "VALUE",
67
+ };
68
+ exports.SelectionStatus = {
69
+ NOT_SELECTED: "NOT_SELECTED",
70
+ SELECTED: "SELECTED",
71
+ };
72
+ exports.TextType = {
73
+ HANDWRITING: "HANDWRITING",
74
+ PRINTED: "PRINTED",
75
+ };
83
76
  class BadDocumentException extends TextractServiceException_1.TextractServiceException {
84
77
  constructor(opts) {
85
78
  super({
@@ -218,17 +211,15 @@ class UnsupportedDocumentException extends TextractServiceException_1.TextractSe
218
211
  }
219
212
  }
220
213
  exports.UnsupportedDocumentException = UnsupportedDocumentException;
221
- var ValueType;
222
- (function (ValueType) {
223
- ValueType["DATE"] = "DATE";
224
- })(ValueType = exports.ValueType || (exports.ValueType = {}));
225
- var JobStatus;
226
- (function (JobStatus) {
227
- JobStatus["FAILED"] = "FAILED";
228
- JobStatus["IN_PROGRESS"] = "IN_PROGRESS";
229
- JobStatus["PARTIAL_SUCCESS"] = "PARTIAL_SUCCESS";
230
- JobStatus["SUCCEEDED"] = "SUCCEEDED";
231
- })(JobStatus = exports.JobStatus || (exports.JobStatus = {}));
214
+ exports.ValueType = {
215
+ DATE: "DATE",
216
+ };
217
+ exports.JobStatus = {
218
+ FAILED: "FAILED",
219
+ IN_PROGRESS: "IN_PROGRESS",
220
+ PARTIAL_SUCCESS: "PARTIAL_SUCCESS",
221
+ SUCCEEDED: "SUCCEEDED",
222
+ };
232
223
  class InvalidJobIdException extends TextractServiceException_1.TextractServiceException {
233
224
  constructor(opts) {
234
225
  super({
@@ -13,69 +13,62 @@ export class AccessDeniedException extends __BaseException {
13
13
  this.Code = opts.Code;
14
14
  }
15
15
  }
16
- export var FeatureType;
17
- (function (FeatureType) {
18
- FeatureType["FORMS"] = "FORMS";
19
- FeatureType["QUERIES"] = "QUERIES";
20
- FeatureType["SIGNATURES"] = "SIGNATURES";
21
- FeatureType["TABLES"] = "TABLES";
22
- })(FeatureType || (FeatureType = {}));
23
- export var ContentClassifier;
24
- (function (ContentClassifier) {
25
- ContentClassifier["FREE_OF_ADULT_CONTENT"] = "FreeOfAdultContent";
26
- ContentClassifier["FREE_OF_PERSONALLY_IDENTIFIABLE_INFORMATION"] = "FreeOfPersonallyIdentifiableInformation";
27
- })(ContentClassifier || (ContentClassifier = {}));
28
- export var BlockType;
29
- (function (BlockType) {
30
- BlockType["CELL"] = "CELL";
31
- BlockType["KEY_VALUE_SET"] = "KEY_VALUE_SET";
32
- BlockType["LINE"] = "LINE";
33
- BlockType["MERGED_CELL"] = "MERGED_CELL";
34
- BlockType["PAGE"] = "PAGE";
35
- BlockType["QUERY"] = "QUERY";
36
- BlockType["QUERY_RESULT"] = "QUERY_RESULT";
37
- BlockType["SELECTION_ELEMENT"] = "SELECTION_ELEMENT";
38
- BlockType["SIGNATURE"] = "SIGNATURE";
39
- BlockType["TABLE"] = "TABLE";
40
- BlockType["TABLE_FOOTER"] = "TABLE_FOOTER";
41
- BlockType["TABLE_TITLE"] = "TABLE_TITLE";
42
- BlockType["TITLE"] = "TITLE";
43
- BlockType["WORD"] = "WORD";
44
- })(BlockType || (BlockType = {}));
45
- export var EntityType;
46
- (function (EntityType) {
47
- EntityType["COLUMN_HEADER"] = "COLUMN_HEADER";
48
- EntityType["KEY"] = "KEY";
49
- EntityType["SEMI_STRUCTURED_TABLE"] = "SEMI_STRUCTURED_TABLE";
50
- EntityType["STRUCTURED_TABLE"] = "STRUCTURED_TABLE";
51
- EntityType["TABLE_FOOTER"] = "TABLE_FOOTER";
52
- EntityType["TABLE_SECTION_TITLE"] = "TABLE_SECTION_TITLE";
53
- EntityType["TABLE_SUMMARY"] = "TABLE_SUMMARY";
54
- EntityType["TABLE_TITLE"] = "TABLE_TITLE";
55
- EntityType["VALUE"] = "VALUE";
56
- })(EntityType || (EntityType = {}));
57
- export var RelationshipType;
58
- (function (RelationshipType) {
59
- RelationshipType["ANSWER"] = "ANSWER";
60
- RelationshipType["CHILD"] = "CHILD";
61
- RelationshipType["COMPLEX_FEATURES"] = "COMPLEX_FEATURES";
62
- RelationshipType["MERGED_CELL"] = "MERGED_CELL";
63
- RelationshipType["TABLE"] = "TABLE";
64
- RelationshipType["TABLE_FOOTER"] = "TABLE_FOOTER";
65
- RelationshipType["TABLE_TITLE"] = "TABLE_TITLE";
66
- RelationshipType["TITLE"] = "TITLE";
67
- RelationshipType["VALUE"] = "VALUE";
68
- })(RelationshipType || (RelationshipType = {}));
69
- export var SelectionStatus;
70
- (function (SelectionStatus) {
71
- SelectionStatus["NOT_SELECTED"] = "NOT_SELECTED";
72
- SelectionStatus["SELECTED"] = "SELECTED";
73
- })(SelectionStatus || (SelectionStatus = {}));
74
- export var TextType;
75
- (function (TextType) {
76
- TextType["HANDWRITING"] = "HANDWRITING";
77
- TextType["PRINTED"] = "PRINTED";
78
- })(TextType || (TextType = {}));
16
+ export const FeatureType = {
17
+ FORMS: "FORMS",
18
+ QUERIES: "QUERIES",
19
+ SIGNATURES: "SIGNATURES",
20
+ TABLES: "TABLES",
21
+ };
22
+ export const ContentClassifier = {
23
+ FREE_OF_ADULT_CONTENT: "FreeOfAdultContent",
24
+ FREE_OF_PERSONALLY_IDENTIFIABLE_INFORMATION: "FreeOfPersonallyIdentifiableInformation",
25
+ };
26
+ export const BlockType = {
27
+ CELL: "CELL",
28
+ KEY_VALUE_SET: "KEY_VALUE_SET",
29
+ LINE: "LINE",
30
+ MERGED_CELL: "MERGED_CELL",
31
+ PAGE: "PAGE",
32
+ QUERY: "QUERY",
33
+ QUERY_RESULT: "QUERY_RESULT",
34
+ SELECTION_ELEMENT: "SELECTION_ELEMENT",
35
+ SIGNATURE: "SIGNATURE",
36
+ TABLE: "TABLE",
37
+ TABLE_FOOTER: "TABLE_FOOTER",
38
+ TABLE_TITLE: "TABLE_TITLE",
39
+ TITLE: "TITLE",
40
+ WORD: "WORD",
41
+ };
42
+ export const EntityType = {
43
+ COLUMN_HEADER: "COLUMN_HEADER",
44
+ KEY: "KEY",
45
+ SEMI_STRUCTURED_TABLE: "SEMI_STRUCTURED_TABLE",
46
+ STRUCTURED_TABLE: "STRUCTURED_TABLE",
47
+ TABLE_FOOTER: "TABLE_FOOTER",
48
+ TABLE_SECTION_TITLE: "TABLE_SECTION_TITLE",
49
+ TABLE_SUMMARY: "TABLE_SUMMARY",
50
+ TABLE_TITLE: "TABLE_TITLE",
51
+ VALUE: "VALUE",
52
+ };
53
+ export const RelationshipType = {
54
+ ANSWER: "ANSWER",
55
+ CHILD: "CHILD",
56
+ COMPLEX_FEATURES: "COMPLEX_FEATURES",
57
+ MERGED_CELL: "MERGED_CELL",
58
+ TABLE: "TABLE",
59
+ TABLE_FOOTER: "TABLE_FOOTER",
60
+ TABLE_TITLE: "TABLE_TITLE",
61
+ TITLE: "TITLE",
62
+ VALUE: "VALUE",
63
+ };
64
+ export const SelectionStatus = {
65
+ NOT_SELECTED: "NOT_SELECTED",
66
+ SELECTED: "SELECTED",
67
+ };
68
+ export const TextType = {
69
+ HANDWRITING: "HANDWRITING",
70
+ PRINTED: "PRINTED",
71
+ };
79
72
  export class BadDocumentException extends __BaseException {
80
73
  constructor(opts) {
81
74
  super({
@@ -205,17 +198,15 @@ export class UnsupportedDocumentException extends __BaseException {
205
198
  this.Code = opts.Code;
206
199
  }
207
200
  }
208
- export var ValueType;
209
- (function (ValueType) {
210
- ValueType["DATE"] = "DATE";
211
- })(ValueType || (ValueType = {}));
212
- export var JobStatus;
213
- (function (JobStatus) {
214
- JobStatus["FAILED"] = "FAILED";
215
- JobStatus["IN_PROGRESS"] = "IN_PROGRESS";
216
- JobStatus["PARTIAL_SUCCESS"] = "PARTIAL_SUCCESS";
217
- JobStatus["SUCCEEDED"] = "SUCCEEDED";
218
- })(JobStatus || (JobStatus = {}));
201
+ export const ValueType = {
202
+ DATE: "DATE",
203
+ };
204
+ export const JobStatus = {
205
+ FAILED: "FAILED",
206
+ IN_PROGRESS: "IN_PROGRESS",
207
+ PARTIAL_SUCCESS: "PARTIAL_SUCCESS",
208
+ SUCCEEDED: "SUCCEEDED",
209
+ };
219
210
  export class InvalidJobIdException extends __BaseException {
220
211
  constructor(opts) {
221
212
  super({
@@ -72,33 +72,33 @@ export interface AnalyzeDocumentCommandOutput extends AnalyzeDocumentResponse, _
72
72
  * import { TextractClient, AnalyzeDocumentCommand } from "@aws-sdk/client-textract"; // ES Modules import
73
73
  * // const { TextractClient, AnalyzeDocumentCommand } = require("@aws-sdk/client-textract"); // CommonJS import
74
74
  * const client = new TextractClient(config);
75
- * const input = {
76
- * Document: {
75
+ * const input = { // AnalyzeDocumentRequest
76
+ * Document: { // Document
77
77
  * Bytes: "BLOB_VALUE",
78
- * S3Object: {
78
+ * S3Object: { // S3Object
79
79
  * Bucket: "STRING_VALUE",
80
80
  * Name: "STRING_VALUE",
81
81
  * Version: "STRING_VALUE",
82
82
  * },
83
83
  * },
84
- * FeatureTypes: [ // required
84
+ * FeatureTypes: [ // FeatureTypes // required
85
85
  * "TABLES" || "FORMS" || "QUERIES" || "SIGNATURES",
86
86
  * ],
87
- * HumanLoopConfig: {
87
+ * HumanLoopConfig: { // HumanLoopConfig
88
88
  * HumanLoopName: "STRING_VALUE", // required
89
89
  * FlowDefinitionArn: "STRING_VALUE", // required
90
- * DataAttributes: {
91
- * ContentClassifiers: [
90
+ * DataAttributes: { // HumanLoopDataAttributes
91
+ * ContentClassifiers: [ // ContentClassifiers
92
92
  * "FreeOfPersonallyIdentifiableInformation" || "FreeOfAdultContent",
93
93
  * ],
94
94
  * },
95
95
  * },
96
- * QueriesConfig: {
97
- * Queries: [ // required
98
- * {
96
+ * QueriesConfig: { // QueriesConfig
97
+ * Queries: [ // Queries // required
98
+ * { // Query
99
99
  * Text: "STRING_VALUE", // required
100
100
  * Alias: "STRING_VALUE",
101
- * Pages: [
101
+ * Pages: [ // QueryPages
102
102
  * "STRING_VALUE",
103
103
  * ],
104
104
  * },
@@ -43,10 +43,10 @@ export interface AnalyzeExpenseCommandOutput extends AnalyzeExpenseResponse, __M
43
43
  * import { TextractClient, AnalyzeExpenseCommand } from "@aws-sdk/client-textract"; // ES Modules import
44
44
  * // const { TextractClient, AnalyzeExpenseCommand } = require("@aws-sdk/client-textract"); // CommonJS import
45
45
  * const client = new TextractClient(config);
46
- * const input = {
47
- * Document: {
46
+ * const input = { // AnalyzeExpenseRequest
47
+ * Document: { // Document
48
48
  * Bytes: "BLOB_VALUE",
49
- * S3Object: {
49
+ * S3Object: { // S3Object
50
50
  * Bucket: "STRING_VALUE",
51
51
  * Name: "STRING_VALUE",
52
52
  * Version: "STRING_VALUE",
@@ -29,11 +29,11 @@ export interface AnalyzeIDCommandOutput extends AnalyzeIDResponse, __MetadataBea
29
29
  * import { TextractClient, AnalyzeIDCommand } from "@aws-sdk/client-textract"; // ES Modules import
30
30
  * // const { TextractClient, AnalyzeIDCommand } = require("@aws-sdk/client-textract"); // CommonJS import
31
31
  * const client = new TextractClient(config);
32
- * const input = {
33
- * DocumentPages: [ // required
34
- * {
32
+ * const input = { // AnalyzeIDRequest
33
+ * DocumentPages: [ // DocumentPages // required
34
+ * { // Document
35
35
  * Bytes: "BLOB_VALUE",
36
- * S3Object: {
36
+ * S3Object: { // S3Object
37
37
  * Bucket: "STRING_VALUE",
38
38
  * Name: "STRING_VALUE",
39
39
  * Version: "STRING_VALUE",
@@ -36,10 +36,10 @@ export interface DetectDocumentTextCommandOutput extends DetectDocumentTextRespo
36
36
  * import { TextractClient, DetectDocumentTextCommand } from "@aws-sdk/client-textract"; // ES Modules import
37
37
  * // const { TextractClient, DetectDocumentTextCommand } = require("@aws-sdk/client-textract"); // CommonJS import
38
38
  * const client = new TextractClient(config);
39
- * const input = {
40
- * Document: {
39
+ * const input = { // DetectDocumentTextRequest
40
+ * Document: { // Document
41
41
  * Bytes: "BLOB_VALUE",
42
- * S3Object: {
42
+ * S3Object: { // S3Object
43
43
  * Bucket: "STRING_VALUE",
44
44
  * Name: "STRING_VALUE",
45
45
  * Version: "STRING_VALUE",
@@ -86,7 +86,7 @@ export interface GetDocumentAnalysisCommandOutput extends GetDocumentAnalysisRes
86
86
  * import { TextractClient, GetDocumentAnalysisCommand } from "@aws-sdk/client-textract"; // ES Modules import
87
87
  * // const { TextractClient, GetDocumentAnalysisCommand } = require("@aws-sdk/client-textract"); // CommonJS import
88
88
  * const client = new TextractClient(config);
89
- * const input = {
89
+ * const input = { // GetDocumentAnalysisRequest
90
90
  * JobId: "STRING_VALUE", // required
91
91
  * MaxResults: Number("int"),
92
92
  * NextToken: "STRING_VALUE",
@@ -49,7 +49,7 @@ export interface GetDocumentTextDetectionCommandOutput extends GetDocumentTextDe
49
49
  * import { TextractClient, GetDocumentTextDetectionCommand } from "@aws-sdk/client-textract"; // ES Modules import
50
50
  * // const { TextractClient, GetDocumentTextDetectionCommand } = require("@aws-sdk/client-textract"); // CommonJS import
51
51
  * const client = new TextractClient(config);
52
- * const input = {
52
+ * const input = { // GetDocumentTextDetectionRequest
53
53
  * JobId: "STRING_VALUE", // required
54
54
  * MaxResults: Number("int"),
55
55
  * NextToken: "STRING_VALUE",
@@ -42,7 +42,7 @@ export interface GetExpenseAnalysisCommandOutput extends GetExpenseAnalysisRespo
42
42
  * import { TextractClient, GetExpenseAnalysisCommand } from "@aws-sdk/client-textract"; // ES Modules import
43
43
  * // const { TextractClient, GetExpenseAnalysisCommand } = require("@aws-sdk/client-textract"); // CommonJS import
44
44
  * const client = new TextractClient(config);
45
- * const input = {
45
+ * const input = { // GetExpenseAnalysisRequest
46
46
  * JobId: "STRING_VALUE", // required
47
47
  * MaxResults: Number("int"),
48
48
  * NextToken: "STRING_VALUE",
@@ -36,7 +36,7 @@ export interface GetLendingAnalysisCommandOutput extends GetLendingAnalysisRespo
36
36
  * import { TextractClient, GetLendingAnalysisCommand } from "@aws-sdk/client-textract"; // ES Modules import
37
37
  * // const { TextractClient, GetLendingAnalysisCommand } = require("@aws-sdk/client-textract"); // CommonJS import
38
38
  * const client = new TextractClient(config);
39
- * const input = {
39
+ * const input = { // GetLendingAnalysisRequest
40
40
  * JobId: "STRING_VALUE", // required
41
41
  * MaxResults: Number("int"),
42
42
  * NextToken: "STRING_VALUE",
@@ -37,7 +37,7 @@ export interface GetLendingAnalysisSummaryCommandOutput extends GetLendingAnalys
37
37
  * import { TextractClient, GetLendingAnalysisSummaryCommand } from "@aws-sdk/client-textract"; // ES Modules import
38
38
  * // const { TextractClient, GetLendingAnalysisSummaryCommand } = require("@aws-sdk/client-textract"); // CommonJS import
39
39
  * const client = new TextractClient(config);
40
- * const input = {
40
+ * const input = { // GetLendingAnalysisSummaryRequest
41
41
  * JobId: "STRING_VALUE", // required
42
42
  * };
43
43
  * const command = new GetLendingAnalysisSummaryCommand(input);
@@ -42,34 +42,34 @@ export interface StartDocumentAnalysisCommandOutput extends StartDocumentAnalysi
42
42
  * import { TextractClient, StartDocumentAnalysisCommand } from "@aws-sdk/client-textract"; // ES Modules import
43
43
  * // const { TextractClient, StartDocumentAnalysisCommand } = require("@aws-sdk/client-textract"); // CommonJS import
44
44
  * const client = new TextractClient(config);
45
- * const input = {
46
- * DocumentLocation: {
47
- * S3Object: {
45
+ * const input = { // StartDocumentAnalysisRequest
46
+ * DocumentLocation: { // DocumentLocation
47
+ * S3Object: { // S3Object
48
48
  * Bucket: "STRING_VALUE",
49
49
  * Name: "STRING_VALUE",
50
50
  * Version: "STRING_VALUE",
51
51
  * },
52
52
  * },
53
- * FeatureTypes: [ // required
53
+ * FeatureTypes: [ // FeatureTypes // required
54
54
  * "TABLES" || "FORMS" || "QUERIES" || "SIGNATURES",
55
55
  * ],
56
56
  * ClientRequestToken: "STRING_VALUE",
57
57
  * JobTag: "STRING_VALUE",
58
- * NotificationChannel: {
58
+ * NotificationChannel: { // NotificationChannel
59
59
  * SNSTopicArn: "STRING_VALUE", // required
60
60
  * RoleArn: "STRING_VALUE", // required
61
61
  * },
62
- * OutputConfig: {
62
+ * OutputConfig: { // OutputConfig
63
63
  * S3Bucket: "STRING_VALUE", // required
64
64
  * S3Prefix: "STRING_VALUE",
65
65
  * },
66
66
  * KMSKeyId: "STRING_VALUE",
67
- * QueriesConfig: {
68
- * Queries: [ // required
69
- * {
67
+ * QueriesConfig: { // QueriesConfig
68
+ * Queries: [ // Queries // required
69
+ * { // Query
70
70
  * Text: "STRING_VALUE", // required
71
71
  * Alias: "STRING_VALUE",
72
- * Pages: [
72
+ * Pages: [ // QueryPages
73
73
  * "STRING_VALUE",
74
74
  * ],
75
75
  * },
@@ -42,9 +42,9 @@ export interface StartDocumentTextDetectionCommandOutput extends StartDocumentTe
42
42
  * import { TextractClient, StartDocumentTextDetectionCommand } from "@aws-sdk/client-textract"; // ES Modules import
43
43
  * // const { TextractClient, StartDocumentTextDetectionCommand } = require("@aws-sdk/client-textract"); // CommonJS import
44
44
  * const client = new TextractClient(config);
45
- * const input = {
46
- * DocumentLocation: {
47
- * S3Object: {
45
+ * const input = { // StartDocumentTextDetectionRequest
46
+ * DocumentLocation: { // DocumentLocation
47
+ * S3Object: { // S3Object
48
48
  * Bucket: "STRING_VALUE",
49
49
  * Name: "STRING_VALUE",
50
50
  * Version: "STRING_VALUE",
@@ -52,11 +52,11 @@ export interface StartDocumentTextDetectionCommandOutput extends StartDocumentTe
52
52
  * },
53
53
  * ClientRequestToken: "STRING_VALUE",
54
54
  * JobTag: "STRING_VALUE",
55
- * NotificationChannel: {
55
+ * NotificationChannel: { // NotificationChannel
56
56
  * SNSTopicArn: "STRING_VALUE", // required
57
57
  * RoleArn: "STRING_VALUE", // required
58
58
  * },
59
- * OutputConfig: {
59
+ * OutputConfig: { // OutputConfig
60
60
  * S3Bucket: "STRING_VALUE", // required
61
61
  * S3Prefix: "STRING_VALUE",
62
62
  * },
@@ -40,9 +40,9 @@ export interface StartExpenseAnalysisCommandOutput extends StartExpenseAnalysisR
40
40
  * import { TextractClient, StartExpenseAnalysisCommand } from "@aws-sdk/client-textract"; // ES Modules import
41
41
  * // const { TextractClient, StartExpenseAnalysisCommand } = require("@aws-sdk/client-textract"); // CommonJS import
42
42
  * const client = new TextractClient(config);
43
- * const input = {
44
- * DocumentLocation: {
45
- * S3Object: {
43
+ * const input = { // StartExpenseAnalysisRequest
44
+ * DocumentLocation: { // DocumentLocation
45
+ * S3Object: { // S3Object
46
46
  * Bucket: "STRING_VALUE",
47
47
  * Name: "STRING_VALUE",
48
48
  * Version: "STRING_VALUE",
@@ -50,11 +50,11 @@ export interface StartExpenseAnalysisCommandOutput extends StartExpenseAnalysisR
50
50
  * },
51
51
  * ClientRequestToken: "STRING_VALUE",
52
52
  * JobTag: "STRING_VALUE",
53
- * NotificationChannel: {
53
+ * NotificationChannel: { // NotificationChannel
54
54
  * SNSTopicArn: "STRING_VALUE", // required
55
55
  * RoleArn: "STRING_VALUE", // required
56
56
  * },
57
- * OutputConfig: {
57
+ * OutputConfig: { // OutputConfig
58
58
  * S3Bucket: "STRING_VALUE", // required
59
59
  * S3Prefix: "STRING_VALUE",
60
60
  * },
@@ -56,9 +56,9 @@ export interface StartLendingAnalysisCommandOutput extends StartLendingAnalysisR
56
56
  * import { TextractClient, StartLendingAnalysisCommand } from "@aws-sdk/client-textract"; // ES Modules import
57
57
  * // const { TextractClient, StartLendingAnalysisCommand } = require("@aws-sdk/client-textract"); // CommonJS import
58
58
  * const client = new TextractClient(config);
59
- * const input = {
60
- * DocumentLocation: {
61
- * S3Object: {
59
+ * const input = { // StartLendingAnalysisRequest
60
+ * DocumentLocation: { // DocumentLocation
61
+ * S3Object: { // S3Object
62
62
  * Bucket: "STRING_VALUE",
63
63
  * Name: "STRING_VALUE",
64
64
  * Version: "STRING_VALUE",
@@ -66,11 +66,11 @@ export interface StartLendingAnalysisCommandOutput extends StartLendingAnalysisR
66
66
  * },
67
67
  * ClientRequestToken: "STRING_VALUE",
68
68
  * JobTag: "STRING_VALUE",
69
- * NotificationChannel: {
69
+ * NotificationChannel: { // NotificationChannel
70
70
  * SNSTopicArn: "STRING_VALUE", // required
71
71
  * RoleArn: "STRING_VALUE", // required
72
72
  * },
73
- * OutputConfig: {
73
+ * OutputConfig: { // OutputConfig
74
74
  * S3Bucket: "STRING_VALUE", // required
75
75
  * S3Prefix: "STRING_VALUE",
76
76
  * },
@@ -76,20 +76,30 @@ export interface Document {
76
76
  }
77
77
  /**
78
78
  * @public
79
+ * @enum
79
80
  */
80
- export declare enum FeatureType {
81
- FORMS = "FORMS",
82
- QUERIES = "QUERIES",
83
- SIGNATURES = "SIGNATURES",
84
- TABLES = "TABLES"
85
- }
81
+ export declare const FeatureType: {
82
+ readonly FORMS: "FORMS";
83
+ readonly QUERIES: "QUERIES";
84
+ readonly SIGNATURES: "SIGNATURES";
85
+ readonly TABLES: "TABLES";
86
+ };
86
87
  /**
87
88
  * @public
88
89
  */
89
- export declare enum ContentClassifier {
90
- FREE_OF_ADULT_CONTENT = "FreeOfAdultContent",
91
- FREE_OF_PERSONALLY_IDENTIFIABLE_INFORMATION = "FreeOfPersonallyIdentifiableInformation"
92
- }
90
+ export type FeatureType = (typeof FeatureType)[keyof typeof FeatureType];
91
+ /**
92
+ * @public
93
+ * @enum
94
+ */
95
+ export declare const ContentClassifier: {
96
+ readonly FREE_OF_ADULT_CONTENT: "FreeOfAdultContent";
97
+ readonly FREE_OF_PERSONALLY_IDENTIFIABLE_INFORMATION: "FreeOfPersonallyIdentifiableInformation";
98
+ };
99
+ /**
100
+ * @public
101
+ */
102
+ export type ContentClassifier = (typeof ContentClassifier)[keyof typeof ContentClassifier];
93
103
  /**
94
104
  * @public
95
105
  * <p>Allows you to set attributes of the image. Currently, you can declare an image as free
@@ -204,37 +214,47 @@ export interface AnalyzeDocumentRequest {
204
214
  }
205
215
  /**
206
216
  * @public
217
+ * @enum
207
218
  */
208
- export declare enum BlockType {
209
- CELL = "CELL",
210
- KEY_VALUE_SET = "KEY_VALUE_SET",
211
- LINE = "LINE",
212
- MERGED_CELL = "MERGED_CELL",
213
- PAGE = "PAGE",
214
- QUERY = "QUERY",
215
- QUERY_RESULT = "QUERY_RESULT",
216
- SELECTION_ELEMENT = "SELECTION_ELEMENT",
217
- SIGNATURE = "SIGNATURE",
218
- TABLE = "TABLE",
219
- TABLE_FOOTER = "TABLE_FOOTER",
220
- TABLE_TITLE = "TABLE_TITLE",
221
- TITLE = "TITLE",
222
- WORD = "WORD"
223
- }
219
+ export declare const BlockType: {
220
+ readonly CELL: "CELL";
221
+ readonly KEY_VALUE_SET: "KEY_VALUE_SET";
222
+ readonly LINE: "LINE";
223
+ readonly MERGED_CELL: "MERGED_CELL";
224
+ readonly PAGE: "PAGE";
225
+ readonly QUERY: "QUERY";
226
+ readonly QUERY_RESULT: "QUERY_RESULT";
227
+ readonly SELECTION_ELEMENT: "SELECTION_ELEMENT";
228
+ readonly SIGNATURE: "SIGNATURE";
229
+ readonly TABLE: "TABLE";
230
+ readonly TABLE_FOOTER: "TABLE_FOOTER";
231
+ readonly TABLE_TITLE: "TABLE_TITLE";
232
+ readonly TITLE: "TITLE";
233
+ readonly WORD: "WORD";
234
+ };
224
235
  /**
225
236
  * @public
226
237
  */
227
- export declare enum EntityType {
228
- COLUMN_HEADER = "COLUMN_HEADER",
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",
236
- VALUE = "VALUE"
237
- }
238
+ export type BlockType = (typeof BlockType)[keyof typeof BlockType];
239
+ /**
240
+ * @public
241
+ * @enum
242
+ */
243
+ export declare const EntityType: {
244
+ readonly COLUMN_HEADER: "COLUMN_HEADER";
245
+ readonly KEY: "KEY";
246
+ readonly SEMI_STRUCTURED_TABLE: "SEMI_STRUCTURED_TABLE";
247
+ readonly STRUCTURED_TABLE: "STRUCTURED_TABLE";
248
+ readonly TABLE_FOOTER: "TABLE_FOOTER";
249
+ readonly TABLE_SECTION_TITLE: "TABLE_SECTION_TITLE";
250
+ readonly TABLE_SUMMARY: "TABLE_SUMMARY";
251
+ readonly TABLE_TITLE: "TABLE_TITLE";
252
+ readonly VALUE: "VALUE";
253
+ };
254
+ /**
255
+ * @public
256
+ */
257
+ export type EntityType = (typeof EntityType)[keyof typeof EntityType];
238
258
  /**
239
259
  * @public
240
260
  * <p>The bounding box around the detected page, text, key-value pair, table, table cell, or
@@ -311,18 +331,23 @@ export interface Geometry {
311
331
  }
312
332
  /**
313
333
  * @public
334
+ * @enum
314
335
  */
315
- export declare enum RelationshipType {
316
- ANSWER = "ANSWER",
317
- CHILD = "CHILD",
318
- COMPLEX_FEATURES = "COMPLEX_FEATURES",
319
- MERGED_CELL = "MERGED_CELL",
320
- TABLE = "TABLE",
321
- TABLE_FOOTER = "TABLE_FOOTER",
322
- TABLE_TITLE = "TABLE_TITLE",
323
- TITLE = "TITLE",
324
- VALUE = "VALUE"
325
- }
336
+ export declare const RelationshipType: {
337
+ readonly ANSWER: "ANSWER";
338
+ readonly CHILD: "CHILD";
339
+ readonly COMPLEX_FEATURES: "COMPLEX_FEATURES";
340
+ readonly MERGED_CELL: "MERGED_CELL";
341
+ readonly TABLE: "TABLE";
342
+ readonly TABLE_FOOTER: "TABLE_FOOTER";
343
+ readonly TABLE_TITLE: "TABLE_TITLE";
344
+ readonly TITLE: "TITLE";
345
+ readonly VALUE: "VALUE";
346
+ };
347
+ /**
348
+ * @public
349
+ */
350
+ export type RelationshipType = (typeof RelationshipType)[keyof typeof RelationshipType];
326
351
  /**
327
352
  * @public
328
353
  * <p>Information about how blocks are related to each other. A <code>Block</code> object
@@ -384,18 +409,28 @@ export interface Relationship {
384
409
  }
385
410
  /**
386
411
  * @public
412
+ * @enum
387
413
  */
388
- export declare enum SelectionStatus {
389
- NOT_SELECTED = "NOT_SELECTED",
390
- SELECTED = "SELECTED"
391
- }
414
+ export declare const SelectionStatus: {
415
+ readonly NOT_SELECTED: "NOT_SELECTED";
416
+ readonly SELECTED: "SELECTED";
417
+ };
392
418
  /**
393
419
  * @public
394
420
  */
395
- export declare enum TextType {
396
- HANDWRITING = "HANDWRITING",
397
- PRINTED = "PRINTED"
398
- }
421
+ export type SelectionStatus = (typeof SelectionStatus)[keyof typeof SelectionStatus];
422
+ /**
423
+ * @public
424
+ * @enum
425
+ */
426
+ export declare const TextType: {
427
+ readonly HANDWRITING: "HANDWRITING";
428
+ readonly PRINTED: "PRINTED";
429
+ };
430
+ /**
431
+ * @public
432
+ */
433
+ export type TextType = (typeof TextType)[keyof typeof TextType];
399
434
  /**
400
435
  * @public
401
436
  * <p>A <code>Block</code> represents items that are recognized in a document within a group
@@ -1070,10 +1105,15 @@ export interface AnalyzeIDRequest {
1070
1105
  }
1071
1106
  /**
1072
1107
  * @public
1108
+ * @enum
1073
1109
  */
1074
- export declare enum ValueType {
1075
- DATE = "DATE"
1076
- }
1110
+ export declare const ValueType: {
1111
+ readonly DATE: "DATE";
1112
+ };
1113
+ /**
1114
+ * @public
1115
+ */
1116
+ export type ValueType = (typeof ValueType)[keyof typeof ValueType];
1077
1117
  /**
1078
1118
  * @public
1079
1119
  * <p>Contains information relating to dates in a document, including the type
@@ -1375,13 +1415,18 @@ export interface GetDocumentAnalysisRequest {
1375
1415
  }
1376
1416
  /**
1377
1417
  * @public
1418
+ * @enum
1378
1419
  */
1379
- export declare enum JobStatus {
1380
- FAILED = "FAILED",
1381
- IN_PROGRESS = "IN_PROGRESS",
1382
- PARTIAL_SUCCESS = "PARTIAL_SUCCESS",
1383
- SUCCEEDED = "SUCCEEDED"
1384
- }
1420
+ export declare const JobStatus: {
1421
+ readonly FAILED: "FAILED";
1422
+ readonly IN_PROGRESS: "IN_PROGRESS";
1423
+ readonly PARTIAL_SUCCESS: "PARTIAL_SUCCESS";
1424
+ readonly SUCCEEDED: "SUCCEEDED";
1425
+ };
1426
+ /**
1427
+ * @public
1428
+ */
1429
+ export type JobStatus = (typeof JobStatus)[keyof typeof JobStatus];
1385
1430
  /**
1386
1431
  * @public
1387
1432
  * <p>A warning about an issue that occurred during asynchronous text analysis (<a>StartDocumentAnalysis</a>) or asynchronous document text detection (<a>StartDocumentTextDetection</a>). </p>
@@ -21,16 +21,19 @@ export interface Document {
21
21
  Bytes?: Uint8Array;
22
22
  S3Object?: S3Object;
23
23
  }
24
- export declare enum FeatureType {
25
- FORMS = "FORMS",
26
- QUERIES = "QUERIES",
27
- SIGNATURES = "SIGNATURES",
28
- TABLES = "TABLES",
29
- }
30
- export declare enum ContentClassifier {
31
- FREE_OF_ADULT_CONTENT = "FreeOfAdultContent",
32
- FREE_OF_PERSONALLY_IDENTIFIABLE_INFORMATION = "FreeOfPersonallyIdentifiableInformation",
33
- }
24
+ export declare const FeatureType: {
25
+ readonly FORMS: "FORMS";
26
+ readonly QUERIES: "QUERIES";
27
+ readonly SIGNATURES: "SIGNATURES";
28
+ readonly TABLES: "TABLES";
29
+ };
30
+ export type FeatureType = (typeof FeatureType)[keyof typeof FeatureType];
31
+ export declare const ContentClassifier: {
32
+ readonly FREE_OF_ADULT_CONTENT: "FreeOfAdultContent";
33
+ readonly FREE_OF_PERSONALLY_IDENTIFIABLE_INFORMATION: "FreeOfPersonallyIdentifiableInformation";
34
+ };
35
+ export type ContentClassifier =
36
+ (typeof ContentClassifier)[keyof typeof ContentClassifier];
34
37
  export interface HumanLoopDataAttributes {
35
38
  ContentClassifiers?: (ContentClassifier | string)[];
36
39
  }
@@ -53,33 +56,35 @@ export interface AnalyzeDocumentRequest {
53
56
  HumanLoopConfig?: HumanLoopConfig;
54
57
  QueriesConfig?: QueriesConfig;
55
58
  }
56
- export declare enum BlockType {
57
- CELL = "CELL",
58
- KEY_VALUE_SET = "KEY_VALUE_SET",
59
- LINE = "LINE",
60
- MERGED_CELL = "MERGED_CELL",
61
- PAGE = "PAGE",
62
- QUERY = "QUERY",
63
- QUERY_RESULT = "QUERY_RESULT",
64
- SELECTION_ELEMENT = "SELECTION_ELEMENT",
65
- SIGNATURE = "SIGNATURE",
66
- TABLE = "TABLE",
67
- TABLE_FOOTER = "TABLE_FOOTER",
68
- TABLE_TITLE = "TABLE_TITLE",
69
- TITLE = "TITLE",
70
- WORD = "WORD",
71
- }
72
- export declare enum EntityType {
73
- COLUMN_HEADER = "COLUMN_HEADER",
74
- KEY = "KEY",
75
- SEMI_STRUCTURED_TABLE = "SEMI_STRUCTURED_TABLE",
76
- STRUCTURED_TABLE = "STRUCTURED_TABLE",
77
- TABLE_FOOTER = "TABLE_FOOTER",
78
- TABLE_SECTION_TITLE = "TABLE_SECTION_TITLE",
79
- TABLE_SUMMARY = "TABLE_SUMMARY",
80
- TABLE_TITLE = "TABLE_TITLE",
81
- VALUE = "VALUE",
82
- }
59
+ export declare const BlockType: {
60
+ readonly CELL: "CELL";
61
+ readonly KEY_VALUE_SET: "KEY_VALUE_SET";
62
+ readonly LINE: "LINE";
63
+ readonly MERGED_CELL: "MERGED_CELL";
64
+ readonly PAGE: "PAGE";
65
+ readonly QUERY: "QUERY";
66
+ readonly QUERY_RESULT: "QUERY_RESULT";
67
+ readonly SELECTION_ELEMENT: "SELECTION_ELEMENT";
68
+ readonly SIGNATURE: "SIGNATURE";
69
+ readonly TABLE: "TABLE";
70
+ readonly TABLE_FOOTER: "TABLE_FOOTER";
71
+ readonly TABLE_TITLE: "TABLE_TITLE";
72
+ readonly TITLE: "TITLE";
73
+ readonly WORD: "WORD";
74
+ };
75
+ export type BlockType = (typeof BlockType)[keyof typeof BlockType];
76
+ export declare const EntityType: {
77
+ readonly COLUMN_HEADER: "COLUMN_HEADER";
78
+ readonly KEY: "KEY";
79
+ readonly SEMI_STRUCTURED_TABLE: "SEMI_STRUCTURED_TABLE";
80
+ readonly STRUCTURED_TABLE: "STRUCTURED_TABLE";
81
+ readonly TABLE_FOOTER: "TABLE_FOOTER";
82
+ readonly TABLE_SECTION_TITLE: "TABLE_SECTION_TITLE";
83
+ readonly TABLE_SUMMARY: "TABLE_SUMMARY";
84
+ readonly TABLE_TITLE: "TABLE_TITLE";
85
+ readonly VALUE: "VALUE";
86
+ };
87
+ export type EntityType = (typeof EntityType)[keyof typeof EntityType];
83
88
  export interface BoundingBox {
84
89
  Width?: number;
85
90
  Height?: number;
@@ -94,29 +99,34 @@ export interface Geometry {
94
99
  BoundingBox?: BoundingBox;
95
100
  Polygon?: Point[];
96
101
  }
97
- export declare enum RelationshipType {
98
- ANSWER = "ANSWER",
99
- CHILD = "CHILD",
100
- COMPLEX_FEATURES = "COMPLEX_FEATURES",
101
- MERGED_CELL = "MERGED_CELL",
102
- TABLE = "TABLE",
103
- TABLE_FOOTER = "TABLE_FOOTER",
104
- TABLE_TITLE = "TABLE_TITLE",
105
- TITLE = "TITLE",
106
- VALUE = "VALUE",
107
- }
102
+ export declare const RelationshipType: {
103
+ readonly ANSWER: "ANSWER";
104
+ readonly CHILD: "CHILD";
105
+ readonly COMPLEX_FEATURES: "COMPLEX_FEATURES";
106
+ readonly MERGED_CELL: "MERGED_CELL";
107
+ readonly TABLE: "TABLE";
108
+ readonly TABLE_FOOTER: "TABLE_FOOTER";
109
+ readonly TABLE_TITLE: "TABLE_TITLE";
110
+ readonly TITLE: "TITLE";
111
+ readonly VALUE: "VALUE";
112
+ };
113
+ export type RelationshipType =
114
+ (typeof RelationshipType)[keyof typeof RelationshipType];
108
115
  export interface Relationship {
109
116
  Type?: RelationshipType | string;
110
117
  Ids?: string[];
111
118
  }
112
- export declare enum SelectionStatus {
113
- NOT_SELECTED = "NOT_SELECTED",
114
- SELECTED = "SELECTED",
115
- }
116
- export declare enum TextType {
117
- HANDWRITING = "HANDWRITING",
118
- PRINTED = "PRINTED",
119
- }
119
+ export declare const SelectionStatus: {
120
+ readonly NOT_SELECTED: "NOT_SELECTED";
121
+ readonly SELECTED: "SELECTED";
122
+ };
123
+ export type SelectionStatus =
124
+ (typeof SelectionStatus)[keyof typeof SelectionStatus];
125
+ export declare const TextType: {
126
+ readonly HANDWRITING: "HANDWRITING";
127
+ readonly PRINTED: "PRINTED";
128
+ };
129
+ export type TextType = (typeof TextType)[keyof typeof TextType];
120
130
  export interface Block {
121
131
  BlockType?: BlockType | string;
122
132
  Confidence?: number;
@@ -286,9 +296,10 @@ export interface AnalyzeExpenseResponse {
286
296
  export interface AnalyzeIDRequest {
287
297
  DocumentPages: Document[] | undefined;
288
298
  }
289
- export declare enum ValueType {
290
- DATE = "DATE",
291
- }
299
+ export declare const ValueType: {
300
+ readonly DATE: "DATE";
301
+ };
302
+ export type ValueType = (typeof ValueType)[keyof typeof ValueType];
292
303
  export interface NormalizedValue {
293
304
  Value?: string;
294
305
  ValueType?: ValueType | string;
@@ -368,12 +379,13 @@ export interface GetDocumentAnalysisRequest {
368
379
  MaxResults?: number;
369
380
  NextToken?: string;
370
381
  }
371
- export declare enum JobStatus {
372
- FAILED = "FAILED",
373
- IN_PROGRESS = "IN_PROGRESS",
374
- PARTIAL_SUCCESS = "PARTIAL_SUCCESS",
375
- SUCCEEDED = "SUCCEEDED",
376
- }
382
+ export declare const JobStatus: {
383
+ readonly FAILED: "FAILED";
384
+ readonly IN_PROGRESS: "IN_PROGRESS";
385
+ readonly PARTIAL_SUCCESS: "PARTIAL_SUCCESS";
386
+ readonly SUCCEEDED: "SUCCEEDED";
387
+ };
388
+ export type JobStatus = (typeof JobStatus)[keyof typeof JobStatus];
377
389
  export interface Warning {
378
390
  ErrorCode?: string;
379
391
  Pages?: number[];
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-textract",
3
3
  "description": "AWS SDK for JavaScript Textract Client for Node.js, Browser and React Native",
4
- "version": "3.300.0",
4
+ "version": "3.303.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,42 +21,42 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.300.0",
25
- "@aws-sdk/config-resolver": "3.300.0",
26
- "@aws-sdk/credential-provider-node": "3.300.0",
27
- "@aws-sdk/fetch-http-handler": "3.296.0",
28
- "@aws-sdk/hash-node": "3.296.0",
29
- "@aws-sdk/invalid-dependency": "3.296.0",
30
- "@aws-sdk/middleware-content-length": "3.296.0",
31
- "@aws-sdk/middleware-endpoint": "3.299.0",
32
- "@aws-sdk/middleware-host-header": "3.296.0",
33
- "@aws-sdk/middleware-logger": "3.296.0",
34
- "@aws-sdk/middleware-recursion-detection": "3.296.0",
35
- "@aws-sdk/middleware-retry": "3.300.0",
36
- "@aws-sdk/middleware-serde": "3.296.0",
37
- "@aws-sdk/middleware-signing": "3.299.0",
38
- "@aws-sdk/middleware-stack": "3.296.0",
39
- "@aws-sdk/middleware-user-agent": "3.299.0",
40
- "@aws-sdk/node-config-provider": "3.300.0",
41
- "@aws-sdk/node-http-handler": "3.296.0",
42
- "@aws-sdk/protocol-http": "3.296.0",
43
- "@aws-sdk/smithy-client": "3.296.0",
44
- "@aws-sdk/types": "3.296.0",
45
- "@aws-sdk/url-parser": "3.296.0",
46
- "@aws-sdk/util-base64": "3.295.0",
47
- "@aws-sdk/util-body-length-browser": "3.295.0",
48
- "@aws-sdk/util-body-length-node": "3.295.0",
49
- "@aws-sdk/util-defaults-mode-browser": "3.296.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.300.0",
51
- "@aws-sdk/util-endpoints": "3.296.0",
52
- "@aws-sdk/util-retry": "3.296.0",
53
- "@aws-sdk/util-user-agent-browser": "3.299.0",
54
- "@aws-sdk/util-user-agent-node": "3.300.0",
55
- "@aws-sdk/util-utf8": "3.295.0",
24
+ "@aws-sdk/client-sts": "3.303.0",
25
+ "@aws-sdk/config-resolver": "3.303.0",
26
+ "@aws-sdk/credential-provider-node": "3.303.0",
27
+ "@aws-sdk/fetch-http-handler": "3.303.0",
28
+ "@aws-sdk/hash-node": "3.303.0",
29
+ "@aws-sdk/invalid-dependency": "3.303.0",
30
+ "@aws-sdk/middleware-content-length": "3.303.0",
31
+ "@aws-sdk/middleware-endpoint": "3.303.0",
32
+ "@aws-sdk/middleware-host-header": "3.303.0",
33
+ "@aws-sdk/middleware-logger": "3.303.0",
34
+ "@aws-sdk/middleware-recursion-detection": "3.303.0",
35
+ "@aws-sdk/middleware-retry": "3.303.0",
36
+ "@aws-sdk/middleware-serde": "3.303.0",
37
+ "@aws-sdk/middleware-signing": "3.303.0",
38
+ "@aws-sdk/middleware-stack": "3.303.0",
39
+ "@aws-sdk/middleware-user-agent": "3.303.0",
40
+ "@aws-sdk/node-config-provider": "3.303.0",
41
+ "@aws-sdk/node-http-handler": "3.303.0",
42
+ "@aws-sdk/protocol-http": "3.303.0",
43
+ "@aws-sdk/smithy-client": "3.303.0",
44
+ "@aws-sdk/types": "3.303.0",
45
+ "@aws-sdk/url-parser": "3.303.0",
46
+ "@aws-sdk/util-base64": "3.303.0",
47
+ "@aws-sdk/util-body-length-browser": "3.303.0",
48
+ "@aws-sdk/util-body-length-node": "3.303.0",
49
+ "@aws-sdk/util-defaults-mode-browser": "3.303.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.303.0",
51
+ "@aws-sdk/util-endpoints": "3.303.0",
52
+ "@aws-sdk/util-retry": "3.303.0",
53
+ "@aws-sdk/util-user-agent-browser": "3.303.0",
54
+ "@aws-sdk/util-user-agent-node": "3.303.0",
55
+ "@aws-sdk/util-utf8": "3.303.0",
56
56
  "tslib": "^2.5.0"
57
57
  },
58
58
  "devDependencies": {
59
- "@aws-sdk/service-client-documentation-generator": "3.295.0",
59
+ "@aws-sdk/service-client-documentation-generator": "3.303.0",
60
60
  "@tsconfig/node14": "1.0.3",
61
61
  "@types/node": "^14.14.31",
62
62
  "concurrently": "7.0.0",