@aws-sdk/client-comprehend 3.278.0 → 3.281.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 (183) hide show
  1. package/README.md +675 -0
  2. package/dist-cjs/Comprehend.js +165 -0
  3. package/dist-cjs/commands/CreateDatasetCommand.js +46 -0
  4. package/dist-cjs/commands/CreateFlywheelCommand.js +46 -0
  5. package/dist-cjs/commands/DeleteFlywheelCommand.js +46 -0
  6. package/dist-cjs/commands/DescribeDatasetCommand.js +46 -0
  7. package/dist-cjs/commands/DescribeFlywheelCommand.js +46 -0
  8. package/dist-cjs/commands/DescribeFlywheelIterationCommand.js +46 -0
  9. package/dist-cjs/commands/ListDatasetsCommand.js +46 -0
  10. package/dist-cjs/commands/ListFlywheelIterationHistoryCommand.js +46 -0
  11. package/dist-cjs/commands/ListFlywheelsCommand.js +46 -0
  12. package/dist-cjs/commands/StartFlywheelIterationCommand.js +46 -0
  13. package/dist-cjs/commands/StopTargetedSentimentDetectionJobCommand.js +3 -3
  14. package/dist-cjs/commands/StopTrainingDocumentClassifierCommand.js +3 -3
  15. package/dist-cjs/commands/StopTrainingEntityRecognizerCommand.js +3 -3
  16. package/dist-cjs/commands/TagResourceCommand.js +3 -3
  17. package/dist-cjs/commands/UntagResourceCommand.js +3 -3
  18. package/dist-cjs/commands/UpdateEndpointCommand.js +3 -3
  19. package/dist-cjs/commands/UpdateFlywheelCommand.js +46 -0
  20. package/dist-cjs/commands/index.js +11 -0
  21. package/dist-cjs/endpoint/ruleset.js +3 -3
  22. package/dist-cjs/models/index.js +1 -0
  23. package/dist-cjs/models/models_0.js +242 -120
  24. package/dist-cjs/models/models_1.js +92 -0
  25. package/dist-cjs/pagination/ListDatasetsPaginator.js +36 -0
  26. package/dist-cjs/pagination/ListFlywheelIterationHistoryPaginator.js +36 -0
  27. package/dist-cjs/pagination/ListFlywheelsPaginator.js +36 -0
  28. package/dist-cjs/pagination/index.js +3 -0
  29. package/dist-cjs/protocols/Aws_json1_1.js +1135 -26
  30. package/dist-es/Comprehend.js +165 -0
  31. package/dist-es/commands/CreateDatasetCommand.js +42 -0
  32. package/dist-es/commands/CreateFlywheelCommand.js +42 -0
  33. package/dist-es/commands/DeleteFlywheelCommand.js +42 -0
  34. package/dist-es/commands/DescribeDatasetCommand.js +42 -0
  35. package/dist-es/commands/DescribeFlywheelCommand.js +42 -0
  36. package/dist-es/commands/DescribeFlywheelIterationCommand.js +42 -0
  37. package/dist-es/commands/ListDatasetsCommand.js +42 -0
  38. package/dist-es/commands/ListFlywheelIterationHistoryCommand.js +42 -0
  39. package/dist-es/commands/ListFlywheelsCommand.js +42 -0
  40. package/dist-es/commands/StartFlywheelIterationCommand.js +42 -0
  41. package/dist-es/commands/StopTargetedSentimentDetectionJobCommand.js +1 -1
  42. package/dist-es/commands/StopTrainingDocumentClassifierCommand.js +1 -1
  43. package/dist-es/commands/StopTrainingEntityRecognizerCommand.js +1 -1
  44. package/dist-es/commands/TagResourceCommand.js +1 -1
  45. package/dist-es/commands/UntagResourceCommand.js +1 -1
  46. package/dist-es/commands/UpdateEndpointCommand.js +1 -1
  47. package/dist-es/commands/UpdateFlywheelCommand.js +42 -0
  48. package/dist-es/commands/index.js +11 -0
  49. package/dist-es/endpoint/ruleset.js +3 -3
  50. package/dist-es/models/index.js +1 -0
  51. package/dist-es/models/models_0.js +191 -95
  52. package/dist-es/models/models_1.js +72 -0
  53. package/dist-es/pagination/ListDatasetsPaginator.js +32 -0
  54. package/dist-es/pagination/ListFlywheelIterationHistoryPaginator.js +32 -0
  55. package/dist-es/pagination/ListFlywheelsPaginator.js +32 -0
  56. package/dist-es/pagination/index.js +3 -0
  57. package/dist-es/protocols/Aws_json1_1.js +1109 -23
  58. package/dist-types/Comprehend.d.ts +107 -4
  59. package/dist-types/ComprehendClient.d.ts +13 -2
  60. package/dist-types/commands/BatchDetectDominantLanguageCommand.d.ts +6 -0
  61. package/dist-types/commands/BatchDetectEntitiesCommand.d.ts +6 -0
  62. package/dist-types/commands/BatchDetectKeyPhrasesCommand.d.ts +6 -0
  63. package/dist-types/commands/BatchDetectSentimentCommand.d.ts +6 -0
  64. package/dist-types/commands/BatchDetectSyntaxCommand.d.ts +6 -0
  65. package/dist-types/commands/BatchDetectTargetedSentimentCommand.d.ts +6 -0
  66. package/dist-types/commands/ClassifyDocumentCommand.d.ts +6 -0
  67. package/dist-types/commands/ContainsPiiEntitiesCommand.d.ts +6 -0
  68. package/dist-types/commands/CreateDatasetCommand.d.ts +45 -0
  69. package/dist-types/commands/CreateDocumentClassifierCommand.d.ts +6 -0
  70. package/dist-types/commands/CreateEndpointCommand.d.ts +6 -0
  71. package/dist-types/commands/CreateEntityRecognizerCommand.d.ts +7 -1
  72. package/dist-types/commands/CreateFlywheelCommand.d.ts +53 -0
  73. package/dist-types/commands/DeleteDocumentClassifierCommand.d.ts +6 -0
  74. package/dist-types/commands/DeleteEndpointCommand.d.ts +6 -0
  75. package/dist-types/commands/DeleteEntityRecognizerCommand.d.ts +6 -0
  76. package/dist-types/commands/DeleteFlywheelCommand.d.ts +46 -0
  77. package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +6 -0
  78. package/dist-types/commands/DescribeDatasetCommand.d.ts +45 -0
  79. package/dist-types/commands/DescribeDocumentClassificationJobCommand.d.ts +6 -0
  80. package/dist-types/commands/DescribeDocumentClassifierCommand.d.ts +6 -0
  81. package/dist-types/commands/DescribeDominantLanguageDetectionJobCommand.d.ts +6 -0
  82. package/dist-types/commands/DescribeEndpointCommand.d.ts +6 -0
  83. package/dist-types/commands/DescribeEntitiesDetectionJobCommand.d.ts +6 -0
  84. package/dist-types/commands/DescribeEntityRecognizerCommand.d.ts +6 -0
  85. package/dist-types/commands/DescribeEventsDetectionJobCommand.d.ts +6 -0
  86. package/dist-types/commands/DescribeFlywheelCommand.d.ts +44 -0
  87. package/dist-types/commands/DescribeFlywheelIterationCommand.d.ts +45 -0
  88. package/dist-types/commands/DescribeKeyPhrasesDetectionJobCommand.d.ts +6 -0
  89. package/dist-types/commands/DescribePiiEntitiesDetectionJobCommand.d.ts +6 -0
  90. package/dist-types/commands/DescribeResourcePolicyCommand.d.ts +6 -0
  91. package/dist-types/commands/DescribeSentimentDetectionJobCommand.d.ts +6 -0
  92. package/dist-types/commands/DescribeTargetedSentimentDetectionJobCommand.d.ts +6 -0
  93. package/dist-types/commands/DescribeTopicsDetectionJobCommand.d.ts +6 -0
  94. package/dist-types/commands/DetectDominantLanguageCommand.d.ts +6 -0
  95. package/dist-types/commands/DetectEntitiesCommand.d.ts +6 -0
  96. package/dist-types/commands/DetectKeyPhrasesCommand.d.ts +6 -0
  97. package/dist-types/commands/DetectPiiEntitiesCommand.d.ts +6 -0
  98. package/dist-types/commands/DetectSentimentCommand.d.ts +6 -0
  99. package/dist-types/commands/DetectSyntaxCommand.d.ts +6 -0
  100. package/dist-types/commands/DetectTargetedSentimentCommand.d.ts +6 -0
  101. package/dist-types/commands/ImportModelCommand.d.ts +6 -0
  102. package/dist-types/commands/ListDatasetsCommand.d.ts +44 -0
  103. package/dist-types/commands/ListDocumentClassificationJobsCommand.d.ts +6 -0
  104. package/dist-types/commands/ListDocumentClassifierSummariesCommand.d.ts +6 -0
  105. package/dist-types/commands/ListDocumentClassifiersCommand.d.ts +6 -0
  106. package/dist-types/commands/ListDominantLanguageDetectionJobsCommand.d.ts +6 -0
  107. package/dist-types/commands/ListEndpointsCommand.d.ts +6 -0
  108. package/dist-types/commands/ListEntitiesDetectionJobsCommand.d.ts +6 -0
  109. package/dist-types/commands/ListEntityRecognizerSummariesCommand.d.ts +6 -0
  110. package/dist-types/commands/ListEntityRecognizersCommand.d.ts +6 -0
  111. package/dist-types/commands/ListEventsDetectionJobsCommand.d.ts +6 -0
  112. package/dist-types/commands/ListFlywheelIterationHistoryCommand.d.ts +45 -0
  113. package/dist-types/commands/ListFlywheelsCommand.d.ts +43 -0
  114. package/dist-types/commands/ListKeyPhrasesDetectionJobsCommand.d.ts +6 -0
  115. package/dist-types/commands/ListPiiEntitiesDetectionJobsCommand.d.ts +6 -0
  116. package/dist-types/commands/ListSentimentDetectionJobsCommand.d.ts +6 -0
  117. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -0
  118. package/dist-types/commands/ListTargetedSentimentDetectionJobsCommand.d.ts +6 -0
  119. package/dist-types/commands/ListTopicsDetectionJobsCommand.d.ts +6 -0
  120. package/dist-types/commands/PutResourcePolicyCommand.d.ts +6 -0
  121. package/dist-types/commands/StartDocumentClassificationJobCommand.d.ts +9 -2
  122. package/dist-types/commands/StartDominantLanguageDetectionJobCommand.d.ts +6 -0
  123. package/dist-types/commands/StartEntitiesDetectionJobCommand.d.ts +6 -0
  124. package/dist-types/commands/StartEventsDetectionJobCommand.d.ts +6 -0
  125. package/dist-types/commands/StartFlywheelIterationCommand.d.ts +45 -0
  126. package/dist-types/commands/StartKeyPhrasesDetectionJobCommand.d.ts +6 -0
  127. package/dist-types/commands/StartPiiEntitiesDetectionJobCommand.d.ts +6 -0
  128. package/dist-types/commands/StartSentimentDetectionJobCommand.d.ts +6 -0
  129. package/dist-types/commands/StartTargetedSentimentDetectionJobCommand.d.ts +7 -1
  130. package/dist-types/commands/StartTopicsDetectionJobCommand.d.ts +6 -0
  131. package/dist-types/commands/StopDominantLanguageDetectionJobCommand.d.ts +6 -0
  132. package/dist-types/commands/StopEntitiesDetectionJobCommand.d.ts +6 -0
  133. package/dist-types/commands/StopEventsDetectionJobCommand.d.ts +6 -0
  134. package/dist-types/commands/StopKeyPhrasesDetectionJobCommand.d.ts +6 -0
  135. package/dist-types/commands/StopPiiEntitiesDetectionJobCommand.d.ts +6 -0
  136. package/dist-types/commands/StopSentimentDetectionJobCommand.d.ts +6 -0
  137. package/dist-types/commands/StopTargetedSentimentDetectionJobCommand.d.ts +7 -1
  138. package/dist-types/commands/StopTrainingDocumentClassifierCommand.d.ts +7 -1
  139. package/dist-types/commands/StopTrainingEntityRecognizerCommand.d.ts +7 -1
  140. package/dist-types/commands/TagResourceCommand.d.ts +7 -1
  141. package/dist-types/commands/UntagResourceCommand.d.ts +7 -1
  142. package/dist-types/commands/UpdateEndpointCommand.d.ts +7 -1
  143. package/dist-types/commands/UpdateFlywheelCommand.d.ts +43 -0
  144. package/dist-types/commands/index.d.ts +11 -0
  145. package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
  146. package/dist-types/models/index.d.ts +1 -0
  147. package/dist-types/models/models_0.d.ts +1145 -320
  148. package/dist-types/models/models_1.d.ts +241 -0
  149. package/dist-types/pagination/ListDatasetsPaginator.d.ts +4 -0
  150. package/dist-types/pagination/ListFlywheelIterationHistoryPaginator.d.ts +4 -0
  151. package/dist-types/pagination/ListFlywheelsPaginator.d.ts +4 -0
  152. package/dist-types/pagination/index.d.ts +3 -0
  153. package/dist-types/protocols/Aws_json1_1.d.ts +33 -0
  154. package/dist-types/ts3.4/Comprehend.d.ts +187 -0
  155. package/dist-types/ts3.4/ComprehendClient.d.ts +68 -2
  156. package/dist-types/ts3.4/commands/CreateDatasetCommand.d.ts +37 -0
  157. package/dist-types/ts3.4/commands/CreateFlywheelCommand.d.ts +37 -0
  158. package/dist-types/ts3.4/commands/DeleteFlywheelCommand.d.ts +37 -0
  159. package/dist-types/ts3.4/commands/DescribeDatasetCommand.d.ts +37 -0
  160. package/dist-types/ts3.4/commands/DescribeFlywheelCommand.d.ts +37 -0
  161. package/dist-types/ts3.4/commands/DescribeFlywheelIterationCommand.d.ts +41 -0
  162. package/dist-types/ts3.4/commands/ListDatasetsCommand.d.ts +34 -0
  163. package/dist-types/ts3.4/commands/ListFlywheelIterationHistoryCommand.d.ts +41 -0
  164. package/dist-types/ts3.4/commands/ListFlywheelsCommand.d.ts +37 -0
  165. package/dist-types/ts3.4/commands/StartFlywheelIterationCommand.d.ts +41 -0
  166. package/dist-types/ts3.4/commands/StopTargetedSentimentDetectionJobCommand.d.ts +1 -1
  167. package/dist-types/ts3.4/commands/StopTrainingDocumentClassifierCommand.d.ts +1 -1
  168. package/dist-types/ts3.4/commands/StopTrainingEntityRecognizerCommand.d.ts +1 -1
  169. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -1
  170. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -1
  171. package/dist-types/ts3.4/commands/UpdateEndpointCommand.d.ts +1 -1
  172. package/dist-types/ts3.4/commands/UpdateFlywheelCommand.d.ts +37 -0
  173. package/dist-types/ts3.4/commands/index.d.ts +11 -0
  174. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
  175. package/dist-types/ts3.4/models/index.d.ts +1 -0
  176. package/dist-types/ts3.4/models/models_0.d.ts +424 -138
  177. package/dist-types/ts3.4/models/models_1.d.ts +116 -0
  178. package/dist-types/ts3.4/pagination/ListDatasetsPaginator.d.ts +11 -0
  179. package/dist-types/ts3.4/pagination/ListFlywheelIterationHistoryPaginator.d.ts +11 -0
  180. package/dist-types/ts3.4/pagination/ListFlywheelsPaginator.d.ts +11 -0
  181. package/dist-types/ts3.4/pagination/index.d.ts +3 -0
  182. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +132 -0
  183. package/package.json +6 -6
@@ -0,0 +1,37 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@aws-sdk/types";
9
+ import {
10
+ ComprehendClientResolvedConfig,
11
+ ServiceInputTypes,
12
+ ServiceOutputTypes,
13
+ } from "../ComprehendClient";
14
+ import {
15
+ DescribeFlywheelRequest,
16
+ DescribeFlywheelResponse,
17
+ } from "../models/models_0";
18
+ export interface DescribeFlywheelCommandInput extends DescribeFlywheelRequest {}
19
+ export interface DescribeFlywheelCommandOutput
20
+ extends DescribeFlywheelResponse,
21
+ __MetadataBearer {}
22
+ export declare class DescribeFlywheelCommand extends $Command<
23
+ DescribeFlywheelCommandInput,
24
+ DescribeFlywheelCommandOutput,
25
+ ComprehendClientResolvedConfig
26
+ > {
27
+ readonly input: DescribeFlywheelCommandInput;
28
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
29
+ constructor(input: DescribeFlywheelCommandInput);
30
+ resolveMiddleware(
31
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
32
+ configuration: ComprehendClientResolvedConfig,
33
+ options?: __HttpHandlerOptions
34
+ ): Handler<DescribeFlywheelCommandInput, DescribeFlywheelCommandOutput>;
35
+ private serialize;
36
+ private deserialize;
37
+ }
@@ -0,0 +1,41 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@aws-sdk/types";
9
+ import {
10
+ ComprehendClientResolvedConfig,
11
+ ServiceInputTypes,
12
+ ServiceOutputTypes,
13
+ } from "../ComprehendClient";
14
+ import {
15
+ DescribeFlywheelIterationRequest,
16
+ DescribeFlywheelIterationResponse,
17
+ } from "../models/models_0";
18
+ export interface DescribeFlywheelIterationCommandInput
19
+ extends DescribeFlywheelIterationRequest {}
20
+ export interface DescribeFlywheelIterationCommandOutput
21
+ extends DescribeFlywheelIterationResponse,
22
+ __MetadataBearer {}
23
+ export declare class DescribeFlywheelIterationCommand extends $Command<
24
+ DescribeFlywheelIterationCommandInput,
25
+ DescribeFlywheelIterationCommandOutput,
26
+ ComprehendClientResolvedConfig
27
+ > {
28
+ readonly input: DescribeFlywheelIterationCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
+ constructor(input: DescribeFlywheelIterationCommandInput);
31
+ resolveMiddleware(
32
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
+ configuration: ComprehendClientResolvedConfig,
34
+ options?: __HttpHandlerOptions
35
+ ): Handler<
36
+ DescribeFlywheelIterationCommandInput,
37
+ DescribeFlywheelIterationCommandOutput
38
+ >;
39
+ private serialize;
40
+ private deserialize;
41
+ }
@@ -0,0 +1,34 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@aws-sdk/types";
9
+ import {
10
+ ComprehendClientResolvedConfig,
11
+ ServiceInputTypes,
12
+ ServiceOutputTypes,
13
+ } from "../ComprehendClient";
14
+ import { ListDatasetsRequest, ListDatasetsResponse } from "../models/models_0";
15
+ export interface ListDatasetsCommandInput extends ListDatasetsRequest {}
16
+ export interface ListDatasetsCommandOutput
17
+ extends ListDatasetsResponse,
18
+ __MetadataBearer {}
19
+ export declare class ListDatasetsCommand extends $Command<
20
+ ListDatasetsCommandInput,
21
+ ListDatasetsCommandOutput,
22
+ ComprehendClientResolvedConfig
23
+ > {
24
+ readonly input: ListDatasetsCommandInput;
25
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
26
+ constructor(input: ListDatasetsCommandInput);
27
+ resolveMiddleware(
28
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
29
+ configuration: ComprehendClientResolvedConfig,
30
+ options?: __HttpHandlerOptions
31
+ ): Handler<ListDatasetsCommandInput, ListDatasetsCommandOutput>;
32
+ private serialize;
33
+ private deserialize;
34
+ }
@@ -0,0 +1,41 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@aws-sdk/types";
9
+ import {
10
+ ComprehendClientResolvedConfig,
11
+ ServiceInputTypes,
12
+ ServiceOutputTypes,
13
+ } from "../ComprehendClient";
14
+ import {
15
+ ListFlywheelIterationHistoryRequest,
16
+ ListFlywheelIterationHistoryResponse,
17
+ } from "../models/models_0";
18
+ export interface ListFlywheelIterationHistoryCommandInput
19
+ extends ListFlywheelIterationHistoryRequest {}
20
+ export interface ListFlywheelIterationHistoryCommandOutput
21
+ extends ListFlywheelIterationHistoryResponse,
22
+ __MetadataBearer {}
23
+ export declare class ListFlywheelIterationHistoryCommand extends $Command<
24
+ ListFlywheelIterationHistoryCommandInput,
25
+ ListFlywheelIterationHistoryCommandOutput,
26
+ ComprehendClientResolvedConfig
27
+ > {
28
+ readonly input: ListFlywheelIterationHistoryCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
+ constructor(input: ListFlywheelIterationHistoryCommandInput);
31
+ resolveMiddleware(
32
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
+ configuration: ComprehendClientResolvedConfig,
34
+ options?: __HttpHandlerOptions
35
+ ): Handler<
36
+ ListFlywheelIterationHistoryCommandInput,
37
+ ListFlywheelIterationHistoryCommandOutput
38
+ >;
39
+ private serialize;
40
+ private deserialize;
41
+ }
@@ -0,0 +1,37 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@aws-sdk/types";
9
+ import {
10
+ ComprehendClientResolvedConfig,
11
+ ServiceInputTypes,
12
+ ServiceOutputTypes,
13
+ } from "../ComprehendClient";
14
+ import {
15
+ ListFlywheelsRequest,
16
+ ListFlywheelsResponse,
17
+ } from "../models/models_0";
18
+ export interface ListFlywheelsCommandInput extends ListFlywheelsRequest {}
19
+ export interface ListFlywheelsCommandOutput
20
+ extends ListFlywheelsResponse,
21
+ __MetadataBearer {}
22
+ export declare class ListFlywheelsCommand extends $Command<
23
+ ListFlywheelsCommandInput,
24
+ ListFlywheelsCommandOutput,
25
+ ComprehendClientResolvedConfig
26
+ > {
27
+ readonly input: ListFlywheelsCommandInput;
28
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
29
+ constructor(input: ListFlywheelsCommandInput);
30
+ resolveMiddleware(
31
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
32
+ configuration: ComprehendClientResolvedConfig,
33
+ options?: __HttpHandlerOptions
34
+ ): Handler<ListFlywheelsCommandInput, ListFlywheelsCommandOutput>;
35
+ private serialize;
36
+ private deserialize;
37
+ }
@@ -0,0 +1,41 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@aws-sdk/types";
9
+ import {
10
+ ComprehendClientResolvedConfig,
11
+ ServiceInputTypes,
12
+ ServiceOutputTypes,
13
+ } from "../ComprehendClient";
14
+ import {
15
+ StartFlywheelIterationRequest,
16
+ StartFlywheelIterationResponse,
17
+ } from "../models/models_0";
18
+ export interface StartFlywheelIterationCommandInput
19
+ extends StartFlywheelIterationRequest {}
20
+ export interface StartFlywheelIterationCommandOutput
21
+ extends StartFlywheelIterationResponse,
22
+ __MetadataBearer {}
23
+ export declare class StartFlywheelIterationCommand extends $Command<
24
+ StartFlywheelIterationCommandInput,
25
+ StartFlywheelIterationCommandOutput,
26
+ ComprehendClientResolvedConfig
27
+ > {
28
+ readonly input: StartFlywheelIterationCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
+ constructor(input: StartFlywheelIterationCommandInput);
31
+ resolveMiddleware(
32
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
+ configuration: ComprehendClientResolvedConfig,
34
+ options?: __HttpHandlerOptions
35
+ ): Handler<
36
+ StartFlywheelIterationCommandInput,
37
+ StartFlywheelIterationCommandOutput
38
+ >;
39
+ private serialize;
40
+ private deserialize;
41
+ }
@@ -14,7 +14,7 @@ import {
14
14
  import {
15
15
  StopTargetedSentimentDetectionJobRequest,
16
16
  StopTargetedSentimentDetectionJobResponse,
17
- } from "../models/models_0";
17
+ } from "../models/models_1";
18
18
  export interface StopTargetedSentimentDetectionJobCommandInput
19
19
  extends StopTargetedSentimentDetectionJobRequest {}
20
20
  export interface StopTargetedSentimentDetectionJobCommandOutput
@@ -14,7 +14,7 @@ import {
14
14
  import {
15
15
  StopTrainingDocumentClassifierRequest,
16
16
  StopTrainingDocumentClassifierResponse,
17
- } from "../models/models_0";
17
+ } from "../models/models_1";
18
18
  export interface StopTrainingDocumentClassifierCommandInput
19
19
  extends StopTrainingDocumentClassifierRequest {}
20
20
  export interface StopTrainingDocumentClassifierCommandOutput
@@ -14,7 +14,7 @@ import {
14
14
  import {
15
15
  StopTrainingEntityRecognizerRequest,
16
16
  StopTrainingEntityRecognizerResponse,
17
- } from "../models/models_0";
17
+ } from "../models/models_1";
18
18
  export interface StopTrainingEntityRecognizerCommandInput
19
19
  extends StopTrainingEntityRecognizerRequest {}
20
20
  export interface StopTrainingEntityRecognizerCommandOutput
@@ -11,7 +11,7 @@ import {
11
11
  ServiceInputTypes,
12
12
  ServiceOutputTypes,
13
13
  } from "../ComprehendClient";
14
- import { TagResourceRequest, TagResourceResponse } from "../models/models_0";
14
+ import { TagResourceRequest, TagResourceResponse } from "../models/models_1";
15
15
  export interface TagResourceCommandInput extends TagResourceRequest {}
16
16
  export interface TagResourceCommandOutput
17
17
  extends TagResourceResponse,
@@ -14,7 +14,7 @@ import {
14
14
  import {
15
15
  UntagResourceRequest,
16
16
  UntagResourceResponse,
17
- } from "../models/models_0";
17
+ } from "../models/models_1";
18
18
  export interface UntagResourceCommandInput extends UntagResourceRequest {}
19
19
  export interface UntagResourceCommandOutput
20
20
  extends UntagResourceResponse,
@@ -14,7 +14,7 @@ import {
14
14
  import {
15
15
  UpdateEndpointRequest,
16
16
  UpdateEndpointResponse,
17
- } from "../models/models_0";
17
+ } from "../models/models_1";
18
18
  export interface UpdateEndpointCommandInput extends UpdateEndpointRequest {}
19
19
  export interface UpdateEndpointCommandOutput
20
20
  extends UpdateEndpointResponse,
@@ -0,0 +1,37 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@aws-sdk/types";
9
+ import {
10
+ ComprehendClientResolvedConfig,
11
+ ServiceInputTypes,
12
+ ServiceOutputTypes,
13
+ } from "../ComprehendClient";
14
+ import {
15
+ UpdateFlywheelRequest,
16
+ UpdateFlywheelResponse,
17
+ } from "../models/models_1";
18
+ export interface UpdateFlywheelCommandInput extends UpdateFlywheelRequest {}
19
+ export interface UpdateFlywheelCommandOutput
20
+ extends UpdateFlywheelResponse,
21
+ __MetadataBearer {}
22
+ export declare class UpdateFlywheelCommand extends $Command<
23
+ UpdateFlywheelCommandInput,
24
+ UpdateFlywheelCommandOutput,
25
+ ComprehendClientResolvedConfig
26
+ > {
27
+ readonly input: UpdateFlywheelCommandInput;
28
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
29
+ constructor(input: UpdateFlywheelCommandInput);
30
+ resolveMiddleware(
31
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
32
+ configuration: ComprehendClientResolvedConfig,
33
+ options?: __HttpHandlerOptions
34
+ ): Handler<UpdateFlywheelCommandInput, UpdateFlywheelCommandOutput>;
35
+ private serialize;
36
+ private deserialize;
37
+ }
@@ -6,13 +6,17 @@ export * from "./BatchDetectSyntaxCommand";
6
6
  export * from "./BatchDetectTargetedSentimentCommand";
7
7
  export * from "./ClassifyDocumentCommand";
8
8
  export * from "./ContainsPiiEntitiesCommand";
9
+ export * from "./CreateDatasetCommand";
9
10
  export * from "./CreateDocumentClassifierCommand";
10
11
  export * from "./CreateEndpointCommand";
11
12
  export * from "./CreateEntityRecognizerCommand";
13
+ export * from "./CreateFlywheelCommand";
12
14
  export * from "./DeleteDocumentClassifierCommand";
13
15
  export * from "./DeleteEndpointCommand";
14
16
  export * from "./DeleteEntityRecognizerCommand";
17
+ export * from "./DeleteFlywheelCommand";
15
18
  export * from "./DeleteResourcePolicyCommand";
19
+ export * from "./DescribeDatasetCommand";
16
20
  export * from "./DescribeDocumentClassificationJobCommand";
17
21
  export * from "./DescribeDocumentClassifierCommand";
18
22
  export * from "./DescribeDominantLanguageDetectionJobCommand";
@@ -20,6 +24,8 @@ export * from "./DescribeEndpointCommand";
20
24
  export * from "./DescribeEntitiesDetectionJobCommand";
21
25
  export * from "./DescribeEntityRecognizerCommand";
22
26
  export * from "./DescribeEventsDetectionJobCommand";
27
+ export * from "./DescribeFlywheelCommand";
28
+ export * from "./DescribeFlywheelIterationCommand";
23
29
  export * from "./DescribeKeyPhrasesDetectionJobCommand";
24
30
  export * from "./DescribePiiEntitiesDetectionJobCommand";
25
31
  export * from "./DescribeResourcePolicyCommand";
@@ -34,6 +40,7 @@ export * from "./DetectSentimentCommand";
34
40
  export * from "./DetectSyntaxCommand";
35
41
  export * from "./DetectTargetedSentimentCommand";
36
42
  export * from "./ImportModelCommand";
43
+ export * from "./ListDatasetsCommand";
37
44
  export * from "./ListDocumentClassificationJobsCommand";
38
45
  export * from "./ListDocumentClassifierSummariesCommand";
39
46
  export * from "./ListDocumentClassifiersCommand";
@@ -43,6 +50,8 @@ export * from "./ListEntitiesDetectionJobsCommand";
43
50
  export * from "./ListEntityRecognizerSummariesCommand";
44
51
  export * from "./ListEntityRecognizersCommand";
45
52
  export * from "./ListEventsDetectionJobsCommand";
53
+ export * from "./ListFlywheelIterationHistoryCommand";
54
+ export * from "./ListFlywheelsCommand";
46
55
  export * from "./ListKeyPhrasesDetectionJobsCommand";
47
56
  export * from "./ListPiiEntitiesDetectionJobsCommand";
48
57
  export * from "./ListSentimentDetectionJobsCommand";
@@ -54,6 +63,7 @@ export * from "./StartDocumentClassificationJobCommand";
54
63
  export * from "./StartDominantLanguageDetectionJobCommand";
55
64
  export * from "./StartEntitiesDetectionJobCommand";
56
65
  export * from "./StartEventsDetectionJobCommand";
66
+ export * from "./StartFlywheelIterationCommand";
57
67
  export * from "./StartKeyPhrasesDetectionJobCommand";
58
68
  export * from "./StartPiiEntitiesDetectionJobCommand";
59
69
  export * from "./StartSentimentDetectionJobCommand";
@@ -71,3 +81,4 @@ export * from "./StopTrainingEntityRecognizerCommand";
71
81
  export * from "./TagResourceCommand";
72
82
  export * from "./UntagResourceCommand";
73
83
  export * from "./UpdateEndpointCommand";
84
+ export * from "./UpdateFlywheelCommand";
@@ -27,7 +27,7 @@ export declare const resolveClientEndpointParameters: <T>(
27
27
  defaultSigningName: string;
28
28
  };
29
29
  export interface EndpointParameters extends __EndpointParameters {
30
- Region: string;
30
+ Region?: string;
31
31
  UseDualStack?: boolean;
32
32
  UseFIPS?: boolean;
33
33
  Endpoint?: string;
@@ -1 +1,2 @@
1
1
  export * from "./models_0";
2
+ export * from "./models_1";