@aws-sdk/client-comprehend 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 +11 -0
- package/dist-cjs/index.js +3 -0
- package/dist-cjs/models/ComprehendServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +230 -5
- package/dist-cjs/protocols/Aws_json1_1.js +692 -2576
- package/dist-es/index.js +1 -0
- package/dist-es/models/ComprehendServiceException.js +12 -0
- package/dist-es/models/models_0.js +210 -1
- package/dist-es/protocols/Aws_json1_1.js +1527 -2813
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/ComprehendServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +114 -49
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/ComprehendServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +82 -49
- 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 Comprehend service.
|
|
4
|
+
*/
|
|
5
|
+
export declare class ComprehendServiceException extends __ServiceException {
|
|
6
|
+
/**
|
|
7
|
+
* @internal
|
|
8
|
+
*/
|
|
9
|
+
constructor(options: __ServiceExceptionOptions);
|
|
10
|
+
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { ComprehendServiceException as __BaseException } from "./ComprehendServiceException";
|
|
2
3
|
export declare enum AugmentedManifestsDocumentTypeFormat {
|
|
3
4
|
PLAIN_TEXT_DOCUMENT = "PLAIN_TEXT_DOCUMENT",
|
|
4
5
|
SEMI_STRUCTURED_DOCUMENT = "SEMI_STRUCTURED_DOCUMENT"
|
|
@@ -181,34 +182,50 @@ export declare namespace BatchDetectDominantLanguageResponse {
|
|
|
181
182
|
* <p>The number of documents in the request exceeds the limit of 25. Try your request again
|
|
182
183
|
* with fewer documents.</p>
|
|
183
184
|
*/
|
|
184
|
-
export
|
|
185
|
-
name: "BatchSizeLimitExceededException";
|
|
186
|
-
$fault: "client";
|
|
185
|
+
export declare class BatchSizeLimitExceededException extends __BaseException {
|
|
186
|
+
readonly name: "BatchSizeLimitExceededException";
|
|
187
|
+
readonly $fault: "client";
|
|
187
188
|
Message?: string;
|
|
189
|
+
/**
|
|
190
|
+
* @internal
|
|
191
|
+
*/
|
|
192
|
+
constructor(opts: __ExceptionOptionType<BatchSizeLimitExceededException, __BaseException>);
|
|
188
193
|
}
|
|
189
194
|
/**
|
|
190
195
|
* <p>An internal server error occurred. Retry your request.</p>
|
|
191
196
|
*/
|
|
192
|
-
export
|
|
193
|
-
name: "InternalServerException";
|
|
194
|
-
$fault: "server";
|
|
197
|
+
export declare class InternalServerException extends __BaseException {
|
|
198
|
+
readonly name: "InternalServerException";
|
|
199
|
+
readonly $fault: "server";
|
|
195
200
|
Message?: string;
|
|
201
|
+
/**
|
|
202
|
+
* @internal
|
|
203
|
+
*/
|
|
204
|
+
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
196
205
|
}
|
|
197
206
|
/**
|
|
198
207
|
* <p>The request is invalid.</p>
|
|
199
208
|
*/
|
|
200
|
-
export
|
|
201
|
-
name: "InvalidRequestException";
|
|
202
|
-
$fault: "client";
|
|
209
|
+
export declare class InvalidRequestException extends __BaseException {
|
|
210
|
+
readonly name: "InvalidRequestException";
|
|
211
|
+
readonly $fault: "client";
|
|
203
212
|
Message?: string;
|
|
213
|
+
/**
|
|
214
|
+
* @internal
|
|
215
|
+
*/
|
|
216
|
+
constructor(opts: __ExceptionOptionType<InvalidRequestException, __BaseException>);
|
|
204
217
|
}
|
|
205
218
|
/**
|
|
206
219
|
* <p>The size of the input text exceeds the limit. Use a smaller document.</p>
|
|
207
220
|
*/
|
|
208
|
-
export
|
|
209
|
-
name: "TextSizeLimitExceededException";
|
|
210
|
-
$fault: "client";
|
|
221
|
+
export declare class TextSizeLimitExceededException extends __BaseException {
|
|
222
|
+
readonly name: "TextSizeLimitExceededException";
|
|
223
|
+
readonly $fault: "client";
|
|
211
224
|
Message?: string;
|
|
225
|
+
/**
|
|
226
|
+
* @internal
|
|
227
|
+
*/
|
|
228
|
+
constructor(opts: __ExceptionOptionType<TextSizeLimitExceededException, __BaseException>);
|
|
212
229
|
}
|
|
213
230
|
export declare enum LanguageCode {
|
|
214
231
|
AR = "ar",
|
|
@@ -343,10 +360,14 @@ export declare namespace BatchDetectEntitiesResponse {
|
|
|
343
360
|
* recognition APIs, only English, Spanish, French, Italian, German, or Portuguese are accepted.
|
|
344
361
|
* For a list of supported languages, see <a>supported-languages</a>. </p>
|
|
345
362
|
*/
|
|
346
|
-
export
|
|
347
|
-
name: "UnsupportedLanguageException";
|
|
348
|
-
$fault: "client";
|
|
363
|
+
export declare class UnsupportedLanguageException extends __BaseException {
|
|
364
|
+
readonly name: "UnsupportedLanguageException";
|
|
365
|
+
readonly $fault: "client";
|
|
349
366
|
Message?: string;
|
|
367
|
+
/**
|
|
368
|
+
* @internal
|
|
369
|
+
*/
|
|
370
|
+
constructor(opts: __ExceptionOptionType<UnsupportedLanguageException, __BaseException>);
|
|
350
371
|
}
|
|
351
372
|
export interface BatchDetectKeyPhrasesRequest {
|
|
352
373
|
/**
|
|
@@ -872,10 +893,14 @@ export declare namespace ClassifyDocumentResponse {
|
|
|
872
893
|
* <p>The specified resource is not available. Check the resource and try your request
|
|
873
894
|
* again.</p>
|
|
874
895
|
*/
|
|
875
|
-
export
|
|
876
|
-
name: "ResourceUnavailableException";
|
|
877
|
-
$fault: "client";
|
|
896
|
+
export declare class ResourceUnavailableException extends __BaseException {
|
|
897
|
+
readonly name: "ResourceUnavailableException";
|
|
898
|
+
readonly $fault: "client";
|
|
878
899
|
Message?: string;
|
|
900
|
+
/**
|
|
901
|
+
* @internal
|
|
902
|
+
*/
|
|
903
|
+
constructor(opts: __ExceptionOptionType<ResourceUnavailableException, __BaseException>);
|
|
879
904
|
}
|
|
880
905
|
export interface ContainsPiiEntitiesRequest {
|
|
881
906
|
/**
|
|
@@ -1263,46 +1288,66 @@ export declare namespace CreateDocumentClassifierResponse {
|
|
|
1263
1288
|
* <p>The KMS customer managed key (CMK) entered cannot be validated. Verify the key and
|
|
1264
1289
|
* re-enter it.</p>
|
|
1265
1290
|
*/
|
|
1266
|
-
export
|
|
1267
|
-
name: "KmsKeyValidationException";
|
|
1268
|
-
$fault: "client";
|
|
1291
|
+
export declare class KmsKeyValidationException extends __BaseException {
|
|
1292
|
+
readonly name: "KmsKeyValidationException";
|
|
1293
|
+
readonly $fault: "client";
|
|
1269
1294
|
Message?: string;
|
|
1295
|
+
/**
|
|
1296
|
+
* @internal
|
|
1297
|
+
*/
|
|
1298
|
+
constructor(opts: __ExceptionOptionType<KmsKeyValidationException, __BaseException>);
|
|
1270
1299
|
}
|
|
1271
1300
|
/**
|
|
1272
1301
|
* <p>The specified resource name is already in use. Use a different name and try your request
|
|
1273
1302
|
* again.</p>
|
|
1274
1303
|
*/
|
|
1275
|
-
export
|
|
1276
|
-
name: "ResourceInUseException";
|
|
1277
|
-
$fault: "client";
|
|
1304
|
+
export declare class ResourceInUseException extends __BaseException {
|
|
1305
|
+
readonly name: "ResourceInUseException";
|
|
1306
|
+
readonly $fault: "client";
|
|
1278
1307
|
Message?: string;
|
|
1308
|
+
/**
|
|
1309
|
+
* @internal
|
|
1310
|
+
*/
|
|
1311
|
+
constructor(opts: __ExceptionOptionType<ResourceInUseException, __BaseException>);
|
|
1279
1312
|
}
|
|
1280
1313
|
/**
|
|
1281
1314
|
* <p>The maximum number of resources per account has been exceeded. Review the resources, and
|
|
1282
1315
|
* then try your request again.</p>
|
|
1283
1316
|
*/
|
|
1284
|
-
export
|
|
1285
|
-
name: "ResourceLimitExceededException";
|
|
1286
|
-
$fault: "client";
|
|
1317
|
+
export declare class ResourceLimitExceededException extends __BaseException {
|
|
1318
|
+
readonly name: "ResourceLimitExceededException";
|
|
1319
|
+
readonly $fault: "client";
|
|
1287
1320
|
Message?: string;
|
|
1321
|
+
/**
|
|
1322
|
+
* @internal
|
|
1323
|
+
*/
|
|
1324
|
+
constructor(opts: __ExceptionOptionType<ResourceLimitExceededException, __BaseException>);
|
|
1288
1325
|
}
|
|
1289
1326
|
/**
|
|
1290
1327
|
* <p>The number of requests exceeds the limit. Resubmit your request later.</p>
|
|
1291
1328
|
*/
|
|
1292
|
-
export
|
|
1293
|
-
name: "TooManyRequestsException";
|
|
1294
|
-
$fault: "client";
|
|
1329
|
+
export declare class TooManyRequestsException extends __BaseException {
|
|
1330
|
+
readonly name: "TooManyRequestsException";
|
|
1331
|
+
readonly $fault: "client";
|
|
1295
1332
|
Message?: string;
|
|
1333
|
+
/**
|
|
1334
|
+
* @internal
|
|
1335
|
+
*/
|
|
1336
|
+
constructor(opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>);
|
|
1296
1337
|
}
|
|
1297
1338
|
/**
|
|
1298
1339
|
* <p>The request contains more tags than can be associated with a resource (50 tags per
|
|
1299
1340
|
* resource). The maximum number of tags includes both existing tags and those included in your
|
|
1300
1341
|
* current request. </p>
|
|
1301
1342
|
*/
|
|
1302
|
-
export
|
|
1303
|
-
name: "TooManyTagsException";
|
|
1304
|
-
$fault: "client";
|
|
1343
|
+
export declare class TooManyTagsException extends __BaseException {
|
|
1344
|
+
readonly name: "TooManyTagsException";
|
|
1345
|
+
readonly $fault: "client";
|
|
1305
1346
|
Message?: string;
|
|
1347
|
+
/**
|
|
1348
|
+
* @internal
|
|
1349
|
+
*/
|
|
1350
|
+
constructor(opts: __ExceptionOptionType<TooManyTagsException, __BaseException>);
|
|
1306
1351
|
}
|
|
1307
1352
|
export interface CreateEndpointRequest {
|
|
1308
1353
|
/**
|
|
@@ -1361,10 +1406,14 @@ export declare namespace CreateEndpointResponse {
|
|
|
1361
1406
|
/**
|
|
1362
1407
|
* <p>The specified resource ARN was not found. Check the ARN and try your request again.</p>
|
|
1363
1408
|
*/
|
|
1364
|
-
export
|
|
1365
|
-
name: "ResourceNotFoundException";
|
|
1366
|
-
$fault: "client";
|
|
1409
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
1410
|
+
readonly name: "ResourceNotFoundException";
|
|
1411
|
+
readonly $fault: "client";
|
|
1367
1412
|
Message?: string;
|
|
1413
|
+
/**
|
|
1414
|
+
* @internal
|
|
1415
|
+
*/
|
|
1416
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
1368
1417
|
}
|
|
1369
1418
|
/**
|
|
1370
1419
|
* <p>Describes the annotations associated with a entity recognizer.</p>
|
|
@@ -2017,10 +2066,14 @@ export declare namespace DescribeDocumentClassificationJobResponse {
|
|
|
2017
2066
|
/**
|
|
2018
2067
|
* <p>The specified job was not found. Check the job ID and try again.</p>
|
|
2019
2068
|
*/
|
|
2020
|
-
export
|
|
2021
|
-
name: "JobNotFoundException";
|
|
2022
|
-
$fault: "client";
|
|
2069
|
+
export declare class JobNotFoundException extends __BaseException {
|
|
2070
|
+
readonly name: "JobNotFoundException";
|
|
2071
|
+
readonly $fault: "client";
|
|
2023
2072
|
Message?: string;
|
|
2073
|
+
/**
|
|
2074
|
+
* @internal
|
|
2075
|
+
*/
|
|
2076
|
+
constructor(opts: __ExceptionOptionType<JobNotFoundException, __BaseException>);
|
|
2024
2077
|
}
|
|
2025
2078
|
export interface DescribeDocumentClassifierRequest {
|
|
2026
2079
|
/**
|
|
@@ -3699,10 +3752,14 @@ export declare namespace ImportModelResponse {
|
|
|
3699
3752
|
* <p>The filter specified for the operation is invalid. Specify a different
|
|
3700
3753
|
* filter.</p>
|
|
3701
3754
|
*/
|
|
3702
|
-
export
|
|
3703
|
-
name: "InvalidFilterException";
|
|
3704
|
-
$fault: "client";
|
|
3755
|
+
export declare class InvalidFilterException extends __BaseException {
|
|
3756
|
+
readonly name: "InvalidFilterException";
|
|
3757
|
+
readonly $fault: "client";
|
|
3705
3758
|
Message?: string;
|
|
3759
|
+
/**
|
|
3760
|
+
* @internal
|
|
3761
|
+
*/
|
|
3762
|
+
constructor(opts: __ExceptionOptionType<InvalidFilterException, __BaseException>);
|
|
3706
3763
|
}
|
|
3707
3764
|
/**
|
|
3708
3765
|
* <p>Provides information for filtering a list of document classification jobs. For more
|
|
@@ -5723,10 +5780,14 @@ export declare namespace StopTrainingEntityRecognizerResponse {
|
|
|
5723
5780
|
* <p>Concurrent modification of the tags associated with an Amazon Comprehend resource is not
|
|
5724
5781
|
* supported. </p>
|
|
5725
5782
|
*/
|
|
5726
|
-
export
|
|
5727
|
-
name: "ConcurrentModificationException";
|
|
5728
|
-
$fault: "client";
|
|
5783
|
+
export declare class ConcurrentModificationException extends __BaseException {
|
|
5784
|
+
readonly name: "ConcurrentModificationException";
|
|
5785
|
+
readonly $fault: "client";
|
|
5729
5786
|
Message?: string;
|
|
5787
|
+
/**
|
|
5788
|
+
* @internal
|
|
5789
|
+
*/
|
|
5790
|
+
constructor(opts: __ExceptionOptionType<ConcurrentModificationException, __BaseException>);
|
|
5730
5791
|
}
|
|
5731
5792
|
export interface TagResourceRequest {
|
|
5732
5793
|
/**
|
|
@@ -5758,10 +5819,14 @@ export declare namespace TagResourceResponse {
|
|
|
5758
5819
|
* <p>The request contains more tag keys than can be associated with a resource (50 tag keys per
|
|
5759
5820
|
* resource).</p>
|
|
5760
5821
|
*/
|
|
5761
|
-
export
|
|
5762
|
-
name: "TooManyTagKeysException";
|
|
5763
|
-
$fault: "client";
|
|
5822
|
+
export declare class TooManyTagKeysException extends __BaseException {
|
|
5823
|
+
readonly name: "TooManyTagKeysException";
|
|
5824
|
+
readonly $fault: "client";
|
|
5764
5825
|
Message?: string;
|
|
5826
|
+
/**
|
|
5827
|
+
* @internal
|
|
5828
|
+
*/
|
|
5829
|
+
constructor(opts: __ExceptionOptionType<TooManyTagKeysException, __BaseException>);
|
|
5765
5830
|
}
|
|
5766
5831
|
export interface UntagResourceRequest {
|
|
5767
5832
|
/**
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
|
|
2
|
+
|
|
3
|
+
export declare class ComprehendServiceException extends __ServiceException {
|
|
4
|
+
|
|
5
|
+
constructor(options: __ServiceExceptionOptions);
|
|
6
|
+
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { ComprehendServiceException as __BaseException } from "./ComprehendServiceException";
|
|
2
3
|
export declare enum AugmentedManifestsDocumentTypeFormat {
|
|
3
4
|
PLAIN_TEXT_DOCUMENT = "PLAIN_TEXT_DOCUMENT",
|
|
4
5
|
SEMI_STRUCTURED_DOCUMENT = "SEMI_STRUCTURED_DOCUMENT"
|
|
@@ -80,28 +81,36 @@ export declare namespace BatchDetectDominantLanguageResponse {
|
|
|
80
81
|
const filterSensitiveLog: (obj: BatchDetectDominantLanguageResponse) => any;
|
|
81
82
|
}
|
|
82
83
|
|
|
83
|
-
export
|
|
84
|
-
name: "BatchSizeLimitExceededException";
|
|
85
|
-
$fault: "client";
|
|
84
|
+
export declare class BatchSizeLimitExceededException extends __BaseException {
|
|
85
|
+
readonly name: "BatchSizeLimitExceededException";
|
|
86
|
+
readonly $fault: "client";
|
|
86
87
|
Message?: string;
|
|
88
|
+
|
|
89
|
+
constructor(opts: __ExceptionOptionType<BatchSizeLimitExceededException, __BaseException>);
|
|
87
90
|
}
|
|
88
91
|
|
|
89
|
-
export
|
|
90
|
-
name: "InternalServerException";
|
|
91
|
-
$fault: "server";
|
|
92
|
+
export declare class InternalServerException extends __BaseException {
|
|
93
|
+
readonly name: "InternalServerException";
|
|
94
|
+
readonly $fault: "server";
|
|
92
95
|
Message?: string;
|
|
96
|
+
|
|
97
|
+
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
93
98
|
}
|
|
94
99
|
|
|
95
|
-
export
|
|
96
|
-
name: "InvalidRequestException";
|
|
97
|
-
$fault: "client";
|
|
100
|
+
export declare class InvalidRequestException extends __BaseException {
|
|
101
|
+
readonly name: "InvalidRequestException";
|
|
102
|
+
readonly $fault: "client";
|
|
98
103
|
Message?: string;
|
|
104
|
+
|
|
105
|
+
constructor(opts: __ExceptionOptionType<InvalidRequestException, __BaseException>);
|
|
99
106
|
}
|
|
100
107
|
|
|
101
|
-
export
|
|
102
|
-
name: "TextSizeLimitExceededException";
|
|
103
|
-
$fault: "client";
|
|
108
|
+
export declare class TextSizeLimitExceededException extends __BaseException {
|
|
109
|
+
readonly name: "TextSizeLimitExceededException";
|
|
110
|
+
readonly $fault: "client";
|
|
104
111
|
Message?: string;
|
|
112
|
+
|
|
113
|
+
constructor(opts: __ExceptionOptionType<TextSizeLimitExceededException, __BaseException>);
|
|
105
114
|
}
|
|
106
115
|
export declare enum LanguageCode {
|
|
107
116
|
AR = "ar",
|
|
@@ -177,10 +186,12 @@ export declare namespace BatchDetectEntitiesResponse {
|
|
|
177
186
|
const filterSensitiveLog: (obj: BatchDetectEntitiesResponse) => any;
|
|
178
187
|
}
|
|
179
188
|
|
|
180
|
-
export
|
|
181
|
-
name: "UnsupportedLanguageException";
|
|
182
|
-
$fault: "client";
|
|
189
|
+
export declare class UnsupportedLanguageException extends __BaseException {
|
|
190
|
+
readonly name: "UnsupportedLanguageException";
|
|
191
|
+
readonly $fault: "client";
|
|
183
192
|
Message?: string;
|
|
193
|
+
|
|
194
|
+
constructor(opts: __ExceptionOptionType<UnsupportedLanguageException, __BaseException>);
|
|
184
195
|
}
|
|
185
196
|
export interface BatchDetectKeyPhrasesRequest {
|
|
186
197
|
|
|
@@ -450,10 +461,12 @@ export declare namespace ClassifyDocumentResponse {
|
|
|
450
461
|
const filterSensitiveLog: (obj: ClassifyDocumentResponse) => any;
|
|
451
462
|
}
|
|
452
463
|
|
|
453
|
-
export
|
|
454
|
-
name: "ResourceUnavailableException";
|
|
455
|
-
$fault: "client";
|
|
464
|
+
export declare class ResourceUnavailableException extends __BaseException {
|
|
465
|
+
readonly name: "ResourceUnavailableException";
|
|
466
|
+
readonly $fault: "client";
|
|
456
467
|
Message?: string;
|
|
468
|
+
|
|
469
|
+
constructor(opts: __ExceptionOptionType<ResourceUnavailableException, __BaseException>);
|
|
457
470
|
}
|
|
458
471
|
export interface ContainsPiiEntitiesRequest {
|
|
459
472
|
|
|
@@ -608,34 +621,44 @@ export declare namespace CreateDocumentClassifierResponse {
|
|
|
608
621
|
const filterSensitiveLog: (obj: CreateDocumentClassifierResponse) => any;
|
|
609
622
|
}
|
|
610
623
|
|
|
611
|
-
export
|
|
612
|
-
name: "KmsKeyValidationException";
|
|
613
|
-
$fault: "client";
|
|
624
|
+
export declare class KmsKeyValidationException extends __BaseException {
|
|
625
|
+
readonly name: "KmsKeyValidationException";
|
|
626
|
+
readonly $fault: "client";
|
|
614
627
|
Message?: string;
|
|
628
|
+
|
|
629
|
+
constructor(opts: __ExceptionOptionType<KmsKeyValidationException, __BaseException>);
|
|
615
630
|
}
|
|
616
631
|
|
|
617
|
-
export
|
|
618
|
-
name: "ResourceInUseException";
|
|
619
|
-
$fault: "client";
|
|
632
|
+
export declare class ResourceInUseException extends __BaseException {
|
|
633
|
+
readonly name: "ResourceInUseException";
|
|
634
|
+
readonly $fault: "client";
|
|
620
635
|
Message?: string;
|
|
636
|
+
|
|
637
|
+
constructor(opts: __ExceptionOptionType<ResourceInUseException, __BaseException>);
|
|
621
638
|
}
|
|
622
639
|
|
|
623
|
-
export
|
|
624
|
-
name: "ResourceLimitExceededException";
|
|
625
|
-
$fault: "client";
|
|
640
|
+
export declare class ResourceLimitExceededException extends __BaseException {
|
|
641
|
+
readonly name: "ResourceLimitExceededException";
|
|
642
|
+
readonly $fault: "client";
|
|
626
643
|
Message?: string;
|
|
644
|
+
|
|
645
|
+
constructor(opts: __ExceptionOptionType<ResourceLimitExceededException, __BaseException>);
|
|
627
646
|
}
|
|
628
647
|
|
|
629
|
-
export
|
|
630
|
-
name: "TooManyRequestsException";
|
|
631
|
-
$fault: "client";
|
|
648
|
+
export declare class TooManyRequestsException extends __BaseException {
|
|
649
|
+
readonly name: "TooManyRequestsException";
|
|
650
|
+
readonly $fault: "client";
|
|
632
651
|
Message?: string;
|
|
652
|
+
|
|
653
|
+
constructor(opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>);
|
|
633
654
|
}
|
|
634
655
|
|
|
635
|
-
export
|
|
636
|
-
name: "TooManyTagsException";
|
|
637
|
-
$fault: "client";
|
|
656
|
+
export declare class TooManyTagsException extends __BaseException {
|
|
657
|
+
readonly name: "TooManyTagsException";
|
|
658
|
+
readonly $fault: "client";
|
|
638
659
|
Message?: string;
|
|
660
|
+
|
|
661
|
+
constructor(opts: __ExceptionOptionType<TooManyTagsException, __BaseException>);
|
|
639
662
|
}
|
|
640
663
|
export interface CreateEndpointRequest {
|
|
641
664
|
|
|
@@ -664,10 +687,12 @@ export declare namespace CreateEndpointResponse {
|
|
|
664
687
|
const filterSensitiveLog: (obj: CreateEndpointResponse) => any;
|
|
665
688
|
}
|
|
666
689
|
|
|
667
|
-
export
|
|
668
|
-
name: "ResourceNotFoundException";
|
|
669
|
-
$fault: "client";
|
|
690
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
691
|
+
readonly name: "ResourceNotFoundException";
|
|
692
|
+
readonly $fault: "client";
|
|
670
693
|
Message?: string;
|
|
694
|
+
|
|
695
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
671
696
|
}
|
|
672
697
|
|
|
673
698
|
export interface EntityRecognizerAnnotations {
|
|
@@ -939,10 +964,12 @@ export declare namespace DescribeDocumentClassificationJobResponse {
|
|
|
939
964
|
const filterSensitiveLog: (obj: DescribeDocumentClassificationJobResponse) => any;
|
|
940
965
|
}
|
|
941
966
|
|
|
942
|
-
export
|
|
943
|
-
name: "JobNotFoundException";
|
|
944
|
-
$fault: "client";
|
|
967
|
+
export declare class JobNotFoundException extends __BaseException {
|
|
968
|
+
readonly name: "JobNotFoundException";
|
|
969
|
+
readonly $fault: "client";
|
|
945
970
|
Message?: string;
|
|
971
|
+
|
|
972
|
+
constructor(opts: __ExceptionOptionType<JobNotFoundException, __BaseException>);
|
|
946
973
|
}
|
|
947
974
|
export interface DescribeDocumentClassifierRequest {
|
|
948
975
|
|
|
@@ -1720,10 +1747,12 @@ export declare namespace ImportModelResponse {
|
|
|
1720
1747
|
const filterSensitiveLog: (obj: ImportModelResponse) => any;
|
|
1721
1748
|
}
|
|
1722
1749
|
|
|
1723
|
-
export
|
|
1724
|
-
name: "InvalidFilterException";
|
|
1725
|
-
$fault: "client";
|
|
1750
|
+
export declare class InvalidFilterException extends __BaseException {
|
|
1751
|
+
readonly name: "InvalidFilterException";
|
|
1752
|
+
readonly $fault: "client";
|
|
1726
1753
|
Message?: string;
|
|
1754
|
+
|
|
1755
|
+
constructor(opts: __ExceptionOptionType<InvalidFilterException, __BaseException>);
|
|
1727
1756
|
}
|
|
1728
1757
|
|
|
1729
1758
|
export interface DocumentClassificationJobFilter {
|
|
@@ -2667,10 +2696,12 @@ export declare namespace StopTrainingEntityRecognizerResponse {
|
|
|
2667
2696
|
const filterSensitiveLog: (obj: StopTrainingEntityRecognizerResponse) => any;
|
|
2668
2697
|
}
|
|
2669
2698
|
|
|
2670
|
-
export
|
|
2671
|
-
name: "ConcurrentModificationException";
|
|
2672
|
-
$fault: "client";
|
|
2699
|
+
export declare class ConcurrentModificationException extends __BaseException {
|
|
2700
|
+
readonly name: "ConcurrentModificationException";
|
|
2701
|
+
readonly $fault: "client";
|
|
2673
2702
|
Message?: string;
|
|
2703
|
+
|
|
2704
|
+
constructor(opts: __ExceptionOptionType<ConcurrentModificationException, __BaseException>);
|
|
2674
2705
|
}
|
|
2675
2706
|
export interface TagResourceRequest {
|
|
2676
2707
|
|
|
@@ -2689,10 +2720,12 @@ export declare namespace TagResourceResponse {
|
|
|
2689
2720
|
const filterSensitiveLog: (obj: TagResourceResponse) => any;
|
|
2690
2721
|
}
|
|
2691
2722
|
|
|
2692
|
-
export
|
|
2693
|
-
name: "TooManyTagKeysException";
|
|
2694
|
-
$fault: "client";
|
|
2723
|
+
export declare class TooManyTagKeysException extends __BaseException {
|
|
2724
|
+
readonly name: "TooManyTagKeysException";
|
|
2725
|
+
readonly $fault: "client";
|
|
2695
2726
|
Message?: string;
|
|
2727
|
+
|
|
2728
|
+
constructor(opts: __ExceptionOptionType<TooManyTagKeysException, __BaseException>);
|
|
2696
2729
|
}
|
|
2697
2730
|
export interface UntagResourceRequest {
|
|
2698
2731
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-comprehend",
|
|
3
3
|
"description": "AWS SDK for JavaScript Comprehend 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",
|