@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.
Files changed (134) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/dist-cjs/Comprehend.js +60 -0
  3. package/dist-cjs/ComprehendClient.js +13 -13
  4. package/dist-cjs/commands/BatchDetectDominantLanguageCommand.js +3 -3
  5. package/dist-cjs/commands/BatchDetectEntitiesCommand.js +3 -3
  6. package/dist-cjs/commands/BatchDetectKeyPhrasesCommand.js +3 -3
  7. package/dist-cjs/commands/BatchDetectSentimentCommand.js +3 -3
  8. package/dist-cjs/commands/BatchDetectSyntaxCommand.js +3 -3
  9. package/dist-cjs/commands/ClassifyDocumentCommand.js +3 -3
  10. package/dist-cjs/commands/ContainsPiiEntitiesCommand.js +3 -3
  11. package/dist-cjs/commands/CreateDocumentClassifierCommand.js +3 -3
  12. package/dist-cjs/commands/CreateEndpointCommand.js +3 -3
  13. package/dist-cjs/commands/CreateEntityRecognizerCommand.js +3 -3
  14. package/dist-cjs/commands/DeleteDocumentClassifierCommand.js +3 -3
  15. package/dist-cjs/commands/DeleteEndpointCommand.js +3 -3
  16. package/dist-cjs/commands/DeleteEntityRecognizerCommand.js +3 -3
  17. package/dist-cjs/commands/DeleteResourcePolicyCommand.js +3 -3
  18. package/dist-cjs/commands/DescribeDocumentClassificationJobCommand.js +3 -3
  19. package/dist-cjs/commands/DescribeDocumentClassifierCommand.js +3 -3
  20. package/dist-cjs/commands/DescribeDominantLanguageDetectionJobCommand.js +3 -3
  21. package/dist-cjs/commands/DescribeEndpointCommand.js +3 -3
  22. package/dist-cjs/commands/DescribeEntitiesDetectionJobCommand.js +3 -3
  23. package/dist-cjs/commands/DescribeEntityRecognizerCommand.js +3 -3
  24. package/dist-cjs/commands/DescribeEventsDetectionJobCommand.js +3 -3
  25. package/dist-cjs/commands/DescribeKeyPhrasesDetectionJobCommand.js +3 -3
  26. package/dist-cjs/commands/DescribePiiEntitiesDetectionJobCommand.js +3 -3
  27. package/dist-cjs/commands/DescribeResourcePolicyCommand.js +3 -3
  28. package/dist-cjs/commands/DescribeSentimentDetectionJobCommand.js +3 -3
  29. package/dist-cjs/commands/DescribeTargetedSentimentDetectionJobCommand.js +36 -0
  30. package/dist-cjs/commands/DescribeTopicsDetectionJobCommand.js +3 -3
  31. package/dist-cjs/commands/DetectDominantLanguageCommand.js +3 -3
  32. package/dist-cjs/commands/DetectEntitiesCommand.js +3 -3
  33. package/dist-cjs/commands/DetectKeyPhrasesCommand.js +3 -3
  34. package/dist-cjs/commands/DetectPiiEntitiesCommand.js +3 -3
  35. package/dist-cjs/commands/DetectSentimentCommand.js +3 -3
  36. package/dist-cjs/commands/DetectSyntaxCommand.js +3 -3
  37. package/dist-cjs/commands/ImportModelCommand.js +3 -3
  38. package/dist-cjs/commands/ListDocumentClassificationJobsCommand.js +3 -3
  39. package/dist-cjs/commands/ListDocumentClassifierSummariesCommand.js +3 -3
  40. package/dist-cjs/commands/ListDocumentClassifiersCommand.js +3 -3
  41. package/dist-cjs/commands/ListDominantLanguageDetectionJobsCommand.js +3 -3
  42. package/dist-cjs/commands/ListEndpointsCommand.js +3 -3
  43. package/dist-cjs/commands/ListEntitiesDetectionJobsCommand.js +3 -3
  44. package/dist-cjs/commands/ListEntityRecognizerSummariesCommand.js +3 -3
  45. package/dist-cjs/commands/ListEntityRecognizersCommand.js +3 -3
  46. package/dist-cjs/commands/ListEventsDetectionJobsCommand.js +3 -3
  47. package/dist-cjs/commands/ListKeyPhrasesDetectionJobsCommand.js +3 -3
  48. package/dist-cjs/commands/ListPiiEntitiesDetectionJobsCommand.js +3 -3
  49. package/dist-cjs/commands/ListSentimentDetectionJobsCommand.js +3 -3
  50. package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
  51. package/dist-cjs/commands/ListTargetedSentimentDetectionJobsCommand.js +36 -0
  52. package/dist-cjs/commands/ListTopicsDetectionJobsCommand.js +3 -3
  53. package/dist-cjs/commands/PutResourcePolicyCommand.js +3 -3
  54. package/dist-cjs/commands/StartDocumentClassificationJobCommand.js +3 -3
  55. package/dist-cjs/commands/StartDominantLanguageDetectionJobCommand.js +3 -3
  56. package/dist-cjs/commands/StartEntitiesDetectionJobCommand.js +3 -3
  57. package/dist-cjs/commands/StartEventsDetectionJobCommand.js +3 -3
  58. package/dist-cjs/commands/StartKeyPhrasesDetectionJobCommand.js +3 -3
  59. package/dist-cjs/commands/StartPiiEntitiesDetectionJobCommand.js +3 -3
  60. package/dist-cjs/commands/StartSentimentDetectionJobCommand.js +3 -3
  61. package/dist-cjs/commands/StartTargetedSentimentDetectionJobCommand.js +36 -0
  62. package/dist-cjs/commands/StartTopicsDetectionJobCommand.js +3 -3
  63. package/dist-cjs/commands/StopDominantLanguageDetectionJobCommand.js +3 -3
  64. package/dist-cjs/commands/StopEntitiesDetectionJobCommand.js +3 -3
  65. package/dist-cjs/commands/StopEventsDetectionJobCommand.js +3 -3
  66. package/dist-cjs/commands/StopKeyPhrasesDetectionJobCommand.js +3 -3
  67. package/dist-cjs/commands/StopPiiEntitiesDetectionJobCommand.js +3 -3
  68. package/dist-cjs/commands/StopSentimentDetectionJobCommand.js +3 -3
  69. package/dist-cjs/commands/StopTargetedSentimentDetectionJobCommand.js +36 -0
  70. package/dist-cjs/commands/StopTrainingDocumentClassifierCommand.js +3 -3
  71. package/dist-cjs/commands/StopTrainingEntityRecognizerCommand.js +3 -3
  72. package/dist-cjs/commands/TagResourceCommand.js +3 -3
  73. package/dist-cjs/commands/UntagResourceCommand.js +3 -3
  74. package/dist-cjs/commands/UpdateEndpointCommand.js +3 -3
  75. package/dist-cjs/commands/index.js +4 -0
  76. package/dist-cjs/endpoints.js +1 -1
  77. package/dist-cjs/models/models_0.js +63 -3
  78. package/dist-cjs/pagination/ListTargetedSentimentDetectionJobsPaginator.js +35 -0
  79. package/dist-cjs/pagination/index.js +1 -0
  80. package/dist-cjs/protocols/Aws_json1_1.js +740 -399
  81. package/dist-cjs/runtimeConfig.browser.js +4 -4
  82. package/dist-cjs/runtimeConfig.js +9 -9
  83. package/dist-cjs/runtimeConfig.native.js +1 -1
  84. package/dist-es/Comprehend.js +127 -67
  85. package/dist-es/commands/DescribeTargetedSentimentDetectionJobCommand.js +39 -0
  86. package/dist-es/commands/ListTargetedSentimentDetectionJobsCommand.js +39 -0
  87. package/dist-es/commands/StartTargetedSentimentDetectionJobCommand.js +39 -0
  88. package/dist-es/commands/StopTargetedSentimentDetectionJobCommand.js +39 -0
  89. package/dist-es/commands/index.js +4 -0
  90. package/dist-es/models/models_0.js +40 -0
  91. package/dist-es/pagination/ListDocumentClassificationJobsPaginator.js +4 -4
  92. package/dist-es/pagination/ListDocumentClassifierSummariesPaginator.js +4 -4
  93. package/dist-es/pagination/ListDocumentClassifiersPaginator.js +4 -4
  94. package/dist-es/pagination/ListDominantLanguageDetectionJobsPaginator.js +4 -4
  95. package/dist-es/pagination/ListEntitiesDetectionJobsPaginator.js +4 -4
  96. package/dist-es/pagination/ListEntityRecognizerSummariesPaginator.js +4 -4
  97. package/dist-es/pagination/ListEntityRecognizersPaginator.js +4 -4
  98. package/dist-es/pagination/ListEventsDetectionJobsPaginator.js +4 -4
  99. package/dist-es/pagination/ListKeyPhrasesDetectionJobsPaginator.js +4 -4
  100. package/dist-es/pagination/ListSentimentDetectionJobsPaginator.js +4 -4
  101. package/dist-es/pagination/ListTargetedSentimentDetectionJobsPaginator.js +74 -0
  102. package/dist-es/pagination/ListTopicsDetectionJobsPaginator.js +4 -4
  103. package/dist-es/pagination/index.js +1 -0
  104. package/dist-es/protocols/Aws_json1_1.js +390 -0
  105. package/dist-types/Comprehend.d.ts +41 -1
  106. package/dist-types/ComprehendClient.d.ts +8 -4
  107. package/dist-types/commands/DescribeTargetedSentimentDetectionJobCommand.d.ts +36 -0
  108. package/dist-types/commands/ListTargetedSentimentDetectionJobsCommand.d.ts +35 -0
  109. package/dist-types/commands/StartSentimentDetectionJobCommand.d.ts +1 -1
  110. package/dist-types/commands/StartTargetedSentimentDetectionJobCommand.d.ts +37 -0
  111. package/dist-types/commands/StopTargetedSentimentDetectionJobCommand.d.ts +44 -0
  112. package/dist-types/commands/index.d.ts +4 -0
  113. package/dist-types/models/models_0.d.ts +336 -2
  114. package/dist-types/pagination/ListTargetedSentimentDetectionJobsPaginator.d.ts +4 -0
  115. package/dist-types/pagination/index.d.ts +1 -0
  116. package/dist-types/protocols/Aws_json1_1.d.ts +12 -0
  117. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  118. package/dist-types/runtimeConfig.d.ts +1 -1
  119. package/dist-types/runtimeConfig.native.d.ts +3 -3
  120. package/dist-types/ts3.4/Comprehend.d.ts +20 -0
  121. package/dist-types/ts3.4/ComprehendClient.d.ts +8 -4
  122. package/dist-types/ts3.4/commands/DescribeTargetedSentimentDetectionJobCommand.d.ts +17 -0
  123. package/dist-types/ts3.4/commands/ListTargetedSentimentDetectionJobsCommand.d.ts +17 -0
  124. package/dist-types/ts3.4/commands/StartTargetedSentimentDetectionJobCommand.d.ts +17 -0
  125. package/dist-types/ts3.4/commands/StopTargetedSentimentDetectionJobCommand.d.ts +17 -0
  126. package/dist-types/ts3.4/commands/index.d.ts +4 -0
  127. package/dist-types/ts3.4/models/models_0.d.ts +140 -0
  128. package/dist-types/ts3.4/pagination/ListTargetedSentimentDetectionJobsPaginator.d.ts +4 -0
  129. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  130. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +12 -0
  131. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  132. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  133. package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
  134. package/package.json +34 -34
@@ -11,7 +11,7 @@ class ListSentimentDetectionJobsCommand 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 ListSentimentDetectionJobsCommand 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_1ListSentimentDetectionJobsCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1ListSentimentDetectionJobsCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1ListSentimentDetectionJobsCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1ListSentimentDetectionJobsCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.ListSentimentDetectionJobsCommand = ListSentimentDetectionJobsCommand;
@@ -11,7 +11,7 @@ class ListTagsForResourceCommand 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 ListTagsForResourceCommand 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_1ListTagsForResourceCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1ListTagsForResourceCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1ListTagsForResourceCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1ListTagsForResourceCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListTargetedSentimentDetectionJobsCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
+ class ListTargetedSentimentDetectionJobsCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "ComprehendClient";
18
+ const commandName = "ListTargetedSentimentDetectionJobsCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.ListTargetedSentimentDetectionJobsRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.ListTargetedSentimentDetectionJobsResponse.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1ListTargetedSentimentDetectionJobsCommand)(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1ListTargetedSentimentDetectionJobsCommand)(output, context);
34
+ }
35
+ }
36
+ exports.ListTargetedSentimentDetectionJobsCommand = ListTargetedSentimentDetectionJobsCommand;
@@ -11,7 +11,7 @@ class ListTopicsDetectionJobsCommand 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 ListTopicsDetectionJobsCommand 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_1ListTopicsDetectionJobsCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1ListTopicsDetectionJobsCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1ListTopicsDetectionJobsCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1ListTopicsDetectionJobsCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.ListTopicsDetectionJobsCommand = ListTopicsDetectionJobsCommand;
@@ -11,7 +11,7 @@ class PutResourcePolicyCommand 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 PutResourcePolicyCommand 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_1PutResourcePolicyCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1PutResourcePolicyCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1PutResourcePolicyCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1PutResourcePolicyCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.PutResourcePolicyCommand = PutResourcePolicyCommand;
@@ -11,7 +11,7 @@ class StartDocumentClassificationJobCommand 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 StartDocumentClassificationJobCommand 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_1StartDocumentClassificationJobCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1StartDocumentClassificationJobCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1StartDocumentClassificationJobCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1StartDocumentClassificationJobCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.StartDocumentClassificationJobCommand = StartDocumentClassificationJobCommand;
@@ -11,7 +11,7 @@ class StartDominantLanguageDetectionJobCommand 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 StartDominantLanguageDetectionJobCommand 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_1StartDominantLanguageDetectionJobCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1StartDominantLanguageDetectionJobCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1StartDominantLanguageDetectionJobCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1StartDominantLanguageDetectionJobCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.StartDominantLanguageDetectionJobCommand = StartDominantLanguageDetectionJobCommand;
@@ -11,7 +11,7 @@ class StartEntitiesDetectionJobCommand 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 StartEntitiesDetectionJobCommand 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_1StartEntitiesDetectionJobCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1StartEntitiesDetectionJobCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1StartEntitiesDetectionJobCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1StartEntitiesDetectionJobCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.StartEntitiesDetectionJobCommand = StartEntitiesDetectionJobCommand;
@@ -11,7 +11,7 @@ class StartEventsDetectionJobCommand 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 StartEventsDetectionJobCommand 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_1StartEventsDetectionJobCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1StartEventsDetectionJobCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1StartEventsDetectionJobCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1StartEventsDetectionJobCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.StartEventsDetectionJobCommand = StartEventsDetectionJobCommand;
@@ -11,7 +11,7 @@ class StartKeyPhrasesDetectionJobCommand 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 StartKeyPhrasesDetectionJobCommand 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_1StartKeyPhrasesDetectionJobCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1StartKeyPhrasesDetectionJobCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1StartKeyPhrasesDetectionJobCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1StartKeyPhrasesDetectionJobCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.StartKeyPhrasesDetectionJobCommand = StartKeyPhrasesDetectionJobCommand;
@@ -11,7 +11,7 @@ class StartPiiEntitiesDetectionJobCommand 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 StartPiiEntitiesDetectionJobCommand 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_1StartPiiEntitiesDetectionJobCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1StartPiiEntitiesDetectionJobCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1StartPiiEntitiesDetectionJobCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1StartPiiEntitiesDetectionJobCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.StartPiiEntitiesDetectionJobCommand = StartPiiEntitiesDetectionJobCommand;
@@ -11,7 +11,7 @@ class StartSentimentDetectionJobCommand 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 StartSentimentDetectionJobCommand 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_1StartSentimentDetectionJobCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1StartSentimentDetectionJobCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1StartSentimentDetectionJobCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1StartSentimentDetectionJobCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.StartSentimentDetectionJobCommand = StartSentimentDetectionJobCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.StartTargetedSentimentDetectionJobCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
+ class StartTargetedSentimentDetectionJobCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "ComprehendClient";
18
+ const commandName = "StartTargetedSentimentDetectionJobCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.StartTargetedSentimentDetectionJobRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.StartTargetedSentimentDetectionJobResponse.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1StartTargetedSentimentDetectionJobCommand)(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1StartTargetedSentimentDetectionJobCommand)(output, context);
34
+ }
35
+ }
36
+ exports.StartTargetedSentimentDetectionJobCommand = StartTargetedSentimentDetectionJobCommand;
@@ -11,7 +11,7 @@ class StartTopicsDetectionJobCommand 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 StartTopicsDetectionJobCommand 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_1StartTopicsDetectionJobCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1StartTopicsDetectionJobCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1StartTopicsDetectionJobCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1StartTopicsDetectionJobCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.StartTopicsDetectionJobCommand = StartTopicsDetectionJobCommand;
@@ -11,7 +11,7 @@ class StopDominantLanguageDetectionJobCommand 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 StopDominantLanguageDetectionJobCommand 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_1StopDominantLanguageDetectionJobCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1StopDominantLanguageDetectionJobCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1StopDominantLanguageDetectionJobCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1StopDominantLanguageDetectionJobCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.StopDominantLanguageDetectionJobCommand = StopDominantLanguageDetectionJobCommand;
@@ -11,7 +11,7 @@ class StopEntitiesDetectionJobCommand 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 StopEntitiesDetectionJobCommand 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_1StopEntitiesDetectionJobCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1StopEntitiesDetectionJobCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1StopEntitiesDetectionJobCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1StopEntitiesDetectionJobCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.StopEntitiesDetectionJobCommand = StopEntitiesDetectionJobCommand;
@@ -11,7 +11,7 @@ class StopEventsDetectionJobCommand 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 StopEventsDetectionJobCommand 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_1StopEventsDetectionJobCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1StopEventsDetectionJobCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1StopEventsDetectionJobCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1StopEventsDetectionJobCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.StopEventsDetectionJobCommand = StopEventsDetectionJobCommand;
@@ -11,7 +11,7 @@ class StopKeyPhrasesDetectionJobCommand 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 StopKeyPhrasesDetectionJobCommand 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_1StopKeyPhrasesDetectionJobCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1StopKeyPhrasesDetectionJobCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1StopKeyPhrasesDetectionJobCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1StopKeyPhrasesDetectionJobCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.StopKeyPhrasesDetectionJobCommand = StopKeyPhrasesDetectionJobCommand;
@@ -11,7 +11,7 @@ class StopPiiEntitiesDetectionJobCommand 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 StopPiiEntitiesDetectionJobCommand 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_1StopPiiEntitiesDetectionJobCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1StopPiiEntitiesDetectionJobCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1StopPiiEntitiesDetectionJobCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1StopPiiEntitiesDetectionJobCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.StopPiiEntitiesDetectionJobCommand = StopPiiEntitiesDetectionJobCommand;
@@ -11,7 +11,7 @@ class StopSentimentDetectionJobCommand 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 StopSentimentDetectionJobCommand 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_1StopSentimentDetectionJobCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1StopSentimentDetectionJobCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1StopSentimentDetectionJobCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1StopSentimentDetectionJobCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.StopSentimentDetectionJobCommand = StopSentimentDetectionJobCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.StopTargetedSentimentDetectionJobCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
+ class StopTargetedSentimentDetectionJobCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "ComprehendClient";
18
+ const commandName = "StopTargetedSentimentDetectionJobCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.StopTargetedSentimentDetectionJobRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.StopTargetedSentimentDetectionJobResponse.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1StopTargetedSentimentDetectionJobCommand)(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1StopTargetedSentimentDetectionJobCommand)(output, context);
34
+ }
35
+ }
36
+ exports.StopTargetedSentimentDetectionJobCommand = StopTargetedSentimentDetectionJobCommand;
@@ -11,7 +11,7 @@ class StopTrainingDocumentClassifierCommand 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 StopTrainingDocumentClassifierCommand 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_1StopTrainingDocumentClassifierCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1StopTrainingDocumentClassifierCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1StopTrainingDocumentClassifierCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1StopTrainingDocumentClassifierCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.StopTrainingDocumentClassifierCommand = StopTrainingDocumentClassifierCommand;
@@ -11,7 +11,7 @@ class StopTrainingEntityRecognizerCommand 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 StopTrainingEntityRecognizerCommand 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_1StopTrainingEntityRecognizerCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1StopTrainingEntityRecognizerCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1StopTrainingEntityRecognizerCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1StopTrainingEntityRecognizerCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.StopTrainingEntityRecognizerCommand = StopTrainingEntityRecognizerCommand;
@@ -11,7 +11,7 @@ class TagResourceCommand 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 TagResourceCommand 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_1TagResourceCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1TagResourceCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1TagResourceCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1TagResourceCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.TagResourceCommand = TagResourceCommand;
@@ -11,7 +11,7 @@ class UntagResourceCommand 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 UntagResourceCommand 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_1UntagResourceCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1UntagResourceCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1UntagResourceCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1UntagResourceCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.UntagResourceCommand = UntagResourceCommand;