@aws-sdk/client-comprehend 3.34.0 → 3.37.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 (942) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/dist-cjs/Comprehend.js +952 -0
  3. package/dist-cjs/ComprehendClient.js +35 -0
  4. package/dist-cjs/commands/BatchDetectDominantLanguageCommand.js +36 -0
  5. package/dist-cjs/commands/BatchDetectEntitiesCommand.js +36 -0
  6. package/dist-cjs/commands/BatchDetectKeyPhrasesCommand.js +36 -0
  7. package/dist-cjs/commands/BatchDetectSentimentCommand.js +36 -0
  8. package/dist-cjs/commands/BatchDetectSyntaxCommand.js +36 -0
  9. package/dist-cjs/commands/ClassifyDocumentCommand.js +36 -0
  10. package/dist-cjs/commands/ContainsPiiEntitiesCommand.js +36 -0
  11. package/dist-cjs/commands/CreateDocumentClassifierCommand.js +36 -0
  12. package/dist-cjs/commands/CreateEndpointCommand.js +36 -0
  13. package/dist-cjs/commands/CreateEntityRecognizerCommand.js +36 -0
  14. package/dist-cjs/commands/DeleteDocumentClassifierCommand.js +36 -0
  15. package/dist-cjs/commands/DeleteEndpointCommand.js +36 -0
  16. package/dist-cjs/commands/DeleteEntityRecognizerCommand.js +36 -0
  17. package/dist-cjs/commands/DescribeDocumentClassificationJobCommand.js +36 -0
  18. package/dist-cjs/commands/DescribeDocumentClassifierCommand.js +36 -0
  19. package/dist-cjs/commands/DescribeDominantLanguageDetectionJobCommand.js +36 -0
  20. package/dist-cjs/commands/DescribeEndpointCommand.js +36 -0
  21. package/dist-cjs/commands/DescribeEntitiesDetectionJobCommand.js +36 -0
  22. package/dist-cjs/commands/DescribeEntityRecognizerCommand.js +36 -0
  23. package/dist-cjs/commands/DescribeEventsDetectionJobCommand.js +36 -0
  24. package/dist-cjs/commands/DescribeKeyPhrasesDetectionJobCommand.js +36 -0
  25. package/dist-cjs/commands/DescribePiiEntitiesDetectionJobCommand.js +36 -0
  26. package/dist-cjs/commands/DescribeSentimentDetectionJobCommand.js +36 -0
  27. package/dist-cjs/commands/DescribeTopicsDetectionJobCommand.js +36 -0
  28. package/dist-cjs/commands/DetectDominantLanguageCommand.js +36 -0
  29. package/dist-cjs/commands/DetectEntitiesCommand.js +36 -0
  30. package/dist-cjs/commands/DetectKeyPhrasesCommand.js +36 -0
  31. package/dist-cjs/commands/DetectPiiEntitiesCommand.js +36 -0
  32. package/dist-cjs/commands/DetectSentimentCommand.js +36 -0
  33. package/dist-cjs/commands/DetectSyntaxCommand.js +36 -0
  34. package/dist-cjs/commands/ListDocumentClassificationJobsCommand.js +36 -0
  35. package/dist-cjs/commands/ListDocumentClassifierSummariesCommand.js +36 -0
  36. package/dist-cjs/commands/ListDocumentClassifiersCommand.js +36 -0
  37. package/dist-cjs/commands/ListDominantLanguageDetectionJobsCommand.js +36 -0
  38. package/dist-cjs/commands/ListEndpointsCommand.js +36 -0
  39. package/dist-cjs/commands/ListEntitiesDetectionJobsCommand.js +36 -0
  40. package/dist-cjs/commands/ListEntityRecognizerSummariesCommand.js +36 -0
  41. package/dist-cjs/commands/ListEntityRecognizersCommand.js +36 -0
  42. package/dist-cjs/commands/ListEventsDetectionJobsCommand.js +36 -0
  43. package/dist-cjs/commands/ListKeyPhrasesDetectionJobsCommand.js +36 -0
  44. package/dist-cjs/commands/ListPiiEntitiesDetectionJobsCommand.js +36 -0
  45. package/dist-cjs/commands/ListSentimentDetectionJobsCommand.js +36 -0
  46. package/dist-cjs/commands/ListTagsForResourceCommand.js +36 -0
  47. package/dist-cjs/commands/ListTopicsDetectionJobsCommand.js +36 -0
  48. package/dist-cjs/commands/StartDocumentClassificationJobCommand.js +36 -0
  49. package/dist-cjs/commands/StartDominantLanguageDetectionJobCommand.js +36 -0
  50. package/dist-cjs/commands/StartEntitiesDetectionJobCommand.js +36 -0
  51. package/dist-cjs/commands/StartEventsDetectionJobCommand.js +36 -0
  52. package/dist-cjs/commands/StartKeyPhrasesDetectionJobCommand.js +36 -0
  53. package/dist-cjs/commands/StartPiiEntitiesDetectionJobCommand.js +36 -0
  54. package/dist-cjs/commands/StartSentimentDetectionJobCommand.js +36 -0
  55. package/dist-cjs/commands/StartTopicsDetectionJobCommand.js +36 -0
  56. package/dist-cjs/commands/StopDominantLanguageDetectionJobCommand.js +36 -0
  57. package/dist-cjs/commands/StopEntitiesDetectionJobCommand.js +36 -0
  58. package/dist-cjs/commands/StopEventsDetectionJobCommand.js +36 -0
  59. package/dist-cjs/commands/StopKeyPhrasesDetectionJobCommand.js +36 -0
  60. package/dist-cjs/commands/StopPiiEntitiesDetectionJobCommand.js +36 -0
  61. package/dist-cjs/commands/StopSentimentDetectionJobCommand.js +36 -0
  62. package/dist-cjs/commands/StopTrainingDocumentClassifierCommand.js +36 -0
  63. package/dist-cjs/commands/StopTrainingEntityRecognizerCommand.js +36 -0
  64. package/dist-cjs/commands/TagResourceCommand.js +36 -0
  65. package/dist-cjs/commands/UntagResourceCommand.js +36 -0
  66. package/dist-cjs/commands/UpdateEndpointCommand.js +36 -0
  67. package/dist-cjs/endpoints.js +76 -0
  68. package/dist-cjs/index.js +81 -0
  69. package/dist-cjs/models/index.js +4 -0
  70. package/dist-cjs/models/models_0.js +1423 -0
  71. package/dist-cjs/pagination/Interfaces.js +2 -0
  72. package/dist-cjs/pagination/ListDocumentClassificationJobsPaginator.js +35 -0
  73. package/dist-cjs/pagination/ListDocumentClassifierSummariesPaginator.js +35 -0
  74. package/dist-cjs/pagination/ListDocumentClassifiersPaginator.js +35 -0
  75. package/dist-cjs/pagination/ListDominantLanguageDetectionJobsPaginator.js +35 -0
  76. package/dist-cjs/pagination/ListEntitiesDetectionJobsPaginator.js +35 -0
  77. package/dist-cjs/pagination/ListEntityRecognizerSummariesPaginator.js +35 -0
  78. package/dist-cjs/pagination/ListEntityRecognizersPaginator.js +35 -0
  79. package/dist-cjs/pagination/ListEventsDetectionJobsPaginator.js +35 -0
  80. package/dist-cjs/pagination/ListKeyPhrasesDetectionJobsPaginator.js +35 -0
  81. package/dist-cjs/pagination/ListSentimentDetectionJobsPaginator.js +35 -0
  82. package/dist-cjs/pagination/ListTopicsDetectionJobsPaginator.js +35 -0
  83. package/dist-cjs/protocols/Aws_json1_1.js +8048 -0
  84. package/dist-cjs/runtimeConfig.browser.js +37 -0
  85. package/dist-cjs/runtimeConfig.js +42 -0
  86. package/dist-cjs/runtimeConfig.native.js +16 -0
  87. package/dist-cjs/runtimeConfig.shared.js +17 -0
  88. package/dist-es/Comprehend.js +955 -0
  89. package/dist-es/ComprehendClient.js +37 -0
  90. package/dist-es/commands/BatchDetectDominantLanguageCommand.js +39 -0
  91. package/dist-es/commands/BatchDetectEntitiesCommand.js +39 -0
  92. package/dist-es/commands/BatchDetectKeyPhrasesCommand.js +39 -0
  93. package/dist-es/commands/BatchDetectSentimentCommand.js +39 -0
  94. package/dist-es/commands/BatchDetectSyntaxCommand.js +39 -0
  95. package/dist-es/commands/ClassifyDocumentCommand.js +39 -0
  96. package/dist-es/commands/ContainsPiiEntitiesCommand.js +39 -0
  97. package/dist-es/commands/CreateDocumentClassifierCommand.js +39 -0
  98. package/dist-es/commands/CreateEndpointCommand.js +39 -0
  99. package/dist-es/commands/CreateEntityRecognizerCommand.js +39 -0
  100. package/dist-es/commands/DeleteDocumentClassifierCommand.js +39 -0
  101. package/dist-es/commands/DeleteEndpointCommand.js +39 -0
  102. package/dist-es/commands/DeleteEntityRecognizerCommand.js +39 -0
  103. package/dist-es/commands/DescribeDocumentClassificationJobCommand.js +39 -0
  104. package/dist-es/commands/DescribeDocumentClassifierCommand.js +39 -0
  105. package/dist-es/commands/DescribeDominantLanguageDetectionJobCommand.js +39 -0
  106. package/dist-es/commands/DescribeEndpointCommand.js +39 -0
  107. package/dist-es/commands/DescribeEntitiesDetectionJobCommand.js +39 -0
  108. package/dist-es/commands/DescribeEntityRecognizerCommand.js +39 -0
  109. package/dist-es/commands/DescribeEventsDetectionJobCommand.js +39 -0
  110. package/dist-es/commands/DescribeKeyPhrasesDetectionJobCommand.js +39 -0
  111. package/dist-es/commands/DescribePiiEntitiesDetectionJobCommand.js +39 -0
  112. package/dist-es/commands/DescribeSentimentDetectionJobCommand.js +39 -0
  113. package/dist-es/commands/DescribeTopicsDetectionJobCommand.js +39 -0
  114. package/dist-es/commands/DetectDominantLanguageCommand.js +39 -0
  115. package/dist-es/commands/DetectEntitiesCommand.js +39 -0
  116. package/dist-es/commands/DetectKeyPhrasesCommand.js +39 -0
  117. package/dist-es/commands/DetectPiiEntitiesCommand.js +39 -0
  118. package/dist-es/commands/DetectSentimentCommand.js +39 -0
  119. package/dist-es/commands/DetectSyntaxCommand.js +39 -0
  120. package/dist-es/commands/ListDocumentClassificationJobsCommand.js +39 -0
  121. package/dist-es/commands/ListDocumentClassifierSummariesCommand.js +39 -0
  122. package/dist-es/commands/ListDocumentClassifiersCommand.js +39 -0
  123. package/dist-es/commands/ListDominantLanguageDetectionJobsCommand.js +39 -0
  124. package/dist-es/commands/ListEndpointsCommand.js +39 -0
  125. package/dist-es/commands/ListEntitiesDetectionJobsCommand.js +39 -0
  126. package/dist-es/commands/ListEntityRecognizerSummariesCommand.js +39 -0
  127. package/dist-es/commands/ListEntityRecognizersCommand.js +39 -0
  128. package/dist-es/commands/ListEventsDetectionJobsCommand.js +39 -0
  129. package/dist-es/commands/ListKeyPhrasesDetectionJobsCommand.js +39 -0
  130. package/dist-es/commands/ListPiiEntitiesDetectionJobsCommand.js +39 -0
  131. package/dist-es/commands/ListSentimentDetectionJobsCommand.js +39 -0
  132. package/dist-es/commands/ListTagsForResourceCommand.js +39 -0
  133. package/dist-es/commands/ListTopicsDetectionJobsCommand.js +39 -0
  134. package/dist-es/commands/StartDocumentClassificationJobCommand.js +39 -0
  135. package/dist-es/commands/StartDominantLanguageDetectionJobCommand.js +39 -0
  136. package/dist-es/commands/StartEntitiesDetectionJobCommand.js +39 -0
  137. package/dist-es/commands/StartEventsDetectionJobCommand.js +39 -0
  138. package/dist-es/commands/StartKeyPhrasesDetectionJobCommand.js +39 -0
  139. package/dist-es/commands/StartPiiEntitiesDetectionJobCommand.js +39 -0
  140. package/dist-es/commands/StartSentimentDetectionJobCommand.js +39 -0
  141. package/dist-es/commands/StartTopicsDetectionJobCommand.js +39 -0
  142. package/dist-es/commands/StopDominantLanguageDetectionJobCommand.js +39 -0
  143. package/dist-es/commands/StopEntitiesDetectionJobCommand.js +39 -0
  144. package/dist-es/commands/StopEventsDetectionJobCommand.js +39 -0
  145. package/dist-es/commands/StopKeyPhrasesDetectionJobCommand.js +39 -0
  146. package/dist-es/commands/StopPiiEntitiesDetectionJobCommand.js +39 -0
  147. package/dist-es/commands/StopSentimentDetectionJobCommand.js +39 -0
  148. package/dist-es/commands/StopTrainingDocumentClassifierCommand.js +39 -0
  149. package/dist-es/commands/StopTrainingEntityRecognizerCommand.js +39 -0
  150. package/dist-es/commands/TagResourceCommand.js +39 -0
  151. package/dist-es/commands/UntagResourceCommand.js +39 -0
  152. package/dist-es/commands/UpdateEndpointCommand.js +39 -0
  153. package/dist-es/endpoints.js +72 -0
  154. package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
  155. package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
  156. package/dist-es/models/models_0.js +998 -0
  157. package/dist-es/pagination/Interfaces.js +1 -0
  158. package/dist-es/pagination/ListDocumentClassificationJobsPaginator.js +74 -0
  159. package/dist-es/pagination/ListDocumentClassifierSummariesPaginator.js +74 -0
  160. package/dist-es/pagination/ListDocumentClassifiersPaginator.js +74 -0
  161. package/dist-es/pagination/ListDominantLanguageDetectionJobsPaginator.js +74 -0
  162. package/dist-es/pagination/ListEntitiesDetectionJobsPaginator.js +74 -0
  163. package/dist-es/pagination/ListEntityRecognizerSummariesPaginator.js +74 -0
  164. package/dist-es/pagination/ListEntityRecognizersPaginator.js +74 -0
  165. package/dist-es/pagination/ListEventsDetectionJobsPaginator.js +74 -0
  166. package/dist-es/pagination/ListKeyPhrasesDetectionJobsPaginator.js +74 -0
  167. package/dist-es/pagination/ListSentimentDetectionJobsPaginator.js +74 -0
  168. package/dist-es/pagination/ListTopicsDetectionJobsPaginator.js +74 -0
  169. package/dist-es/protocols/Aws_json1_1.js +8289 -0
  170. package/dist-es/runtimeConfig.browser.js +16 -0
  171. package/dist-es/runtimeConfig.js +21 -0
  172. package/dist-es/runtimeConfig.native.js +8 -0
  173. package/dist-es/runtimeConfig.shared.js +13 -0
  174. package/dist-types/Comprehend.d.ts +561 -0
  175. package/dist-types/ComprehendClient.d.ts +198 -0
  176. package/dist-types/commands/BatchDetectDominantLanguageCommand.d.ts +37 -0
  177. package/dist-types/commands/BatchDetectEntitiesCommand.d.ts +37 -0
  178. package/dist-types/commands/BatchDetectKeyPhrasesCommand.d.ts +35 -0
  179. package/dist-types/commands/BatchDetectSentimentCommand.d.ts +37 -0
  180. package/dist-types/commands/BatchDetectSyntaxCommand.d.ts +36 -0
  181. package/dist-types/commands/ClassifyDocumentCommand.d.ts +36 -0
  182. package/dist-types/commands/ContainsPiiEntitiesCommand.d.ts +37 -0
  183. package/dist-types/commands/CreateDocumentClassifierCommand.d.ts +38 -0
  184. package/dist-types/commands/CreateEndpointCommand.d.ts +37 -0
  185. package/dist-types/commands/CreateEntityRecognizerCommand.d.ts +37 -0
  186. package/dist-types/commands/DeleteDocumentClassifierCommand.d.ts +41 -0
  187. package/dist-types/commands/DeleteEndpointCommand.d.ts +36 -0
  188. package/dist-types/commands/DeleteEntityRecognizerCommand.d.ts +41 -0
  189. package/dist-types/commands/DescribeDocumentClassificationJobCommand.d.ts +36 -0
  190. package/dist-types/commands/DescribeDocumentClassifierCommand.d.ts +35 -0
  191. package/dist-types/commands/DescribeDominantLanguageDetectionJobCommand.d.ts +36 -0
  192. package/dist-types/commands/DescribeEndpointCommand.d.ts +36 -0
  193. package/dist-types/commands/DescribeEntitiesDetectionJobCommand.d.ts +36 -0
  194. package/dist-types/commands/DescribeEntityRecognizerCommand.d.ts +36 -0
  195. package/dist-types/commands/DescribeEventsDetectionJobCommand.d.ts +35 -0
  196. package/dist-types/commands/DescribeKeyPhrasesDetectionJobCommand.d.ts +36 -0
  197. package/dist-types/commands/DescribePiiEntitiesDetectionJobCommand.d.ts +36 -0
  198. package/dist-types/commands/DescribeSentimentDetectionJobCommand.d.ts +36 -0
  199. package/dist-types/commands/DescribeTopicsDetectionJobCommand.d.ts +36 -0
  200. package/dist-types/commands/DetectDominantLanguageCommand.d.ts +36 -0
  201. package/dist-types/commands/DetectEntitiesCommand.d.ts +36 -0
  202. package/dist-types/commands/DetectKeyPhrasesCommand.d.ts +35 -0
  203. package/dist-types/commands/DetectPiiEntitiesCommand.d.ts +36 -0
  204. package/dist-types/commands/DetectSentimentCommand.d.ts +36 -0
  205. package/dist-types/commands/DetectSyntaxCommand.d.ts +36 -0
  206. package/dist-types/commands/ListDocumentClassificationJobsCommand.d.ts +35 -0
  207. package/dist-types/commands/ListDocumentClassifierSummariesCommand.d.ts +35 -0
  208. package/dist-types/commands/ListDocumentClassifiersCommand.d.ts +35 -0
  209. package/dist-types/commands/ListDominantLanguageDetectionJobsCommand.d.ts +35 -0
  210. package/dist-types/commands/ListEndpointsCommand.d.ts +35 -0
  211. package/dist-types/commands/ListEntitiesDetectionJobsCommand.d.ts +35 -0
  212. package/dist-types/commands/ListEntityRecognizerSummariesCommand.d.ts +35 -0
  213. package/dist-types/commands/ListEntityRecognizersCommand.d.ts +40 -0
  214. package/dist-types/commands/ListEventsDetectionJobsCommand.d.ts +35 -0
  215. package/dist-types/commands/ListKeyPhrasesDetectionJobsCommand.d.ts +35 -0
  216. package/dist-types/commands/ListPiiEntitiesDetectionJobsCommand.d.ts +35 -0
  217. package/dist-types/commands/ListSentimentDetectionJobsCommand.d.ts +35 -0
  218. package/dist-types/commands/ListTagsForResourceCommand.d.ts +35 -0
  219. package/dist-types/commands/ListTopicsDetectionJobsCommand.d.ts +35 -0
  220. package/dist-types/commands/StartDocumentClassificationJobCommand.d.ts +36 -0
  221. package/dist-types/commands/StartDominantLanguageDetectionJobCommand.d.ts +37 -0
  222. package/dist-types/commands/StartEntitiesDetectionJobCommand.d.ts +39 -0
  223. package/dist-types/commands/StartEventsDetectionJobCommand.d.ts +35 -0
  224. package/dist-types/commands/StartKeyPhrasesDetectionJobCommand.d.ts +37 -0
  225. package/dist-types/commands/StartPiiEntitiesDetectionJobCommand.d.ts +35 -0
  226. package/dist-types/commands/StartSentimentDetectionJobCommand.d.ts +37 -0
  227. package/dist-types/commands/StartTopicsDetectionJobCommand.d.ts +36 -0
  228. package/dist-types/commands/StopDominantLanguageDetectionJobCommand.d.ts +44 -0
  229. package/dist-types/commands/StopEntitiesDetectionJobCommand.d.ts +44 -0
  230. package/dist-types/commands/StopEventsDetectionJobCommand.d.ts +35 -0
  231. package/dist-types/commands/StopKeyPhrasesDetectionJobCommand.d.ts +44 -0
  232. package/dist-types/commands/StopPiiEntitiesDetectionJobCommand.d.ts +35 -0
  233. package/dist-types/commands/StopSentimentDetectionJobCommand.d.ts +44 -0
  234. package/dist-types/commands/StopTrainingDocumentClassifierCommand.d.ts +40 -0
  235. package/dist-types/commands/StopTrainingEntityRecognizerCommand.d.ts +40 -0
  236. package/dist-types/commands/TagResourceCommand.d.ts +38 -0
  237. package/dist-types/commands/UntagResourceCommand.d.ts +35 -0
  238. package/dist-types/commands/UpdateEndpointCommand.d.ts +35 -0
  239. package/{dist/types → dist-types}/endpoints.d.ts +0 -0
  240. package/{index.ts → dist-types/index.d.ts} +0 -0
  241. package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
  242. package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
  243. package/dist-types/pagination/Interfaces.d.ts +6 -0
  244. package/dist-types/pagination/ListDocumentClassificationJobsPaginator.d.ts +4 -0
  245. package/dist-types/pagination/ListDocumentClassifierSummariesPaginator.d.ts +4 -0
  246. package/dist-types/pagination/ListDocumentClassifiersPaginator.d.ts +4 -0
  247. package/dist-types/pagination/ListDominantLanguageDetectionJobsPaginator.d.ts +4 -0
  248. package/dist-types/pagination/ListEntitiesDetectionJobsPaginator.d.ts +4 -0
  249. package/dist-types/pagination/ListEntityRecognizerSummariesPaginator.d.ts +4 -0
  250. package/dist-types/pagination/ListEntityRecognizersPaginator.d.ts +4 -0
  251. package/dist-types/pagination/ListEventsDetectionJobsPaginator.d.ts +4 -0
  252. package/dist-types/pagination/ListKeyPhrasesDetectionJobsPaginator.d.ts +4 -0
  253. package/dist-types/pagination/ListSentimentDetectionJobsPaginator.d.ts +4 -0
  254. package/dist-types/pagination/ListTopicsDetectionJobsPaginator.d.ts +4 -0
  255. package/dist-types/protocols/Aws_json1_1.d.ts +191 -0
  256. package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +0 -0
  257. package/dist-types/runtimeConfig.d.ts +37 -0
  258. package/{dist/types → dist-types}/runtimeConfig.native.d.ts +0 -0
  259. package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
  260. package/dist-types/ts3.4/Comprehend.d.ts +320 -0
  261. package/dist-types/ts3.4/ComprehendClient.d.ts +130 -0
  262. package/dist-types/ts3.4/commands/BatchDetectDominantLanguageCommand.d.ts +17 -0
  263. package/dist-types/ts3.4/commands/BatchDetectEntitiesCommand.d.ts +17 -0
  264. package/dist-types/ts3.4/commands/BatchDetectKeyPhrasesCommand.d.ts +17 -0
  265. package/dist-types/ts3.4/commands/BatchDetectSentimentCommand.d.ts +17 -0
  266. package/dist-types/ts3.4/commands/BatchDetectSyntaxCommand.d.ts +17 -0
  267. package/dist-types/ts3.4/commands/ClassifyDocumentCommand.d.ts +17 -0
  268. package/dist-types/ts3.4/commands/ContainsPiiEntitiesCommand.d.ts +17 -0
  269. package/dist-types/ts3.4/commands/CreateDocumentClassifierCommand.d.ts +17 -0
  270. package/dist-types/ts3.4/commands/CreateEndpointCommand.d.ts +17 -0
  271. package/dist-types/ts3.4/commands/CreateEntityRecognizerCommand.d.ts +17 -0
  272. package/dist-types/ts3.4/commands/DeleteDocumentClassifierCommand.d.ts +17 -0
  273. package/dist-types/ts3.4/commands/DeleteEndpointCommand.d.ts +17 -0
  274. package/dist-types/ts3.4/commands/DeleteEntityRecognizerCommand.d.ts +17 -0
  275. package/dist-types/ts3.4/commands/DescribeDocumentClassificationJobCommand.d.ts +17 -0
  276. package/dist-types/ts3.4/commands/DescribeDocumentClassifierCommand.d.ts +17 -0
  277. package/dist-types/ts3.4/commands/DescribeDominantLanguageDetectionJobCommand.d.ts +17 -0
  278. package/dist-types/ts3.4/commands/DescribeEndpointCommand.d.ts +17 -0
  279. package/dist-types/ts3.4/commands/DescribeEntitiesDetectionJobCommand.d.ts +17 -0
  280. package/dist-types/ts3.4/commands/DescribeEntityRecognizerCommand.d.ts +17 -0
  281. package/dist-types/ts3.4/commands/DescribeEventsDetectionJobCommand.d.ts +17 -0
  282. package/dist-types/ts3.4/commands/DescribeKeyPhrasesDetectionJobCommand.d.ts +17 -0
  283. package/dist-types/ts3.4/commands/DescribePiiEntitiesDetectionJobCommand.d.ts +17 -0
  284. package/dist-types/ts3.4/commands/DescribeSentimentDetectionJobCommand.d.ts +17 -0
  285. package/dist-types/ts3.4/commands/DescribeTopicsDetectionJobCommand.d.ts +17 -0
  286. package/dist-types/ts3.4/commands/DetectDominantLanguageCommand.d.ts +17 -0
  287. package/dist-types/ts3.4/commands/DetectEntitiesCommand.d.ts +17 -0
  288. package/dist-types/ts3.4/commands/DetectKeyPhrasesCommand.d.ts +17 -0
  289. package/dist-types/ts3.4/commands/DetectPiiEntitiesCommand.d.ts +17 -0
  290. package/dist-types/ts3.4/commands/DetectSentimentCommand.d.ts +17 -0
  291. package/dist-types/ts3.4/commands/DetectSyntaxCommand.d.ts +17 -0
  292. package/dist-types/ts3.4/commands/ListDocumentClassificationJobsCommand.d.ts +17 -0
  293. package/dist-types/ts3.4/commands/ListDocumentClassifierSummariesCommand.d.ts +17 -0
  294. package/dist-types/ts3.4/commands/ListDocumentClassifiersCommand.d.ts +17 -0
  295. package/dist-types/ts3.4/commands/ListDominantLanguageDetectionJobsCommand.d.ts +17 -0
  296. package/dist-types/ts3.4/commands/ListEndpointsCommand.d.ts +17 -0
  297. package/dist-types/ts3.4/commands/ListEntitiesDetectionJobsCommand.d.ts +17 -0
  298. package/dist-types/ts3.4/commands/ListEntityRecognizerSummariesCommand.d.ts +17 -0
  299. package/dist-types/ts3.4/commands/ListEntityRecognizersCommand.d.ts +17 -0
  300. package/dist-types/ts3.4/commands/ListEventsDetectionJobsCommand.d.ts +17 -0
  301. package/dist-types/ts3.4/commands/ListKeyPhrasesDetectionJobsCommand.d.ts +17 -0
  302. package/dist-types/ts3.4/commands/ListPiiEntitiesDetectionJobsCommand.d.ts +17 -0
  303. package/dist-types/ts3.4/commands/ListSentimentDetectionJobsCommand.d.ts +17 -0
  304. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
  305. package/dist-types/ts3.4/commands/ListTopicsDetectionJobsCommand.d.ts +17 -0
  306. package/dist-types/ts3.4/commands/StartDocumentClassificationJobCommand.d.ts +17 -0
  307. package/dist-types/ts3.4/commands/StartDominantLanguageDetectionJobCommand.d.ts +17 -0
  308. package/dist-types/ts3.4/commands/StartEntitiesDetectionJobCommand.d.ts +17 -0
  309. package/dist-types/ts3.4/commands/StartEventsDetectionJobCommand.d.ts +17 -0
  310. package/dist-types/ts3.4/commands/StartKeyPhrasesDetectionJobCommand.d.ts +17 -0
  311. package/dist-types/ts3.4/commands/StartPiiEntitiesDetectionJobCommand.d.ts +17 -0
  312. package/dist-types/ts3.4/commands/StartSentimentDetectionJobCommand.d.ts +17 -0
  313. package/dist-types/ts3.4/commands/StartTopicsDetectionJobCommand.d.ts +17 -0
  314. package/dist-types/ts3.4/commands/StopDominantLanguageDetectionJobCommand.d.ts +17 -0
  315. package/dist-types/ts3.4/commands/StopEntitiesDetectionJobCommand.d.ts +17 -0
  316. package/dist-types/ts3.4/commands/StopEventsDetectionJobCommand.d.ts +17 -0
  317. package/dist-types/ts3.4/commands/StopKeyPhrasesDetectionJobCommand.d.ts +17 -0
  318. package/dist-types/ts3.4/commands/StopPiiEntitiesDetectionJobCommand.d.ts +17 -0
  319. package/dist-types/ts3.4/commands/StopSentimentDetectionJobCommand.d.ts +17 -0
  320. package/dist-types/ts3.4/commands/StopTrainingDocumentClassifierCommand.d.ts +17 -0
  321. package/dist-types/ts3.4/commands/StopTrainingEntityRecognizerCommand.d.ts +17 -0
  322. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
  323. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
  324. package/dist-types/ts3.4/commands/UpdateEndpointCommand.d.ts +17 -0
  325. package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
  326. package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
  327. package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
  328. package/dist-types/ts3.4/models/models_0.d.ts +2704 -0
  329. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  330. package/dist-types/ts3.4/pagination/ListDocumentClassificationJobsPaginator.d.ts +4 -0
  331. package/dist-types/ts3.4/pagination/ListDocumentClassifierSummariesPaginator.d.ts +4 -0
  332. package/dist-types/ts3.4/pagination/ListDocumentClassifiersPaginator.d.ts +4 -0
  333. package/dist-types/ts3.4/pagination/ListDominantLanguageDetectionJobsPaginator.d.ts +4 -0
  334. package/dist-types/ts3.4/pagination/ListEntitiesDetectionJobsPaginator.d.ts +4 -0
  335. package/dist-types/ts3.4/pagination/ListEntityRecognizerSummariesPaginator.d.ts +4 -0
  336. package/dist-types/ts3.4/pagination/ListEntityRecognizersPaginator.d.ts +4 -0
  337. package/dist-types/ts3.4/pagination/ListEventsDetectionJobsPaginator.d.ts +4 -0
  338. package/dist-types/ts3.4/pagination/ListKeyPhrasesDetectionJobsPaginator.d.ts +4 -0
  339. package/dist-types/ts3.4/pagination/ListSentimentDetectionJobsPaginator.d.ts +4 -0
  340. package/dist-types/ts3.4/pagination/ListTopicsDetectionJobsPaginator.d.ts +4 -0
  341. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +191 -0
  342. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +35 -0
  343. package/dist-types/ts3.4/runtimeConfig.d.ts +35 -0
  344. package/dist-types/ts3.4/runtimeConfig.native.d.ts +34 -0
  345. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
  346. package/package.json +45 -42
  347. package/Comprehend.ts +0 -2438
  348. package/ComprehendClient.ts +0 -574
  349. package/commands/BatchDetectDominantLanguageCommand.ts +0 -101
  350. package/commands/BatchDetectEntitiesCommand.ts +0 -96
  351. package/commands/BatchDetectKeyPhrasesCommand.ts +0 -94
  352. package/commands/BatchDetectSentimentCommand.ts +0 -96
  353. package/commands/BatchDetectSyntaxCommand.ts +0 -95
  354. package/commands/ClassifyDocumentCommand.ts +0 -95
  355. package/commands/ContainsPiiEntitiesCommand.ts +0 -96
  356. package/commands/CreateDocumentClassifierCommand.ts +0 -97
  357. package/commands/CreateEndpointCommand.ts +0 -96
  358. package/commands/CreateEntityRecognizerCommand.ts +0 -96
  359. package/commands/DeleteDocumentClassifierCommand.ts +0 -100
  360. package/commands/DeleteEndpointCommand.ts +0 -95
  361. package/commands/DeleteEntityRecognizerCommand.ts +0 -100
  362. package/commands/DescribeDocumentClassificationJobCommand.ts +0 -106
  363. package/commands/DescribeDocumentClassifierCommand.ts +0 -97
  364. package/commands/DescribeDominantLanguageDetectionJobCommand.ts +0 -106
  365. package/commands/DescribeEndpointCommand.ts +0 -95
  366. package/commands/DescribeEntitiesDetectionJobCommand.ts +0 -100
  367. package/commands/DescribeEntityRecognizerCommand.ts +0 -95
  368. package/commands/DescribeEventsDetectionJobCommand.ts +0 -97
  369. package/commands/DescribeKeyPhrasesDetectionJobCommand.ts +0 -103
  370. package/commands/DescribePiiEntitiesDetectionJobCommand.ts +0 -103
  371. package/commands/DescribeSentimentDetectionJobCommand.ts +0 -100
  372. package/commands/DescribeTopicsDetectionJobCommand.ts +0 -98
  373. package/commands/DetectDominantLanguageCommand.ts +0 -95
  374. package/commands/DetectEntitiesCommand.ts +0 -95
  375. package/commands/DetectKeyPhrasesCommand.ts +0 -94
  376. package/commands/DetectPiiEntitiesCommand.ts +0 -95
  377. package/commands/DetectSentimentCommand.ts +0 -95
  378. package/commands/DetectSyntaxCommand.ts +0 -95
  379. package/commands/ListDocumentClassificationJobsCommand.ts +0 -102
  380. package/commands/ListDocumentClassifierSummariesCommand.ts +0 -102
  381. package/commands/ListDocumentClassifiersCommand.ts +0 -94
  382. package/commands/ListDominantLanguageDetectionJobsCommand.ts +0 -105
  383. package/commands/ListEndpointsCommand.ts +0 -94
  384. package/commands/ListEntitiesDetectionJobsCommand.ts +0 -97
  385. package/commands/ListEntityRecognizerSummariesCommand.ts +0 -99
  386. package/commands/ListEntityRecognizersCommand.ts +0 -99
  387. package/commands/ListEventsDetectionJobsCommand.ts +0 -94
  388. package/commands/ListKeyPhrasesDetectionJobsCommand.ts +0 -99
  389. package/commands/ListPiiEntitiesDetectionJobsCommand.ts +0 -99
  390. package/commands/ListSentimentDetectionJobsCommand.ts +0 -97
  391. package/commands/ListTagsForResourceCommand.ts +0 -94
  392. package/commands/ListTopicsDetectionJobsCommand.ts +0 -94
  393. package/commands/StartDocumentClassificationJobCommand.ts +0 -103
  394. package/commands/StartDominantLanguageDetectionJobCommand.ts +0 -107
  395. package/commands/StartEntitiesDetectionJobCommand.ts +0 -101
  396. package/commands/StartEventsDetectionJobCommand.ts +0 -94
  397. package/commands/StartKeyPhrasesDetectionJobCommand.ts +0 -101
  398. package/commands/StartPiiEntitiesDetectionJobCommand.ts +0 -99
  399. package/commands/StartSentimentDetectionJobCommand.ts +0 -99
  400. package/commands/StartTopicsDetectionJobCommand.ts +0 -95
  401. package/commands/StopDominantLanguageDetectionJobCommand.ts +0 -111
  402. package/commands/StopEntitiesDetectionJobCommand.ts +0 -103
  403. package/commands/StopEventsDetectionJobCommand.ts +0 -94
  404. package/commands/StopKeyPhrasesDetectionJobCommand.ts +0 -106
  405. package/commands/StopPiiEntitiesDetectionJobCommand.ts +0 -99
  406. package/commands/StopSentimentDetectionJobCommand.ts +0 -106
  407. package/commands/StopTrainingDocumentClassifierCommand.ts +0 -107
  408. package/commands/StopTrainingEntityRecognizerCommand.ts +0 -104
  409. package/commands/TagResourceCommand.ts +0 -97
  410. package/commands/UntagResourceCommand.ts +0 -94
  411. package/commands/UpdateEndpointCommand.ts +0 -94
  412. package/dist/cjs/Comprehend.js +0 -959
  413. package/dist/cjs/Comprehend.js.map +0 -1
  414. package/dist/cjs/ComprehendClient.js +0 -47
  415. package/dist/cjs/ComprehendClient.js.map +0 -1
  416. package/dist/cjs/commands/BatchDetectDominantLanguageCommand.js +0 -63
  417. package/dist/cjs/commands/BatchDetectDominantLanguageCommand.js.map +0 -1
  418. package/dist/cjs/commands/BatchDetectEntitiesCommand.js +0 -63
  419. package/dist/cjs/commands/BatchDetectEntitiesCommand.js.map +0 -1
  420. package/dist/cjs/commands/BatchDetectKeyPhrasesCommand.js +0 -61
  421. package/dist/cjs/commands/BatchDetectKeyPhrasesCommand.js.map +0 -1
  422. package/dist/cjs/commands/BatchDetectSentimentCommand.js +0 -63
  423. package/dist/cjs/commands/BatchDetectSentimentCommand.js.map +0 -1
  424. package/dist/cjs/commands/BatchDetectSyntaxCommand.js +0 -62
  425. package/dist/cjs/commands/BatchDetectSyntaxCommand.js.map +0 -1
  426. package/dist/cjs/commands/ClassifyDocumentCommand.js +0 -62
  427. package/dist/cjs/commands/ClassifyDocumentCommand.js.map +0 -1
  428. package/dist/cjs/commands/ContainsPiiEntitiesCommand.js +0 -63
  429. package/dist/cjs/commands/ContainsPiiEntitiesCommand.js.map +0 -1
  430. package/dist/cjs/commands/CreateDocumentClassifierCommand.js +0 -64
  431. package/dist/cjs/commands/CreateDocumentClassifierCommand.js.map +0 -1
  432. package/dist/cjs/commands/CreateEndpointCommand.js +0 -63
  433. package/dist/cjs/commands/CreateEndpointCommand.js.map +0 -1
  434. package/dist/cjs/commands/CreateEntityRecognizerCommand.js +0 -63
  435. package/dist/cjs/commands/CreateEntityRecognizerCommand.js.map +0 -1
  436. package/dist/cjs/commands/DeleteDocumentClassifierCommand.js +0 -67
  437. package/dist/cjs/commands/DeleteDocumentClassifierCommand.js.map +0 -1
  438. package/dist/cjs/commands/DeleteEndpointCommand.js +0 -62
  439. package/dist/cjs/commands/DeleteEndpointCommand.js.map +0 -1
  440. package/dist/cjs/commands/DeleteEntityRecognizerCommand.js +0 -67
  441. package/dist/cjs/commands/DeleteEntityRecognizerCommand.js.map +0 -1
  442. package/dist/cjs/commands/DescribeDocumentClassificationJobCommand.js +0 -62
  443. package/dist/cjs/commands/DescribeDocumentClassificationJobCommand.js.map +0 -1
  444. package/dist/cjs/commands/DescribeDocumentClassifierCommand.js +0 -61
  445. package/dist/cjs/commands/DescribeDocumentClassifierCommand.js.map +0 -1
  446. package/dist/cjs/commands/DescribeDominantLanguageDetectionJobCommand.js +0 -62
  447. package/dist/cjs/commands/DescribeDominantLanguageDetectionJobCommand.js.map +0 -1
  448. package/dist/cjs/commands/DescribeEndpointCommand.js +0 -62
  449. package/dist/cjs/commands/DescribeEndpointCommand.js.map +0 -1
  450. package/dist/cjs/commands/DescribeEntitiesDetectionJobCommand.js +0 -62
  451. package/dist/cjs/commands/DescribeEntitiesDetectionJobCommand.js.map +0 -1
  452. package/dist/cjs/commands/DescribeEntityRecognizerCommand.js +0 -62
  453. package/dist/cjs/commands/DescribeEntityRecognizerCommand.js.map +0 -1
  454. package/dist/cjs/commands/DescribeEventsDetectionJobCommand.js +0 -61
  455. package/dist/cjs/commands/DescribeEventsDetectionJobCommand.js.map +0 -1
  456. package/dist/cjs/commands/DescribeKeyPhrasesDetectionJobCommand.js +0 -62
  457. package/dist/cjs/commands/DescribeKeyPhrasesDetectionJobCommand.js.map +0 -1
  458. package/dist/cjs/commands/DescribePiiEntitiesDetectionJobCommand.js +0 -62
  459. package/dist/cjs/commands/DescribePiiEntitiesDetectionJobCommand.js.map +0 -1
  460. package/dist/cjs/commands/DescribeSentimentDetectionJobCommand.js +0 -62
  461. package/dist/cjs/commands/DescribeSentimentDetectionJobCommand.js.map +0 -1
  462. package/dist/cjs/commands/DescribeTopicsDetectionJobCommand.js +0 -62
  463. package/dist/cjs/commands/DescribeTopicsDetectionJobCommand.js.map +0 -1
  464. package/dist/cjs/commands/DetectDominantLanguageCommand.js +0 -62
  465. package/dist/cjs/commands/DetectDominantLanguageCommand.js.map +0 -1
  466. package/dist/cjs/commands/DetectEntitiesCommand.js +0 -62
  467. package/dist/cjs/commands/DetectEntitiesCommand.js.map +0 -1
  468. package/dist/cjs/commands/DetectKeyPhrasesCommand.js +0 -61
  469. package/dist/cjs/commands/DetectKeyPhrasesCommand.js.map +0 -1
  470. package/dist/cjs/commands/DetectPiiEntitiesCommand.js +0 -62
  471. package/dist/cjs/commands/DetectPiiEntitiesCommand.js.map +0 -1
  472. package/dist/cjs/commands/DetectSentimentCommand.js +0 -62
  473. package/dist/cjs/commands/DetectSentimentCommand.js.map +0 -1
  474. package/dist/cjs/commands/DetectSyntaxCommand.js +0 -62
  475. package/dist/cjs/commands/DetectSyntaxCommand.js.map +0 -1
  476. package/dist/cjs/commands/ListDocumentClassificationJobsCommand.js +0 -61
  477. package/dist/cjs/commands/ListDocumentClassificationJobsCommand.js.map +0 -1
  478. package/dist/cjs/commands/ListDocumentClassifierSummariesCommand.js +0 -61
  479. package/dist/cjs/commands/ListDocumentClassifierSummariesCommand.js.map +0 -1
  480. package/dist/cjs/commands/ListDocumentClassifiersCommand.js +0 -61
  481. package/dist/cjs/commands/ListDocumentClassifiersCommand.js.map +0 -1
  482. package/dist/cjs/commands/ListDominantLanguageDetectionJobsCommand.js +0 -61
  483. package/dist/cjs/commands/ListDominantLanguageDetectionJobsCommand.js.map +0 -1
  484. package/dist/cjs/commands/ListEndpointsCommand.js +0 -61
  485. package/dist/cjs/commands/ListEndpointsCommand.js.map +0 -1
  486. package/dist/cjs/commands/ListEntitiesDetectionJobsCommand.js +0 -61
  487. package/dist/cjs/commands/ListEntitiesDetectionJobsCommand.js.map +0 -1
  488. package/dist/cjs/commands/ListEntityRecognizerSummariesCommand.js +0 -61
  489. package/dist/cjs/commands/ListEntityRecognizerSummariesCommand.js.map +0 -1
  490. package/dist/cjs/commands/ListEntityRecognizersCommand.js +0 -66
  491. package/dist/cjs/commands/ListEntityRecognizersCommand.js.map +0 -1
  492. package/dist/cjs/commands/ListEventsDetectionJobsCommand.js +0 -61
  493. package/dist/cjs/commands/ListEventsDetectionJobsCommand.js.map +0 -1
  494. package/dist/cjs/commands/ListKeyPhrasesDetectionJobsCommand.js +0 -61
  495. package/dist/cjs/commands/ListKeyPhrasesDetectionJobsCommand.js.map +0 -1
  496. package/dist/cjs/commands/ListPiiEntitiesDetectionJobsCommand.js +0 -61
  497. package/dist/cjs/commands/ListPiiEntitiesDetectionJobsCommand.js.map +0 -1
  498. package/dist/cjs/commands/ListSentimentDetectionJobsCommand.js +0 -61
  499. package/dist/cjs/commands/ListSentimentDetectionJobsCommand.js.map +0 -1
  500. package/dist/cjs/commands/ListTagsForResourceCommand.js +0 -61
  501. package/dist/cjs/commands/ListTagsForResourceCommand.js.map +0 -1
  502. package/dist/cjs/commands/ListTopicsDetectionJobsCommand.js +0 -61
  503. package/dist/cjs/commands/ListTopicsDetectionJobsCommand.js.map +0 -1
  504. package/dist/cjs/commands/StartDocumentClassificationJobCommand.js +0 -62
  505. package/dist/cjs/commands/StartDocumentClassificationJobCommand.js.map +0 -1
  506. package/dist/cjs/commands/StartDominantLanguageDetectionJobCommand.js +0 -63
  507. package/dist/cjs/commands/StartDominantLanguageDetectionJobCommand.js.map +0 -1
  508. package/dist/cjs/commands/StartEntitiesDetectionJobCommand.js +0 -65
  509. package/dist/cjs/commands/StartEntitiesDetectionJobCommand.js.map +0 -1
  510. package/dist/cjs/commands/StartEventsDetectionJobCommand.js +0 -61
  511. package/dist/cjs/commands/StartEventsDetectionJobCommand.js.map +0 -1
  512. package/dist/cjs/commands/StartKeyPhrasesDetectionJobCommand.js +0 -63
  513. package/dist/cjs/commands/StartKeyPhrasesDetectionJobCommand.js.map +0 -1
  514. package/dist/cjs/commands/StartPiiEntitiesDetectionJobCommand.js +0 -61
  515. package/dist/cjs/commands/StartPiiEntitiesDetectionJobCommand.js.map +0 -1
  516. package/dist/cjs/commands/StartSentimentDetectionJobCommand.js +0 -63
  517. package/dist/cjs/commands/StartSentimentDetectionJobCommand.js.map +0 -1
  518. package/dist/cjs/commands/StartTopicsDetectionJobCommand.js +0 -62
  519. package/dist/cjs/commands/StartTopicsDetectionJobCommand.js.map +0 -1
  520. package/dist/cjs/commands/StopDominantLanguageDetectionJobCommand.js +0 -70
  521. package/dist/cjs/commands/StopDominantLanguageDetectionJobCommand.js.map +0 -1
  522. package/dist/cjs/commands/StopEntitiesDetectionJobCommand.js +0 -70
  523. package/dist/cjs/commands/StopEntitiesDetectionJobCommand.js.map +0 -1
  524. package/dist/cjs/commands/StopEventsDetectionJobCommand.js +0 -61
  525. package/dist/cjs/commands/StopEventsDetectionJobCommand.js.map +0 -1
  526. package/dist/cjs/commands/StopKeyPhrasesDetectionJobCommand.js +0 -70
  527. package/dist/cjs/commands/StopKeyPhrasesDetectionJobCommand.js.map +0 -1
  528. package/dist/cjs/commands/StopPiiEntitiesDetectionJobCommand.js +0 -61
  529. package/dist/cjs/commands/StopPiiEntitiesDetectionJobCommand.js.map +0 -1
  530. package/dist/cjs/commands/StopSentimentDetectionJobCommand.js +0 -70
  531. package/dist/cjs/commands/StopSentimentDetectionJobCommand.js.map +0 -1
  532. package/dist/cjs/commands/StopTrainingDocumentClassifierCommand.js +0 -66
  533. package/dist/cjs/commands/StopTrainingDocumentClassifierCommand.js.map +0 -1
  534. package/dist/cjs/commands/StopTrainingEntityRecognizerCommand.js +0 -66
  535. package/dist/cjs/commands/StopTrainingEntityRecognizerCommand.js.map +0 -1
  536. package/dist/cjs/commands/TagResourceCommand.js +0 -64
  537. package/dist/cjs/commands/TagResourceCommand.js.map +0 -1
  538. package/dist/cjs/commands/UntagResourceCommand.js +0 -61
  539. package/dist/cjs/commands/UntagResourceCommand.js.map +0 -1
  540. package/dist/cjs/commands/UpdateEndpointCommand.js +0 -61
  541. package/dist/cjs/commands/UpdateEndpointCommand.js.map +0 -1
  542. package/dist/cjs/endpoints.js +0 -77
  543. package/dist/cjs/endpoints.js.map +0 -1
  544. package/dist/cjs/index.js +0 -82
  545. package/dist/cjs/index.js.map +0 -1
  546. package/dist/cjs/models/index.js +0 -5
  547. package/dist/cjs/models/index.js.map +0 -1
  548. package/dist/cjs/models/models_0.js +0 -2033
  549. package/dist/cjs/models/models_0.js.map +0 -1
  550. package/dist/cjs/package.json +0 -93
  551. package/dist/cjs/pagination/Interfaces.js +0 -3
  552. package/dist/cjs/pagination/Interfaces.js.map +0 -1
  553. package/dist/cjs/pagination/ListDocumentClassificationJobsPaginator.js +0 -46
  554. package/dist/cjs/pagination/ListDocumentClassificationJobsPaginator.js.map +0 -1
  555. package/dist/cjs/pagination/ListDocumentClassifierSummariesPaginator.js +0 -46
  556. package/dist/cjs/pagination/ListDocumentClassifierSummariesPaginator.js.map +0 -1
  557. package/dist/cjs/pagination/ListDocumentClassifiersPaginator.js +0 -46
  558. package/dist/cjs/pagination/ListDocumentClassifiersPaginator.js.map +0 -1
  559. package/dist/cjs/pagination/ListDominantLanguageDetectionJobsPaginator.js +0 -46
  560. package/dist/cjs/pagination/ListDominantLanguageDetectionJobsPaginator.js.map +0 -1
  561. package/dist/cjs/pagination/ListEntitiesDetectionJobsPaginator.js +0 -46
  562. package/dist/cjs/pagination/ListEntitiesDetectionJobsPaginator.js.map +0 -1
  563. package/dist/cjs/pagination/ListEntityRecognizerSummariesPaginator.js +0 -46
  564. package/dist/cjs/pagination/ListEntityRecognizerSummariesPaginator.js.map +0 -1
  565. package/dist/cjs/pagination/ListEntityRecognizersPaginator.js +0 -46
  566. package/dist/cjs/pagination/ListEntityRecognizersPaginator.js.map +0 -1
  567. package/dist/cjs/pagination/ListEventsDetectionJobsPaginator.js +0 -46
  568. package/dist/cjs/pagination/ListEventsDetectionJobsPaginator.js.map +0 -1
  569. package/dist/cjs/pagination/ListKeyPhrasesDetectionJobsPaginator.js +0 -46
  570. package/dist/cjs/pagination/ListKeyPhrasesDetectionJobsPaginator.js.map +0 -1
  571. package/dist/cjs/pagination/ListSentimentDetectionJobsPaginator.js +0 -46
  572. package/dist/cjs/pagination/ListSentimentDetectionJobsPaginator.js.map +0 -1
  573. package/dist/cjs/pagination/ListTopicsDetectionJobsPaginator.js +0 -46
  574. package/dist/cjs/pagination/ListTopicsDetectionJobsPaginator.js.map +0 -1
  575. package/dist/cjs/protocols/Aws_json1_1.js +0 -8054
  576. package/dist/cjs/protocols/Aws_json1_1.js.map +0 -1
  577. package/dist/cjs/runtimeConfig.browser.js +0 -41
  578. package/dist/cjs/runtimeConfig.browser.js.map +0 -1
  579. package/dist/cjs/runtimeConfig.js +0 -46
  580. package/dist/cjs/runtimeConfig.js.map +0 -1
  581. package/dist/cjs/runtimeConfig.native.js +0 -20
  582. package/dist/cjs/runtimeConfig.native.js.map +0 -1
  583. package/dist/cjs/runtimeConfig.shared.js +0 -21
  584. package/dist/cjs/runtimeConfig.shared.js.map +0 -1
  585. package/dist/es/Comprehend.js +0 -956
  586. package/dist/es/Comprehend.js.map +0 -1
  587. package/dist/es/ComprehendClient.js +0 -38
  588. package/dist/es/ComprehendClient.js.map +0 -1
  589. package/dist/es/commands/BatchDetectDominantLanguageCommand.js +0 -40
  590. package/dist/es/commands/BatchDetectDominantLanguageCommand.js.map +0 -1
  591. package/dist/es/commands/BatchDetectEntitiesCommand.js +0 -40
  592. package/dist/es/commands/BatchDetectEntitiesCommand.js.map +0 -1
  593. package/dist/es/commands/BatchDetectKeyPhrasesCommand.js +0 -40
  594. package/dist/es/commands/BatchDetectKeyPhrasesCommand.js.map +0 -1
  595. package/dist/es/commands/BatchDetectSentimentCommand.js +0 -40
  596. package/dist/es/commands/BatchDetectSentimentCommand.js.map +0 -1
  597. package/dist/es/commands/BatchDetectSyntaxCommand.js +0 -40
  598. package/dist/es/commands/BatchDetectSyntaxCommand.js.map +0 -1
  599. package/dist/es/commands/ClassifyDocumentCommand.js +0 -40
  600. package/dist/es/commands/ClassifyDocumentCommand.js.map +0 -1
  601. package/dist/es/commands/ContainsPiiEntitiesCommand.js +0 -40
  602. package/dist/es/commands/ContainsPiiEntitiesCommand.js.map +0 -1
  603. package/dist/es/commands/CreateDocumentClassifierCommand.js +0 -40
  604. package/dist/es/commands/CreateDocumentClassifierCommand.js.map +0 -1
  605. package/dist/es/commands/CreateEndpointCommand.js +0 -40
  606. package/dist/es/commands/CreateEndpointCommand.js.map +0 -1
  607. package/dist/es/commands/CreateEntityRecognizerCommand.js +0 -40
  608. package/dist/es/commands/CreateEntityRecognizerCommand.js.map +0 -1
  609. package/dist/es/commands/DeleteDocumentClassifierCommand.js +0 -40
  610. package/dist/es/commands/DeleteDocumentClassifierCommand.js.map +0 -1
  611. package/dist/es/commands/DeleteEndpointCommand.js +0 -40
  612. package/dist/es/commands/DeleteEndpointCommand.js.map +0 -1
  613. package/dist/es/commands/DeleteEntityRecognizerCommand.js +0 -40
  614. package/dist/es/commands/DeleteEntityRecognizerCommand.js.map +0 -1
  615. package/dist/es/commands/DescribeDocumentClassificationJobCommand.js +0 -40
  616. package/dist/es/commands/DescribeDocumentClassificationJobCommand.js.map +0 -1
  617. package/dist/es/commands/DescribeDocumentClassifierCommand.js +0 -40
  618. package/dist/es/commands/DescribeDocumentClassifierCommand.js.map +0 -1
  619. package/dist/es/commands/DescribeDominantLanguageDetectionJobCommand.js +0 -40
  620. package/dist/es/commands/DescribeDominantLanguageDetectionJobCommand.js.map +0 -1
  621. package/dist/es/commands/DescribeEndpointCommand.js +0 -40
  622. package/dist/es/commands/DescribeEndpointCommand.js.map +0 -1
  623. package/dist/es/commands/DescribeEntitiesDetectionJobCommand.js +0 -40
  624. package/dist/es/commands/DescribeEntitiesDetectionJobCommand.js.map +0 -1
  625. package/dist/es/commands/DescribeEntityRecognizerCommand.js +0 -40
  626. package/dist/es/commands/DescribeEntityRecognizerCommand.js.map +0 -1
  627. package/dist/es/commands/DescribeEventsDetectionJobCommand.js +0 -40
  628. package/dist/es/commands/DescribeEventsDetectionJobCommand.js.map +0 -1
  629. package/dist/es/commands/DescribeKeyPhrasesDetectionJobCommand.js +0 -40
  630. package/dist/es/commands/DescribeKeyPhrasesDetectionJobCommand.js.map +0 -1
  631. package/dist/es/commands/DescribePiiEntitiesDetectionJobCommand.js +0 -40
  632. package/dist/es/commands/DescribePiiEntitiesDetectionJobCommand.js.map +0 -1
  633. package/dist/es/commands/DescribeSentimentDetectionJobCommand.js +0 -40
  634. package/dist/es/commands/DescribeSentimentDetectionJobCommand.js.map +0 -1
  635. package/dist/es/commands/DescribeTopicsDetectionJobCommand.js +0 -40
  636. package/dist/es/commands/DescribeTopicsDetectionJobCommand.js.map +0 -1
  637. package/dist/es/commands/DetectDominantLanguageCommand.js +0 -40
  638. package/dist/es/commands/DetectDominantLanguageCommand.js.map +0 -1
  639. package/dist/es/commands/DetectEntitiesCommand.js +0 -40
  640. package/dist/es/commands/DetectEntitiesCommand.js.map +0 -1
  641. package/dist/es/commands/DetectKeyPhrasesCommand.js +0 -40
  642. package/dist/es/commands/DetectKeyPhrasesCommand.js.map +0 -1
  643. package/dist/es/commands/DetectPiiEntitiesCommand.js +0 -40
  644. package/dist/es/commands/DetectPiiEntitiesCommand.js.map +0 -1
  645. package/dist/es/commands/DetectSentimentCommand.js +0 -40
  646. package/dist/es/commands/DetectSentimentCommand.js.map +0 -1
  647. package/dist/es/commands/DetectSyntaxCommand.js +0 -40
  648. package/dist/es/commands/DetectSyntaxCommand.js.map +0 -1
  649. package/dist/es/commands/ListDocumentClassificationJobsCommand.js +0 -40
  650. package/dist/es/commands/ListDocumentClassificationJobsCommand.js.map +0 -1
  651. package/dist/es/commands/ListDocumentClassifierSummariesCommand.js +0 -40
  652. package/dist/es/commands/ListDocumentClassifierSummariesCommand.js.map +0 -1
  653. package/dist/es/commands/ListDocumentClassifiersCommand.js +0 -40
  654. package/dist/es/commands/ListDocumentClassifiersCommand.js.map +0 -1
  655. package/dist/es/commands/ListDominantLanguageDetectionJobsCommand.js +0 -40
  656. package/dist/es/commands/ListDominantLanguageDetectionJobsCommand.js.map +0 -1
  657. package/dist/es/commands/ListEndpointsCommand.js +0 -40
  658. package/dist/es/commands/ListEndpointsCommand.js.map +0 -1
  659. package/dist/es/commands/ListEntitiesDetectionJobsCommand.js +0 -40
  660. package/dist/es/commands/ListEntitiesDetectionJobsCommand.js.map +0 -1
  661. package/dist/es/commands/ListEntityRecognizerSummariesCommand.js +0 -40
  662. package/dist/es/commands/ListEntityRecognizerSummariesCommand.js.map +0 -1
  663. package/dist/es/commands/ListEntityRecognizersCommand.js +0 -40
  664. package/dist/es/commands/ListEntityRecognizersCommand.js.map +0 -1
  665. package/dist/es/commands/ListEventsDetectionJobsCommand.js +0 -40
  666. package/dist/es/commands/ListEventsDetectionJobsCommand.js.map +0 -1
  667. package/dist/es/commands/ListKeyPhrasesDetectionJobsCommand.js +0 -40
  668. package/dist/es/commands/ListKeyPhrasesDetectionJobsCommand.js.map +0 -1
  669. package/dist/es/commands/ListPiiEntitiesDetectionJobsCommand.js +0 -40
  670. package/dist/es/commands/ListPiiEntitiesDetectionJobsCommand.js.map +0 -1
  671. package/dist/es/commands/ListSentimentDetectionJobsCommand.js +0 -40
  672. package/dist/es/commands/ListSentimentDetectionJobsCommand.js.map +0 -1
  673. package/dist/es/commands/ListTagsForResourceCommand.js +0 -40
  674. package/dist/es/commands/ListTagsForResourceCommand.js.map +0 -1
  675. package/dist/es/commands/ListTopicsDetectionJobsCommand.js +0 -40
  676. package/dist/es/commands/ListTopicsDetectionJobsCommand.js.map +0 -1
  677. package/dist/es/commands/StartDocumentClassificationJobCommand.js +0 -40
  678. package/dist/es/commands/StartDocumentClassificationJobCommand.js.map +0 -1
  679. package/dist/es/commands/StartDominantLanguageDetectionJobCommand.js +0 -40
  680. package/dist/es/commands/StartDominantLanguageDetectionJobCommand.js.map +0 -1
  681. package/dist/es/commands/StartEntitiesDetectionJobCommand.js +0 -40
  682. package/dist/es/commands/StartEntitiesDetectionJobCommand.js.map +0 -1
  683. package/dist/es/commands/StartEventsDetectionJobCommand.js +0 -40
  684. package/dist/es/commands/StartEventsDetectionJobCommand.js.map +0 -1
  685. package/dist/es/commands/StartKeyPhrasesDetectionJobCommand.js +0 -40
  686. package/dist/es/commands/StartKeyPhrasesDetectionJobCommand.js.map +0 -1
  687. package/dist/es/commands/StartPiiEntitiesDetectionJobCommand.js +0 -40
  688. package/dist/es/commands/StartPiiEntitiesDetectionJobCommand.js.map +0 -1
  689. package/dist/es/commands/StartSentimentDetectionJobCommand.js +0 -40
  690. package/dist/es/commands/StartSentimentDetectionJobCommand.js.map +0 -1
  691. package/dist/es/commands/StartTopicsDetectionJobCommand.js +0 -40
  692. package/dist/es/commands/StartTopicsDetectionJobCommand.js.map +0 -1
  693. package/dist/es/commands/StopDominantLanguageDetectionJobCommand.js +0 -40
  694. package/dist/es/commands/StopDominantLanguageDetectionJobCommand.js.map +0 -1
  695. package/dist/es/commands/StopEntitiesDetectionJobCommand.js +0 -40
  696. package/dist/es/commands/StopEntitiesDetectionJobCommand.js.map +0 -1
  697. package/dist/es/commands/StopEventsDetectionJobCommand.js +0 -40
  698. package/dist/es/commands/StopEventsDetectionJobCommand.js.map +0 -1
  699. package/dist/es/commands/StopKeyPhrasesDetectionJobCommand.js +0 -40
  700. package/dist/es/commands/StopKeyPhrasesDetectionJobCommand.js.map +0 -1
  701. package/dist/es/commands/StopPiiEntitiesDetectionJobCommand.js +0 -40
  702. package/dist/es/commands/StopPiiEntitiesDetectionJobCommand.js.map +0 -1
  703. package/dist/es/commands/StopSentimentDetectionJobCommand.js +0 -40
  704. package/dist/es/commands/StopSentimentDetectionJobCommand.js.map +0 -1
  705. package/dist/es/commands/StopTrainingDocumentClassifierCommand.js +0 -40
  706. package/dist/es/commands/StopTrainingDocumentClassifierCommand.js.map +0 -1
  707. package/dist/es/commands/StopTrainingEntityRecognizerCommand.js +0 -40
  708. package/dist/es/commands/StopTrainingEntityRecognizerCommand.js.map +0 -1
  709. package/dist/es/commands/TagResourceCommand.js +0 -40
  710. package/dist/es/commands/TagResourceCommand.js.map +0 -1
  711. package/dist/es/commands/UntagResourceCommand.js +0 -40
  712. package/dist/es/commands/UntagResourceCommand.js.map +0 -1
  713. package/dist/es/commands/UpdateEndpointCommand.js +0 -40
  714. package/dist/es/commands/UpdateEndpointCommand.js.map +0 -1
  715. package/dist/es/endpoints.js +0 -73
  716. package/dist/es/endpoints.js.map +0 -1
  717. package/dist/es/index.js +0 -79
  718. package/dist/es/index.js.map +0 -1
  719. package/dist/es/models/index.js +0 -2
  720. package/dist/es/models/index.js.map +0 -1
  721. package/dist/es/models/models_0.js +0 -999
  722. package/dist/es/models/models_0.js.map +0 -1
  723. package/dist/es/package.json +0 -93
  724. package/dist/es/pagination/Interfaces.js +0 -2
  725. package/dist/es/pagination/Interfaces.js.map +0 -1
  726. package/dist/es/pagination/ListDocumentClassificationJobsPaginator.js +0 -75
  727. package/dist/es/pagination/ListDocumentClassificationJobsPaginator.js.map +0 -1
  728. package/dist/es/pagination/ListDocumentClassifierSummariesPaginator.js +0 -75
  729. package/dist/es/pagination/ListDocumentClassifierSummariesPaginator.js.map +0 -1
  730. package/dist/es/pagination/ListDocumentClassifiersPaginator.js +0 -75
  731. package/dist/es/pagination/ListDocumentClassifiersPaginator.js.map +0 -1
  732. package/dist/es/pagination/ListDominantLanguageDetectionJobsPaginator.js +0 -75
  733. package/dist/es/pagination/ListDominantLanguageDetectionJobsPaginator.js.map +0 -1
  734. package/dist/es/pagination/ListEntitiesDetectionJobsPaginator.js +0 -75
  735. package/dist/es/pagination/ListEntitiesDetectionJobsPaginator.js.map +0 -1
  736. package/dist/es/pagination/ListEntityRecognizerSummariesPaginator.js +0 -75
  737. package/dist/es/pagination/ListEntityRecognizerSummariesPaginator.js.map +0 -1
  738. package/dist/es/pagination/ListEntityRecognizersPaginator.js +0 -75
  739. package/dist/es/pagination/ListEntityRecognizersPaginator.js.map +0 -1
  740. package/dist/es/pagination/ListEventsDetectionJobsPaginator.js +0 -75
  741. package/dist/es/pagination/ListEventsDetectionJobsPaginator.js.map +0 -1
  742. package/dist/es/pagination/ListKeyPhrasesDetectionJobsPaginator.js +0 -75
  743. package/dist/es/pagination/ListKeyPhrasesDetectionJobsPaginator.js.map +0 -1
  744. package/dist/es/pagination/ListSentimentDetectionJobsPaginator.js +0 -75
  745. package/dist/es/pagination/ListSentimentDetectionJobsPaginator.js.map +0 -1
  746. package/dist/es/pagination/ListTopicsDetectionJobsPaginator.js +0 -75
  747. package/dist/es/pagination/ListTopicsDetectionJobsPaginator.js.map +0 -1
  748. package/dist/es/protocols/Aws_json1_1.js +0 -8290
  749. package/dist/es/protocols/Aws_json1_1.js.map +0 -1
  750. package/dist/es/runtimeConfig.browser.js +0 -17
  751. package/dist/es/runtimeConfig.browser.js.map +0 -1
  752. package/dist/es/runtimeConfig.js +0 -22
  753. package/dist/es/runtimeConfig.js.map +0 -1
  754. package/dist/es/runtimeConfig.native.js +0 -9
  755. package/dist/es/runtimeConfig.native.js.map +0 -1
  756. package/dist/es/runtimeConfig.shared.js +0 -14
  757. package/dist/es/runtimeConfig.shared.js.map +0 -1
  758. package/dist/types/Comprehend.d.ts +0 -561
  759. package/dist/types/ComprehendClient.d.ts +0 -198
  760. package/dist/types/commands/BatchDetectDominantLanguageCommand.d.ts +0 -37
  761. package/dist/types/commands/BatchDetectEntitiesCommand.d.ts +0 -37
  762. package/dist/types/commands/BatchDetectKeyPhrasesCommand.d.ts +0 -35
  763. package/dist/types/commands/BatchDetectSentimentCommand.d.ts +0 -37
  764. package/dist/types/commands/BatchDetectSyntaxCommand.d.ts +0 -36
  765. package/dist/types/commands/ClassifyDocumentCommand.d.ts +0 -36
  766. package/dist/types/commands/ContainsPiiEntitiesCommand.d.ts +0 -37
  767. package/dist/types/commands/CreateDocumentClassifierCommand.d.ts +0 -38
  768. package/dist/types/commands/CreateEndpointCommand.d.ts +0 -37
  769. package/dist/types/commands/CreateEntityRecognizerCommand.d.ts +0 -37
  770. package/dist/types/commands/DeleteDocumentClassifierCommand.d.ts +0 -41
  771. package/dist/types/commands/DeleteEndpointCommand.d.ts +0 -36
  772. package/dist/types/commands/DeleteEntityRecognizerCommand.d.ts +0 -41
  773. package/dist/types/commands/DescribeDocumentClassificationJobCommand.d.ts +0 -36
  774. package/dist/types/commands/DescribeDocumentClassifierCommand.d.ts +0 -35
  775. package/dist/types/commands/DescribeDominantLanguageDetectionJobCommand.d.ts +0 -36
  776. package/dist/types/commands/DescribeEndpointCommand.d.ts +0 -36
  777. package/dist/types/commands/DescribeEntitiesDetectionJobCommand.d.ts +0 -36
  778. package/dist/types/commands/DescribeEntityRecognizerCommand.d.ts +0 -36
  779. package/dist/types/commands/DescribeEventsDetectionJobCommand.d.ts +0 -35
  780. package/dist/types/commands/DescribeKeyPhrasesDetectionJobCommand.d.ts +0 -36
  781. package/dist/types/commands/DescribePiiEntitiesDetectionJobCommand.d.ts +0 -36
  782. package/dist/types/commands/DescribeSentimentDetectionJobCommand.d.ts +0 -36
  783. package/dist/types/commands/DescribeTopicsDetectionJobCommand.d.ts +0 -36
  784. package/dist/types/commands/DetectDominantLanguageCommand.d.ts +0 -36
  785. package/dist/types/commands/DetectEntitiesCommand.d.ts +0 -36
  786. package/dist/types/commands/DetectKeyPhrasesCommand.d.ts +0 -35
  787. package/dist/types/commands/DetectPiiEntitiesCommand.d.ts +0 -36
  788. package/dist/types/commands/DetectSentimentCommand.d.ts +0 -36
  789. package/dist/types/commands/DetectSyntaxCommand.d.ts +0 -36
  790. package/dist/types/commands/ListDocumentClassificationJobsCommand.d.ts +0 -35
  791. package/dist/types/commands/ListDocumentClassifierSummariesCommand.d.ts +0 -35
  792. package/dist/types/commands/ListDocumentClassifiersCommand.d.ts +0 -35
  793. package/dist/types/commands/ListDominantLanguageDetectionJobsCommand.d.ts +0 -35
  794. package/dist/types/commands/ListEndpointsCommand.d.ts +0 -35
  795. package/dist/types/commands/ListEntitiesDetectionJobsCommand.d.ts +0 -35
  796. package/dist/types/commands/ListEntityRecognizerSummariesCommand.d.ts +0 -35
  797. package/dist/types/commands/ListEntityRecognizersCommand.d.ts +0 -40
  798. package/dist/types/commands/ListEventsDetectionJobsCommand.d.ts +0 -35
  799. package/dist/types/commands/ListKeyPhrasesDetectionJobsCommand.d.ts +0 -35
  800. package/dist/types/commands/ListPiiEntitiesDetectionJobsCommand.d.ts +0 -35
  801. package/dist/types/commands/ListSentimentDetectionJobsCommand.d.ts +0 -35
  802. package/dist/types/commands/ListTagsForResourceCommand.d.ts +0 -35
  803. package/dist/types/commands/ListTopicsDetectionJobsCommand.d.ts +0 -35
  804. package/dist/types/commands/StartDocumentClassificationJobCommand.d.ts +0 -36
  805. package/dist/types/commands/StartDominantLanguageDetectionJobCommand.d.ts +0 -37
  806. package/dist/types/commands/StartEntitiesDetectionJobCommand.d.ts +0 -39
  807. package/dist/types/commands/StartEventsDetectionJobCommand.d.ts +0 -35
  808. package/dist/types/commands/StartKeyPhrasesDetectionJobCommand.d.ts +0 -37
  809. package/dist/types/commands/StartPiiEntitiesDetectionJobCommand.d.ts +0 -35
  810. package/dist/types/commands/StartSentimentDetectionJobCommand.d.ts +0 -37
  811. package/dist/types/commands/StartTopicsDetectionJobCommand.d.ts +0 -36
  812. package/dist/types/commands/StopDominantLanguageDetectionJobCommand.d.ts +0 -44
  813. package/dist/types/commands/StopEntitiesDetectionJobCommand.d.ts +0 -44
  814. package/dist/types/commands/StopEventsDetectionJobCommand.d.ts +0 -35
  815. package/dist/types/commands/StopKeyPhrasesDetectionJobCommand.d.ts +0 -44
  816. package/dist/types/commands/StopPiiEntitiesDetectionJobCommand.d.ts +0 -35
  817. package/dist/types/commands/StopSentimentDetectionJobCommand.d.ts +0 -44
  818. package/dist/types/commands/StopTrainingDocumentClassifierCommand.d.ts +0 -40
  819. package/dist/types/commands/StopTrainingEntityRecognizerCommand.d.ts +0 -40
  820. package/dist/types/commands/TagResourceCommand.d.ts +0 -38
  821. package/dist/types/commands/UntagResourceCommand.d.ts +0 -35
  822. package/dist/types/commands/UpdateEndpointCommand.d.ts +0 -35
  823. package/dist/types/pagination/Interfaces.d.ts +0 -6
  824. package/dist/types/pagination/ListDocumentClassificationJobsPaginator.d.ts +0 -4
  825. package/dist/types/pagination/ListDocumentClassifierSummariesPaginator.d.ts +0 -4
  826. package/dist/types/pagination/ListDocumentClassifiersPaginator.d.ts +0 -4
  827. package/dist/types/pagination/ListDominantLanguageDetectionJobsPaginator.d.ts +0 -4
  828. package/dist/types/pagination/ListEntitiesDetectionJobsPaginator.d.ts +0 -4
  829. package/dist/types/pagination/ListEntityRecognizerSummariesPaginator.d.ts +0 -4
  830. package/dist/types/pagination/ListEntityRecognizersPaginator.d.ts +0 -4
  831. package/dist/types/pagination/ListEventsDetectionJobsPaginator.d.ts +0 -4
  832. package/dist/types/pagination/ListKeyPhrasesDetectionJobsPaginator.d.ts +0 -4
  833. package/dist/types/pagination/ListSentimentDetectionJobsPaginator.d.ts +0 -4
  834. package/dist/types/pagination/ListTopicsDetectionJobsPaginator.d.ts +0 -4
  835. package/dist/types/protocols/Aws_json1_1.d.ts +0 -191
  836. package/dist/types/runtimeConfig.d.ts +0 -37
  837. package/dist/types/ts3.4/Comprehend.d.ts +0 -561
  838. package/dist/types/ts3.4/ComprehendClient.d.ts +0 -198
  839. package/dist/types/ts3.4/commands/BatchDetectDominantLanguageCommand.d.ts +0 -37
  840. package/dist/types/ts3.4/commands/BatchDetectEntitiesCommand.d.ts +0 -37
  841. package/dist/types/ts3.4/commands/BatchDetectKeyPhrasesCommand.d.ts +0 -35
  842. package/dist/types/ts3.4/commands/BatchDetectSentimentCommand.d.ts +0 -37
  843. package/dist/types/ts3.4/commands/BatchDetectSyntaxCommand.d.ts +0 -36
  844. package/dist/types/ts3.4/commands/ClassifyDocumentCommand.d.ts +0 -36
  845. package/dist/types/ts3.4/commands/ContainsPiiEntitiesCommand.d.ts +0 -37
  846. package/dist/types/ts3.4/commands/CreateDocumentClassifierCommand.d.ts +0 -38
  847. package/dist/types/ts3.4/commands/CreateEndpointCommand.d.ts +0 -37
  848. package/dist/types/ts3.4/commands/CreateEntityRecognizerCommand.d.ts +0 -37
  849. package/dist/types/ts3.4/commands/DeleteDocumentClassifierCommand.d.ts +0 -41
  850. package/dist/types/ts3.4/commands/DeleteEndpointCommand.d.ts +0 -36
  851. package/dist/types/ts3.4/commands/DeleteEntityRecognizerCommand.d.ts +0 -41
  852. package/dist/types/ts3.4/commands/DescribeDocumentClassificationJobCommand.d.ts +0 -36
  853. package/dist/types/ts3.4/commands/DescribeDocumentClassifierCommand.d.ts +0 -35
  854. package/dist/types/ts3.4/commands/DescribeDominantLanguageDetectionJobCommand.d.ts +0 -36
  855. package/dist/types/ts3.4/commands/DescribeEndpointCommand.d.ts +0 -36
  856. package/dist/types/ts3.4/commands/DescribeEntitiesDetectionJobCommand.d.ts +0 -36
  857. package/dist/types/ts3.4/commands/DescribeEntityRecognizerCommand.d.ts +0 -36
  858. package/dist/types/ts3.4/commands/DescribeEventsDetectionJobCommand.d.ts +0 -35
  859. package/dist/types/ts3.4/commands/DescribeKeyPhrasesDetectionJobCommand.d.ts +0 -36
  860. package/dist/types/ts3.4/commands/DescribePiiEntitiesDetectionJobCommand.d.ts +0 -36
  861. package/dist/types/ts3.4/commands/DescribeSentimentDetectionJobCommand.d.ts +0 -36
  862. package/dist/types/ts3.4/commands/DescribeTopicsDetectionJobCommand.d.ts +0 -36
  863. package/dist/types/ts3.4/commands/DetectDominantLanguageCommand.d.ts +0 -36
  864. package/dist/types/ts3.4/commands/DetectEntitiesCommand.d.ts +0 -36
  865. package/dist/types/ts3.4/commands/DetectKeyPhrasesCommand.d.ts +0 -35
  866. package/dist/types/ts3.4/commands/DetectPiiEntitiesCommand.d.ts +0 -36
  867. package/dist/types/ts3.4/commands/DetectSentimentCommand.d.ts +0 -36
  868. package/dist/types/ts3.4/commands/DetectSyntaxCommand.d.ts +0 -36
  869. package/dist/types/ts3.4/commands/ListDocumentClassificationJobsCommand.d.ts +0 -35
  870. package/dist/types/ts3.4/commands/ListDocumentClassifierSummariesCommand.d.ts +0 -35
  871. package/dist/types/ts3.4/commands/ListDocumentClassifiersCommand.d.ts +0 -35
  872. package/dist/types/ts3.4/commands/ListDominantLanguageDetectionJobsCommand.d.ts +0 -35
  873. package/dist/types/ts3.4/commands/ListEndpointsCommand.d.ts +0 -35
  874. package/dist/types/ts3.4/commands/ListEntitiesDetectionJobsCommand.d.ts +0 -35
  875. package/dist/types/ts3.4/commands/ListEntityRecognizerSummariesCommand.d.ts +0 -35
  876. package/dist/types/ts3.4/commands/ListEntityRecognizersCommand.d.ts +0 -40
  877. package/dist/types/ts3.4/commands/ListEventsDetectionJobsCommand.d.ts +0 -35
  878. package/dist/types/ts3.4/commands/ListKeyPhrasesDetectionJobsCommand.d.ts +0 -35
  879. package/dist/types/ts3.4/commands/ListPiiEntitiesDetectionJobsCommand.d.ts +0 -35
  880. package/dist/types/ts3.4/commands/ListSentimentDetectionJobsCommand.d.ts +0 -35
  881. package/dist/types/ts3.4/commands/ListTagsForResourceCommand.d.ts +0 -35
  882. package/dist/types/ts3.4/commands/ListTopicsDetectionJobsCommand.d.ts +0 -35
  883. package/dist/types/ts3.4/commands/StartDocumentClassificationJobCommand.d.ts +0 -36
  884. package/dist/types/ts3.4/commands/StartDominantLanguageDetectionJobCommand.d.ts +0 -37
  885. package/dist/types/ts3.4/commands/StartEntitiesDetectionJobCommand.d.ts +0 -39
  886. package/dist/types/ts3.4/commands/StartEventsDetectionJobCommand.d.ts +0 -35
  887. package/dist/types/ts3.4/commands/StartKeyPhrasesDetectionJobCommand.d.ts +0 -37
  888. package/dist/types/ts3.4/commands/StartPiiEntitiesDetectionJobCommand.d.ts +0 -35
  889. package/dist/types/ts3.4/commands/StartSentimentDetectionJobCommand.d.ts +0 -37
  890. package/dist/types/ts3.4/commands/StartTopicsDetectionJobCommand.d.ts +0 -36
  891. package/dist/types/ts3.4/commands/StopDominantLanguageDetectionJobCommand.d.ts +0 -44
  892. package/dist/types/ts3.4/commands/StopEntitiesDetectionJobCommand.d.ts +0 -44
  893. package/dist/types/ts3.4/commands/StopEventsDetectionJobCommand.d.ts +0 -35
  894. package/dist/types/ts3.4/commands/StopKeyPhrasesDetectionJobCommand.d.ts +0 -44
  895. package/dist/types/ts3.4/commands/StopPiiEntitiesDetectionJobCommand.d.ts +0 -35
  896. package/dist/types/ts3.4/commands/StopSentimentDetectionJobCommand.d.ts +0 -44
  897. package/dist/types/ts3.4/commands/StopTrainingDocumentClassifierCommand.d.ts +0 -40
  898. package/dist/types/ts3.4/commands/StopTrainingEntityRecognizerCommand.d.ts +0 -40
  899. package/dist/types/ts3.4/commands/TagResourceCommand.d.ts +0 -38
  900. package/dist/types/ts3.4/commands/UntagResourceCommand.d.ts +0 -35
  901. package/dist/types/ts3.4/commands/UpdateEndpointCommand.d.ts +0 -35
  902. package/dist/types/ts3.4/models/models_0.d.ts +0 -5687
  903. package/dist/types/ts3.4/pagination/Interfaces.d.ts +0 -6
  904. package/dist/types/ts3.4/pagination/ListDocumentClassificationJobsPaginator.d.ts +0 -4
  905. package/dist/types/ts3.4/pagination/ListDocumentClassifierSummariesPaginator.d.ts +0 -4
  906. package/dist/types/ts3.4/pagination/ListDocumentClassifiersPaginator.d.ts +0 -4
  907. package/dist/types/ts3.4/pagination/ListDominantLanguageDetectionJobsPaginator.d.ts +0 -4
  908. package/dist/types/ts3.4/pagination/ListEntitiesDetectionJobsPaginator.d.ts +0 -4
  909. package/dist/types/ts3.4/pagination/ListEntityRecognizerSummariesPaginator.d.ts +0 -4
  910. package/dist/types/ts3.4/pagination/ListEntityRecognizersPaginator.d.ts +0 -4
  911. package/dist/types/ts3.4/pagination/ListEventsDetectionJobsPaginator.d.ts +0 -4
  912. package/dist/types/ts3.4/pagination/ListKeyPhrasesDetectionJobsPaginator.d.ts +0 -4
  913. package/dist/types/ts3.4/pagination/ListSentimentDetectionJobsPaginator.d.ts +0 -4
  914. package/dist/types/ts3.4/pagination/ListTopicsDetectionJobsPaginator.d.ts +0 -4
  915. package/dist/types/ts3.4/protocols/Aws_json1_1.d.ts +0 -191
  916. package/dist/types/ts3.4/runtimeConfig.browser.d.ts +0 -37
  917. package/dist/types/ts3.4/runtimeConfig.d.ts +0 -37
  918. package/dist/types/ts3.4/runtimeConfig.native.d.ts +0 -36
  919. package/dist/types/ts3.4/runtimeConfig.shared.d.ts +0 -13
  920. package/endpoints.ts +0 -77
  921. package/jest.config.js +0 -4
  922. package/models/models_0.ts +0 -6966
  923. package/pagination/Interfaces.ts +0 -7
  924. package/pagination/ListDocumentClassificationJobsPaginator.ts +0 -58
  925. package/pagination/ListDocumentClassifierSummariesPaginator.ts +0 -58
  926. package/pagination/ListDocumentClassifiersPaginator.ts +0 -58
  927. package/pagination/ListDominantLanguageDetectionJobsPaginator.ts +0 -58
  928. package/pagination/ListEntitiesDetectionJobsPaginator.ts +0 -58
  929. package/pagination/ListEntityRecognizerSummariesPaginator.ts +0 -58
  930. package/pagination/ListEntityRecognizersPaginator.ts +0 -58
  931. package/pagination/ListEventsDetectionJobsPaginator.ts +0 -58
  932. package/pagination/ListKeyPhrasesDetectionJobsPaginator.ts +0 -58
  933. package/pagination/ListSentimentDetectionJobsPaginator.ts +0 -58
  934. package/pagination/ListTopicsDetectionJobsPaginator.ts +0 -58
  935. package/protocols/Aws_json1_1.ts +0 -10157
  936. package/runtimeConfig.browser.ts +0 -40
  937. package/runtimeConfig.native.ts +0 -16
  938. package/runtimeConfig.shared.ts +0 -16
  939. package/runtimeConfig.ts +0 -45
  940. package/tsconfig.es.json +0 -10
  941. package/tsconfig.json +0 -31
  942. package/tsconfig.types.json +0 -8
package/Comprehend.ts DELETED
@@ -1,2438 +0,0 @@
1
- import { ComprehendClient } from "./ComprehendClient";
2
- import {
3
- BatchDetectDominantLanguageCommand,
4
- BatchDetectDominantLanguageCommandInput,
5
- BatchDetectDominantLanguageCommandOutput,
6
- } from "./commands/BatchDetectDominantLanguageCommand";
7
- import {
8
- BatchDetectEntitiesCommand,
9
- BatchDetectEntitiesCommandInput,
10
- BatchDetectEntitiesCommandOutput,
11
- } from "./commands/BatchDetectEntitiesCommand";
12
- import {
13
- BatchDetectKeyPhrasesCommand,
14
- BatchDetectKeyPhrasesCommandInput,
15
- BatchDetectKeyPhrasesCommandOutput,
16
- } from "./commands/BatchDetectKeyPhrasesCommand";
17
- import {
18
- BatchDetectSentimentCommand,
19
- BatchDetectSentimentCommandInput,
20
- BatchDetectSentimentCommandOutput,
21
- } from "./commands/BatchDetectSentimentCommand";
22
- import {
23
- BatchDetectSyntaxCommand,
24
- BatchDetectSyntaxCommandInput,
25
- BatchDetectSyntaxCommandOutput,
26
- } from "./commands/BatchDetectSyntaxCommand";
27
- import {
28
- ClassifyDocumentCommand,
29
- ClassifyDocumentCommandInput,
30
- ClassifyDocumentCommandOutput,
31
- } from "./commands/ClassifyDocumentCommand";
32
- import {
33
- ContainsPiiEntitiesCommand,
34
- ContainsPiiEntitiesCommandInput,
35
- ContainsPiiEntitiesCommandOutput,
36
- } from "./commands/ContainsPiiEntitiesCommand";
37
- import {
38
- CreateDocumentClassifierCommand,
39
- CreateDocumentClassifierCommandInput,
40
- CreateDocumentClassifierCommandOutput,
41
- } from "./commands/CreateDocumentClassifierCommand";
42
- import {
43
- CreateEndpointCommand,
44
- CreateEndpointCommandInput,
45
- CreateEndpointCommandOutput,
46
- } from "./commands/CreateEndpointCommand";
47
- import {
48
- CreateEntityRecognizerCommand,
49
- CreateEntityRecognizerCommandInput,
50
- CreateEntityRecognizerCommandOutput,
51
- } from "./commands/CreateEntityRecognizerCommand";
52
- import {
53
- DeleteDocumentClassifierCommand,
54
- DeleteDocumentClassifierCommandInput,
55
- DeleteDocumentClassifierCommandOutput,
56
- } from "./commands/DeleteDocumentClassifierCommand";
57
- import {
58
- DeleteEndpointCommand,
59
- DeleteEndpointCommandInput,
60
- DeleteEndpointCommandOutput,
61
- } from "./commands/DeleteEndpointCommand";
62
- import {
63
- DeleteEntityRecognizerCommand,
64
- DeleteEntityRecognizerCommandInput,
65
- DeleteEntityRecognizerCommandOutput,
66
- } from "./commands/DeleteEntityRecognizerCommand";
67
- import {
68
- DescribeDocumentClassificationJobCommand,
69
- DescribeDocumentClassificationJobCommandInput,
70
- DescribeDocumentClassificationJobCommandOutput,
71
- } from "./commands/DescribeDocumentClassificationJobCommand";
72
- import {
73
- DescribeDocumentClassifierCommand,
74
- DescribeDocumentClassifierCommandInput,
75
- DescribeDocumentClassifierCommandOutput,
76
- } from "./commands/DescribeDocumentClassifierCommand";
77
- import {
78
- DescribeDominantLanguageDetectionJobCommand,
79
- DescribeDominantLanguageDetectionJobCommandInput,
80
- DescribeDominantLanguageDetectionJobCommandOutput,
81
- } from "./commands/DescribeDominantLanguageDetectionJobCommand";
82
- import {
83
- DescribeEndpointCommand,
84
- DescribeEndpointCommandInput,
85
- DescribeEndpointCommandOutput,
86
- } from "./commands/DescribeEndpointCommand";
87
- import {
88
- DescribeEntitiesDetectionJobCommand,
89
- DescribeEntitiesDetectionJobCommandInput,
90
- DescribeEntitiesDetectionJobCommandOutput,
91
- } from "./commands/DescribeEntitiesDetectionJobCommand";
92
- import {
93
- DescribeEntityRecognizerCommand,
94
- DescribeEntityRecognizerCommandInput,
95
- DescribeEntityRecognizerCommandOutput,
96
- } from "./commands/DescribeEntityRecognizerCommand";
97
- import {
98
- DescribeEventsDetectionJobCommand,
99
- DescribeEventsDetectionJobCommandInput,
100
- DescribeEventsDetectionJobCommandOutput,
101
- } from "./commands/DescribeEventsDetectionJobCommand";
102
- import {
103
- DescribeKeyPhrasesDetectionJobCommand,
104
- DescribeKeyPhrasesDetectionJobCommandInput,
105
- DescribeKeyPhrasesDetectionJobCommandOutput,
106
- } from "./commands/DescribeKeyPhrasesDetectionJobCommand";
107
- import {
108
- DescribePiiEntitiesDetectionJobCommand,
109
- DescribePiiEntitiesDetectionJobCommandInput,
110
- DescribePiiEntitiesDetectionJobCommandOutput,
111
- } from "./commands/DescribePiiEntitiesDetectionJobCommand";
112
- import {
113
- DescribeSentimentDetectionJobCommand,
114
- DescribeSentimentDetectionJobCommandInput,
115
- DescribeSentimentDetectionJobCommandOutput,
116
- } from "./commands/DescribeSentimentDetectionJobCommand";
117
- import {
118
- DescribeTopicsDetectionJobCommand,
119
- DescribeTopicsDetectionJobCommandInput,
120
- DescribeTopicsDetectionJobCommandOutput,
121
- } from "./commands/DescribeTopicsDetectionJobCommand";
122
- import {
123
- DetectDominantLanguageCommand,
124
- DetectDominantLanguageCommandInput,
125
- DetectDominantLanguageCommandOutput,
126
- } from "./commands/DetectDominantLanguageCommand";
127
- import {
128
- DetectEntitiesCommand,
129
- DetectEntitiesCommandInput,
130
- DetectEntitiesCommandOutput,
131
- } from "./commands/DetectEntitiesCommand";
132
- import {
133
- DetectKeyPhrasesCommand,
134
- DetectKeyPhrasesCommandInput,
135
- DetectKeyPhrasesCommandOutput,
136
- } from "./commands/DetectKeyPhrasesCommand";
137
- import {
138
- DetectPiiEntitiesCommand,
139
- DetectPiiEntitiesCommandInput,
140
- DetectPiiEntitiesCommandOutput,
141
- } from "./commands/DetectPiiEntitiesCommand";
142
- import {
143
- DetectSentimentCommand,
144
- DetectSentimentCommandInput,
145
- DetectSentimentCommandOutput,
146
- } from "./commands/DetectSentimentCommand";
147
- import {
148
- DetectSyntaxCommand,
149
- DetectSyntaxCommandInput,
150
- DetectSyntaxCommandOutput,
151
- } from "./commands/DetectSyntaxCommand";
152
- import {
153
- ListDocumentClassificationJobsCommand,
154
- ListDocumentClassificationJobsCommandInput,
155
- ListDocumentClassificationJobsCommandOutput,
156
- } from "./commands/ListDocumentClassificationJobsCommand";
157
- import {
158
- ListDocumentClassifierSummariesCommand,
159
- ListDocumentClassifierSummariesCommandInput,
160
- ListDocumentClassifierSummariesCommandOutput,
161
- } from "./commands/ListDocumentClassifierSummariesCommand";
162
- import {
163
- ListDocumentClassifiersCommand,
164
- ListDocumentClassifiersCommandInput,
165
- ListDocumentClassifiersCommandOutput,
166
- } from "./commands/ListDocumentClassifiersCommand";
167
- import {
168
- ListDominantLanguageDetectionJobsCommand,
169
- ListDominantLanguageDetectionJobsCommandInput,
170
- ListDominantLanguageDetectionJobsCommandOutput,
171
- } from "./commands/ListDominantLanguageDetectionJobsCommand";
172
- import {
173
- ListEndpointsCommand,
174
- ListEndpointsCommandInput,
175
- ListEndpointsCommandOutput,
176
- } from "./commands/ListEndpointsCommand";
177
- import {
178
- ListEntitiesDetectionJobsCommand,
179
- ListEntitiesDetectionJobsCommandInput,
180
- ListEntitiesDetectionJobsCommandOutput,
181
- } from "./commands/ListEntitiesDetectionJobsCommand";
182
- import {
183
- ListEntityRecognizerSummariesCommand,
184
- ListEntityRecognizerSummariesCommandInput,
185
- ListEntityRecognizerSummariesCommandOutput,
186
- } from "./commands/ListEntityRecognizerSummariesCommand";
187
- import {
188
- ListEntityRecognizersCommand,
189
- ListEntityRecognizersCommandInput,
190
- ListEntityRecognizersCommandOutput,
191
- } from "./commands/ListEntityRecognizersCommand";
192
- import {
193
- ListEventsDetectionJobsCommand,
194
- ListEventsDetectionJobsCommandInput,
195
- ListEventsDetectionJobsCommandOutput,
196
- } from "./commands/ListEventsDetectionJobsCommand";
197
- import {
198
- ListKeyPhrasesDetectionJobsCommand,
199
- ListKeyPhrasesDetectionJobsCommandInput,
200
- ListKeyPhrasesDetectionJobsCommandOutput,
201
- } from "./commands/ListKeyPhrasesDetectionJobsCommand";
202
- import {
203
- ListPiiEntitiesDetectionJobsCommand,
204
- ListPiiEntitiesDetectionJobsCommandInput,
205
- ListPiiEntitiesDetectionJobsCommandOutput,
206
- } from "./commands/ListPiiEntitiesDetectionJobsCommand";
207
- import {
208
- ListSentimentDetectionJobsCommand,
209
- ListSentimentDetectionJobsCommandInput,
210
- ListSentimentDetectionJobsCommandOutput,
211
- } from "./commands/ListSentimentDetectionJobsCommand";
212
- import {
213
- ListTagsForResourceCommand,
214
- ListTagsForResourceCommandInput,
215
- ListTagsForResourceCommandOutput,
216
- } from "./commands/ListTagsForResourceCommand";
217
- import {
218
- ListTopicsDetectionJobsCommand,
219
- ListTopicsDetectionJobsCommandInput,
220
- ListTopicsDetectionJobsCommandOutput,
221
- } from "./commands/ListTopicsDetectionJobsCommand";
222
- import {
223
- StartDocumentClassificationJobCommand,
224
- StartDocumentClassificationJobCommandInput,
225
- StartDocumentClassificationJobCommandOutput,
226
- } from "./commands/StartDocumentClassificationJobCommand";
227
- import {
228
- StartDominantLanguageDetectionJobCommand,
229
- StartDominantLanguageDetectionJobCommandInput,
230
- StartDominantLanguageDetectionJobCommandOutput,
231
- } from "./commands/StartDominantLanguageDetectionJobCommand";
232
- import {
233
- StartEntitiesDetectionJobCommand,
234
- StartEntitiesDetectionJobCommandInput,
235
- StartEntitiesDetectionJobCommandOutput,
236
- } from "./commands/StartEntitiesDetectionJobCommand";
237
- import {
238
- StartEventsDetectionJobCommand,
239
- StartEventsDetectionJobCommandInput,
240
- StartEventsDetectionJobCommandOutput,
241
- } from "./commands/StartEventsDetectionJobCommand";
242
- import {
243
- StartKeyPhrasesDetectionJobCommand,
244
- StartKeyPhrasesDetectionJobCommandInput,
245
- StartKeyPhrasesDetectionJobCommandOutput,
246
- } from "./commands/StartKeyPhrasesDetectionJobCommand";
247
- import {
248
- StartPiiEntitiesDetectionJobCommand,
249
- StartPiiEntitiesDetectionJobCommandInput,
250
- StartPiiEntitiesDetectionJobCommandOutput,
251
- } from "./commands/StartPiiEntitiesDetectionJobCommand";
252
- import {
253
- StartSentimentDetectionJobCommand,
254
- StartSentimentDetectionJobCommandInput,
255
- StartSentimentDetectionJobCommandOutput,
256
- } from "./commands/StartSentimentDetectionJobCommand";
257
- import {
258
- StartTopicsDetectionJobCommand,
259
- StartTopicsDetectionJobCommandInput,
260
- StartTopicsDetectionJobCommandOutput,
261
- } from "./commands/StartTopicsDetectionJobCommand";
262
- import {
263
- StopDominantLanguageDetectionJobCommand,
264
- StopDominantLanguageDetectionJobCommandInput,
265
- StopDominantLanguageDetectionJobCommandOutput,
266
- } from "./commands/StopDominantLanguageDetectionJobCommand";
267
- import {
268
- StopEntitiesDetectionJobCommand,
269
- StopEntitiesDetectionJobCommandInput,
270
- StopEntitiesDetectionJobCommandOutput,
271
- } from "./commands/StopEntitiesDetectionJobCommand";
272
- import {
273
- StopEventsDetectionJobCommand,
274
- StopEventsDetectionJobCommandInput,
275
- StopEventsDetectionJobCommandOutput,
276
- } from "./commands/StopEventsDetectionJobCommand";
277
- import {
278
- StopKeyPhrasesDetectionJobCommand,
279
- StopKeyPhrasesDetectionJobCommandInput,
280
- StopKeyPhrasesDetectionJobCommandOutput,
281
- } from "./commands/StopKeyPhrasesDetectionJobCommand";
282
- import {
283
- StopPiiEntitiesDetectionJobCommand,
284
- StopPiiEntitiesDetectionJobCommandInput,
285
- StopPiiEntitiesDetectionJobCommandOutput,
286
- } from "./commands/StopPiiEntitiesDetectionJobCommand";
287
- import {
288
- StopSentimentDetectionJobCommand,
289
- StopSentimentDetectionJobCommandInput,
290
- StopSentimentDetectionJobCommandOutput,
291
- } from "./commands/StopSentimentDetectionJobCommand";
292
- import {
293
- StopTrainingDocumentClassifierCommand,
294
- StopTrainingDocumentClassifierCommandInput,
295
- StopTrainingDocumentClassifierCommandOutput,
296
- } from "./commands/StopTrainingDocumentClassifierCommand";
297
- import {
298
- StopTrainingEntityRecognizerCommand,
299
- StopTrainingEntityRecognizerCommandInput,
300
- StopTrainingEntityRecognizerCommandOutput,
301
- } from "./commands/StopTrainingEntityRecognizerCommand";
302
- import { TagResourceCommand, TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
303
- import {
304
- UntagResourceCommand,
305
- UntagResourceCommandInput,
306
- UntagResourceCommandOutput,
307
- } from "./commands/UntagResourceCommand";
308
- import {
309
- UpdateEndpointCommand,
310
- UpdateEndpointCommandInput,
311
- UpdateEndpointCommandOutput,
312
- } from "./commands/UpdateEndpointCommand";
313
- import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
314
-
315
- /**
316
- * <p>Amazon Comprehend is an AWS service for gaining insight into the content of documents.
317
- * Use these actions to determine the topics contained in your documents, the topics they
318
- * discuss, the predominant sentiment expressed in them, the predominant language used, and
319
- * more.</p>
320
- */
321
- export class Comprehend extends ComprehendClient {
322
- /**
323
- * <p>Determines the dominant language of the input text for a batch of documents. For a list
324
- * of languages that Amazon Comprehend can detect, see <a href="https://docs.aws.amazon.com/comprehend/latest/dg/how-languages.html">Amazon Comprehend Supported Languages</a>.
325
- * </p>
326
- */
327
- public batchDetectDominantLanguage(
328
- args: BatchDetectDominantLanguageCommandInput,
329
- options?: __HttpHandlerOptions
330
- ): Promise<BatchDetectDominantLanguageCommandOutput>;
331
- public batchDetectDominantLanguage(
332
- args: BatchDetectDominantLanguageCommandInput,
333
- cb: (err: any, data?: BatchDetectDominantLanguageCommandOutput) => void
334
- ): void;
335
- public batchDetectDominantLanguage(
336
- args: BatchDetectDominantLanguageCommandInput,
337
- options: __HttpHandlerOptions,
338
- cb: (err: any, data?: BatchDetectDominantLanguageCommandOutput) => void
339
- ): void;
340
- public batchDetectDominantLanguage(
341
- args: BatchDetectDominantLanguageCommandInput,
342
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: BatchDetectDominantLanguageCommandOutput) => void),
343
- cb?: (err: any, data?: BatchDetectDominantLanguageCommandOutput) => void
344
- ): Promise<BatchDetectDominantLanguageCommandOutput> | void {
345
- const command = new BatchDetectDominantLanguageCommand(args);
346
- if (typeof optionsOrCb === "function") {
347
- this.send(command, optionsOrCb);
348
- } else if (typeof cb === "function") {
349
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
350
- this.send(command, optionsOrCb || {}, cb);
351
- } else {
352
- return this.send(command, optionsOrCb);
353
- }
354
- }
355
-
356
- /**
357
- * <p>Inspects the text of a batch of documents for named entities and returns information
358
- * about them. For more information about named entities, see <a>how-entities</a>
359
- * </p>
360
- */
361
- public batchDetectEntities(
362
- args: BatchDetectEntitiesCommandInput,
363
- options?: __HttpHandlerOptions
364
- ): Promise<BatchDetectEntitiesCommandOutput>;
365
- public batchDetectEntities(
366
- args: BatchDetectEntitiesCommandInput,
367
- cb: (err: any, data?: BatchDetectEntitiesCommandOutput) => void
368
- ): void;
369
- public batchDetectEntities(
370
- args: BatchDetectEntitiesCommandInput,
371
- options: __HttpHandlerOptions,
372
- cb: (err: any, data?: BatchDetectEntitiesCommandOutput) => void
373
- ): void;
374
- public batchDetectEntities(
375
- args: BatchDetectEntitiesCommandInput,
376
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: BatchDetectEntitiesCommandOutput) => void),
377
- cb?: (err: any, data?: BatchDetectEntitiesCommandOutput) => void
378
- ): Promise<BatchDetectEntitiesCommandOutput> | void {
379
- const command = new BatchDetectEntitiesCommand(args);
380
- if (typeof optionsOrCb === "function") {
381
- this.send(command, optionsOrCb);
382
- } else if (typeof cb === "function") {
383
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
384
- this.send(command, optionsOrCb || {}, cb);
385
- } else {
386
- return this.send(command, optionsOrCb);
387
- }
388
- }
389
-
390
- /**
391
- * <p>Detects the key noun phrases found in a batch of documents.</p>
392
- */
393
- public batchDetectKeyPhrases(
394
- args: BatchDetectKeyPhrasesCommandInput,
395
- options?: __HttpHandlerOptions
396
- ): Promise<BatchDetectKeyPhrasesCommandOutput>;
397
- public batchDetectKeyPhrases(
398
- args: BatchDetectKeyPhrasesCommandInput,
399
- cb: (err: any, data?: BatchDetectKeyPhrasesCommandOutput) => void
400
- ): void;
401
- public batchDetectKeyPhrases(
402
- args: BatchDetectKeyPhrasesCommandInput,
403
- options: __HttpHandlerOptions,
404
- cb: (err: any, data?: BatchDetectKeyPhrasesCommandOutput) => void
405
- ): void;
406
- public batchDetectKeyPhrases(
407
- args: BatchDetectKeyPhrasesCommandInput,
408
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: BatchDetectKeyPhrasesCommandOutput) => void),
409
- cb?: (err: any, data?: BatchDetectKeyPhrasesCommandOutput) => void
410
- ): Promise<BatchDetectKeyPhrasesCommandOutput> | void {
411
- const command = new BatchDetectKeyPhrasesCommand(args);
412
- if (typeof optionsOrCb === "function") {
413
- this.send(command, optionsOrCb);
414
- } else if (typeof cb === "function") {
415
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
416
- this.send(command, optionsOrCb || {}, cb);
417
- } else {
418
- return this.send(command, optionsOrCb);
419
- }
420
- }
421
-
422
- /**
423
- * <p>Inspects a batch of documents and returns an inference of the prevailing sentiment,
424
- * <code>POSITIVE</code>, <code>NEUTRAL</code>, <code>MIXED</code>, or <code>NEGATIVE</code>,
425
- * in each one.</p>
426
- */
427
- public batchDetectSentiment(
428
- args: BatchDetectSentimentCommandInput,
429
- options?: __HttpHandlerOptions
430
- ): Promise<BatchDetectSentimentCommandOutput>;
431
- public batchDetectSentiment(
432
- args: BatchDetectSentimentCommandInput,
433
- cb: (err: any, data?: BatchDetectSentimentCommandOutput) => void
434
- ): void;
435
- public batchDetectSentiment(
436
- args: BatchDetectSentimentCommandInput,
437
- options: __HttpHandlerOptions,
438
- cb: (err: any, data?: BatchDetectSentimentCommandOutput) => void
439
- ): void;
440
- public batchDetectSentiment(
441
- args: BatchDetectSentimentCommandInput,
442
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: BatchDetectSentimentCommandOutput) => void),
443
- cb?: (err: any, data?: BatchDetectSentimentCommandOutput) => void
444
- ): Promise<BatchDetectSentimentCommandOutput> | void {
445
- const command = new BatchDetectSentimentCommand(args);
446
- if (typeof optionsOrCb === "function") {
447
- this.send(command, optionsOrCb);
448
- } else if (typeof cb === "function") {
449
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
450
- this.send(command, optionsOrCb || {}, cb);
451
- } else {
452
- return this.send(command, optionsOrCb);
453
- }
454
- }
455
-
456
- /**
457
- * <p>Inspects the text of a batch of documents for the syntax and part of speech of the words
458
- * in the document and returns information about them. For more information, see <a>how-syntax</a>.</p>
459
- */
460
- public batchDetectSyntax(
461
- args: BatchDetectSyntaxCommandInput,
462
- options?: __HttpHandlerOptions
463
- ): Promise<BatchDetectSyntaxCommandOutput>;
464
- public batchDetectSyntax(
465
- args: BatchDetectSyntaxCommandInput,
466
- cb: (err: any, data?: BatchDetectSyntaxCommandOutput) => void
467
- ): void;
468
- public batchDetectSyntax(
469
- args: BatchDetectSyntaxCommandInput,
470
- options: __HttpHandlerOptions,
471
- cb: (err: any, data?: BatchDetectSyntaxCommandOutput) => void
472
- ): void;
473
- public batchDetectSyntax(
474
- args: BatchDetectSyntaxCommandInput,
475
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: BatchDetectSyntaxCommandOutput) => void),
476
- cb?: (err: any, data?: BatchDetectSyntaxCommandOutput) => void
477
- ): Promise<BatchDetectSyntaxCommandOutput> | void {
478
- const command = new BatchDetectSyntaxCommand(args);
479
- if (typeof optionsOrCb === "function") {
480
- this.send(command, optionsOrCb);
481
- } else if (typeof cb === "function") {
482
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
483
- this.send(command, optionsOrCb || {}, cb);
484
- } else {
485
- return this.send(command, optionsOrCb);
486
- }
487
- }
488
-
489
- /**
490
- * <p>Creates a new document classification request to analyze a single document in real-time,
491
- * using a previously created and trained custom model and an endpoint.</p>
492
- */
493
- public classifyDocument(
494
- args: ClassifyDocumentCommandInput,
495
- options?: __HttpHandlerOptions
496
- ): Promise<ClassifyDocumentCommandOutput>;
497
- public classifyDocument(
498
- args: ClassifyDocumentCommandInput,
499
- cb: (err: any, data?: ClassifyDocumentCommandOutput) => void
500
- ): void;
501
- public classifyDocument(
502
- args: ClassifyDocumentCommandInput,
503
- options: __HttpHandlerOptions,
504
- cb: (err: any, data?: ClassifyDocumentCommandOutput) => void
505
- ): void;
506
- public classifyDocument(
507
- args: ClassifyDocumentCommandInput,
508
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ClassifyDocumentCommandOutput) => void),
509
- cb?: (err: any, data?: ClassifyDocumentCommandOutput) => void
510
- ): Promise<ClassifyDocumentCommandOutput> | void {
511
- const command = new ClassifyDocumentCommand(args);
512
- if (typeof optionsOrCb === "function") {
513
- this.send(command, optionsOrCb);
514
- } else if (typeof cb === "function") {
515
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
516
- this.send(command, optionsOrCb || {}, cb);
517
- } else {
518
- return this.send(command, optionsOrCb);
519
- }
520
- }
521
-
522
- /**
523
- * <p>Analyzes input text for the presence of personally identifiable information (PII) and
524
- * returns the labels of identified PII entity types such as name, address, bank account number,
525
- * or phone number.</p>
526
- */
527
- public containsPiiEntities(
528
- args: ContainsPiiEntitiesCommandInput,
529
- options?: __HttpHandlerOptions
530
- ): Promise<ContainsPiiEntitiesCommandOutput>;
531
- public containsPiiEntities(
532
- args: ContainsPiiEntitiesCommandInput,
533
- cb: (err: any, data?: ContainsPiiEntitiesCommandOutput) => void
534
- ): void;
535
- public containsPiiEntities(
536
- args: ContainsPiiEntitiesCommandInput,
537
- options: __HttpHandlerOptions,
538
- cb: (err: any, data?: ContainsPiiEntitiesCommandOutput) => void
539
- ): void;
540
- public containsPiiEntities(
541
- args: ContainsPiiEntitiesCommandInput,
542
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ContainsPiiEntitiesCommandOutput) => void),
543
- cb?: (err: any, data?: ContainsPiiEntitiesCommandOutput) => void
544
- ): Promise<ContainsPiiEntitiesCommandOutput> | void {
545
- const command = new ContainsPiiEntitiesCommand(args);
546
- if (typeof optionsOrCb === "function") {
547
- this.send(command, optionsOrCb);
548
- } else if (typeof cb === "function") {
549
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
550
- this.send(command, optionsOrCb || {}, cb);
551
- } else {
552
- return this.send(command, optionsOrCb);
553
- }
554
- }
555
-
556
- /**
557
- * <p>Creates a new document classifier that you can use to categorize documents. To create a
558
- * classifier, you provide a set of training documents that labeled with the categories that you
559
- * want to use. After the classifier is trained you can use it to categorize a set of labeled
560
- * documents into the categories. For more information, see <a>how-document-classification</a>.</p>
561
- */
562
- public createDocumentClassifier(
563
- args: CreateDocumentClassifierCommandInput,
564
- options?: __HttpHandlerOptions
565
- ): Promise<CreateDocumentClassifierCommandOutput>;
566
- public createDocumentClassifier(
567
- args: CreateDocumentClassifierCommandInput,
568
- cb: (err: any, data?: CreateDocumentClassifierCommandOutput) => void
569
- ): void;
570
- public createDocumentClassifier(
571
- args: CreateDocumentClassifierCommandInput,
572
- options: __HttpHandlerOptions,
573
- cb: (err: any, data?: CreateDocumentClassifierCommandOutput) => void
574
- ): void;
575
- public createDocumentClassifier(
576
- args: CreateDocumentClassifierCommandInput,
577
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateDocumentClassifierCommandOutput) => void),
578
- cb?: (err: any, data?: CreateDocumentClassifierCommandOutput) => void
579
- ): Promise<CreateDocumentClassifierCommandOutput> | void {
580
- const command = new CreateDocumentClassifierCommand(args);
581
- if (typeof optionsOrCb === "function") {
582
- this.send(command, optionsOrCb);
583
- } else if (typeof cb === "function") {
584
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
585
- this.send(command, optionsOrCb || {}, cb);
586
- } else {
587
- return this.send(command, optionsOrCb);
588
- }
589
- }
590
-
591
- /**
592
- * <p>Creates a model-specific endpoint for synchronous inference for a previously trained
593
- * custom model
594
- * </p>
595
- */
596
- public createEndpoint(
597
- args: CreateEndpointCommandInput,
598
- options?: __HttpHandlerOptions
599
- ): Promise<CreateEndpointCommandOutput>;
600
- public createEndpoint(
601
- args: CreateEndpointCommandInput,
602
- cb: (err: any, data?: CreateEndpointCommandOutput) => void
603
- ): void;
604
- public createEndpoint(
605
- args: CreateEndpointCommandInput,
606
- options: __HttpHandlerOptions,
607
- cb: (err: any, data?: CreateEndpointCommandOutput) => void
608
- ): void;
609
- public createEndpoint(
610
- args: CreateEndpointCommandInput,
611
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateEndpointCommandOutput) => void),
612
- cb?: (err: any, data?: CreateEndpointCommandOutput) => void
613
- ): Promise<CreateEndpointCommandOutput> | void {
614
- const command = new CreateEndpointCommand(args);
615
- if (typeof optionsOrCb === "function") {
616
- this.send(command, optionsOrCb);
617
- } else if (typeof cb === "function") {
618
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
619
- this.send(command, optionsOrCb || {}, cb);
620
- } else {
621
- return this.send(command, optionsOrCb);
622
- }
623
- }
624
-
625
- /**
626
- * <p>Creates an entity recognizer using submitted files. After your
627
- * <code>CreateEntityRecognizer</code> request is submitted, you can check job status using the
628
- * API. </p>
629
- */
630
- public createEntityRecognizer(
631
- args: CreateEntityRecognizerCommandInput,
632
- options?: __HttpHandlerOptions
633
- ): Promise<CreateEntityRecognizerCommandOutput>;
634
- public createEntityRecognizer(
635
- args: CreateEntityRecognizerCommandInput,
636
- cb: (err: any, data?: CreateEntityRecognizerCommandOutput) => void
637
- ): void;
638
- public createEntityRecognizer(
639
- args: CreateEntityRecognizerCommandInput,
640
- options: __HttpHandlerOptions,
641
- cb: (err: any, data?: CreateEntityRecognizerCommandOutput) => void
642
- ): void;
643
- public createEntityRecognizer(
644
- args: CreateEntityRecognizerCommandInput,
645
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateEntityRecognizerCommandOutput) => void),
646
- cb?: (err: any, data?: CreateEntityRecognizerCommandOutput) => void
647
- ): Promise<CreateEntityRecognizerCommandOutput> | void {
648
- const command = new CreateEntityRecognizerCommand(args);
649
- if (typeof optionsOrCb === "function") {
650
- this.send(command, optionsOrCb);
651
- } else if (typeof cb === "function") {
652
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
653
- this.send(command, optionsOrCb || {}, cb);
654
- } else {
655
- return this.send(command, optionsOrCb);
656
- }
657
- }
658
-
659
- /**
660
- * <p>Deletes a previously created document classifier</p>
661
- * <p>Only those classifiers that are in terminated states (IN_ERROR, TRAINED) will be deleted.
662
- * If an active inference job is using the model, a <code>ResourceInUseException</code> will be
663
- * returned.</p>
664
- * <p>This is an asynchronous action that puts the classifier into a DELETING state, and it is
665
- * then removed by a background job. Once removed, the classifier disappears from your account
666
- * and is no longer available for use. </p>
667
- */
668
- public deleteDocumentClassifier(
669
- args: DeleteDocumentClassifierCommandInput,
670
- options?: __HttpHandlerOptions
671
- ): Promise<DeleteDocumentClassifierCommandOutput>;
672
- public deleteDocumentClassifier(
673
- args: DeleteDocumentClassifierCommandInput,
674
- cb: (err: any, data?: DeleteDocumentClassifierCommandOutput) => void
675
- ): void;
676
- public deleteDocumentClassifier(
677
- args: DeleteDocumentClassifierCommandInput,
678
- options: __HttpHandlerOptions,
679
- cb: (err: any, data?: DeleteDocumentClassifierCommandOutput) => void
680
- ): void;
681
- public deleteDocumentClassifier(
682
- args: DeleteDocumentClassifierCommandInput,
683
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteDocumentClassifierCommandOutput) => void),
684
- cb?: (err: any, data?: DeleteDocumentClassifierCommandOutput) => void
685
- ): Promise<DeleteDocumentClassifierCommandOutput> | void {
686
- const command = new DeleteDocumentClassifierCommand(args);
687
- if (typeof optionsOrCb === "function") {
688
- this.send(command, optionsOrCb);
689
- } else if (typeof cb === "function") {
690
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
691
- this.send(command, optionsOrCb || {}, cb);
692
- } else {
693
- return this.send(command, optionsOrCb);
694
- }
695
- }
696
-
697
- /**
698
- * <p>Deletes a model-specific endpoint for a previously-trained custom model. All endpoints
699
- * must be deleted in order for the model to be deleted.</p>
700
- */
701
- public deleteEndpoint(
702
- args: DeleteEndpointCommandInput,
703
- options?: __HttpHandlerOptions
704
- ): Promise<DeleteEndpointCommandOutput>;
705
- public deleteEndpoint(
706
- args: DeleteEndpointCommandInput,
707
- cb: (err: any, data?: DeleteEndpointCommandOutput) => void
708
- ): void;
709
- public deleteEndpoint(
710
- args: DeleteEndpointCommandInput,
711
- options: __HttpHandlerOptions,
712
- cb: (err: any, data?: DeleteEndpointCommandOutput) => void
713
- ): void;
714
- public deleteEndpoint(
715
- args: DeleteEndpointCommandInput,
716
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteEndpointCommandOutput) => void),
717
- cb?: (err: any, data?: DeleteEndpointCommandOutput) => void
718
- ): Promise<DeleteEndpointCommandOutput> | void {
719
- const command = new DeleteEndpointCommand(args);
720
- if (typeof optionsOrCb === "function") {
721
- this.send(command, optionsOrCb);
722
- } else if (typeof cb === "function") {
723
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
724
- this.send(command, optionsOrCb || {}, cb);
725
- } else {
726
- return this.send(command, optionsOrCb);
727
- }
728
- }
729
-
730
- /**
731
- * <p>Deletes an entity recognizer.</p>
732
- * <p>Only those recognizers that are in terminated states (IN_ERROR, TRAINED) will be deleted.
733
- * If an active inference job is using the model, a <code>ResourceInUseException</code> will be
734
- * returned.</p>
735
- * <p>This is an asynchronous action that puts the recognizer into a DELETING state, and it is
736
- * then removed by a background job. Once removed, the recognizer disappears from your account
737
- * and is no longer available for use. </p>
738
- */
739
- public deleteEntityRecognizer(
740
- args: DeleteEntityRecognizerCommandInput,
741
- options?: __HttpHandlerOptions
742
- ): Promise<DeleteEntityRecognizerCommandOutput>;
743
- public deleteEntityRecognizer(
744
- args: DeleteEntityRecognizerCommandInput,
745
- cb: (err: any, data?: DeleteEntityRecognizerCommandOutput) => void
746
- ): void;
747
- public deleteEntityRecognizer(
748
- args: DeleteEntityRecognizerCommandInput,
749
- options: __HttpHandlerOptions,
750
- cb: (err: any, data?: DeleteEntityRecognizerCommandOutput) => void
751
- ): void;
752
- public deleteEntityRecognizer(
753
- args: DeleteEntityRecognizerCommandInput,
754
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteEntityRecognizerCommandOutput) => void),
755
- cb?: (err: any, data?: DeleteEntityRecognizerCommandOutput) => void
756
- ): Promise<DeleteEntityRecognizerCommandOutput> | void {
757
- const command = new DeleteEntityRecognizerCommand(args);
758
- if (typeof optionsOrCb === "function") {
759
- this.send(command, optionsOrCb);
760
- } else if (typeof cb === "function") {
761
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
762
- this.send(command, optionsOrCb || {}, cb);
763
- } else {
764
- return this.send(command, optionsOrCb);
765
- }
766
- }
767
-
768
- /**
769
- * <p>Gets the properties associated with a document classification job. Use this operation to
770
- * get the status of a classification job.</p>
771
- */
772
- public describeDocumentClassificationJob(
773
- args: DescribeDocumentClassificationJobCommandInput,
774
- options?: __HttpHandlerOptions
775
- ): Promise<DescribeDocumentClassificationJobCommandOutput>;
776
- public describeDocumentClassificationJob(
777
- args: DescribeDocumentClassificationJobCommandInput,
778
- cb: (err: any, data?: DescribeDocumentClassificationJobCommandOutput) => void
779
- ): void;
780
- public describeDocumentClassificationJob(
781
- args: DescribeDocumentClassificationJobCommandInput,
782
- options: __HttpHandlerOptions,
783
- cb: (err: any, data?: DescribeDocumentClassificationJobCommandOutput) => void
784
- ): void;
785
- public describeDocumentClassificationJob(
786
- args: DescribeDocumentClassificationJobCommandInput,
787
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeDocumentClassificationJobCommandOutput) => void),
788
- cb?: (err: any, data?: DescribeDocumentClassificationJobCommandOutput) => void
789
- ): Promise<DescribeDocumentClassificationJobCommandOutput> | void {
790
- const command = new DescribeDocumentClassificationJobCommand(args);
791
- if (typeof optionsOrCb === "function") {
792
- this.send(command, optionsOrCb);
793
- } else if (typeof cb === "function") {
794
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
795
- this.send(command, optionsOrCb || {}, cb);
796
- } else {
797
- return this.send(command, optionsOrCb);
798
- }
799
- }
800
-
801
- /**
802
- * <p>Gets the properties associated with a document classifier.</p>
803
- */
804
- public describeDocumentClassifier(
805
- args: DescribeDocumentClassifierCommandInput,
806
- options?: __HttpHandlerOptions
807
- ): Promise<DescribeDocumentClassifierCommandOutput>;
808
- public describeDocumentClassifier(
809
- args: DescribeDocumentClassifierCommandInput,
810
- cb: (err: any, data?: DescribeDocumentClassifierCommandOutput) => void
811
- ): void;
812
- public describeDocumentClassifier(
813
- args: DescribeDocumentClassifierCommandInput,
814
- options: __HttpHandlerOptions,
815
- cb: (err: any, data?: DescribeDocumentClassifierCommandOutput) => void
816
- ): void;
817
- public describeDocumentClassifier(
818
- args: DescribeDocumentClassifierCommandInput,
819
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeDocumentClassifierCommandOutput) => void),
820
- cb?: (err: any, data?: DescribeDocumentClassifierCommandOutput) => void
821
- ): Promise<DescribeDocumentClassifierCommandOutput> | void {
822
- const command = new DescribeDocumentClassifierCommand(args);
823
- if (typeof optionsOrCb === "function") {
824
- this.send(command, optionsOrCb);
825
- } else if (typeof cb === "function") {
826
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
827
- this.send(command, optionsOrCb || {}, cb);
828
- } else {
829
- return this.send(command, optionsOrCb);
830
- }
831
- }
832
-
833
- /**
834
- * <p>Gets the properties associated with a dominant language detection job. Use this operation
835
- * to get the status of a detection job.</p>
836
- */
837
- public describeDominantLanguageDetectionJob(
838
- args: DescribeDominantLanguageDetectionJobCommandInput,
839
- options?: __HttpHandlerOptions
840
- ): Promise<DescribeDominantLanguageDetectionJobCommandOutput>;
841
- public describeDominantLanguageDetectionJob(
842
- args: DescribeDominantLanguageDetectionJobCommandInput,
843
- cb: (err: any, data?: DescribeDominantLanguageDetectionJobCommandOutput) => void
844
- ): void;
845
- public describeDominantLanguageDetectionJob(
846
- args: DescribeDominantLanguageDetectionJobCommandInput,
847
- options: __HttpHandlerOptions,
848
- cb: (err: any, data?: DescribeDominantLanguageDetectionJobCommandOutput) => void
849
- ): void;
850
- public describeDominantLanguageDetectionJob(
851
- args: DescribeDominantLanguageDetectionJobCommandInput,
852
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeDominantLanguageDetectionJobCommandOutput) => void),
853
- cb?: (err: any, data?: DescribeDominantLanguageDetectionJobCommandOutput) => void
854
- ): Promise<DescribeDominantLanguageDetectionJobCommandOutput> | void {
855
- const command = new DescribeDominantLanguageDetectionJobCommand(args);
856
- if (typeof optionsOrCb === "function") {
857
- this.send(command, optionsOrCb);
858
- } else if (typeof cb === "function") {
859
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
860
- this.send(command, optionsOrCb || {}, cb);
861
- } else {
862
- return this.send(command, optionsOrCb);
863
- }
864
- }
865
-
866
- /**
867
- * <p>Gets the properties associated with a specific endpoint. Use this operation to get the
868
- * status of an endpoint.</p>
869
- */
870
- public describeEndpoint(
871
- args: DescribeEndpointCommandInput,
872
- options?: __HttpHandlerOptions
873
- ): Promise<DescribeEndpointCommandOutput>;
874
- public describeEndpoint(
875
- args: DescribeEndpointCommandInput,
876
- cb: (err: any, data?: DescribeEndpointCommandOutput) => void
877
- ): void;
878
- public describeEndpoint(
879
- args: DescribeEndpointCommandInput,
880
- options: __HttpHandlerOptions,
881
- cb: (err: any, data?: DescribeEndpointCommandOutput) => void
882
- ): void;
883
- public describeEndpoint(
884
- args: DescribeEndpointCommandInput,
885
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeEndpointCommandOutput) => void),
886
- cb?: (err: any, data?: DescribeEndpointCommandOutput) => void
887
- ): Promise<DescribeEndpointCommandOutput> | void {
888
- const command = new DescribeEndpointCommand(args);
889
- if (typeof optionsOrCb === "function") {
890
- this.send(command, optionsOrCb);
891
- } else if (typeof cb === "function") {
892
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
893
- this.send(command, optionsOrCb || {}, cb);
894
- } else {
895
- return this.send(command, optionsOrCb);
896
- }
897
- }
898
-
899
- /**
900
- * <p>Gets the properties associated with an entities detection job. Use this operation to get
901
- * the status of a detection job.</p>
902
- */
903
- public describeEntitiesDetectionJob(
904
- args: DescribeEntitiesDetectionJobCommandInput,
905
- options?: __HttpHandlerOptions
906
- ): Promise<DescribeEntitiesDetectionJobCommandOutput>;
907
- public describeEntitiesDetectionJob(
908
- args: DescribeEntitiesDetectionJobCommandInput,
909
- cb: (err: any, data?: DescribeEntitiesDetectionJobCommandOutput) => void
910
- ): void;
911
- public describeEntitiesDetectionJob(
912
- args: DescribeEntitiesDetectionJobCommandInput,
913
- options: __HttpHandlerOptions,
914
- cb: (err: any, data?: DescribeEntitiesDetectionJobCommandOutput) => void
915
- ): void;
916
- public describeEntitiesDetectionJob(
917
- args: DescribeEntitiesDetectionJobCommandInput,
918
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeEntitiesDetectionJobCommandOutput) => void),
919
- cb?: (err: any, data?: DescribeEntitiesDetectionJobCommandOutput) => void
920
- ): Promise<DescribeEntitiesDetectionJobCommandOutput> | void {
921
- const command = new DescribeEntitiesDetectionJobCommand(args);
922
- if (typeof optionsOrCb === "function") {
923
- this.send(command, optionsOrCb);
924
- } else if (typeof cb === "function") {
925
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
926
- this.send(command, optionsOrCb || {}, cb);
927
- } else {
928
- return this.send(command, optionsOrCb);
929
- }
930
- }
931
-
932
- /**
933
- * <p>Provides details about an entity recognizer including status, S3 buckets containing
934
- * training data, recognizer metadata, metrics, and so on.</p>
935
- */
936
- public describeEntityRecognizer(
937
- args: DescribeEntityRecognizerCommandInput,
938
- options?: __HttpHandlerOptions
939
- ): Promise<DescribeEntityRecognizerCommandOutput>;
940
- public describeEntityRecognizer(
941
- args: DescribeEntityRecognizerCommandInput,
942
- cb: (err: any, data?: DescribeEntityRecognizerCommandOutput) => void
943
- ): void;
944
- public describeEntityRecognizer(
945
- args: DescribeEntityRecognizerCommandInput,
946
- options: __HttpHandlerOptions,
947
- cb: (err: any, data?: DescribeEntityRecognizerCommandOutput) => void
948
- ): void;
949
- public describeEntityRecognizer(
950
- args: DescribeEntityRecognizerCommandInput,
951
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeEntityRecognizerCommandOutput) => void),
952
- cb?: (err: any, data?: DescribeEntityRecognizerCommandOutput) => void
953
- ): Promise<DescribeEntityRecognizerCommandOutput> | void {
954
- const command = new DescribeEntityRecognizerCommand(args);
955
- if (typeof optionsOrCb === "function") {
956
- this.send(command, optionsOrCb);
957
- } else if (typeof cb === "function") {
958
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
959
- this.send(command, optionsOrCb || {}, cb);
960
- } else {
961
- return this.send(command, optionsOrCb);
962
- }
963
- }
964
-
965
- /**
966
- * <p>Gets the status and details of an events detection job.</p>
967
- */
968
- public describeEventsDetectionJob(
969
- args: DescribeEventsDetectionJobCommandInput,
970
- options?: __HttpHandlerOptions
971
- ): Promise<DescribeEventsDetectionJobCommandOutput>;
972
- public describeEventsDetectionJob(
973
- args: DescribeEventsDetectionJobCommandInput,
974
- cb: (err: any, data?: DescribeEventsDetectionJobCommandOutput) => void
975
- ): void;
976
- public describeEventsDetectionJob(
977
- args: DescribeEventsDetectionJobCommandInput,
978
- options: __HttpHandlerOptions,
979
- cb: (err: any, data?: DescribeEventsDetectionJobCommandOutput) => void
980
- ): void;
981
- public describeEventsDetectionJob(
982
- args: DescribeEventsDetectionJobCommandInput,
983
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeEventsDetectionJobCommandOutput) => void),
984
- cb?: (err: any, data?: DescribeEventsDetectionJobCommandOutput) => void
985
- ): Promise<DescribeEventsDetectionJobCommandOutput> | void {
986
- const command = new DescribeEventsDetectionJobCommand(args);
987
- if (typeof optionsOrCb === "function") {
988
- this.send(command, optionsOrCb);
989
- } else if (typeof cb === "function") {
990
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
991
- this.send(command, optionsOrCb || {}, cb);
992
- } else {
993
- return this.send(command, optionsOrCb);
994
- }
995
- }
996
-
997
- /**
998
- * <p>Gets the properties associated with a key phrases detection job. Use this operation to get
999
- * the status of a detection job.</p>
1000
- */
1001
- public describeKeyPhrasesDetectionJob(
1002
- args: DescribeKeyPhrasesDetectionJobCommandInput,
1003
- options?: __HttpHandlerOptions
1004
- ): Promise<DescribeKeyPhrasesDetectionJobCommandOutput>;
1005
- public describeKeyPhrasesDetectionJob(
1006
- args: DescribeKeyPhrasesDetectionJobCommandInput,
1007
- cb: (err: any, data?: DescribeKeyPhrasesDetectionJobCommandOutput) => void
1008
- ): void;
1009
- public describeKeyPhrasesDetectionJob(
1010
- args: DescribeKeyPhrasesDetectionJobCommandInput,
1011
- options: __HttpHandlerOptions,
1012
- cb: (err: any, data?: DescribeKeyPhrasesDetectionJobCommandOutput) => void
1013
- ): void;
1014
- public describeKeyPhrasesDetectionJob(
1015
- args: DescribeKeyPhrasesDetectionJobCommandInput,
1016
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeKeyPhrasesDetectionJobCommandOutput) => void),
1017
- cb?: (err: any, data?: DescribeKeyPhrasesDetectionJobCommandOutput) => void
1018
- ): Promise<DescribeKeyPhrasesDetectionJobCommandOutput> | void {
1019
- const command = new DescribeKeyPhrasesDetectionJobCommand(args);
1020
- if (typeof optionsOrCb === "function") {
1021
- this.send(command, optionsOrCb);
1022
- } else if (typeof cb === "function") {
1023
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1024
- this.send(command, optionsOrCb || {}, cb);
1025
- } else {
1026
- return this.send(command, optionsOrCb);
1027
- }
1028
- }
1029
-
1030
- /**
1031
- * <p>Gets the properties associated with a PII entities detection job. For example, you can use
1032
- * this operation to get the job status.</p>
1033
- */
1034
- public describePiiEntitiesDetectionJob(
1035
- args: DescribePiiEntitiesDetectionJobCommandInput,
1036
- options?: __HttpHandlerOptions
1037
- ): Promise<DescribePiiEntitiesDetectionJobCommandOutput>;
1038
- public describePiiEntitiesDetectionJob(
1039
- args: DescribePiiEntitiesDetectionJobCommandInput,
1040
- cb: (err: any, data?: DescribePiiEntitiesDetectionJobCommandOutput) => void
1041
- ): void;
1042
- public describePiiEntitiesDetectionJob(
1043
- args: DescribePiiEntitiesDetectionJobCommandInput,
1044
- options: __HttpHandlerOptions,
1045
- cb: (err: any, data?: DescribePiiEntitiesDetectionJobCommandOutput) => void
1046
- ): void;
1047
- public describePiiEntitiesDetectionJob(
1048
- args: DescribePiiEntitiesDetectionJobCommandInput,
1049
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribePiiEntitiesDetectionJobCommandOutput) => void),
1050
- cb?: (err: any, data?: DescribePiiEntitiesDetectionJobCommandOutput) => void
1051
- ): Promise<DescribePiiEntitiesDetectionJobCommandOutput> | void {
1052
- const command = new DescribePiiEntitiesDetectionJobCommand(args);
1053
- if (typeof optionsOrCb === "function") {
1054
- this.send(command, optionsOrCb);
1055
- } else if (typeof cb === "function") {
1056
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1057
- this.send(command, optionsOrCb || {}, cb);
1058
- } else {
1059
- return this.send(command, optionsOrCb);
1060
- }
1061
- }
1062
-
1063
- /**
1064
- * <p>Gets the properties associated with a sentiment detection job. Use this operation to get
1065
- * the status of a detection job.</p>
1066
- */
1067
- public describeSentimentDetectionJob(
1068
- args: DescribeSentimentDetectionJobCommandInput,
1069
- options?: __HttpHandlerOptions
1070
- ): Promise<DescribeSentimentDetectionJobCommandOutput>;
1071
- public describeSentimentDetectionJob(
1072
- args: DescribeSentimentDetectionJobCommandInput,
1073
- cb: (err: any, data?: DescribeSentimentDetectionJobCommandOutput) => void
1074
- ): void;
1075
- public describeSentimentDetectionJob(
1076
- args: DescribeSentimentDetectionJobCommandInput,
1077
- options: __HttpHandlerOptions,
1078
- cb: (err: any, data?: DescribeSentimentDetectionJobCommandOutput) => void
1079
- ): void;
1080
- public describeSentimentDetectionJob(
1081
- args: DescribeSentimentDetectionJobCommandInput,
1082
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeSentimentDetectionJobCommandOutput) => void),
1083
- cb?: (err: any, data?: DescribeSentimentDetectionJobCommandOutput) => void
1084
- ): Promise<DescribeSentimentDetectionJobCommandOutput> | void {
1085
- const command = new DescribeSentimentDetectionJobCommand(args);
1086
- if (typeof optionsOrCb === "function") {
1087
- this.send(command, optionsOrCb);
1088
- } else if (typeof cb === "function") {
1089
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1090
- this.send(command, optionsOrCb || {}, cb);
1091
- } else {
1092
- return this.send(command, optionsOrCb);
1093
- }
1094
- }
1095
-
1096
- /**
1097
- * <p>Gets the properties associated with a topic detection job. Use this operation to get
1098
- * the status of a detection job.</p>
1099
- */
1100
- public describeTopicsDetectionJob(
1101
- args: DescribeTopicsDetectionJobCommandInput,
1102
- options?: __HttpHandlerOptions
1103
- ): Promise<DescribeTopicsDetectionJobCommandOutput>;
1104
- public describeTopicsDetectionJob(
1105
- args: DescribeTopicsDetectionJobCommandInput,
1106
- cb: (err: any, data?: DescribeTopicsDetectionJobCommandOutput) => void
1107
- ): void;
1108
- public describeTopicsDetectionJob(
1109
- args: DescribeTopicsDetectionJobCommandInput,
1110
- options: __HttpHandlerOptions,
1111
- cb: (err: any, data?: DescribeTopicsDetectionJobCommandOutput) => void
1112
- ): void;
1113
- public describeTopicsDetectionJob(
1114
- args: DescribeTopicsDetectionJobCommandInput,
1115
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeTopicsDetectionJobCommandOutput) => void),
1116
- cb?: (err: any, data?: DescribeTopicsDetectionJobCommandOutput) => void
1117
- ): Promise<DescribeTopicsDetectionJobCommandOutput> | void {
1118
- const command = new DescribeTopicsDetectionJobCommand(args);
1119
- if (typeof optionsOrCb === "function") {
1120
- this.send(command, optionsOrCb);
1121
- } else if (typeof cb === "function") {
1122
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1123
- this.send(command, optionsOrCb || {}, cb);
1124
- } else {
1125
- return this.send(command, optionsOrCb);
1126
- }
1127
- }
1128
-
1129
- /**
1130
- * <p>Determines the dominant language of the input text. For a list of languages that Amazon
1131
- * Comprehend can detect, see <a href="https://docs.aws.amazon.com/comprehend/latest/dg/how-languages.html">Amazon Comprehend Supported Languages</a>. </p>
1132
- */
1133
- public detectDominantLanguage(
1134
- args: DetectDominantLanguageCommandInput,
1135
- options?: __HttpHandlerOptions
1136
- ): Promise<DetectDominantLanguageCommandOutput>;
1137
- public detectDominantLanguage(
1138
- args: DetectDominantLanguageCommandInput,
1139
- cb: (err: any, data?: DetectDominantLanguageCommandOutput) => void
1140
- ): void;
1141
- public detectDominantLanguage(
1142
- args: DetectDominantLanguageCommandInput,
1143
- options: __HttpHandlerOptions,
1144
- cb: (err: any, data?: DetectDominantLanguageCommandOutput) => void
1145
- ): void;
1146
- public detectDominantLanguage(
1147
- args: DetectDominantLanguageCommandInput,
1148
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DetectDominantLanguageCommandOutput) => void),
1149
- cb?: (err: any, data?: DetectDominantLanguageCommandOutput) => void
1150
- ): Promise<DetectDominantLanguageCommandOutput> | void {
1151
- const command = new DetectDominantLanguageCommand(args);
1152
- if (typeof optionsOrCb === "function") {
1153
- this.send(command, optionsOrCb);
1154
- } else if (typeof cb === "function") {
1155
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1156
- this.send(command, optionsOrCb || {}, cb);
1157
- } else {
1158
- return this.send(command, optionsOrCb);
1159
- }
1160
- }
1161
-
1162
- /**
1163
- * <p>Inspects text for named entities, and returns information about them. For more
1164
- * information, about named entities, see <a>how-entities</a>. </p>
1165
- */
1166
- public detectEntities(
1167
- args: DetectEntitiesCommandInput,
1168
- options?: __HttpHandlerOptions
1169
- ): Promise<DetectEntitiesCommandOutput>;
1170
- public detectEntities(
1171
- args: DetectEntitiesCommandInput,
1172
- cb: (err: any, data?: DetectEntitiesCommandOutput) => void
1173
- ): void;
1174
- public detectEntities(
1175
- args: DetectEntitiesCommandInput,
1176
- options: __HttpHandlerOptions,
1177
- cb: (err: any, data?: DetectEntitiesCommandOutput) => void
1178
- ): void;
1179
- public detectEntities(
1180
- args: DetectEntitiesCommandInput,
1181
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DetectEntitiesCommandOutput) => void),
1182
- cb?: (err: any, data?: DetectEntitiesCommandOutput) => void
1183
- ): Promise<DetectEntitiesCommandOutput> | void {
1184
- const command = new DetectEntitiesCommand(args);
1185
- if (typeof optionsOrCb === "function") {
1186
- this.send(command, optionsOrCb);
1187
- } else if (typeof cb === "function") {
1188
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1189
- this.send(command, optionsOrCb || {}, cb);
1190
- } else {
1191
- return this.send(command, optionsOrCb);
1192
- }
1193
- }
1194
-
1195
- /**
1196
- * <p>Detects the key noun phrases found in the text. </p>
1197
- */
1198
- public detectKeyPhrases(
1199
- args: DetectKeyPhrasesCommandInput,
1200
- options?: __HttpHandlerOptions
1201
- ): Promise<DetectKeyPhrasesCommandOutput>;
1202
- public detectKeyPhrases(
1203
- args: DetectKeyPhrasesCommandInput,
1204
- cb: (err: any, data?: DetectKeyPhrasesCommandOutput) => void
1205
- ): void;
1206
- public detectKeyPhrases(
1207
- args: DetectKeyPhrasesCommandInput,
1208
- options: __HttpHandlerOptions,
1209
- cb: (err: any, data?: DetectKeyPhrasesCommandOutput) => void
1210
- ): void;
1211
- public detectKeyPhrases(
1212
- args: DetectKeyPhrasesCommandInput,
1213
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DetectKeyPhrasesCommandOutput) => void),
1214
- cb?: (err: any, data?: DetectKeyPhrasesCommandOutput) => void
1215
- ): Promise<DetectKeyPhrasesCommandOutput> | void {
1216
- const command = new DetectKeyPhrasesCommand(args);
1217
- if (typeof optionsOrCb === "function") {
1218
- this.send(command, optionsOrCb);
1219
- } else if (typeof cb === "function") {
1220
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1221
- this.send(command, optionsOrCb || {}, cb);
1222
- } else {
1223
- return this.send(command, optionsOrCb);
1224
- }
1225
- }
1226
-
1227
- /**
1228
- * <p>Inspects the input text for entities that contain personally identifiable information
1229
- * (PII) and returns information about them.</p>
1230
- */
1231
- public detectPiiEntities(
1232
- args: DetectPiiEntitiesCommandInput,
1233
- options?: __HttpHandlerOptions
1234
- ): Promise<DetectPiiEntitiesCommandOutput>;
1235
- public detectPiiEntities(
1236
- args: DetectPiiEntitiesCommandInput,
1237
- cb: (err: any, data?: DetectPiiEntitiesCommandOutput) => void
1238
- ): void;
1239
- public detectPiiEntities(
1240
- args: DetectPiiEntitiesCommandInput,
1241
- options: __HttpHandlerOptions,
1242
- cb: (err: any, data?: DetectPiiEntitiesCommandOutput) => void
1243
- ): void;
1244
- public detectPiiEntities(
1245
- args: DetectPiiEntitiesCommandInput,
1246
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DetectPiiEntitiesCommandOutput) => void),
1247
- cb?: (err: any, data?: DetectPiiEntitiesCommandOutput) => void
1248
- ): Promise<DetectPiiEntitiesCommandOutput> | void {
1249
- const command = new DetectPiiEntitiesCommand(args);
1250
- if (typeof optionsOrCb === "function") {
1251
- this.send(command, optionsOrCb);
1252
- } else if (typeof cb === "function") {
1253
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1254
- this.send(command, optionsOrCb || {}, cb);
1255
- } else {
1256
- return this.send(command, optionsOrCb);
1257
- }
1258
- }
1259
-
1260
- /**
1261
- * <p>Inspects text and returns an inference of the prevailing sentiment
1262
- * (<code>POSITIVE</code>, <code>NEUTRAL</code>, <code>MIXED</code>, or <code>NEGATIVE</code>). </p>
1263
- */
1264
- public detectSentiment(
1265
- args: DetectSentimentCommandInput,
1266
- options?: __HttpHandlerOptions
1267
- ): Promise<DetectSentimentCommandOutput>;
1268
- public detectSentiment(
1269
- args: DetectSentimentCommandInput,
1270
- cb: (err: any, data?: DetectSentimentCommandOutput) => void
1271
- ): void;
1272
- public detectSentiment(
1273
- args: DetectSentimentCommandInput,
1274
- options: __HttpHandlerOptions,
1275
- cb: (err: any, data?: DetectSentimentCommandOutput) => void
1276
- ): void;
1277
- public detectSentiment(
1278
- args: DetectSentimentCommandInput,
1279
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DetectSentimentCommandOutput) => void),
1280
- cb?: (err: any, data?: DetectSentimentCommandOutput) => void
1281
- ): Promise<DetectSentimentCommandOutput> | void {
1282
- const command = new DetectSentimentCommand(args);
1283
- if (typeof optionsOrCb === "function") {
1284
- this.send(command, optionsOrCb);
1285
- } else if (typeof cb === "function") {
1286
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1287
- this.send(command, optionsOrCb || {}, cb);
1288
- } else {
1289
- return this.send(command, optionsOrCb);
1290
- }
1291
- }
1292
-
1293
- /**
1294
- * <p>Inspects text for syntax and the part of speech of words in the document. For more
1295
- * information, <a>how-syntax</a>.</p>
1296
- */
1297
- public detectSyntax(
1298
- args: DetectSyntaxCommandInput,
1299
- options?: __HttpHandlerOptions
1300
- ): Promise<DetectSyntaxCommandOutput>;
1301
- public detectSyntax(args: DetectSyntaxCommandInput, cb: (err: any, data?: DetectSyntaxCommandOutput) => void): void;
1302
- public detectSyntax(
1303
- args: DetectSyntaxCommandInput,
1304
- options: __HttpHandlerOptions,
1305
- cb: (err: any, data?: DetectSyntaxCommandOutput) => void
1306
- ): void;
1307
- public detectSyntax(
1308
- args: DetectSyntaxCommandInput,
1309
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DetectSyntaxCommandOutput) => void),
1310
- cb?: (err: any, data?: DetectSyntaxCommandOutput) => void
1311
- ): Promise<DetectSyntaxCommandOutput> | void {
1312
- const command = new DetectSyntaxCommand(args);
1313
- if (typeof optionsOrCb === "function") {
1314
- this.send(command, optionsOrCb);
1315
- } else if (typeof cb === "function") {
1316
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1317
- this.send(command, optionsOrCb || {}, cb);
1318
- } else {
1319
- return this.send(command, optionsOrCb);
1320
- }
1321
- }
1322
-
1323
- /**
1324
- * <p>Gets a list of the documentation classification jobs that you have submitted.</p>
1325
- */
1326
- public listDocumentClassificationJobs(
1327
- args: ListDocumentClassificationJobsCommandInput,
1328
- options?: __HttpHandlerOptions
1329
- ): Promise<ListDocumentClassificationJobsCommandOutput>;
1330
- public listDocumentClassificationJobs(
1331
- args: ListDocumentClassificationJobsCommandInput,
1332
- cb: (err: any, data?: ListDocumentClassificationJobsCommandOutput) => void
1333
- ): void;
1334
- public listDocumentClassificationJobs(
1335
- args: ListDocumentClassificationJobsCommandInput,
1336
- options: __HttpHandlerOptions,
1337
- cb: (err: any, data?: ListDocumentClassificationJobsCommandOutput) => void
1338
- ): void;
1339
- public listDocumentClassificationJobs(
1340
- args: ListDocumentClassificationJobsCommandInput,
1341
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListDocumentClassificationJobsCommandOutput) => void),
1342
- cb?: (err: any, data?: ListDocumentClassificationJobsCommandOutput) => void
1343
- ): Promise<ListDocumentClassificationJobsCommandOutput> | void {
1344
- const command = new ListDocumentClassificationJobsCommand(args);
1345
- if (typeof optionsOrCb === "function") {
1346
- this.send(command, optionsOrCb);
1347
- } else if (typeof cb === "function") {
1348
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1349
- this.send(command, optionsOrCb || {}, cb);
1350
- } else {
1351
- return this.send(command, optionsOrCb);
1352
- }
1353
- }
1354
-
1355
- /**
1356
- * <p>Gets a list of the document classifiers that you have created.</p>
1357
- */
1358
- public listDocumentClassifiers(
1359
- args: ListDocumentClassifiersCommandInput,
1360
- options?: __HttpHandlerOptions
1361
- ): Promise<ListDocumentClassifiersCommandOutput>;
1362
- public listDocumentClassifiers(
1363
- args: ListDocumentClassifiersCommandInput,
1364
- cb: (err: any, data?: ListDocumentClassifiersCommandOutput) => void
1365
- ): void;
1366
- public listDocumentClassifiers(
1367
- args: ListDocumentClassifiersCommandInput,
1368
- options: __HttpHandlerOptions,
1369
- cb: (err: any, data?: ListDocumentClassifiersCommandOutput) => void
1370
- ): void;
1371
- public listDocumentClassifiers(
1372
- args: ListDocumentClassifiersCommandInput,
1373
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListDocumentClassifiersCommandOutput) => void),
1374
- cb?: (err: any, data?: ListDocumentClassifiersCommandOutput) => void
1375
- ): Promise<ListDocumentClassifiersCommandOutput> | void {
1376
- const command = new ListDocumentClassifiersCommand(args);
1377
- if (typeof optionsOrCb === "function") {
1378
- this.send(command, optionsOrCb);
1379
- } else if (typeof cb === "function") {
1380
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1381
- this.send(command, optionsOrCb || {}, cb);
1382
- } else {
1383
- return this.send(command, optionsOrCb);
1384
- }
1385
- }
1386
-
1387
- /**
1388
- * <p>Gets a list of summaries of the document classifiers that you have created</p>
1389
- */
1390
- public listDocumentClassifierSummaries(
1391
- args: ListDocumentClassifierSummariesCommandInput,
1392
- options?: __HttpHandlerOptions
1393
- ): Promise<ListDocumentClassifierSummariesCommandOutput>;
1394
- public listDocumentClassifierSummaries(
1395
- args: ListDocumentClassifierSummariesCommandInput,
1396
- cb: (err: any, data?: ListDocumentClassifierSummariesCommandOutput) => void
1397
- ): void;
1398
- public listDocumentClassifierSummaries(
1399
- args: ListDocumentClassifierSummariesCommandInput,
1400
- options: __HttpHandlerOptions,
1401
- cb: (err: any, data?: ListDocumentClassifierSummariesCommandOutput) => void
1402
- ): void;
1403
- public listDocumentClassifierSummaries(
1404
- args: ListDocumentClassifierSummariesCommandInput,
1405
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListDocumentClassifierSummariesCommandOutput) => void),
1406
- cb?: (err: any, data?: ListDocumentClassifierSummariesCommandOutput) => void
1407
- ): Promise<ListDocumentClassifierSummariesCommandOutput> | void {
1408
- const command = new ListDocumentClassifierSummariesCommand(args);
1409
- if (typeof optionsOrCb === "function") {
1410
- this.send(command, optionsOrCb);
1411
- } else if (typeof cb === "function") {
1412
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1413
- this.send(command, optionsOrCb || {}, cb);
1414
- } else {
1415
- return this.send(command, optionsOrCb);
1416
- }
1417
- }
1418
-
1419
- /**
1420
- * <p>Gets a list of the dominant language detection jobs that you have submitted.</p>
1421
- */
1422
- public listDominantLanguageDetectionJobs(
1423
- args: ListDominantLanguageDetectionJobsCommandInput,
1424
- options?: __HttpHandlerOptions
1425
- ): Promise<ListDominantLanguageDetectionJobsCommandOutput>;
1426
- public listDominantLanguageDetectionJobs(
1427
- args: ListDominantLanguageDetectionJobsCommandInput,
1428
- cb: (err: any, data?: ListDominantLanguageDetectionJobsCommandOutput) => void
1429
- ): void;
1430
- public listDominantLanguageDetectionJobs(
1431
- args: ListDominantLanguageDetectionJobsCommandInput,
1432
- options: __HttpHandlerOptions,
1433
- cb: (err: any, data?: ListDominantLanguageDetectionJobsCommandOutput) => void
1434
- ): void;
1435
- public listDominantLanguageDetectionJobs(
1436
- args: ListDominantLanguageDetectionJobsCommandInput,
1437
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListDominantLanguageDetectionJobsCommandOutput) => void),
1438
- cb?: (err: any, data?: ListDominantLanguageDetectionJobsCommandOutput) => void
1439
- ): Promise<ListDominantLanguageDetectionJobsCommandOutput> | void {
1440
- const command = new ListDominantLanguageDetectionJobsCommand(args);
1441
- if (typeof optionsOrCb === "function") {
1442
- this.send(command, optionsOrCb);
1443
- } else if (typeof cb === "function") {
1444
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1445
- this.send(command, optionsOrCb || {}, cb);
1446
- } else {
1447
- return this.send(command, optionsOrCb);
1448
- }
1449
- }
1450
-
1451
- /**
1452
- * <p>Gets a list of all existing endpoints that you've created.</p>
1453
- */
1454
- public listEndpoints(
1455
- args: ListEndpointsCommandInput,
1456
- options?: __HttpHandlerOptions
1457
- ): Promise<ListEndpointsCommandOutput>;
1458
- public listEndpoints(
1459
- args: ListEndpointsCommandInput,
1460
- cb: (err: any, data?: ListEndpointsCommandOutput) => void
1461
- ): void;
1462
- public listEndpoints(
1463
- args: ListEndpointsCommandInput,
1464
- options: __HttpHandlerOptions,
1465
- cb: (err: any, data?: ListEndpointsCommandOutput) => void
1466
- ): void;
1467
- public listEndpoints(
1468
- args: ListEndpointsCommandInput,
1469
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListEndpointsCommandOutput) => void),
1470
- cb?: (err: any, data?: ListEndpointsCommandOutput) => void
1471
- ): Promise<ListEndpointsCommandOutput> | void {
1472
- const command = new ListEndpointsCommand(args);
1473
- if (typeof optionsOrCb === "function") {
1474
- this.send(command, optionsOrCb);
1475
- } else if (typeof cb === "function") {
1476
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1477
- this.send(command, optionsOrCb || {}, cb);
1478
- } else {
1479
- return this.send(command, optionsOrCb);
1480
- }
1481
- }
1482
-
1483
- /**
1484
- * <p>Gets a list of the entity detection jobs that you have submitted.</p>
1485
- */
1486
- public listEntitiesDetectionJobs(
1487
- args: ListEntitiesDetectionJobsCommandInput,
1488
- options?: __HttpHandlerOptions
1489
- ): Promise<ListEntitiesDetectionJobsCommandOutput>;
1490
- public listEntitiesDetectionJobs(
1491
- args: ListEntitiesDetectionJobsCommandInput,
1492
- cb: (err: any, data?: ListEntitiesDetectionJobsCommandOutput) => void
1493
- ): void;
1494
- public listEntitiesDetectionJobs(
1495
- args: ListEntitiesDetectionJobsCommandInput,
1496
- options: __HttpHandlerOptions,
1497
- cb: (err: any, data?: ListEntitiesDetectionJobsCommandOutput) => void
1498
- ): void;
1499
- public listEntitiesDetectionJobs(
1500
- args: ListEntitiesDetectionJobsCommandInput,
1501
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListEntitiesDetectionJobsCommandOutput) => void),
1502
- cb?: (err: any, data?: ListEntitiesDetectionJobsCommandOutput) => void
1503
- ): Promise<ListEntitiesDetectionJobsCommandOutput> | void {
1504
- const command = new ListEntitiesDetectionJobsCommand(args);
1505
- if (typeof optionsOrCb === "function") {
1506
- this.send(command, optionsOrCb);
1507
- } else if (typeof cb === "function") {
1508
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1509
- this.send(command, optionsOrCb || {}, cb);
1510
- } else {
1511
- return this.send(command, optionsOrCb);
1512
- }
1513
- }
1514
-
1515
- /**
1516
- * <p>Gets a list of the properties of all entity recognizers that you created, including
1517
- * recognizers currently in training. Allows you to filter the list of recognizers based on
1518
- * criteria such as status and submission time. This call returns up to 500 entity recognizers in
1519
- * the list, with a default number of 100 recognizers in the list.</p>
1520
- * <p>The results of this list are not in any particular order. Please get the list and sort
1521
- * locally if needed.</p>
1522
- */
1523
- public listEntityRecognizers(
1524
- args: ListEntityRecognizersCommandInput,
1525
- options?: __HttpHandlerOptions
1526
- ): Promise<ListEntityRecognizersCommandOutput>;
1527
- public listEntityRecognizers(
1528
- args: ListEntityRecognizersCommandInput,
1529
- cb: (err: any, data?: ListEntityRecognizersCommandOutput) => void
1530
- ): void;
1531
- public listEntityRecognizers(
1532
- args: ListEntityRecognizersCommandInput,
1533
- options: __HttpHandlerOptions,
1534
- cb: (err: any, data?: ListEntityRecognizersCommandOutput) => void
1535
- ): void;
1536
- public listEntityRecognizers(
1537
- args: ListEntityRecognizersCommandInput,
1538
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListEntityRecognizersCommandOutput) => void),
1539
- cb?: (err: any, data?: ListEntityRecognizersCommandOutput) => void
1540
- ): Promise<ListEntityRecognizersCommandOutput> | void {
1541
- const command = new ListEntityRecognizersCommand(args);
1542
- if (typeof optionsOrCb === "function") {
1543
- this.send(command, optionsOrCb);
1544
- } else if (typeof cb === "function") {
1545
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1546
- this.send(command, optionsOrCb || {}, cb);
1547
- } else {
1548
- return this.send(command, optionsOrCb);
1549
- }
1550
- }
1551
-
1552
- /**
1553
- * <p>Gets a list of summaries for the entity recognizers that you have created.</p>
1554
- */
1555
- public listEntityRecognizerSummaries(
1556
- args: ListEntityRecognizerSummariesCommandInput,
1557
- options?: __HttpHandlerOptions
1558
- ): Promise<ListEntityRecognizerSummariesCommandOutput>;
1559
- public listEntityRecognizerSummaries(
1560
- args: ListEntityRecognizerSummariesCommandInput,
1561
- cb: (err: any, data?: ListEntityRecognizerSummariesCommandOutput) => void
1562
- ): void;
1563
- public listEntityRecognizerSummaries(
1564
- args: ListEntityRecognizerSummariesCommandInput,
1565
- options: __HttpHandlerOptions,
1566
- cb: (err: any, data?: ListEntityRecognizerSummariesCommandOutput) => void
1567
- ): void;
1568
- public listEntityRecognizerSummaries(
1569
- args: ListEntityRecognizerSummariesCommandInput,
1570
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListEntityRecognizerSummariesCommandOutput) => void),
1571
- cb?: (err: any, data?: ListEntityRecognizerSummariesCommandOutput) => void
1572
- ): Promise<ListEntityRecognizerSummariesCommandOutput> | void {
1573
- const command = new ListEntityRecognizerSummariesCommand(args);
1574
- if (typeof optionsOrCb === "function") {
1575
- this.send(command, optionsOrCb);
1576
- } else if (typeof cb === "function") {
1577
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1578
- this.send(command, optionsOrCb || {}, cb);
1579
- } else {
1580
- return this.send(command, optionsOrCb);
1581
- }
1582
- }
1583
-
1584
- /**
1585
- * <p>Gets a list of the events detection jobs that you have submitted.</p>
1586
- */
1587
- public listEventsDetectionJobs(
1588
- args: ListEventsDetectionJobsCommandInput,
1589
- options?: __HttpHandlerOptions
1590
- ): Promise<ListEventsDetectionJobsCommandOutput>;
1591
- public listEventsDetectionJobs(
1592
- args: ListEventsDetectionJobsCommandInput,
1593
- cb: (err: any, data?: ListEventsDetectionJobsCommandOutput) => void
1594
- ): void;
1595
- public listEventsDetectionJobs(
1596
- args: ListEventsDetectionJobsCommandInput,
1597
- options: __HttpHandlerOptions,
1598
- cb: (err: any, data?: ListEventsDetectionJobsCommandOutput) => void
1599
- ): void;
1600
- public listEventsDetectionJobs(
1601
- args: ListEventsDetectionJobsCommandInput,
1602
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListEventsDetectionJobsCommandOutput) => void),
1603
- cb?: (err: any, data?: ListEventsDetectionJobsCommandOutput) => void
1604
- ): Promise<ListEventsDetectionJobsCommandOutput> | void {
1605
- const command = new ListEventsDetectionJobsCommand(args);
1606
- if (typeof optionsOrCb === "function") {
1607
- this.send(command, optionsOrCb);
1608
- } else if (typeof cb === "function") {
1609
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1610
- this.send(command, optionsOrCb || {}, cb);
1611
- } else {
1612
- return this.send(command, optionsOrCb);
1613
- }
1614
- }
1615
-
1616
- /**
1617
- * <p>Get a list of key phrase detection jobs that you have submitted.</p>
1618
- */
1619
- public listKeyPhrasesDetectionJobs(
1620
- args: ListKeyPhrasesDetectionJobsCommandInput,
1621
- options?: __HttpHandlerOptions
1622
- ): Promise<ListKeyPhrasesDetectionJobsCommandOutput>;
1623
- public listKeyPhrasesDetectionJobs(
1624
- args: ListKeyPhrasesDetectionJobsCommandInput,
1625
- cb: (err: any, data?: ListKeyPhrasesDetectionJobsCommandOutput) => void
1626
- ): void;
1627
- public listKeyPhrasesDetectionJobs(
1628
- args: ListKeyPhrasesDetectionJobsCommandInput,
1629
- options: __HttpHandlerOptions,
1630
- cb: (err: any, data?: ListKeyPhrasesDetectionJobsCommandOutput) => void
1631
- ): void;
1632
- public listKeyPhrasesDetectionJobs(
1633
- args: ListKeyPhrasesDetectionJobsCommandInput,
1634
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListKeyPhrasesDetectionJobsCommandOutput) => void),
1635
- cb?: (err: any, data?: ListKeyPhrasesDetectionJobsCommandOutput) => void
1636
- ): Promise<ListKeyPhrasesDetectionJobsCommandOutput> | void {
1637
- const command = new ListKeyPhrasesDetectionJobsCommand(args);
1638
- if (typeof optionsOrCb === "function") {
1639
- this.send(command, optionsOrCb);
1640
- } else if (typeof cb === "function") {
1641
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1642
- this.send(command, optionsOrCb || {}, cb);
1643
- } else {
1644
- return this.send(command, optionsOrCb);
1645
- }
1646
- }
1647
-
1648
- /**
1649
- * <p>Gets a list of the PII entity detection jobs that you have submitted.</p>
1650
- */
1651
- public listPiiEntitiesDetectionJobs(
1652
- args: ListPiiEntitiesDetectionJobsCommandInput,
1653
- options?: __HttpHandlerOptions
1654
- ): Promise<ListPiiEntitiesDetectionJobsCommandOutput>;
1655
- public listPiiEntitiesDetectionJobs(
1656
- args: ListPiiEntitiesDetectionJobsCommandInput,
1657
- cb: (err: any, data?: ListPiiEntitiesDetectionJobsCommandOutput) => void
1658
- ): void;
1659
- public listPiiEntitiesDetectionJobs(
1660
- args: ListPiiEntitiesDetectionJobsCommandInput,
1661
- options: __HttpHandlerOptions,
1662
- cb: (err: any, data?: ListPiiEntitiesDetectionJobsCommandOutput) => void
1663
- ): void;
1664
- public listPiiEntitiesDetectionJobs(
1665
- args: ListPiiEntitiesDetectionJobsCommandInput,
1666
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListPiiEntitiesDetectionJobsCommandOutput) => void),
1667
- cb?: (err: any, data?: ListPiiEntitiesDetectionJobsCommandOutput) => void
1668
- ): Promise<ListPiiEntitiesDetectionJobsCommandOutput> | void {
1669
- const command = new ListPiiEntitiesDetectionJobsCommand(args);
1670
- if (typeof optionsOrCb === "function") {
1671
- this.send(command, optionsOrCb);
1672
- } else if (typeof cb === "function") {
1673
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1674
- this.send(command, optionsOrCb || {}, cb);
1675
- } else {
1676
- return this.send(command, optionsOrCb);
1677
- }
1678
- }
1679
-
1680
- /**
1681
- * <p>Gets a list of sentiment detection jobs that you have submitted.</p>
1682
- */
1683
- public listSentimentDetectionJobs(
1684
- args: ListSentimentDetectionJobsCommandInput,
1685
- options?: __HttpHandlerOptions
1686
- ): Promise<ListSentimentDetectionJobsCommandOutput>;
1687
- public listSentimentDetectionJobs(
1688
- args: ListSentimentDetectionJobsCommandInput,
1689
- cb: (err: any, data?: ListSentimentDetectionJobsCommandOutput) => void
1690
- ): void;
1691
- public listSentimentDetectionJobs(
1692
- args: ListSentimentDetectionJobsCommandInput,
1693
- options: __HttpHandlerOptions,
1694
- cb: (err: any, data?: ListSentimentDetectionJobsCommandOutput) => void
1695
- ): void;
1696
- public listSentimentDetectionJobs(
1697
- args: ListSentimentDetectionJobsCommandInput,
1698
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListSentimentDetectionJobsCommandOutput) => void),
1699
- cb?: (err: any, data?: ListSentimentDetectionJobsCommandOutput) => void
1700
- ): Promise<ListSentimentDetectionJobsCommandOutput> | void {
1701
- const command = new ListSentimentDetectionJobsCommand(args);
1702
- if (typeof optionsOrCb === "function") {
1703
- this.send(command, optionsOrCb);
1704
- } else if (typeof cb === "function") {
1705
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1706
- this.send(command, optionsOrCb || {}, cb);
1707
- } else {
1708
- return this.send(command, optionsOrCb);
1709
- }
1710
- }
1711
-
1712
- /**
1713
- * <p>Lists all tags associated with a given Amazon Comprehend resource. </p>
1714
- */
1715
- public listTagsForResource(
1716
- args: ListTagsForResourceCommandInput,
1717
- options?: __HttpHandlerOptions
1718
- ): Promise<ListTagsForResourceCommandOutput>;
1719
- public listTagsForResource(
1720
- args: ListTagsForResourceCommandInput,
1721
- cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
1722
- ): void;
1723
- public listTagsForResource(
1724
- args: ListTagsForResourceCommandInput,
1725
- options: __HttpHandlerOptions,
1726
- cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
1727
- ): void;
1728
- public listTagsForResource(
1729
- args: ListTagsForResourceCommandInput,
1730
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListTagsForResourceCommandOutput) => void),
1731
- cb?: (err: any, data?: ListTagsForResourceCommandOutput) => void
1732
- ): Promise<ListTagsForResourceCommandOutput> | void {
1733
- const command = new ListTagsForResourceCommand(args);
1734
- if (typeof optionsOrCb === "function") {
1735
- this.send(command, optionsOrCb);
1736
- } else if (typeof cb === "function") {
1737
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1738
- this.send(command, optionsOrCb || {}, cb);
1739
- } else {
1740
- return this.send(command, optionsOrCb);
1741
- }
1742
- }
1743
-
1744
- /**
1745
- * <p>Gets a list of the topic detection jobs that you have submitted.</p>
1746
- */
1747
- public listTopicsDetectionJobs(
1748
- args: ListTopicsDetectionJobsCommandInput,
1749
- options?: __HttpHandlerOptions
1750
- ): Promise<ListTopicsDetectionJobsCommandOutput>;
1751
- public listTopicsDetectionJobs(
1752
- args: ListTopicsDetectionJobsCommandInput,
1753
- cb: (err: any, data?: ListTopicsDetectionJobsCommandOutput) => void
1754
- ): void;
1755
- public listTopicsDetectionJobs(
1756
- args: ListTopicsDetectionJobsCommandInput,
1757
- options: __HttpHandlerOptions,
1758
- cb: (err: any, data?: ListTopicsDetectionJobsCommandOutput) => void
1759
- ): void;
1760
- public listTopicsDetectionJobs(
1761
- args: ListTopicsDetectionJobsCommandInput,
1762
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListTopicsDetectionJobsCommandOutput) => void),
1763
- cb?: (err: any, data?: ListTopicsDetectionJobsCommandOutput) => void
1764
- ): Promise<ListTopicsDetectionJobsCommandOutput> | void {
1765
- const command = new ListTopicsDetectionJobsCommand(args);
1766
- if (typeof optionsOrCb === "function") {
1767
- this.send(command, optionsOrCb);
1768
- } else if (typeof cb === "function") {
1769
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1770
- this.send(command, optionsOrCb || {}, cb);
1771
- } else {
1772
- return this.send(command, optionsOrCb);
1773
- }
1774
- }
1775
-
1776
- /**
1777
- * <p>Starts an asynchronous document classification job. Use the operation to track the progress of the
1778
- * job.</p>
1779
- */
1780
- public startDocumentClassificationJob(
1781
- args: StartDocumentClassificationJobCommandInput,
1782
- options?: __HttpHandlerOptions
1783
- ): Promise<StartDocumentClassificationJobCommandOutput>;
1784
- public startDocumentClassificationJob(
1785
- args: StartDocumentClassificationJobCommandInput,
1786
- cb: (err: any, data?: StartDocumentClassificationJobCommandOutput) => void
1787
- ): void;
1788
- public startDocumentClassificationJob(
1789
- args: StartDocumentClassificationJobCommandInput,
1790
- options: __HttpHandlerOptions,
1791
- cb: (err: any, data?: StartDocumentClassificationJobCommandOutput) => void
1792
- ): void;
1793
- public startDocumentClassificationJob(
1794
- args: StartDocumentClassificationJobCommandInput,
1795
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: StartDocumentClassificationJobCommandOutput) => void),
1796
- cb?: (err: any, data?: StartDocumentClassificationJobCommandOutput) => void
1797
- ): Promise<StartDocumentClassificationJobCommandOutput> | void {
1798
- const command = new StartDocumentClassificationJobCommand(args);
1799
- if (typeof optionsOrCb === "function") {
1800
- this.send(command, optionsOrCb);
1801
- } else if (typeof cb === "function") {
1802
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1803
- this.send(command, optionsOrCb || {}, cb);
1804
- } else {
1805
- return this.send(command, optionsOrCb);
1806
- }
1807
- }
1808
-
1809
- /**
1810
- * <p>Starts an asynchronous dominant language detection job for a collection of documents. Use
1811
- * the operation to track the status
1812
- * of a job.</p>
1813
- */
1814
- public startDominantLanguageDetectionJob(
1815
- args: StartDominantLanguageDetectionJobCommandInput,
1816
- options?: __HttpHandlerOptions
1817
- ): Promise<StartDominantLanguageDetectionJobCommandOutput>;
1818
- public startDominantLanguageDetectionJob(
1819
- args: StartDominantLanguageDetectionJobCommandInput,
1820
- cb: (err: any, data?: StartDominantLanguageDetectionJobCommandOutput) => void
1821
- ): void;
1822
- public startDominantLanguageDetectionJob(
1823
- args: StartDominantLanguageDetectionJobCommandInput,
1824
- options: __HttpHandlerOptions,
1825
- cb: (err: any, data?: StartDominantLanguageDetectionJobCommandOutput) => void
1826
- ): void;
1827
- public startDominantLanguageDetectionJob(
1828
- args: StartDominantLanguageDetectionJobCommandInput,
1829
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: StartDominantLanguageDetectionJobCommandOutput) => void),
1830
- cb?: (err: any, data?: StartDominantLanguageDetectionJobCommandOutput) => void
1831
- ): Promise<StartDominantLanguageDetectionJobCommandOutput> | void {
1832
- const command = new StartDominantLanguageDetectionJobCommand(args);
1833
- if (typeof optionsOrCb === "function") {
1834
- this.send(command, optionsOrCb);
1835
- } else if (typeof cb === "function") {
1836
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1837
- this.send(command, optionsOrCb || {}, cb);
1838
- } else {
1839
- return this.send(command, optionsOrCb);
1840
- }
1841
- }
1842
-
1843
- /**
1844
- * <p>Starts an asynchronous entity detection job for a collection of documents. Use the operation to track the status of a job.</p>
1845
- * <p>This API can be used for either standard entity detection or custom entity recognition. In
1846
- * order to be used for custom entity recognition, the optional <code>EntityRecognizerArn</code>
1847
- * must be used in order to provide access to the recognizer being used to detect the custom
1848
- * entity.</p>
1849
- */
1850
- public startEntitiesDetectionJob(
1851
- args: StartEntitiesDetectionJobCommandInput,
1852
- options?: __HttpHandlerOptions
1853
- ): Promise<StartEntitiesDetectionJobCommandOutput>;
1854
- public startEntitiesDetectionJob(
1855
- args: StartEntitiesDetectionJobCommandInput,
1856
- cb: (err: any, data?: StartEntitiesDetectionJobCommandOutput) => void
1857
- ): void;
1858
- public startEntitiesDetectionJob(
1859
- args: StartEntitiesDetectionJobCommandInput,
1860
- options: __HttpHandlerOptions,
1861
- cb: (err: any, data?: StartEntitiesDetectionJobCommandOutput) => void
1862
- ): void;
1863
- public startEntitiesDetectionJob(
1864
- args: StartEntitiesDetectionJobCommandInput,
1865
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: StartEntitiesDetectionJobCommandOutput) => void),
1866
- cb?: (err: any, data?: StartEntitiesDetectionJobCommandOutput) => void
1867
- ): Promise<StartEntitiesDetectionJobCommandOutput> | void {
1868
- const command = new StartEntitiesDetectionJobCommand(args);
1869
- if (typeof optionsOrCb === "function") {
1870
- this.send(command, optionsOrCb);
1871
- } else if (typeof cb === "function") {
1872
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1873
- this.send(command, optionsOrCb || {}, cb);
1874
- } else {
1875
- return this.send(command, optionsOrCb);
1876
- }
1877
- }
1878
-
1879
- /**
1880
- * <p>Starts an asynchronous event detection job for a collection of documents.</p>
1881
- */
1882
- public startEventsDetectionJob(
1883
- args: StartEventsDetectionJobCommandInput,
1884
- options?: __HttpHandlerOptions
1885
- ): Promise<StartEventsDetectionJobCommandOutput>;
1886
- public startEventsDetectionJob(
1887
- args: StartEventsDetectionJobCommandInput,
1888
- cb: (err: any, data?: StartEventsDetectionJobCommandOutput) => void
1889
- ): void;
1890
- public startEventsDetectionJob(
1891
- args: StartEventsDetectionJobCommandInput,
1892
- options: __HttpHandlerOptions,
1893
- cb: (err: any, data?: StartEventsDetectionJobCommandOutput) => void
1894
- ): void;
1895
- public startEventsDetectionJob(
1896
- args: StartEventsDetectionJobCommandInput,
1897
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: StartEventsDetectionJobCommandOutput) => void),
1898
- cb?: (err: any, data?: StartEventsDetectionJobCommandOutput) => void
1899
- ): Promise<StartEventsDetectionJobCommandOutput> | void {
1900
- const command = new StartEventsDetectionJobCommand(args);
1901
- if (typeof optionsOrCb === "function") {
1902
- this.send(command, optionsOrCb);
1903
- } else if (typeof cb === "function") {
1904
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1905
- this.send(command, optionsOrCb || {}, cb);
1906
- } else {
1907
- return this.send(command, optionsOrCb);
1908
- }
1909
- }
1910
-
1911
- /**
1912
- * <p>Starts an asynchronous key phrase detection job for a collection of documents. Use the
1913
- * operation to track the status of a
1914
- * job.</p>
1915
- */
1916
- public startKeyPhrasesDetectionJob(
1917
- args: StartKeyPhrasesDetectionJobCommandInput,
1918
- options?: __HttpHandlerOptions
1919
- ): Promise<StartKeyPhrasesDetectionJobCommandOutput>;
1920
- public startKeyPhrasesDetectionJob(
1921
- args: StartKeyPhrasesDetectionJobCommandInput,
1922
- cb: (err: any, data?: StartKeyPhrasesDetectionJobCommandOutput) => void
1923
- ): void;
1924
- public startKeyPhrasesDetectionJob(
1925
- args: StartKeyPhrasesDetectionJobCommandInput,
1926
- options: __HttpHandlerOptions,
1927
- cb: (err: any, data?: StartKeyPhrasesDetectionJobCommandOutput) => void
1928
- ): void;
1929
- public startKeyPhrasesDetectionJob(
1930
- args: StartKeyPhrasesDetectionJobCommandInput,
1931
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: StartKeyPhrasesDetectionJobCommandOutput) => void),
1932
- cb?: (err: any, data?: StartKeyPhrasesDetectionJobCommandOutput) => void
1933
- ): Promise<StartKeyPhrasesDetectionJobCommandOutput> | void {
1934
- const command = new StartKeyPhrasesDetectionJobCommand(args);
1935
- if (typeof optionsOrCb === "function") {
1936
- this.send(command, optionsOrCb);
1937
- } else if (typeof cb === "function") {
1938
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1939
- this.send(command, optionsOrCb || {}, cb);
1940
- } else {
1941
- return this.send(command, optionsOrCb);
1942
- }
1943
- }
1944
-
1945
- /**
1946
- * <p>Starts an asynchronous PII entity detection job for a collection of documents.</p>
1947
- */
1948
- public startPiiEntitiesDetectionJob(
1949
- args: StartPiiEntitiesDetectionJobCommandInput,
1950
- options?: __HttpHandlerOptions
1951
- ): Promise<StartPiiEntitiesDetectionJobCommandOutput>;
1952
- public startPiiEntitiesDetectionJob(
1953
- args: StartPiiEntitiesDetectionJobCommandInput,
1954
- cb: (err: any, data?: StartPiiEntitiesDetectionJobCommandOutput) => void
1955
- ): void;
1956
- public startPiiEntitiesDetectionJob(
1957
- args: StartPiiEntitiesDetectionJobCommandInput,
1958
- options: __HttpHandlerOptions,
1959
- cb: (err: any, data?: StartPiiEntitiesDetectionJobCommandOutput) => void
1960
- ): void;
1961
- public startPiiEntitiesDetectionJob(
1962
- args: StartPiiEntitiesDetectionJobCommandInput,
1963
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: StartPiiEntitiesDetectionJobCommandOutput) => void),
1964
- cb?: (err: any, data?: StartPiiEntitiesDetectionJobCommandOutput) => void
1965
- ): Promise<StartPiiEntitiesDetectionJobCommandOutput> | void {
1966
- const command = new StartPiiEntitiesDetectionJobCommand(args);
1967
- if (typeof optionsOrCb === "function") {
1968
- this.send(command, optionsOrCb);
1969
- } else if (typeof cb === "function") {
1970
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1971
- this.send(command, optionsOrCb || {}, cb);
1972
- } else {
1973
- return this.send(command, optionsOrCb);
1974
- }
1975
- }
1976
-
1977
- /**
1978
- * <p>Starts an asynchronous sentiment detection job for a collection of documents. use the
1979
- * operation to track the status of a
1980
- * job.</p>
1981
- */
1982
- public startSentimentDetectionJob(
1983
- args: StartSentimentDetectionJobCommandInput,
1984
- options?: __HttpHandlerOptions
1985
- ): Promise<StartSentimentDetectionJobCommandOutput>;
1986
- public startSentimentDetectionJob(
1987
- args: StartSentimentDetectionJobCommandInput,
1988
- cb: (err: any, data?: StartSentimentDetectionJobCommandOutput) => void
1989
- ): void;
1990
- public startSentimentDetectionJob(
1991
- args: StartSentimentDetectionJobCommandInput,
1992
- options: __HttpHandlerOptions,
1993
- cb: (err: any, data?: StartSentimentDetectionJobCommandOutput) => void
1994
- ): void;
1995
- public startSentimentDetectionJob(
1996
- args: StartSentimentDetectionJobCommandInput,
1997
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: StartSentimentDetectionJobCommandOutput) => void),
1998
- cb?: (err: any, data?: StartSentimentDetectionJobCommandOutput) => void
1999
- ): Promise<StartSentimentDetectionJobCommandOutput> | void {
2000
- const command = new StartSentimentDetectionJobCommand(args);
2001
- if (typeof optionsOrCb === "function") {
2002
- this.send(command, optionsOrCb);
2003
- } else if (typeof cb === "function") {
2004
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2005
- this.send(command, optionsOrCb || {}, cb);
2006
- } else {
2007
- return this.send(command, optionsOrCb);
2008
- }
2009
- }
2010
-
2011
- /**
2012
- * <p>Starts an asynchronous topic detection job. Use the
2013
- * <code>DescribeTopicDetectionJob</code> operation to track the status of a job.</p>
2014
- */
2015
- public startTopicsDetectionJob(
2016
- args: StartTopicsDetectionJobCommandInput,
2017
- options?: __HttpHandlerOptions
2018
- ): Promise<StartTopicsDetectionJobCommandOutput>;
2019
- public startTopicsDetectionJob(
2020
- args: StartTopicsDetectionJobCommandInput,
2021
- cb: (err: any, data?: StartTopicsDetectionJobCommandOutput) => void
2022
- ): void;
2023
- public startTopicsDetectionJob(
2024
- args: StartTopicsDetectionJobCommandInput,
2025
- options: __HttpHandlerOptions,
2026
- cb: (err: any, data?: StartTopicsDetectionJobCommandOutput) => void
2027
- ): void;
2028
- public startTopicsDetectionJob(
2029
- args: StartTopicsDetectionJobCommandInput,
2030
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: StartTopicsDetectionJobCommandOutput) => void),
2031
- cb?: (err: any, data?: StartTopicsDetectionJobCommandOutput) => void
2032
- ): Promise<StartTopicsDetectionJobCommandOutput> | void {
2033
- const command = new StartTopicsDetectionJobCommand(args);
2034
- if (typeof optionsOrCb === "function") {
2035
- this.send(command, optionsOrCb);
2036
- } else if (typeof cb === "function") {
2037
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2038
- this.send(command, optionsOrCb || {}, cb);
2039
- } else {
2040
- return this.send(command, optionsOrCb);
2041
- }
2042
- }
2043
-
2044
- /**
2045
- * <p>Stops a dominant language detection job in progress.</p>
2046
- * <p>If the job state is <code>IN_PROGRESS</code> the job is marked for termination and put
2047
- * into the <code>STOP_REQUESTED</code> state. If the job completes before it can be stopped, it
2048
- * is put into the <code>COMPLETED</code> state; otherwise the job is stopped and put into the
2049
- * <code>STOPPED</code> state.</p>
2050
- * <p>If the job is in the <code>COMPLETED</code> or <code>FAILED</code> state when you call the
2051
- * <code>StopDominantLanguageDetectionJob</code> operation, the operation returns a 400
2052
- * Internal Request Exception. </p>
2053
- * <p>When a job is stopped, any documents already processed are written to the output
2054
- * location.</p>
2055
- */
2056
- public stopDominantLanguageDetectionJob(
2057
- args: StopDominantLanguageDetectionJobCommandInput,
2058
- options?: __HttpHandlerOptions
2059
- ): Promise<StopDominantLanguageDetectionJobCommandOutput>;
2060
- public stopDominantLanguageDetectionJob(
2061
- args: StopDominantLanguageDetectionJobCommandInput,
2062
- cb: (err: any, data?: StopDominantLanguageDetectionJobCommandOutput) => void
2063
- ): void;
2064
- public stopDominantLanguageDetectionJob(
2065
- args: StopDominantLanguageDetectionJobCommandInput,
2066
- options: __HttpHandlerOptions,
2067
- cb: (err: any, data?: StopDominantLanguageDetectionJobCommandOutput) => void
2068
- ): void;
2069
- public stopDominantLanguageDetectionJob(
2070
- args: StopDominantLanguageDetectionJobCommandInput,
2071
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: StopDominantLanguageDetectionJobCommandOutput) => void),
2072
- cb?: (err: any, data?: StopDominantLanguageDetectionJobCommandOutput) => void
2073
- ): Promise<StopDominantLanguageDetectionJobCommandOutput> | void {
2074
- const command = new StopDominantLanguageDetectionJobCommand(args);
2075
- if (typeof optionsOrCb === "function") {
2076
- this.send(command, optionsOrCb);
2077
- } else if (typeof cb === "function") {
2078
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2079
- this.send(command, optionsOrCb || {}, cb);
2080
- } else {
2081
- return this.send(command, optionsOrCb);
2082
- }
2083
- }
2084
-
2085
- /**
2086
- * <p>Stops an entities detection job in progress.</p>
2087
- * <p>If the job state is <code>IN_PROGRESS</code> the job is marked for termination and put
2088
- * into the <code>STOP_REQUESTED</code> state. If the job completes before it can be stopped, it
2089
- * is put into the <code>COMPLETED</code> state; otherwise the job is stopped and put into the
2090
- * <code>STOPPED</code> state.</p>
2091
- * <p>If the job is in the <code>COMPLETED</code> or <code>FAILED</code> state when you call the
2092
- * <code>StopDominantLanguageDetectionJob</code> operation, the operation returns a 400
2093
- * Internal Request Exception. </p>
2094
- * <p>When a job is stopped, any documents already processed are written to the output
2095
- * location.</p>
2096
- */
2097
- public stopEntitiesDetectionJob(
2098
- args: StopEntitiesDetectionJobCommandInput,
2099
- options?: __HttpHandlerOptions
2100
- ): Promise<StopEntitiesDetectionJobCommandOutput>;
2101
- public stopEntitiesDetectionJob(
2102
- args: StopEntitiesDetectionJobCommandInput,
2103
- cb: (err: any, data?: StopEntitiesDetectionJobCommandOutput) => void
2104
- ): void;
2105
- public stopEntitiesDetectionJob(
2106
- args: StopEntitiesDetectionJobCommandInput,
2107
- options: __HttpHandlerOptions,
2108
- cb: (err: any, data?: StopEntitiesDetectionJobCommandOutput) => void
2109
- ): void;
2110
- public stopEntitiesDetectionJob(
2111
- args: StopEntitiesDetectionJobCommandInput,
2112
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: StopEntitiesDetectionJobCommandOutput) => void),
2113
- cb?: (err: any, data?: StopEntitiesDetectionJobCommandOutput) => void
2114
- ): Promise<StopEntitiesDetectionJobCommandOutput> | void {
2115
- const command = new StopEntitiesDetectionJobCommand(args);
2116
- if (typeof optionsOrCb === "function") {
2117
- this.send(command, optionsOrCb);
2118
- } else if (typeof cb === "function") {
2119
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2120
- this.send(command, optionsOrCb || {}, cb);
2121
- } else {
2122
- return this.send(command, optionsOrCb);
2123
- }
2124
- }
2125
-
2126
- /**
2127
- * <p>Stops an events detection job in progress.</p>
2128
- */
2129
- public stopEventsDetectionJob(
2130
- args: StopEventsDetectionJobCommandInput,
2131
- options?: __HttpHandlerOptions
2132
- ): Promise<StopEventsDetectionJobCommandOutput>;
2133
- public stopEventsDetectionJob(
2134
- args: StopEventsDetectionJobCommandInput,
2135
- cb: (err: any, data?: StopEventsDetectionJobCommandOutput) => void
2136
- ): void;
2137
- public stopEventsDetectionJob(
2138
- args: StopEventsDetectionJobCommandInput,
2139
- options: __HttpHandlerOptions,
2140
- cb: (err: any, data?: StopEventsDetectionJobCommandOutput) => void
2141
- ): void;
2142
- public stopEventsDetectionJob(
2143
- args: StopEventsDetectionJobCommandInput,
2144
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: StopEventsDetectionJobCommandOutput) => void),
2145
- cb?: (err: any, data?: StopEventsDetectionJobCommandOutput) => void
2146
- ): Promise<StopEventsDetectionJobCommandOutput> | void {
2147
- const command = new StopEventsDetectionJobCommand(args);
2148
- if (typeof optionsOrCb === "function") {
2149
- this.send(command, optionsOrCb);
2150
- } else if (typeof cb === "function") {
2151
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2152
- this.send(command, optionsOrCb || {}, cb);
2153
- } else {
2154
- return this.send(command, optionsOrCb);
2155
- }
2156
- }
2157
-
2158
- /**
2159
- * <p>Stops a key phrases detection job in progress.</p>
2160
- * <p>If the job state is <code>IN_PROGRESS</code> the job is marked for termination and put
2161
- * into the <code>STOP_REQUESTED</code> state. If the job completes before it can be stopped, it
2162
- * is put into the <code>COMPLETED</code> state; otherwise the job is stopped and put into the
2163
- * <code>STOPPED</code> state.</p>
2164
- * <p>If the job is in the <code>COMPLETED</code> or <code>FAILED</code> state when you call the
2165
- * <code>StopDominantLanguageDetectionJob</code> operation, the operation returns a 400
2166
- * Internal Request Exception. </p>
2167
- * <p>When a job is stopped, any documents already processed are written to the output
2168
- * location.</p>
2169
- */
2170
- public stopKeyPhrasesDetectionJob(
2171
- args: StopKeyPhrasesDetectionJobCommandInput,
2172
- options?: __HttpHandlerOptions
2173
- ): Promise<StopKeyPhrasesDetectionJobCommandOutput>;
2174
- public stopKeyPhrasesDetectionJob(
2175
- args: StopKeyPhrasesDetectionJobCommandInput,
2176
- cb: (err: any, data?: StopKeyPhrasesDetectionJobCommandOutput) => void
2177
- ): void;
2178
- public stopKeyPhrasesDetectionJob(
2179
- args: StopKeyPhrasesDetectionJobCommandInput,
2180
- options: __HttpHandlerOptions,
2181
- cb: (err: any, data?: StopKeyPhrasesDetectionJobCommandOutput) => void
2182
- ): void;
2183
- public stopKeyPhrasesDetectionJob(
2184
- args: StopKeyPhrasesDetectionJobCommandInput,
2185
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: StopKeyPhrasesDetectionJobCommandOutput) => void),
2186
- cb?: (err: any, data?: StopKeyPhrasesDetectionJobCommandOutput) => void
2187
- ): Promise<StopKeyPhrasesDetectionJobCommandOutput> | void {
2188
- const command = new StopKeyPhrasesDetectionJobCommand(args);
2189
- if (typeof optionsOrCb === "function") {
2190
- this.send(command, optionsOrCb);
2191
- } else if (typeof cb === "function") {
2192
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2193
- this.send(command, optionsOrCb || {}, cb);
2194
- } else {
2195
- return this.send(command, optionsOrCb);
2196
- }
2197
- }
2198
-
2199
- /**
2200
- * <p>Stops a PII entities detection job in progress.</p>
2201
- */
2202
- public stopPiiEntitiesDetectionJob(
2203
- args: StopPiiEntitiesDetectionJobCommandInput,
2204
- options?: __HttpHandlerOptions
2205
- ): Promise<StopPiiEntitiesDetectionJobCommandOutput>;
2206
- public stopPiiEntitiesDetectionJob(
2207
- args: StopPiiEntitiesDetectionJobCommandInput,
2208
- cb: (err: any, data?: StopPiiEntitiesDetectionJobCommandOutput) => void
2209
- ): void;
2210
- public stopPiiEntitiesDetectionJob(
2211
- args: StopPiiEntitiesDetectionJobCommandInput,
2212
- options: __HttpHandlerOptions,
2213
- cb: (err: any, data?: StopPiiEntitiesDetectionJobCommandOutput) => void
2214
- ): void;
2215
- public stopPiiEntitiesDetectionJob(
2216
- args: StopPiiEntitiesDetectionJobCommandInput,
2217
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: StopPiiEntitiesDetectionJobCommandOutput) => void),
2218
- cb?: (err: any, data?: StopPiiEntitiesDetectionJobCommandOutput) => void
2219
- ): Promise<StopPiiEntitiesDetectionJobCommandOutput> | void {
2220
- const command = new StopPiiEntitiesDetectionJobCommand(args);
2221
- if (typeof optionsOrCb === "function") {
2222
- this.send(command, optionsOrCb);
2223
- } else if (typeof cb === "function") {
2224
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2225
- this.send(command, optionsOrCb || {}, cb);
2226
- } else {
2227
- return this.send(command, optionsOrCb);
2228
- }
2229
- }
2230
-
2231
- /**
2232
- * <p>Stops a sentiment detection job in progress.</p>
2233
- * <p>If the job state is <code>IN_PROGRESS</code> the job is marked for termination and put
2234
- * into the <code>STOP_REQUESTED</code> state. If the job completes before it can be stopped, it
2235
- * is put into the <code>COMPLETED</code> state; otherwise the job is be stopped and put into the
2236
- * <code>STOPPED</code> state.</p>
2237
- * <p>If the job is in the <code>COMPLETED</code> or <code>FAILED</code> state when you call the
2238
- * <code>StopDominantLanguageDetectionJob</code> operation, the operation returns a 400
2239
- * Internal Request Exception. </p>
2240
- * <p>When a job is stopped, any documents already processed are written to the output
2241
- * location.</p>
2242
- */
2243
- public stopSentimentDetectionJob(
2244
- args: StopSentimentDetectionJobCommandInput,
2245
- options?: __HttpHandlerOptions
2246
- ): Promise<StopSentimentDetectionJobCommandOutput>;
2247
- public stopSentimentDetectionJob(
2248
- args: StopSentimentDetectionJobCommandInput,
2249
- cb: (err: any, data?: StopSentimentDetectionJobCommandOutput) => void
2250
- ): void;
2251
- public stopSentimentDetectionJob(
2252
- args: StopSentimentDetectionJobCommandInput,
2253
- options: __HttpHandlerOptions,
2254
- cb: (err: any, data?: StopSentimentDetectionJobCommandOutput) => void
2255
- ): void;
2256
- public stopSentimentDetectionJob(
2257
- args: StopSentimentDetectionJobCommandInput,
2258
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: StopSentimentDetectionJobCommandOutput) => void),
2259
- cb?: (err: any, data?: StopSentimentDetectionJobCommandOutput) => void
2260
- ): Promise<StopSentimentDetectionJobCommandOutput> | void {
2261
- const command = new StopSentimentDetectionJobCommand(args);
2262
- if (typeof optionsOrCb === "function") {
2263
- this.send(command, optionsOrCb);
2264
- } else if (typeof cb === "function") {
2265
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2266
- this.send(command, optionsOrCb || {}, cb);
2267
- } else {
2268
- return this.send(command, optionsOrCb);
2269
- }
2270
- }
2271
-
2272
- /**
2273
- * <p>Stops a document classifier training job while in progress.</p>
2274
- * <p>If the training job state is <code>TRAINING</code>, the job is marked for termination and
2275
- * put into the <code>STOP_REQUESTED</code> state. If the training job completes before it can be
2276
- * stopped, it is put into the <code>TRAINED</code>; otherwise the training job is stopped and
2277
- * put into the <code>STOPPED</code> state and the service sends back an HTTP 200 response with
2278
- * an empty HTTP body. </p>
2279
- */
2280
- public stopTrainingDocumentClassifier(
2281
- args: StopTrainingDocumentClassifierCommandInput,
2282
- options?: __HttpHandlerOptions
2283
- ): Promise<StopTrainingDocumentClassifierCommandOutput>;
2284
- public stopTrainingDocumentClassifier(
2285
- args: StopTrainingDocumentClassifierCommandInput,
2286
- cb: (err: any, data?: StopTrainingDocumentClassifierCommandOutput) => void
2287
- ): void;
2288
- public stopTrainingDocumentClassifier(
2289
- args: StopTrainingDocumentClassifierCommandInput,
2290
- options: __HttpHandlerOptions,
2291
- cb: (err: any, data?: StopTrainingDocumentClassifierCommandOutput) => void
2292
- ): void;
2293
- public stopTrainingDocumentClassifier(
2294
- args: StopTrainingDocumentClassifierCommandInput,
2295
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: StopTrainingDocumentClassifierCommandOutput) => void),
2296
- cb?: (err: any, data?: StopTrainingDocumentClassifierCommandOutput) => void
2297
- ): Promise<StopTrainingDocumentClassifierCommandOutput> | void {
2298
- const command = new StopTrainingDocumentClassifierCommand(args);
2299
- if (typeof optionsOrCb === "function") {
2300
- this.send(command, optionsOrCb);
2301
- } else if (typeof cb === "function") {
2302
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2303
- this.send(command, optionsOrCb || {}, cb);
2304
- } else {
2305
- return this.send(command, optionsOrCb);
2306
- }
2307
- }
2308
-
2309
- /**
2310
- * <p>Stops an entity recognizer training job while in progress.</p>
2311
- * <p>If the training job state is <code>TRAINING</code>, the job is marked for termination and
2312
- * put into the <code>STOP_REQUESTED</code> state. If the training job completes before it can be
2313
- * stopped, it is put into the <code>TRAINED</code>; otherwise the training job is stopped and
2314
- * putted into the <code>STOPPED</code> state and the service sends back an HTTP 200 response
2315
- * with an empty HTTP body.</p>
2316
- */
2317
- public stopTrainingEntityRecognizer(
2318
- args: StopTrainingEntityRecognizerCommandInput,
2319
- options?: __HttpHandlerOptions
2320
- ): Promise<StopTrainingEntityRecognizerCommandOutput>;
2321
- public stopTrainingEntityRecognizer(
2322
- args: StopTrainingEntityRecognizerCommandInput,
2323
- cb: (err: any, data?: StopTrainingEntityRecognizerCommandOutput) => void
2324
- ): void;
2325
- public stopTrainingEntityRecognizer(
2326
- args: StopTrainingEntityRecognizerCommandInput,
2327
- options: __HttpHandlerOptions,
2328
- cb: (err: any, data?: StopTrainingEntityRecognizerCommandOutput) => void
2329
- ): void;
2330
- public stopTrainingEntityRecognizer(
2331
- args: StopTrainingEntityRecognizerCommandInput,
2332
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: StopTrainingEntityRecognizerCommandOutput) => void),
2333
- cb?: (err: any, data?: StopTrainingEntityRecognizerCommandOutput) => void
2334
- ): Promise<StopTrainingEntityRecognizerCommandOutput> | void {
2335
- const command = new StopTrainingEntityRecognizerCommand(args);
2336
- if (typeof optionsOrCb === "function") {
2337
- this.send(command, optionsOrCb);
2338
- } else if (typeof cb === "function") {
2339
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2340
- this.send(command, optionsOrCb || {}, cb);
2341
- } else {
2342
- return this.send(command, optionsOrCb);
2343
- }
2344
- }
2345
-
2346
- /**
2347
- * <p>Associates a specific tag with an Amazon Comprehend resource. A tag is a key-value pair
2348
- * that adds as a metadata to a resource used by Amazon Comprehend. For example, a tag with
2349
- * "Sales" as the key might be added to a resource to indicate its use by the sales department.
2350
- * </p>
2351
- */
2352
- public tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
2353
- public tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
2354
- public tagResource(
2355
- args: TagResourceCommandInput,
2356
- options: __HttpHandlerOptions,
2357
- cb: (err: any, data?: TagResourceCommandOutput) => void
2358
- ): void;
2359
- public tagResource(
2360
- args: TagResourceCommandInput,
2361
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: TagResourceCommandOutput) => void),
2362
- cb?: (err: any, data?: TagResourceCommandOutput) => void
2363
- ): Promise<TagResourceCommandOutput> | void {
2364
- const command = new TagResourceCommand(args);
2365
- if (typeof optionsOrCb === "function") {
2366
- this.send(command, optionsOrCb);
2367
- } else if (typeof cb === "function") {
2368
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2369
- this.send(command, optionsOrCb || {}, cb);
2370
- } else {
2371
- return this.send(command, optionsOrCb);
2372
- }
2373
- }
2374
-
2375
- /**
2376
- * <p>Removes a specific tag associated with an Amazon Comprehend resource. </p>
2377
- */
2378
- public untagResource(
2379
- args: UntagResourceCommandInput,
2380
- options?: __HttpHandlerOptions
2381
- ): Promise<UntagResourceCommandOutput>;
2382
- public untagResource(
2383
- args: UntagResourceCommandInput,
2384
- cb: (err: any, data?: UntagResourceCommandOutput) => void
2385
- ): void;
2386
- public untagResource(
2387
- args: UntagResourceCommandInput,
2388
- options: __HttpHandlerOptions,
2389
- cb: (err: any, data?: UntagResourceCommandOutput) => void
2390
- ): void;
2391
- public untagResource(
2392
- args: UntagResourceCommandInput,
2393
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UntagResourceCommandOutput) => void),
2394
- cb?: (err: any, data?: UntagResourceCommandOutput) => void
2395
- ): Promise<UntagResourceCommandOutput> | void {
2396
- const command = new UntagResourceCommand(args);
2397
- if (typeof optionsOrCb === "function") {
2398
- this.send(command, optionsOrCb);
2399
- } else if (typeof cb === "function") {
2400
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2401
- this.send(command, optionsOrCb || {}, cb);
2402
- } else {
2403
- return this.send(command, optionsOrCb);
2404
- }
2405
- }
2406
-
2407
- /**
2408
- * <p>Updates information about the specified endpoint.</p>
2409
- */
2410
- public updateEndpoint(
2411
- args: UpdateEndpointCommandInput,
2412
- options?: __HttpHandlerOptions
2413
- ): Promise<UpdateEndpointCommandOutput>;
2414
- public updateEndpoint(
2415
- args: UpdateEndpointCommandInput,
2416
- cb: (err: any, data?: UpdateEndpointCommandOutput) => void
2417
- ): void;
2418
- public updateEndpoint(
2419
- args: UpdateEndpointCommandInput,
2420
- options: __HttpHandlerOptions,
2421
- cb: (err: any, data?: UpdateEndpointCommandOutput) => void
2422
- ): void;
2423
- public updateEndpoint(
2424
- args: UpdateEndpointCommandInput,
2425
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateEndpointCommandOutput) => void),
2426
- cb?: (err: any, data?: UpdateEndpointCommandOutput) => void
2427
- ): Promise<UpdateEndpointCommandOutput> | void {
2428
- const command = new UpdateEndpointCommand(args);
2429
- if (typeof optionsOrCb === "function") {
2430
- this.send(command, optionsOrCb);
2431
- } else if (typeof cb === "function") {
2432
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2433
- this.send(command, optionsOrCb || {}, cb);
2434
- } else {
2435
- return this.send(command, optionsOrCb);
2436
- }
2437
- }
2438
- }