@aws-sdk/client-comprehend 3.414.0 → 3.421.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 (170) hide show
  1. package/README.md +7 -7
  2. package/dist-cjs/commands/BatchDetectDominantLanguageCommand.js +5 -0
  3. package/dist-cjs/commands/BatchDetectEntitiesCommand.js +5 -0
  4. package/dist-cjs/commands/BatchDetectKeyPhrasesCommand.js +5 -0
  5. package/dist-cjs/commands/BatchDetectSentimentCommand.js +5 -0
  6. package/dist-cjs/commands/BatchDetectSyntaxCommand.js +5 -0
  7. package/dist-cjs/commands/BatchDetectTargetedSentimentCommand.js +5 -0
  8. package/dist-cjs/commands/ClassifyDocumentCommand.js +5 -0
  9. package/dist-cjs/commands/ContainsPiiEntitiesCommand.js +5 -0
  10. package/dist-cjs/commands/CreateDatasetCommand.js +5 -0
  11. package/dist-cjs/commands/CreateDocumentClassifierCommand.js +5 -0
  12. package/dist-cjs/commands/CreateEndpointCommand.js +5 -0
  13. package/dist-cjs/commands/CreateEntityRecognizerCommand.js +5 -0
  14. package/dist-cjs/commands/CreateFlywheelCommand.js +5 -0
  15. package/dist-cjs/commands/DeleteDocumentClassifierCommand.js +5 -0
  16. package/dist-cjs/commands/DeleteEndpointCommand.js +5 -0
  17. package/dist-cjs/commands/DeleteEntityRecognizerCommand.js +5 -0
  18. package/dist-cjs/commands/DeleteFlywheelCommand.js +5 -0
  19. package/dist-cjs/commands/DeleteResourcePolicyCommand.js +5 -0
  20. package/dist-cjs/commands/DescribeDatasetCommand.js +5 -0
  21. package/dist-cjs/commands/DescribeDocumentClassificationJobCommand.js +5 -0
  22. package/dist-cjs/commands/DescribeDocumentClassifierCommand.js +5 -0
  23. package/dist-cjs/commands/DescribeDominantLanguageDetectionJobCommand.js +5 -0
  24. package/dist-cjs/commands/DescribeEndpointCommand.js +5 -0
  25. package/dist-cjs/commands/DescribeEntitiesDetectionJobCommand.js +5 -0
  26. package/dist-cjs/commands/DescribeEntityRecognizerCommand.js +5 -0
  27. package/dist-cjs/commands/DescribeEventsDetectionJobCommand.js +5 -0
  28. package/dist-cjs/commands/DescribeFlywheelCommand.js +5 -0
  29. package/dist-cjs/commands/DescribeFlywheelIterationCommand.js +5 -0
  30. package/dist-cjs/commands/DescribeKeyPhrasesDetectionJobCommand.js +5 -0
  31. package/dist-cjs/commands/DescribePiiEntitiesDetectionJobCommand.js +5 -0
  32. package/dist-cjs/commands/DescribeResourcePolicyCommand.js +5 -0
  33. package/dist-cjs/commands/DescribeSentimentDetectionJobCommand.js +5 -0
  34. package/dist-cjs/commands/DescribeTargetedSentimentDetectionJobCommand.js +5 -0
  35. package/dist-cjs/commands/DescribeTopicsDetectionJobCommand.js +5 -0
  36. package/dist-cjs/commands/DetectDominantLanguageCommand.js +5 -0
  37. package/dist-cjs/commands/DetectEntitiesCommand.js +5 -0
  38. package/dist-cjs/commands/DetectKeyPhrasesCommand.js +5 -0
  39. package/dist-cjs/commands/DetectPiiEntitiesCommand.js +5 -0
  40. package/dist-cjs/commands/DetectSentimentCommand.js +5 -0
  41. package/dist-cjs/commands/DetectSyntaxCommand.js +5 -0
  42. package/dist-cjs/commands/DetectTargetedSentimentCommand.js +5 -0
  43. package/dist-cjs/commands/ImportModelCommand.js +5 -0
  44. package/dist-cjs/commands/ListDatasetsCommand.js +5 -0
  45. package/dist-cjs/commands/ListDocumentClassificationJobsCommand.js +5 -0
  46. package/dist-cjs/commands/ListDocumentClassifierSummariesCommand.js +5 -0
  47. package/dist-cjs/commands/ListDocumentClassifiersCommand.js +5 -0
  48. package/dist-cjs/commands/ListDominantLanguageDetectionJobsCommand.js +5 -0
  49. package/dist-cjs/commands/ListEndpointsCommand.js +5 -0
  50. package/dist-cjs/commands/ListEntitiesDetectionJobsCommand.js +5 -0
  51. package/dist-cjs/commands/ListEntityRecognizerSummariesCommand.js +5 -0
  52. package/dist-cjs/commands/ListEntityRecognizersCommand.js +5 -0
  53. package/dist-cjs/commands/ListEventsDetectionJobsCommand.js +5 -0
  54. package/dist-cjs/commands/ListFlywheelIterationHistoryCommand.js +5 -0
  55. package/dist-cjs/commands/ListFlywheelsCommand.js +5 -0
  56. package/dist-cjs/commands/ListKeyPhrasesDetectionJobsCommand.js +5 -0
  57. package/dist-cjs/commands/ListPiiEntitiesDetectionJobsCommand.js +5 -0
  58. package/dist-cjs/commands/ListSentimentDetectionJobsCommand.js +5 -0
  59. package/dist-cjs/commands/ListTagsForResourceCommand.js +5 -0
  60. package/dist-cjs/commands/ListTargetedSentimentDetectionJobsCommand.js +5 -0
  61. package/dist-cjs/commands/ListTopicsDetectionJobsCommand.js +5 -0
  62. package/dist-cjs/commands/PutResourcePolicyCommand.js +5 -0
  63. package/dist-cjs/commands/StartDocumentClassificationJobCommand.js +5 -0
  64. package/dist-cjs/commands/StartDominantLanguageDetectionJobCommand.js +5 -0
  65. package/dist-cjs/commands/StartEntitiesDetectionJobCommand.js +5 -0
  66. package/dist-cjs/commands/StartEventsDetectionJobCommand.js +5 -0
  67. package/dist-cjs/commands/StartFlywheelIterationCommand.js +5 -0
  68. package/dist-cjs/commands/StartKeyPhrasesDetectionJobCommand.js +5 -0
  69. package/dist-cjs/commands/StartPiiEntitiesDetectionJobCommand.js +5 -0
  70. package/dist-cjs/commands/StartSentimentDetectionJobCommand.js +5 -0
  71. package/dist-cjs/commands/StartTargetedSentimentDetectionJobCommand.js +5 -0
  72. package/dist-cjs/commands/StartTopicsDetectionJobCommand.js +5 -0
  73. package/dist-cjs/commands/StopDominantLanguageDetectionJobCommand.js +5 -0
  74. package/dist-cjs/commands/StopEntitiesDetectionJobCommand.js +5 -0
  75. package/dist-cjs/commands/StopEventsDetectionJobCommand.js +5 -0
  76. package/dist-cjs/commands/StopKeyPhrasesDetectionJobCommand.js +5 -0
  77. package/dist-cjs/commands/StopPiiEntitiesDetectionJobCommand.js +5 -0
  78. package/dist-cjs/commands/StopSentimentDetectionJobCommand.js +5 -0
  79. package/dist-cjs/commands/StopTargetedSentimentDetectionJobCommand.js +5 -0
  80. package/dist-cjs/commands/StopTrainingDocumentClassifierCommand.js +5 -0
  81. package/dist-cjs/commands/StopTrainingEntityRecognizerCommand.js +5 -0
  82. package/dist-cjs/commands/TagResourceCommand.js +5 -0
  83. package/dist-cjs/commands/UntagResourceCommand.js +5 -0
  84. package/dist-cjs/commands/UpdateEndpointCommand.js +5 -0
  85. package/dist-cjs/commands/UpdateFlywheelCommand.js +5 -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/package.json +31 -31
package/README.md CHANGED
@@ -26,16 +26,16 @@ using your favorite package manager:
26
26
 
27
27
  The AWS SDK is modulized by clients and commands.
28
28
  To send a request, you only need to import the `ComprehendClient` and
29
- the commands you need, for example `BatchDetectDominantLanguageCommand`:
29
+ the commands you need, for example `ListDatasetsCommand`:
30
30
 
31
31
  ```js
32
32
  // ES5 example
33
- const { ComprehendClient, BatchDetectDominantLanguageCommand } = require("@aws-sdk/client-comprehend");
33
+ const { ComprehendClient, ListDatasetsCommand } = require("@aws-sdk/client-comprehend");
34
34
  ```
35
35
 
36
36
  ```ts
37
37
  // ES6+ example
38
- import { ComprehendClient, BatchDetectDominantLanguageCommand } from "@aws-sdk/client-comprehend";
38
+ import { ComprehendClient, ListDatasetsCommand } from "@aws-sdk/client-comprehend";
39
39
  ```
40
40
 
41
41
  ### Usage
@@ -54,7 +54,7 @@ const client = new ComprehendClient({ region: "REGION" });
54
54
  const params = {
55
55
  /** input parameters */
56
56
  };
57
- const command = new BatchDetectDominantLanguageCommand(params);
57
+ const command = new ListDatasetsCommand(params);
58
58
  ```
59
59
 
60
60
  #### Async/await
@@ -133,7 +133,7 @@ const client = new AWS.Comprehend({ region: "REGION" });
133
133
 
134
134
  // async/await.
135
135
  try {
136
- const data = await client.batchDetectDominantLanguage(params);
136
+ const data = await client.listDatasets(params);
137
137
  // process data.
138
138
  } catch (error) {
139
139
  // error handling.
@@ -141,7 +141,7 @@ try {
141
141
 
142
142
  // Promises.
143
143
  client
144
- .batchDetectDominantLanguage(params)
144
+ .listDatasets(params)
145
145
  .then((data) => {
146
146
  // process data.
147
147
  })
@@ -150,7 +150,7 @@ client
150
150
  });
151
151
 
152
152
  // callbacks.
153
- client.batchDetectDominantLanguage(params, (err, data) => {
153
+ client.listDatasets(params, (err, data) => {
154
154
  // process err and data.
155
155
  });
156
156
  ```
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const models_0_1 = require("../models/models_0");
9
10
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
11
  class BatchDetectDominantLanguageCommand extends smithy_client_1.Command {
@@ -33,6 +34,10 @@ class BatchDetectDominantLanguageCommand extends smithy_client_1.Command {
33
34
  commandName,
34
35
  inputFilterSensitiveLog: models_0_1.BatchDetectDominantLanguageRequestFilterSensitiveLog,
35
36
  outputFilterSensitiveLog: models_0_1.BatchDetectDominantLanguageResponseFilterSensitiveLog,
37
+ [types_1.SMITHY_CONTEXT_KEY]: {
38
+ service: "Comprehend_20171127",
39
+ operation: "BatchDetectDominantLanguage",
40
+ },
36
41
  };
37
42
  const { requestHandler } = configuration;
38
43
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const models_0_1 = require("../models/models_0");
9
10
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
11
  class BatchDetectEntitiesCommand extends smithy_client_1.Command {
@@ -33,6 +34,10 @@ class BatchDetectEntitiesCommand extends smithy_client_1.Command {
33
34
  commandName,
34
35
  inputFilterSensitiveLog: models_0_1.BatchDetectEntitiesRequestFilterSensitiveLog,
35
36
  outputFilterSensitiveLog: models_0_1.BatchDetectEntitiesResponseFilterSensitiveLog,
37
+ [types_1.SMITHY_CONTEXT_KEY]: {
38
+ service: "Comprehend_20171127",
39
+ operation: "BatchDetectEntities",
40
+ },
36
41
  };
37
42
  const { requestHandler } = configuration;
38
43
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const models_0_1 = require("../models/models_0");
9
10
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
11
  class BatchDetectKeyPhrasesCommand extends smithy_client_1.Command {
@@ -33,6 +34,10 @@ class BatchDetectKeyPhrasesCommand extends smithy_client_1.Command {
33
34
  commandName,
34
35
  inputFilterSensitiveLog: models_0_1.BatchDetectKeyPhrasesRequestFilterSensitiveLog,
35
36
  outputFilterSensitiveLog: models_0_1.BatchDetectKeyPhrasesResponseFilterSensitiveLog,
37
+ [types_1.SMITHY_CONTEXT_KEY]: {
38
+ service: "Comprehend_20171127",
39
+ operation: "BatchDetectKeyPhrases",
40
+ },
36
41
  };
37
42
  const { requestHandler } = configuration;
38
43
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const models_0_1 = require("../models/models_0");
9
10
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
11
  class BatchDetectSentimentCommand extends smithy_client_1.Command {
@@ -33,6 +34,10 @@ class BatchDetectSentimentCommand extends smithy_client_1.Command {
33
34
  commandName,
34
35
  inputFilterSensitiveLog: models_0_1.BatchDetectSentimentRequestFilterSensitiveLog,
35
36
  outputFilterSensitiveLog: models_0_1.BatchDetectSentimentResponseFilterSensitiveLog,
37
+ [types_1.SMITHY_CONTEXT_KEY]: {
38
+ service: "Comprehend_20171127",
39
+ operation: "BatchDetectSentiment",
40
+ },
36
41
  };
37
42
  const { requestHandler } = configuration;
38
43
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const models_0_1 = require("../models/models_0");
9
10
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
11
  class BatchDetectSyntaxCommand extends smithy_client_1.Command {
@@ -33,6 +34,10 @@ class BatchDetectSyntaxCommand extends smithy_client_1.Command {
33
34
  commandName,
34
35
  inputFilterSensitiveLog: models_0_1.BatchDetectSyntaxRequestFilterSensitiveLog,
35
36
  outputFilterSensitiveLog: models_0_1.BatchDetectSyntaxResponseFilterSensitiveLog,
37
+ [types_1.SMITHY_CONTEXT_KEY]: {
38
+ service: "Comprehend_20171127",
39
+ operation: "BatchDetectSyntax",
40
+ },
36
41
  };
37
42
  const { requestHandler } = configuration;
38
43
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const models_0_1 = require("../models/models_0");
9
10
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
11
  class BatchDetectTargetedSentimentCommand extends smithy_client_1.Command {
@@ -33,6 +34,10 @@ class BatchDetectTargetedSentimentCommand extends smithy_client_1.Command {
33
34
  commandName,
34
35
  inputFilterSensitiveLog: models_0_1.BatchDetectTargetedSentimentRequestFilterSensitiveLog,
35
36
  outputFilterSensitiveLog: models_0_1.BatchDetectTargetedSentimentResponseFilterSensitiveLog,
37
+ [types_1.SMITHY_CONTEXT_KEY]: {
38
+ service: "Comprehend_20171127",
39
+ operation: "BatchDetectTargetedSentiment",
40
+ },
36
41
  };
37
42
  const { requestHandler } = configuration;
38
43
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const models_0_1 = require("../models/models_0");
9
10
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
11
  class ClassifyDocumentCommand extends smithy_client_1.Command {
@@ -33,6 +34,10 @@ class ClassifyDocumentCommand extends smithy_client_1.Command {
33
34
  commandName,
34
35
  inputFilterSensitiveLog: models_0_1.ClassifyDocumentRequestFilterSensitiveLog,
35
36
  outputFilterSensitiveLog: models_0_1.ClassifyDocumentResponseFilterSensitiveLog,
37
+ [types_1.SMITHY_CONTEXT_KEY]: {
38
+ service: "Comprehend_20171127",
39
+ operation: "ClassifyDocument",
40
+ },
36
41
  };
37
42
  const { requestHandler } = configuration;
38
43
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
10
  class ContainsPiiEntitiesCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class ContainsPiiEntitiesCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "Comprehend_20171127",
38
+ operation: "ContainsPiiEntities",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
10
  class CreateDatasetCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class CreateDatasetCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "Comprehend_20171127",
38
+ operation: "CreateDataset",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
10
  class CreateDocumentClassifierCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class CreateDocumentClassifierCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "Comprehend_20171127",
38
+ operation: "CreateDocumentClassifier",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
10
  class CreateEndpointCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class CreateEndpointCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "Comprehend_20171127",
38
+ operation: "CreateEndpoint",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
10
  class CreateEntityRecognizerCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class CreateEntityRecognizerCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "Comprehend_20171127",
38
+ operation: "CreateEntityRecognizer",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
10
  class CreateFlywheelCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class CreateFlywheelCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "Comprehend_20171127",
38
+ operation: "CreateFlywheel",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
10
  class DeleteDocumentClassifierCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class DeleteDocumentClassifierCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "Comprehend_20171127",
38
+ operation: "DeleteDocumentClassifier",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
10
  class DeleteEndpointCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class DeleteEndpointCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "Comprehend_20171127",
38
+ operation: "DeleteEndpoint",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
10
  class DeleteEntityRecognizerCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class DeleteEntityRecognizerCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "Comprehend_20171127",
38
+ operation: "DeleteEntityRecognizer",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
10
  class DeleteFlywheelCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class DeleteFlywheelCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "Comprehend_20171127",
38
+ operation: "DeleteFlywheel",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
10
  class DeleteResourcePolicyCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class DeleteResourcePolicyCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "Comprehend_20171127",
38
+ operation: "DeleteResourcePolicy",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
10
  class DescribeDatasetCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class DescribeDatasetCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "Comprehend_20171127",
38
+ operation: "DescribeDataset",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
10
  class DescribeDocumentClassificationJobCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class DescribeDocumentClassificationJobCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "Comprehend_20171127",
38
+ operation: "DescribeDocumentClassificationJob",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const models_0_1 = require("../models/models_0");
9
10
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
11
  class DescribeDocumentClassifierCommand extends smithy_client_1.Command {
@@ -33,6 +34,10 @@ class DescribeDocumentClassifierCommand extends smithy_client_1.Command {
33
34
  commandName,
34
35
  inputFilterSensitiveLog: (_) => _,
35
36
  outputFilterSensitiveLog: models_0_1.DescribeDocumentClassifierResponseFilterSensitiveLog,
37
+ [types_1.SMITHY_CONTEXT_KEY]: {
38
+ service: "Comprehend_20171127",
39
+ operation: "DescribeDocumentClassifier",
40
+ },
36
41
  };
37
42
  const { requestHandler } = configuration;
38
43
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
10
  class DescribeDominantLanguageDetectionJobCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class DescribeDominantLanguageDetectionJobCommand extends smithy_client_1.Comman
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "Comprehend_20171127",
38
+ operation: "DescribeDominantLanguageDetectionJob",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
10
  class DescribeEndpointCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class DescribeEndpointCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "Comprehend_20171127",
38
+ operation: "DescribeEndpoint",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
10
  class DescribeEntitiesDetectionJobCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class DescribeEntitiesDetectionJobCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "Comprehend_20171127",
38
+ operation: "DescribeEntitiesDetectionJob",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const models_0_1 = require("../models/models_0");
9
10
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
11
  class DescribeEntityRecognizerCommand extends smithy_client_1.Command {
@@ -33,6 +34,10 @@ class DescribeEntityRecognizerCommand extends smithy_client_1.Command {
33
34
  commandName,
34
35
  inputFilterSensitiveLog: (_) => _,
35
36
  outputFilterSensitiveLog: models_0_1.DescribeEntityRecognizerResponseFilterSensitiveLog,
37
+ [types_1.SMITHY_CONTEXT_KEY]: {
38
+ service: "Comprehend_20171127",
39
+ operation: "DescribeEntityRecognizer",
40
+ },
36
41
  };
37
42
  const { requestHandler } = configuration;
38
43
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
10
  class DescribeEventsDetectionJobCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class DescribeEventsDetectionJobCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "Comprehend_20171127",
38
+ operation: "DescribeEventsDetectionJob",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
10
  class DescribeFlywheelCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class DescribeFlywheelCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "Comprehend_20171127",
38
+ operation: "DescribeFlywheel",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
10
  class DescribeFlywheelIterationCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class DescribeFlywheelIterationCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "Comprehend_20171127",
38
+ operation: "DescribeFlywheelIteration",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
10
  class DescribeKeyPhrasesDetectionJobCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class DescribeKeyPhrasesDetectionJobCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "Comprehend_20171127",
38
+ operation: "DescribeKeyPhrasesDetectionJob",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);