@aws-sdk/client-comprehend 3.413.0 → 3.418.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 (173) hide show
  1. package/dist-cjs/commands/BatchDetectDominantLanguageCommand.js +5 -0
  2. package/dist-cjs/commands/BatchDetectEntitiesCommand.js +5 -0
  3. package/dist-cjs/commands/BatchDetectKeyPhrasesCommand.js +5 -0
  4. package/dist-cjs/commands/BatchDetectSentimentCommand.js +5 -0
  5. package/dist-cjs/commands/BatchDetectSyntaxCommand.js +5 -0
  6. package/dist-cjs/commands/BatchDetectTargetedSentimentCommand.js +5 -0
  7. package/dist-cjs/commands/ClassifyDocumentCommand.js +5 -0
  8. package/dist-cjs/commands/ContainsPiiEntitiesCommand.js +5 -0
  9. package/dist-cjs/commands/CreateDatasetCommand.js +5 -0
  10. package/dist-cjs/commands/CreateDocumentClassifierCommand.js +5 -0
  11. package/dist-cjs/commands/CreateEndpointCommand.js +5 -0
  12. package/dist-cjs/commands/CreateEntityRecognizerCommand.js +5 -0
  13. package/dist-cjs/commands/CreateFlywheelCommand.js +5 -0
  14. package/dist-cjs/commands/DeleteDocumentClassifierCommand.js +5 -0
  15. package/dist-cjs/commands/DeleteEndpointCommand.js +5 -0
  16. package/dist-cjs/commands/DeleteEntityRecognizerCommand.js +5 -0
  17. package/dist-cjs/commands/DeleteFlywheelCommand.js +5 -0
  18. package/dist-cjs/commands/DeleteResourcePolicyCommand.js +5 -0
  19. package/dist-cjs/commands/DescribeDatasetCommand.js +5 -0
  20. package/dist-cjs/commands/DescribeDocumentClassificationJobCommand.js +5 -0
  21. package/dist-cjs/commands/DescribeDocumentClassifierCommand.js +5 -0
  22. package/dist-cjs/commands/DescribeDominantLanguageDetectionJobCommand.js +5 -0
  23. package/dist-cjs/commands/DescribeEndpointCommand.js +5 -0
  24. package/dist-cjs/commands/DescribeEntitiesDetectionJobCommand.js +5 -0
  25. package/dist-cjs/commands/DescribeEntityRecognizerCommand.js +5 -0
  26. package/dist-cjs/commands/DescribeEventsDetectionJobCommand.js +5 -0
  27. package/dist-cjs/commands/DescribeFlywheelCommand.js +5 -0
  28. package/dist-cjs/commands/DescribeFlywheelIterationCommand.js +5 -0
  29. package/dist-cjs/commands/DescribeKeyPhrasesDetectionJobCommand.js +5 -0
  30. package/dist-cjs/commands/DescribePiiEntitiesDetectionJobCommand.js +5 -0
  31. package/dist-cjs/commands/DescribeResourcePolicyCommand.js +5 -0
  32. package/dist-cjs/commands/DescribeSentimentDetectionJobCommand.js +5 -0
  33. package/dist-cjs/commands/DescribeTargetedSentimentDetectionJobCommand.js +5 -0
  34. package/dist-cjs/commands/DescribeTopicsDetectionJobCommand.js +5 -0
  35. package/dist-cjs/commands/DetectDominantLanguageCommand.js +5 -0
  36. package/dist-cjs/commands/DetectEntitiesCommand.js +5 -0
  37. package/dist-cjs/commands/DetectKeyPhrasesCommand.js +5 -0
  38. package/dist-cjs/commands/DetectPiiEntitiesCommand.js +5 -0
  39. package/dist-cjs/commands/DetectSentimentCommand.js +5 -0
  40. package/dist-cjs/commands/DetectSyntaxCommand.js +5 -0
  41. package/dist-cjs/commands/DetectTargetedSentimentCommand.js +5 -0
  42. package/dist-cjs/commands/ImportModelCommand.js +5 -0
  43. package/dist-cjs/commands/ListDatasetsCommand.js +5 -0
  44. package/dist-cjs/commands/ListDocumentClassificationJobsCommand.js +5 -0
  45. package/dist-cjs/commands/ListDocumentClassifierSummariesCommand.js +5 -0
  46. package/dist-cjs/commands/ListDocumentClassifiersCommand.js +5 -0
  47. package/dist-cjs/commands/ListDominantLanguageDetectionJobsCommand.js +5 -0
  48. package/dist-cjs/commands/ListEndpointsCommand.js +5 -0
  49. package/dist-cjs/commands/ListEntitiesDetectionJobsCommand.js +5 -0
  50. package/dist-cjs/commands/ListEntityRecognizerSummariesCommand.js +5 -0
  51. package/dist-cjs/commands/ListEntityRecognizersCommand.js +5 -0
  52. package/dist-cjs/commands/ListEventsDetectionJobsCommand.js +5 -0
  53. package/dist-cjs/commands/ListFlywheelIterationHistoryCommand.js +5 -0
  54. package/dist-cjs/commands/ListFlywheelsCommand.js +5 -0
  55. package/dist-cjs/commands/ListKeyPhrasesDetectionJobsCommand.js +5 -0
  56. package/dist-cjs/commands/ListPiiEntitiesDetectionJobsCommand.js +5 -0
  57. package/dist-cjs/commands/ListSentimentDetectionJobsCommand.js +5 -0
  58. package/dist-cjs/commands/ListTagsForResourceCommand.js +5 -0
  59. package/dist-cjs/commands/ListTargetedSentimentDetectionJobsCommand.js +5 -0
  60. package/dist-cjs/commands/ListTopicsDetectionJobsCommand.js +5 -0
  61. package/dist-cjs/commands/PutResourcePolicyCommand.js +5 -0
  62. package/dist-cjs/commands/StartDocumentClassificationJobCommand.js +5 -0
  63. package/dist-cjs/commands/StartDominantLanguageDetectionJobCommand.js +5 -0
  64. package/dist-cjs/commands/StartEntitiesDetectionJobCommand.js +5 -0
  65. package/dist-cjs/commands/StartEventsDetectionJobCommand.js +5 -0
  66. package/dist-cjs/commands/StartFlywheelIterationCommand.js +5 -0
  67. package/dist-cjs/commands/StartKeyPhrasesDetectionJobCommand.js +5 -0
  68. package/dist-cjs/commands/StartPiiEntitiesDetectionJobCommand.js +5 -0
  69. package/dist-cjs/commands/StartSentimentDetectionJobCommand.js +5 -0
  70. package/dist-cjs/commands/StartTargetedSentimentDetectionJobCommand.js +5 -0
  71. package/dist-cjs/commands/StartTopicsDetectionJobCommand.js +5 -0
  72. package/dist-cjs/commands/StopDominantLanguageDetectionJobCommand.js +5 -0
  73. package/dist-cjs/commands/StopEntitiesDetectionJobCommand.js +5 -0
  74. package/dist-cjs/commands/StopEventsDetectionJobCommand.js +5 -0
  75. package/dist-cjs/commands/StopKeyPhrasesDetectionJobCommand.js +5 -0
  76. package/dist-cjs/commands/StopPiiEntitiesDetectionJobCommand.js +5 -0
  77. package/dist-cjs/commands/StopSentimentDetectionJobCommand.js +5 -0
  78. package/dist-cjs/commands/StopTargetedSentimentDetectionJobCommand.js +5 -0
  79. package/dist-cjs/commands/StopTrainingDocumentClassifierCommand.js +5 -0
  80. package/dist-cjs/commands/StopTrainingEntityRecognizerCommand.js +5 -0
  81. package/dist-cjs/commands/TagResourceCommand.js +5 -0
  82. package/dist-cjs/commands/UntagResourceCommand.js +5 -0
  83. package/dist-cjs/commands/UpdateEndpointCommand.js +5 -0
  84. package/dist-cjs/commands/UpdateFlywheelCommand.js +5 -0
  85. package/dist-cjs/runtimeExtensions.js +3 -0
  86. package/dist-es/commands/BatchDetectDominantLanguageCommand.js +5 -0
  87. package/dist-es/commands/BatchDetectEntitiesCommand.js +5 -0
  88. package/dist-es/commands/BatchDetectKeyPhrasesCommand.js +5 -0
  89. package/dist-es/commands/BatchDetectSentimentCommand.js +5 -0
  90. package/dist-es/commands/BatchDetectSyntaxCommand.js +5 -0
  91. package/dist-es/commands/BatchDetectTargetedSentimentCommand.js +5 -0
  92. package/dist-es/commands/ClassifyDocumentCommand.js +5 -0
  93. package/dist-es/commands/ContainsPiiEntitiesCommand.js +5 -0
  94. package/dist-es/commands/CreateDatasetCommand.js +5 -0
  95. package/dist-es/commands/CreateDocumentClassifierCommand.js +5 -0
  96. package/dist-es/commands/CreateEndpointCommand.js +5 -0
  97. package/dist-es/commands/CreateEntityRecognizerCommand.js +5 -0
  98. package/dist-es/commands/CreateFlywheelCommand.js +5 -0
  99. package/dist-es/commands/DeleteDocumentClassifierCommand.js +5 -0
  100. package/dist-es/commands/DeleteEndpointCommand.js +5 -0
  101. package/dist-es/commands/DeleteEntityRecognizerCommand.js +5 -0
  102. package/dist-es/commands/DeleteFlywheelCommand.js +5 -0
  103. package/dist-es/commands/DeleteResourcePolicyCommand.js +5 -0
  104. package/dist-es/commands/DescribeDatasetCommand.js +5 -0
  105. package/dist-es/commands/DescribeDocumentClassificationJobCommand.js +5 -0
  106. package/dist-es/commands/DescribeDocumentClassifierCommand.js +5 -0
  107. package/dist-es/commands/DescribeDominantLanguageDetectionJobCommand.js +5 -0
  108. package/dist-es/commands/DescribeEndpointCommand.js +5 -0
  109. package/dist-es/commands/DescribeEntitiesDetectionJobCommand.js +5 -0
  110. package/dist-es/commands/DescribeEntityRecognizerCommand.js +5 -0
  111. package/dist-es/commands/DescribeEventsDetectionJobCommand.js +5 -0
  112. package/dist-es/commands/DescribeFlywheelCommand.js +5 -0
  113. package/dist-es/commands/DescribeFlywheelIterationCommand.js +5 -0
  114. package/dist-es/commands/DescribeKeyPhrasesDetectionJobCommand.js +5 -0
  115. package/dist-es/commands/DescribePiiEntitiesDetectionJobCommand.js +5 -0
  116. package/dist-es/commands/DescribeResourcePolicyCommand.js +5 -0
  117. package/dist-es/commands/DescribeSentimentDetectionJobCommand.js +5 -0
  118. package/dist-es/commands/DescribeTargetedSentimentDetectionJobCommand.js +5 -0
  119. package/dist-es/commands/DescribeTopicsDetectionJobCommand.js +5 -0
  120. package/dist-es/commands/DetectDominantLanguageCommand.js +5 -0
  121. package/dist-es/commands/DetectEntitiesCommand.js +5 -0
  122. package/dist-es/commands/DetectKeyPhrasesCommand.js +5 -0
  123. package/dist-es/commands/DetectPiiEntitiesCommand.js +5 -0
  124. package/dist-es/commands/DetectSentimentCommand.js +5 -0
  125. package/dist-es/commands/DetectSyntaxCommand.js +5 -0
  126. package/dist-es/commands/DetectTargetedSentimentCommand.js +5 -0
  127. package/dist-es/commands/ImportModelCommand.js +5 -0
  128. package/dist-es/commands/ListDatasetsCommand.js +5 -0
  129. package/dist-es/commands/ListDocumentClassificationJobsCommand.js +5 -0
  130. package/dist-es/commands/ListDocumentClassifierSummariesCommand.js +5 -0
  131. package/dist-es/commands/ListDocumentClassifiersCommand.js +5 -0
  132. package/dist-es/commands/ListDominantLanguageDetectionJobsCommand.js +5 -0
  133. package/dist-es/commands/ListEndpointsCommand.js +5 -0
  134. package/dist-es/commands/ListEntitiesDetectionJobsCommand.js +5 -0
  135. package/dist-es/commands/ListEntityRecognizerSummariesCommand.js +5 -0
  136. package/dist-es/commands/ListEntityRecognizersCommand.js +5 -0
  137. package/dist-es/commands/ListEventsDetectionJobsCommand.js +5 -0
  138. package/dist-es/commands/ListFlywheelIterationHistoryCommand.js +5 -0
  139. package/dist-es/commands/ListFlywheelsCommand.js +5 -0
  140. package/dist-es/commands/ListKeyPhrasesDetectionJobsCommand.js +5 -0
  141. package/dist-es/commands/ListPiiEntitiesDetectionJobsCommand.js +5 -0
  142. package/dist-es/commands/ListSentimentDetectionJobsCommand.js +5 -0
  143. package/dist-es/commands/ListTagsForResourceCommand.js +5 -0
  144. package/dist-es/commands/ListTargetedSentimentDetectionJobsCommand.js +5 -0
  145. package/dist-es/commands/ListTopicsDetectionJobsCommand.js +5 -0
  146. package/dist-es/commands/PutResourcePolicyCommand.js +5 -0
  147. package/dist-es/commands/StartDocumentClassificationJobCommand.js +5 -0
  148. package/dist-es/commands/StartDominantLanguageDetectionJobCommand.js +5 -0
  149. package/dist-es/commands/StartEntitiesDetectionJobCommand.js +5 -0
  150. package/dist-es/commands/StartEventsDetectionJobCommand.js +5 -0
  151. package/dist-es/commands/StartFlywheelIterationCommand.js +5 -0
  152. package/dist-es/commands/StartKeyPhrasesDetectionJobCommand.js +5 -0
  153. package/dist-es/commands/StartPiiEntitiesDetectionJobCommand.js +5 -0
  154. package/dist-es/commands/StartSentimentDetectionJobCommand.js +5 -0
  155. package/dist-es/commands/StartTargetedSentimentDetectionJobCommand.js +5 -0
  156. package/dist-es/commands/StartTopicsDetectionJobCommand.js +5 -0
  157. package/dist-es/commands/StopDominantLanguageDetectionJobCommand.js +5 -0
  158. package/dist-es/commands/StopEntitiesDetectionJobCommand.js +5 -0
  159. package/dist-es/commands/StopEventsDetectionJobCommand.js +5 -0
  160. package/dist-es/commands/StopKeyPhrasesDetectionJobCommand.js +5 -0
  161. package/dist-es/commands/StopPiiEntitiesDetectionJobCommand.js +5 -0
  162. package/dist-es/commands/StopSentimentDetectionJobCommand.js +5 -0
  163. package/dist-es/commands/StopTargetedSentimentDetectionJobCommand.js +5 -0
  164. package/dist-es/commands/StopTrainingDocumentClassifierCommand.js +5 -0
  165. package/dist-es/commands/StopTrainingEntityRecognizerCommand.js +5 -0
  166. package/dist-es/commands/TagResourceCommand.js +5 -0
  167. package/dist-es/commands/UntagResourceCommand.js +5 -0
  168. package/dist-es/commands/UpdateEndpointCommand.js +5 -0
  169. package/dist-es/commands/UpdateFlywheelCommand.js +5 -0
  170. package/dist-es/runtimeExtensions.js +3 -0
  171. package/dist-types/extensionConfiguration.d.ts +2 -1
  172. package/dist-types/ts3.4/extensionConfiguration.d.ts +3 -1
  173. package/package.json +31 -30
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_CreateEndpointCommand, se_CreateEndpointCommand } from "../protocols/Aws_json1_1";
5
6
  export { $Command };
6
7
  export class CreateEndpointCommand extends $Command {
@@ -29,6 +30,10 @@ export class CreateEndpointCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "Comprehend_20171127",
35
+ operation: "CreateEndpoint",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_CreateEntityRecognizerCommand, se_CreateEntityRecognizerCommand } from "../protocols/Aws_json1_1";
5
6
  export { $Command };
6
7
  export class CreateEntityRecognizerCommand extends $Command {
@@ -29,6 +30,10 @@ export class CreateEntityRecognizerCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "Comprehend_20171127",
35
+ operation: "CreateEntityRecognizer",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_CreateFlywheelCommand, se_CreateFlywheelCommand } from "../protocols/Aws_json1_1";
5
6
  export { $Command };
6
7
  export class CreateFlywheelCommand extends $Command {
@@ -29,6 +30,10 @@ export class CreateFlywheelCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "Comprehend_20171127",
35
+ operation: "CreateFlywheel",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_DeleteDocumentClassifierCommand, se_DeleteDocumentClassifierCommand } from "../protocols/Aws_json1_1";
5
6
  export { $Command };
6
7
  export class DeleteDocumentClassifierCommand extends $Command {
@@ -29,6 +30,10 @@ export class DeleteDocumentClassifierCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "Comprehend_20171127",
35
+ operation: "DeleteDocumentClassifier",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_DeleteEndpointCommand, se_DeleteEndpointCommand } from "../protocols/Aws_json1_1";
5
6
  export { $Command };
6
7
  export class DeleteEndpointCommand extends $Command {
@@ -29,6 +30,10 @@ export class DeleteEndpointCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "Comprehend_20171127",
35
+ operation: "DeleteEndpoint",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_DeleteEntityRecognizerCommand, se_DeleteEntityRecognizerCommand } from "../protocols/Aws_json1_1";
5
6
  export { $Command };
6
7
  export class DeleteEntityRecognizerCommand extends $Command {
@@ -29,6 +30,10 @@ export class DeleteEntityRecognizerCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "Comprehend_20171127",
35
+ operation: "DeleteEntityRecognizer",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_DeleteFlywheelCommand, se_DeleteFlywheelCommand } from "../protocols/Aws_json1_1";
5
6
  export { $Command };
6
7
  export class DeleteFlywheelCommand extends $Command {
@@ -29,6 +30,10 @@ export class DeleteFlywheelCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "Comprehend_20171127",
35
+ operation: "DeleteFlywheel",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_DeleteResourcePolicyCommand, se_DeleteResourcePolicyCommand } from "../protocols/Aws_json1_1";
5
6
  export { $Command };
6
7
  export class DeleteResourcePolicyCommand extends $Command {
@@ -29,6 +30,10 @@ export class DeleteResourcePolicyCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "Comprehend_20171127",
35
+ operation: "DeleteResourcePolicy",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_DescribeDatasetCommand, se_DescribeDatasetCommand } from "../protocols/Aws_json1_1";
5
6
  export { $Command };
6
7
  export class DescribeDatasetCommand extends $Command {
@@ -29,6 +30,10 @@ export class DescribeDatasetCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "Comprehend_20171127",
35
+ operation: "DescribeDataset",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_DescribeDocumentClassificationJobCommand, se_DescribeDocumentClassificationJobCommand, } from "../protocols/Aws_json1_1";
5
6
  export { $Command };
6
7
  export class DescribeDocumentClassificationJobCommand extends $Command {
@@ -29,6 +30,10 @@ export class DescribeDocumentClassificationJobCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "Comprehend_20171127",
35
+ operation: "DescribeDocumentClassificationJob",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { DescribeDocumentClassifierResponseFilterSensitiveLog, } from "../models/models_0";
5
6
  import { de_DescribeDocumentClassifierCommand, se_DescribeDocumentClassifierCommand } from "../protocols/Aws_json1_1";
6
7
  export { $Command };
@@ -30,6 +31,10 @@ export class DescribeDocumentClassifierCommand extends $Command {
30
31
  commandName,
31
32
  inputFilterSensitiveLog: (_) => _,
32
33
  outputFilterSensitiveLog: DescribeDocumentClassifierResponseFilterSensitiveLog,
34
+ [SMITHY_CONTEXT_KEY]: {
35
+ service: "Comprehend_20171127",
36
+ operation: "DescribeDocumentClassifier",
37
+ },
33
38
  };
34
39
  const { requestHandler } = configuration;
35
40
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_DescribeDominantLanguageDetectionJobCommand, se_DescribeDominantLanguageDetectionJobCommand, } from "../protocols/Aws_json1_1";
5
6
  export { $Command };
6
7
  export class DescribeDominantLanguageDetectionJobCommand extends $Command {
@@ -29,6 +30,10 @@ export class DescribeDominantLanguageDetectionJobCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "Comprehend_20171127",
35
+ operation: "DescribeDominantLanguageDetectionJob",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_DescribeEndpointCommand, se_DescribeEndpointCommand } from "../protocols/Aws_json1_1";
5
6
  export { $Command };
6
7
  export class DescribeEndpointCommand extends $Command {
@@ -29,6 +30,10 @@ export class DescribeEndpointCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "Comprehend_20171127",
35
+ operation: "DescribeEndpoint",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_DescribeEntitiesDetectionJobCommand, se_DescribeEntitiesDetectionJobCommand, } from "../protocols/Aws_json1_1";
5
6
  export { $Command };
6
7
  export class DescribeEntitiesDetectionJobCommand extends $Command {
@@ -29,6 +30,10 @@ export class DescribeEntitiesDetectionJobCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "Comprehend_20171127",
35
+ operation: "DescribeEntitiesDetectionJob",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { DescribeEntityRecognizerResponseFilterSensitiveLog, } from "../models/models_0";
5
6
  import { de_DescribeEntityRecognizerCommand, se_DescribeEntityRecognizerCommand } from "../protocols/Aws_json1_1";
6
7
  export { $Command };
@@ -30,6 +31,10 @@ export class DescribeEntityRecognizerCommand extends $Command {
30
31
  commandName,
31
32
  inputFilterSensitiveLog: (_) => _,
32
33
  outputFilterSensitiveLog: DescribeEntityRecognizerResponseFilterSensitiveLog,
34
+ [SMITHY_CONTEXT_KEY]: {
35
+ service: "Comprehend_20171127",
36
+ operation: "DescribeEntityRecognizer",
37
+ },
33
38
  };
34
39
  const { requestHandler } = configuration;
35
40
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_DescribeEventsDetectionJobCommand, se_DescribeEventsDetectionJobCommand } from "../protocols/Aws_json1_1";
5
6
  export { $Command };
6
7
  export class DescribeEventsDetectionJobCommand extends $Command {
@@ -29,6 +30,10 @@ export class DescribeEventsDetectionJobCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "Comprehend_20171127",
35
+ operation: "DescribeEventsDetectionJob",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_DescribeFlywheelCommand, se_DescribeFlywheelCommand } from "../protocols/Aws_json1_1";
5
6
  export { $Command };
6
7
  export class DescribeFlywheelCommand extends $Command {
@@ -29,6 +30,10 @@ export class DescribeFlywheelCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "Comprehend_20171127",
35
+ operation: "DescribeFlywheel",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_DescribeFlywheelIterationCommand, se_DescribeFlywheelIterationCommand } from "../protocols/Aws_json1_1";
5
6
  export { $Command };
6
7
  export class DescribeFlywheelIterationCommand extends $Command {
@@ -29,6 +30,10 @@ export class DescribeFlywheelIterationCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "Comprehend_20171127",
35
+ operation: "DescribeFlywheelIteration",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_DescribeKeyPhrasesDetectionJobCommand, se_DescribeKeyPhrasesDetectionJobCommand, } from "../protocols/Aws_json1_1";
5
6
  export { $Command };
6
7
  export class DescribeKeyPhrasesDetectionJobCommand extends $Command {
@@ -29,6 +30,10 @@ export class DescribeKeyPhrasesDetectionJobCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "Comprehend_20171127",
35
+ operation: "DescribeKeyPhrasesDetectionJob",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_DescribePiiEntitiesDetectionJobCommand, se_DescribePiiEntitiesDetectionJobCommand, } from "../protocols/Aws_json1_1";
5
6
  export { $Command };
6
7
  export class DescribePiiEntitiesDetectionJobCommand extends $Command {
@@ -29,6 +30,10 @@ export class DescribePiiEntitiesDetectionJobCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "Comprehend_20171127",
35
+ operation: "DescribePiiEntitiesDetectionJob",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_DescribeResourcePolicyCommand, se_DescribeResourcePolicyCommand } from "../protocols/Aws_json1_1";
5
6
  export { $Command };
6
7
  export class DescribeResourcePolicyCommand extends $Command {
@@ -29,6 +30,10 @@ export class DescribeResourcePolicyCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "Comprehend_20171127",
35
+ operation: "DescribeResourcePolicy",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_DescribeSentimentDetectionJobCommand, se_DescribeSentimentDetectionJobCommand, } from "../protocols/Aws_json1_1";
5
6
  export { $Command };
6
7
  export class DescribeSentimentDetectionJobCommand extends $Command {
@@ -29,6 +30,10 @@ export class DescribeSentimentDetectionJobCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "Comprehend_20171127",
35
+ operation: "DescribeSentimentDetectionJob",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_DescribeTargetedSentimentDetectionJobCommand, se_DescribeTargetedSentimentDetectionJobCommand, } from "../protocols/Aws_json1_1";
5
6
  export { $Command };
6
7
  export class DescribeTargetedSentimentDetectionJobCommand extends $Command {
@@ -29,6 +30,10 @@ export class DescribeTargetedSentimentDetectionJobCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "Comprehend_20171127",
35
+ operation: "DescribeTargetedSentimentDetectionJob",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_DescribeTopicsDetectionJobCommand, se_DescribeTopicsDetectionJobCommand } from "../protocols/Aws_json1_1";
5
6
  export { $Command };
6
7
  export class DescribeTopicsDetectionJobCommand extends $Command {
@@ -29,6 +30,10 @@ export class DescribeTopicsDetectionJobCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "Comprehend_20171127",
35
+ operation: "DescribeTopicsDetectionJob",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { DetectDominantLanguageRequestFilterSensitiveLog, DetectDominantLanguageResponseFilterSensitiveLog, } from "../models/models_0";
5
6
  import { de_DetectDominantLanguageCommand, se_DetectDominantLanguageCommand } from "../protocols/Aws_json1_1";
6
7
  export { $Command };
@@ -30,6 +31,10 @@ export class DetectDominantLanguageCommand extends $Command {
30
31
  commandName,
31
32
  inputFilterSensitiveLog: DetectDominantLanguageRequestFilterSensitiveLog,
32
33
  outputFilterSensitiveLog: DetectDominantLanguageResponseFilterSensitiveLog,
34
+ [SMITHY_CONTEXT_KEY]: {
35
+ service: "Comprehend_20171127",
36
+ operation: "DetectDominantLanguage",
37
+ },
33
38
  };
34
39
  const { requestHandler } = configuration;
35
40
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { DetectEntitiesRequestFilterSensitiveLog, DetectEntitiesResponseFilterSensitiveLog, } from "../models/models_0";
5
6
  import { de_DetectEntitiesCommand, se_DetectEntitiesCommand } from "../protocols/Aws_json1_1";
6
7
  export { $Command };
@@ -30,6 +31,10 @@ export class DetectEntitiesCommand extends $Command {
30
31
  commandName,
31
32
  inputFilterSensitiveLog: DetectEntitiesRequestFilterSensitiveLog,
32
33
  outputFilterSensitiveLog: DetectEntitiesResponseFilterSensitiveLog,
34
+ [SMITHY_CONTEXT_KEY]: {
35
+ service: "Comprehend_20171127",
36
+ operation: "DetectEntities",
37
+ },
33
38
  };
34
39
  const { requestHandler } = configuration;
35
40
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { DetectKeyPhrasesRequestFilterSensitiveLog, DetectKeyPhrasesResponseFilterSensitiveLog, } from "../models/models_0";
5
6
  import { de_DetectKeyPhrasesCommand, se_DetectKeyPhrasesCommand } from "../protocols/Aws_json1_1";
6
7
  export { $Command };
@@ -30,6 +31,10 @@ export class DetectKeyPhrasesCommand extends $Command {
30
31
  commandName,
31
32
  inputFilterSensitiveLog: DetectKeyPhrasesRequestFilterSensitiveLog,
32
33
  outputFilterSensitiveLog: DetectKeyPhrasesResponseFilterSensitiveLog,
34
+ [SMITHY_CONTEXT_KEY]: {
35
+ service: "Comprehend_20171127",
36
+ operation: "DetectKeyPhrases",
37
+ },
33
38
  };
34
39
  const { requestHandler } = configuration;
35
40
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_DetectPiiEntitiesCommand, se_DetectPiiEntitiesCommand } from "../protocols/Aws_json1_1";
5
6
  export { $Command };
6
7
  export class DetectPiiEntitiesCommand extends $Command {
@@ -29,6 +30,10 @@ export class DetectPiiEntitiesCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "Comprehend_20171127",
35
+ operation: "DetectPiiEntities",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { DetectSentimentRequestFilterSensitiveLog, DetectSentimentResponseFilterSensitiveLog, } from "../models/models_0";
5
6
  import { de_DetectSentimentCommand, se_DetectSentimentCommand } from "../protocols/Aws_json1_1";
6
7
  export { $Command };
@@ -30,6 +31,10 @@ export class DetectSentimentCommand extends $Command {
30
31
  commandName,
31
32
  inputFilterSensitiveLog: DetectSentimentRequestFilterSensitiveLog,
32
33
  outputFilterSensitiveLog: DetectSentimentResponseFilterSensitiveLog,
34
+ [SMITHY_CONTEXT_KEY]: {
35
+ service: "Comprehend_20171127",
36
+ operation: "DetectSentiment",
37
+ },
33
38
  };
34
39
  const { requestHandler } = configuration;
35
40
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { DetectSyntaxRequestFilterSensitiveLog, DetectSyntaxResponseFilterSensitiveLog, } from "../models/models_0";
5
6
  import { de_DetectSyntaxCommand, se_DetectSyntaxCommand } from "../protocols/Aws_json1_1";
6
7
  export { $Command };
@@ -30,6 +31,10 @@ export class DetectSyntaxCommand extends $Command {
30
31
  commandName,
31
32
  inputFilterSensitiveLog: DetectSyntaxRequestFilterSensitiveLog,
32
33
  outputFilterSensitiveLog: DetectSyntaxResponseFilterSensitiveLog,
34
+ [SMITHY_CONTEXT_KEY]: {
35
+ service: "Comprehend_20171127",
36
+ operation: "DetectSyntax",
37
+ },
33
38
  };
34
39
  const { requestHandler } = configuration;
35
40
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { DetectTargetedSentimentRequestFilterSensitiveLog, DetectTargetedSentimentResponseFilterSensitiveLog, } from "../models/models_0";
5
6
  import { de_DetectTargetedSentimentCommand, se_DetectTargetedSentimentCommand } from "../protocols/Aws_json1_1";
6
7
  export { $Command };
@@ -30,6 +31,10 @@ export class DetectTargetedSentimentCommand extends $Command {
30
31
  commandName,
31
32
  inputFilterSensitiveLog: DetectTargetedSentimentRequestFilterSensitiveLog,
32
33
  outputFilterSensitiveLog: DetectTargetedSentimentResponseFilterSensitiveLog,
34
+ [SMITHY_CONTEXT_KEY]: {
35
+ service: "Comprehend_20171127",
36
+ operation: "DetectTargetedSentiment",
37
+ },
33
38
  };
34
39
  const { requestHandler } = configuration;
35
40
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_ImportModelCommand, se_ImportModelCommand } from "../protocols/Aws_json1_1";
5
6
  export { $Command };
6
7
  export class ImportModelCommand extends $Command {
@@ -29,6 +30,10 @@ export class ImportModelCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "Comprehend_20171127",
35
+ operation: "ImportModel",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);