@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_StopKeyPhrasesDetectionJobCommand, se_StopKeyPhrasesDetectionJobCommand } from "../protocols/Aws_json1_1";
5
6
  export { $Command };
6
7
  export class StopKeyPhrasesDetectionJobCommand extends $Command {
@@ -29,6 +30,10 @@ export class StopKeyPhrasesDetectionJobCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "Comprehend_20171127",
35
+ operation: "StopKeyPhrasesDetectionJob",
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_StopPiiEntitiesDetectionJobCommand, se_StopPiiEntitiesDetectionJobCommand } from "../protocols/Aws_json1_1";
5
6
  export { $Command };
6
7
  export class StopPiiEntitiesDetectionJobCommand extends $Command {
@@ -29,6 +30,10 @@ export class StopPiiEntitiesDetectionJobCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "Comprehend_20171127",
35
+ operation: "StopPiiEntitiesDetectionJob",
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_StopSentimentDetectionJobCommand, se_StopSentimentDetectionJobCommand } from "../protocols/Aws_json1_1";
5
6
  export { $Command };
6
7
  export class StopSentimentDetectionJobCommand extends $Command {
@@ -29,6 +30,10 @@ export class StopSentimentDetectionJobCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "Comprehend_20171127",
35
+ operation: "StopSentimentDetectionJob",
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_StopTargetedSentimentDetectionJobCommand, se_StopTargetedSentimentDetectionJobCommand, } from "../protocols/Aws_json1_1";
5
6
  export { $Command };
6
7
  export class StopTargetedSentimentDetectionJobCommand extends $Command {
@@ -29,6 +30,10 @@ export class StopTargetedSentimentDetectionJobCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "Comprehend_20171127",
35
+ operation: "StopTargetedSentimentDetectionJob",
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_StopTrainingDocumentClassifierCommand, se_StopTrainingDocumentClassifierCommand, } from "../protocols/Aws_json1_1";
5
6
  export { $Command };
6
7
  export class StopTrainingDocumentClassifierCommand extends $Command {
@@ -29,6 +30,10 @@ export class StopTrainingDocumentClassifierCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "Comprehend_20171127",
35
+ operation: "StopTrainingDocumentClassifier",
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_StopTrainingEntityRecognizerCommand, se_StopTrainingEntityRecognizerCommand, } from "../protocols/Aws_json1_1";
5
6
  export { $Command };
6
7
  export class StopTrainingEntityRecognizerCommand extends $Command {
@@ -29,6 +30,10 @@ export class StopTrainingEntityRecognizerCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "Comprehend_20171127",
35
+ operation: "StopTrainingEntityRecognizer",
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_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_json1_1";
5
6
  export { $Command };
6
7
  export class TagResourceCommand extends $Command {
@@ -29,6 +30,10 @@ export class TagResourceCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "Comprehend_20171127",
35
+ operation: "TagResource",
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_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_json1_1";
5
6
  export { $Command };
6
7
  export class UntagResourceCommand extends $Command {
@@ -29,6 +30,10 @@ export class UntagResourceCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "Comprehend_20171127",
35
+ operation: "UntagResource",
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_UpdateEndpointCommand, se_UpdateEndpointCommand } from "../protocols/Aws_json1_1";
5
6
  export { $Command };
6
7
  export class UpdateEndpointCommand extends $Command {
@@ -29,6 +30,10 @@ export class UpdateEndpointCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "Comprehend_20171127",
35
+ operation: "UpdateEndpoint",
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_UpdateFlywheelCommand, se_UpdateFlywheelCommand } from "../protocols/Aws_json1_1";
5
6
  export { $Command };
6
7
  export class UpdateFlywheelCommand extends $Command {
@@ -29,6 +30,10 @@ export class UpdateFlywheelCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "Comprehend_20171127",
35
+ operation: "UpdateFlywheel",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,14 +1,17 @@
1
+ import { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, } from "@aws-sdk/region-config-resolver";
1
2
  import { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig } from "@smithy/protocol-http";
2
3
  import { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from "@smithy/smithy-client";
3
4
  const asPartial = (t) => t;
4
5
  export const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
5
6
  const extensionConfiguration = {
7
+ ...asPartial(getAwsRegionExtensionConfiguration(runtimeConfig)),
6
8
  ...asPartial(getDefaultExtensionConfiguration(runtimeConfig)),
7
9
  ...asPartial(getHttpHandlerExtensionConfiguration(runtimeConfig)),
8
10
  };
9
11
  extensions.forEach((extension) => extension.configure(extensionConfiguration));
10
12
  return {
11
13
  ...runtimeConfig,
14
+ ...resolveAwsRegionExtensionConfiguration(extensionConfiguration),
12
15
  ...resolveDefaultRuntimeConfig(extensionConfiguration),
13
16
  ...resolveHttpHandlerRuntimeConfig(extensionConfiguration),
14
17
  };
@@ -1,7 +1,8 @@
1
+ import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
1
2
  import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
2
3
  import { DefaultExtensionConfiguration } from "@smithy/types";
3
4
  /**
4
5
  * @internal
5
6
  */
6
- export interface ComprehendExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration {
7
+ export interface ComprehendExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration, AwsRegionExtensionConfiguration {
7
8
  }
@@ -1,5 +1,7 @@
1
+ import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
1
2
  import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
2
3
  import { DefaultExtensionConfiguration } from "@smithy/types";
3
4
  export interface ComprehendExtensionConfiguration
4
5
  extends HttpHandlerExtensionConfiguration,
5
- DefaultExtensionConfiguration {}
6
+ DefaultExtensionConfiguration,
7
+ AwsRegionExtensionConfiguration {}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-comprehend",
3
3
  "description": "AWS SDK for JavaScript Comprehend Client for Node.js, Browser and React Native",
4
- "version": "3.413.0",
4
+ "version": "3.418.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,38 +21,39 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.413.0",
25
- "@aws-sdk/credential-provider-node": "3.413.0",
26
- "@aws-sdk/middleware-host-header": "3.413.0",
27
- "@aws-sdk/middleware-logger": "3.413.0",
28
- "@aws-sdk/middleware-recursion-detection": "3.413.0",
29
- "@aws-sdk/middleware-signing": "3.413.0",
30
- "@aws-sdk/middleware-user-agent": "3.413.0",
31
- "@aws-sdk/types": "3.413.0",
32
- "@aws-sdk/util-endpoints": "3.413.0",
33
- "@aws-sdk/util-user-agent-browser": "3.413.0",
34
- "@aws-sdk/util-user-agent-node": "3.413.0",
35
- "@smithy/config-resolver": "^2.0.8",
36
- "@smithy/fetch-http-handler": "^2.1.3",
37
- "@smithy/hash-node": "^2.0.7",
38
- "@smithy/invalid-dependency": "^2.0.7",
39
- "@smithy/middleware-content-length": "^2.0.9",
40
- "@smithy/middleware-endpoint": "^2.0.7",
41
- "@smithy/middleware-retry": "^2.0.10",
42
- "@smithy/middleware-serde": "^2.0.7",
43
- "@smithy/middleware-stack": "^2.0.0",
44
- "@smithy/node-config-provider": "^2.0.10",
45
- "@smithy/node-http-handler": "^2.1.3",
46
- "@smithy/protocol-http": "^3.0.3",
47
- "@smithy/smithy-client": "^2.1.4",
48
- "@smithy/types": "^2.3.1",
49
- "@smithy/url-parser": "^2.0.7",
24
+ "@aws-sdk/client-sts": "3.418.0",
25
+ "@aws-sdk/credential-provider-node": "3.418.0",
26
+ "@aws-sdk/middleware-host-header": "3.418.0",
27
+ "@aws-sdk/middleware-logger": "3.418.0",
28
+ "@aws-sdk/middleware-recursion-detection": "3.418.0",
29
+ "@aws-sdk/middleware-signing": "3.418.0",
30
+ "@aws-sdk/middleware-user-agent": "3.418.0",
31
+ "@aws-sdk/region-config-resolver": "3.418.0",
32
+ "@aws-sdk/types": "3.418.0",
33
+ "@aws-sdk/util-endpoints": "3.418.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.418.0",
35
+ "@aws-sdk/util-user-agent-node": "3.418.0",
36
+ "@smithy/config-resolver": "^2.0.10",
37
+ "@smithy/fetch-http-handler": "^2.1.5",
38
+ "@smithy/hash-node": "^2.0.9",
39
+ "@smithy/invalid-dependency": "^2.0.9",
40
+ "@smithy/middleware-content-length": "^2.0.11",
41
+ "@smithy/middleware-endpoint": "^2.0.9",
42
+ "@smithy/middleware-retry": "^2.0.12",
43
+ "@smithy/middleware-serde": "^2.0.9",
44
+ "@smithy/middleware-stack": "^2.0.2",
45
+ "@smithy/node-config-provider": "^2.0.12",
46
+ "@smithy/node-http-handler": "^2.1.5",
47
+ "@smithy/protocol-http": "^3.0.5",
48
+ "@smithy/smithy-client": "^2.1.6",
49
+ "@smithy/types": "^2.3.3",
50
+ "@smithy/url-parser": "^2.0.9",
50
51
  "@smithy/util-base64": "^2.0.0",
51
52
  "@smithy/util-body-length-browser": "^2.0.0",
52
53
  "@smithy/util-body-length-node": "^2.1.0",
53
- "@smithy/util-defaults-mode-browser": "^2.0.8",
54
- "@smithy/util-defaults-mode-node": "^2.0.10",
55
- "@smithy/util-retry": "^2.0.0",
54
+ "@smithy/util-defaults-mode-browser": "^2.0.10",
55
+ "@smithy/util-defaults-mode-node": "^2.0.12",
56
+ "@smithy/util-retry": "^2.0.2",
56
57
  "@smithy/util-utf8": "^2.0.0",
57
58
  "tslib": "^2.5.0",
58
59
  "uuid": "^8.3.2"