@aws-sdk/client-comprehend 3.52.0 → 3.54.1
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 +30 -0
- package/dist-cjs/Comprehend.js +60 -0
- package/dist-cjs/commands/DescribeTargetedSentimentDetectionJobCommand.js +36 -0
- package/dist-cjs/commands/ListTargetedSentimentDetectionJobsCommand.js +36 -0
- package/dist-cjs/commands/StartTargetedSentimentDetectionJobCommand.js +36 -0
- package/dist-cjs/commands/StopTargetedSentimentDetectionJobCommand.js +36 -0
- package/dist-cjs/commands/index.js +4 -0
- package/dist-cjs/index.js +3 -0
- package/dist-cjs/models/ComprehendServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +290 -5
- package/dist-cjs/pagination/ListTargetedSentimentDetectionJobsPaginator.js +35 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_json1_1.js +1043 -2586
- package/dist-es/Comprehend.js +60 -0
- package/dist-es/commands/DescribeTargetedSentimentDetectionJobCommand.js +39 -0
- package/dist-es/commands/ListTargetedSentimentDetectionJobsCommand.js +39 -0
- package/dist-es/commands/StartTargetedSentimentDetectionJobCommand.js +39 -0
- package/dist-es/commands/StopTargetedSentimentDetectionJobCommand.js +39 -0
- package/dist-es/commands/index.js +4 -0
- package/dist-es/index.js +1 -0
- package/dist-es/models/ComprehendServiceException.js +12 -0
- package/dist-es/models/models_0.js +250 -1
- package/dist-es/pagination/ListTargetedSentimentDetectionJobsPaginator.js +74 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_json1_1.js +1917 -2813
- package/dist-types/Comprehend.d.ts +41 -1
- package/dist-types/ComprehendClient.d.ts +8 -4
- package/dist-types/commands/DescribeTargetedSentimentDetectionJobCommand.d.ts +36 -0
- package/dist-types/commands/ListTargetedSentimentDetectionJobsCommand.d.ts +35 -0
- package/dist-types/commands/StartSentimentDetectionJobCommand.d.ts +1 -1
- package/dist-types/commands/StartTargetedSentimentDetectionJobCommand.d.ts +37 -0
- package/dist-types/commands/StopTargetedSentimentDetectionJobCommand.d.ts +44 -0
- package/dist-types/commands/index.d.ts +4 -0
- 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 +450 -51
- package/dist-types/pagination/ListTargetedSentimentDetectionJobsPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_json1_1.d.ts +12 -0
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/Comprehend.d.ts +20 -0
- package/dist-types/ts3.4/ComprehendClient.d.ts +8 -4
- package/dist-types/ts3.4/commands/DescribeTargetedSentimentDetectionJobCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListTargetedSentimentDetectionJobsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/StartTargetedSentimentDetectionJobCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/StopTargetedSentimentDetectionJobCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +4 -0
- 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 +222 -49
- package/dist-types/ts3.4/pagination/ListTargetedSentimentDetectionJobsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +12 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/package.json +27 -27
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { __assign } from "tslib";
|
|
1
|
+
import { __assign, __extends } from "tslib";
|
|
2
2
|
import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { ComprehendServiceException as __BaseException } from "./ComprehendServiceException";
|
|
3
4
|
export var AugmentedManifestsDocumentTypeFormat;
|
|
4
5
|
(function (AugmentedManifestsDocumentTypeFormat) {
|
|
5
6
|
AugmentedManifestsDocumentTypeFormat["PLAIN_TEXT_DOCUMENT"] = "PLAIN_TEXT_DOCUMENT";
|
|
@@ -34,6 +35,58 @@ export var BatchDetectDominantLanguageResponse;
|
|
|
34
35
|
(function (BatchDetectDominantLanguageResponse) {
|
|
35
36
|
BatchDetectDominantLanguageResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
36
37
|
})(BatchDetectDominantLanguageResponse || (BatchDetectDominantLanguageResponse = {}));
|
|
38
|
+
var BatchSizeLimitExceededException = (function (_super) {
|
|
39
|
+
__extends(BatchSizeLimitExceededException, _super);
|
|
40
|
+
function BatchSizeLimitExceededException(opts) {
|
|
41
|
+
var _this = _super.call(this, __assign({ name: "BatchSizeLimitExceededException", $fault: "client" }, opts)) || this;
|
|
42
|
+
_this.name = "BatchSizeLimitExceededException";
|
|
43
|
+
_this.$fault = "client";
|
|
44
|
+
Object.setPrototypeOf(_this, BatchSizeLimitExceededException.prototype);
|
|
45
|
+
_this.Message = opts.Message;
|
|
46
|
+
return _this;
|
|
47
|
+
}
|
|
48
|
+
return BatchSizeLimitExceededException;
|
|
49
|
+
}(__BaseException));
|
|
50
|
+
export { BatchSizeLimitExceededException };
|
|
51
|
+
var InternalServerException = (function (_super) {
|
|
52
|
+
__extends(InternalServerException, _super);
|
|
53
|
+
function InternalServerException(opts) {
|
|
54
|
+
var _this = _super.call(this, __assign({ name: "InternalServerException", $fault: "server" }, opts)) || this;
|
|
55
|
+
_this.name = "InternalServerException";
|
|
56
|
+
_this.$fault = "server";
|
|
57
|
+
Object.setPrototypeOf(_this, InternalServerException.prototype);
|
|
58
|
+
_this.Message = opts.Message;
|
|
59
|
+
return _this;
|
|
60
|
+
}
|
|
61
|
+
return InternalServerException;
|
|
62
|
+
}(__BaseException));
|
|
63
|
+
export { InternalServerException };
|
|
64
|
+
var InvalidRequestException = (function (_super) {
|
|
65
|
+
__extends(InvalidRequestException, _super);
|
|
66
|
+
function InvalidRequestException(opts) {
|
|
67
|
+
var _this = _super.call(this, __assign({ name: "InvalidRequestException", $fault: "client" }, opts)) || this;
|
|
68
|
+
_this.name = "InvalidRequestException";
|
|
69
|
+
_this.$fault = "client";
|
|
70
|
+
Object.setPrototypeOf(_this, InvalidRequestException.prototype);
|
|
71
|
+
_this.Message = opts.Message;
|
|
72
|
+
return _this;
|
|
73
|
+
}
|
|
74
|
+
return InvalidRequestException;
|
|
75
|
+
}(__BaseException));
|
|
76
|
+
export { InvalidRequestException };
|
|
77
|
+
var TextSizeLimitExceededException = (function (_super) {
|
|
78
|
+
__extends(TextSizeLimitExceededException, _super);
|
|
79
|
+
function TextSizeLimitExceededException(opts) {
|
|
80
|
+
var _this = _super.call(this, __assign({ name: "TextSizeLimitExceededException", $fault: "client" }, opts)) || this;
|
|
81
|
+
_this.name = "TextSizeLimitExceededException";
|
|
82
|
+
_this.$fault = "client";
|
|
83
|
+
Object.setPrototypeOf(_this, TextSizeLimitExceededException.prototype);
|
|
84
|
+
_this.Message = opts.Message;
|
|
85
|
+
return _this;
|
|
86
|
+
}
|
|
87
|
+
return TextSizeLimitExceededException;
|
|
88
|
+
}(__BaseException));
|
|
89
|
+
export { TextSizeLimitExceededException };
|
|
37
90
|
export var LanguageCode;
|
|
38
91
|
(function (LanguageCode) {
|
|
39
92
|
LanguageCode["AR"] = "ar";
|
|
@@ -77,6 +130,19 @@ export var BatchDetectEntitiesResponse;
|
|
|
77
130
|
(function (BatchDetectEntitiesResponse) {
|
|
78
131
|
BatchDetectEntitiesResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
79
132
|
})(BatchDetectEntitiesResponse || (BatchDetectEntitiesResponse = {}));
|
|
133
|
+
var UnsupportedLanguageException = (function (_super) {
|
|
134
|
+
__extends(UnsupportedLanguageException, _super);
|
|
135
|
+
function UnsupportedLanguageException(opts) {
|
|
136
|
+
var _this = _super.call(this, __assign({ name: "UnsupportedLanguageException", $fault: "client" }, opts)) || this;
|
|
137
|
+
_this.name = "UnsupportedLanguageException";
|
|
138
|
+
_this.$fault = "client";
|
|
139
|
+
Object.setPrototypeOf(_this, UnsupportedLanguageException.prototype);
|
|
140
|
+
_this.Message = opts.Message;
|
|
141
|
+
return _this;
|
|
142
|
+
}
|
|
143
|
+
return UnsupportedLanguageException;
|
|
144
|
+
}(__BaseException));
|
|
145
|
+
export { UnsupportedLanguageException };
|
|
80
146
|
export var BatchDetectKeyPhrasesRequest;
|
|
81
147
|
(function (BatchDetectKeyPhrasesRequest) {
|
|
82
148
|
BatchDetectKeyPhrasesRequest.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.TextList && { TextList: SENSITIVE_STRING }))); };
|
|
@@ -190,6 +256,19 @@ export var ClassifyDocumentResponse;
|
|
|
190
256
|
(function (ClassifyDocumentResponse) {
|
|
191
257
|
ClassifyDocumentResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
192
258
|
})(ClassifyDocumentResponse || (ClassifyDocumentResponse = {}));
|
|
259
|
+
var ResourceUnavailableException = (function (_super) {
|
|
260
|
+
__extends(ResourceUnavailableException, _super);
|
|
261
|
+
function ResourceUnavailableException(opts) {
|
|
262
|
+
var _this = _super.call(this, __assign({ name: "ResourceUnavailableException", $fault: "client" }, opts)) || this;
|
|
263
|
+
_this.name = "ResourceUnavailableException";
|
|
264
|
+
_this.$fault = "client";
|
|
265
|
+
Object.setPrototypeOf(_this, ResourceUnavailableException.prototype);
|
|
266
|
+
_this.Message = opts.Message;
|
|
267
|
+
return _this;
|
|
268
|
+
}
|
|
269
|
+
return ResourceUnavailableException;
|
|
270
|
+
}(__BaseException));
|
|
271
|
+
export { ResourceUnavailableException };
|
|
193
272
|
export var ContainsPiiEntitiesRequest;
|
|
194
273
|
(function (ContainsPiiEntitiesRequest) {
|
|
195
274
|
ContainsPiiEntitiesRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -262,6 +341,71 @@ export var CreateDocumentClassifierResponse;
|
|
|
262
341
|
(function (CreateDocumentClassifierResponse) {
|
|
263
342
|
CreateDocumentClassifierResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
264
343
|
})(CreateDocumentClassifierResponse || (CreateDocumentClassifierResponse = {}));
|
|
344
|
+
var KmsKeyValidationException = (function (_super) {
|
|
345
|
+
__extends(KmsKeyValidationException, _super);
|
|
346
|
+
function KmsKeyValidationException(opts) {
|
|
347
|
+
var _this = _super.call(this, __assign({ name: "KmsKeyValidationException", $fault: "client" }, opts)) || this;
|
|
348
|
+
_this.name = "KmsKeyValidationException";
|
|
349
|
+
_this.$fault = "client";
|
|
350
|
+
Object.setPrototypeOf(_this, KmsKeyValidationException.prototype);
|
|
351
|
+
_this.Message = opts.Message;
|
|
352
|
+
return _this;
|
|
353
|
+
}
|
|
354
|
+
return KmsKeyValidationException;
|
|
355
|
+
}(__BaseException));
|
|
356
|
+
export { KmsKeyValidationException };
|
|
357
|
+
var ResourceInUseException = (function (_super) {
|
|
358
|
+
__extends(ResourceInUseException, _super);
|
|
359
|
+
function ResourceInUseException(opts) {
|
|
360
|
+
var _this = _super.call(this, __assign({ name: "ResourceInUseException", $fault: "client" }, opts)) || this;
|
|
361
|
+
_this.name = "ResourceInUseException";
|
|
362
|
+
_this.$fault = "client";
|
|
363
|
+
Object.setPrototypeOf(_this, ResourceInUseException.prototype);
|
|
364
|
+
_this.Message = opts.Message;
|
|
365
|
+
return _this;
|
|
366
|
+
}
|
|
367
|
+
return ResourceInUseException;
|
|
368
|
+
}(__BaseException));
|
|
369
|
+
export { ResourceInUseException };
|
|
370
|
+
var ResourceLimitExceededException = (function (_super) {
|
|
371
|
+
__extends(ResourceLimitExceededException, _super);
|
|
372
|
+
function ResourceLimitExceededException(opts) {
|
|
373
|
+
var _this = _super.call(this, __assign({ name: "ResourceLimitExceededException", $fault: "client" }, opts)) || this;
|
|
374
|
+
_this.name = "ResourceLimitExceededException";
|
|
375
|
+
_this.$fault = "client";
|
|
376
|
+
Object.setPrototypeOf(_this, ResourceLimitExceededException.prototype);
|
|
377
|
+
_this.Message = opts.Message;
|
|
378
|
+
return _this;
|
|
379
|
+
}
|
|
380
|
+
return ResourceLimitExceededException;
|
|
381
|
+
}(__BaseException));
|
|
382
|
+
export { ResourceLimitExceededException };
|
|
383
|
+
var TooManyRequestsException = (function (_super) {
|
|
384
|
+
__extends(TooManyRequestsException, _super);
|
|
385
|
+
function TooManyRequestsException(opts) {
|
|
386
|
+
var _this = _super.call(this, __assign({ name: "TooManyRequestsException", $fault: "client" }, opts)) || this;
|
|
387
|
+
_this.name = "TooManyRequestsException";
|
|
388
|
+
_this.$fault = "client";
|
|
389
|
+
Object.setPrototypeOf(_this, TooManyRequestsException.prototype);
|
|
390
|
+
_this.Message = opts.Message;
|
|
391
|
+
return _this;
|
|
392
|
+
}
|
|
393
|
+
return TooManyRequestsException;
|
|
394
|
+
}(__BaseException));
|
|
395
|
+
export { TooManyRequestsException };
|
|
396
|
+
var TooManyTagsException = (function (_super) {
|
|
397
|
+
__extends(TooManyTagsException, _super);
|
|
398
|
+
function TooManyTagsException(opts) {
|
|
399
|
+
var _this = _super.call(this, __assign({ name: "TooManyTagsException", $fault: "client" }, opts)) || this;
|
|
400
|
+
_this.name = "TooManyTagsException";
|
|
401
|
+
_this.$fault = "client";
|
|
402
|
+
Object.setPrototypeOf(_this, TooManyTagsException.prototype);
|
|
403
|
+
_this.Message = opts.Message;
|
|
404
|
+
return _this;
|
|
405
|
+
}
|
|
406
|
+
return TooManyTagsException;
|
|
407
|
+
}(__BaseException));
|
|
408
|
+
export { TooManyTagsException };
|
|
265
409
|
export var CreateEndpointRequest;
|
|
266
410
|
(function (CreateEndpointRequest) {
|
|
267
411
|
CreateEndpointRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -270,6 +414,19 @@ export var CreateEndpointResponse;
|
|
|
270
414
|
(function (CreateEndpointResponse) {
|
|
271
415
|
CreateEndpointResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
272
416
|
})(CreateEndpointResponse || (CreateEndpointResponse = {}));
|
|
417
|
+
var ResourceNotFoundException = (function (_super) {
|
|
418
|
+
__extends(ResourceNotFoundException, _super);
|
|
419
|
+
function ResourceNotFoundException(opts) {
|
|
420
|
+
var _this = _super.call(this, __assign({ name: "ResourceNotFoundException", $fault: "client" }, opts)) || this;
|
|
421
|
+
_this.name = "ResourceNotFoundException";
|
|
422
|
+
_this.$fault = "client";
|
|
423
|
+
Object.setPrototypeOf(_this, ResourceNotFoundException.prototype);
|
|
424
|
+
_this.Message = opts.Message;
|
|
425
|
+
return _this;
|
|
426
|
+
}
|
|
427
|
+
return ResourceNotFoundException;
|
|
428
|
+
}(__BaseException));
|
|
429
|
+
export { ResourceNotFoundException };
|
|
273
430
|
export var EntityRecognizerAnnotations;
|
|
274
431
|
(function (EntityRecognizerAnnotations) {
|
|
275
432
|
EntityRecognizerAnnotations.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -388,6 +545,19 @@ export var DescribeDocumentClassificationJobResponse;
|
|
|
388
545
|
(function (DescribeDocumentClassificationJobResponse) {
|
|
389
546
|
DescribeDocumentClassificationJobResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
390
547
|
})(DescribeDocumentClassificationJobResponse || (DescribeDocumentClassificationJobResponse = {}));
|
|
548
|
+
var JobNotFoundException = (function (_super) {
|
|
549
|
+
__extends(JobNotFoundException, _super);
|
|
550
|
+
function JobNotFoundException(opts) {
|
|
551
|
+
var _this = _super.call(this, __assign({ name: "JobNotFoundException", $fault: "client" }, opts)) || this;
|
|
552
|
+
_this.name = "JobNotFoundException";
|
|
553
|
+
_this.$fault = "client";
|
|
554
|
+
Object.setPrototypeOf(_this, JobNotFoundException.prototype);
|
|
555
|
+
_this.Message = opts.Message;
|
|
556
|
+
return _this;
|
|
557
|
+
}
|
|
558
|
+
return JobNotFoundException;
|
|
559
|
+
}(__BaseException));
|
|
560
|
+
export { JobNotFoundException };
|
|
391
561
|
export var DescribeDocumentClassifierRequest;
|
|
392
562
|
(function (DescribeDocumentClassifierRequest) {
|
|
393
563
|
DescribeDocumentClassifierRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -560,6 +730,18 @@ export var DescribeSentimentDetectionJobResponse;
|
|
|
560
730
|
(function (DescribeSentimentDetectionJobResponse) {
|
|
561
731
|
DescribeSentimentDetectionJobResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
562
732
|
})(DescribeSentimentDetectionJobResponse || (DescribeSentimentDetectionJobResponse = {}));
|
|
733
|
+
export var DescribeTargetedSentimentDetectionJobRequest;
|
|
734
|
+
(function (DescribeTargetedSentimentDetectionJobRequest) {
|
|
735
|
+
DescribeTargetedSentimentDetectionJobRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
736
|
+
})(DescribeTargetedSentimentDetectionJobRequest || (DescribeTargetedSentimentDetectionJobRequest = {}));
|
|
737
|
+
export var TargetedSentimentDetectionJobProperties;
|
|
738
|
+
(function (TargetedSentimentDetectionJobProperties) {
|
|
739
|
+
TargetedSentimentDetectionJobProperties.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
740
|
+
})(TargetedSentimentDetectionJobProperties || (TargetedSentimentDetectionJobProperties = {}));
|
|
741
|
+
export var DescribeTargetedSentimentDetectionJobResponse;
|
|
742
|
+
(function (DescribeTargetedSentimentDetectionJobResponse) {
|
|
743
|
+
DescribeTargetedSentimentDetectionJobResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
744
|
+
})(DescribeTargetedSentimentDetectionJobResponse || (DescribeTargetedSentimentDetectionJobResponse = {}));
|
|
563
745
|
export var DescribeTopicsDetectionJobRequest;
|
|
564
746
|
(function (DescribeTopicsDetectionJobRequest) {
|
|
565
747
|
DescribeTopicsDetectionJobRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -632,6 +814,19 @@ export var ImportModelResponse;
|
|
|
632
814
|
(function (ImportModelResponse) {
|
|
633
815
|
ImportModelResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
634
816
|
})(ImportModelResponse || (ImportModelResponse = {}));
|
|
817
|
+
var InvalidFilterException = (function (_super) {
|
|
818
|
+
__extends(InvalidFilterException, _super);
|
|
819
|
+
function InvalidFilterException(opts) {
|
|
820
|
+
var _this = _super.call(this, __assign({ name: "InvalidFilterException", $fault: "client" }, opts)) || this;
|
|
821
|
+
_this.name = "InvalidFilterException";
|
|
822
|
+
_this.$fault = "client";
|
|
823
|
+
Object.setPrototypeOf(_this, InvalidFilterException.prototype);
|
|
824
|
+
_this.Message = opts.Message;
|
|
825
|
+
return _this;
|
|
826
|
+
}
|
|
827
|
+
return InvalidFilterException;
|
|
828
|
+
}(__BaseException));
|
|
829
|
+
export { InvalidFilterException };
|
|
635
830
|
export var DocumentClassificationJobFilter;
|
|
636
831
|
(function (DocumentClassificationJobFilter) {
|
|
637
832
|
DocumentClassificationJobFilter.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -792,6 +987,18 @@ export var ListTagsForResourceResponse;
|
|
|
792
987
|
(function (ListTagsForResourceResponse) {
|
|
793
988
|
ListTagsForResourceResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
794
989
|
})(ListTagsForResourceResponse || (ListTagsForResourceResponse = {}));
|
|
990
|
+
export var TargetedSentimentDetectionJobFilter;
|
|
991
|
+
(function (TargetedSentimentDetectionJobFilter) {
|
|
992
|
+
TargetedSentimentDetectionJobFilter.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
993
|
+
})(TargetedSentimentDetectionJobFilter || (TargetedSentimentDetectionJobFilter = {}));
|
|
994
|
+
export var ListTargetedSentimentDetectionJobsRequest;
|
|
995
|
+
(function (ListTargetedSentimentDetectionJobsRequest) {
|
|
996
|
+
ListTargetedSentimentDetectionJobsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
997
|
+
})(ListTargetedSentimentDetectionJobsRequest || (ListTargetedSentimentDetectionJobsRequest = {}));
|
|
998
|
+
export var ListTargetedSentimentDetectionJobsResponse;
|
|
999
|
+
(function (ListTargetedSentimentDetectionJobsResponse) {
|
|
1000
|
+
ListTargetedSentimentDetectionJobsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1001
|
+
})(ListTargetedSentimentDetectionJobsResponse || (ListTargetedSentimentDetectionJobsResponse = {}));
|
|
795
1002
|
export var TopicsDetectionJobFilter;
|
|
796
1003
|
(function (TopicsDetectionJobFilter) {
|
|
797
1004
|
TopicsDetectionJobFilter.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -868,6 +1075,14 @@ export var StartSentimentDetectionJobResponse;
|
|
|
868
1075
|
(function (StartSentimentDetectionJobResponse) {
|
|
869
1076
|
StartSentimentDetectionJobResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
870
1077
|
})(StartSentimentDetectionJobResponse || (StartSentimentDetectionJobResponse = {}));
|
|
1078
|
+
export var StartTargetedSentimentDetectionJobRequest;
|
|
1079
|
+
(function (StartTargetedSentimentDetectionJobRequest) {
|
|
1080
|
+
StartTargetedSentimentDetectionJobRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1081
|
+
})(StartTargetedSentimentDetectionJobRequest || (StartTargetedSentimentDetectionJobRequest = {}));
|
|
1082
|
+
export var StartTargetedSentimentDetectionJobResponse;
|
|
1083
|
+
(function (StartTargetedSentimentDetectionJobResponse) {
|
|
1084
|
+
StartTargetedSentimentDetectionJobResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1085
|
+
})(StartTargetedSentimentDetectionJobResponse || (StartTargetedSentimentDetectionJobResponse = {}));
|
|
871
1086
|
export var StartTopicsDetectionJobRequest;
|
|
872
1087
|
(function (StartTopicsDetectionJobRequest) {
|
|
873
1088
|
StartTopicsDetectionJobRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -924,6 +1139,14 @@ export var StopSentimentDetectionJobResponse;
|
|
|
924
1139
|
(function (StopSentimentDetectionJobResponse) {
|
|
925
1140
|
StopSentimentDetectionJobResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
926
1141
|
})(StopSentimentDetectionJobResponse || (StopSentimentDetectionJobResponse = {}));
|
|
1142
|
+
export var StopTargetedSentimentDetectionJobRequest;
|
|
1143
|
+
(function (StopTargetedSentimentDetectionJobRequest) {
|
|
1144
|
+
StopTargetedSentimentDetectionJobRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1145
|
+
})(StopTargetedSentimentDetectionJobRequest || (StopTargetedSentimentDetectionJobRequest = {}));
|
|
1146
|
+
export var StopTargetedSentimentDetectionJobResponse;
|
|
1147
|
+
(function (StopTargetedSentimentDetectionJobResponse) {
|
|
1148
|
+
StopTargetedSentimentDetectionJobResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1149
|
+
})(StopTargetedSentimentDetectionJobResponse || (StopTargetedSentimentDetectionJobResponse = {}));
|
|
927
1150
|
export var StopTrainingDocumentClassifierRequest;
|
|
928
1151
|
(function (StopTrainingDocumentClassifierRequest) {
|
|
929
1152
|
StopTrainingDocumentClassifierRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -940,6 +1163,19 @@ export var StopTrainingEntityRecognizerResponse;
|
|
|
940
1163
|
(function (StopTrainingEntityRecognizerResponse) {
|
|
941
1164
|
StopTrainingEntityRecognizerResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
942
1165
|
})(StopTrainingEntityRecognizerResponse || (StopTrainingEntityRecognizerResponse = {}));
|
|
1166
|
+
var ConcurrentModificationException = (function (_super) {
|
|
1167
|
+
__extends(ConcurrentModificationException, _super);
|
|
1168
|
+
function ConcurrentModificationException(opts) {
|
|
1169
|
+
var _this = _super.call(this, __assign({ name: "ConcurrentModificationException", $fault: "client" }, opts)) || this;
|
|
1170
|
+
_this.name = "ConcurrentModificationException";
|
|
1171
|
+
_this.$fault = "client";
|
|
1172
|
+
Object.setPrototypeOf(_this, ConcurrentModificationException.prototype);
|
|
1173
|
+
_this.Message = opts.Message;
|
|
1174
|
+
return _this;
|
|
1175
|
+
}
|
|
1176
|
+
return ConcurrentModificationException;
|
|
1177
|
+
}(__BaseException));
|
|
1178
|
+
export { ConcurrentModificationException };
|
|
943
1179
|
export var TagResourceRequest;
|
|
944
1180
|
(function (TagResourceRequest) {
|
|
945
1181
|
TagResourceRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -948,6 +1184,19 @@ export var TagResourceResponse;
|
|
|
948
1184
|
(function (TagResourceResponse) {
|
|
949
1185
|
TagResourceResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
950
1186
|
})(TagResourceResponse || (TagResourceResponse = {}));
|
|
1187
|
+
var TooManyTagKeysException = (function (_super) {
|
|
1188
|
+
__extends(TooManyTagKeysException, _super);
|
|
1189
|
+
function TooManyTagKeysException(opts) {
|
|
1190
|
+
var _this = _super.call(this, __assign({ name: "TooManyTagKeysException", $fault: "client" }, opts)) || this;
|
|
1191
|
+
_this.name = "TooManyTagKeysException";
|
|
1192
|
+
_this.$fault = "client";
|
|
1193
|
+
Object.setPrototypeOf(_this, TooManyTagKeysException.prototype);
|
|
1194
|
+
_this.Message = opts.Message;
|
|
1195
|
+
return _this;
|
|
1196
|
+
}
|
|
1197
|
+
return TooManyTagKeysException;
|
|
1198
|
+
}(__BaseException));
|
|
1199
|
+
export { TooManyTagKeysException };
|
|
951
1200
|
export var UntagResourceRequest;
|
|
952
1201
|
(function (UntagResourceRequest) {
|
|
953
1202
|
UntagResourceRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
|
|
2
|
+
import { ListTargetedSentimentDetectionJobsCommand, } from "../commands/ListTargetedSentimentDetectionJobsCommand";
|
|
3
|
+
import { Comprehend } from "../Comprehend";
|
|
4
|
+
import { ComprehendClient } from "../ComprehendClient";
|
|
5
|
+
var makePagedClientRequest = function (client, input) {
|
|
6
|
+
var args = [];
|
|
7
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
8
|
+
args[_i - 2] = arguments[_i];
|
|
9
|
+
}
|
|
10
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
|
+
return __generator(this, function (_a) {
|
|
12
|
+
switch (_a.label) {
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListTargetedSentimentDetectionJobsCommand(input)], __read(args)))];
|
|
14
|
+
case 1: return [2, _a.sent()];
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
});
|
|
18
|
+
};
|
|
19
|
+
var makePagedRequest = function (client, input) {
|
|
20
|
+
var args = [];
|
|
21
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
22
|
+
args[_i - 2] = arguments[_i];
|
|
23
|
+
}
|
|
24
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
|
+
return __generator(this, function (_a) {
|
|
26
|
+
switch (_a.label) {
|
|
27
|
+
case 0: return [4, client.listTargetedSentimentDetectionJobs.apply(client, __spreadArray([input], __read(args)))];
|
|
28
|
+
case 1: return [2, _a.sent()];
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
});
|
|
32
|
+
};
|
|
33
|
+
export function paginateListTargetedSentimentDetectionJobs(config, input) {
|
|
34
|
+
var additionalArguments = [];
|
|
35
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
36
|
+
additionalArguments[_i - 2] = arguments[_i];
|
|
37
|
+
}
|
|
38
|
+
return __asyncGenerator(this, arguments, function paginateListTargetedSentimentDetectionJobs_1() {
|
|
39
|
+
var token, hasNext, page;
|
|
40
|
+
return __generator(this, function (_a) {
|
|
41
|
+
switch (_a.label) {
|
|
42
|
+
case 0:
|
|
43
|
+
token = config.startingToken || undefined;
|
|
44
|
+
hasNext = true;
|
|
45
|
+
_a.label = 1;
|
|
46
|
+
case 1:
|
|
47
|
+
if (!hasNext) return [3, 9];
|
|
48
|
+
input.NextToken = token;
|
|
49
|
+
input["MaxResults"] = config.pageSize;
|
|
50
|
+
if (!(config.client instanceof Comprehend)) return [3, 3];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
52
|
+
case 2:
|
|
53
|
+
page = _a.sent();
|
|
54
|
+
return [3, 6];
|
|
55
|
+
case 3:
|
|
56
|
+
if (!(config.client instanceof ComprehendClient)) return [3, 5];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
58
|
+
case 4:
|
|
59
|
+
page = _a.sent();
|
|
60
|
+
return [3, 6];
|
|
61
|
+
case 5: throw new Error("Invalid client, expected Comprehend | ComprehendClient");
|
|
62
|
+
case 6: return [4, __await(page)];
|
|
63
|
+
case 7: return [4, _a.sent()];
|
|
64
|
+
case 8:
|
|
65
|
+
_a.sent();
|
|
66
|
+
token = page.NextToken;
|
|
67
|
+
hasNext = !!token;
|
|
68
|
+
return [3, 1];
|
|
69
|
+
case 9: return [4, __await(undefined)];
|
|
70
|
+
case 10: return [2, _a.sent()];
|
|
71
|
+
}
|
|
72
|
+
});
|
|
73
|
+
});
|
|
74
|
+
}
|
|
@@ -9,4 +9,5 @@ export * from "./ListEntityRecognizersPaginator";
|
|
|
9
9
|
export * from "./ListEventsDetectionJobsPaginator";
|
|
10
10
|
export * from "./ListKeyPhrasesDetectionJobsPaginator";
|
|
11
11
|
export * from "./ListSentimentDetectionJobsPaginator";
|
|
12
|
+
export * from "./ListTargetedSentimentDetectionJobsPaginator";
|
|
12
13
|
export * from "./ListTopicsDetectionJobsPaginator";
|