@aws-sdk/client-textract 3.52.0 → 3.53.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.
- package/CHANGELOG.md +12 -0
- package/dist-cjs/index.js +3 -0
- package/dist-cjs/models/TextractServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +221 -2
- package/dist-cjs/protocols/Aws_json1_1.js +209 -766
- package/dist-es/index.js +1 -0
- package/dist-es/models/TextractServiceException.js +12 -0
- package/dist-es/models/models_0.js +206 -1
- package/dist-es/protocols/Aws_json1_1.js +387 -779
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/TextractServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +105 -44
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/TextractServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +77 -44
- package/package.json +25 -25
package/dist-types/index.d.ts
CHANGED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
|
|
2
|
+
/**
|
|
3
|
+
* Base exception class for all service exceptions from Textract service.
|
|
4
|
+
*/
|
|
5
|
+
export declare class TextractServiceException extends __ServiceException {
|
|
6
|
+
/**
|
|
7
|
+
* @internal
|
|
8
|
+
*/
|
|
9
|
+
constructor(options: __ServiceExceptionOptions);
|
|
10
|
+
}
|
|
@@ -1,14 +1,18 @@
|
|
|
1
|
-
import { LazyJsonString as __LazyJsonString } from "@aws-sdk/smithy-client";
|
|
2
|
-
import {
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType, LazyJsonString as __LazyJsonString } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { TextractServiceException as __BaseException } from "./TextractServiceException";
|
|
3
3
|
/**
|
|
4
4
|
* <p>You aren't authorized to perform the action. Use the Amazon Resource Name (ARN)
|
|
5
5
|
* of an authorized user or IAM role to perform the operation.</p>
|
|
6
6
|
*/
|
|
7
|
-
export
|
|
8
|
-
name: "AccessDeniedException";
|
|
9
|
-
$fault: "client";
|
|
7
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
8
|
+
readonly name: "AccessDeniedException";
|
|
9
|
+
readonly $fault: "client";
|
|
10
10
|
Message?: string;
|
|
11
11
|
Code?: string;
|
|
12
|
+
/**
|
|
13
|
+
* @internal
|
|
14
|
+
*/
|
|
15
|
+
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
12
16
|
}
|
|
13
17
|
/**
|
|
14
18
|
* <p>The S3 bucket name and file name that identifies the document.</p>
|
|
@@ -163,12 +167,15 @@ export declare enum BlockType {
|
|
|
163
167
|
CELL = "CELL",
|
|
164
168
|
KEY_VALUE_SET = "KEY_VALUE_SET",
|
|
165
169
|
LINE = "LINE",
|
|
170
|
+
MERGED_CELL = "MERGED_CELL",
|
|
166
171
|
PAGE = "PAGE",
|
|
167
172
|
SELECTION_ELEMENT = "SELECTION_ELEMENT",
|
|
168
173
|
TABLE = "TABLE",
|
|
174
|
+
TITLE = "TITLE",
|
|
169
175
|
WORD = "WORD"
|
|
170
176
|
}
|
|
171
177
|
export declare enum EntityType {
|
|
178
|
+
COLUMN_HEADER = "COLUMN_HEADER",
|
|
172
179
|
KEY = "KEY",
|
|
173
180
|
VALUE = "VALUE"
|
|
174
181
|
}
|
|
@@ -265,6 +272,8 @@ export declare namespace Geometry {
|
|
|
265
272
|
export declare enum RelationshipType {
|
|
266
273
|
CHILD = "CHILD",
|
|
267
274
|
COMPLEX_FEATURES = "COMPLEX_FEATURES",
|
|
275
|
+
MERGED_CELL = "MERGED_CELL",
|
|
276
|
+
TITLE = "TITLE",
|
|
268
277
|
VALUE = "VALUE"
|
|
269
278
|
}
|
|
270
279
|
/**
|
|
@@ -555,29 +564,37 @@ export declare namespace AnalyzeDocumentResponse {
|
|
|
555
564
|
* <p>Amazon Textract isn't able to read the document. For more information on the document
|
|
556
565
|
* limits in Amazon Textract, see <a>limits</a>.</p>
|
|
557
566
|
*/
|
|
558
|
-
export
|
|
559
|
-
name: "BadDocumentException";
|
|
560
|
-
$fault: "client";
|
|
567
|
+
export declare class BadDocumentException extends __BaseException {
|
|
568
|
+
readonly name: "BadDocumentException";
|
|
569
|
+
readonly $fault: "client";
|
|
561
570
|
Message?: string;
|
|
562
571
|
Code?: string;
|
|
572
|
+
/**
|
|
573
|
+
* @internal
|
|
574
|
+
*/
|
|
575
|
+
constructor(opts: __ExceptionOptionType<BadDocumentException, __BaseException>);
|
|
563
576
|
}
|
|
564
577
|
/**
|
|
565
578
|
* <p>The document can't be processed because it's too large. The maximum document size for
|
|
566
579
|
* synchronous operations 10 MB. The maximum document size for asynchronous operations is 500
|
|
567
580
|
* MB for PDF files.</p>
|
|
568
581
|
*/
|
|
569
|
-
export
|
|
570
|
-
name: "DocumentTooLargeException";
|
|
571
|
-
$fault: "client";
|
|
582
|
+
export declare class DocumentTooLargeException extends __BaseException {
|
|
583
|
+
readonly name: "DocumentTooLargeException";
|
|
584
|
+
readonly $fault: "client";
|
|
572
585
|
Message?: string;
|
|
573
586
|
Code?: string;
|
|
587
|
+
/**
|
|
588
|
+
* @internal
|
|
589
|
+
*/
|
|
590
|
+
constructor(opts: __ExceptionOptionType<DocumentTooLargeException, __BaseException>);
|
|
574
591
|
}
|
|
575
592
|
/**
|
|
576
593
|
* <p>Indicates you have exceeded the maximum number of active human in the loop workflows available</p>
|
|
577
594
|
*/
|
|
578
|
-
export
|
|
579
|
-
name: "HumanLoopQuotaExceededException";
|
|
580
|
-
$fault: "client";
|
|
595
|
+
export declare class HumanLoopQuotaExceededException extends __BaseException {
|
|
596
|
+
readonly name: "HumanLoopQuotaExceededException";
|
|
597
|
+
readonly $fault: "client";
|
|
581
598
|
/**
|
|
582
599
|
* <p>The resource type.</p>
|
|
583
600
|
*/
|
|
@@ -592,15 +609,23 @@ export interface HumanLoopQuotaExceededException extends __SmithyException, $Met
|
|
|
592
609
|
ServiceCode?: string;
|
|
593
610
|
Message?: string;
|
|
594
611
|
Code?: string;
|
|
612
|
+
/**
|
|
613
|
+
* @internal
|
|
614
|
+
*/
|
|
615
|
+
constructor(opts: __ExceptionOptionType<HumanLoopQuotaExceededException, __BaseException>);
|
|
595
616
|
}
|
|
596
617
|
/**
|
|
597
618
|
* <p>Amazon Textract experienced a service issue. Try your call again.</p>
|
|
598
619
|
*/
|
|
599
|
-
export
|
|
600
|
-
name: "InternalServerError";
|
|
601
|
-
$fault: "server";
|
|
620
|
+
export declare class InternalServerError extends __BaseException {
|
|
621
|
+
readonly name: "InternalServerError";
|
|
622
|
+
readonly $fault: "server";
|
|
602
623
|
Message?: string;
|
|
603
624
|
Code?: string;
|
|
625
|
+
/**
|
|
626
|
+
* @internal
|
|
627
|
+
*/
|
|
628
|
+
constructor(opts: __ExceptionOptionType<InternalServerError, __BaseException>);
|
|
604
629
|
}
|
|
605
630
|
/**
|
|
606
631
|
* <p>An input parameter violated a constraint. For example, in synchronous operations,
|
|
@@ -609,11 +634,15 @@ export interface InternalServerError extends __SmithyException, $MetadataBearer
|
|
|
609
634
|
* request parameter.
|
|
610
635
|
* Validate your parameter before calling the API operation again.</p>
|
|
611
636
|
*/
|
|
612
|
-
export
|
|
613
|
-
name: "InvalidParameterException";
|
|
614
|
-
$fault: "client";
|
|
637
|
+
export declare class InvalidParameterException extends __BaseException {
|
|
638
|
+
readonly name: "InvalidParameterException";
|
|
639
|
+
readonly $fault: "client";
|
|
615
640
|
Message?: string;
|
|
616
641
|
Code?: string;
|
|
642
|
+
/**
|
|
643
|
+
* @internal
|
|
644
|
+
*/
|
|
645
|
+
constructor(opts: __ExceptionOptionType<InvalidParameterException, __BaseException>);
|
|
617
646
|
}
|
|
618
647
|
/**
|
|
619
648
|
* <p>Amazon Textract is unable to access the S3 object that's specified in the request.
|
|
@@ -621,40 +650,56 @@ export interface InvalidParameterException extends __SmithyException, $MetadataB
|
|
|
621
650
|
* For troubleshooting information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/troubleshooting.html">Troubleshooting Amazon S3</a>
|
|
622
651
|
* </p>
|
|
623
652
|
*/
|
|
624
|
-
export
|
|
625
|
-
name: "InvalidS3ObjectException";
|
|
626
|
-
$fault: "client";
|
|
653
|
+
export declare class InvalidS3ObjectException extends __BaseException {
|
|
654
|
+
readonly name: "InvalidS3ObjectException";
|
|
655
|
+
readonly $fault: "client";
|
|
627
656
|
Message?: string;
|
|
628
657
|
Code?: string;
|
|
658
|
+
/**
|
|
659
|
+
* @internal
|
|
660
|
+
*/
|
|
661
|
+
constructor(opts: __ExceptionOptionType<InvalidS3ObjectException, __BaseException>);
|
|
629
662
|
}
|
|
630
663
|
/**
|
|
631
664
|
* <p>The number of requests exceeded your throughput limit. If you want to increase this limit,
|
|
632
665
|
* contact Amazon Textract.</p>
|
|
633
666
|
*/
|
|
634
|
-
export
|
|
635
|
-
name: "ProvisionedThroughputExceededException";
|
|
636
|
-
$fault: "client";
|
|
667
|
+
export declare class ProvisionedThroughputExceededException extends __BaseException {
|
|
668
|
+
readonly name: "ProvisionedThroughputExceededException";
|
|
669
|
+
readonly $fault: "client";
|
|
637
670
|
Message?: string;
|
|
638
671
|
Code?: string;
|
|
672
|
+
/**
|
|
673
|
+
* @internal
|
|
674
|
+
*/
|
|
675
|
+
constructor(opts: __ExceptionOptionType<ProvisionedThroughputExceededException, __BaseException>);
|
|
639
676
|
}
|
|
640
677
|
/**
|
|
641
678
|
* <p>Amazon Textract is temporarily unable to process the request. Try your call again.</p>
|
|
642
679
|
*/
|
|
643
|
-
export
|
|
644
|
-
name: "ThrottlingException";
|
|
645
|
-
$fault: "server";
|
|
680
|
+
export declare class ThrottlingException extends __BaseException {
|
|
681
|
+
readonly name: "ThrottlingException";
|
|
682
|
+
readonly $fault: "server";
|
|
646
683
|
Message?: string;
|
|
647
684
|
Code?: string;
|
|
685
|
+
/**
|
|
686
|
+
* @internal
|
|
687
|
+
*/
|
|
688
|
+
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
648
689
|
}
|
|
649
690
|
/**
|
|
650
691
|
* <p>The format of the input document isn't supported. Documents for synchronous operations can be in
|
|
651
692
|
* PNG or JPEG format only. Documents for asynchronous operations can be in PDF format.</p>
|
|
652
693
|
*/
|
|
653
|
-
export
|
|
654
|
-
name: "UnsupportedDocumentException";
|
|
655
|
-
$fault: "client";
|
|
694
|
+
export declare class UnsupportedDocumentException extends __BaseException {
|
|
695
|
+
readonly name: "UnsupportedDocumentException";
|
|
696
|
+
readonly $fault: "client";
|
|
656
697
|
Message?: string;
|
|
657
698
|
Code?: string;
|
|
699
|
+
/**
|
|
700
|
+
* @internal
|
|
701
|
+
*/
|
|
702
|
+
constructor(opts: __ExceptionOptionType<UnsupportedDocumentException, __BaseException>);
|
|
658
703
|
}
|
|
659
704
|
export interface AnalyzeExpenseRequest {
|
|
660
705
|
/**
|
|
@@ -1097,21 +1142,29 @@ export declare namespace GetDocumentAnalysisResponse {
|
|
|
1097
1142
|
* <p>An invalid job identifier was passed to <a>GetDocumentAnalysis</a> or to
|
|
1098
1143
|
* <a>GetDocumentAnalysis</a>.</p>
|
|
1099
1144
|
*/
|
|
1100
|
-
export
|
|
1101
|
-
name: "InvalidJobIdException";
|
|
1102
|
-
$fault: "client";
|
|
1145
|
+
export declare class InvalidJobIdException extends __BaseException {
|
|
1146
|
+
readonly name: "InvalidJobIdException";
|
|
1147
|
+
readonly $fault: "client";
|
|
1103
1148
|
Message?: string;
|
|
1104
1149
|
Code?: string;
|
|
1150
|
+
/**
|
|
1151
|
+
* @internal
|
|
1152
|
+
*/
|
|
1153
|
+
constructor(opts: __ExceptionOptionType<InvalidJobIdException, __BaseException>);
|
|
1105
1154
|
}
|
|
1106
1155
|
/**
|
|
1107
1156
|
* <p> Indicates you do not have decrypt permissions with the KMS key entered, or the KMS key
|
|
1108
1157
|
* was entered incorrectly. </p>
|
|
1109
1158
|
*/
|
|
1110
|
-
export
|
|
1111
|
-
name: "InvalidKMSKeyException";
|
|
1112
|
-
$fault: "client";
|
|
1159
|
+
export declare class InvalidKMSKeyException extends __BaseException {
|
|
1160
|
+
readonly name: "InvalidKMSKeyException";
|
|
1161
|
+
readonly $fault: "client";
|
|
1113
1162
|
Message?: string;
|
|
1114
1163
|
Code?: string;
|
|
1164
|
+
/**
|
|
1165
|
+
* @internal
|
|
1166
|
+
*/
|
|
1167
|
+
constructor(opts: __ExceptionOptionType<InvalidKMSKeyException, __BaseException>);
|
|
1115
1168
|
}
|
|
1116
1169
|
export interface GetDocumentTextDetectionRequest {
|
|
1117
1170
|
/**
|
|
@@ -1244,11 +1297,15 @@ export declare namespace GetExpenseAnalysisResponse {
|
|
|
1244
1297
|
* least one of the other input parameters is different from the previous call to the
|
|
1245
1298
|
* operation. </p>
|
|
1246
1299
|
*/
|
|
1247
|
-
export
|
|
1248
|
-
name: "IdempotentParameterMismatchException";
|
|
1249
|
-
$fault: "client";
|
|
1300
|
+
export declare class IdempotentParameterMismatchException extends __BaseException {
|
|
1301
|
+
readonly name: "IdempotentParameterMismatchException";
|
|
1302
|
+
readonly $fault: "client";
|
|
1250
1303
|
Message?: string;
|
|
1251
1304
|
Code?: string;
|
|
1305
|
+
/**
|
|
1306
|
+
* @internal
|
|
1307
|
+
*/
|
|
1308
|
+
constructor(opts: __ExceptionOptionType<IdempotentParameterMismatchException, __BaseException>);
|
|
1252
1309
|
}
|
|
1253
1310
|
/**
|
|
1254
1311
|
* <p>An Amazon Textract service limit was exceeded. For example, if you start too many
|
|
@@ -1257,11 +1314,15 @@ export interface IdempotentParameterMismatchException extends __SmithyException,
|
|
|
1257
1314
|
* exception (HTTP status code: 400) until the number of concurrently running jobs is below
|
|
1258
1315
|
* the Amazon Textract service limit. </p>
|
|
1259
1316
|
*/
|
|
1260
|
-
export
|
|
1261
|
-
name: "LimitExceededException";
|
|
1262
|
-
$fault: "client";
|
|
1317
|
+
export declare class LimitExceededException extends __BaseException {
|
|
1318
|
+
readonly name: "LimitExceededException";
|
|
1319
|
+
readonly $fault: "client";
|
|
1263
1320
|
Message?: string;
|
|
1264
1321
|
Code?: string;
|
|
1322
|
+
/**
|
|
1323
|
+
* @internal
|
|
1324
|
+
*/
|
|
1325
|
+
constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
|
|
1265
1326
|
}
|
|
1266
1327
|
/**
|
|
1267
1328
|
* <p>The Amazon Simple Notification Service (Amazon SNS) topic to which Amazon Textract publishes the completion status of
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
|
|
2
|
+
|
|
3
|
+
export declare class TextractServiceException extends __ServiceException {
|
|
4
|
+
|
|
5
|
+
constructor(options: __ServiceExceptionOptions);
|
|
6
|
+
}
|
|
@@ -1,11 +1,13 @@
|
|
|
1
|
-
import { LazyJsonString as __LazyJsonString } from "@aws-sdk/smithy-client";
|
|
2
|
-
import {
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType, LazyJsonString as __LazyJsonString } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { TextractServiceException as __BaseException } from "./TextractServiceException";
|
|
3
3
|
|
|
4
|
-
export
|
|
5
|
-
name: "AccessDeniedException";
|
|
6
|
-
$fault: "client";
|
|
4
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
5
|
+
readonly name: "AccessDeniedException";
|
|
6
|
+
readonly $fault: "client";
|
|
7
7
|
Message?: string;
|
|
8
8
|
Code?: string;
|
|
9
|
+
|
|
10
|
+
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
9
11
|
}
|
|
10
12
|
|
|
11
13
|
export interface S3Object {
|
|
@@ -77,12 +79,15 @@ export declare enum BlockType {
|
|
|
77
79
|
CELL = "CELL",
|
|
78
80
|
KEY_VALUE_SET = "KEY_VALUE_SET",
|
|
79
81
|
LINE = "LINE",
|
|
82
|
+
MERGED_CELL = "MERGED_CELL",
|
|
80
83
|
PAGE = "PAGE",
|
|
81
84
|
SELECTION_ELEMENT = "SELECTION_ELEMENT",
|
|
82
85
|
TABLE = "TABLE",
|
|
86
|
+
TITLE = "TITLE",
|
|
83
87
|
WORD = "WORD"
|
|
84
88
|
}
|
|
85
89
|
export declare enum EntityType {
|
|
90
|
+
COLUMN_HEADER = "COLUMN_HEADER",
|
|
86
91
|
KEY = "KEY",
|
|
87
92
|
VALUE = "VALUE"
|
|
88
93
|
}
|
|
@@ -126,6 +131,8 @@ export declare namespace Geometry {
|
|
|
126
131
|
export declare enum RelationshipType {
|
|
127
132
|
CHILD = "CHILD",
|
|
128
133
|
COMPLEX_FEATURES = "COMPLEX_FEATURES",
|
|
134
|
+
MERGED_CELL = "MERGED_CELL",
|
|
135
|
+
TITLE = "TITLE",
|
|
129
136
|
VALUE = "VALUE"
|
|
130
137
|
}
|
|
131
138
|
|
|
@@ -219,23 +226,27 @@ export declare namespace AnalyzeDocumentResponse {
|
|
|
219
226
|
const filterSensitiveLog: (obj: AnalyzeDocumentResponse) => any;
|
|
220
227
|
}
|
|
221
228
|
|
|
222
|
-
export
|
|
223
|
-
name: "BadDocumentException";
|
|
224
|
-
$fault: "client";
|
|
229
|
+
export declare class BadDocumentException extends __BaseException {
|
|
230
|
+
readonly name: "BadDocumentException";
|
|
231
|
+
readonly $fault: "client";
|
|
225
232
|
Message?: string;
|
|
226
233
|
Code?: string;
|
|
234
|
+
|
|
235
|
+
constructor(opts: __ExceptionOptionType<BadDocumentException, __BaseException>);
|
|
227
236
|
}
|
|
228
237
|
|
|
229
|
-
export
|
|
230
|
-
name: "DocumentTooLargeException";
|
|
231
|
-
$fault: "client";
|
|
238
|
+
export declare class DocumentTooLargeException extends __BaseException {
|
|
239
|
+
readonly name: "DocumentTooLargeException";
|
|
240
|
+
readonly $fault: "client";
|
|
232
241
|
Message?: string;
|
|
233
242
|
Code?: string;
|
|
243
|
+
|
|
244
|
+
constructor(opts: __ExceptionOptionType<DocumentTooLargeException, __BaseException>);
|
|
234
245
|
}
|
|
235
246
|
|
|
236
|
-
export
|
|
237
|
-
name: "HumanLoopQuotaExceededException";
|
|
238
|
-
$fault: "client";
|
|
247
|
+
export declare class HumanLoopQuotaExceededException extends __BaseException {
|
|
248
|
+
readonly name: "HumanLoopQuotaExceededException";
|
|
249
|
+
readonly $fault: "client";
|
|
239
250
|
|
|
240
251
|
ResourceType?: string;
|
|
241
252
|
|
|
@@ -244,48 +255,62 @@ export interface HumanLoopQuotaExceededException extends __SmithyException, $Met
|
|
|
244
255
|
ServiceCode?: string;
|
|
245
256
|
Message?: string;
|
|
246
257
|
Code?: string;
|
|
258
|
+
|
|
259
|
+
constructor(opts: __ExceptionOptionType<HumanLoopQuotaExceededException, __BaseException>);
|
|
247
260
|
}
|
|
248
261
|
|
|
249
|
-
export
|
|
250
|
-
name: "InternalServerError";
|
|
251
|
-
$fault: "server";
|
|
262
|
+
export declare class InternalServerError extends __BaseException {
|
|
263
|
+
readonly name: "InternalServerError";
|
|
264
|
+
readonly $fault: "server";
|
|
252
265
|
Message?: string;
|
|
253
266
|
Code?: string;
|
|
267
|
+
|
|
268
|
+
constructor(opts: __ExceptionOptionType<InternalServerError, __BaseException>);
|
|
254
269
|
}
|
|
255
270
|
|
|
256
|
-
export
|
|
257
|
-
name: "InvalidParameterException";
|
|
258
|
-
$fault: "client";
|
|
271
|
+
export declare class InvalidParameterException extends __BaseException {
|
|
272
|
+
readonly name: "InvalidParameterException";
|
|
273
|
+
readonly $fault: "client";
|
|
259
274
|
Message?: string;
|
|
260
275
|
Code?: string;
|
|
276
|
+
|
|
277
|
+
constructor(opts: __ExceptionOptionType<InvalidParameterException, __BaseException>);
|
|
261
278
|
}
|
|
262
279
|
|
|
263
|
-
export
|
|
264
|
-
name: "InvalidS3ObjectException";
|
|
265
|
-
$fault: "client";
|
|
280
|
+
export declare class InvalidS3ObjectException extends __BaseException {
|
|
281
|
+
readonly name: "InvalidS3ObjectException";
|
|
282
|
+
readonly $fault: "client";
|
|
266
283
|
Message?: string;
|
|
267
284
|
Code?: string;
|
|
285
|
+
|
|
286
|
+
constructor(opts: __ExceptionOptionType<InvalidS3ObjectException, __BaseException>);
|
|
268
287
|
}
|
|
269
288
|
|
|
270
|
-
export
|
|
271
|
-
name: "ProvisionedThroughputExceededException";
|
|
272
|
-
$fault: "client";
|
|
289
|
+
export declare class ProvisionedThroughputExceededException extends __BaseException {
|
|
290
|
+
readonly name: "ProvisionedThroughputExceededException";
|
|
291
|
+
readonly $fault: "client";
|
|
273
292
|
Message?: string;
|
|
274
293
|
Code?: string;
|
|
294
|
+
|
|
295
|
+
constructor(opts: __ExceptionOptionType<ProvisionedThroughputExceededException, __BaseException>);
|
|
275
296
|
}
|
|
276
297
|
|
|
277
|
-
export
|
|
278
|
-
name: "ThrottlingException";
|
|
279
|
-
$fault: "server";
|
|
298
|
+
export declare class ThrottlingException extends __BaseException {
|
|
299
|
+
readonly name: "ThrottlingException";
|
|
300
|
+
readonly $fault: "server";
|
|
280
301
|
Message?: string;
|
|
281
302
|
Code?: string;
|
|
303
|
+
|
|
304
|
+
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
282
305
|
}
|
|
283
306
|
|
|
284
|
-
export
|
|
285
|
-
name: "UnsupportedDocumentException";
|
|
286
|
-
$fault: "client";
|
|
307
|
+
export declare class UnsupportedDocumentException extends __BaseException {
|
|
308
|
+
readonly name: "UnsupportedDocumentException";
|
|
309
|
+
readonly $fault: "client";
|
|
287
310
|
Message?: string;
|
|
288
311
|
Code?: string;
|
|
312
|
+
|
|
313
|
+
constructor(opts: __ExceptionOptionType<UnsupportedDocumentException, __BaseException>);
|
|
289
314
|
}
|
|
290
315
|
export interface AnalyzeExpenseRequest {
|
|
291
316
|
|
|
@@ -525,18 +550,22 @@ export declare namespace GetDocumentAnalysisResponse {
|
|
|
525
550
|
const filterSensitiveLog: (obj: GetDocumentAnalysisResponse) => any;
|
|
526
551
|
}
|
|
527
552
|
|
|
528
|
-
export
|
|
529
|
-
name: "InvalidJobIdException";
|
|
530
|
-
$fault: "client";
|
|
553
|
+
export declare class InvalidJobIdException extends __BaseException {
|
|
554
|
+
readonly name: "InvalidJobIdException";
|
|
555
|
+
readonly $fault: "client";
|
|
531
556
|
Message?: string;
|
|
532
557
|
Code?: string;
|
|
558
|
+
|
|
559
|
+
constructor(opts: __ExceptionOptionType<InvalidJobIdException, __BaseException>);
|
|
533
560
|
}
|
|
534
561
|
|
|
535
|
-
export
|
|
536
|
-
name: "InvalidKMSKeyException";
|
|
537
|
-
$fault: "client";
|
|
562
|
+
export declare class InvalidKMSKeyException extends __BaseException {
|
|
563
|
+
readonly name: "InvalidKMSKeyException";
|
|
564
|
+
readonly $fault: "client";
|
|
538
565
|
Message?: string;
|
|
539
566
|
Code?: string;
|
|
567
|
+
|
|
568
|
+
constructor(opts: __ExceptionOptionType<InvalidKMSKeyException, __BaseException>);
|
|
540
569
|
}
|
|
541
570
|
export interface GetDocumentTextDetectionRequest {
|
|
542
571
|
|
|
@@ -603,18 +632,22 @@ export declare namespace GetExpenseAnalysisResponse {
|
|
|
603
632
|
const filterSensitiveLog: (obj: GetExpenseAnalysisResponse) => any;
|
|
604
633
|
}
|
|
605
634
|
|
|
606
|
-
export
|
|
607
|
-
name: "IdempotentParameterMismatchException";
|
|
608
|
-
$fault: "client";
|
|
635
|
+
export declare class IdempotentParameterMismatchException extends __BaseException {
|
|
636
|
+
readonly name: "IdempotentParameterMismatchException";
|
|
637
|
+
readonly $fault: "client";
|
|
609
638
|
Message?: string;
|
|
610
639
|
Code?: string;
|
|
640
|
+
|
|
641
|
+
constructor(opts: __ExceptionOptionType<IdempotentParameterMismatchException, __BaseException>);
|
|
611
642
|
}
|
|
612
643
|
|
|
613
|
-
export
|
|
614
|
-
name: "LimitExceededException";
|
|
615
|
-
$fault: "client";
|
|
644
|
+
export declare class LimitExceededException extends __BaseException {
|
|
645
|
+
readonly name: "LimitExceededException";
|
|
646
|
+
readonly $fault: "client";
|
|
616
647
|
Message?: string;
|
|
617
648
|
Code?: string;
|
|
649
|
+
|
|
650
|
+
constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
|
|
618
651
|
}
|
|
619
652
|
|
|
620
653
|
export interface NotificationChannel {
|
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.
|
|
4
|
+
"version": "3.53.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",
|
|
@@ -18,34 +18,34 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/client-sts": "3.
|
|
22
|
-
"@aws-sdk/config-resolver": "3.
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
25
|
-
"@aws-sdk/hash-node": "3.
|
|
26
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
27
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
28
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
29
|
-
"@aws-sdk/middleware-logger": "3.
|
|
30
|
-
"@aws-sdk/middleware-retry": "3.
|
|
31
|
-
"@aws-sdk/middleware-serde": "3.
|
|
32
|
-
"@aws-sdk/middleware-signing": "3.
|
|
33
|
-
"@aws-sdk/middleware-stack": "3.
|
|
34
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
35
|
-
"@aws-sdk/node-config-provider": "3.
|
|
36
|
-
"@aws-sdk/node-http-handler": "3.
|
|
37
|
-
"@aws-sdk/protocol-http": "3.
|
|
38
|
-
"@aws-sdk/smithy-client": "3.
|
|
39
|
-
"@aws-sdk/types": "3.
|
|
40
|
-
"@aws-sdk/url-parser": "3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.53.0",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.53.0",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.53.0",
|
|
24
|
+
"@aws-sdk/fetch-http-handler": "3.53.0",
|
|
25
|
+
"@aws-sdk/hash-node": "3.53.0",
|
|
26
|
+
"@aws-sdk/invalid-dependency": "3.53.0",
|
|
27
|
+
"@aws-sdk/middleware-content-length": "3.53.0",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "3.53.0",
|
|
29
|
+
"@aws-sdk/middleware-logger": "3.53.0",
|
|
30
|
+
"@aws-sdk/middleware-retry": "3.53.0",
|
|
31
|
+
"@aws-sdk/middleware-serde": "3.53.0",
|
|
32
|
+
"@aws-sdk/middleware-signing": "3.53.0",
|
|
33
|
+
"@aws-sdk/middleware-stack": "3.53.0",
|
|
34
|
+
"@aws-sdk/middleware-user-agent": "3.53.0",
|
|
35
|
+
"@aws-sdk/node-config-provider": "3.53.0",
|
|
36
|
+
"@aws-sdk/node-http-handler": "3.53.0",
|
|
37
|
+
"@aws-sdk/protocol-http": "3.53.0",
|
|
38
|
+
"@aws-sdk/smithy-client": "3.53.0",
|
|
39
|
+
"@aws-sdk/types": "3.53.0",
|
|
40
|
+
"@aws-sdk/url-parser": "3.53.0",
|
|
41
41
|
"@aws-sdk/util-base64-browser": "3.52.0",
|
|
42
42
|
"@aws-sdk/util-base64-node": "3.52.0",
|
|
43
43
|
"@aws-sdk/util-body-length-browser": "3.52.0",
|
|
44
44
|
"@aws-sdk/util-body-length-node": "3.52.0",
|
|
45
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
46
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
47
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
48
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
45
|
+
"@aws-sdk/util-defaults-mode-browser": "3.53.0",
|
|
46
|
+
"@aws-sdk/util-defaults-mode-node": "3.53.0",
|
|
47
|
+
"@aws-sdk/util-user-agent-browser": "3.53.0",
|
|
48
|
+
"@aws-sdk/util-user-agent-node": "3.53.0",
|
|
49
49
|
"@aws-sdk/util-utf8-browser": "3.52.0",
|
|
50
50
|
"@aws-sdk/util-utf8-node": "3.52.0",
|
|
51
51
|
"tslib": "^2.3.0"
|