@aws-sdk/client-comprehend 3.53.0 → 3.55.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 +27 -0
- package/dist-cjs/Comprehend.js +60 -0
- package/dist-cjs/ComprehendClient.js +13 -13
- package/dist-cjs/commands/BatchDetectDominantLanguageCommand.js +3 -3
- package/dist-cjs/commands/BatchDetectEntitiesCommand.js +3 -3
- package/dist-cjs/commands/BatchDetectKeyPhrasesCommand.js +3 -3
- package/dist-cjs/commands/BatchDetectSentimentCommand.js +3 -3
- package/dist-cjs/commands/BatchDetectSyntaxCommand.js +3 -3
- package/dist-cjs/commands/ClassifyDocumentCommand.js +3 -3
- package/dist-cjs/commands/ContainsPiiEntitiesCommand.js +3 -3
- package/dist-cjs/commands/CreateDocumentClassifierCommand.js +3 -3
- package/dist-cjs/commands/CreateEndpointCommand.js +3 -3
- package/dist-cjs/commands/CreateEntityRecognizerCommand.js +3 -3
- package/dist-cjs/commands/DeleteDocumentClassifierCommand.js +3 -3
- package/dist-cjs/commands/DeleteEndpointCommand.js +3 -3
- package/dist-cjs/commands/DeleteEntityRecognizerCommand.js +3 -3
- package/dist-cjs/commands/DeleteResourcePolicyCommand.js +3 -3
- package/dist-cjs/commands/DescribeDocumentClassificationJobCommand.js +3 -3
- package/dist-cjs/commands/DescribeDocumentClassifierCommand.js +3 -3
- package/dist-cjs/commands/DescribeDominantLanguageDetectionJobCommand.js +3 -3
- package/dist-cjs/commands/DescribeEndpointCommand.js +3 -3
- package/dist-cjs/commands/DescribeEntitiesDetectionJobCommand.js +3 -3
- package/dist-cjs/commands/DescribeEntityRecognizerCommand.js +3 -3
- package/dist-cjs/commands/DescribeEventsDetectionJobCommand.js +3 -3
- package/dist-cjs/commands/DescribeKeyPhrasesDetectionJobCommand.js +3 -3
- package/dist-cjs/commands/DescribePiiEntitiesDetectionJobCommand.js +3 -3
- package/dist-cjs/commands/DescribeResourcePolicyCommand.js +3 -3
- package/dist-cjs/commands/DescribeSentimentDetectionJobCommand.js +3 -3
- package/dist-cjs/commands/DescribeTargetedSentimentDetectionJobCommand.js +36 -0
- package/dist-cjs/commands/DescribeTopicsDetectionJobCommand.js +3 -3
- package/dist-cjs/commands/DetectDominantLanguageCommand.js +3 -3
- package/dist-cjs/commands/DetectEntitiesCommand.js +3 -3
- package/dist-cjs/commands/DetectKeyPhrasesCommand.js +3 -3
- package/dist-cjs/commands/DetectPiiEntitiesCommand.js +3 -3
- package/dist-cjs/commands/DetectSentimentCommand.js +3 -3
- package/dist-cjs/commands/DetectSyntaxCommand.js +3 -3
- package/dist-cjs/commands/ImportModelCommand.js +3 -3
- package/dist-cjs/commands/ListDocumentClassificationJobsCommand.js +3 -3
- package/dist-cjs/commands/ListDocumentClassifierSummariesCommand.js +3 -3
- package/dist-cjs/commands/ListDocumentClassifiersCommand.js +3 -3
- package/dist-cjs/commands/ListDominantLanguageDetectionJobsCommand.js +3 -3
- package/dist-cjs/commands/ListEndpointsCommand.js +3 -3
- package/dist-cjs/commands/ListEntitiesDetectionJobsCommand.js +3 -3
- package/dist-cjs/commands/ListEntityRecognizerSummariesCommand.js +3 -3
- package/dist-cjs/commands/ListEntityRecognizersCommand.js +3 -3
- package/dist-cjs/commands/ListEventsDetectionJobsCommand.js +3 -3
- package/dist-cjs/commands/ListKeyPhrasesDetectionJobsCommand.js +3 -3
- package/dist-cjs/commands/ListPiiEntitiesDetectionJobsCommand.js +3 -3
- package/dist-cjs/commands/ListSentimentDetectionJobsCommand.js +3 -3
- package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-cjs/commands/ListTargetedSentimentDetectionJobsCommand.js +36 -0
- package/dist-cjs/commands/ListTopicsDetectionJobsCommand.js +3 -3
- package/dist-cjs/commands/PutResourcePolicyCommand.js +3 -3
- package/dist-cjs/commands/StartDocumentClassificationJobCommand.js +3 -3
- package/dist-cjs/commands/StartDominantLanguageDetectionJobCommand.js +3 -3
- package/dist-cjs/commands/StartEntitiesDetectionJobCommand.js +3 -3
- package/dist-cjs/commands/StartEventsDetectionJobCommand.js +3 -3
- package/dist-cjs/commands/StartKeyPhrasesDetectionJobCommand.js +3 -3
- package/dist-cjs/commands/StartPiiEntitiesDetectionJobCommand.js +3 -3
- package/dist-cjs/commands/StartSentimentDetectionJobCommand.js +3 -3
- package/dist-cjs/commands/StartTargetedSentimentDetectionJobCommand.js +36 -0
- package/dist-cjs/commands/StartTopicsDetectionJobCommand.js +3 -3
- package/dist-cjs/commands/StopDominantLanguageDetectionJobCommand.js +3 -3
- package/dist-cjs/commands/StopEntitiesDetectionJobCommand.js +3 -3
- package/dist-cjs/commands/StopEventsDetectionJobCommand.js +3 -3
- package/dist-cjs/commands/StopKeyPhrasesDetectionJobCommand.js +3 -3
- package/dist-cjs/commands/StopPiiEntitiesDetectionJobCommand.js +3 -3
- package/dist-cjs/commands/StopSentimentDetectionJobCommand.js +3 -3
- package/dist-cjs/commands/StopTargetedSentimentDetectionJobCommand.js +36 -0
- package/dist-cjs/commands/StopTrainingDocumentClassifierCommand.js +3 -3
- package/dist-cjs/commands/StopTrainingEntityRecognizerCommand.js +3 -3
- package/dist-cjs/commands/TagResourceCommand.js +3 -3
- package/dist-cjs/commands/UntagResourceCommand.js +3 -3
- package/dist-cjs/commands/UpdateEndpointCommand.js +3 -3
- package/dist-cjs/commands/index.js +4 -0
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/models/models_0.js +63 -3
- package/dist-cjs/pagination/ListTargetedSentimentDetectionJobsPaginator.js +35 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_json1_1.js +740 -399
- package/dist-cjs/runtimeConfig.browser.js +4 -4
- package/dist-cjs/runtimeConfig.js +9 -9
- package/dist-cjs/runtimeConfig.native.js +1 -1
- package/dist-es/Comprehend.js +127 -67
- 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/models/models_0.js +40 -0
- package/dist-es/pagination/ListDocumentClassificationJobsPaginator.js +4 -4
- package/dist-es/pagination/ListDocumentClassifierSummariesPaginator.js +4 -4
- package/dist-es/pagination/ListDocumentClassifiersPaginator.js +4 -4
- package/dist-es/pagination/ListDominantLanguageDetectionJobsPaginator.js +4 -4
- package/dist-es/pagination/ListEntitiesDetectionJobsPaginator.js +4 -4
- package/dist-es/pagination/ListEntityRecognizerSummariesPaginator.js +4 -4
- package/dist-es/pagination/ListEntityRecognizersPaginator.js +4 -4
- package/dist-es/pagination/ListEventsDetectionJobsPaginator.js +4 -4
- package/dist-es/pagination/ListKeyPhrasesDetectionJobsPaginator.js +4 -4
- package/dist-es/pagination/ListSentimentDetectionJobsPaginator.js +4 -4
- package/dist-es/pagination/ListTargetedSentimentDetectionJobsPaginator.js +74 -0
- package/dist-es/pagination/ListTopicsDetectionJobsPaginator.js +4 -4
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_json1_1.js +390 -0
- 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/models/models_0.d.ts +336 -2
- 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 +3 -3
- 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/models/models_0.d.ts +140 -0
- 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 +3 -3
- package/package.json +34 -34
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,33 @@
|
|
|
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.55.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.54.1...v3.55.0) (2022-03-21)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-comprehend
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## [3.54.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.54.0...v3.54.1) (2022-03-15)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @aws-sdk/client-comprehend
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
# [3.54.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.53.1...v3.54.0) (2022-03-11)
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### Features
|
|
26
|
+
|
|
27
|
+
* **clients:** update clients as of 2022/03/10 ([#3411](https://github.com/aws/aws-sdk-js-v3/issues/3411)) ([8fa517a](https://github.com/aws/aws-sdk-js-v3/commit/8fa517a2c56d2f98a2e4a9c4ea6fd99b6ce61a71))
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
6
33
|
# [3.53.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.52.0...v3.53.0) (2022-02-24)
|
|
7
34
|
|
|
8
35
|
|
package/dist-cjs/Comprehend.js
CHANGED
|
@@ -26,6 +26,7 @@ const DescribeKeyPhrasesDetectionJobCommand_1 = require("./commands/DescribeKeyP
|
|
|
26
26
|
const DescribePiiEntitiesDetectionJobCommand_1 = require("./commands/DescribePiiEntitiesDetectionJobCommand");
|
|
27
27
|
const DescribeResourcePolicyCommand_1 = require("./commands/DescribeResourcePolicyCommand");
|
|
28
28
|
const DescribeSentimentDetectionJobCommand_1 = require("./commands/DescribeSentimentDetectionJobCommand");
|
|
29
|
+
const DescribeTargetedSentimentDetectionJobCommand_1 = require("./commands/DescribeTargetedSentimentDetectionJobCommand");
|
|
29
30
|
const DescribeTopicsDetectionJobCommand_1 = require("./commands/DescribeTopicsDetectionJobCommand");
|
|
30
31
|
const DetectDominantLanguageCommand_1 = require("./commands/DetectDominantLanguageCommand");
|
|
31
32
|
const DetectEntitiesCommand_1 = require("./commands/DetectEntitiesCommand");
|
|
@@ -47,6 +48,7 @@ const ListKeyPhrasesDetectionJobsCommand_1 = require("./commands/ListKeyPhrasesD
|
|
|
47
48
|
const ListPiiEntitiesDetectionJobsCommand_1 = require("./commands/ListPiiEntitiesDetectionJobsCommand");
|
|
48
49
|
const ListSentimentDetectionJobsCommand_1 = require("./commands/ListSentimentDetectionJobsCommand");
|
|
49
50
|
const ListTagsForResourceCommand_1 = require("./commands/ListTagsForResourceCommand");
|
|
51
|
+
const ListTargetedSentimentDetectionJobsCommand_1 = require("./commands/ListTargetedSentimentDetectionJobsCommand");
|
|
50
52
|
const ListTopicsDetectionJobsCommand_1 = require("./commands/ListTopicsDetectionJobsCommand");
|
|
51
53
|
const PutResourcePolicyCommand_1 = require("./commands/PutResourcePolicyCommand");
|
|
52
54
|
const StartDocumentClassificationJobCommand_1 = require("./commands/StartDocumentClassificationJobCommand");
|
|
@@ -56,6 +58,7 @@ const StartEventsDetectionJobCommand_1 = require("./commands/StartEventsDetectio
|
|
|
56
58
|
const StartKeyPhrasesDetectionJobCommand_1 = require("./commands/StartKeyPhrasesDetectionJobCommand");
|
|
57
59
|
const StartPiiEntitiesDetectionJobCommand_1 = require("./commands/StartPiiEntitiesDetectionJobCommand");
|
|
58
60
|
const StartSentimentDetectionJobCommand_1 = require("./commands/StartSentimentDetectionJobCommand");
|
|
61
|
+
const StartTargetedSentimentDetectionJobCommand_1 = require("./commands/StartTargetedSentimentDetectionJobCommand");
|
|
59
62
|
const StartTopicsDetectionJobCommand_1 = require("./commands/StartTopicsDetectionJobCommand");
|
|
60
63
|
const StopDominantLanguageDetectionJobCommand_1 = require("./commands/StopDominantLanguageDetectionJobCommand");
|
|
61
64
|
const StopEntitiesDetectionJobCommand_1 = require("./commands/StopEntitiesDetectionJobCommand");
|
|
@@ -63,6 +66,7 @@ const StopEventsDetectionJobCommand_1 = require("./commands/StopEventsDetectionJ
|
|
|
63
66
|
const StopKeyPhrasesDetectionJobCommand_1 = require("./commands/StopKeyPhrasesDetectionJobCommand");
|
|
64
67
|
const StopPiiEntitiesDetectionJobCommand_1 = require("./commands/StopPiiEntitiesDetectionJobCommand");
|
|
65
68
|
const StopSentimentDetectionJobCommand_1 = require("./commands/StopSentimentDetectionJobCommand");
|
|
69
|
+
const StopTargetedSentimentDetectionJobCommand_1 = require("./commands/StopTargetedSentimentDetectionJobCommand");
|
|
66
70
|
const StopTrainingDocumentClassifierCommand_1 = require("./commands/StopTrainingDocumentClassifierCommand");
|
|
67
71
|
const StopTrainingEntityRecognizerCommand_1 = require("./commands/StopTrainingEntityRecognizerCommand");
|
|
68
72
|
const TagResourceCommand_1 = require("./commands/TagResourceCommand");
|
|
@@ -420,6 +424,20 @@ class Comprehend extends ComprehendClient_1.ComprehendClient {
|
|
|
420
424
|
return this.send(command, optionsOrCb);
|
|
421
425
|
}
|
|
422
426
|
}
|
|
427
|
+
describeTargetedSentimentDetectionJob(args, optionsOrCb, cb) {
|
|
428
|
+
const command = new DescribeTargetedSentimentDetectionJobCommand_1.DescribeTargetedSentimentDetectionJobCommand(args);
|
|
429
|
+
if (typeof optionsOrCb === "function") {
|
|
430
|
+
this.send(command, optionsOrCb);
|
|
431
|
+
}
|
|
432
|
+
else if (typeof cb === "function") {
|
|
433
|
+
if (typeof optionsOrCb !== "object")
|
|
434
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
435
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
436
|
+
}
|
|
437
|
+
else {
|
|
438
|
+
return this.send(command, optionsOrCb);
|
|
439
|
+
}
|
|
440
|
+
}
|
|
423
441
|
describeTopicsDetectionJob(args, optionsOrCb, cb) {
|
|
424
442
|
const command = new DescribeTopicsDetectionJobCommand_1.DescribeTopicsDetectionJobCommand(args);
|
|
425
443
|
if (typeof optionsOrCb === "function") {
|
|
@@ -714,6 +732,20 @@ class Comprehend extends ComprehendClient_1.ComprehendClient {
|
|
|
714
732
|
return this.send(command, optionsOrCb);
|
|
715
733
|
}
|
|
716
734
|
}
|
|
735
|
+
listTargetedSentimentDetectionJobs(args, optionsOrCb, cb) {
|
|
736
|
+
const command = new ListTargetedSentimentDetectionJobsCommand_1.ListTargetedSentimentDetectionJobsCommand(args);
|
|
737
|
+
if (typeof optionsOrCb === "function") {
|
|
738
|
+
this.send(command, optionsOrCb);
|
|
739
|
+
}
|
|
740
|
+
else if (typeof cb === "function") {
|
|
741
|
+
if (typeof optionsOrCb !== "object")
|
|
742
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
743
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
744
|
+
}
|
|
745
|
+
else {
|
|
746
|
+
return this.send(command, optionsOrCb);
|
|
747
|
+
}
|
|
748
|
+
}
|
|
717
749
|
listTopicsDetectionJobs(args, optionsOrCb, cb) {
|
|
718
750
|
const command = new ListTopicsDetectionJobsCommand_1.ListTopicsDetectionJobsCommand(args);
|
|
719
751
|
if (typeof optionsOrCb === "function") {
|
|
@@ -840,6 +872,20 @@ class Comprehend extends ComprehendClient_1.ComprehendClient {
|
|
|
840
872
|
return this.send(command, optionsOrCb);
|
|
841
873
|
}
|
|
842
874
|
}
|
|
875
|
+
startTargetedSentimentDetectionJob(args, optionsOrCb, cb) {
|
|
876
|
+
const command = new StartTargetedSentimentDetectionJobCommand_1.StartTargetedSentimentDetectionJobCommand(args);
|
|
877
|
+
if (typeof optionsOrCb === "function") {
|
|
878
|
+
this.send(command, optionsOrCb);
|
|
879
|
+
}
|
|
880
|
+
else if (typeof cb === "function") {
|
|
881
|
+
if (typeof optionsOrCb !== "object")
|
|
882
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
883
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
884
|
+
}
|
|
885
|
+
else {
|
|
886
|
+
return this.send(command, optionsOrCb);
|
|
887
|
+
}
|
|
888
|
+
}
|
|
843
889
|
startTopicsDetectionJob(args, optionsOrCb, cb) {
|
|
844
890
|
const command = new StartTopicsDetectionJobCommand_1.StartTopicsDetectionJobCommand(args);
|
|
845
891
|
if (typeof optionsOrCb === "function") {
|
|
@@ -938,6 +984,20 @@ class Comprehend extends ComprehendClient_1.ComprehendClient {
|
|
|
938
984
|
return this.send(command, optionsOrCb);
|
|
939
985
|
}
|
|
940
986
|
}
|
|
987
|
+
stopTargetedSentimentDetectionJob(args, optionsOrCb, cb) {
|
|
988
|
+
const command = new StopTargetedSentimentDetectionJobCommand_1.StopTargetedSentimentDetectionJobCommand(args);
|
|
989
|
+
if (typeof optionsOrCb === "function") {
|
|
990
|
+
this.send(command, optionsOrCb);
|
|
991
|
+
}
|
|
992
|
+
else if (typeof cb === "function") {
|
|
993
|
+
if (typeof optionsOrCb !== "object")
|
|
994
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
995
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
996
|
+
}
|
|
997
|
+
else {
|
|
998
|
+
return this.send(command, optionsOrCb);
|
|
999
|
+
}
|
|
1000
|
+
}
|
|
941
1001
|
stopTrainingDocumentClassifier(args, optionsOrCb, cb) {
|
|
942
1002
|
const command = new StopTrainingDocumentClassifierCommand_1.StopTrainingDocumentClassifierCommand(args);
|
|
943
1003
|
if (typeof optionsOrCb === "function") {
|
|
@@ -12,21 +12,21 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
|
12
12
|
const runtimeConfig_1 = require("./runtimeConfig");
|
|
13
13
|
class ComprehendClient extends smithy_client_1.Client {
|
|
14
14
|
constructor(configuration) {
|
|
15
|
-
const _config_0 = runtimeConfig_1.getRuntimeConfig(configuration);
|
|
16
|
-
const _config_1 = config_resolver_1.resolveRegionConfig(_config_0);
|
|
17
|
-
const _config_2 = config_resolver_1.resolveEndpointsConfig(_config_1);
|
|
18
|
-
const _config_3 = middleware_retry_1.resolveRetryConfig(_config_2);
|
|
19
|
-
const _config_4 = middleware_host_header_1.resolveHostHeaderConfig(_config_3);
|
|
20
|
-
const _config_5 = middleware_signing_1.resolveAwsAuthConfig(_config_4);
|
|
21
|
-
const _config_6 = middleware_user_agent_1.resolveUserAgentConfig(_config_5);
|
|
15
|
+
const _config_0 = (0, runtimeConfig_1.getRuntimeConfig)(configuration);
|
|
16
|
+
const _config_1 = (0, config_resolver_1.resolveRegionConfig)(_config_0);
|
|
17
|
+
const _config_2 = (0, config_resolver_1.resolveEndpointsConfig)(_config_1);
|
|
18
|
+
const _config_3 = (0, middleware_retry_1.resolveRetryConfig)(_config_2);
|
|
19
|
+
const _config_4 = (0, middleware_host_header_1.resolveHostHeaderConfig)(_config_3);
|
|
20
|
+
const _config_5 = (0, middleware_signing_1.resolveAwsAuthConfig)(_config_4);
|
|
21
|
+
const _config_6 = (0, middleware_user_agent_1.resolveUserAgentConfig)(_config_5);
|
|
22
22
|
super(_config_6);
|
|
23
23
|
this.config = _config_6;
|
|
24
|
-
this.middlewareStack.use(middleware_retry_1.getRetryPlugin(this.config));
|
|
25
|
-
this.middlewareStack.use(middleware_content_length_1.getContentLengthPlugin(this.config));
|
|
26
|
-
this.middlewareStack.use(middleware_host_header_1.getHostHeaderPlugin(this.config));
|
|
27
|
-
this.middlewareStack.use(middleware_logger_1.getLoggerPlugin(this.config));
|
|
28
|
-
this.middlewareStack.use(middleware_signing_1.getAwsAuthPlugin(this.config));
|
|
29
|
-
this.middlewareStack.use(middleware_user_agent_1.getUserAgentPlugin(this.config));
|
|
24
|
+
this.middlewareStack.use((0, middleware_retry_1.getRetryPlugin)(this.config));
|
|
25
|
+
this.middlewareStack.use((0, middleware_content_length_1.getContentLengthPlugin)(this.config));
|
|
26
|
+
this.middlewareStack.use((0, middleware_host_header_1.getHostHeaderPlugin)(this.config));
|
|
27
|
+
this.middlewareStack.use((0, middleware_logger_1.getLoggerPlugin)(this.config));
|
|
28
|
+
this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(this.config));
|
|
29
|
+
this.middlewareStack.use((0, middleware_user_agent_1.getUserAgentPlugin)(this.config));
|
|
30
30
|
}
|
|
31
31
|
destroy() {
|
|
32
32
|
super.destroy();
|
|
@@ -11,7 +11,7 @@ class BatchDetectDominantLanguageCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "ComprehendClient";
|
|
@@ -27,10 +27,10 @@ class BatchDetectDominantLanguageCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_json1_1_1.serializeAws_json1_1BatchDetectDominantLanguageCommand(input, context);
|
|
30
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1BatchDetectDominantLanguageCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_json1_1_1.deserializeAws_json1_1BatchDetectDominantLanguageCommand(output, context);
|
|
33
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1BatchDetectDominantLanguageCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.BatchDetectDominantLanguageCommand = BatchDetectDominantLanguageCommand;
|
|
@@ -11,7 +11,7 @@ class BatchDetectEntitiesCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "ComprehendClient";
|
|
@@ -27,10 +27,10 @@ class BatchDetectEntitiesCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_json1_1_1.serializeAws_json1_1BatchDetectEntitiesCommand(input, context);
|
|
30
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1BatchDetectEntitiesCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_json1_1_1.deserializeAws_json1_1BatchDetectEntitiesCommand(output, context);
|
|
33
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1BatchDetectEntitiesCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.BatchDetectEntitiesCommand = BatchDetectEntitiesCommand;
|
|
@@ -11,7 +11,7 @@ class BatchDetectKeyPhrasesCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "ComprehendClient";
|
|
@@ -27,10 +27,10 @@ class BatchDetectKeyPhrasesCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_json1_1_1.serializeAws_json1_1BatchDetectKeyPhrasesCommand(input, context);
|
|
30
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1BatchDetectKeyPhrasesCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_json1_1_1.deserializeAws_json1_1BatchDetectKeyPhrasesCommand(output, context);
|
|
33
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1BatchDetectKeyPhrasesCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.BatchDetectKeyPhrasesCommand = BatchDetectKeyPhrasesCommand;
|
|
@@ -11,7 +11,7 @@ class BatchDetectSentimentCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "ComprehendClient";
|
|
@@ -27,10 +27,10 @@ class BatchDetectSentimentCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_json1_1_1.serializeAws_json1_1BatchDetectSentimentCommand(input, context);
|
|
30
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1BatchDetectSentimentCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_json1_1_1.deserializeAws_json1_1BatchDetectSentimentCommand(output, context);
|
|
33
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1BatchDetectSentimentCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.BatchDetectSentimentCommand = BatchDetectSentimentCommand;
|
|
@@ -11,7 +11,7 @@ class BatchDetectSyntaxCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "ComprehendClient";
|
|
@@ -27,10 +27,10 @@ class BatchDetectSyntaxCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_json1_1_1.serializeAws_json1_1BatchDetectSyntaxCommand(input, context);
|
|
30
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1BatchDetectSyntaxCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_json1_1_1.deserializeAws_json1_1BatchDetectSyntaxCommand(output, context);
|
|
33
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1BatchDetectSyntaxCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.BatchDetectSyntaxCommand = BatchDetectSyntaxCommand;
|
|
@@ -11,7 +11,7 @@ class ClassifyDocumentCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "ComprehendClient";
|
|
@@ -27,10 +27,10 @@ class ClassifyDocumentCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_json1_1_1.serializeAws_json1_1ClassifyDocumentCommand(input, context);
|
|
30
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1ClassifyDocumentCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_json1_1_1.deserializeAws_json1_1ClassifyDocumentCommand(output, context);
|
|
33
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1ClassifyDocumentCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.ClassifyDocumentCommand = ClassifyDocumentCommand;
|
|
@@ -11,7 +11,7 @@ class ContainsPiiEntitiesCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "ComprehendClient";
|
|
@@ -27,10 +27,10 @@ class ContainsPiiEntitiesCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_json1_1_1.serializeAws_json1_1ContainsPiiEntitiesCommand(input, context);
|
|
30
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1ContainsPiiEntitiesCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_json1_1_1.deserializeAws_json1_1ContainsPiiEntitiesCommand(output, context);
|
|
33
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1ContainsPiiEntitiesCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.ContainsPiiEntitiesCommand = ContainsPiiEntitiesCommand;
|
|
@@ -11,7 +11,7 @@ class CreateDocumentClassifierCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "ComprehendClient";
|
|
@@ -27,10 +27,10 @@ class CreateDocumentClassifierCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_json1_1_1.serializeAws_json1_1CreateDocumentClassifierCommand(input, context);
|
|
30
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1CreateDocumentClassifierCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_json1_1_1.deserializeAws_json1_1CreateDocumentClassifierCommand(output, context);
|
|
33
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1CreateDocumentClassifierCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.CreateDocumentClassifierCommand = CreateDocumentClassifierCommand;
|
|
@@ -11,7 +11,7 @@ class CreateEndpointCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "ComprehendClient";
|
|
@@ -27,10 +27,10 @@ class CreateEndpointCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_json1_1_1.serializeAws_json1_1CreateEndpointCommand(input, context);
|
|
30
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1CreateEndpointCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_json1_1_1.deserializeAws_json1_1CreateEndpointCommand(output, context);
|
|
33
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1CreateEndpointCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.CreateEndpointCommand = CreateEndpointCommand;
|
|
@@ -11,7 +11,7 @@ class CreateEntityRecognizerCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "ComprehendClient";
|
|
@@ -27,10 +27,10 @@ class CreateEntityRecognizerCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_json1_1_1.serializeAws_json1_1CreateEntityRecognizerCommand(input, context);
|
|
30
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1CreateEntityRecognizerCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_json1_1_1.deserializeAws_json1_1CreateEntityRecognizerCommand(output, context);
|
|
33
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1CreateEntityRecognizerCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.CreateEntityRecognizerCommand = CreateEntityRecognizerCommand;
|
|
@@ -11,7 +11,7 @@ class DeleteDocumentClassifierCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "ComprehendClient";
|
|
@@ -27,10 +27,10 @@ class DeleteDocumentClassifierCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_json1_1_1.serializeAws_json1_1DeleteDocumentClassifierCommand(input, context);
|
|
30
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1DeleteDocumentClassifierCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_json1_1_1.deserializeAws_json1_1DeleteDocumentClassifierCommand(output, context);
|
|
33
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1DeleteDocumentClassifierCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.DeleteDocumentClassifierCommand = DeleteDocumentClassifierCommand;
|
|
@@ -11,7 +11,7 @@ class DeleteEndpointCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "ComprehendClient";
|
|
@@ -27,10 +27,10 @@ class DeleteEndpointCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_json1_1_1.serializeAws_json1_1DeleteEndpointCommand(input, context);
|
|
30
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1DeleteEndpointCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_json1_1_1.deserializeAws_json1_1DeleteEndpointCommand(output, context);
|
|
33
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1DeleteEndpointCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.DeleteEndpointCommand = DeleteEndpointCommand;
|
|
@@ -11,7 +11,7 @@ class DeleteEntityRecognizerCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "ComprehendClient";
|
|
@@ -27,10 +27,10 @@ class DeleteEntityRecognizerCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_json1_1_1.serializeAws_json1_1DeleteEntityRecognizerCommand(input, context);
|
|
30
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1DeleteEntityRecognizerCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_json1_1_1.deserializeAws_json1_1DeleteEntityRecognizerCommand(output, context);
|
|
33
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1DeleteEntityRecognizerCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.DeleteEntityRecognizerCommand = DeleteEntityRecognizerCommand;
|
|
@@ -11,7 +11,7 @@ class DeleteResourcePolicyCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "ComprehendClient";
|
|
@@ -27,10 +27,10 @@ class DeleteResourcePolicyCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_json1_1_1.serializeAws_json1_1DeleteResourcePolicyCommand(input, context);
|
|
30
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1DeleteResourcePolicyCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_json1_1_1.deserializeAws_json1_1DeleteResourcePolicyCommand(output, context);
|
|
33
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1DeleteResourcePolicyCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.DeleteResourcePolicyCommand = DeleteResourcePolicyCommand;
|
|
@@ -11,7 +11,7 @@ class DescribeDocumentClassificationJobCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "ComprehendClient";
|
|
@@ -27,10 +27,10 @@ class DescribeDocumentClassificationJobCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_json1_1_1.serializeAws_json1_1DescribeDocumentClassificationJobCommand(input, context);
|
|
30
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1DescribeDocumentClassificationJobCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_json1_1_1.deserializeAws_json1_1DescribeDocumentClassificationJobCommand(output, context);
|
|
33
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1DescribeDocumentClassificationJobCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.DescribeDocumentClassificationJobCommand = DescribeDocumentClassificationJobCommand;
|
|
@@ -11,7 +11,7 @@ class DescribeDocumentClassifierCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "ComprehendClient";
|
|
@@ -27,10 +27,10 @@ class DescribeDocumentClassifierCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_json1_1_1.serializeAws_json1_1DescribeDocumentClassifierCommand(input, context);
|
|
30
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1DescribeDocumentClassifierCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_json1_1_1.deserializeAws_json1_1DescribeDocumentClassifierCommand(output, context);
|
|
33
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1DescribeDocumentClassifierCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.DescribeDocumentClassifierCommand = DescribeDocumentClassifierCommand;
|
|
@@ -11,7 +11,7 @@ class DescribeDominantLanguageDetectionJobCommand extends smithy_client_1.Comman
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "ComprehendClient";
|
|
@@ -27,10 +27,10 @@ class DescribeDominantLanguageDetectionJobCommand extends smithy_client_1.Comman
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_json1_1_1.serializeAws_json1_1DescribeDominantLanguageDetectionJobCommand(input, context);
|
|
30
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1DescribeDominantLanguageDetectionJobCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_json1_1_1.deserializeAws_json1_1DescribeDominantLanguageDetectionJobCommand(output, context);
|
|
33
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1DescribeDominantLanguageDetectionJobCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.DescribeDominantLanguageDetectionJobCommand = DescribeDominantLanguageDetectionJobCommand;
|
|
@@ -11,7 +11,7 @@ class DescribeEndpointCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "ComprehendClient";
|
|
@@ -27,10 +27,10 @@ class DescribeEndpointCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_json1_1_1.serializeAws_json1_1DescribeEndpointCommand(input, context);
|
|
30
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1DescribeEndpointCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_json1_1_1.deserializeAws_json1_1DescribeEndpointCommand(output, context);
|
|
33
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1DescribeEndpointCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.DescribeEndpointCommand = DescribeEndpointCommand;
|
|
@@ -11,7 +11,7 @@ class DescribeEntitiesDetectionJobCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "ComprehendClient";
|
|
@@ -27,10 +27,10 @@ class DescribeEntitiesDetectionJobCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_json1_1_1.serializeAws_json1_1DescribeEntitiesDetectionJobCommand(input, context);
|
|
30
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1DescribeEntitiesDetectionJobCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_json1_1_1.deserializeAws_json1_1DescribeEntitiesDetectionJobCommand(output, context);
|
|
33
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1DescribeEntitiesDetectionJobCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.DescribeEntitiesDetectionJobCommand = DescribeEntitiesDetectionJobCommand;
|