@aws-sdk/client-comprehend 3.36.0 → 3.39.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 (168) hide show
  1. package/CHANGELOG.md +42 -0
  2. package/dist-cjs/Comprehend.js +0 -6
  3. package/dist-cjs/ComprehendClient.js +0 -11
  4. package/dist-cjs/commands/BatchDetectDominantLanguageCommand.js +0 -26
  5. package/dist-cjs/commands/BatchDetectEntitiesCommand.js +0 -26
  6. package/dist-cjs/commands/BatchDetectKeyPhrasesCommand.js +0 -24
  7. package/dist-cjs/commands/BatchDetectSentimentCommand.js +0 -26
  8. package/dist-cjs/commands/BatchDetectSyntaxCommand.js +0 -25
  9. package/dist-cjs/commands/ClassifyDocumentCommand.js +0 -25
  10. package/dist-cjs/commands/ContainsPiiEntitiesCommand.js +0 -26
  11. package/dist-cjs/commands/CreateDocumentClassifierCommand.js +0 -27
  12. package/dist-cjs/commands/CreateEndpointCommand.js +0 -26
  13. package/dist-cjs/commands/CreateEntityRecognizerCommand.js +0 -26
  14. package/dist-cjs/commands/DeleteDocumentClassifierCommand.js +0 -30
  15. package/dist-cjs/commands/DeleteEndpointCommand.js +0 -25
  16. package/dist-cjs/commands/DeleteEntityRecognizerCommand.js +0 -30
  17. package/dist-cjs/commands/DescribeDocumentClassificationJobCommand.js +0 -25
  18. package/dist-cjs/commands/DescribeDocumentClassifierCommand.js +0 -24
  19. package/dist-cjs/commands/DescribeDominantLanguageDetectionJobCommand.js +0 -25
  20. package/dist-cjs/commands/DescribeEndpointCommand.js +0 -25
  21. package/dist-cjs/commands/DescribeEntitiesDetectionJobCommand.js +0 -25
  22. package/dist-cjs/commands/DescribeEntityRecognizerCommand.js +0 -25
  23. package/dist-cjs/commands/DescribeEventsDetectionJobCommand.js +0 -24
  24. package/dist-cjs/commands/DescribeKeyPhrasesDetectionJobCommand.js +0 -25
  25. package/dist-cjs/commands/DescribePiiEntitiesDetectionJobCommand.js +0 -25
  26. package/dist-cjs/commands/DescribeSentimentDetectionJobCommand.js +0 -25
  27. package/dist-cjs/commands/DescribeTopicsDetectionJobCommand.js +0 -25
  28. package/dist-cjs/commands/DetectDominantLanguageCommand.js +0 -25
  29. package/dist-cjs/commands/DetectEntitiesCommand.js +0 -25
  30. package/dist-cjs/commands/DetectKeyPhrasesCommand.js +0 -24
  31. package/dist-cjs/commands/DetectPiiEntitiesCommand.js +0 -25
  32. package/dist-cjs/commands/DetectSentimentCommand.js +0 -25
  33. package/dist-cjs/commands/DetectSyntaxCommand.js +0 -25
  34. package/dist-cjs/commands/ListDocumentClassificationJobsCommand.js +0 -24
  35. package/dist-cjs/commands/ListDocumentClassifierSummariesCommand.js +0 -24
  36. package/dist-cjs/commands/ListDocumentClassifiersCommand.js +0 -24
  37. package/dist-cjs/commands/ListDominantLanguageDetectionJobsCommand.js +0 -24
  38. package/dist-cjs/commands/ListEndpointsCommand.js +0 -24
  39. package/dist-cjs/commands/ListEntitiesDetectionJobsCommand.js +0 -24
  40. package/dist-cjs/commands/ListEntityRecognizerSummariesCommand.js +0 -24
  41. package/dist-cjs/commands/ListEntityRecognizersCommand.js +0 -29
  42. package/dist-cjs/commands/ListEventsDetectionJobsCommand.js +0 -24
  43. package/dist-cjs/commands/ListKeyPhrasesDetectionJobsCommand.js +0 -24
  44. package/dist-cjs/commands/ListPiiEntitiesDetectionJobsCommand.js +0 -24
  45. package/dist-cjs/commands/ListSentimentDetectionJobsCommand.js +0 -24
  46. package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -24
  47. package/dist-cjs/commands/ListTopicsDetectionJobsCommand.js +0 -24
  48. package/dist-cjs/commands/StartDocumentClassificationJobCommand.js +0 -25
  49. package/dist-cjs/commands/StartDominantLanguageDetectionJobCommand.js +0 -26
  50. package/dist-cjs/commands/StartEntitiesDetectionJobCommand.js +0 -28
  51. package/dist-cjs/commands/StartEventsDetectionJobCommand.js +0 -24
  52. package/dist-cjs/commands/StartKeyPhrasesDetectionJobCommand.js +0 -26
  53. package/dist-cjs/commands/StartPiiEntitiesDetectionJobCommand.js +0 -24
  54. package/dist-cjs/commands/StartSentimentDetectionJobCommand.js +0 -26
  55. package/dist-cjs/commands/StartTopicsDetectionJobCommand.js +0 -25
  56. package/dist-cjs/commands/StopDominantLanguageDetectionJobCommand.js +0 -33
  57. package/dist-cjs/commands/StopEntitiesDetectionJobCommand.js +0 -33
  58. package/dist-cjs/commands/StopEventsDetectionJobCommand.js +0 -24
  59. package/dist-cjs/commands/StopKeyPhrasesDetectionJobCommand.js +0 -33
  60. package/dist-cjs/commands/StopPiiEntitiesDetectionJobCommand.js +0 -24
  61. package/dist-cjs/commands/StopSentimentDetectionJobCommand.js +0 -33
  62. package/dist-cjs/commands/StopTrainingDocumentClassifierCommand.js +0 -29
  63. package/dist-cjs/commands/StopTrainingEntityRecognizerCommand.js +0 -29
  64. package/dist-cjs/commands/TagResourceCommand.js +0 -27
  65. package/dist-cjs/commands/UntagResourceCommand.js +0 -24
  66. package/dist-cjs/commands/UpdateEndpointCommand.js +0 -24
  67. package/dist-cjs/commands/index.js +66 -0
  68. package/dist-cjs/endpoints.js +6 -1
  69. package/dist-cjs/index.js +4 -77
  70. package/dist-cjs/models/models_0.js +0 -609
  71. package/dist-cjs/pagination/ListDocumentClassificationJobsPaginator.js +0 -10
  72. package/dist-cjs/pagination/ListDocumentClassifierSummariesPaginator.js +0 -10
  73. package/dist-cjs/pagination/ListDocumentClassifiersPaginator.js +0 -10
  74. package/dist-cjs/pagination/ListDominantLanguageDetectionJobsPaginator.js +0 -10
  75. package/dist-cjs/pagination/ListEntitiesDetectionJobsPaginator.js +0 -10
  76. package/dist-cjs/pagination/ListEntityRecognizerSummariesPaginator.js +0 -10
  77. package/dist-cjs/pagination/ListEntityRecognizersPaginator.js +0 -10
  78. package/dist-cjs/pagination/ListEventsDetectionJobsPaginator.js +0 -10
  79. package/dist-cjs/pagination/ListKeyPhrasesDetectionJobsPaginator.js +0 -10
  80. package/dist-cjs/pagination/ListSentimentDetectionJobsPaginator.js +0 -10
  81. package/dist-cjs/pagination/ListTopicsDetectionJobsPaginator.js +0 -10
  82. package/dist-cjs/pagination/index.js +15 -0
  83. package/dist-cjs/protocols/Aws_json1_1.js +0 -5
  84. package/dist-cjs/runtimeConfig.browser.js +1 -5
  85. package/dist-cjs/runtimeConfig.js +1 -5
  86. package/dist-cjs/runtimeConfig.native.js +0 -3
  87. package/dist-cjs/runtimeConfig.shared.js +0 -3
  88. package/dist-es/commands/index.js +63 -0
  89. package/dist-es/endpoints.js +6 -1
  90. package/dist-es/index.js +4 -77
  91. package/dist-es/pagination/index.js +12 -0
  92. package/dist-types/commands/index.d.ts +63 -0
  93. package/dist-types/index.d.ts +4 -77
  94. package/dist-types/pagination/index.d.ts +12 -0
  95. package/dist-types/ts3.4/Comprehend.d.ts +64 -305
  96. package/dist-types/ts3.4/ComprehendClient.d.ts +24 -92
  97. package/dist-types/ts3.4/commands/BatchDetectDominantLanguageCommand.d.ts +2 -22
  98. package/dist-types/ts3.4/commands/BatchDetectEntitiesCommand.d.ts +2 -22
  99. package/dist-types/ts3.4/commands/BatchDetectKeyPhrasesCommand.d.ts +2 -20
  100. package/dist-types/ts3.4/commands/BatchDetectSentimentCommand.d.ts +2 -22
  101. package/dist-types/ts3.4/commands/BatchDetectSyntaxCommand.d.ts +2 -21
  102. package/dist-types/ts3.4/commands/ClassifyDocumentCommand.d.ts +2 -21
  103. package/dist-types/ts3.4/commands/ContainsPiiEntitiesCommand.d.ts +2 -22
  104. package/dist-types/ts3.4/commands/CreateDocumentClassifierCommand.d.ts +2 -23
  105. package/dist-types/ts3.4/commands/CreateEndpointCommand.d.ts +2 -22
  106. package/dist-types/ts3.4/commands/CreateEntityRecognizerCommand.d.ts +2 -22
  107. package/dist-types/ts3.4/commands/DeleteDocumentClassifierCommand.d.ts +2 -26
  108. package/dist-types/ts3.4/commands/DeleteEndpointCommand.d.ts +2 -21
  109. package/dist-types/ts3.4/commands/DeleteEntityRecognizerCommand.d.ts +2 -26
  110. package/dist-types/ts3.4/commands/DescribeDocumentClassificationJobCommand.d.ts +2 -21
  111. package/dist-types/ts3.4/commands/DescribeDocumentClassifierCommand.d.ts +2 -20
  112. package/dist-types/ts3.4/commands/DescribeDominantLanguageDetectionJobCommand.d.ts +2 -21
  113. package/dist-types/ts3.4/commands/DescribeEndpointCommand.d.ts +2 -21
  114. package/dist-types/ts3.4/commands/DescribeEntitiesDetectionJobCommand.d.ts +2 -21
  115. package/dist-types/ts3.4/commands/DescribeEntityRecognizerCommand.d.ts +2 -21
  116. package/dist-types/ts3.4/commands/DescribeEventsDetectionJobCommand.d.ts +2 -20
  117. package/dist-types/ts3.4/commands/DescribeKeyPhrasesDetectionJobCommand.d.ts +2 -21
  118. package/dist-types/ts3.4/commands/DescribePiiEntitiesDetectionJobCommand.d.ts +2 -21
  119. package/dist-types/ts3.4/commands/DescribeSentimentDetectionJobCommand.d.ts +2 -21
  120. package/dist-types/ts3.4/commands/DescribeTopicsDetectionJobCommand.d.ts +2 -21
  121. package/dist-types/ts3.4/commands/DetectDominantLanguageCommand.d.ts +2 -21
  122. package/dist-types/ts3.4/commands/DetectEntitiesCommand.d.ts +2 -21
  123. package/dist-types/ts3.4/commands/DetectKeyPhrasesCommand.d.ts +2 -20
  124. package/dist-types/ts3.4/commands/DetectPiiEntitiesCommand.d.ts +2 -21
  125. package/dist-types/ts3.4/commands/DetectSentimentCommand.d.ts +2 -21
  126. package/dist-types/ts3.4/commands/DetectSyntaxCommand.d.ts +2 -21
  127. package/dist-types/ts3.4/commands/ListDocumentClassificationJobsCommand.d.ts +2 -20
  128. package/dist-types/ts3.4/commands/ListDocumentClassifierSummariesCommand.d.ts +2 -20
  129. package/dist-types/ts3.4/commands/ListDocumentClassifiersCommand.d.ts +2 -20
  130. package/dist-types/ts3.4/commands/ListDominantLanguageDetectionJobsCommand.d.ts +2 -20
  131. package/dist-types/ts3.4/commands/ListEndpointsCommand.d.ts +2 -20
  132. package/dist-types/ts3.4/commands/ListEntitiesDetectionJobsCommand.d.ts +2 -20
  133. package/dist-types/ts3.4/commands/ListEntityRecognizerSummariesCommand.d.ts +2 -20
  134. package/dist-types/ts3.4/commands/ListEntityRecognizersCommand.d.ts +2 -25
  135. package/dist-types/ts3.4/commands/ListEventsDetectionJobsCommand.d.ts +2 -20
  136. package/dist-types/ts3.4/commands/ListKeyPhrasesDetectionJobsCommand.d.ts +2 -20
  137. package/dist-types/ts3.4/commands/ListPiiEntitiesDetectionJobsCommand.d.ts +2 -20
  138. package/dist-types/ts3.4/commands/ListSentimentDetectionJobsCommand.d.ts +2 -20
  139. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -20
  140. package/dist-types/ts3.4/commands/ListTopicsDetectionJobsCommand.d.ts +2 -20
  141. package/dist-types/ts3.4/commands/StartDocumentClassificationJobCommand.d.ts +2 -21
  142. package/dist-types/ts3.4/commands/StartDominantLanguageDetectionJobCommand.d.ts +2 -22
  143. package/dist-types/ts3.4/commands/StartEntitiesDetectionJobCommand.d.ts +2 -24
  144. package/dist-types/ts3.4/commands/StartEventsDetectionJobCommand.d.ts +2 -20
  145. package/dist-types/ts3.4/commands/StartKeyPhrasesDetectionJobCommand.d.ts +2 -22
  146. package/dist-types/ts3.4/commands/StartPiiEntitiesDetectionJobCommand.d.ts +2 -20
  147. package/dist-types/ts3.4/commands/StartSentimentDetectionJobCommand.d.ts +2 -22
  148. package/dist-types/ts3.4/commands/StartTopicsDetectionJobCommand.d.ts +2 -21
  149. package/dist-types/ts3.4/commands/StopDominantLanguageDetectionJobCommand.d.ts +2 -29
  150. package/dist-types/ts3.4/commands/StopEntitiesDetectionJobCommand.d.ts +2 -29
  151. package/dist-types/ts3.4/commands/StopEventsDetectionJobCommand.d.ts +2 -20
  152. package/dist-types/ts3.4/commands/StopKeyPhrasesDetectionJobCommand.d.ts +2 -29
  153. package/dist-types/ts3.4/commands/StopPiiEntitiesDetectionJobCommand.d.ts +2 -20
  154. package/dist-types/ts3.4/commands/StopSentimentDetectionJobCommand.d.ts +2 -29
  155. package/dist-types/ts3.4/commands/StopTrainingDocumentClassifierCommand.d.ts +2 -25
  156. package/dist-types/ts3.4/commands/StopTrainingEntityRecognizerCommand.d.ts +2 -25
  157. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -23
  158. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -20
  159. package/dist-types/ts3.4/commands/UpdateEndpointCommand.d.ts +2 -20
  160. package/dist-types/ts3.4/commands/index.d.ts +63 -0
  161. package/dist-types/ts3.4/index.d.ts +4 -77
  162. package/dist-types/ts3.4/models/models_0.d.ts +884 -3867
  163. package/dist-types/ts3.4/pagination/index.d.ts +12 -0
  164. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
  165. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
  166. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
  167. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
  168. package/package.json +32 -32
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Gets a list of summaries of the document classifiers that you have created</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { ComprehendClient, ListDocumentClassifierSummariesCommand } from "@aws-sdk/client-comprehend"; // ES Modules import
14
- * // const { ComprehendClient, ListDocumentClassifierSummariesCommand } = require("@aws-sdk/client-comprehend"); // CommonJS import
15
- * const client = new ComprehendClient(config);
16
- * const command = new ListDocumentClassifierSummariesCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link ListDocumentClassifierSummariesCommandInput} for command's `input` shape.
21
- * @see {@link ListDocumentClassifierSummariesCommandOutput} for command's `response` shape.
22
- * @see {@link ComprehendClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class ListDocumentClassifierSummariesCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Gets a list of the document classifiers that you have created.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { ComprehendClient, ListDocumentClassifiersCommand } from "@aws-sdk/client-comprehend"; // ES Modules import
14
- * // const { ComprehendClient, ListDocumentClassifiersCommand } = require("@aws-sdk/client-comprehend"); // CommonJS import
15
- * const client = new ComprehendClient(config);
16
- * const command = new ListDocumentClassifiersCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link ListDocumentClassifiersCommandInput} for command's `input` shape.
21
- * @see {@link ListDocumentClassifiersCommandOutput} for command's `response` shape.
22
- * @see {@link ComprehendClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class ListDocumentClassifiersCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Gets a list of the dominant language detection jobs that you have submitted.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { ComprehendClient, ListDominantLanguageDetectionJobsCommand } from "@aws-sdk/client-comprehend"; // ES Modules import
14
- * // const { ComprehendClient, ListDominantLanguageDetectionJobsCommand } = require("@aws-sdk/client-comprehend"); // CommonJS import
15
- * const client = new ComprehendClient(config);
16
- * const command = new ListDominantLanguageDetectionJobsCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link ListDominantLanguageDetectionJobsCommandInput} for command's `input` shape.
21
- * @see {@link ListDominantLanguageDetectionJobsCommandOutput} for command's `response` shape.
22
- * @see {@link ComprehendClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class ListDominantLanguageDetectionJobsCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Gets a list of all existing endpoints that you've created.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { ComprehendClient, ListEndpointsCommand } from "@aws-sdk/client-comprehend"; // ES Modules import
14
- * // const { ComprehendClient, ListEndpointsCommand } = require("@aws-sdk/client-comprehend"); // CommonJS import
15
- * const client = new ComprehendClient(config);
16
- * const command = new ListEndpointsCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link ListEndpointsCommandInput} for command's `input` shape.
21
- * @see {@link ListEndpointsCommandOutput} for command's `response` shape.
22
- * @see {@link ComprehendClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class ListEndpointsCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Gets a list of the entity detection jobs that you have submitted.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { ComprehendClient, ListEntitiesDetectionJobsCommand } from "@aws-sdk/client-comprehend"; // ES Modules import
14
- * // const { ComprehendClient, ListEntitiesDetectionJobsCommand } = require("@aws-sdk/client-comprehend"); // CommonJS import
15
- * const client = new ComprehendClient(config);
16
- * const command = new ListEntitiesDetectionJobsCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link ListEntitiesDetectionJobsCommandInput} for command's `input` shape.
21
- * @see {@link ListEntitiesDetectionJobsCommandOutput} for command's `response` shape.
22
- * @see {@link ComprehendClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class ListEntitiesDetectionJobsCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Gets a list of summaries for the entity recognizers that you have created.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { ComprehendClient, ListEntityRecognizerSummariesCommand } from "@aws-sdk/client-comprehend"; // ES Modules import
14
- * // const { ComprehendClient, ListEntityRecognizerSummariesCommand } = require("@aws-sdk/client-comprehend"); // CommonJS import
15
- * const client = new ComprehendClient(config);
16
- * const command = new ListEntityRecognizerSummariesCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link ListEntityRecognizerSummariesCommandInput} for command's `input` shape.
21
- * @see {@link ListEntityRecognizerSummariesCommandOutput} for command's `response` shape.
22
- * @see {@link ComprehendClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class ListEntityRecognizerSummariesCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,40 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Gets a list of the properties of all entity recognizers that you created, including
10
- * recognizers currently in training. Allows you to filter the list of recognizers based on
11
- * criteria such as status and submission time. This call returns up to 500 entity recognizers in
12
- * the list, with a default number of 100 recognizers in the list.</p>
13
- * <p>The results of this list are not in any particular order. Please get the list and sort
14
- * locally if needed.</p>
15
- * @example
16
- * Use a bare-bones client and the command you need to make an API call.
17
- * ```javascript
18
- * import { ComprehendClient, ListEntityRecognizersCommand } from "@aws-sdk/client-comprehend"; // ES Modules import
19
- * // const { ComprehendClient, ListEntityRecognizersCommand } = require("@aws-sdk/client-comprehend"); // CommonJS import
20
- * const client = new ComprehendClient(config);
21
- * const command = new ListEntityRecognizersCommand(input);
22
- * const response = await client.send(command);
23
- * ```
24
- *
25
- * @see {@link ListEntityRecognizersCommandInput} for command's `input` shape.
26
- * @see {@link ListEntityRecognizersCommandOutput} for command's `response` shape.
27
- * @see {@link ComprehendClientResolvedConfig | config} for command's `input` shape.
28
- *
29
- */
30
8
  class ListEntityRecognizersCommand extends smithy_client_1.Command {
31
- // Start section: command_properties
32
- // End section: command_properties
33
9
  constructor(input) {
34
- // Start section: command_constructor
35
10
  super();
36
11
  this.input = input;
37
- // End section: command_constructor
38
12
  }
39
- /**
40
- * @internal
41
- */
42
13
  resolveMiddleware(clientStack, configuration, options) {
43
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
44
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Gets a list of the events detection jobs that you have submitted.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { ComprehendClient, ListEventsDetectionJobsCommand } from "@aws-sdk/client-comprehend"; // ES Modules import
14
- * // const { ComprehendClient, ListEventsDetectionJobsCommand } = require("@aws-sdk/client-comprehend"); // CommonJS import
15
- * const client = new ComprehendClient(config);
16
- * const command = new ListEventsDetectionJobsCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link ListEventsDetectionJobsCommandInput} for command's `input` shape.
21
- * @see {@link ListEventsDetectionJobsCommandOutput} for command's `response` shape.
22
- * @see {@link ComprehendClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class ListEventsDetectionJobsCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Get a list of key phrase detection jobs that you have submitted.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { ComprehendClient, ListKeyPhrasesDetectionJobsCommand } from "@aws-sdk/client-comprehend"; // ES Modules import
14
- * // const { ComprehendClient, ListKeyPhrasesDetectionJobsCommand } = require("@aws-sdk/client-comprehend"); // CommonJS import
15
- * const client = new ComprehendClient(config);
16
- * const command = new ListKeyPhrasesDetectionJobsCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link ListKeyPhrasesDetectionJobsCommandInput} for command's `input` shape.
21
- * @see {@link ListKeyPhrasesDetectionJobsCommandOutput} for command's `response` shape.
22
- * @see {@link ComprehendClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class ListKeyPhrasesDetectionJobsCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Gets a list of the PII entity detection jobs that you have submitted.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { ComprehendClient, ListPiiEntitiesDetectionJobsCommand } from "@aws-sdk/client-comprehend"; // ES Modules import
14
- * // const { ComprehendClient, ListPiiEntitiesDetectionJobsCommand } = require("@aws-sdk/client-comprehend"); // CommonJS import
15
- * const client = new ComprehendClient(config);
16
- * const command = new ListPiiEntitiesDetectionJobsCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link ListPiiEntitiesDetectionJobsCommandInput} for command's `input` shape.
21
- * @see {@link ListPiiEntitiesDetectionJobsCommandOutput} for command's `response` shape.
22
- * @see {@link ComprehendClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class ListPiiEntitiesDetectionJobsCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Gets a list of sentiment detection jobs that you have submitted.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { ComprehendClient, ListSentimentDetectionJobsCommand } from "@aws-sdk/client-comprehend"; // ES Modules import
14
- * // const { ComprehendClient, ListSentimentDetectionJobsCommand } = require("@aws-sdk/client-comprehend"); // CommonJS import
15
- * const client = new ComprehendClient(config);
16
- * const command = new ListSentimentDetectionJobsCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link ListSentimentDetectionJobsCommandInput} for command's `input` shape.
21
- * @see {@link ListSentimentDetectionJobsCommandOutput} for command's `response` shape.
22
- * @see {@link ComprehendClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class ListSentimentDetectionJobsCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Lists all tags associated with a given Amazon Comprehend resource. </p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { ComprehendClient, ListTagsForResourceCommand } from "@aws-sdk/client-comprehend"; // ES Modules import
14
- * // const { ComprehendClient, ListTagsForResourceCommand } = require("@aws-sdk/client-comprehend"); // CommonJS import
15
- * const client = new ComprehendClient(config);
16
- * const command = new ListTagsForResourceCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
21
- * @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
22
- * @see {@link ComprehendClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class ListTagsForResourceCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Gets a list of the topic detection jobs that you have submitted.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { ComprehendClient, ListTopicsDetectionJobsCommand } from "@aws-sdk/client-comprehend"; // ES Modules import
14
- * // const { ComprehendClient, ListTopicsDetectionJobsCommand } = require("@aws-sdk/client-comprehend"); // CommonJS import
15
- * const client = new ComprehendClient(config);
16
- * const command = new ListTopicsDetectionJobsCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link ListTopicsDetectionJobsCommandInput} for command's `input` shape.
21
- * @see {@link ListTopicsDetectionJobsCommandOutput} for command's `response` shape.
22
- * @see {@link ComprehendClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class ListTopicsDetectionJobsCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,36 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Starts an asynchronous document classification job. Use the operation to track the progress of the
10
- * job.</p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { ComprehendClient, StartDocumentClassificationJobCommand } from "@aws-sdk/client-comprehend"; // ES Modules import
15
- * // const { ComprehendClient, StartDocumentClassificationJobCommand } = require("@aws-sdk/client-comprehend"); // CommonJS import
16
- * const client = new ComprehendClient(config);
17
- * const command = new StartDocumentClassificationJobCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link StartDocumentClassificationJobCommandInput} for command's `input` shape.
22
- * @see {@link StartDocumentClassificationJobCommandOutput} for command's `response` shape.
23
- * @see {@link ComprehendClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
26
8
  class StartDocumentClassificationJobCommand extends smithy_client_1.Command {
27
- // Start section: command_properties
28
- // End section: command_properties
29
9
  constructor(input) {
30
- // Start section: command_constructor
31
10
  super();
32
11
  this.input = input;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  resolveMiddleware(clientStack, configuration, options) {
39
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
40
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,37 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Starts an asynchronous dominant language detection job for a collection of documents. Use
10
- * the operation to track the status
11
- * of a job.</p>
12
- * @example
13
- * Use a bare-bones client and the command you need to make an API call.
14
- * ```javascript
15
- * import { ComprehendClient, StartDominantLanguageDetectionJobCommand } from "@aws-sdk/client-comprehend"; // ES Modules import
16
- * // const { ComprehendClient, StartDominantLanguageDetectionJobCommand } = require("@aws-sdk/client-comprehend"); // CommonJS import
17
- * const client = new ComprehendClient(config);
18
- * const command = new StartDominantLanguageDetectionJobCommand(input);
19
- * const response = await client.send(command);
20
- * ```
21
- *
22
- * @see {@link StartDominantLanguageDetectionJobCommandInput} for command's `input` shape.
23
- * @see {@link StartDominantLanguageDetectionJobCommandOutput} for command's `response` shape.
24
- * @see {@link ComprehendClientResolvedConfig | config} for command's `input` shape.
25
- *
26
- */
27
8
  class StartDominantLanguageDetectionJobCommand extends smithy_client_1.Command {
28
- // Start section: command_properties
29
- // End section: command_properties
30
9
  constructor(input) {
31
- // Start section: command_constructor
32
10
  super();
33
11
  this.input = input;
34
- // End section: command_constructor
35
12
  }
36
- /**
37
- * @internal
38
- */
39
13
  resolveMiddleware(clientStack, configuration, options) {
40
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
41
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,39 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Starts an asynchronous entity detection job for a collection of documents. Use the operation to track the status of a job.</p>
10
- * <p>This API can be used for either standard entity detection or custom entity recognition. In
11
- * order to be used for custom entity recognition, the optional <code>EntityRecognizerArn</code>
12
- * must be used in order to provide access to the recognizer being used to detect the custom
13
- * entity.</p>
14
- * @example
15
- * Use a bare-bones client and the command you need to make an API call.
16
- * ```javascript
17
- * import { ComprehendClient, StartEntitiesDetectionJobCommand } from "@aws-sdk/client-comprehend"; // ES Modules import
18
- * // const { ComprehendClient, StartEntitiesDetectionJobCommand } = require("@aws-sdk/client-comprehend"); // CommonJS import
19
- * const client = new ComprehendClient(config);
20
- * const command = new StartEntitiesDetectionJobCommand(input);
21
- * const response = await client.send(command);
22
- * ```
23
- *
24
- * @see {@link StartEntitiesDetectionJobCommandInput} for command's `input` shape.
25
- * @see {@link StartEntitiesDetectionJobCommandOutput} for command's `response` shape.
26
- * @see {@link ComprehendClientResolvedConfig | config} for command's `input` shape.
27
- *
28
- */
29
8
  class StartEntitiesDetectionJobCommand extends smithy_client_1.Command {
30
- // Start section: command_properties
31
- // End section: command_properties
32
9
  constructor(input) {
33
- // Start section: command_constructor
34
10
  super();
35
11
  this.input = input;
36
- // End section: command_constructor
37
12
  }
38
- /**
39
- * @internal
40
- */
41
13
  resolveMiddleware(clientStack, configuration, options) {
42
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
43
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Starts an asynchronous event detection job for a collection of documents.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { ComprehendClient, StartEventsDetectionJobCommand } from "@aws-sdk/client-comprehend"; // ES Modules import
14
- * // const { ComprehendClient, StartEventsDetectionJobCommand } = require("@aws-sdk/client-comprehend"); // CommonJS import
15
- * const client = new ComprehendClient(config);
16
- * const command = new StartEventsDetectionJobCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link StartEventsDetectionJobCommandInput} for command's `input` shape.
21
- * @see {@link StartEventsDetectionJobCommandOutput} for command's `response` shape.
22
- * @see {@link ComprehendClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class StartEventsDetectionJobCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);