@aws-sdk/client-textract 3.1148.0 → 3.1149.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/dist-cjs/index.js +20 -1
- package/dist-es/models/TextractServiceException.js +1 -0
- package/dist-es/models/errors.js +18 -0
- package/dist-types/models/TextractServiceException.d.ts +1 -0
- package/dist-types/models/errors.d.ts +18 -0
- package/dist-types/ts3.4/models/TextractServiceException.d.ts +1 -0
- package/dist-types/ts3.4/models/errors.d.ts +18 -0
- package/package.json +4 -4
package/dist-cjs/index.js
CHANGED
|
@@ -69,7 +69,7 @@ const commonParams = {
|
|
|
69
69
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
70
70
|
};
|
|
71
71
|
|
|
72
|
-
var version = "3.
|
|
72
|
+
var version = "3.1148.0";
|
|
73
73
|
var packageInfo = {
|
|
74
74
|
version: version};
|
|
75
75
|
|
|
@@ -132,6 +132,7 @@ const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
|
132
132
|
customEndpointFunctions.aws = awsEndpointFunctions;
|
|
133
133
|
|
|
134
134
|
class TextractServiceException extends ServiceException {
|
|
135
|
+
static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.textract#TextractServiceException";
|
|
135
136
|
constructor(options) {
|
|
136
137
|
super(options);
|
|
137
138
|
Object.setPrototypeOf(this, TextractServiceException.prototype);
|
|
@@ -139,6 +140,7 @@ class TextractServiceException extends ServiceException {
|
|
|
139
140
|
}
|
|
140
141
|
|
|
141
142
|
class AccessDeniedException extends TextractServiceException {
|
|
143
|
+
static shapeId = "com.amazonaws.textract#AccessDeniedException";
|
|
142
144
|
name = "AccessDeniedException";
|
|
143
145
|
$fault = "client";
|
|
144
146
|
Message;
|
|
@@ -155,6 +157,7 @@ class AccessDeniedException extends TextractServiceException {
|
|
|
155
157
|
}
|
|
156
158
|
}
|
|
157
159
|
class BadDocumentException extends TextractServiceException {
|
|
160
|
+
static shapeId = "com.amazonaws.textract#BadDocumentException";
|
|
158
161
|
name = "BadDocumentException";
|
|
159
162
|
$fault = "client";
|
|
160
163
|
Message;
|
|
@@ -171,6 +174,7 @@ class BadDocumentException extends TextractServiceException {
|
|
|
171
174
|
}
|
|
172
175
|
}
|
|
173
176
|
class DocumentTooLargeException extends TextractServiceException {
|
|
177
|
+
static shapeId = "com.amazonaws.textract#DocumentTooLargeException";
|
|
174
178
|
name = "DocumentTooLargeException";
|
|
175
179
|
$fault = "client";
|
|
176
180
|
Message;
|
|
@@ -187,6 +191,7 @@ class DocumentTooLargeException extends TextractServiceException {
|
|
|
187
191
|
}
|
|
188
192
|
}
|
|
189
193
|
class HumanLoopQuotaExceededException extends TextractServiceException {
|
|
194
|
+
static shapeId = "com.amazonaws.textract#HumanLoopQuotaExceededException";
|
|
190
195
|
name = "HumanLoopQuotaExceededException";
|
|
191
196
|
$fault = "client";
|
|
192
197
|
ResourceType;
|
|
@@ -209,6 +214,7 @@ class HumanLoopQuotaExceededException extends TextractServiceException {
|
|
|
209
214
|
}
|
|
210
215
|
}
|
|
211
216
|
class InternalServerError extends TextractServiceException {
|
|
217
|
+
static shapeId = "com.amazonaws.textract#InternalServerError";
|
|
212
218
|
name = "InternalServerError";
|
|
213
219
|
$fault = "server";
|
|
214
220
|
Message;
|
|
@@ -225,6 +231,7 @@ class InternalServerError extends TextractServiceException {
|
|
|
225
231
|
}
|
|
226
232
|
}
|
|
227
233
|
class InvalidParameterException extends TextractServiceException {
|
|
234
|
+
static shapeId = "com.amazonaws.textract#InvalidParameterException";
|
|
228
235
|
name = "InvalidParameterException";
|
|
229
236
|
$fault = "client";
|
|
230
237
|
Message;
|
|
@@ -241,6 +248,7 @@ class InvalidParameterException extends TextractServiceException {
|
|
|
241
248
|
}
|
|
242
249
|
}
|
|
243
250
|
class InvalidS3ObjectException extends TextractServiceException {
|
|
251
|
+
static shapeId = "com.amazonaws.textract#InvalidS3ObjectException";
|
|
244
252
|
name = "InvalidS3ObjectException";
|
|
245
253
|
$fault = "client";
|
|
246
254
|
Message;
|
|
@@ -257,6 +265,7 @@ class InvalidS3ObjectException extends TextractServiceException {
|
|
|
257
265
|
}
|
|
258
266
|
}
|
|
259
267
|
class ProvisionedThroughputExceededException extends TextractServiceException {
|
|
268
|
+
static shapeId = "com.amazonaws.textract#ProvisionedThroughputExceededException";
|
|
260
269
|
name = "ProvisionedThroughputExceededException";
|
|
261
270
|
$fault = "client";
|
|
262
271
|
Message;
|
|
@@ -273,6 +282,7 @@ class ProvisionedThroughputExceededException extends TextractServiceException {
|
|
|
273
282
|
}
|
|
274
283
|
}
|
|
275
284
|
class ThrottlingException extends TextractServiceException {
|
|
285
|
+
static shapeId = "com.amazonaws.textract#ThrottlingException";
|
|
276
286
|
name = "ThrottlingException";
|
|
277
287
|
$fault = "server";
|
|
278
288
|
Message;
|
|
@@ -289,6 +299,7 @@ class ThrottlingException extends TextractServiceException {
|
|
|
289
299
|
}
|
|
290
300
|
}
|
|
291
301
|
class UnsupportedDocumentException extends TextractServiceException {
|
|
302
|
+
static shapeId = "com.amazonaws.textract#UnsupportedDocumentException";
|
|
292
303
|
name = "UnsupportedDocumentException";
|
|
293
304
|
$fault = "client";
|
|
294
305
|
Message;
|
|
@@ -305,6 +316,7 @@ class UnsupportedDocumentException extends TextractServiceException {
|
|
|
305
316
|
}
|
|
306
317
|
}
|
|
307
318
|
class ConflictException extends TextractServiceException {
|
|
319
|
+
static shapeId = "com.amazonaws.textract#ConflictException";
|
|
308
320
|
name = "ConflictException";
|
|
309
321
|
$fault = "client";
|
|
310
322
|
Message;
|
|
@@ -321,6 +333,7 @@ class ConflictException extends TextractServiceException {
|
|
|
321
333
|
}
|
|
322
334
|
}
|
|
323
335
|
class IdempotentParameterMismatchException extends TextractServiceException {
|
|
336
|
+
static shapeId = "com.amazonaws.textract#IdempotentParameterMismatchException";
|
|
324
337
|
name = "IdempotentParameterMismatchException";
|
|
325
338
|
$fault = "client";
|
|
326
339
|
Message;
|
|
@@ -337,6 +350,7 @@ class IdempotentParameterMismatchException extends TextractServiceException {
|
|
|
337
350
|
}
|
|
338
351
|
}
|
|
339
352
|
class LimitExceededException extends TextractServiceException {
|
|
353
|
+
static shapeId = "com.amazonaws.textract#LimitExceededException";
|
|
340
354
|
name = "LimitExceededException";
|
|
341
355
|
$fault = "client";
|
|
342
356
|
Message;
|
|
@@ -353,6 +367,7 @@ class LimitExceededException extends TextractServiceException {
|
|
|
353
367
|
}
|
|
354
368
|
}
|
|
355
369
|
class ServiceQuotaExceededException extends TextractServiceException {
|
|
370
|
+
static shapeId = "com.amazonaws.textract#ServiceQuotaExceededException";
|
|
356
371
|
name = "ServiceQuotaExceededException";
|
|
357
372
|
$fault = "client";
|
|
358
373
|
Message;
|
|
@@ -369,6 +384,7 @@ class ServiceQuotaExceededException extends TextractServiceException {
|
|
|
369
384
|
}
|
|
370
385
|
}
|
|
371
386
|
class ValidationException extends TextractServiceException {
|
|
387
|
+
static shapeId = "com.amazonaws.textract#ValidationException";
|
|
372
388
|
name = "ValidationException";
|
|
373
389
|
$fault = "client";
|
|
374
390
|
Message;
|
|
@@ -385,6 +401,7 @@ class ValidationException extends TextractServiceException {
|
|
|
385
401
|
}
|
|
386
402
|
}
|
|
387
403
|
class InvalidKMSKeyException extends TextractServiceException {
|
|
404
|
+
static shapeId = "com.amazonaws.textract#InvalidKMSKeyException";
|
|
388
405
|
name = "InvalidKMSKeyException";
|
|
389
406
|
$fault = "client";
|
|
390
407
|
Message;
|
|
@@ -401,6 +418,7 @@ class InvalidKMSKeyException extends TextractServiceException {
|
|
|
401
418
|
}
|
|
402
419
|
}
|
|
403
420
|
class ResourceNotFoundException extends TextractServiceException {
|
|
421
|
+
static shapeId = "com.amazonaws.textract#ResourceNotFoundException";
|
|
404
422
|
name = "ResourceNotFoundException";
|
|
405
423
|
$fault = "client";
|
|
406
424
|
Message;
|
|
@@ -417,6 +435,7 @@ class ResourceNotFoundException extends TextractServiceException {
|
|
|
417
435
|
}
|
|
418
436
|
}
|
|
419
437
|
class InvalidJobIdException extends TextractServiceException {
|
|
438
|
+
static shapeId = "com.amazonaws.textract#InvalidJobIdException";
|
|
420
439
|
name = "InvalidJobIdException";
|
|
421
440
|
$fault = "client";
|
|
422
441
|
Message;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ServiceException as __ServiceException, } from "@smithy/core/client";
|
|
2
2
|
export { __ServiceException };
|
|
3
3
|
export class TextractServiceException extends __ServiceException {
|
|
4
|
+
static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.textract#TextractServiceException";
|
|
4
5
|
constructor(options) {
|
|
5
6
|
super(options);
|
|
6
7
|
Object.setPrototypeOf(this, TextractServiceException.prototype);
|
package/dist-es/models/errors.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { TextractServiceException as __BaseException } from "./TextractServiceException";
|
|
2
2
|
export class AccessDeniedException extends __BaseException {
|
|
3
|
+
static shapeId = "com.amazonaws.textract#AccessDeniedException";
|
|
3
4
|
name = "AccessDeniedException";
|
|
4
5
|
$fault = "client";
|
|
5
6
|
Message;
|
|
@@ -16,6 +17,7 @@ export class AccessDeniedException extends __BaseException {
|
|
|
16
17
|
}
|
|
17
18
|
}
|
|
18
19
|
export class BadDocumentException extends __BaseException {
|
|
20
|
+
static shapeId = "com.amazonaws.textract#BadDocumentException";
|
|
19
21
|
name = "BadDocumentException";
|
|
20
22
|
$fault = "client";
|
|
21
23
|
Message;
|
|
@@ -32,6 +34,7 @@ export class BadDocumentException extends __BaseException {
|
|
|
32
34
|
}
|
|
33
35
|
}
|
|
34
36
|
export class DocumentTooLargeException extends __BaseException {
|
|
37
|
+
static shapeId = "com.amazonaws.textract#DocumentTooLargeException";
|
|
35
38
|
name = "DocumentTooLargeException";
|
|
36
39
|
$fault = "client";
|
|
37
40
|
Message;
|
|
@@ -48,6 +51,7 @@ export class DocumentTooLargeException extends __BaseException {
|
|
|
48
51
|
}
|
|
49
52
|
}
|
|
50
53
|
export class HumanLoopQuotaExceededException extends __BaseException {
|
|
54
|
+
static shapeId = "com.amazonaws.textract#HumanLoopQuotaExceededException";
|
|
51
55
|
name = "HumanLoopQuotaExceededException";
|
|
52
56
|
$fault = "client";
|
|
53
57
|
ResourceType;
|
|
@@ -70,6 +74,7 @@ export class HumanLoopQuotaExceededException extends __BaseException {
|
|
|
70
74
|
}
|
|
71
75
|
}
|
|
72
76
|
export class InternalServerError extends __BaseException {
|
|
77
|
+
static shapeId = "com.amazonaws.textract#InternalServerError";
|
|
73
78
|
name = "InternalServerError";
|
|
74
79
|
$fault = "server";
|
|
75
80
|
Message;
|
|
@@ -86,6 +91,7 @@ export class InternalServerError extends __BaseException {
|
|
|
86
91
|
}
|
|
87
92
|
}
|
|
88
93
|
export class InvalidParameterException extends __BaseException {
|
|
94
|
+
static shapeId = "com.amazonaws.textract#InvalidParameterException";
|
|
89
95
|
name = "InvalidParameterException";
|
|
90
96
|
$fault = "client";
|
|
91
97
|
Message;
|
|
@@ -102,6 +108,7 @@ export class InvalidParameterException extends __BaseException {
|
|
|
102
108
|
}
|
|
103
109
|
}
|
|
104
110
|
export class InvalidS3ObjectException extends __BaseException {
|
|
111
|
+
static shapeId = "com.amazonaws.textract#InvalidS3ObjectException";
|
|
105
112
|
name = "InvalidS3ObjectException";
|
|
106
113
|
$fault = "client";
|
|
107
114
|
Message;
|
|
@@ -118,6 +125,7 @@ export class InvalidS3ObjectException extends __BaseException {
|
|
|
118
125
|
}
|
|
119
126
|
}
|
|
120
127
|
export class ProvisionedThroughputExceededException extends __BaseException {
|
|
128
|
+
static shapeId = "com.amazonaws.textract#ProvisionedThroughputExceededException";
|
|
121
129
|
name = "ProvisionedThroughputExceededException";
|
|
122
130
|
$fault = "client";
|
|
123
131
|
Message;
|
|
@@ -134,6 +142,7 @@ export class ProvisionedThroughputExceededException extends __BaseException {
|
|
|
134
142
|
}
|
|
135
143
|
}
|
|
136
144
|
export class ThrottlingException extends __BaseException {
|
|
145
|
+
static shapeId = "com.amazonaws.textract#ThrottlingException";
|
|
137
146
|
name = "ThrottlingException";
|
|
138
147
|
$fault = "server";
|
|
139
148
|
Message;
|
|
@@ -150,6 +159,7 @@ export class ThrottlingException extends __BaseException {
|
|
|
150
159
|
}
|
|
151
160
|
}
|
|
152
161
|
export class UnsupportedDocumentException extends __BaseException {
|
|
162
|
+
static shapeId = "com.amazonaws.textract#UnsupportedDocumentException";
|
|
153
163
|
name = "UnsupportedDocumentException";
|
|
154
164
|
$fault = "client";
|
|
155
165
|
Message;
|
|
@@ -166,6 +176,7 @@ export class UnsupportedDocumentException extends __BaseException {
|
|
|
166
176
|
}
|
|
167
177
|
}
|
|
168
178
|
export class ConflictException extends __BaseException {
|
|
179
|
+
static shapeId = "com.amazonaws.textract#ConflictException";
|
|
169
180
|
name = "ConflictException";
|
|
170
181
|
$fault = "client";
|
|
171
182
|
Message;
|
|
@@ -182,6 +193,7 @@ export class ConflictException extends __BaseException {
|
|
|
182
193
|
}
|
|
183
194
|
}
|
|
184
195
|
export class IdempotentParameterMismatchException extends __BaseException {
|
|
196
|
+
static shapeId = "com.amazonaws.textract#IdempotentParameterMismatchException";
|
|
185
197
|
name = "IdempotentParameterMismatchException";
|
|
186
198
|
$fault = "client";
|
|
187
199
|
Message;
|
|
@@ -198,6 +210,7 @@ export class IdempotentParameterMismatchException extends __BaseException {
|
|
|
198
210
|
}
|
|
199
211
|
}
|
|
200
212
|
export class LimitExceededException extends __BaseException {
|
|
213
|
+
static shapeId = "com.amazonaws.textract#LimitExceededException";
|
|
201
214
|
name = "LimitExceededException";
|
|
202
215
|
$fault = "client";
|
|
203
216
|
Message;
|
|
@@ -214,6 +227,7 @@ export class LimitExceededException extends __BaseException {
|
|
|
214
227
|
}
|
|
215
228
|
}
|
|
216
229
|
export class ServiceQuotaExceededException extends __BaseException {
|
|
230
|
+
static shapeId = "com.amazonaws.textract#ServiceQuotaExceededException";
|
|
217
231
|
name = "ServiceQuotaExceededException";
|
|
218
232
|
$fault = "client";
|
|
219
233
|
Message;
|
|
@@ -230,6 +244,7 @@ export class ServiceQuotaExceededException extends __BaseException {
|
|
|
230
244
|
}
|
|
231
245
|
}
|
|
232
246
|
export class ValidationException extends __BaseException {
|
|
247
|
+
static shapeId = "com.amazonaws.textract#ValidationException";
|
|
233
248
|
name = "ValidationException";
|
|
234
249
|
$fault = "client";
|
|
235
250
|
Message;
|
|
@@ -246,6 +261,7 @@ export class ValidationException extends __BaseException {
|
|
|
246
261
|
}
|
|
247
262
|
}
|
|
248
263
|
export class InvalidKMSKeyException extends __BaseException {
|
|
264
|
+
static shapeId = "com.amazonaws.textract#InvalidKMSKeyException";
|
|
249
265
|
name = "InvalidKMSKeyException";
|
|
250
266
|
$fault = "client";
|
|
251
267
|
Message;
|
|
@@ -262,6 +278,7 @@ export class InvalidKMSKeyException extends __BaseException {
|
|
|
262
278
|
}
|
|
263
279
|
}
|
|
264
280
|
export class ResourceNotFoundException extends __BaseException {
|
|
281
|
+
static shapeId = "com.amazonaws.textract#ResourceNotFoundException";
|
|
265
282
|
name = "ResourceNotFoundException";
|
|
266
283
|
$fault = "client";
|
|
267
284
|
Message;
|
|
@@ -278,6 +295,7 @@ export class ResourceNotFoundException extends __BaseException {
|
|
|
278
295
|
}
|
|
279
296
|
}
|
|
280
297
|
export class InvalidJobIdException extends __BaseException {
|
|
298
|
+
static shapeId = "com.amazonaws.textract#InvalidJobIdException";
|
|
281
299
|
name = "InvalidJobIdException";
|
|
282
300
|
$fault = "client";
|
|
283
301
|
Message;
|
|
@@ -6,6 +6,7 @@ import { TextractServiceException as __BaseException } from "./TextractServiceEx
|
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
8
8
|
export declare class AccessDeniedException extends __BaseException {
|
|
9
|
+
static readonly shapeId: string;
|
|
9
10
|
readonly name: "AccessDeniedException";
|
|
10
11
|
readonly $fault: "client";
|
|
11
12
|
Message?: string | undefined;
|
|
@@ -21,6 +22,7 @@ export declare class AccessDeniedException extends __BaseException {
|
|
|
21
22
|
* @public
|
|
22
23
|
*/
|
|
23
24
|
export declare class BadDocumentException extends __BaseException {
|
|
25
|
+
static readonly shapeId: string;
|
|
24
26
|
readonly name: "BadDocumentException";
|
|
25
27
|
readonly $fault: "client";
|
|
26
28
|
Message?: string | undefined;
|
|
@@ -37,6 +39,7 @@ export declare class BadDocumentException extends __BaseException {
|
|
|
37
39
|
* @public
|
|
38
40
|
*/
|
|
39
41
|
export declare class DocumentTooLargeException extends __BaseException {
|
|
42
|
+
static readonly shapeId: string;
|
|
40
43
|
readonly name: "DocumentTooLargeException";
|
|
41
44
|
readonly $fault: "client";
|
|
42
45
|
Message?: string | undefined;
|
|
@@ -51,6 +54,7 @@ export declare class DocumentTooLargeException extends __BaseException {
|
|
|
51
54
|
* @public
|
|
52
55
|
*/
|
|
53
56
|
export declare class HumanLoopQuotaExceededException extends __BaseException {
|
|
57
|
+
static readonly shapeId: string;
|
|
54
58
|
readonly name: "HumanLoopQuotaExceededException";
|
|
55
59
|
readonly $fault: "client";
|
|
56
60
|
/**
|
|
@@ -80,6 +84,7 @@ export declare class HumanLoopQuotaExceededException extends __BaseException {
|
|
|
80
84
|
* @public
|
|
81
85
|
*/
|
|
82
86
|
export declare class InternalServerError extends __BaseException {
|
|
87
|
+
static readonly shapeId: string;
|
|
83
88
|
readonly name: "InternalServerError";
|
|
84
89
|
readonly $fault: "server";
|
|
85
90
|
Message?: string | undefined;
|
|
@@ -98,6 +103,7 @@ export declare class InternalServerError extends __BaseException {
|
|
|
98
103
|
* @public
|
|
99
104
|
*/
|
|
100
105
|
export declare class InvalidParameterException extends __BaseException {
|
|
106
|
+
static readonly shapeId: string;
|
|
101
107
|
readonly name: "InvalidParameterException";
|
|
102
108
|
readonly $fault: "client";
|
|
103
109
|
Message?: string | undefined;
|
|
@@ -115,6 +121,7 @@ export declare class InvalidParameterException extends __BaseException {
|
|
|
115
121
|
* @public
|
|
116
122
|
*/
|
|
117
123
|
export declare class InvalidS3ObjectException extends __BaseException {
|
|
124
|
+
static readonly shapeId: string;
|
|
118
125
|
readonly name: "InvalidS3ObjectException";
|
|
119
126
|
readonly $fault: "client";
|
|
120
127
|
Message?: string | undefined;
|
|
@@ -130,6 +137,7 @@ export declare class InvalidS3ObjectException extends __BaseException {
|
|
|
130
137
|
* @public
|
|
131
138
|
*/
|
|
132
139
|
export declare class ProvisionedThroughputExceededException extends __BaseException {
|
|
140
|
+
static readonly shapeId: string;
|
|
133
141
|
readonly name: "ProvisionedThroughputExceededException";
|
|
134
142
|
readonly $fault: "client";
|
|
135
143
|
Message?: string | undefined;
|
|
@@ -144,6 +152,7 @@ export declare class ProvisionedThroughputExceededException extends __BaseExcept
|
|
|
144
152
|
* @public
|
|
145
153
|
*/
|
|
146
154
|
export declare class ThrottlingException extends __BaseException {
|
|
155
|
+
static readonly shapeId: string;
|
|
147
156
|
readonly name: "ThrottlingException";
|
|
148
157
|
readonly $fault: "server";
|
|
149
158
|
Message?: string | undefined;
|
|
@@ -159,6 +168,7 @@ export declare class ThrottlingException extends __BaseException {
|
|
|
159
168
|
* @public
|
|
160
169
|
*/
|
|
161
170
|
export declare class UnsupportedDocumentException extends __BaseException {
|
|
171
|
+
static readonly shapeId: string;
|
|
162
172
|
readonly name: "UnsupportedDocumentException";
|
|
163
173
|
readonly $fault: "client";
|
|
164
174
|
Message?: string | undefined;
|
|
@@ -173,6 +183,7 @@ export declare class UnsupportedDocumentException extends __BaseException {
|
|
|
173
183
|
* @public
|
|
174
184
|
*/
|
|
175
185
|
export declare class ConflictException extends __BaseException {
|
|
186
|
+
static readonly shapeId: string;
|
|
176
187
|
readonly name: "ConflictException";
|
|
177
188
|
readonly $fault: "client";
|
|
178
189
|
Message?: string | undefined;
|
|
@@ -189,6 +200,7 @@ export declare class ConflictException extends __BaseException {
|
|
|
189
200
|
* @public
|
|
190
201
|
*/
|
|
191
202
|
export declare class IdempotentParameterMismatchException extends __BaseException {
|
|
203
|
+
static readonly shapeId: string;
|
|
192
204
|
readonly name: "IdempotentParameterMismatchException";
|
|
193
205
|
readonly $fault: "client";
|
|
194
206
|
Message?: string | undefined;
|
|
@@ -207,6 +219,7 @@ export declare class IdempotentParameterMismatchException extends __BaseExceptio
|
|
|
207
219
|
* @public
|
|
208
220
|
*/
|
|
209
221
|
export declare class LimitExceededException extends __BaseException {
|
|
222
|
+
static readonly shapeId: string;
|
|
210
223
|
readonly name: "LimitExceededException";
|
|
211
224
|
readonly $fault: "client";
|
|
212
225
|
Message?: string | undefined;
|
|
@@ -221,6 +234,7 @@ export declare class LimitExceededException extends __BaseException {
|
|
|
221
234
|
* @public
|
|
222
235
|
*/
|
|
223
236
|
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
237
|
+
static readonly shapeId: string;
|
|
224
238
|
readonly name: "ServiceQuotaExceededException";
|
|
225
239
|
readonly $fault: "client";
|
|
226
240
|
Message?: string | undefined;
|
|
@@ -235,6 +249,7 @@ export declare class ServiceQuotaExceededException extends __BaseException {
|
|
|
235
249
|
* @public
|
|
236
250
|
*/
|
|
237
251
|
export declare class ValidationException extends __BaseException {
|
|
252
|
+
static readonly shapeId: string;
|
|
238
253
|
readonly name: "ValidationException";
|
|
239
254
|
readonly $fault: "client";
|
|
240
255
|
Message?: string | undefined;
|
|
@@ -250,6 +265,7 @@ export declare class ValidationException extends __BaseException {
|
|
|
250
265
|
* @public
|
|
251
266
|
*/
|
|
252
267
|
export declare class InvalidKMSKeyException extends __BaseException {
|
|
268
|
+
static readonly shapeId: string;
|
|
253
269
|
readonly name: "InvalidKMSKeyException";
|
|
254
270
|
readonly $fault: "client";
|
|
255
271
|
Message?: string | undefined;
|
|
@@ -264,6 +280,7 @@ export declare class InvalidKMSKeyException extends __BaseException {
|
|
|
264
280
|
* @public
|
|
265
281
|
*/
|
|
266
282
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
283
|
+
static readonly shapeId: string;
|
|
267
284
|
readonly name: "ResourceNotFoundException";
|
|
268
285
|
readonly $fault: "client";
|
|
269
286
|
Message?: string | undefined;
|
|
@@ -278,6 +295,7 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
278
295
|
* @public
|
|
279
296
|
*/
|
|
280
297
|
export declare class InvalidJobIdException extends __BaseException {
|
|
298
|
+
static readonly shapeId: string;
|
|
281
299
|
readonly name: "InvalidJobIdException";
|
|
282
300
|
readonly $fault: "client";
|
|
283
301
|
Message?: string | undefined;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/core/client";
|
|
2
2
|
import { TextractServiceException as __BaseException } from "./TextractServiceException";
|
|
3
3
|
export declare class AccessDeniedException extends __BaseException {
|
|
4
|
+
static readonly shapeId: string;
|
|
4
5
|
readonly name: "AccessDeniedException";
|
|
5
6
|
readonly $fault: "client";
|
|
6
7
|
Message?: string | undefined;
|
|
@@ -8,6 +9,7 @@ export declare class AccessDeniedException extends __BaseException {
|
|
|
8
9
|
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
9
10
|
}
|
|
10
11
|
export declare class BadDocumentException extends __BaseException {
|
|
12
|
+
static readonly shapeId: string;
|
|
11
13
|
readonly name: "BadDocumentException";
|
|
12
14
|
readonly $fault: "client";
|
|
13
15
|
Message?: string | undefined;
|
|
@@ -15,6 +17,7 @@ export declare class BadDocumentException extends __BaseException {
|
|
|
15
17
|
constructor(opts: __ExceptionOptionType<BadDocumentException, __BaseException>);
|
|
16
18
|
}
|
|
17
19
|
export declare class DocumentTooLargeException extends __BaseException {
|
|
20
|
+
static readonly shapeId: string;
|
|
18
21
|
readonly name: "DocumentTooLargeException";
|
|
19
22
|
readonly $fault: "client";
|
|
20
23
|
Message?: string | undefined;
|
|
@@ -22,6 +25,7 @@ export declare class DocumentTooLargeException extends __BaseException {
|
|
|
22
25
|
constructor(opts: __ExceptionOptionType<DocumentTooLargeException, __BaseException>);
|
|
23
26
|
}
|
|
24
27
|
export declare class HumanLoopQuotaExceededException extends __BaseException {
|
|
28
|
+
static readonly shapeId: string;
|
|
25
29
|
readonly name: "HumanLoopQuotaExceededException";
|
|
26
30
|
readonly $fault: "client";
|
|
27
31
|
ResourceType?: string | undefined;
|
|
@@ -32,6 +36,7 @@ export declare class HumanLoopQuotaExceededException extends __BaseException {
|
|
|
32
36
|
constructor(opts: __ExceptionOptionType<HumanLoopQuotaExceededException, __BaseException>);
|
|
33
37
|
}
|
|
34
38
|
export declare class InternalServerError extends __BaseException {
|
|
39
|
+
static readonly shapeId: string;
|
|
35
40
|
readonly name: "InternalServerError";
|
|
36
41
|
readonly $fault: "server";
|
|
37
42
|
Message?: string | undefined;
|
|
@@ -39,6 +44,7 @@ export declare class InternalServerError extends __BaseException {
|
|
|
39
44
|
constructor(opts: __ExceptionOptionType<InternalServerError, __BaseException>);
|
|
40
45
|
}
|
|
41
46
|
export declare class InvalidParameterException extends __BaseException {
|
|
47
|
+
static readonly shapeId: string;
|
|
42
48
|
readonly name: "InvalidParameterException";
|
|
43
49
|
readonly $fault: "client";
|
|
44
50
|
Message?: string | undefined;
|
|
@@ -46,6 +52,7 @@ export declare class InvalidParameterException extends __BaseException {
|
|
|
46
52
|
constructor(opts: __ExceptionOptionType<InvalidParameterException, __BaseException>);
|
|
47
53
|
}
|
|
48
54
|
export declare class InvalidS3ObjectException extends __BaseException {
|
|
55
|
+
static readonly shapeId: string;
|
|
49
56
|
readonly name: "InvalidS3ObjectException";
|
|
50
57
|
readonly $fault: "client";
|
|
51
58
|
Message?: string | undefined;
|
|
@@ -53,6 +60,7 @@ export declare class InvalidS3ObjectException extends __BaseException {
|
|
|
53
60
|
constructor(opts: __ExceptionOptionType<InvalidS3ObjectException, __BaseException>);
|
|
54
61
|
}
|
|
55
62
|
export declare class ProvisionedThroughputExceededException extends __BaseException {
|
|
63
|
+
static readonly shapeId: string;
|
|
56
64
|
readonly name: "ProvisionedThroughputExceededException";
|
|
57
65
|
readonly $fault: "client";
|
|
58
66
|
Message?: string | undefined;
|
|
@@ -60,6 +68,7 @@ export declare class ProvisionedThroughputExceededException extends __BaseExcept
|
|
|
60
68
|
constructor(opts: __ExceptionOptionType<ProvisionedThroughputExceededException, __BaseException>);
|
|
61
69
|
}
|
|
62
70
|
export declare class ThrottlingException extends __BaseException {
|
|
71
|
+
static readonly shapeId: string;
|
|
63
72
|
readonly name: "ThrottlingException";
|
|
64
73
|
readonly $fault: "server";
|
|
65
74
|
Message?: string | undefined;
|
|
@@ -67,6 +76,7 @@ export declare class ThrottlingException extends __BaseException {
|
|
|
67
76
|
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
68
77
|
}
|
|
69
78
|
export declare class UnsupportedDocumentException extends __BaseException {
|
|
79
|
+
static readonly shapeId: string;
|
|
70
80
|
readonly name: "UnsupportedDocumentException";
|
|
71
81
|
readonly $fault: "client";
|
|
72
82
|
Message?: string | undefined;
|
|
@@ -74,6 +84,7 @@ export declare class UnsupportedDocumentException extends __BaseException {
|
|
|
74
84
|
constructor(opts: __ExceptionOptionType<UnsupportedDocumentException, __BaseException>);
|
|
75
85
|
}
|
|
76
86
|
export declare class ConflictException extends __BaseException {
|
|
87
|
+
static readonly shapeId: string;
|
|
77
88
|
readonly name: "ConflictException";
|
|
78
89
|
readonly $fault: "client";
|
|
79
90
|
Message?: string | undefined;
|
|
@@ -81,6 +92,7 @@ export declare class ConflictException extends __BaseException {
|
|
|
81
92
|
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
82
93
|
}
|
|
83
94
|
export declare class IdempotentParameterMismatchException extends __BaseException {
|
|
95
|
+
static readonly shapeId: string;
|
|
84
96
|
readonly name: "IdempotentParameterMismatchException";
|
|
85
97
|
readonly $fault: "client";
|
|
86
98
|
Message?: string | undefined;
|
|
@@ -88,6 +100,7 @@ export declare class IdempotentParameterMismatchException extends __BaseExceptio
|
|
|
88
100
|
constructor(opts: __ExceptionOptionType<IdempotentParameterMismatchException, __BaseException>);
|
|
89
101
|
}
|
|
90
102
|
export declare class LimitExceededException extends __BaseException {
|
|
103
|
+
static readonly shapeId: string;
|
|
91
104
|
readonly name: "LimitExceededException";
|
|
92
105
|
readonly $fault: "client";
|
|
93
106
|
Message?: string | undefined;
|
|
@@ -95,6 +108,7 @@ export declare class LimitExceededException extends __BaseException {
|
|
|
95
108
|
constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
|
|
96
109
|
}
|
|
97
110
|
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
111
|
+
static readonly shapeId: string;
|
|
98
112
|
readonly name: "ServiceQuotaExceededException";
|
|
99
113
|
readonly $fault: "client";
|
|
100
114
|
Message?: string | undefined;
|
|
@@ -102,6 +116,7 @@ export declare class ServiceQuotaExceededException extends __BaseException {
|
|
|
102
116
|
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
103
117
|
}
|
|
104
118
|
export declare class ValidationException extends __BaseException {
|
|
119
|
+
static readonly shapeId: string;
|
|
105
120
|
readonly name: "ValidationException";
|
|
106
121
|
readonly $fault: "client";
|
|
107
122
|
Message?: string | undefined;
|
|
@@ -109,6 +124,7 @@ export declare class ValidationException extends __BaseException {
|
|
|
109
124
|
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
110
125
|
}
|
|
111
126
|
export declare class InvalidKMSKeyException extends __BaseException {
|
|
127
|
+
static readonly shapeId: string;
|
|
112
128
|
readonly name: "InvalidKMSKeyException";
|
|
113
129
|
readonly $fault: "client";
|
|
114
130
|
Message?: string | undefined;
|
|
@@ -116,6 +132,7 @@ export declare class InvalidKMSKeyException extends __BaseException {
|
|
|
116
132
|
constructor(opts: __ExceptionOptionType<InvalidKMSKeyException, __BaseException>);
|
|
117
133
|
}
|
|
118
134
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
135
|
+
static readonly shapeId: string;
|
|
119
136
|
readonly name: "ResourceNotFoundException";
|
|
120
137
|
readonly $fault: "client";
|
|
121
138
|
Message?: string | undefined;
|
|
@@ -123,6 +140,7 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
123
140
|
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
124
141
|
}
|
|
125
142
|
export declare class InvalidJobIdException extends __BaseException {
|
|
143
|
+
static readonly shapeId: string;
|
|
126
144
|
readonly name: "InvalidJobIdException";
|
|
127
145
|
readonly $fault: "client";
|
|
128
146
|
Message?: string | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-textract",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1149.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Textract Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-textract",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -46,10 +46,10 @@
|
|
|
46
46
|
"test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@aws-sdk/core": "^3.978.
|
|
50
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
49
|
+
"@aws-sdk/core": "^3.978.2",
|
|
50
|
+
"@aws-sdk/credential-provider-node": "^3.972.85",
|
|
51
51
|
"@aws-sdk/types": "^3.974.6",
|
|
52
|
-
"@smithy/core": "^3.35.
|
|
52
|
+
"@smithy/core": "^3.35.2",
|
|
53
53
|
"@smithy/fetch-http-handler": "^5.8.0",
|
|
54
54
|
"@smithy/node-http-handler": "^4.12.1",
|
|
55
55
|
"@smithy/types": "^4.19.0",
|