@aws-sdk/client-comprehend 3.54.0 → 3.56.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 (94) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/dist-cjs/ComprehendClient.js +13 -13
  3. package/dist-cjs/commands/BatchDetectDominantLanguageCommand.js +3 -3
  4. package/dist-cjs/commands/BatchDetectEntitiesCommand.js +3 -3
  5. package/dist-cjs/commands/BatchDetectKeyPhrasesCommand.js +3 -3
  6. package/dist-cjs/commands/BatchDetectSentimentCommand.js +3 -3
  7. package/dist-cjs/commands/BatchDetectSyntaxCommand.js +3 -3
  8. package/dist-cjs/commands/ClassifyDocumentCommand.js +3 -3
  9. package/dist-cjs/commands/ContainsPiiEntitiesCommand.js +3 -3
  10. package/dist-cjs/commands/CreateDocumentClassifierCommand.js +3 -3
  11. package/dist-cjs/commands/CreateEndpointCommand.js +3 -3
  12. package/dist-cjs/commands/CreateEntityRecognizerCommand.js +3 -3
  13. package/dist-cjs/commands/DeleteDocumentClassifierCommand.js +3 -3
  14. package/dist-cjs/commands/DeleteEndpointCommand.js +3 -3
  15. package/dist-cjs/commands/DeleteEntityRecognizerCommand.js +3 -3
  16. package/dist-cjs/commands/DeleteResourcePolicyCommand.js +3 -3
  17. package/dist-cjs/commands/DescribeDocumentClassificationJobCommand.js +3 -3
  18. package/dist-cjs/commands/DescribeDocumentClassifierCommand.js +3 -3
  19. package/dist-cjs/commands/DescribeDominantLanguageDetectionJobCommand.js +3 -3
  20. package/dist-cjs/commands/DescribeEndpointCommand.js +3 -3
  21. package/dist-cjs/commands/DescribeEntitiesDetectionJobCommand.js +3 -3
  22. package/dist-cjs/commands/DescribeEntityRecognizerCommand.js +3 -3
  23. package/dist-cjs/commands/DescribeEventsDetectionJobCommand.js +3 -3
  24. package/dist-cjs/commands/DescribeKeyPhrasesDetectionJobCommand.js +3 -3
  25. package/dist-cjs/commands/DescribePiiEntitiesDetectionJobCommand.js +3 -3
  26. package/dist-cjs/commands/DescribeResourcePolicyCommand.js +3 -3
  27. package/dist-cjs/commands/DescribeSentimentDetectionJobCommand.js +3 -3
  28. package/dist-cjs/commands/DescribeTargetedSentimentDetectionJobCommand.js +3 -3
  29. package/dist-cjs/commands/DescribeTopicsDetectionJobCommand.js +3 -3
  30. package/dist-cjs/commands/DetectDominantLanguageCommand.js +3 -3
  31. package/dist-cjs/commands/DetectEntitiesCommand.js +3 -3
  32. package/dist-cjs/commands/DetectKeyPhrasesCommand.js +3 -3
  33. package/dist-cjs/commands/DetectPiiEntitiesCommand.js +3 -3
  34. package/dist-cjs/commands/DetectSentimentCommand.js +3 -3
  35. package/dist-cjs/commands/DetectSyntaxCommand.js +3 -3
  36. package/dist-cjs/commands/ImportModelCommand.js +3 -3
  37. package/dist-cjs/commands/ListDocumentClassificationJobsCommand.js +3 -3
  38. package/dist-cjs/commands/ListDocumentClassifierSummariesCommand.js +3 -3
  39. package/dist-cjs/commands/ListDocumentClassifiersCommand.js +3 -3
  40. package/dist-cjs/commands/ListDominantLanguageDetectionJobsCommand.js +3 -3
  41. package/dist-cjs/commands/ListEndpointsCommand.js +3 -3
  42. package/dist-cjs/commands/ListEntitiesDetectionJobsCommand.js +3 -3
  43. package/dist-cjs/commands/ListEntityRecognizerSummariesCommand.js +3 -3
  44. package/dist-cjs/commands/ListEntityRecognizersCommand.js +3 -3
  45. package/dist-cjs/commands/ListEventsDetectionJobsCommand.js +3 -3
  46. package/dist-cjs/commands/ListKeyPhrasesDetectionJobsCommand.js +3 -3
  47. package/dist-cjs/commands/ListPiiEntitiesDetectionJobsCommand.js +3 -3
  48. package/dist-cjs/commands/ListSentimentDetectionJobsCommand.js +3 -3
  49. package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
  50. package/dist-cjs/commands/ListTargetedSentimentDetectionJobsCommand.js +3 -3
  51. package/dist-cjs/commands/ListTopicsDetectionJobsCommand.js +3 -3
  52. package/dist-cjs/commands/PutResourcePolicyCommand.js +3 -3
  53. package/dist-cjs/commands/StartDocumentClassificationJobCommand.js +3 -3
  54. package/dist-cjs/commands/StartDominantLanguageDetectionJobCommand.js +3 -3
  55. package/dist-cjs/commands/StartEntitiesDetectionJobCommand.js +3 -3
  56. package/dist-cjs/commands/StartEventsDetectionJobCommand.js +3 -3
  57. package/dist-cjs/commands/StartKeyPhrasesDetectionJobCommand.js +3 -3
  58. package/dist-cjs/commands/StartPiiEntitiesDetectionJobCommand.js +3 -3
  59. package/dist-cjs/commands/StartSentimentDetectionJobCommand.js +3 -3
  60. package/dist-cjs/commands/StartTargetedSentimentDetectionJobCommand.js +3 -3
  61. package/dist-cjs/commands/StartTopicsDetectionJobCommand.js +3 -3
  62. package/dist-cjs/commands/StopDominantLanguageDetectionJobCommand.js +3 -3
  63. package/dist-cjs/commands/StopEntitiesDetectionJobCommand.js +3 -3
  64. package/dist-cjs/commands/StopEventsDetectionJobCommand.js +3 -3
  65. package/dist-cjs/commands/StopKeyPhrasesDetectionJobCommand.js +3 -3
  66. package/dist-cjs/commands/StopPiiEntitiesDetectionJobCommand.js +3 -3
  67. package/dist-cjs/commands/StopSentimentDetectionJobCommand.js +3 -3
  68. package/dist-cjs/commands/StopTargetedSentimentDetectionJobCommand.js +3 -3
  69. package/dist-cjs/commands/StopTrainingDocumentClassifierCommand.js +3 -3
  70. package/dist-cjs/commands/StopTrainingEntityRecognizerCommand.js +3 -3
  71. package/dist-cjs/commands/TagResourceCommand.js +3 -3
  72. package/dist-cjs/commands/UntagResourceCommand.js +3 -3
  73. package/dist-cjs/commands/UpdateEndpointCommand.js +3 -3
  74. package/dist-cjs/endpoints.js +1 -1
  75. package/dist-cjs/protocols/Aws_json1_1.js +417 -417
  76. package/dist-cjs/runtimeConfig.browser.js +4 -4
  77. package/dist-cjs/runtimeConfig.js +9 -9
  78. package/dist-cjs/runtimeConfig.native.js +1 -1
  79. package/dist-es/Comprehend.js +71 -71
  80. package/dist-es/pagination/ListDocumentClassificationJobsPaginator.js +4 -4
  81. package/dist-es/pagination/ListDocumentClassifierSummariesPaginator.js +4 -4
  82. package/dist-es/pagination/ListDocumentClassifiersPaginator.js +4 -4
  83. package/dist-es/pagination/ListDominantLanguageDetectionJobsPaginator.js +4 -4
  84. package/dist-es/pagination/ListEntitiesDetectionJobsPaginator.js +4 -4
  85. package/dist-es/pagination/ListEntityRecognizerSummariesPaginator.js +4 -4
  86. package/dist-es/pagination/ListEntityRecognizersPaginator.js +4 -4
  87. package/dist-es/pagination/ListEventsDetectionJobsPaginator.js +4 -4
  88. package/dist-es/pagination/ListKeyPhrasesDetectionJobsPaginator.js +4 -4
  89. package/dist-es/pagination/ListSentimentDetectionJobsPaginator.js +4 -4
  90. package/dist-es/pagination/ListTargetedSentimentDetectionJobsPaginator.js +4 -4
  91. package/dist-es/pagination/ListTopicsDetectionJobsPaginator.js +4 -4
  92. package/dist-types/runtimeConfig.native.d.ts +2 -2
  93. package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
  94. package/package.json +34 -34
@@ -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;
@@ -11,7 +11,7 @@ class StartTargetedSentimentDetectionJobCommand 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 StartTargetedSentimentDetectionJobCommand 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_1StartTargetedSentimentDetectionJobCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1StartTargetedSentimentDetectionJobCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1StartTargetedSentimentDetectionJobCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1StartTargetedSentimentDetectionJobCommand)(output, context);
34
34
  }
35
35
  }
36
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;
@@ -11,7 +11,7 @@ class StopTargetedSentimentDetectionJobCommand 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 StopTargetedSentimentDetectionJobCommand 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_1StopTargetedSentimentDetectionJobCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1StopTargetedSentimentDetectionJobCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1StopTargetedSentimentDetectionJobCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1StopTargetedSentimentDetectionJobCommand)(output, context);
34
34
  }
35
35
  }
36
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;
@@ -11,7 +11,7 @@ class UpdateEndpointCommand 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 UpdateEndpointCommand 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_1UpdateEndpointCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1UpdateEndpointCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1UpdateEndpointCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1UpdateEndpointCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.UpdateEndpointCommand = UpdateEndpointCommand;
@@ -158,7 +158,7 @@ const partitionHash = {
158
158
  ],
159
159
  },
160
160
  };
161
- const defaultRegionInfoProvider = async (region, options) => config_resolver_1.getRegionInfo(region, {
161
+ const defaultRegionInfoProvider = async (region, options) => (0, config_resolver_1.getRegionInfo)(region, {
162
162
  ...options,
163
163
  signingService: "comprehend",
164
164
  regionHash,