@aws-sdk/client-comprehend 3.297.0 → 3.299.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 (160) hide show
  1. package/README.md +1 -1
  2. package/dist-cjs/commands/ContainsPiiEntitiesCommand.js +2 -3
  3. package/dist-cjs/commands/CreateDatasetCommand.js +2 -3
  4. package/dist-cjs/commands/CreateDocumentClassifierCommand.js +2 -3
  5. package/dist-cjs/commands/CreateEndpointCommand.js +2 -3
  6. package/dist-cjs/commands/CreateEntityRecognizerCommand.js +2 -3
  7. package/dist-cjs/commands/CreateFlywheelCommand.js +2 -3
  8. package/dist-cjs/commands/DeleteDocumentClassifierCommand.js +2 -3
  9. package/dist-cjs/commands/DeleteEndpointCommand.js +2 -3
  10. package/dist-cjs/commands/DeleteEntityRecognizerCommand.js +2 -3
  11. package/dist-cjs/commands/DeleteFlywheelCommand.js +2 -3
  12. package/dist-cjs/commands/DeleteResourcePolicyCommand.js +2 -3
  13. package/dist-cjs/commands/DescribeDatasetCommand.js +2 -3
  14. package/dist-cjs/commands/DescribeDocumentClassificationJobCommand.js +2 -3
  15. package/dist-cjs/commands/DescribeDocumentClassifierCommand.js +1 -1
  16. package/dist-cjs/commands/DescribeDominantLanguageDetectionJobCommand.js +2 -3
  17. package/dist-cjs/commands/DescribeEndpointCommand.js +2 -3
  18. package/dist-cjs/commands/DescribeEntitiesDetectionJobCommand.js +2 -3
  19. package/dist-cjs/commands/DescribeEntityRecognizerCommand.js +1 -1
  20. package/dist-cjs/commands/DescribeEventsDetectionJobCommand.js +2 -3
  21. package/dist-cjs/commands/DescribeFlywheelCommand.js +2 -3
  22. package/dist-cjs/commands/DescribeFlywheelIterationCommand.js +2 -3
  23. package/dist-cjs/commands/DescribeKeyPhrasesDetectionJobCommand.js +2 -3
  24. package/dist-cjs/commands/DescribePiiEntitiesDetectionJobCommand.js +2 -3
  25. package/dist-cjs/commands/DescribeResourcePolicyCommand.js +2 -3
  26. package/dist-cjs/commands/DescribeSentimentDetectionJobCommand.js +2 -3
  27. package/dist-cjs/commands/DescribeTargetedSentimentDetectionJobCommand.js +2 -3
  28. package/dist-cjs/commands/DescribeTopicsDetectionJobCommand.js +2 -3
  29. package/dist-cjs/commands/DetectPiiEntitiesCommand.js +2 -3
  30. package/dist-cjs/commands/ImportModelCommand.js +2 -3
  31. package/dist-cjs/commands/ListDatasetsCommand.js +2 -3
  32. package/dist-cjs/commands/ListDocumentClassificationJobsCommand.js +2 -3
  33. package/dist-cjs/commands/ListDocumentClassifierSummariesCommand.js +2 -3
  34. package/dist-cjs/commands/ListDocumentClassifiersCommand.js +1 -1
  35. package/dist-cjs/commands/ListDominantLanguageDetectionJobsCommand.js +2 -3
  36. package/dist-cjs/commands/ListEndpointsCommand.js +2 -3
  37. package/dist-cjs/commands/ListEntitiesDetectionJobsCommand.js +2 -3
  38. package/dist-cjs/commands/ListEntityRecognizerSummariesCommand.js +2 -3
  39. package/dist-cjs/commands/ListEntityRecognizersCommand.js +1 -1
  40. package/dist-cjs/commands/ListEventsDetectionJobsCommand.js +2 -3
  41. package/dist-cjs/commands/ListFlywheelIterationHistoryCommand.js +2 -3
  42. package/dist-cjs/commands/ListFlywheelsCommand.js +2 -3
  43. package/dist-cjs/commands/ListKeyPhrasesDetectionJobsCommand.js +2 -3
  44. package/dist-cjs/commands/ListPiiEntitiesDetectionJobsCommand.js +2 -3
  45. package/dist-cjs/commands/ListSentimentDetectionJobsCommand.js +2 -3
  46. package/dist-cjs/commands/ListTagsForResourceCommand.js +2 -3
  47. package/dist-cjs/commands/ListTargetedSentimentDetectionJobsCommand.js +2 -3
  48. package/dist-cjs/commands/ListTopicsDetectionJobsCommand.js +2 -3
  49. package/dist-cjs/commands/PutResourcePolicyCommand.js +2 -3
  50. package/dist-cjs/commands/StartDocumentClassificationJobCommand.js +2 -3
  51. package/dist-cjs/commands/StartDominantLanguageDetectionJobCommand.js +2 -3
  52. package/dist-cjs/commands/StartEntitiesDetectionJobCommand.js +2 -3
  53. package/dist-cjs/commands/StartEventsDetectionJobCommand.js +2 -3
  54. package/dist-cjs/commands/StartFlywheelIterationCommand.js +2 -3
  55. package/dist-cjs/commands/StartKeyPhrasesDetectionJobCommand.js +2 -3
  56. package/dist-cjs/commands/StartPiiEntitiesDetectionJobCommand.js +2 -3
  57. package/dist-cjs/commands/StartSentimentDetectionJobCommand.js +2 -3
  58. package/dist-cjs/commands/StartTargetedSentimentDetectionJobCommand.js +2 -3
  59. package/dist-cjs/commands/StartTopicsDetectionJobCommand.js +2 -3
  60. package/dist-cjs/commands/StopDominantLanguageDetectionJobCommand.js +2 -3
  61. package/dist-cjs/commands/StopEntitiesDetectionJobCommand.js +2 -3
  62. package/dist-cjs/commands/StopEventsDetectionJobCommand.js +2 -3
  63. package/dist-cjs/commands/StopKeyPhrasesDetectionJobCommand.js +2 -3
  64. package/dist-cjs/commands/StopPiiEntitiesDetectionJobCommand.js +2 -3
  65. package/dist-cjs/commands/StopSentimentDetectionJobCommand.js +2 -3
  66. package/dist-cjs/commands/StopTargetedSentimentDetectionJobCommand.js +2 -3
  67. package/dist-cjs/commands/StopTrainingDocumentClassifierCommand.js +2 -3
  68. package/dist-cjs/commands/StopTrainingEntityRecognizerCommand.js +2 -3
  69. package/dist-cjs/commands/TagResourceCommand.js +2 -3
  70. package/dist-cjs/commands/UntagResourceCommand.js +2 -3
  71. package/dist-cjs/commands/UpdateEndpointCommand.js +2 -3
  72. package/dist-cjs/commands/UpdateFlywheelCommand.js +2 -3
  73. package/dist-cjs/models/models_0.js +3 -882
  74. package/dist-cjs/models/models_1.js +1 -61
  75. package/dist-cjs/protocols/Aws_json1_1.js +1 -0
  76. package/dist-es/commands/ContainsPiiEntitiesCommand.js +2 -3
  77. package/dist-es/commands/CreateDatasetCommand.js +2 -3
  78. package/dist-es/commands/CreateDocumentClassifierCommand.js +2 -3
  79. package/dist-es/commands/CreateEndpointCommand.js +2 -3
  80. package/dist-es/commands/CreateEntityRecognizerCommand.js +2 -3
  81. package/dist-es/commands/CreateFlywheelCommand.js +2 -3
  82. package/dist-es/commands/DeleteDocumentClassifierCommand.js +2 -3
  83. package/dist-es/commands/DeleteEndpointCommand.js +2 -3
  84. package/dist-es/commands/DeleteEntityRecognizerCommand.js +2 -3
  85. package/dist-es/commands/DeleteFlywheelCommand.js +2 -3
  86. package/dist-es/commands/DeleteResourcePolicyCommand.js +2 -3
  87. package/dist-es/commands/DescribeDatasetCommand.js +2 -3
  88. package/dist-es/commands/DescribeDocumentClassificationJobCommand.js +2 -3
  89. package/dist-es/commands/DescribeDocumentClassifierCommand.js +2 -2
  90. package/dist-es/commands/DescribeDominantLanguageDetectionJobCommand.js +2 -3
  91. package/dist-es/commands/DescribeEndpointCommand.js +2 -3
  92. package/dist-es/commands/DescribeEntitiesDetectionJobCommand.js +2 -3
  93. package/dist-es/commands/DescribeEntityRecognizerCommand.js +2 -2
  94. package/dist-es/commands/DescribeEventsDetectionJobCommand.js +2 -3
  95. package/dist-es/commands/DescribeFlywheelCommand.js +2 -3
  96. package/dist-es/commands/DescribeFlywheelIterationCommand.js +2 -3
  97. package/dist-es/commands/DescribeKeyPhrasesDetectionJobCommand.js +2 -3
  98. package/dist-es/commands/DescribePiiEntitiesDetectionJobCommand.js +2 -3
  99. package/dist-es/commands/DescribeResourcePolicyCommand.js +2 -3
  100. package/dist-es/commands/DescribeSentimentDetectionJobCommand.js +2 -3
  101. package/dist-es/commands/DescribeTargetedSentimentDetectionJobCommand.js +2 -3
  102. package/dist-es/commands/DescribeTopicsDetectionJobCommand.js +2 -3
  103. package/dist-es/commands/DetectPiiEntitiesCommand.js +2 -3
  104. package/dist-es/commands/ImportModelCommand.js +2 -3
  105. package/dist-es/commands/ListDatasetsCommand.js +2 -3
  106. package/dist-es/commands/ListDocumentClassificationJobsCommand.js +2 -3
  107. package/dist-es/commands/ListDocumentClassifierSummariesCommand.js +2 -3
  108. package/dist-es/commands/ListDocumentClassifiersCommand.js +2 -2
  109. package/dist-es/commands/ListDominantLanguageDetectionJobsCommand.js +2 -3
  110. package/dist-es/commands/ListEndpointsCommand.js +2 -3
  111. package/dist-es/commands/ListEntitiesDetectionJobsCommand.js +2 -3
  112. package/dist-es/commands/ListEntityRecognizerSummariesCommand.js +2 -3
  113. package/dist-es/commands/ListEntityRecognizersCommand.js +2 -2
  114. package/dist-es/commands/ListEventsDetectionJobsCommand.js +2 -3
  115. package/dist-es/commands/ListFlywheelIterationHistoryCommand.js +2 -3
  116. package/dist-es/commands/ListFlywheelsCommand.js +2 -3
  117. package/dist-es/commands/ListKeyPhrasesDetectionJobsCommand.js +2 -3
  118. package/dist-es/commands/ListPiiEntitiesDetectionJobsCommand.js +2 -3
  119. package/dist-es/commands/ListSentimentDetectionJobsCommand.js +2 -3
  120. package/dist-es/commands/ListTagsForResourceCommand.js +2 -3
  121. package/dist-es/commands/ListTargetedSentimentDetectionJobsCommand.js +2 -3
  122. package/dist-es/commands/ListTopicsDetectionJobsCommand.js +2 -3
  123. package/dist-es/commands/PutResourcePolicyCommand.js +2 -3
  124. package/dist-es/commands/StartDocumentClassificationJobCommand.js +2 -3
  125. package/dist-es/commands/StartDominantLanguageDetectionJobCommand.js +2 -3
  126. package/dist-es/commands/StartEntitiesDetectionJobCommand.js +2 -3
  127. package/dist-es/commands/StartEventsDetectionJobCommand.js +2 -3
  128. package/dist-es/commands/StartFlywheelIterationCommand.js +2 -3
  129. package/dist-es/commands/StartKeyPhrasesDetectionJobCommand.js +2 -3
  130. package/dist-es/commands/StartPiiEntitiesDetectionJobCommand.js +2 -3
  131. package/dist-es/commands/StartSentimentDetectionJobCommand.js +2 -3
  132. package/dist-es/commands/StartTargetedSentimentDetectionJobCommand.js +2 -3
  133. package/dist-es/commands/StartTopicsDetectionJobCommand.js +2 -3
  134. package/dist-es/commands/StopDominantLanguageDetectionJobCommand.js +2 -3
  135. package/dist-es/commands/StopEntitiesDetectionJobCommand.js +2 -3
  136. package/dist-es/commands/StopEventsDetectionJobCommand.js +2 -3
  137. package/dist-es/commands/StopKeyPhrasesDetectionJobCommand.js +2 -3
  138. package/dist-es/commands/StopPiiEntitiesDetectionJobCommand.js +2 -3
  139. package/dist-es/commands/StopSentimentDetectionJobCommand.js +2 -3
  140. package/dist-es/commands/StopTargetedSentimentDetectionJobCommand.js +2 -3
  141. package/dist-es/commands/StopTrainingDocumentClassifierCommand.js +2 -3
  142. package/dist-es/commands/StopTrainingEntityRecognizerCommand.js +2 -3
  143. package/dist-es/commands/TagResourceCommand.js +2 -3
  144. package/dist-es/commands/UntagResourceCommand.js +2 -3
  145. package/dist-es/commands/UpdateEndpointCommand.js +2 -3
  146. package/dist-es/commands/UpdateFlywheelCommand.js +2 -3
  147. package/dist-es/models/models_0.js +1 -657
  148. package/dist-es/models/models_1.js +0 -45
  149. package/dist-es/protocols/Aws_json1_1.js +1 -0
  150. package/dist-types/Comprehend.d.ts +8 -8
  151. package/dist-types/ComprehendClient.d.ts +1 -1
  152. package/dist-types/commands/CreateFlywheelCommand.d.ts +1 -1
  153. package/dist-types/commands/ImportModelCommand.d.ts +4 -4
  154. package/dist-types/commands/ListDatasetsCommand.d.ts +1 -1
  155. package/dist-types/commands/PutResourcePolicyCommand.d.ts +1 -1
  156. package/dist-types/models/models_0.d.ts +124 -1002
  157. package/dist-types/models/models_1.d.ts +2 -62
  158. package/dist-types/ts3.4/models/models_0.d.ts +2 -631
  159. package/dist-types/ts3.4/models/models_1.d.ts +0 -45
  160. package/package.json +11 -10
@@ -4,7 +4,6 @@ exports.StopTargetedSentimentDetectionJobCommand = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
- const models_1_1 = require("../models/models_1");
8
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
8
  class StopTargetedSentimentDetectionJobCommand extends smithy_client_1.Command {
10
9
  static getEndpointParameterInstructions() {
@@ -30,8 +29,8 @@ class StopTargetedSentimentDetectionJobCommand extends smithy_client_1.Command {
30
29
  logger,
31
30
  clientName,
32
31
  commandName,
33
- inputFilterSensitiveLog: models_1_1.StopTargetedSentimentDetectionJobRequestFilterSensitiveLog,
34
- outputFilterSensitiveLog: models_1_1.StopTargetedSentimentDetectionJobResponseFilterSensitiveLog,
32
+ inputFilterSensitiveLog: (_) => _,
33
+ outputFilterSensitiveLog: (_) => _,
35
34
  };
36
35
  const { requestHandler } = configuration;
37
36
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -4,7 +4,6 @@ exports.StopTrainingDocumentClassifierCommand = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
- const models_1_1 = require("../models/models_1");
8
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
8
  class StopTrainingDocumentClassifierCommand extends smithy_client_1.Command {
10
9
  static getEndpointParameterInstructions() {
@@ -30,8 +29,8 @@ class StopTrainingDocumentClassifierCommand extends smithy_client_1.Command {
30
29
  logger,
31
30
  clientName,
32
31
  commandName,
33
- inputFilterSensitiveLog: models_1_1.StopTrainingDocumentClassifierRequestFilterSensitiveLog,
34
- outputFilterSensitiveLog: models_1_1.StopTrainingDocumentClassifierResponseFilterSensitiveLog,
32
+ inputFilterSensitiveLog: (_) => _,
33
+ outputFilterSensitiveLog: (_) => _,
35
34
  };
36
35
  const { requestHandler } = configuration;
37
36
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -4,7 +4,6 @@ exports.StopTrainingEntityRecognizerCommand = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
- const models_1_1 = require("../models/models_1");
8
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
8
  class StopTrainingEntityRecognizerCommand extends smithy_client_1.Command {
10
9
  static getEndpointParameterInstructions() {
@@ -30,8 +29,8 @@ class StopTrainingEntityRecognizerCommand extends smithy_client_1.Command {
30
29
  logger,
31
30
  clientName,
32
31
  commandName,
33
- inputFilterSensitiveLog: models_1_1.StopTrainingEntityRecognizerRequestFilterSensitiveLog,
34
- outputFilterSensitiveLog: models_1_1.StopTrainingEntityRecognizerResponseFilterSensitiveLog,
32
+ inputFilterSensitiveLog: (_) => _,
33
+ outputFilterSensitiveLog: (_) => _,
35
34
  };
36
35
  const { requestHandler } = configuration;
37
36
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -4,7 +4,6 @@ exports.TagResourceCommand = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
- const models_1_1 = require("../models/models_1");
8
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
8
  class TagResourceCommand extends smithy_client_1.Command {
10
9
  static getEndpointParameterInstructions() {
@@ -30,8 +29,8 @@ class TagResourceCommand extends smithy_client_1.Command {
30
29
  logger,
31
30
  clientName,
32
31
  commandName,
33
- inputFilterSensitiveLog: models_1_1.TagResourceRequestFilterSensitiveLog,
34
- outputFilterSensitiveLog: models_1_1.TagResourceResponseFilterSensitiveLog,
32
+ inputFilterSensitiveLog: (_) => _,
33
+ outputFilterSensitiveLog: (_) => _,
35
34
  };
36
35
  const { requestHandler } = configuration;
37
36
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -4,7 +4,6 @@ exports.UntagResourceCommand = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
- const models_1_1 = require("../models/models_1");
8
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
8
  class UntagResourceCommand extends smithy_client_1.Command {
10
9
  static getEndpointParameterInstructions() {
@@ -30,8 +29,8 @@ class UntagResourceCommand extends smithy_client_1.Command {
30
29
  logger,
31
30
  clientName,
32
31
  commandName,
33
- inputFilterSensitiveLog: models_1_1.UntagResourceRequestFilterSensitiveLog,
34
- outputFilterSensitiveLog: models_1_1.UntagResourceResponseFilterSensitiveLog,
32
+ inputFilterSensitiveLog: (_) => _,
33
+ outputFilterSensitiveLog: (_) => _,
35
34
  };
36
35
  const { requestHandler } = configuration;
37
36
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -4,7 +4,6 @@ exports.UpdateEndpointCommand = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
- const models_1_1 = require("../models/models_1");
8
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
8
  class UpdateEndpointCommand extends smithy_client_1.Command {
10
9
  static getEndpointParameterInstructions() {
@@ -30,8 +29,8 @@ class UpdateEndpointCommand extends smithy_client_1.Command {
30
29
  logger,
31
30
  clientName,
32
31
  commandName,
33
- inputFilterSensitiveLog: models_1_1.UpdateEndpointRequestFilterSensitiveLog,
34
- outputFilterSensitiveLog: models_1_1.UpdateEndpointResponseFilterSensitiveLog,
32
+ inputFilterSensitiveLog: (_) => _,
33
+ outputFilterSensitiveLog: (_) => _,
35
34
  };
36
35
  const { requestHandler } = configuration;
37
36
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -4,7 +4,6 @@ exports.UpdateFlywheelCommand = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
- const models_1_1 = require("../models/models_1");
8
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
8
  class UpdateFlywheelCommand extends smithy_client_1.Command {
10
9
  static getEndpointParameterInstructions() {
@@ -30,8 +29,8 @@ class UpdateFlywheelCommand extends smithy_client_1.Command {
30
29
  logger,
31
30
  clientName,
32
31
  commandName,
33
- inputFilterSensitiveLog: models_1_1.UpdateFlywheelRequestFilterSensitiveLog,
34
- outputFilterSensitiveLog: models_1_1.UpdateFlywheelResponseFilterSensitiveLog,
32
+ inputFilterSensitiveLog: (_) => _,
33
+ outputFilterSensitiveLog: (_) => _,
35
34
  };
36
35
  const { requestHandler } = configuration;
37
36
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);