@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/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.53.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.52.0...v3.53.0) (2022-02-24)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **clients:** generate service exceptions as classes ([#3267](https://github.com/aws/aws-sdk-js-v3/issues/3267)) ([ca64fee](https://github.com/aws/aws-sdk-js-v3/commit/ca64feed3351c394c07dc26b782a5760a396a074))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [3.52.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.51.0...v3.52.0) (2022-02-18)
|
|
7
18
|
|
|
8
19
|
**Note:** Version bump only for package @aws-sdk/client-comprehend
|
package/dist-cjs/index.js
CHANGED
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ComprehendServiceException = void 0;
|
|
3
4
|
const tslib_1 = require("tslib");
|
|
4
5
|
tslib_1.__exportStar(require("./Comprehend"), exports);
|
|
5
6
|
tslib_1.__exportStar(require("./ComprehendClient"), exports);
|
|
6
7
|
tslib_1.__exportStar(require("./commands"), exports);
|
|
7
8
|
tslib_1.__exportStar(require("./models"), exports);
|
|
8
9
|
tslib_1.__exportStar(require("./pagination"), exports);
|
|
10
|
+
var ComprehendServiceException_1 = require("./models/ComprehendServiceException");
|
|
11
|
+
Object.defineProperty(exports, "ComprehendServiceException", { enumerable: true, get: function () { return ComprehendServiceException_1.ComprehendServiceException; } });
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ComprehendServiceException = void 0;
|
|
4
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
5
|
+
class ComprehendServiceException extends smithy_client_1.ServiceException {
|
|
6
|
+
constructor(options) {
|
|
7
|
+
super(options);
|
|
8
|
+
Object.setPrototypeOf(this, ComprehendServiceException.prototype);
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
exports.ComprehendServiceException = ComprehendServiceException;
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.
|
|
6
|
-
exports.
|
|
7
|
-
exports.UpdateEndpointResponse = exports.UpdateEndpointRequest = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.StopTrainingEntityRecognizerResponse = exports.StopTrainingEntityRecognizerRequest = exports.StopTrainingDocumentClassifierResponse = exports.StopTrainingDocumentClassifierRequest = exports.StopSentimentDetectionJobResponse = exports.StopSentimentDetectionJobRequest = exports.StopPiiEntitiesDetectionJobResponse = exports.StopPiiEntitiesDetectionJobRequest = exports.StopKeyPhrasesDetectionJobResponse = void 0;
|
|
3
|
+
exports.DocumentClassifierOutputDataConfig = exports.DocumentClassifierMode = exports.DocumentClassifierInputDataConfig = exports.DocumentClassifierDataFormat = exports.ContainsPiiEntitiesResponse = exports.EntityLabel = exports.PiiEntityType = exports.ContainsPiiEntitiesRequest = exports.ResourceUnavailableException = exports.ClassifyDocumentResponse = exports.DocumentLabel = exports.DocumentClass = exports.ClassifyDocumentRequest = exports.ClassifierMetadata = exports.ClassifierEvaluationMetrics = exports.BatchDetectSyntaxResponse = exports.BatchDetectSyntaxItemResult = exports.SyntaxToken = exports.PartOfSpeechTag = exports.PartOfSpeechTagType = exports.BatchDetectSyntaxRequest = exports.SyntaxLanguageCode = exports.BatchDetectSentimentResponse = exports.BatchDetectSentimentItemResult = exports.SentimentScore = exports.SentimentType = exports.BatchDetectSentimentRequest = exports.BatchDetectKeyPhrasesResponse = exports.BatchDetectKeyPhrasesItemResult = exports.KeyPhrase = exports.BatchDetectKeyPhrasesRequest = exports.UnsupportedLanguageException = exports.BatchDetectEntitiesResponse = exports.BatchDetectEntitiesItemResult = exports.Entity = exports.EntityType = exports.BatchDetectEntitiesRequest = exports.LanguageCode = exports.TextSizeLimitExceededException = exports.InvalidRequestException = exports.InternalServerException = exports.BatchSizeLimitExceededException = exports.BatchDetectDominantLanguageResponse = exports.BatchDetectDominantLanguageItemResult = exports.DominantLanguage = exports.BatchItemError = exports.BatchDetectDominantLanguageRequest = exports.AugmentedManifestsListItem = exports.Split = exports.AugmentedManifestsDocumentTypeFormat = void 0;
|
|
4
|
+
exports.EndpointProperties = exports.EndpointStatus = exports.DescribeEndpointRequest = exports.DescribeDominantLanguageDetectionJobResponse = exports.DominantLanguageDetectionJobProperties = exports.DescribeDominantLanguageDetectionJobRequest = exports.DescribeDocumentClassifierResponse = exports.DocumentClassifierProperties = exports.ModelStatus = exports.DescribeDocumentClassifierRequest = exports.JobNotFoundException = exports.DescribeDocumentClassificationJobResponse = exports.DocumentClassificationJobProperties = exports.OutputDataConfig = exports.JobStatus = exports.InputDataConfig = exports.DocumentReaderConfig = exports.DocumentReadFeatureTypes = exports.DocumentReadMode = exports.DocumentReadAction = exports.DescribeDocumentClassificationJobRequest = exports.DeleteResourcePolicyResponse = exports.DeleteResourcePolicyRequest = exports.DeleteEntityRecognizerResponse = exports.DeleteEntityRecognizerRequest = exports.DeleteEndpointResponse = exports.DeleteEndpointRequest = exports.DeleteDocumentClassifierResponse = exports.DeleteDocumentClassifierRequest = exports.CreateEntityRecognizerResponse = exports.CreateEntityRecognizerRequest = exports.EntityRecognizerInputDataConfig = exports.EntityTypesListItem = exports.EntityRecognizerEntityList = exports.EntityRecognizerDocuments = exports.InputFormat = exports.EntityRecognizerDataFormat = exports.EntityRecognizerAnnotations = exports.ResourceNotFoundException = exports.CreateEndpointResponse = exports.CreateEndpointRequest = exports.TooManyTagsException = exports.TooManyRequestsException = exports.ResourceLimitExceededException = exports.ResourceInUseException = exports.KmsKeyValidationException = exports.CreateDocumentClassifierResponse = exports.CreateDocumentClassifierRequest = exports.VpcConfig = exports.Tag = void 0;
|
|
5
|
+
exports.ListDocumentClassificationJobsRequest = exports.DocumentClassificationJobFilter = exports.InvalidFilterException = exports.ImportModelResponse = exports.ImportModelRequest = exports.DetectSyntaxResponse = exports.DetectSyntaxRequest = exports.DetectSentimentResponse = exports.DetectSentimentRequest = exports.DetectPiiEntitiesResponse = exports.PiiEntity = exports.DetectPiiEntitiesRequest = exports.DetectKeyPhrasesResponse = exports.DetectKeyPhrasesRequest = exports.DetectEntitiesResponse = exports.DetectEntitiesRequest = exports.DetectDominantLanguageResponse = exports.DetectDominantLanguageRequest = exports.DescribeTopicsDetectionJobResponse = exports.TopicsDetectionJobProperties = exports.DescribeTopicsDetectionJobRequest = exports.DescribeSentimentDetectionJobResponse = exports.SentimentDetectionJobProperties = exports.DescribeSentimentDetectionJobRequest = exports.DescribeResourcePolicyResponse = exports.DescribeResourcePolicyRequest = exports.DescribePiiEntitiesDetectionJobResponse = exports.PiiEntitiesDetectionJobProperties = exports.RedactionConfig = exports.PiiEntitiesDetectionMaskMode = exports.PiiOutputDataConfig = exports.PiiEntitiesDetectionMode = exports.DescribePiiEntitiesDetectionJobRequest = exports.DescribeKeyPhrasesDetectionJobResponse = exports.KeyPhrasesDetectionJobProperties = exports.DescribeKeyPhrasesDetectionJobRequest = exports.DescribeEventsDetectionJobResponse = exports.EventsDetectionJobProperties = exports.DescribeEventsDetectionJobRequest = exports.DescribeEntityRecognizerResponse = exports.EntityRecognizerProperties = exports.EntityRecognizerMetadata = exports.EntityRecognizerEvaluationMetrics = exports.EntityRecognizerMetadataEntityTypesListItem = exports.EntityTypesEvaluationMetrics = exports.DescribeEntityRecognizerRequest = exports.DescribeEntitiesDetectionJobResponse = exports.EntitiesDetectionJobProperties = exports.DescribeEntitiesDetectionJobRequest = exports.DescribeEndpointResponse = void 0;
|
|
6
|
+
exports.StartKeyPhrasesDetectionJobRequest = exports.StartEventsDetectionJobResponse = exports.StartEventsDetectionJobRequest = exports.StartEntitiesDetectionJobResponse = exports.StartEntitiesDetectionJobRequest = exports.StartDominantLanguageDetectionJobResponse = exports.StartDominantLanguageDetectionJobRequest = exports.StartDocumentClassificationJobResponse = exports.StartDocumentClassificationJobRequest = exports.PutResourcePolicyResponse = exports.PutResourcePolicyRequest = exports.ListTopicsDetectionJobsResponse = exports.ListTopicsDetectionJobsRequest = exports.TopicsDetectionJobFilter = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.ListSentimentDetectionJobsResponse = exports.ListSentimentDetectionJobsRequest = exports.SentimentDetectionJobFilter = exports.ListPiiEntitiesDetectionJobsResponse = exports.ListPiiEntitiesDetectionJobsRequest = exports.PiiEntitiesDetectionJobFilter = exports.ListKeyPhrasesDetectionJobsResponse = exports.ListKeyPhrasesDetectionJobsRequest = exports.KeyPhrasesDetectionJobFilter = exports.ListEventsDetectionJobsResponse = exports.ListEventsDetectionJobsRequest = exports.EventsDetectionJobFilter = exports.ListEntityRecognizerSummariesResponse = exports.EntityRecognizerSummary = exports.ListEntityRecognizerSummariesRequest = exports.ListEntityRecognizersResponse = exports.ListEntityRecognizersRequest = exports.EntityRecognizerFilter = exports.ListEntitiesDetectionJobsResponse = exports.ListEntitiesDetectionJobsRequest = exports.EntitiesDetectionJobFilter = exports.ListEndpointsResponse = exports.ListEndpointsRequest = exports.EndpointFilter = exports.ListDominantLanguageDetectionJobsResponse = exports.ListDominantLanguageDetectionJobsRequest = exports.DominantLanguageDetectionJobFilter = exports.ListDocumentClassifierSummariesResponse = exports.DocumentClassifierSummary = exports.ListDocumentClassifierSummariesRequest = exports.ListDocumentClassifiersResponse = exports.ListDocumentClassifiersRequest = exports.DocumentClassifierFilter = exports.ListDocumentClassificationJobsResponse = void 0;
|
|
7
|
+
exports.UpdateEndpointResponse = exports.UpdateEndpointRequest = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TooManyTagKeysException = exports.TagResourceResponse = exports.TagResourceRequest = exports.ConcurrentModificationException = exports.StopTrainingEntityRecognizerResponse = exports.StopTrainingEntityRecognizerRequest = exports.StopTrainingDocumentClassifierResponse = exports.StopTrainingDocumentClassifierRequest = exports.StopSentimentDetectionJobResponse = exports.StopSentimentDetectionJobRequest = exports.StopPiiEntitiesDetectionJobResponse = exports.StopPiiEntitiesDetectionJobRequest = exports.StopKeyPhrasesDetectionJobResponse = exports.StopKeyPhrasesDetectionJobRequest = exports.StopEventsDetectionJobResponse = exports.StopEventsDetectionJobRequest = exports.StopEntitiesDetectionJobResponse = exports.StopEntitiesDetectionJobRequest = exports.StopDominantLanguageDetectionJobResponse = exports.StopDominantLanguageDetectionJobRequest = exports.StartTopicsDetectionJobResponse = exports.StartTopicsDetectionJobRequest = exports.StartSentimentDetectionJobResponse = exports.StartSentimentDetectionJobRequest = exports.StartPiiEntitiesDetectionJobResponse = exports.StartPiiEntitiesDetectionJobRequest = exports.StartKeyPhrasesDetectionJobResponse = void 0;
|
|
8
8
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
9
|
+
const ComprehendServiceException_1 = require("./ComprehendServiceException");
|
|
9
10
|
var AugmentedManifestsDocumentTypeFormat;
|
|
10
11
|
(function (AugmentedManifestsDocumentTypeFormat) {
|
|
11
12
|
AugmentedManifestsDocumentTypeFormat["PLAIN_TEXT_DOCUMENT"] = "PLAIN_TEXT_DOCUMENT";
|
|
@@ -53,6 +54,62 @@ var BatchDetectDominantLanguageResponse;
|
|
|
53
54
|
...obj,
|
|
54
55
|
});
|
|
55
56
|
})(BatchDetectDominantLanguageResponse = exports.BatchDetectDominantLanguageResponse || (exports.BatchDetectDominantLanguageResponse = {}));
|
|
57
|
+
class BatchSizeLimitExceededException extends ComprehendServiceException_1.ComprehendServiceException {
|
|
58
|
+
constructor(opts) {
|
|
59
|
+
super({
|
|
60
|
+
name: "BatchSizeLimitExceededException",
|
|
61
|
+
$fault: "client",
|
|
62
|
+
...opts,
|
|
63
|
+
});
|
|
64
|
+
this.name = "BatchSizeLimitExceededException";
|
|
65
|
+
this.$fault = "client";
|
|
66
|
+
Object.setPrototypeOf(this, BatchSizeLimitExceededException.prototype);
|
|
67
|
+
this.Message = opts.Message;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
exports.BatchSizeLimitExceededException = BatchSizeLimitExceededException;
|
|
71
|
+
class InternalServerException extends ComprehendServiceException_1.ComprehendServiceException {
|
|
72
|
+
constructor(opts) {
|
|
73
|
+
super({
|
|
74
|
+
name: "InternalServerException",
|
|
75
|
+
$fault: "server",
|
|
76
|
+
...opts,
|
|
77
|
+
});
|
|
78
|
+
this.name = "InternalServerException";
|
|
79
|
+
this.$fault = "server";
|
|
80
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
81
|
+
this.Message = opts.Message;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
exports.InternalServerException = InternalServerException;
|
|
85
|
+
class InvalidRequestException extends ComprehendServiceException_1.ComprehendServiceException {
|
|
86
|
+
constructor(opts) {
|
|
87
|
+
super({
|
|
88
|
+
name: "InvalidRequestException",
|
|
89
|
+
$fault: "client",
|
|
90
|
+
...opts,
|
|
91
|
+
});
|
|
92
|
+
this.name = "InvalidRequestException";
|
|
93
|
+
this.$fault = "client";
|
|
94
|
+
Object.setPrototypeOf(this, InvalidRequestException.prototype);
|
|
95
|
+
this.Message = opts.Message;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
exports.InvalidRequestException = InvalidRequestException;
|
|
99
|
+
class TextSizeLimitExceededException extends ComprehendServiceException_1.ComprehendServiceException {
|
|
100
|
+
constructor(opts) {
|
|
101
|
+
super({
|
|
102
|
+
name: "TextSizeLimitExceededException",
|
|
103
|
+
$fault: "client",
|
|
104
|
+
...opts,
|
|
105
|
+
});
|
|
106
|
+
this.name = "TextSizeLimitExceededException";
|
|
107
|
+
this.$fault = "client";
|
|
108
|
+
Object.setPrototypeOf(this, TextSizeLimitExceededException.prototype);
|
|
109
|
+
this.Message = opts.Message;
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
exports.TextSizeLimitExceededException = TextSizeLimitExceededException;
|
|
56
113
|
var LanguageCode;
|
|
57
114
|
(function (LanguageCode) {
|
|
58
115
|
LanguageCode["AR"] = "ar";
|
|
@@ -105,6 +162,20 @@ var BatchDetectEntitiesResponse;
|
|
|
105
162
|
...obj,
|
|
106
163
|
});
|
|
107
164
|
})(BatchDetectEntitiesResponse = exports.BatchDetectEntitiesResponse || (exports.BatchDetectEntitiesResponse = {}));
|
|
165
|
+
class UnsupportedLanguageException extends ComprehendServiceException_1.ComprehendServiceException {
|
|
166
|
+
constructor(opts) {
|
|
167
|
+
super({
|
|
168
|
+
name: "UnsupportedLanguageException",
|
|
169
|
+
$fault: "client",
|
|
170
|
+
...opts,
|
|
171
|
+
});
|
|
172
|
+
this.name = "UnsupportedLanguageException";
|
|
173
|
+
this.$fault = "client";
|
|
174
|
+
Object.setPrototypeOf(this, UnsupportedLanguageException.prototype);
|
|
175
|
+
this.Message = opts.Message;
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
exports.UnsupportedLanguageException = UnsupportedLanguageException;
|
|
108
179
|
var BatchDetectKeyPhrasesRequest;
|
|
109
180
|
(function (BatchDetectKeyPhrasesRequest) {
|
|
110
181
|
BatchDetectKeyPhrasesRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -260,6 +331,20 @@ var ClassifyDocumentResponse;
|
|
|
260
331
|
...obj,
|
|
261
332
|
});
|
|
262
333
|
})(ClassifyDocumentResponse = exports.ClassifyDocumentResponse || (exports.ClassifyDocumentResponse = {}));
|
|
334
|
+
class ResourceUnavailableException extends ComprehendServiceException_1.ComprehendServiceException {
|
|
335
|
+
constructor(opts) {
|
|
336
|
+
super({
|
|
337
|
+
name: "ResourceUnavailableException",
|
|
338
|
+
$fault: "client",
|
|
339
|
+
...opts,
|
|
340
|
+
});
|
|
341
|
+
this.name = "ResourceUnavailableException";
|
|
342
|
+
this.$fault = "client";
|
|
343
|
+
Object.setPrototypeOf(this, ResourceUnavailableException.prototype);
|
|
344
|
+
this.Message = opts.Message;
|
|
345
|
+
}
|
|
346
|
+
}
|
|
347
|
+
exports.ResourceUnavailableException = ResourceUnavailableException;
|
|
263
348
|
var ContainsPiiEntitiesRequest;
|
|
264
349
|
(function (ContainsPiiEntitiesRequest) {
|
|
265
350
|
ContainsPiiEntitiesRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -350,6 +435,76 @@ var CreateDocumentClassifierResponse;
|
|
|
350
435
|
...obj,
|
|
351
436
|
});
|
|
352
437
|
})(CreateDocumentClassifierResponse = exports.CreateDocumentClassifierResponse || (exports.CreateDocumentClassifierResponse = {}));
|
|
438
|
+
class KmsKeyValidationException extends ComprehendServiceException_1.ComprehendServiceException {
|
|
439
|
+
constructor(opts) {
|
|
440
|
+
super({
|
|
441
|
+
name: "KmsKeyValidationException",
|
|
442
|
+
$fault: "client",
|
|
443
|
+
...opts,
|
|
444
|
+
});
|
|
445
|
+
this.name = "KmsKeyValidationException";
|
|
446
|
+
this.$fault = "client";
|
|
447
|
+
Object.setPrototypeOf(this, KmsKeyValidationException.prototype);
|
|
448
|
+
this.Message = opts.Message;
|
|
449
|
+
}
|
|
450
|
+
}
|
|
451
|
+
exports.KmsKeyValidationException = KmsKeyValidationException;
|
|
452
|
+
class ResourceInUseException extends ComprehendServiceException_1.ComprehendServiceException {
|
|
453
|
+
constructor(opts) {
|
|
454
|
+
super({
|
|
455
|
+
name: "ResourceInUseException",
|
|
456
|
+
$fault: "client",
|
|
457
|
+
...opts,
|
|
458
|
+
});
|
|
459
|
+
this.name = "ResourceInUseException";
|
|
460
|
+
this.$fault = "client";
|
|
461
|
+
Object.setPrototypeOf(this, ResourceInUseException.prototype);
|
|
462
|
+
this.Message = opts.Message;
|
|
463
|
+
}
|
|
464
|
+
}
|
|
465
|
+
exports.ResourceInUseException = ResourceInUseException;
|
|
466
|
+
class ResourceLimitExceededException extends ComprehendServiceException_1.ComprehendServiceException {
|
|
467
|
+
constructor(opts) {
|
|
468
|
+
super({
|
|
469
|
+
name: "ResourceLimitExceededException",
|
|
470
|
+
$fault: "client",
|
|
471
|
+
...opts,
|
|
472
|
+
});
|
|
473
|
+
this.name = "ResourceLimitExceededException";
|
|
474
|
+
this.$fault = "client";
|
|
475
|
+
Object.setPrototypeOf(this, ResourceLimitExceededException.prototype);
|
|
476
|
+
this.Message = opts.Message;
|
|
477
|
+
}
|
|
478
|
+
}
|
|
479
|
+
exports.ResourceLimitExceededException = ResourceLimitExceededException;
|
|
480
|
+
class TooManyRequestsException extends ComprehendServiceException_1.ComprehendServiceException {
|
|
481
|
+
constructor(opts) {
|
|
482
|
+
super({
|
|
483
|
+
name: "TooManyRequestsException",
|
|
484
|
+
$fault: "client",
|
|
485
|
+
...opts,
|
|
486
|
+
});
|
|
487
|
+
this.name = "TooManyRequestsException";
|
|
488
|
+
this.$fault = "client";
|
|
489
|
+
Object.setPrototypeOf(this, TooManyRequestsException.prototype);
|
|
490
|
+
this.Message = opts.Message;
|
|
491
|
+
}
|
|
492
|
+
}
|
|
493
|
+
exports.TooManyRequestsException = TooManyRequestsException;
|
|
494
|
+
class TooManyTagsException extends ComprehendServiceException_1.ComprehendServiceException {
|
|
495
|
+
constructor(opts) {
|
|
496
|
+
super({
|
|
497
|
+
name: "TooManyTagsException",
|
|
498
|
+
$fault: "client",
|
|
499
|
+
...opts,
|
|
500
|
+
});
|
|
501
|
+
this.name = "TooManyTagsException";
|
|
502
|
+
this.$fault = "client";
|
|
503
|
+
Object.setPrototypeOf(this, TooManyTagsException.prototype);
|
|
504
|
+
this.Message = opts.Message;
|
|
505
|
+
}
|
|
506
|
+
}
|
|
507
|
+
exports.TooManyTagsException = TooManyTagsException;
|
|
353
508
|
var CreateEndpointRequest;
|
|
354
509
|
(function (CreateEndpointRequest) {
|
|
355
510
|
CreateEndpointRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -362,6 +517,20 @@ var CreateEndpointResponse;
|
|
|
362
517
|
...obj,
|
|
363
518
|
});
|
|
364
519
|
})(CreateEndpointResponse = exports.CreateEndpointResponse || (exports.CreateEndpointResponse = {}));
|
|
520
|
+
class ResourceNotFoundException extends ComprehendServiceException_1.ComprehendServiceException {
|
|
521
|
+
constructor(opts) {
|
|
522
|
+
super({
|
|
523
|
+
name: "ResourceNotFoundException",
|
|
524
|
+
$fault: "client",
|
|
525
|
+
...opts,
|
|
526
|
+
});
|
|
527
|
+
this.name = "ResourceNotFoundException";
|
|
528
|
+
this.$fault = "client";
|
|
529
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
530
|
+
this.Message = opts.Message;
|
|
531
|
+
}
|
|
532
|
+
}
|
|
533
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
365
534
|
var EntityRecognizerAnnotations;
|
|
366
535
|
(function (EntityRecognizerAnnotations) {
|
|
367
536
|
EntityRecognizerAnnotations.filterSensitiveLog = (obj) => ({
|
|
@@ -522,6 +691,20 @@ var DescribeDocumentClassificationJobResponse;
|
|
|
522
691
|
...obj,
|
|
523
692
|
});
|
|
524
693
|
})(DescribeDocumentClassificationJobResponse = exports.DescribeDocumentClassificationJobResponse || (exports.DescribeDocumentClassificationJobResponse = {}));
|
|
694
|
+
class JobNotFoundException extends ComprehendServiceException_1.ComprehendServiceException {
|
|
695
|
+
constructor(opts) {
|
|
696
|
+
super({
|
|
697
|
+
name: "JobNotFoundException",
|
|
698
|
+
$fault: "client",
|
|
699
|
+
...opts,
|
|
700
|
+
});
|
|
701
|
+
this.name = "JobNotFoundException";
|
|
702
|
+
this.$fault = "client";
|
|
703
|
+
Object.setPrototypeOf(this, JobNotFoundException.prototype);
|
|
704
|
+
this.Message = opts.Message;
|
|
705
|
+
}
|
|
706
|
+
}
|
|
707
|
+
exports.JobNotFoundException = JobNotFoundException;
|
|
525
708
|
var DescribeDocumentClassifierRequest;
|
|
526
709
|
(function (DescribeDocumentClassifierRequest) {
|
|
527
710
|
DescribeDocumentClassifierRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -881,6 +1064,20 @@ var ImportModelResponse;
|
|
|
881
1064
|
...obj,
|
|
882
1065
|
});
|
|
883
1066
|
})(ImportModelResponse = exports.ImportModelResponse || (exports.ImportModelResponse = {}));
|
|
1067
|
+
class InvalidFilterException extends ComprehendServiceException_1.ComprehendServiceException {
|
|
1068
|
+
constructor(opts) {
|
|
1069
|
+
super({
|
|
1070
|
+
name: "InvalidFilterException",
|
|
1071
|
+
$fault: "client",
|
|
1072
|
+
...opts,
|
|
1073
|
+
});
|
|
1074
|
+
this.name = "InvalidFilterException";
|
|
1075
|
+
this.$fault = "client";
|
|
1076
|
+
Object.setPrototypeOf(this, InvalidFilterException.prototype);
|
|
1077
|
+
this.Message = opts.Message;
|
|
1078
|
+
}
|
|
1079
|
+
}
|
|
1080
|
+
exports.InvalidFilterException = InvalidFilterException;
|
|
884
1081
|
var DocumentClassificationJobFilter;
|
|
885
1082
|
(function (DocumentClassificationJobFilter) {
|
|
886
1083
|
DocumentClassificationJobFilter.filterSensitiveLog = (obj) => ({
|
|
@@ -1337,6 +1534,20 @@ var StopTrainingEntityRecognizerResponse;
|
|
|
1337
1534
|
...obj,
|
|
1338
1535
|
});
|
|
1339
1536
|
})(StopTrainingEntityRecognizerResponse = exports.StopTrainingEntityRecognizerResponse || (exports.StopTrainingEntityRecognizerResponse = {}));
|
|
1537
|
+
class ConcurrentModificationException extends ComprehendServiceException_1.ComprehendServiceException {
|
|
1538
|
+
constructor(opts) {
|
|
1539
|
+
super({
|
|
1540
|
+
name: "ConcurrentModificationException",
|
|
1541
|
+
$fault: "client",
|
|
1542
|
+
...opts,
|
|
1543
|
+
});
|
|
1544
|
+
this.name = "ConcurrentModificationException";
|
|
1545
|
+
this.$fault = "client";
|
|
1546
|
+
Object.setPrototypeOf(this, ConcurrentModificationException.prototype);
|
|
1547
|
+
this.Message = opts.Message;
|
|
1548
|
+
}
|
|
1549
|
+
}
|
|
1550
|
+
exports.ConcurrentModificationException = ConcurrentModificationException;
|
|
1340
1551
|
var TagResourceRequest;
|
|
1341
1552
|
(function (TagResourceRequest) {
|
|
1342
1553
|
TagResourceRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -1349,6 +1560,20 @@ var TagResourceResponse;
|
|
|
1349
1560
|
...obj,
|
|
1350
1561
|
});
|
|
1351
1562
|
})(TagResourceResponse = exports.TagResourceResponse || (exports.TagResourceResponse = {}));
|
|
1563
|
+
class TooManyTagKeysException extends ComprehendServiceException_1.ComprehendServiceException {
|
|
1564
|
+
constructor(opts) {
|
|
1565
|
+
super({
|
|
1566
|
+
name: "TooManyTagKeysException",
|
|
1567
|
+
$fault: "client",
|
|
1568
|
+
...opts,
|
|
1569
|
+
});
|
|
1570
|
+
this.name = "TooManyTagKeysException";
|
|
1571
|
+
this.$fault = "client";
|
|
1572
|
+
Object.setPrototypeOf(this, TooManyTagKeysException.prototype);
|
|
1573
|
+
this.Message = opts.Message;
|
|
1574
|
+
}
|
|
1575
|
+
}
|
|
1576
|
+
exports.TooManyTagKeysException = TooManyTagKeysException;
|
|
1352
1577
|
var UntagResourceRequest;
|
|
1353
1578
|
(function (UntagResourceRequest) {
|
|
1354
1579
|
UntagResourceRequest.filterSensitiveLog = (obj) => ({
|