@aws-sdk/client-comprehend 3.477.0 → 3.481.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 (413) hide show
  1. package/dist-cjs/commands/BatchDetectDominantLanguageCommand.js +18 -41
  2. package/dist-cjs/commands/BatchDetectEntitiesCommand.js +18 -41
  3. package/dist-cjs/commands/BatchDetectKeyPhrasesCommand.js +18 -41
  4. package/dist-cjs/commands/BatchDetectSentimentCommand.js +18 -41
  5. package/dist-cjs/commands/BatchDetectSyntaxCommand.js +18 -41
  6. package/dist-cjs/commands/BatchDetectTargetedSentimentCommand.js +18 -41
  7. package/dist-cjs/commands/ClassifyDocumentCommand.js +18 -41
  8. package/dist-cjs/commands/ContainsPiiEntitiesCommand.js +18 -41
  9. package/dist-cjs/commands/CreateDatasetCommand.js +18 -41
  10. package/dist-cjs/commands/CreateDocumentClassifierCommand.js +18 -41
  11. package/dist-cjs/commands/CreateEndpointCommand.js +18 -41
  12. package/dist-cjs/commands/CreateEntityRecognizerCommand.js +18 -41
  13. package/dist-cjs/commands/CreateFlywheelCommand.js +18 -41
  14. package/dist-cjs/commands/DeleteDocumentClassifierCommand.js +18 -41
  15. package/dist-cjs/commands/DeleteEndpointCommand.js +18 -41
  16. package/dist-cjs/commands/DeleteEntityRecognizerCommand.js +18 -41
  17. package/dist-cjs/commands/DeleteFlywheelCommand.js +18 -41
  18. package/dist-cjs/commands/DeleteResourcePolicyCommand.js +18 -41
  19. package/dist-cjs/commands/DescribeDatasetCommand.js +18 -41
  20. package/dist-cjs/commands/DescribeDocumentClassificationJobCommand.js +18 -41
  21. package/dist-cjs/commands/DescribeDocumentClassifierCommand.js +18 -41
  22. package/dist-cjs/commands/DescribeDominantLanguageDetectionJobCommand.js +18 -41
  23. package/dist-cjs/commands/DescribeEndpointCommand.js +18 -41
  24. package/dist-cjs/commands/DescribeEntitiesDetectionJobCommand.js +18 -41
  25. package/dist-cjs/commands/DescribeEntityRecognizerCommand.js +18 -41
  26. package/dist-cjs/commands/DescribeEventsDetectionJobCommand.js +18 -41
  27. package/dist-cjs/commands/DescribeFlywheelCommand.js +18 -41
  28. package/dist-cjs/commands/DescribeFlywheelIterationCommand.js +18 -41
  29. package/dist-cjs/commands/DescribeKeyPhrasesDetectionJobCommand.js +18 -41
  30. package/dist-cjs/commands/DescribePiiEntitiesDetectionJobCommand.js +18 -41
  31. package/dist-cjs/commands/DescribeResourcePolicyCommand.js +18 -41
  32. package/dist-cjs/commands/DescribeSentimentDetectionJobCommand.js +18 -41
  33. package/dist-cjs/commands/DescribeTargetedSentimentDetectionJobCommand.js +18 -41
  34. package/dist-cjs/commands/DescribeTopicsDetectionJobCommand.js +18 -41
  35. package/dist-cjs/commands/DetectDominantLanguageCommand.js +18 -41
  36. package/dist-cjs/commands/DetectEntitiesCommand.js +18 -41
  37. package/dist-cjs/commands/DetectKeyPhrasesCommand.js +18 -41
  38. package/dist-cjs/commands/DetectPiiEntitiesCommand.js +18 -41
  39. package/dist-cjs/commands/DetectSentimentCommand.js +18 -41
  40. package/dist-cjs/commands/DetectSyntaxCommand.js +18 -41
  41. package/dist-cjs/commands/DetectTargetedSentimentCommand.js +18 -41
  42. package/dist-cjs/commands/DetectToxicContentCommand.js +18 -41
  43. package/dist-cjs/commands/ImportModelCommand.js +18 -41
  44. package/dist-cjs/commands/ListDatasetsCommand.js +18 -41
  45. package/dist-cjs/commands/ListDocumentClassificationJobsCommand.js +18 -41
  46. package/dist-cjs/commands/ListDocumentClassifierSummariesCommand.js +18 -41
  47. package/dist-cjs/commands/ListDocumentClassifiersCommand.js +18 -41
  48. package/dist-cjs/commands/ListDominantLanguageDetectionJobsCommand.js +18 -41
  49. package/dist-cjs/commands/ListEndpointsCommand.js +18 -41
  50. package/dist-cjs/commands/ListEntitiesDetectionJobsCommand.js +18 -41
  51. package/dist-cjs/commands/ListEntityRecognizerSummariesCommand.js +18 -41
  52. package/dist-cjs/commands/ListEntityRecognizersCommand.js +18 -41
  53. package/dist-cjs/commands/ListEventsDetectionJobsCommand.js +18 -41
  54. package/dist-cjs/commands/ListFlywheelIterationHistoryCommand.js +18 -41
  55. package/dist-cjs/commands/ListFlywheelsCommand.js +18 -41
  56. package/dist-cjs/commands/ListKeyPhrasesDetectionJobsCommand.js +18 -41
  57. package/dist-cjs/commands/ListPiiEntitiesDetectionJobsCommand.js +18 -41
  58. package/dist-cjs/commands/ListSentimentDetectionJobsCommand.js +18 -41
  59. package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
  60. package/dist-cjs/commands/ListTargetedSentimentDetectionJobsCommand.js +18 -41
  61. package/dist-cjs/commands/ListTopicsDetectionJobsCommand.js +18 -41
  62. package/dist-cjs/commands/PutResourcePolicyCommand.js +18 -41
  63. package/dist-cjs/commands/StartDocumentClassificationJobCommand.js +18 -41
  64. package/dist-cjs/commands/StartDominantLanguageDetectionJobCommand.js +18 -41
  65. package/dist-cjs/commands/StartEntitiesDetectionJobCommand.js +18 -41
  66. package/dist-cjs/commands/StartEventsDetectionJobCommand.js +18 -41
  67. package/dist-cjs/commands/StartFlywheelIterationCommand.js +18 -41
  68. package/dist-cjs/commands/StartKeyPhrasesDetectionJobCommand.js +18 -41
  69. package/dist-cjs/commands/StartPiiEntitiesDetectionJobCommand.js +18 -41
  70. package/dist-cjs/commands/StartSentimentDetectionJobCommand.js +18 -41
  71. package/dist-cjs/commands/StartTargetedSentimentDetectionJobCommand.js +18 -41
  72. package/dist-cjs/commands/StartTopicsDetectionJobCommand.js +18 -41
  73. package/dist-cjs/commands/StopDominantLanguageDetectionJobCommand.js +18 -41
  74. package/dist-cjs/commands/StopEntitiesDetectionJobCommand.js +18 -41
  75. package/dist-cjs/commands/StopEventsDetectionJobCommand.js +18 -41
  76. package/dist-cjs/commands/StopKeyPhrasesDetectionJobCommand.js +18 -41
  77. package/dist-cjs/commands/StopPiiEntitiesDetectionJobCommand.js +18 -41
  78. package/dist-cjs/commands/StopSentimentDetectionJobCommand.js +18 -41
  79. package/dist-cjs/commands/StopTargetedSentimentDetectionJobCommand.js +18 -41
  80. package/dist-cjs/commands/StopTrainingDocumentClassifierCommand.js +18 -41
  81. package/dist-cjs/commands/StopTrainingEntityRecognizerCommand.js +18 -41
  82. package/dist-cjs/commands/TagResourceCommand.js +18 -41
  83. package/dist-cjs/commands/UntagResourceCommand.js +18 -41
  84. package/dist-cjs/commands/UpdateEndpointCommand.js +18 -41
  85. package/dist-cjs/commands/UpdateFlywheelCommand.js +18 -41
  86. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  87. package/dist-cjs/pagination/ListDatasetsPaginator.js +2 -24
  88. package/dist-cjs/pagination/ListDocumentClassificationJobsPaginator.js +2 -24
  89. package/dist-cjs/pagination/ListDocumentClassifierSummariesPaginator.js +2 -24
  90. package/dist-cjs/pagination/ListDocumentClassifiersPaginator.js +2 -24
  91. package/dist-cjs/pagination/ListDominantLanguageDetectionJobsPaginator.js +2 -24
  92. package/dist-cjs/pagination/ListEndpointsPaginator.js +2 -24
  93. package/dist-cjs/pagination/ListEntitiesDetectionJobsPaginator.js +2 -24
  94. package/dist-cjs/pagination/ListEntityRecognizerSummariesPaginator.js +2 -24
  95. package/dist-cjs/pagination/ListEntityRecognizersPaginator.js +2 -24
  96. package/dist-cjs/pagination/ListEventsDetectionJobsPaginator.js +2 -24
  97. package/dist-cjs/pagination/ListFlywheelIterationHistoryPaginator.js +2 -24
  98. package/dist-cjs/pagination/ListFlywheelsPaginator.js +2 -24
  99. package/dist-cjs/pagination/ListKeyPhrasesDetectionJobsPaginator.js +2 -24
  100. package/dist-cjs/pagination/ListPiiEntitiesDetectionJobsPaginator.js +2 -24
  101. package/dist-cjs/pagination/ListSentimentDetectionJobsPaginator.js +2 -24
  102. package/dist-cjs/pagination/ListTargetedSentimentDetectionJobsPaginator.js +2 -24
  103. package/dist-cjs/pagination/ListTopicsDetectionJobsPaginator.js +2 -24
  104. package/dist-es/commands/BatchDetectDominantLanguageCommand.js +18 -41
  105. package/dist-es/commands/BatchDetectEntitiesCommand.js +18 -41
  106. package/dist-es/commands/BatchDetectKeyPhrasesCommand.js +18 -41
  107. package/dist-es/commands/BatchDetectSentimentCommand.js +18 -41
  108. package/dist-es/commands/BatchDetectSyntaxCommand.js +18 -41
  109. package/dist-es/commands/BatchDetectTargetedSentimentCommand.js +18 -41
  110. package/dist-es/commands/ClassifyDocumentCommand.js +18 -41
  111. package/dist-es/commands/ContainsPiiEntitiesCommand.js +18 -41
  112. package/dist-es/commands/CreateDatasetCommand.js +18 -41
  113. package/dist-es/commands/CreateDocumentClassifierCommand.js +18 -41
  114. package/dist-es/commands/CreateEndpointCommand.js +18 -41
  115. package/dist-es/commands/CreateEntityRecognizerCommand.js +18 -41
  116. package/dist-es/commands/CreateFlywheelCommand.js +18 -41
  117. package/dist-es/commands/DeleteDocumentClassifierCommand.js +18 -41
  118. package/dist-es/commands/DeleteEndpointCommand.js +18 -41
  119. package/dist-es/commands/DeleteEntityRecognizerCommand.js +18 -41
  120. package/dist-es/commands/DeleteFlywheelCommand.js +18 -41
  121. package/dist-es/commands/DeleteResourcePolicyCommand.js +18 -41
  122. package/dist-es/commands/DescribeDatasetCommand.js +18 -41
  123. package/dist-es/commands/DescribeDocumentClassificationJobCommand.js +18 -41
  124. package/dist-es/commands/DescribeDocumentClassifierCommand.js +18 -41
  125. package/dist-es/commands/DescribeDominantLanguageDetectionJobCommand.js +18 -41
  126. package/dist-es/commands/DescribeEndpointCommand.js +18 -41
  127. package/dist-es/commands/DescribeEntitiesDetectionJobCommand.js +18 -41
  128. package/dist-es/commands/DescribeEntityRecognizerCommand.js +18 -41
  129. package/dist-es/commands/DescribeEventsDetectionJobCommand.js +18 -41
  130. package/dist-es/commands/DescribeFlywheelCommand.js +18 -41
  131. package/dist-es/commands/DescribeFlywheelIterationCommand.js +18 -41
  132. package/dist-es/commands/DescribeKeyPhrasesDetectionJobCommand.js +18 -41
  133. package/dist-es/commands/DescribePiiEntitiesDetectionJobCommand.js +18 -41
  134. package/dist-es/commands/DescribeResourcePolicyCommand.js +18 -41
  135. package/dist-es/commands/DescribeSentimentDetectionJobCommand.js +18 -41
  136. package/dist-es/commands/DescribeTargetedSentimentDetectionJobCommand.js +18 -41
  137. package/dist-es/commands/DescribeTopicsDetectionJobCommand.js +18 -41
  138. package/dist-es/commands/DetectDominantLanguageCommand.js +18 -41
  139. package/dist-es/commands/DetectEntitiesCommand.js +18 -41
  140. package/dist-es/commands/DetectKeyPhrasesCommand.js +18 -41
  141. package/dist-es/commands/DetectPiiEntitiesCommand.js +18 -41
  142. package/dist-es/commands/DetectSentimentCommand.js +18 -41
  143. package/dist-es/commands/DetectSyntaxCommand.js +18 -41
  144. package/dist-es/commands/DetectTargetedSentimentCommand.js +18 -41
  145. package/dist-es/commands/DetectToxicContentCommand.js +18 -41
  146. package/dist-es/commands/ImportModelCommand.js +18 -41
  147. package/dist-es/commands/ListDatasetsCommand.js +18 -41
  148. package/dist-es/commands/ListDocumentClassificationJobsCommand.js +18 -41
  149. package/dist-es/commands/ListDocumentClassifierSummariesCommand.js +18 -41
  150. package/dist-es/commands/ListDocumentClassifiersCommand.js +18 -41
  151. package/dist-es/commands/ListDominantLanguageDetectionJobsCommand.js +18 -41
  152. package/dist-es/commands/ListEndpointsCommand.js +18 -41
  153. package/dist-es/commands/ListEntitiesDetectionJobsCommand.js +18 -41
  154. package/dist-es/commands/ListEntityRecognizerSummariesCommand.js +18 -41
  155. package/dist-es/commands/ListEntityRecognizersCommand.js +18 -41
  156. package/dist-es/commands/ListEventsDetectionJobsCommand.js +18 -41
  157. package/dist-es/commands/ListFlywheelIterationHistoryCommand.js +18 -41
  158. package/dist-es/commands/ListFlywheelsCommand.js +18 -41
  159. package/dist-es/commands/ListKeyPhrasesDetectionJobsCommand.js +18 -41
  160. package/dist-es/commands/ListPiiEntitiesDetectionJobsCommand.js +18 -41
  161. package/dist-es/commands/ListSentimentDetectionJobsCommand.js +18 -41
  162. package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
  163. package/dist-es/commands/ListTargetedSentimentDetectionJobsCommand.js +18 -41
  164. package/dist-es/commands/ListTopicsDetectionJobsCommand.js +18 -41
  165. package/dist-es/commands/PutResourcePolicyCommand.js +18 -41
  166. package/dist-es/commands/StartDocumentClassificationJobCommand.js +18 -41
  167. package/dist-es/commands/StartDominantLanguageDetectionJobCommand.js +18 -41
  168. package/dist-es/commands/StartEntitiesDetectionJobCommand.js +18 -41
  169. package/dist-es/commands/StartEventsDetectionJobCommand.js +18 -41
  170. package/dist-es/commands/StartFlywheelIterationCommand.js +18 -41
  171. package/dist-es/commands/StartKeyPhrasesDetectionJobCommand.js +18 -41
  172. package/dist-es/commands/StartPiiEntitiesDetectionJobCommand.js +18 -41
  173. package/dist-es/commands/StartSentimentDetectionJobCommand.js +18 -41
  174. package/dist-es/commands/StartTargetedSentimentDetectionJobCommand.js +18 -41
  175. package/dist-es/commands/StartTopicsDetectionJobCommand.js +18 -41
  176. package/dist-es/commands/StopDominantLanguageDetectionJobCommand.js +18 -41
  177. package/dist-es/commands/StopEntitiesDetectionJobCommand.js +18 -41
  178. package/dist-es/commands/StopEventsDetectionJobCommand.js +18 -41
  179. package/dist-es/commands/StopKeyPhrasesDetectionJobCommand.js +18 -41
  180. package/dist-es/commands/StopPiiEntitiesDetectionJobCommand.js +18 -41
  181. package/dist-es/commands/StopSentimentDetectionJobCommand.js +18 -41
  182. package/dist-es/commands/StopTargetedSentimentDetectionJobCommand.js +18 -41
  183. package/dist-es/commands/StopTrainingDocumentClassifierCommand.js +18 -41
  184. package/dist-es/commands/StopTrainingEntityRecognizerCommand.js +18 -41
  185. package/dist-es/commands/TagResourceCommand.js +18 -41
  186. package/dist-es/commands/UntagResourceCommand.js +18 -41
  187. package/dist-es/commands/UpdateEndpointCommand.js +18 -41
  188. package/dist-es/commands/UpdateFlywheelCommand.js +18 -41
  189. package/dist-es/endpoint/EndpointParameters.js +6 -0
  190. package/dist-es/pagination/ListDatasetsPaginator.js +2 -23
  191. package/dist-es/pagination/ListDocumentClassificationJobsPaginator.js +2 -23
  192. package/dist-es/pagination/ListDocumentClassifierSummariesPaginator.js +2 -23
  193. package/dist-es/pagination/ListDocumentClassifiersPaginator.js +2 -23
  194. package/dist-es/pagination/ListDominantLanguageDetectionJobsPaginator.js +2 -23
  195. package/dist-es/pagination/ListEndpointsPaginator.js +2 -23
  196. package/dist-es/pagination/ListEntitiesDetectionJobsPaginator.js +2 -23
  197. package/dist-es/pagination/ListEntityRecognizerSummariesPaginator.js +2 -23
  198. package/dist-es/pagination/ListEntityRecognizersPaginator.js +2 -23
  199. package/dist-es/pagination/ListEventsDetectionJobsPaginator.js +2 -23
  200. package/dist-es/pagination/ListFlywheelIterationHistoryPaginator.js +2 -23
  201. package/dist-es/pagination/ListFlywheelsPaginator.js +2 -23
  202. package/dist-es/pagination/ListKeyPhrasesDetectionJobsPaginator.js +2 -23
  203. package/dist-es/pagination/ListPiiEntitiesDetectionJobsPaginator.js +2 -23
  204. package/dist-es/pagination/ListSentimentDetectionJobsPaginator.js +2 -23
  205. package/dist-es/pagination/ListTargetedSentimentDetectionJobsPaginator.js +2 -23
  206. package/dist-es/pagination/ListTopicsDetectionJobsPaginator.js +2 -23
  207. package/dist-types/commands/BatchDetectDominantLanguageCommand.d.ts +6 -21
  208. package/dist-types/commands/BatchDetectEntitiesCommand.d.ts +6 -21
  209. package/dist-types/commands/BatchDetectKeyPhrasesCommand.d.ts +6 -21
  210. package/dist-types/commands/BatchDetectSentimentCommand.d.ts +6 -21
  211. package/dist-types/commands/BatchDetectSyntaxCommand.d.ts +6 -21
  212. package/dist-types/commands/BatchDetectTargetedSentimentCommand.d.ts +6 -21
  213. package/dist-types/commands/ClassifyDocumentCommand.d.ts +6 -21
  214. package/dist-types/commands/ContainsPiiEntitiesCommand.d.ts +6 -21
  215. package/dist-types/commands/CreateDatasetCommand.d.ts +6 -21
  216. package/dist-types/commands/CreateDocumentClassifierCommand.d.ts +6 -21
  217. package/dist-types/commands/CreateEndpointCommand.d.ts +6 -21
  218. package/dist-types/commands/CreateEntityRecognizerCommand.d.ts +6 -21
  219. package/dist-types/commands/CreateFlywheelCommand.d.ts +6 -21
  220. package/dist-types/commands/DeleteDocumentClassifierCommand.d.ts +6 -21
  221. package/dist-types/commands/DeleteEndpointCommand.d.ts +6 -21
  222. package/dist-types/commands/DeleteEntityRecognizerCommand.d.ts +6 -21
  223. package/dist-types/commands/DeleteFlywheelCommand.d.ts +6 -21
  224. package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +6 -21
  225. package/dist-types/commands/DescribeDatasetCommand.d.ts +6 -21
  226. package/dist-types/commands/DescribeDocumentClassificationJobCommand.d.ts +6 -21
  227. package/dist-types/commands/DescribeDocumentClassifierCommand.d.ts +6 -21
  228. package/dist-types/commands/DescribeDominantLanguageDetectionJobCommand.d.ts +6 -21
  229. package/dist-types/commands/DescribeEndpointCommand.d.ts +6 -21
  230. package/dist-types/commands/DescribeEntitiesDetectionJobCommand.d.ts +6 -21
  231. package/dist-types/commands/DescribeEntityRecognizerCommand.d.ts +6 -21
  232. package/dist-types/commands/DescribeEventsDetectionJobCommand.d.ts +6 -21
  233. package/dist-types/commands/DescribeFlywheelCommand.d.ts +6 -21
  234. package/dist-types/commands/DescribeFlywheelIterationCommand.d.ts +6 -21
  235. package/dist-types/commands/DescribeKeyPhrasesDetectionJobCommand.d.ts +6 -21
  236. package/dist-types/commands/DescribePiiEntitiesDetectionJobCommand.d.ts +6 -21
  237. package/dist-types/commands/DescribeResourcePolicyCommand.d.ts +6 -21
  238. package/dist-types/commands/DescribeSentimentDetectionJobCommand.d.ts +6 -21
  239. package/dist-types/commands/DescribeTargetedSentimentDetectionJobCommand.d.ts +6 -21
  240. package/dist-types/commands/DescribeTopicsDetectionJobCommand.d.ts +6 -21
  241. package/dist-types/commands/DetectDominantLanguageCommand.d.ts +6 -21
  242. package/dist-types/commands/DetectEntitiesCommand.d.ts +6 -21
  243. package/dist-types/commands/DetectKeyPhrasesCommand.d.ts +6 -21
  244. package/dist-types/commands/DetectPiiEntitiesCommand.d.ts +6 -21
  245. package/dist-types/commands/DetectSentimentCommand.d.ts +6 -21
  246. package/dist-types/commands/DetectSyntaxCommand.d.ts +6 -21
  247. package/dist-types/commands/DetectTargetedSentimentCommand.d.ts +6 -21
  248. package/dist-types/commands/DetectToxicContentCommand.d.ts +6 -21
  249. package/dist-types/commands/ImportModelCommand.d.ts +6 -21
  250. package/dist-types/commands/ListDatasetsCommand.d.ts +6 -21
  251. package/dist-types/commands/ListDocumentClassificationJobsCommand.d.ts +6 -21
  252. package/dist-types/commands/ListDocumentClassifierSummariesCommand.d.ts +6 -21
  253. package/dist-types/commands/ListDocumentClassifiersCommand.d.ts +6 -21
  254. package/dist-types/commands/ListDominantLanguageDetectionJobsCommand.d.ts +6 -21
  255. package/dist-types/commands/ListEndpointsCommand.d.ts +6 -21
  256. package/dist-types/commands/ListEntitiesDetectionJobsCommand.d.ts +6 -21
  257. package/dist-types/commands/ListEntityRecognizerSummariesCommand.d.ts +6 -21
  258. package/dist-types/commands/ListEntityRecognizersCommand.d.ts +6 -21
  259. package/dist-types/commands/ListEventsDetectionJobsCommand.d.ts +6 -21
  260. package/dist-types/commands/ListFlywheelIterationHistoryCommand.d.ts +6 -21
  261. package/dist-types/commands/ListFlywheelsCommand.d.ts +6 -21
  262. package/dist-types/commands/ListKeyPhrasesDetectionJobsCommand.d.ts +6 -21
  263. package/dist-types/commands/ListPiiEntitiesDetectionJobsCommand.d.ts +6 -21
  264. package/dist-types/commands/ListSentimentDetectionJobsCommand.d.ts +6 -21
  265. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
  266. package/dist-types/commands/ListTargetedSentimentDetectionJobsCommand.d.ts +6 -21
  267. package/dist-types/commands/ListTopicsDetectionJobsCommand.d.ts +6 -21
  268. package/dist-types/commands/PutResourcePolicyCommand.d.ts +6 -21
  269. package/dist-types/commands/StartDocumentClassificationJobCommand.d.ts +6 -21
  270. package/dist-types/commands/StartDominantLanguageDetectionJobCommand.d.ts +6 -21
  271. package/dist-types/commands/StartEntitiesDetectionJobCommand.d.ts +6 -21
  272. package/dist-types/commands/StartEventsDetectionJobCommand.d.ts +6 -21
  273. package/dist-types/commands/StartFlywheelIterationCommand.d.ts +6 -21
  274. package/dist-types/commands/StartKeyPhrasesDetectionJobCommand.d.ts +6 -21
  275. package/dist-types/commands/StartPiiEntitiesDetectionJobCommand.d.ts +6 -21
  276. package/dist-types/commands/StartSentimentDetectionJobCommand.d.ts +6 -21
  277. package/dist-types/commands/StartTargetedSentimentDetectionJobCommand.d.ts +6 -21
  278. package/dist-types/commands/StartTopicsDetectionJobCommand.d.ts +6 -21
  279. package/dist-types/commands/StopDominantLanguageDetectionJobCommand.d.ts +6 -21
  280. package/dist-types/commands/StopEntitiesDetectionJobCommand.d.ts +6 -21
  281. package/dist-types/commands/StopEventsDetectionJobCommand.d.ts +6 -21
  282. package/dist-types/commands/StopKeyPhrasesDetectionJobCommand.d.ts +6 -21
  283. package/dist-types/commands/StopPiiEntitiesDetectionJobCommand.d.ts +6 -21
  284. package/dist-types/commands/StopSentimentDetectionJobCommand.d.ts +6 -21
  285. package/dist-types/commands/StopTargetedSentimentDetectionJobCommand.d.ts +6 -21
  286. package/dist-types/commands/StopTrainingDocumentClassifierCommand.d.ts +6 -21
  287. package/dist-types/commands/StopTrainingEntityRecognizerCommand.d.ts +6 -21
  288. package/dist-types/commands/TagResourceCommand.d.ts +6 -21
  289. package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
  290. package/dist-types/commands/UpdateEndpointCommand.d.ts +6 -21
  291. package/dist-types/commands/UpdateFlywheelCommand.d.ts +6 -21
  292. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  293. package/dist-types/pagination/ListDatasetsPaginator.d.ts +1 -1
  294. package/dist-types/pagination/ListDocumentClassificationJobsPaginator.d.ts +1 -1
  295. package/dist-types/pagination/ListDocumentClassifierSummariesPaginator.d.ts +1 -1
  296. package/dist-types/pagination/ListDocumentClassifiersPaginator.d.ts +1 -1
  297. package/dist-types/pagination/ListDominantLanguageDetectionJobsPaginator.d.ts +1 -1
  298. package/dist-types/pagination/ListEndpointsPaginator.d.ts +1 -1
  299. package/dist-types/pagination/ListEntitiesDetectionJobsPaginator.d.ts +1 -1
  300. package/dist-types/pagination/ListEntityRecognizerSummariesPaginator.d.ts +1 -1
  301. package/dist-types/pagination/ListEntityRecognizersPaginator.d.ts +1 -1
  302. package/dist-types/pagination/ListEventsDetectionJobsPaginator.d.ts +1 -1
  303. package/dist-types/pagination/ListFlywheelIterationHistoryPaginator.d.ts +1 -1
  304. package/dist-types/pagination/ListFlywheelsPaginator.d.ts +1 -1
  305. package/dist-types/pagination/ListKeyPhrasesDetectionJobsPaginator.d.ts +1 -1
  306. package/dist-types/pagination/ListPiiEntitiesDetectionJobsPaginator.d.ts +1 -1
  307. package/dist-types/pagination/ListSentimentDetectionJobsPaginator.d.ts +1 -1
  308. package/dist-types/pagination/ListTargetedSentimentDetectionJobsPaginator.d.ts +1 -1
  309. package/dist-types/pagination/ListTopicsDetectionJobsPaginator.d.ts +1 -1
  310. package/dist-types/ts3.4/commands/BatchDetectDominantLanguageCommand.d.ts +12 -24
  311. package/dist-types/ts3.4/commands/BatchDetectEntitiesCommand.d.ts +14 -23
  312. package/dist-types/ts3.4/commands/BatchDetectKeyPhrasesCommand.d.ts +12 -24
  313. package/dist-types/ts3.4/commands/BatchDetectSentimentCommand.d.ts +12 -24
  314. package/dist-types/ts3.4/commands/BatchDetectSyntaxCommand.d.ts +14 -23
  315. package/dist-types/ts3.4/commands/BatchDetectTargetedSentimentCommand.d.ts +12 -24
  316. package/dist-types/ts3.4/commands/ClassifyDocumentCommand.d.ts +14 -23
  317. package/dist-types/ts3.4/commands/ContainsPiiEntitiesCommand.d.ts +14 -23
  318. package/dist-types/ts3.4/commands/CreateDatasetCommand.d.ts +14 -23
  319. package/dist-types/ts3.4/commands/CreateDocumentClassifierCommand.d.ts +12 -24
  320. package/dist-types/ts3.4/commands/CreateEndpointCommand.d.ts +14 -23
  321. package/dist-types/ts3.4/commands/CreateEntityRecognizerCommand.d.ts +12 -24
  322. package/dist-types/ts3.4/commands/CreateFlywheelCommand.d.ts +14 -23
  323. package/dist-types/ts3.4/commands/DeleteDocumentClassifierCommand.d.ts +12 -24
  324. package/dist-types/ts3.4/commands/DeleteEndpointCommand.d.ts +14 -23
  325. package/dist-types/ts3.4/commands/DeleteEntityRecognizerCommand.d.ts +12 -24
  326. package/dist-types/ts3.4/commands/DeleteFlywheelCommand.d.ts +14 -23
  327. package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +12 -24
  328. package/dist-types/ts3.4/commands/DescribeDatasetCommand.d.ts +14 -23
  329. package/dist-types/ts3.4/commands/DescribeDocumentClassificationJobCommand.d.ts +12 -24
  330. package/dist-types/ts3.4/commands/DescribeDocumentClassifierCommand.d.ts +12 -24
  331. package/dist-types/ts3.4/commands/DescribeDominantLanguageDetectionJobCommand.d.ts +12 -24
  332. package/dist-types/ts3.4/commands/DescribeEndpointCommand.d.ts +14 -23
  333. package/dist-types/ts3.4/commands/DescribeEntitiesDetectionJobCommand.d.ts +12 -24
  334. package/dist-types/ts3.4/commands/DescribeEntityRecognizerCommand.d.ts +12 -24
  335. package/dist-types/ts3.4/commands/DescribeEventsDetectionJobCommand.d.ts +12 -24
  336. package/dist-types/ts3.4/commands/DescribeFlywheelCommand.d.ts +14 -23
  337. package/dist-types/ts3.4/commands/DescribeFlywheelIterationCommand.d.ts +12 -24
  338. package/dist-types/ts3.4/commands/DescribeKeyPhrasesDetectionJobCommand.d.ts +12 -24
  339. package/dist-types/ts3.4/commands/DescribePiiEntitiesDetectionJobCommand.d.ts +12 -24
  340. package/dist-types/ts3.4/commands/DescribeResourcePolicyCommand.d.ts +12 -24
  341. package/dist-types/ts3.4/commands/DescribeSentimentDetectionJobCommand.d.ts +12 -24
  342. package/dist-types/ts3.4/commands/DescribeTargetedSentimentDetectionJobCommand.d.ts +12 -24
  343. package/dist-types/ts3.4/commands/DescribeTopicsDetectionJobCommand.d.ts +12 -24
  344. package/dist-types/ts3.4/commands/DetectDominantLanguageCommand.d.ts +12 -24
  345. package/dist-types/ts3.4/commands/DetectEntitiesCommand.d.ts +14 -23
  346. package/dist-types/ts3.4/commands/DetectKeyPhrasesCommand.d.ts +14 -23
  347. package/dist-types/ts3.4/commands/DetectPiiEntitiesCommand.d.ts +14 -23
  348. package/dist-types/ts3.4/commands/DetectSentimentCommand.d.ts +14 -23
  349. package/dist-types/ts3.4/commands/DetectSyntaxCommand.d.ts +14 -23
  350. package/dist-types/ts3.4/commands/DetectTargetedSentimentCommand.d.ts +12 -24
  351. package/dist-types/ts3.4/commands/DetectToxicContentCommand.d.ts +14 -23
  352. package/dist-types/ts3.4/commands/ImportModelCommand.d.ts +14 -23
  353. package/dist-types/ts3.4/commands/ListDatasetsCommand.d.ts +14 -23
  354. package/dist-types/ts3.4/commands/ListDocumentClassificationJobsCommand.d.ts +12 -24
  355. package/dist-types/ts3.4/commands/ListDocumentClassifierSummariesCommand.d.ts +12 -24
  356. package/dist-types/ts3.4/commands/ListDocumentClassifiersCommand.d.ts +12 -24
  357. package/dist-types/ts3.4/commands/ListDominantLanguageDetectionJobsCommand.d.ts +12 -24
  358. package/dist-types/ts3.4/commands/ListEndpointsCommand.d.ts +14 -23
  359. package/dist-types/ts3.4/commands/ListEntitiesDetectionJobsCommand.d.ts +12 -24
  360. package/dist-types/ts3.4/commands/ListEntityRecognizerSummariesCommand.d.ts +12 -24
  361. package/dist-types/ts3.4/commands/ListEntityRecognizersCommand.d.ts +12 -24
  362. package/dist-types/ts3.4/commands/ListEventsDetectionJobsCommand.d.ts +12 -24
  363. package/dist-types/ts3.4/commands/ListFlywheelIterationHistoryCommand.d.ts +12 -24
  364. package/dist-types/ts3.4/commands/ListFlywheelsCommand.d.ts +14 -23
  365. package/dist-types/ts3.4/commands/ListKeyPhrasesDetectionJobsCommand.d.ts +12 -24
  366. package/dist-types/ts3.4/commands/ListPiiEntitiesDetectionJobsCommand.d.ts +12 -24
  367. package/dist-types/ts3.4/commands/ListSentimentDetectionJobsCommand.d.ts +12 -24
  368. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
  369. package/dist-types/ts3.4/commands/ListTargetedSentimentDetectionJobsCommand.d.ts +12 -24
  370. package/dist-types/ts3.4/commands/ListTopicsDetectionJobsCommand.d.ts +12 -24
  371. package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +14 -23
  372. package/dist-types/ts3.4/commands/StartDocumentClassificationJobCommand.d.ts +12 -24
  373. package/dist-types/ts3.4/commands/StartDominantLanguageDetectionJobCommand.d.ts +12 -24
  374. package/dist-types/ts3.4/commands/StartEntitiesDetectionJobCommand.d.ts +12 -24
  375. package/dist-types/ts3.4/commands/StartEventsDetectionJobCommand.d.ts +12 -24
  376. package/dist-types/ts3.4/commands/StartFlywheelIterationCommand.d.ts +12 -24
  377. package/dist-types/ts3.4/commands/StartKeyPhrasesDetectionJobCommand.d.ts +12 -24
  378. package/dist-types/ts3.4/commands/StartPiiEntitiesDetectionJobCommand.d.ts +12 -24
  379. package/dist-types/ts3.4/commands/StartSentimentDetectionJobCommand.d.ts +12 -24
  380. package/dist-types/ts3.4/commands/StartTargetedSentimentDetectionJobCommand.d.ts +12 -24
  381. package/dist-types/ts3.4/commands/StartTopicsDetectionJobCommand.d.ts +12 -24
  382. package/dist-types/ts3.4/commands/StopDominantLanguageDetectionJobCommand.d.ts +12 -24
  383. package/dist-types/ts3.4/commands/StopEntitiesDetectionJobCommand.d.ts +12 -24
  384. package/dist-types/ts3.4/commands/StopEventsDetectionJobCommand.d.ts +12 -24
  385. package/dist-types/ts3.4/commands/StopKeyPhrasesDetectionJobCommand.d.ts +12 -24
  386. package/dist-types/ts3.4/commands/StopPiiEntitiesDetectionJobCommand.d.ts +12 -24
  387. package/dist-types/ts3.4/commands/StopSentimentDetectionJobCommand.d.ts +12 -24
  388. package/dist-types/ts3.4/commands/StopTargetedSentimentDetectionJobCommand.d.ts +12 -24
  389. package/dist-types/ts3.4/commands/StopTrainingDocumentClassifierCommand.d.ts +12 -24
  390. package/dist-types/ts3.4/commands/StopTrainingEntityRecognizerCommand.d.ts +12 -24
  391. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
  392. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
  393. package/dist-types/ts3.4/commands/UpdateEndpointCommand.d.ts +14 -23
  394. package/dist-types/ts3.4/commands/UpdateFlywheelCommand.d.ts +14 -23
  395. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  396. package/dist-types/ts3.4/pagination/ListDatasetsPaginator.d.ts +3 -3
  397. package/dist-types/ts3.4/pagination/ListDocumentClassificationJobsPaginator.d.ts +3 -3
  398. package/dist-types/ts3.4/pagination/ListDocumentClassifierSummariesPaginator.d.ts +3 -3
  399. package/dist-types/ts3.4/pagination/ListDocumentClassifiersPaginator.d.ts +3 -3
  400. package/dist-types/ts3.4/pagination/ListDominantLanguageDetectionJobsPaginator.d.ts +3 -3
  401. package/dist-types/ts3.4/pagination/ListEndpointsPaginator.d.ts +3 -3
  402. package/dist-types/ts3.4/pagination/ListEntitiesDetectionJobsPaginator.d.ts +3 -3
  403. package/dist-types/ts3.4/pagination/ListEntityRecognizerSummariesPaginator.d.ts +3 -3
  404. package/dist-types/ts3.4/pagination/ListEntityRecognizersPaginator.d.ts +3 -3
  405. package/dist-types/ts3.4/pagination/ListEventsDetectionJobsPaginator.d.ts +3 -3
  406. package/dist-types/ts3.4/pagination/ListFlywheelIterationHistoryPaginator.d.ts +3 -3
  407. package/dist-types/ts3.4/pagination/ListFlywheelsPaginator.d.ts +3 -3
  408. package/dist-types/ts3.4/pagination/ListKeyPhrasesDetectionJobsPaginator.d.ts +3 -3
  409. package/dist-types/ts3.4/pagination/ListPiiEntitiesDetectionJobsPaginator.d.ts +3 -3
  410. package/dist-types/ts3.4/pagination/ListSentimentDetectionJobsPaginator.d.ts +3 -3
  411. package/dist-types/ts3.4/pagination/ListTargetedSentimentDetectionJobsPaginator.d.ts +3 -3
  412. package/dist-types/ts3.4/pagination/ListTopicsDetectionJobsPaginator.d.ts +3 -3
  413. package/package.json +11 -10
@@ -5,48 +5,25 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const models_0_1 = require("../models/models_0");
10
10
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
11
- class BatchDetectDominantLanguageCommand extends smithy_client_1.Command {
12
- static getEndpointParameterInstructions() {
13
- return {
14
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
15
- Endpoint: { type: "builtInParams", name: "endpoint" },
16
- Region: { type: "builtInParams", name: "region" },
17
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
18
- };
19
- }
20
- constructor(input) {
21
- super();
22
- this.input = input;
23
- }
24
- resolveMiddleware(clientStack, configuration, options) {
25
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
26
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, BatchDetectDominantLanguageCommand.getEndpointParameterInstructions()));
27
- const stack = clientStack.concat(this.middlewareStack);
28
- const { logger } = configuration;
29
- const clientName = "ComprehendClient";
30
- const commandName = "BatchDetectDominantLanguageCommand";
31
- const handlerExecutionContext = {
32
- logger,
33
- clientName,
34
- commandName,
35
- inputFilterSensitiveLog: models_0_1.BatchDetectDominantLanguageRequestFilterSensitiveLog,
36
- outputFilterSensitiveLog: models_0_1.BatchDetectDominantLanguageResponseFilterSensitiveLog,
37
- [types_1.SMITHY_CONTEXT_KEY]: {
38
- service: "Comprehend_20171127",
39
- operation: "BatchDetectDominantLanguage",
40
- },
41
- };
42
- const { requestHandler } = configuration;
43
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
44
- }
45
- serialize(input, context) {
46
- return (0, Aws_json1_1_1.se_BatchDetectDominantLanguageCommand)(input, context);
47
- }
48
- deserialize(output, context) {
49
- return (0, Aws_json1_1_1.de_BatchDetectDominantLanguageCommand)(output, context);
50
- }
11
+ class BatchDetectDominantLanguageCommand extends smithy_client_1.Command
12
+ .classBuilder()
13
+ .ep({
14
+ ...EndpointParameters_1.commonParams,
15
+ })
16
+ .m(function (Command, cs, config, o) {
17
+ return [
18
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
19
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
20
+ ];
21
+ })
22
+ .s("Comprehend_20171127", "BatchDetectDominantLanguage", {})
23
+ .n("ComprehendClient", "BatchDetectDominantLanguageCommand")
24
+ .f(models_0_1.BatchDetectDominantLanguageRequestFilterSensitiveLog, models_0_1.BatchDetectDominantLanguageResponseFilterSensitiveLog)
25
+ .ser(Aws_json1_1_1.se_BatchDetectDominantLanguageCommand)
26
+ .de(Aws_json1_1_1.de_BatchDetectDominantLanguageCommand)
27
+ .build() {
51
28
  }
52
29
  exports.BatchDetectDominantLanguageCommand = BatchDetectDominantLanguageCommand;
@@ -5,48 +5,25 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const models_0_1 = require("../models/models_0");
10
10
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
11
- class BatchDetectEntitiesCommand extends smithy_client_1.Command {
12
- static getEndpointParameterInstructions() {
13
- return {
14
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
15
- Endpoint: { type: "builtInParams", name: "endpoint" },
16
- Region: { type: "builtInParams", name: "region" },
17
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
18
- };
19
- }
20
- constructor(input) {
21
- super();
22
- this.input = input;
23
- }
24
- resolveMiddleware(clientStack, configuration, options) {
25
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
26
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, BatchDetectEntitiesCommand.getEndpointParameterInstructions()));
27
- const stack = clientStack.concat(this.middlewareStack);
28
- const { logger } = configuration;
29
- const clientName = "ComprehendClient";
30
- const commandName = "BatchDetectEntitiesCommand";
31
- const handlerExecutionContext = {
32
- logger,
33
- clientName,
34
- commandName,
35
- inputFilterSensitiveLog: models_0_1.BatchDetectEntitiesRequestFilterSensitiveLog,
36
- outputFilterSensitiveLog: models_0_1.BatchDetectEntitiesResponseFilterSensitiveLog,
37
- [types_1.SMITHY_CONTEXT_KEY]: {
38
- service: "Comprehend_20171127",
39
- operation: "BatchDetectEntities",
40
- },
41
- };
42
- const { requestHandler } = configuration;
43
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
44
- }
45
- serialize(input, context) {
46
- return (0, Aws_json1_1_1.se_BatchDetectEntitiesCommand)(input, context);
47
- }
48
- deserialize(output, context) {
49
- return (0, Aws_json1_1_1.de_BatchDetectEntitiesCommand)(output, context);
50
- }
11
+ class BatchDetectEntitiesCommand extends smithy_client_1.Command
12
+ .classBuilder()
13
+ .ep({
14
+ ...EndpointParameters_1.commonParams,
15
+ })
16
+ .m(function (Command, cs, config, o) {
17
+ return [
18
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
19
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
20
+ ];
21
+ })
22
+ .s("Comprehend_20171127", "BatchDetectEntities", {})
23
+ .n("ComprehendClient", "BatchDetectEntitiesCommand")
24
+ .f(models_0_1.BatchDetectEntitiesRequestFilterSensitiveLog, models_0_1.BatchDetectEntitiesResponseFilterSensitiveLog)
25
+ .ser(Aws_json1_1_1.se_BatchDetectEntitiesCommand)
26
+ .de(Aws_json1_1_1.de_BatchDetectEntitiesCommand)
27
+ .build() {
51
28
  }
52
29
  exports.BatchDetectEntitiesCommand = BatchDetectEntitiesCommand;
@@ -5,48 +5,25 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const models_0_1 = require("../models/models_0");
10
10
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
11
- class BatchDetectKeyPhrasesCommand extends smithy_client_1.Command {
12
- static getEndpointParameterInstructions() {
13
- return {
14
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
15
- Endpoint: { type: "builtInParams", name: "endpoint" },
16
- Region: { type: "builtInParams", name: "region" },
17
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
18
- };
19
- }
20
- constructor(input) {
21
- super();
22
- this.input = input;
23
- }
24
- resolveMiddleware(clientStack, configuration, options) {
25
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
26
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, BatchDetectKeyPhrasesCommand.getEndpointParameterInstructions()));
27
- const stack = clientStack.concat(this.middlewareStack);
28
- const { logger } = configuration;
29
- const clientName = "ComprehendClient";
30
- const commandName = "BatchDetectKeyPhrasesCommand";
31
- const handlerExecutionContext = {
32
- logger,
33
- clientName,
34
- commandName,
35
- inputFilterSensitiveLog: models_0_1.BatchDetectKeyPhrasesRequestFilterSensitiveLog,
36
- outputFilterSensitiveLog: models_0_1.BatchDetectKeyPhrasesResponseFilterSensitiveLog,
37
- [types_1.SMITHY_CONTEXT_KEY]: {
38
- service: "Comprehend_20171127",
39
- operation: "BatchDetectKeyPhrases",
40
- },
41
- };
42
- const { requestHandler } = configuration;
43
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
44
- }
45
- serialize(input, context) {
46
- return (0, Aws_json1_1_1.se_BatchDetectKeyPhrasesCommand)(input, context);
47
- }
48
- deserialize(output, context) {
49
- return (0, Aws_json1_1_1.de_BatchDetectKeyPhrasesCommand)(output, context);
50
- }
11
+ class BatchDetectKeyPhrasesCommand extends smithy_client_1.Command
12
+ .classBuilder()
13
+ .ep({
14
+ ...EndpointParameters_1.commonParams,
15
+ })
16
+ .m(function (Command, cs, config, o) {
17
+ return [
18
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
19
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
20
+ ];
21
+ })
22
+ .s("Comprehend_20171127", "BatchDetectKeyPhrases", {})
23
+ .n("ComprehendClient", "BatchDetectKeyPhrasesCommand")
24
+ .f(models_0_1.BatchDetectKeyPhrasesRequestFilterSensitiveLog, models_0_1.BatchDetectKeyPhrasesResponseFilterSensitiveLog)
25
+ .ser(Aws_json1_1_1.se_BatchDetectKeyPhrasesCommand)
26
+ .de(Aws_json1_1_1.de_BatchDetectKeyPhrasesCommand)
27
+ .build() {
51
28
  }
52
29
  exports.BatchDetectKeyPhrasesCommand = BatchDetectKeyPhrasesCommand;
@@ -5,48 +5,25 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const models_0_1 = require("../models/models_0");
10
10
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
11
- class BatchDetectSentimentCommand extends smithy_client_1.Command {
12
- static getEndpointParameterInstructions() {
13
- return {
14
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
15
- Endpoint: { type: "builtInParams", name: "endpoint" },
16
- Region: { type: "builtInParams", name: "region" },
17
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
18
- };
19
- }
20
- constructor(input) {
21
- super();
22
- this.input = input;
23
- }
24
- resolveMiddleware(clientStack, configuration, options) {
25
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
26
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, BatchDetectSentimentCommand.getEndpointParameterInstructions()));
27
- const stack = clientStack.concat(this.middlewareStack);
28
- const { logger } = configuration;
29
- const clientName = "ComprehendClient";
30
- const commandName = "BatchDetectSentimentCommand";
31
- const handlerExecutionContext = {
32
- logger,
33
- clientName,
34
- commandName,
35
- inputFilterSensitiveLog: models_0_1.BatchDetectSentimentRequestFilterSensitiveLog,
36
- outputFilterSensitiveLog: models_0_1.BatchDetectSentimentResponseFilterSensitiveLog,
37
- [types_1.SMITHY_CONTEXT_KEY]: {
38
- service: "Comprehend_20171127",
39
- operation: "BatchDetectSentiment",
40
- },
41
- };
42
- const { requestHandler } = configuration;
43
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
44
- }
45
- serialize(input, context) {
46
- return (0, Aws_json1_1_1.se_BatchDetectSentimentCommand)(input, context);
47
- }
48
- deserialize(output, context) {
49
- return (0, Aws_json1_1_1.de_BatchDetectSentimentCommand)(output, context);
50
- }
11
+ class BatchDetectSentimentCommand extends smithy_client_1.Command
12
+ .classBuilder()
13
+ .ep({
14
+ ...EndpointParameters_1.commonParams,
15
+ })
16
+ .m(function (Command, cs, config, o) {
17
+ return [
18
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
19
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
20
+ ];
21
+ })
22
+ .s("Comprehend_20171127", "BatchDetectSentiment", {})
23
+ .n("ComprehendClient", "BatchDetectSentimentCommand")
24
+ .f(models_0_1.BatchDetectSentimentRequestFilterSensitiveLog, models_0_1.BatchDetectSentimentResponseFilterSensitiveLog)
25
+ .ser(Aws_json1_1_1.se_BatchDetectSentimentCommand)
26
+ .de(Aws_json1_1_1.de_BatchDetectSentimentCommand)
27
+ .build() {
51
28
  }
52
29
  exports.BatchDetectSentimentCommand = BatchDetectSentimentCommand;
@@ -5,48 +5,25 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const models_0_1 = require("../models/models_0");
10
10
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
11
- class BatchDetectSyntaxCommand extends smithy_client_1.Command {
12
- static getEndpointParameterInstructions() {
13
- return {
14
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
15
- Endpoint: { type: "builtInParams", name: "endpoint" },
16
- Region: { type: "builtInParams", name: "region" },
17
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
18
- };
19
- }
20
- constructor(input) {
21
- super();
22
- this.input = input;
23
- }
24
- resolveMiddleware(clientStack, configuration, options) {
25
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
26
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, BatchDetectSyntaxCommand.getEndpointParameterInstructions()));
27
- const stack = clientStack.concat(this.middlewareStack);
28
- const { logger } = configuration;
29
- const clientName = "ComprehendClient";
30
- const commandName = "BatchDetectSyntaxCommand";
31
- const handlerExecutionContext = {
32
- logger,
33
- clientName,
34
- commandName,
35
- inputFilterSensitiveLog: models_0_1.BatchDetectSyntaxRequestFilterSensitiveLog,
36
- outputFilterSensitiveLog: models_0_1.BatchDetectSyntaxResponseFilterSensitiveLog,
37
- [types_1.SMITHY_CONTEXT_KEY]: {
38
- service: "Comprehend_20171127",
39
- operation: "BatchDetectSyntax",
40
- },
41
- };
42
- const { requestHandler } = configuration;
43
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
44
- }
45
- serialize(input, context) {
46
- return (0, Aws_json1_1_1.se_BatchDetectSyntaxCommand)(input, context);
47
- }
48
- deserialize(output, context) {
49
- return (0, Aws_json1_1_1.de_BatchDetectSyntaxCommand)(output, context);
50
- }
11
+ class BatchDetectSyntaxCommand extends smithy_client_1.Command
12
+ .classBuilder()
13
+ .ep({
14
+ ...EndpointParameters_1.commonParams,
15
+ })
16
+ .m(function (Command, cs, config, o) {
17
+ return [
18
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
19
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
20
+ ];
21
+ })
22
+ .s("Comprehend_20171127", "BatchDetectSyntax", {})
23
+ .n("ComprehendClient", "BatchDetectSyntaxCommand")
24
+ .f(models_0_1.BatchDetectSyntaxRequestFilterSensitiveLog, models_0_1.BatchDetectSyntaxResponseFilterSensitiveLog)
25
+ .ser(Aws_json1_1_1.se_BatchDetectSyntaxCommand)
26
+ .de(Aws_json1_1_1.de_BatchDetectSyntaxCommand)
27
+ .build() {
51
28
  }
52
29
  exports.BatchDetectSyntaxCommand = BatchDetectSyntaxCommand;
@@ -5,48 +5,25 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const models_0_1 = require("../models/models_0");
10
10
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
11
- class BatchDetectTargetedSentimentCommand extends smithy_client_1.Command {
12
- static getEndpointParameterInstructions() {
13
- return {
14
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
15
- Endpoint: { type: "builtInParams", name: "endpoint" },
16
- Region: { type: "builtInParams", name: "region" },
17
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
18
- };
19
- }
20
- constructor(input) {
21
- super();
22
- this.input = input;
23
- }
24
- resolveMiddleware(clientStack, configuration, options) {
25
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
26
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, BatchDetectTargetedSentimentCommand.getEndpointParameterInstructions()));
27
- const stack = clientStack.concat(this.middlewareStack);
28
- const { logger } = configuration;
29
- const clientName = "ComprehendClient";
30
- const commandName = "BatchDetectTargetedSentimentCommand";
31
- const handlerExecutionContext = {
32
- logger,
33
- clientName,
34
- commandName,
35
- inputFilterSensitiveLog: models_0_1.BatchDetectTargetedSentimentRequestFilterSensitiveLog,
36
- outputFilterSensitiveLog: models_0_1.BatchDetectTargetedSentimentResponseFilterSensitiveLog,
37
- [types_1.SMITHY_CONTEXT_KEY]: {
38
- service: "Comprehend_20171127",
39
- operation: "BatchDetectTargetedSentiment",
40
- },
41
- };
42
- const { requestHandler } = configuration;
43
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
44
- }
45
- serialize(input, context) {
46
- return (0, Aws_json1_1_1.se_BatchDetectTargetedSentimentCommand)(input, context);
47
- }
48
- deserialize(output, context) {
49
- return (0, Aws_json1_1_1.de_BatchDetectTargetedSentimentCommand)(output, context);
50
- }
11
+ class BatchDetectTargetedSentimentCommand extends smithy_client_1.Command
12
+ .classBuilder()
13
+ .ep({
14
+ ...EndpointParameters_1.commonParams,
15
+ })
16
+ .m(function (Command, cs, config, o) {
17
+ return [
18
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
19
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
20
+ ];
21
+ })
22
+ .s("Comprehend_20171127", "BatchDetectTargetedSentiment", {})
23
+ .n("ComprehendClient", "BatchDetectTargetedSentimentCommand")
24
+ .f(models_0_1.BatchDetectTargetedSentimentRequestFilterSensitiveLog, models_0_1.BatchDetectTargetedSentimentResponseFilterSensitiveLog)
25
+ .ser(Aws_json1_1_1.se_BatchDetectTargetedSentimentCommand)
26
+ .de(Aws_json1_1_1.de_BatchDetectTargetedSentimentCommand)
27
+ .build() {
51
28
  }
52
29
  exports.BatchDetectTargetedSentimentCommand = BatchDetectTargetedSentimentCommand;
@@ -5,48 +5,25 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const models_0_1 = require("../models/models_0");
10
10
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
11
- class ClassifyDocumentCommand extends smithy_client_1.Command {
12
- static getEndpointParameterInstructions() {
13
- return {
14
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
15
- Endpoint: { type: "builtInParams", name: "endpoint" },
16
- Region: { type: "builtInParams", name: "region" },
17
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
18
- };
19
- }
20
- constructor(input) {
21
- super();
22
- this.input = input;
23
- }
24
- resolveMiddleware(clientStack, configuration, options) {
25
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
26
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ClassifyDocumentCommand.getEndpointParameterInstructions()));
27
- const stack = clientStack.concat(this.middlewareStack);
28
- const { logger } = configuration;
29
- const clientName = "ComprehendClient";
30
- const commandName = "ClassifyDocumentCommand";
31
- const handlerExecutionContext = {
32
- logger,
33
- clientName,
34
- commandName,
35
- inputFilterSensitiveLog: models_0_1.ClassifyDocumentRequestFilterSensitiveLog,
36
- outputFilterSensitiveLog: models_0_1.ClassifyDocumentResponseFilterSensitiveLog,
37
- [types_1.SMITHY_CONTEXT_KEY]: {
38
- service: "Comprehend_20171127",
39
- operation: "ClassifyDocument",
40
- },
41
- };
42
- const { requestHandler } = configuration;
43
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
44
- }
45
- serialize(input, context) {
46
- return (0, Aws_json1_1_1.se_ClassifyDocumentCommand)(input, context);
47
- }
48
- deserialize(output, context) {
49
- return (0, Aws_json1_1_1.de_ClassifyDocumentCommand)(output, context);
50
- }
11
+ class ClassifyDocumentCommand extends smithy_client_1.Command
12
+ .classBuilder()
13
+ .ep({
14
+ ...EndpointParameters_1.commonParams,
15
+ })
16
+ .m(function (Command, cs, config, o) {
17
+ return [
18
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
19
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
20
+ ];
21
+ })
22
+ .s("Comprehend_20171127", "ClassifyDocument", {})
23
+ .n("ComprehendClient", "ClassifyDocumentCommand")
24
+ .f(models_0_1.ClassifyDocumentRequestFilterSensitiveLog, models_0_1.ClassifyDocumentResponseFilterSensitiveLog)
25
+ .ser(Aws_json1_1_1.se_ClassifyDocumentCommand)
26
+ .de(Aws_json1_1_1.de_ClassifyDocumentCommand)
27
+ .build() {
51
28
  }
52
29
  exports.ClassifyDocumentCommand = ClassifyDocumentCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class ContainsPiiEntitiesCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ContainsPiiEntitiesCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "ComprehendClient";
29
- const commandName = "ContainsPiiEntitiesCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "Comprehend_20171127",
38
- operation: "ContainsPiiEntities",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_json1_1_1.se_ContainsPiiEntitiesCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_1_1.de_ContainsPiiEntitiesCommand)(output, context);
49
- }
10
+ class ContainsPiiEntitiesCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("Comprehend_20171127", "ContainsPiiEntities", {})
22
+ .n("ComprehendClient", "ContainsPiiEntitiesCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_1_1.se_ContainsPiiEntitiesCommand)
25
+ .de(Aws_json1_1_1.de_ContainsPiiEntitiesCommand)
26
+ .build() {
50
27
  }
51
28
  exports.ContainsPiiEntitiesCommand = ContainsPiiEntitiesCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class CreateDatasetCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CreateDatasetCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "ComprehendClient";
29
- const commandName = "CreateDatasetCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "Comprehend_20171127",
38
- operation: "CreateDataset",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_json1_1_1.se_CreateDatasetCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_1_1.de_CreateDatasetCommand)(output, context);
49
- }
10
+ class CreateDatasetCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("Comprehend_20171127", "CreateDataset", {})
22
+ .n("ComprehendClient", "CreateDatasetCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_1_1.se_CreateDatasetCommand)
25
+ .de(Aws_json1_1_1.de_CreateDatasetCommand)
26
+ .build() {
50
27
  }
51
28
  exports.CreateDatasetCommand = CreateDatasetCommand;