@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,116 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { ComprehendServiceException as __BaseException } from "./ComprehendServiceException";
3
+ import { FlywheelProperties, JobStatus, Tag, VpcConfig } from "./models_0";
4
+ export interface StopTargetedSentimentDetectionJobRequest {
5
+ JobId: string | undefined;
6
+ }
7
+ export interface StopTargetedSentimentDetectionJobResponse {
8
+ JobId?: string;
9
+ JobStatus?: JobStatus | string;
10
+ }
11
+ export interface StopTrainingDocumentClassifierRequest {
12
+ DocumentClassifierArn: string | undefined;
13
+ }
14
+ export interface StopTrainingDocumentClassifierResponse {}
15
+ export interface StopTrainingEntityRecognizerRequest {
16
+ EntityRecognizerArn: string | undefined;
17
+ }
18
+ export interface StopTrainingEntityRecognizerResponse {}
19
+ export declare class ConcurrentModificationException extends __BaseException {
20
+ readonly name: "ConcurrentModificationException";
21
+ readonly $fault: "client";
22
+ Message?: string;
23
+ constructor(
24
+ opts: __ExceptionOptionType<
25
+ ConcurrentModificationException,
26
+ __BaseException
27
+ >
28
+ );
29
+ }
30
+ export interface TagResourceRequest {
31
+ ResourceArn: string | undefined;
32
+ Tags: Tag[] | undefined;
33
+ }
34
+ export interface TagResourceResponse {}
35
+ export declare class TooManyTagKeysException extends __BaseException {
36
+ readonly name: "TooManyTagKeysException";
37
+ readonly $fault: "client";
38
+ Message?: string;
39
+ constructor(
40
+ opts: __ExceptionOptionType<TooManyTagKeysException, __BaseException>
41
+ );
42
+ }
43
+ export interface UntagResourceRequest {
44
+ ResourceArn: string | undefined;
45
+ TagKeys: string[] | undefined;
46
+ }
47
+ export interface UntagResourceResponse {}
48
+ export interface UpdateEndpointRequest {
49
+ EndpointArn: string | undefined;
50
+ DesiredModelArn?: string;
51
+ DesiredInferenceUnits?: number;
52
+ DesiredDataAccessRoleArn?: string;
53
+ FlywheelArn?: string;
54
+ }
55
+ export interface UpdateEndpointResponse {
56
+ DesiredModelArn?: string;
57
+ }
58
+ export interface UpdateDataSecurityConfig {
59
+ ModelKmsKeyId?: string;
60
+ VolumeKmsKeyId?: string;
61
+ VpcConfig?: VpcConfig;
62
+ }
63
+ export interface UpdateFlywheelRequest {
64
+ FlywheelArn: string | undefined;
65
+ ActiveModelArn?: string;
66
+ DataAccessRoleArn?: string;
67
+ DataSecurityConfig?: UpdateDataSecurityConfig;
68
+ }
69
+ export interface UpdateFlywheelResponse {
70
+ FlywheelProperties?: FlywheelProperties;
71
+ }
72
+ export declare const StopTargetedSentimentDetectionJobRequestFilterSensitiveLog: (
73
+ obj: StopTargetedSentimentDetectionJobRequest
74
+ ) => any;
75
+ export declare const StopTargetedSentimentDetectionJobResponseFilterSensitiveLog: (
76
+ obj: StopTargetedSentimentDetectionJobResponse
77
+ ) => any;
78
+ export declare const StopTrainingDocumentClassifierRequestFilterSensitiveLog: (
79
+ obj: StopTrainingDocumentClassifierRequest
80
+ ) => any;
81
+ export declare const StopTrainingDocumentClassifierResponseFilterSensitiveLog: (
82
+ obj: StopTrainingDocumentClassifierResponse
83
+ ) => any;
84
+ export declare const StopTrainingEntityRecognizerRequestFilterSensitiveLog: (
85
+ obj: StopTrainingEntityRecognizerRequest
86
+ ) => any;
87
+ export declare const StopTrainingEntityRecognizerResponseFilterSensitiveLog: (
88
+ obj: StopTrainingEntityRecognizerResponse
89
+ ) => any;
90
+ export declare const TagResourceRequestFilterSensitiveLog: (
91
+ obj: TagResourceRequest
92
+ ) => any;
93
+ export declare const TagResourceResponseFilterSensitiveLog: (
94
+ obj: TagResourceResponse
95
+ ) => any;
96
+ export declare const UntagResourceRequestFilterSensitiveLog: (
97
+ obj: UntagResourceRequest
98
+ ) => any;
99
+ export declare const UntagResourceResponseFilterSensitiveLog: (
100
+ obj: UntagResourceResponse
101
+ ) => any;
102
+ export declare const UpdateEndpointRequestFilterSensitiveLog: (
103
+ obj: UpdateEndpointRequest
104
+ ) => any;
105
+ export declare const UpdateEndpointResponseFilterSensitiveLog: (
106
+ obj: UpdateEndpointResponse
107
+ ) => any;
108
+ export declare const UpdateDataSecurityConfigFilterSensitiveLog: (
109
+ obj: UpdateDataSecurityConfig
110
+ ) => any;
111
+ export declare const UpdateFlywheelRequestFilterSensitiveLog: (
112
+ obj: UpdateFlywheelRequest
113
+ ) => any;
114
+ export declare const UpdateFlywheelResponseFilterSensitiveLog: (
115
+ obj: UpdateFlywheelResponse
116
+ ) => any;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@aws-sdk/types";
2
+ import {
3
+ ListDatasetsCommandInput,
4
+ ListDatasetsCommandOutput,
5
+ } from "../commands/ListDatasetsCommand";
6
+ import { ComprehendPaginationConfiguration } from "./Interfaces";
7
+ export declare function paginateListDatasets(
8
+ config: ComprehendPaginationConfiguration,
9
+ input: ListDatasetsCommandInput,
10
+ ...additionalArguments: any
11
+ ): Paginator<ListDatasetsCommandOutput>;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@aws-sdk/types";
2
+ import {
3
+ ListFlywheelIterationHistoryCommandInput,
4
+ ListFlywheelIterationHistoryCommandOutput,
5
+ } from "../commands/ListFlywheelIterationHistoryCommand";
6
+ import { ComprehendPaginationConfiguration } from "./Interfaces";
7
+ export declare function paginateListFlywheelIterationHistory(
8
+ config: ComprehendPaginationConfiguration,
9
+ input: ListFlywheelIterationHistoryCommandInput,
10
+ ...additionalArguments: any
11
+ ): Paginator<ListFlywheelIterationHistoryCommandOutput>;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@aws-sdk/types";
2
+ import {
3
+ ListFlywheelsCommandInput,
4
+ ListFlywheelsCommandOutput,
5
+ } from "../commands/ListFlywheelsCommand";
6
+ import { ComprehendPaginationConfiguration } from "./Interfaces";
7
+ export declare function paginateListFlywheels(
8
+ config: ComprehendPaginationConfiguration,
9
+ input: ListFlywheelsCommandInput,
10
+ ...additionalArguments: any
11
+ ): Paginator<ListFlywheelsCommandOutput>;
@@ -1,4 +1,5 @@
1
1
  export * from "./Interfaces";
2
+ export * from "./ListDatasetsPaginator";
2
3
  export * from "./ListDocumentClassificationJobsPaginator";
3
4
  export * from "./ListDocumentClassifierSummariesPaginator";
4
5
  export * from "./ListDocumentClassifiersPaginator";
@@ -8,6 +9,8 @@ export * from "./ListEntitiesDetectionJobsPaginator";
8
9
  export * from "./ListEntityRecognizerSummariesPaginator";
9
10
  export * from "./ListEntityRecognizersPaginator";
10
11
  export * from "./ListEventsDetectionJobsPaginator";
12
+ export * from "./ListFlywheelIterationHistoryPaginator";
13
+ export * from "./ListFlywheelsPaginator";
11
14
  export * from "./ListKeyPhrasesDetectionJobsPaginator";
12
15
  export * from "./ListPiiEntitiesDetectionJobsPaginator";
13
16
  export * from "./ListSentimentDetectionJobsPaginator";
@@ -35,6 +35,10 @@ import {
35
35
  ContainsPiiEntitiesCommandInput,
36
36
  ContainsPiiEntitiesCommandOutput,
37
37
  } from "../commands/ContainsPiiEntitiesCommand";
38
+ import {
39
+ CreateDatasetCommandInput,
40
+ CreateDatasetCommandOutput,
41
+ } from "../commands/CreateDatasetCommand";
38
42
  import {
39
43
  CreateDocumentClassifierCommandInput,
40
44
  CreateDocumentClassifierCommandOutput,
@@ -47,6 +51,10 @@ import {
47
51
  CreateEntityRecognizerCommandInput,
48
52
  CreateEntityRecognizerCommandOutput,
49
53
  } from "../commands/CreateEntityRecognizerCommand";
54
+ import {
55
+ CreateFlywheelCommandInput,
56
+ CreateFlywheelCommandOutput,
57
+ } from "../commands/CreateFlywheelCommand";
50
58
  import {
51
59
  DeleteDocumentClassifierCommandInput,
52
60
  DeleteDocumentClassifierCommandOutput,
@@ -59,10 +67,18 @@ import {
59
67
  DeleteEntityRecognizerCommandInput,
60
68
  DeleteEntityRecognizerCommandOutput,
61
69
  } from "../commands/DeleteEntityRecognizerCommand";
70
+ import {
71
+ DeleteFlywheelCommandInput,
72
+ DeleteFlywheelCommandOutput,
73
+ } from "../commands/DeleteFlywheelCommand";
62
74
  import {
63
75
  DeleteResourcePolicyCommandInput,
64
76
  DeleteResourcePolicyCommandOutput,
65
77
  } from "../commands/DeleteResourcePolicyCommand";
78
+ import {
79
+ DescribeDatasetCommandInput,
80
+ DescribeDatasetCommandOutput,
81
+ } from "../commands/DescribeDatasetCommand";
66
82
  import {
67
83
  DescribeDocumentClassificationJobCommandInput,
68
84
  DescribeDocumentClassificationJobCommandOutput,
@@ -91,6 +107,14 @@ import {
91
107
  DescribeEventsDetectionJobCommandInput,
92
108
  DescribeEventsDetectionJobCommandOutput,
93
109
  } from "../commands/DescribeEventsDetectionJobCommand";
110
+ import {
111
+ DescribeFlywheelCommandInput,
112
+ DescribeFlywheelCommandOutput,
113
+ } from "../commands/DescribeFlywheelCommand";
114
+ import {
115
+ DescribeFlywheelIterationCommandInput,
116
+ DescribeFlywheelIterationCommandOutput,
117
+ } from "../commands/DescribeFlywheelIterationCommand";
94
118
  import {
95
119
  DescribeKeyPhrasesDetectionJobCommandInput,
96
120
  DescribeKeyPhrasesDetectionJobCommandOutput,
@@ -147,6 +171,10 @@ import {
147
171
  ImportModelCommandInput,
148
172
  ImportModelCommandOutput,
149
173
  } from "../commands/ImportModelCommand";
174
+ import {
175
+ ListDatasetsCommandInput,
176
+ ListDatasetsCommandOutput,
177
+ } from "../commands/ListDatasetsCommand";
150
178
  import {
151
179
  ListDocumentClassificationJobsCommandInput,
152
180
  ListDocumentClassificationJobsCommandOutput,
@@ -183,6 +211,14 @@ import {
183
211
  ListEventsDetectionJobsCommandInput,
184
212
  ListEventsDetectionJobsCommandOutput,
185
213
  } from "../commands/ListEventsDetectionJobsCommand";
214
+ import {
215
+ ListFlywheelIterationHistoryCommandInput,
216
+ ListFlywheelIterationHistoryCommandOutput,
217
+ } from "../commands/ListFlywheelIterationHistoryCommand";
218
+ import {
219
+ ListFlywheelsCommandInput,
220
+ ListFlywheelsCommandOutput,
221
+ } from "../commands/ListFlywheelsCommand";
186
222
  import {
187
223
  ListKeyPhrasesDetectionJobsCommandInput,
188
224
  ListKeyPhrasesDetectionJobsCommandOutput,
@@ -227,6 +263,10 @@ import {
227
263
  StartEventsDetectionJobCommandInput,
228
264
  StartEventsDetectionJobCommandOutput,
229
265
  } from "../commands/StartEventsDetectionJobCommand";
266
+ import {
267
+ StartFlywheelIterationCommandInput,
268
+ StartFlywheelIterationCommandOutput,
269
+ } from "../commands/StartFlywheelIterationCommand";
230
270
  import {
231
271
  StartKeyPhrasesDetectionJobCommandInput,
232
272
  StartKeyPhrasesDetectionJobCommandOutput,
@@ -295,6 +335,10 @@ import {
295
335
  UpdateEndpointCommandInput,
296
336
  UpdateEndpointCommandOutput,
297
337
  } from "../commands/UpdateEndpointCommand";
338
+ import {
339
+ UpdateFlywheelCommandInput,
340
+ UpdateFlywheelCommandOutput,
341
+ } from "../commands/UpdateFlywheelCommand";
298
342
  export declare const serializeAws_json1_1BatchDetectDominantLanguageCommand: (
299
343
  input: BatchDetectDominantLanguageCommandInput,
300
344
  context: __SerdeContext
@@ -327,6 +371,10 @@ export declare const serializeAws_json1_1ContainsPiiEntitiesCommand: (
327
371
  input: ContainsPiiEntitiesCommandInput,
328
372
  context: __SerdeContext
329
373
  ) => Promise<__HttpRequest>;
374
+ export declare const serializeAws_json1_1CreateDatasetCommand: (
375
+ input: CreateDatasetCommandInput,
376
+ context: __SerdeContext
377
+ ) => Promise<__HttpRequest>;
330
378
  export declare const serializeAws_json1_1CreateDocumentClassifierCommand: (
331
379
  input: CreateDocumentClassifierCommandInput,
332
380
  context: __SerdeContext
@@ -339,6 +387,10 @@ export declare const serializeAws_json1_1CreateEntityRecognizerCommand: (
339
387
  input: CreateEntityRecognizerCommandInput,
340
388
  context: __SerdeContext
341
389
  ) => Promise<__HttpRequest>;
390
+ export declare const serializeAws_json1_1CreateFlywheelCommand: (
391
+ input: CreateFlywheelCommandInput,
392
+ context: __SerdeContext
393
+ ) => Promise<__HttpRequest>;
342
394
  export declare const serializeAws_json1_1DeleteDocumentClassifierCommand: (
343
395
  input: DeleteDocumentClassifierCommandInput,
344
396
  context: __SerdeContext
@@ -351,10 +403,18 @@ export declare const serializeAws_json1_1DeleteEntityRecognizerCommand: (
351
403
  input: DeleteEntityRecognizerCommandInput,
352
404
  context: __SerdeContext
353
405
  ) => Promise<__HttpRequest>;
406
+ export declare const serializeAws_json1_1DeleteFlywheelCommand: (
407
+ input: DeleteFlywheelCommandInput,
408
+ context: __SerdeContext
409
+ ) => Promise<__HttpRequest>;
354
410
  export declare const serializeAws_json1_1DeleteResourcePolicyCommand: (
355
411
  input: DeleteResourcePolicyCommandInput,
356
412
  context: __SerdeContext
357
413
  ) => Promise<__HttpRequest>;
414
+ export declare const serializeAws_json1_1DescribeDatasetCommand: (
415
+ input: DescribeDatasetCommandInput,
416
+ context: __SerdeContext
417
+ ) => Promise<__HttpRequest>;
358
418
  export declare const serializeAws_json1_1DescribeDocumentClassificationJobCommand: (
359
419
  input: DescribeDocumentClassificationJobCommandInput,
360
420
  context: __SerdeContext
@@ -383,6 +443,14 @@ export declare const serializeAws_json1_1DescribeEventsDetectionJobCommand: (
383
443
  input: DescribeEventsDetectionJobCommandInput,
384
444
  context: __SerdeContext
385
445
  ) => Promise<__HttpRequest>;
446
+ export declare const serializeAws_json1_1DescribeFlywheelCommand: (
447
+ input: DescribeFlywheelCommandInput,
448
+ context: __SerdeContext
449
+ ) => Promise<__HttpRequest>;
450
+ export declare const serializeAws_json1_1DescribeFlywheelIterationCommand: (
451
+ input: DescribeFlywheelIterationCommandInput,
452
+ context: __SerdeContext
453
+ ) => Promise<__HttpRequest>;
386
454
  export declare const serializeAws_json1_1DescribeKeyPhrasesDetectionJobCommand: (
387
455
  input: DescribeKeyPhrasesDetectionJobCommandInput,
388
456
  context: __SerdeContext
@@ -439,6 +507,10 @@ export declare const serializeAws_json1_1ImportModelCommand: (
439
507
  input: ImportModelCommandInput,
440
508
  context: __SerdeContext
441
509
  ) => Promise<__HttpRequest>;
510
+ export declare const serializeAws_json1_1ListDatasetsCommand: (
511
+ input: ListDatasetsCommandInput,
512
+ context: __SerdeContext
513
+ ) => Promise<__HttpRequest>;
442
514
  export declare const serializeAws_json1_1ListDocumentClassificationJobsCommand: (
443
515
  input: ListDocumentClassificationJobsCommandInput,
444
516
  context: __SerdeContext
@@ -475,6 +547,14 @@ export declare const serializeAws_json1_1ListEventsDetectionJobsCommand: (
475
547
  input: ListEventsDetectionJobsCommandInput,
476
548
  context: __SerdeContext
477
549
  ) => Promise<__HttpRequest>;
550
+ export declare const serializeAws_json1_1ListFlywheelIterationHistoryCommand: (
551
+ input: ListFlywheelIterationHistoryCommandInput,
552
+ context: __SerdeContext
553
+ ) => Promise<__HttpRequest>;
554
+ export declare const serializeAws_json1_1ListFlywheelsCommand: (
555
+ input: ListFlywheelsCommandInput,
556
+ context: __SerdeContext
557
+ ) => Promise<__HttpRequest>;
478
558
  export declare const serializeAws_json1_1ListKeyPhrasesDetectionJobsCommand: (
479
559
  input: ListKeyPhrasesDetectionJobsCommandInput,
480
560
  context: __SerdeContext
@@ -519,6 +599,10 @@ export declare const serializeAws_json1_1StartEventsDetectionJobCommand: (
519
599
  input: StartEventsDetectionJobCommandInput,
520
600
  context: __SerdeContext
521
601
  ) => Promise<__HttpRequest>;
602
+ export declare const serializeAws_json1_1StartFlywheelIterationCommand: (
603
+ input: StartFlywheelIterationCommandInput,
604
+ context: __SerdeContext
605
+ ) => Promise<__HttpRequest>;
522
606
  export declare const serializeAws_json1_1StartKeyPhrasesDetectionJobCommand: (
523
607
  input: StartKeyPhrasesDetectionJobCommandInput,
524
608
  context: __SerdeContext
@@ -587,6 +671,10 @@ export declare const serializeAws_json1_1UpdateEndpointCommand: (
587
671
  input: UpdateEndpointCommandInput,
588
672
  context: __SerdeContext
589
673
  ) => Promise<__HttpRequest>;
674
+ export declare const serializeAws_json1_1UpdateFlywheelCommand: (
675
+ input: UpdateFlywheelCommandInput,
676
+ context: __SerdeContext
677
+ ) => Promise<__HttpRequest>;
590
678
  export declare const deserializeAws_json1_1BatchDetectDominantLanguageCommand: (
591
679
  output: __HttpResponse,
592
680
  context: __SerdeContext
@@ -619,6 +707,10 @@ export declare const deserializeAws_json1_1ContainsPiiEntitiesCommand: (
619
707
  output: __HttpResponse,
620
708
  context: __SerdeContext
621
709
  ) => Promise<ContainsPiiEntitiesCommandOutput>;
710
+ export declare const deserializeAws_json1_1CreateDatasetCommand: (
711
+ output: __HttpResponse,
712
+ context: __SerdeContext
713
+ ) => Promise<CreateDatasetCommandOutput>;
622
714
  export declare const deserializeAws_json1_1CreateDocumentClassifierCommand: (
623
715
  output: __HttpResponse,
624
716
  context: __SerdeContext
@@ -631,6 +723,10 @@ export declare const deserializeAws_json1_1CreateEntityRecognizerCommand: (
631
723
  output: __HttpResponse,
632
724
  context: __SerdeContext
633
725
  ) => Promise<CreateEntityRecognizerCommandOutput>;
726
+ export declare const deserializeAws_json1_1CreateFlywheelCommand: (
727
+ output: __HttpResponse,
728
+ context: __SerdeContext
729
+ ) => Promise<CreateFlywheelCommandOutput>;
634
730
  export declare const deserializeAws_json1_1DeleteDocumentClassifierCommand: (
635
731
  output: __HttpResponse,
636
732
  context: __SerdeContext
@@ -643,10 +739,18 @@ export declare const deserializeAws_json1_1DeleteEntityRecognizerCommand: (
643
739
  output: __HttpResponse,
644
740
  context: __SerdeContext
645
741
  ) => Promise<DeleteEntityRecognizerCommandOutput>;
742
+ export declare const deserializeAws_json1_1DeleteFlywheelCommand: (
743
+ output: __HttpResponse,
744
+ context: __SerdeContext
745
+ ) => Promise<DeleteFlywheelCommandOutput>;
646
746
  export declare const deserializeAws_json1_1DeleteResourcePolicyCommand: (
647
747
  output: __HttpResponse,
648
748
  context: __SerdeContext
649
749
  ) => Promise<DeleteResourcePolicyCommandOutput>;
750
+ export declare const deserializeAws_json1_1DescribeDatasetCommand: (
751
+ output: __HttpResponse,
752
+ context: __SerdeContext
753
+ ) => Promise<DescribeDatasetCommandOutput>;
650
754
  export declare const deserializeAws_json1_1DescribeDocumentClassificationJobCommand: (
651
755
  output: __HttpResponse,
652
756
  context: __SerdeContext
@@ -675,6 +779,14 @@ export declare const deserializeAws_json1_1DescribeEventsDetectionJobCommand: (
675
779
  output: __HttpResponse,
676
780
  context: __SerdeContext
677
781
  ) => Promise<DescribeEventsDetectionJobCommandOutput>;
782
+ export declare const deserializeAws_json1_1DescribeFlywheelCommand: (
783
+ output: __HttpResponse,
784
+ context: __SerdeContext
785
+ ) => Promise<DescribeFlywheelCommandOutput>;
786
+ export declare const deserializeAws_json1_1DescribeFlywheelIterationCommand: (
787
+ output: __HttpResponse,
788
+ context: __SerdeContext
789
+ ) => Promise<DescribeFlywheelIterationCommandOutput>;
678
790
  export declare const deserializeAws_json1_1DescribeKeyPhrasesDetectionJobCommand: (
679
791
  output: __HttpResponse,
680
792
  context: __SerdeContext
@@ -731,6 +843,10 @@ export declare const deserializeAws_json1_1ImportModelCommand: (
731
843
  output: __HttpResponse,
732
844
  context: __SerdeContext
733
845
  ) => Promise<ImportModelCommandOutput>;
846
+ export declare const deserializeAws_json1_1ListDatasetsCommand: (
847
+ output: __HttpResponse,
848
+ context: __SerdeContext
849
+ ) => Promise<ListDatasetsCommandOutput>;
734
850
  export declare const deserializeAws_json1_1ListDocumentClassificationJobsCommand: (
735
851
  output: __HttpResponse,
736
852
  context: __SerdeContext
@@ -767,6 +883,14 @@ export declare const deserializeAws_json1_1ListEventsDetectionJobsCommand: (
767
883
  output: __HttpResponse,
768
884
  context: __SerdeContext
769
885
  ) => Promise<ListEventsDetectionJobsCommandOutput>;
886
+ export declare const deserializeAws_json1_1ListFlywheelIterationHistoryCommand: (
887
+ output: __HttpResponse,
888
+ context: __SerdeContext
889
+ ) => Promise<ListFlywheelIterationHistoryCommandOutput>;
890
+ export declare const deserializeAws_json1_1ListFlywheelsCommand: (
891
+ output: __HttpResponse,
892
+ context: __SerdeContext
893
+ ) => Promise<ListFlywheelsCommandOutput>;
770
894
  export declare const deserializeAws_json1_1ListKeyPhrasesDetectionJobsCommand: (
771
895
  output: __HttpResponse,
772
896
  context: __SerdeContext
@@ -811,6 +935,10 @@ export declare const deserializeAws_json1_1StartEventsDetectionJobCommand: (
811
935
  output: __HttpResponse,
812
936
  context: __SerdeContext
813
937
  ) => Promise<StartEventsDetectionJobCommandOutput>;
938
+ export declare const deserializeAws_json1_1StartFlywheelIterationCommand: (
939
+ output: __HttpResponse,
940
+ context: __SerdeContext
941
+ ) => Promise<StartFlywheelIterationCommandOutput>;
814
942
  export declare const deserializeAws_json1_1StartKeyPhrasesDetectionJobCommand: (
815
943
  output: __HttpResponse,
816
944
  context: __SerdeContext
@@ -879,3 +1007,7 @@ export declare const deserializeAws_json1_1UpdateEndpointCommand: (
879
1007
  output: __HttpResponse,
880
1008
  context: __SerdeContext
881
1009
  ) => Promise<UpdateEndpointCommandOutput>;
1010
+ export declare const deserializeAws_json1_1UpdateFlywheelCommand: (
1011
+ output: __HttpResponse,
1012
+ context: __SerdeContext
1013
+ ) => Promise<UpdateFlywheelCommandOutput>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-comprehend",
3
3
  "description": "AWS SDK for JavaScript Comprehend Client for Node.js, Browser and React Native",
4
- "version": "3.278.0",
4
+ "version": "3.281.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -20,9 +20,9 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.278.0",
23
+ "@aws-sdk/client-sts": "3.281.0",
24
24
  "@aws-sdk/config-resolver": "3.272.0",
25
- "@aws-sdk/credential-provider-node": "3.278.0",
25
+ "@aws-sdk/credential-provider-node": "3.281.0",
26
26
  "@aws-sdk/fetch-http-handler": "3.272.0",
27
27
  "@aws-sdk/hash-node": "3.272.0",
28
28
  "@aws-sdk/invalid-dependency": "3.272.0",
@@ -39,14 +39,14 @@
39
39
  "@aws-sdk/node-config-provider": "3.272.0",
40
40
  "@aws-sdk/node-http-handler": "3.272.0",
41
41
  "@aws-sdk/protocol-http": "3.272.0",
42
- "@aws-sdk/smithy-client": "3.272.0",
42
+ "@aws-sdk/smithy-client": "3.279.0",
43
43
  "@aws-sdk/types": "3.272.0",
44
44
  "@aws-sdk/url-parser": "3.272.0",
45
45
  "@aws-sdk/util-base64": "3.208.0",
46
46
  "@aws-sdk/util-body-length-browser": "3.188.0",
47
47
  "@aws-sdk/util-body-length-node": "3.208.0",
48
- "@aws-sdk/util-defaults-mode-browser": "3.272.0",
49
- "@aws-sdk/util-defaults-mode-node": "3.272.0",
48
+ "@aws-sdk/util-defaults-mode-browser": "3.279.0",
49
+ "@aws-sdk/util-defaults-mode-node": "3.279.0",
50
50
  "@aws-sdk/util-endpoints": "3.272.0",
51
51
  "@aws-sdk/util-retry": "3.272.0",
52
52
  "@aws-sdk/util-user-agent-browser": "3.272.0",