@aws-sdk/client-machine-learning 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 (380) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/{dist/cjs → dist-cjs}/MachineLearning.js +1 -6
  3. package/{dist/cjs → dist-cjs}/MachineLearningClient.js +8 -18
  4. package/{dist/cjs → dist-cjs}/commands/AddTagsCommand.js +2 -29
  5. package/dist-cjs/commands/CreateBatchPredictionCommand.js +36 -0
  6. package/dist-cjs/commands/CreateDataSourceFromRDSCommand.js +36 -0
  7. package/dist-cjs/commands/CreateDataSourceFromRedshiftCommand.js +36 -0
  8. package/dist-cjs/commands/CreateDataSourceFromS3Command.js +36 -0
  9. package/dist-cjs/commands/CreateEvaluationCommand.js +36 -0
  10. package/dist-cjs/commands/CreateMLModelCommand.js +36 -0
  11. package/{dist/cjs → dist-cjs}/commands/CreateRealtimeEndpointCommand.js +2 -27
  12. package/{dist/cjs → dist-cjs}/commands/DeleteBatchPredictionCommand.js +2 -32
  13. package/{dist/cjs → dist-cjs}/commands/DeleteDataSourceCommand.js +2 -30
  14. package/{dist/cjs → dist-cjs}/commands/DeleteEvaluationCommand.js +2 -32
  15. package/{dist/cjs → dist-cjs}/commands/DeleteMLModelCommand.js +2 -32
  16. package/{dist/cjs → dist-cjs}/commands/DeleteRealtimeEndpointCommand.js +2 -27
  17. package/{dist/cjs → dist-cjs}/commands/DeleteTagsCommand.js +2 -28
  18. package/{dist/cjs → dist-cjs}/commands/DescribeBatchPredictionsCommand.js +2 -27
  19. package/{dist/cjs → dist-cjs}/commands/DescribeDataSourcesCommand.js +2 -27
  20. package/{dist/cjs → dist-cjs}/commands/DescribeEvaluationsCommand.js +2 -27
  21. package/{dist/cjs → dist-cjs}/commands/DescribeMLModelsCommand.js +2 -27
  22. package/{dist/cjs → dist-cjs}/commands/DescribeTagsCommand.js +2 -27
  23. package/{dist/cjs → dist-cjs}/commands/GetBatchPredictionCommand.js +2 -28
  24. package/{dist/cjs → dist-cjs}/commands/GetDataSourceCommand.js +2 -30
  25. package/{dist/cjs → dist-cjs}/commands/GetEvaluationCommand.js +2 -27
  26. package/{dist/cjs → dist-cjs}/commands/GetMLModelCommand.js +2 -29
  27. package/{dist/cjs → dist-cjs}/commands/PredictCommand.js +2 -30
  28. package/{dist/cjs → dist-cjs}/commands/UpdateBatchPredictionCommand.js +2 -28
  29. package/{dist/cjs → dist-cjs}/commands/UpdateDataSourceCommand.js +2 -28
  30. package/{dist/cjs → dist-cjs}/commands/UpdateEvaluationCommand.js +2 -28
  31. package/{dist/cjs → dist-cjs}/commands/UpdateMLModelCommand.js +2 -28
  32. package/{dist/cjs → dist-cjs}/endpoints.js +1 -2
  33. package/{dist/cjs → dist-cjs}/index.js +0 -1
  34. package/{dist/cjs → dist-cjs}/models/index.js +0 -1
  35. package/{dist/cjs → dist-cjs}/models/models_0.js +0 -244
  36. package/{dist/cjs → dist-cjs}/pagination/DescribeBatchPredictionsPaginator.js +1 -12
  37. package/{dist/cjs → dist-cjs}/pagination/DescribeDataSourcesPaginator.js +1 -12
  38. package/{dist/cjs → dist-cjs}/pagination/DescribeEvaluationsPaginator.js +1 -12
  39. package/{dist/cjs → dist-cjs}/pagination/DescribeMLModelsPaginator.js +1 -12
  40. package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -1
  41. package/{dist/cjs → dist-cjs}/protocols/Aws_json1_1.js +0 -6
  42. package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +1 -5
  43. package/{dist/cjs → dist-cjs}/runtimeConfig.js +1 -5
  44. package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -4
  45. package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -5
  46. package/{dist/cjs → dist-cjs}/waiters/waitForBatchPredictionAvailable.js +10 -20
  47. package/{dist/cjs → dist-cjs}/waiters/waitForDataSourceAvailable.js +10 -20
  48. package/{dist/cjs → dist-cjs}/waiters/waitForEvaluationAvailable.js +10 -20
  49. package/{dist/cjs → dist-cjs}/waiters/waitForMLModelAvailable.js +10 -20
  50. package/{dist/es → dist-es}/MachineLearning.js +1 -2
  51. package/{dist/es → dist-es}/MachineLearningClient.js +1 -2
  52. package/{dist/es → dist-es}/commands/AddTagsCommand.js +2 -3
  53. package/{dist/es → dist-es}/commands/CreateBatchPredictionCommand.js +2 -3
  54. package/{dist/es → dist-es}/commands/CreateDataSourceFromRDSCommand.js +2 -3
  55. package/{dist/es → dist-es}/commands/CreateDataSourceFromRedshiftCommand.js +2 -3
  56. package/{dist/es → dist-es}/commands/CreateDataSourceFromS3Command.js +2 -3
  57. package/{dist/es → dist-es}/commands/CreateEvaluationCommand.js +2 -3
  58. package/{dist/es → dist-es}/commands/CreateMLModelCommand.js +2 -3
  59. package/{dist/es → dist-es}/commands/CreateRealtimeEndpointCommand.js +2 -3
  60. package/{dist/es → dist-es}/commands/DeleteBatchPredictionCommand.js +2 -3
  61. package/{dist/es → dist-es}/commands/DeleteDataSourceCommand.js +2 -3
  62. package/{dist/es → dist-es}/commands/DeleteEvaluationCommand.js +2 -3
  63. package/{dist/es → dist-es}/commands/DeleteMLModelCommand.js +2 -3
  64. package/{dist/es → dist-es}/commands/DeleteRealtimeEndpointCommand.js +2 -3
  65. package/{dist/es → dist-es}/commands/DeleteTagsCommand.js +2 -3
  66. package/{dist/es → dist-es}/commands/DescribeBatchPredictionsCommand.js +2 -3
  67. package/{dist/es → dist-es}/commands/DescribeDataSourcesCommand.js +2 -3
  68. package/{dist/es → dist-es}/commands/DescribeEvaluationsCommand.js +2 -3
  69. package/{dist/es → dist-es}/commands/DescribeMLModelsCommand.js +2 -3
  70. package/{dist/es → dist-es}/commands/DescribeTagsCommand.js +2 -3
  71. package/{dist/es → dist-es}/commands/GetBatchPredictionCommand.js +2 -3
  72. package/{dist/es → dist-es}/commands/GetDataSourceCommand.js +2 -3
  73. package/{dist/es → dist-es}/commands/GetEvaluationCommand.js +2 -3
  74. package/{dist/es → dist-es}/commands/GetMLModelCommand.js +2 -3
  75. package/{dist/es → dist-es}/commands/PredictCommand.js +2 -3
  76. package/{dist/es → dist-es}/commands/UpdateBatchPredictionCommand.js +2 -3
  77. package/{dist/es → dist-es}/commands/UpdateDataSourceCommand.js +2 -3
  78. package/{dist/es → dist-es}/commands/UpdateEvaluationCommand.js +2 -3
  79. package/{dist/es → dist-es}/commands/UpdateMLModelCommand.js +2 -3
  80. package/{dist/es → dist-es}/endpoints.js +1 -2
  81. package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
  82. package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
  83. package/{dist/es → dist-es}/models/models_0.js +0 -1
  84. package/{dist/es → dist-es}/pagination/DescribeBatchPredictionsPaginator.js +1 -2
  85. package/{dist/es → dist-es}/pagination/DescribeDataSourcesPaginator.js +1 -2
  86. package/{dist/es → dist-es}/pagination/DescribeEvaluationsPaginator.js +1 -2
  87. package/{dist/es → dist-es}/pagination/DescribeMLModelsPaginator.js +1 -2
  88. package/dist-es/pagination/Interfaces.js +1 -0
  89. package/{dist/es → dist-es}/protocols/Aws_json1_1.js +0 -1
  90. package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -2
  91. package/{dist/es → dist-es}/runtimeConfig.js +1 -2
  92. package/{dist/es → dist-es}/runtimeConfig.native.js +0 -1
  93. package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -2
  94. package/{dist/es → dist-es}/waiters/waitForBatchPredictionAvailable.js +1 -2
  95. package/{dist/es → dist-es}/waiters/waitForDataSourceAvailable.js +1 -2
  96. package/{dist/es → dist-es}/waiters/waitForEvaluationAvailable.js +1 -2
  97. package/{dist/es → dist-es}/waiters/waitForMLModelAvailable.js +1 -2
  98. package/{dist/types → dist-types}/MachineLearning.d.ts +2 -2
  99. package/{dist/types → dist-types}/MachineLearningClient.d.ts +8 -8
  100. package/{dist/types → dist-types}/commands/AddTagsCommand.d.ts +2 -2
  101. package/{dist/types → dist-types}/commands/CreateBatchPredictionCommand.d.ts +2 -2
  102. package/{dist/types → dist-types}/commands/CreateDataSourceFromRDSCommand.d.ts +2 -2
  103. package/{dist/types → dist-types}/commands/CreateDataSourceFromRedshiftCommand.d.ts +2 -2
  104. package/{dist/types → dist-types}/commands/CreateDataSourceFromS3Command.d.ts +2 -2
  105. package/{dist/types → dist-types}/commands/CreateEvaluationCommand.d.ts +2 -2
  106. package/{dist/types → dist-types}/commands/CreateMLModelCommand.d.ts +2 -2
  107. package/{dist/types → dist-types}/commands/CreateRealtimeEndpointCommand.d.ts +2 -2
  108. package/{dist/types → dist-types}/commands/DeleteBatchPredictionCommand.d.ts +2 -2
  109. package/{dist/types → dist-types}/commands/DeleteDataSourceCommand.d.ts +2 -2
  110. package/{dist/types → dist-types}/commands/DeleteEvaluationCommand.d.ts +2 -2
  111. package/{dist/types → dist-types}/commands/DeleteMLModelCommand.d.ts +2 -2
  112. package/{dist/types → dist-types}/commands/DeleteRealtimeEndpointCommand.d.ts +2 -2
  113. package/{dist/types → dist-types}/commands/DeleteTagsCommand.d.ts +2 -2
  114. package/{dist/types → dist-types}/commands/DescribeBatchPredictionsCommand.d.ts +2 -2
  115. package/{dist/types → dist-types}/commands/DescribeDataSourcesCommand.d.ts +2 -2
  116. package/{dist/types → dist-types}/commands/DescribeEvaluationsCommand.d.ts +2 -2
  117. package/{dist/types → dist-types}/commands/DescribeMLModelsCommand.d.ts +2 -2
  118. package/{dist/types → dist-types}/commands/DescribeTagsCommand.d.ts +2 -2
  119. package/{dist/types → dist-types}/commands/GetBatchPredictionCommand.d.ts +2 -2
  120. package/{dist/types → dist-types}/commands/GetDataSourceCommand.d.ts +2 -2
  121. package/{dist/types → dist-types}/commands/GetEvaluationCommand.d.ts +2 -2
  122. package/{dist/types → dist-types}/commands/GetMLModelCommand.d.ts +2 -2
  123. package/{dist/types → dist-types}/commands/PredictCommand.d.ts +2 -2
  124. package/{dist/types → dist-types}/commands/UpdateBatchPredictionCommand.d.ts +2 -2
  125. package/{dist/types → dist-types}/commands/UpdateDataSourceCommand.d.ts +2 -2
  126. package/{dist/types → dist-types}/commands/UpdateEvaluationCommand.d.ts +2 -2
  127. package/{dist/types → dist-types}/commands/UpdateMLModelCommand.d.ts +2 -2
  128. package/{dist/types → dist-types}/endpoints.d.ts +0 -0
  129. package/{index.ts → dist-types/index.d.ts} +0 -0
  130. package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
  131. package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
  132. package/{dist/types → dist-types}/pagination/DescribeBatchPredictionsPaginator.d.ts +1 -1
  133. package/{dist/types → dist-types}/pagination/DescribeDataSourcesPaginator.d.ts +1 -1
  134. package/{dist/types → dist-types}/pagination/DescribeEvaluationsPaginator.d.ts +1 -1
  135. package/{dist/types → dist-types}/pagination/DescribeMLModelsPaginator.d.ts +1 -1
  136. package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
  137. package/{dist/types → dist-types}/protocols/Aws_json1_1.d.ts +2 -2
  138. package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +0 -0
  139. package/{dist/types → dist-types}/runtimeConfig.d.ts +1 -1
  140. package/{dist/types → dist-types}/runtimeConfig.native.d.ts +0 -0
  141. package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
  142. package/dist-types/ts3.4/MachineLearning.d.ts +145 -0
  143. package/{dist/types → dist-types}/ts3.4/MachineLearningClient.d.ts +32 -98
  144. package/dist-types/ts3.4/commands/AddTagsCommand.d.ts +17 -0
  145. package/dist-types/ts3.4/commands/CreateBatchPredictionCommand.d.ts +17 -0
  146. package/dist-types/ts3.4/commands/CreateDataSourceFromRDSCommand.d.ts +17 -0
  147. package/dist-types/ts3.4/commands/CreateDataSourceFromRedshiftCommand.d.ts +17 -0
  148. package/dist-types/ts3.4/commands/CreateDataSourceFromS3Command.d.ts +17 -0
  149. package/dist-types/ts3.4/commands/CreateEvaluationCommand.d.ts +17 -0
  150. package/dist-types/ts3.4/commands/CreateMLModelCommand.d.ts +17 -0
  151. package/dist-types/ts3.4/commands/CreateRealtimeEndpointCommand.d.ts +17 -0
  152. package/dist-types/ts3.4/commands/DeleteBatchPredictionCommand.d.ts +17 -0
  153. package/dist-types/ts3.4/commands/DeleteDataSourceCommand.d.ts +17 -0
  154. package/dist-types/ts3.4/commands/DeleteEvaluationCommand.d.ts +17 -0
  155. package/dist-types/ts3.4/commands/DeleteMLModelCommand.d.ts +17 -0
  156. package/{dist/types → dist-types}/ts3.4/commands/DeleteRealtimeEndpointCommand.d.ts +4 -22
  157. package/dist-types/ts3.4/commands/DeleteTagsCommand.d.ts +17 -0
  158. package/dist-types/ts3.4/commands/DescribeBatchPredictionsCommand.d.ts +17 -0
  159. package/dist-types/ts3.4/commands/DescribeDataSourcesCommand.d.ts +17 -0
  160. package/dist-types/ts3.4/commands/DescribeEvaluationsCommand.d.ts +17 -0
  161. package/dist-types/ts3.4/commands/DescribeMLModelsCommand.d.ts +17 -0
  162. package/dist-types/ts3.4/commands/DescribeTagsCommand.d.ts +17 -0
  163. package/dist-types/ts3.4/commands/GetBatchPredictionCommand.d.ts +17 -0
  164. package/dist-types/ts3.4/commands/GetDataSourceCommand.d.ts +17 -0
  165. package/dist-types/ts3.4/commands/GetEvaluationCommand.d.ts +17 -0
  166. package/dist-types/ts3.4/commands/GetMLModelCommand.d.ts +17 -0
  167. package/dist-types/ts3.4/commands/PredictCommand.d.ts +17 -0
  168. package/dist-types/ts3.4/commands/UpdateBatchPredictionCommand.d.ts +17 -0
  169. package/dist-types/ts3.4/commands/UpdateDataSourceCommand.d.ts +17 -0
  170. package/dist-types/ts3.4/commands/UpdateEvaluationCommand.d.ts +17 -0
  171. package/dist-types/ts3.4/commands/UpdateMLModelCommand.d.ts +17 -0
  172. package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
  173. package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
  174. package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
  175. package/dist-types/ts3.4/models/models_0.d.ts +1312 -0
  176. package/{dist/types → dist-types}/ts3.4/pagination/DescribeBatchPredictionsPaginator.d.ts +1 -1
  177. package/{dist/types → dist-types}/ts3.4/pagination/DescribeDataSourcesPaginator.d.ts +1 -1
  178. package/{dist/types → dist-types}/ts3.4/pagination/DescribeEvaluationsPaginator.d.ts +1 -1
  179. package/{dist/types → dist-types}/ts3.4/pagination/DescribeMLModelsPaginator.d.ts +1 -1
  180. package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
  181. package/{dist/types → dist-types}/ts3.4/protocols/Aws_json1_1.d.ts +2 -2
  182. package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -3
  183. package/{dist/types → dist-types}/ts3.4/runtimeConfig.d.ts +2 -4
  184. package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -3
  185. package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +1 -3
  186. package/{dist/types → dist-types}/ts3.4/waiters/waitForBatchPredictionAvailable.d.ts +4 -11
  187. package/{dist/types → dist-types}/ts3.4/waiters/waitForDataSourceAvailable.d.ts +4 -11
  188. package/{dist/types → dist-types}/ts3.4/waiters/waitForEvaluationAvailable.d.ts +4 -11
  189. package/{dist/types → dist-types}/ts3.4/waiters/waitForMLModelAvailable.d.ts +4 -11
  190. package/{dist/types → dist-types}/waiters/waitForBatchPredictionAvailable.d.ts +2 -2
  191. package/{dist/types → dist-types}/waiters/waitForDataSourceAvailable.d.ts +2 -2
  192. package/{dist/types → dist-types}/waiters/waitForEvaluationAvailable.d.ts +2 -2
  193. package/{dist/types → dist-types}/waiters/waitForMLModelAvailable.d.ts +2 -2
  194. package/package.json +47 -44
  195. package/MachineLearning.ts +0 -1149
  196. package/MachineLearningClient.ts +0 -353
  197. package/commands/AddTagsCommand.ts +0 -93
  198. package/commands/CreateBatchPredictionCommand.ts +0 -105
  199. package/commands/CreateDataSourceFromRDSCommand.ts +0 -105
  200. package/commands/CreateDataSourceFromRedshiftCommand.ts +0 -131
  201. package/commands/CreateDataSourceFromS3Command.ts +0 -124
  202. package/commands/CreateEvaluationCommand.ts +0 -105
  203. package/commands/CreateMLModelCommand.ts +0 -113
  204. package/commands/CreateRealtimeEndpointCommand.ts +0 -94
  205. package/commands/DeleteBatchPredictionCommand.ts +0 -99
  206. package/commands/DeleteDataSourceCommand.ts +0 -97
  207. package/commands/DeleteEvaluationCommand.ts +0 -99
  208. package/commands/DeleteMLModelCommand.ts +0 -99
  209. package/commands/DeleteRealtimeEndpointCommand.ts +0 -94
  210. package/commands/DeleteTagsCommand.ts +0 -95
  211. package/commands/DescribeBatchPredictionsCommand.ts +0 -94
  212. package/commands/DescribeDataSourcesCommand.ts +0 -94
  213. package/commands/DescribeEvaluationsCommand.ts +0 -94
  214. package/commands/DescribeMLModelsCommand.ts +0 -94
  215. package/commands/DescribeTagsCommand.ts +0 -94
  216. package/commands/GetBatchPredictionCommand.ts +0 -95
  217. package/commands/GetDataSourceCommand.ts +0 -97
  218. package/commands/GetEvaluationCommand.ts +0 -94
  219. package/commands/GetMLModelCommand.ts +0 -96
  220. package/commands/PredictCommand.ts +0 -96
  221. package/commands/UpdateBatchPredictionCommand.ts +0 -95
  222. package/commands/UpdateDataSourceCommand.ts +0 -95
  223. package/commands/UpdateEvaluationCommand.ts +0 -95
  224. package/commands/UpdateMLModelCommand.ts +0 -95
  225. package/dist/cjs/MachineLearning.js.map +0 -1
  226. package/dist/cjs/MachineLearningClient.js.map +0 -1
  227. package/dist/cjs/commands/AddTagsCommand.js.map +0 -1
  228. package/dist/cjs/commands/CreateBatchPredictionCommand.js +0 -72
  229. package/dist/cjs/commands/CreateBatchPredictionCommand.js.map +0 -1
  230. package/dist/cjs/commands/CreateDataSourceFromRDSCommand.js +0 -72
  231. package/dist/cjs/commands/CreateDataSourceFromRDSCommand.js.map +0 -1
  232. package/dist/cjs/commands/CreateDataSourceFromRedshiftCommand.js +0 -93
  233. package/dist/cjs/commands/CreateDataSourceFromRedshiftCommand.js.map +0 -1
  234. package/dist/cjs/commands/CreateDataSourceFromS3Command.js +0 -91
  235. package/dist/cjs/commands/CreateDataSourceFromS3Command.js.map +0 -1
  236. package/dist/cjs/commands/CreateEvaluationCommand.js +0 -72
  237. package/dist/cjs/commands/CreateEvaluationCommand.js.map +0 -1
  238. package/dist/cjs/commands/CreateMLModelCommand.js +0 -80
  239. package/dist/cjs/commands/CreateMLModelCommand.js.map +0 -1
  240. package/dist/cjs/commands/CreateRealtimeEndpointCommand.js.map +0 -1
  241. package/dist/cjs/commands/DeleteBatchPredictionCommand.js.map +0 -1
  242. package/dist/cjs/commands/DeleteDataSourceCommand.js.map +0 -1
  243. package/dist/cjs/commands/DeleteEvaluationCommand.js.map +0 -1
  244. package/dist/cjs/commands/DeleteMLModelCommand.js.map +0 -1
  245. package/dist/cjs/commands/DeleteRealtimeEndpointCommand.js.map +0 -1
  246. package/dist/cjs/commands/DeleteTagsCommand.js.map +0 -1
  247. package/dist/cjs/commands/DescribeBatchPredictionsCommand.js.map +0 -1
  248. package/dist/cjs/commands/DescribeDataSourcesCommand.js.map +0 -1
  249. package/dist/cjs/commands/DescribeEvaluationsCommand.js.map +0 -1
  250. package/dist/cjs/commands/DescribeMLModelsCommand.js.map +0 -1
  251. package/dist/cjs/commands/DescribeTagsCommand.js.map +0 -1
  252. package/dist/cjs/commands/GetBatchPredictionCommand.js.map +0 -1
  253. package/dist/cjs/commands/GetDataSourceCommand.js.map +0 -1
  254. package/dist/cjs/commands/GetEvaluationCommand.js.map +0 -1
  255. package/dist/cjs/commands/GetMLModelCommand.js.map +0 -1
  256. package/dist/cjs/commands/PredictCommand.js.map +0 -1
  257. package/dist/cjs/commands/UpdateBatchPredictionCommand.js.map +0 -1
  258. package/dist/cjs/commands/UpdateDataSourceCommand.js.map +0 -1
  259. package/dist/cjs/commands/UpdateEvaluationCommand.js.map +0 -1
  260. package/dist/cjs/commands/UpdateMLModelCommand.js.map +0 -1
  261. package/dist/cjs/endpoints.js.map +0 -1
  262. package/dist/cjs/index.js.map +0 -1
  263. package/dist/cjs/models/index.js.map +0 -1
  264. package/dist/cjs/models/models_0.js.map +0 -1
  265. package/dist/cjs/package.json +0 -93
  266. package/dist/cjs/pagination/DescribeBatchPredictionsPaginator.js.map +0 -1
  267. package/dist/cjs/pagination/DescribeDataSourcesPaginator.js.map +0 -1
  268. package/dist/cjs/pagination/DescribeEvaluationsPaginator.js.map +0 -1
  269. package/dist/cjs/pagination/DescribeMLModelsPaginator.js.map +0 -1
  270. package/dist/cjs/pagination/Interfaces.js.map +0 -1
  271. package/dist/cjs/protocols/Aws_json1_1.js.map +0 -1
  272. package/dist/cjs/runtimeConfig.browser.js.map +0 -1
  273. package/dist/cjs/runtimeConfig.js.map +0 -1
  274. package/dist/cjs/runtimeConfig.native.js.map +0 -1
  275. package/dist/cjs/runtimeConfig.shared.js.map +0 -1
  276. package/dist/cjs/waiters/waitForBatchPredictionAvailable.js.map +0 -1
  277. package/dist/cjs/waiters/waitForDataSourceAvailable.js.map +0 -1
  278. package/dist/cjs/waiters/waitForEvaluationAvailable.js.map +0 -1
  279. package/dist/cjs/waiters/waitForMLModelAvailable.js.map +0 -1
  280. package/dist/es/MachineLearning.js.map +0 -1
  281. package/dist/es/MachineLearningClient.js.map +0 -1
  282. package/dist/es/commands/AddTagsCommand.js.map +0 -1
  283. package/dist/es/commands/CreateBatchPredictionCommand.js.map +0 -1
  284. package/dist/es/commands/CreateDataSourceFromRDSCommand.js.map +0 -1
  285. package/dist/es/commands/CreateDataSourceFromRedshiftCommand.js.map +0 -1
  286. package/dist/es/commands/CreateDataSourceFromS3Command.js.map +0 -1
  287. package/dist/es/commands/CreateEvaluationCommand.js.map +0 -1
  288. package/dist/es/commands/CreateMLModelCommand.js.map +0 -1
  289. package/dist/es/commands/CreateRealtimeEndpointCommand.js.map +0 -1
  290. package/dist/es/commands/DeleteBatchPredictionCommand.js.map +0 -1
  291. package/dist/es/commands/DeleteDataSourceCommand.js.map +0 -1
  292. package/dist/es/commands/DeleteEvaluationCommand.js.map +0 -1
  293. package/dist/es/commands/DeleteMLModelCommand.js.map +0 -1
  294. package/dist/es/commands/DeleteRealtimeEndpointCommand.js.map +0 -1
  295. package/dist/es/commands/DeleteTagsCommand.js.map +0 -1
  296. package/dist/es/commands/DescribeBatchPredictionsCommand.js.map +0 -1
  297. package/dist/es/commands/DescribeDataSourcesCommand.js.map +0 -1
  298. package/dist/es/commands/DescribeEvaluationsCommand.js.map +0 -1
  299. package/dist/es/commands/DescribeMLModelsCommand.js.map +0 -1
  300. package/dist/es/commands/DescribeTagsCommand.js.map +0 -1
  301. package/dist/es/commands/GetBatchPredictionCommand.js.map +0 -1
  302. package/dist/es/commands/GetDataSourceCommand.js.map +0 -1
  303. package/dist/es/commands/GetEvaluationCommand.js.map +0 -1
  304. package/dist/es/commands/GetMLModelCommand.js.map +0 -1
  305. package/dist/es/commands/PredictCommand.js.map +0 -1
  306. package/dist/es/commands/UpdateBatchPredictionCommand.js.map +0 -1
  307. package/dist/es/commands/UpdateDataSourceCommand.js.map +0 -1
  308. package/dist/es/commands/UpdateEvaluationCommand.js.map +0 -1
  309. package/dist/es/commands/UpdateMLModelCommand.js.map +0 -1
  310. package/dist/es/endpoints.js.map +0 -1
  311. package/dist/es/index.js +0 -41
  312. package/dist/es/index.js.map +0 -1
  313. package/dist/es/models/index.js +0 -2
  314. package/dist/es/models/index.js.map +0 -1
  315. package/dist/es/models/models_0.js.map +0 -1
  316. package/dist/es/package.json +0 -93
  317. package/dist/es/pagination/DescribeBatchPredictionsPaginator.js.map +0 -1
  318. package/dist/es/pagination/DescribeDataSourcesPaginator.js.map +0 -1
  319. package/dist/es/pagination/DescribeEvaluationsPaginator.js.map +0 -1
  320. package/dist/es/pagination/DescribeMLModelsPaginator.js.map +0 -1
  321. package/dist/es/pagination/Interfaces.js +0 -2
  322. package/dist/es/pagination/Interfaces.js.map +0 -1
  323. package/dist/es/protocols/Aws_json1_1.js.map +0 -1
  324. package/dist/es/runtimeConfig.browser.js.map +0 -1
  325. package/dist/es/runtimeConfig.js.map +0 -1
  326. package/dist/es/runtimeConfig.native.js.map +0 -1
  327. package/dist/es/runtimeConfig.shared.js.map +0 -1
  328. package/dist/es/waiters/waitForBatchPredictionAvailable.js.map +0 -1
  329. package/dist/es/waiters/waitForDataSourceAvailable.js.map +0 -1
  330. package/dist/es/waiters/waitForEvaluationAvailable.js.map +0 -1
  331. package/dist/es/waiters/waitForMLModelAvailable.js.map +0 -1
  332. package/dist/types/ts3.4/MachineLearning.d.ts +0 -352
  333. package/dist/types/ts3.4/commands/AddTagsCommand.d.ts +0 -37
  334. package/dist/types/ts3.4/commands/CreateBatchPredictionCommand.d.ts +0 -46
  335. package/dist/types/ts3.4/commands/CreateDataSourceFromRDSCommand.d.ts +0 -46
  336. package/dist/types/ts3.4/commands/CreateDataSourceFromRedshiftCommand.d.ts +0 -67
  337. package/dist/types/ts3.4/commands/CreateDataSourceFromS3Command.d.ts +0 -65
  338. package/dist/types/ts3.4/commands/CreateEvaluationCommand.d.ts +0 -46
  339. package/dist/types/ts3.4/commands/CreateMLModelCommand.d.ts +0 -54
  340. package/dist/types/ts3.4/commands/CreateRealtimeEndpointCommand.d.ts +0 -35
  341. package/dist/types/ts3.4/commands/DeleteBatchPredictionCommand.d.ts +0 -40
  342. package/dist/types/ts3.4/commands/DeleteDataSourceCommand.d.ts +0 -38
  343. package/dist/types/ts3.4/commands/DeleteEvaluationCommand.d.ts +0 -40
  344. package/dist/types/ts3.4/commands/DeleteMLModelCommand.d.ts +0 -40
  345. package/dist/types/ts3.4/commands/DeleteTagsCommand.d.ts +0 -36
  346. package/dist/types/ts3.4/commands/DescribeBatchPredictionsCommand.d.ts +0 -35
  347. package/dist/types/ts3.4/commands/DescribeDataSourcesCommand.d.ts +0 -35
  348. package/dist/types/ts3.4/commands/DescribeEvaluationsCommand.d.ts +0 -35
  349. package/dist/types/ts3.4/commands/DescribeMLModelsCommand.d.ts +0 -35
  350. package/dist/types/ts3.4/commands/DescribeTagsCommand.d.ts +0 -35
  351. package/dist/types/ts3.4/commands/GetBatchPredictionCommand.d.ts +0 -36
  352. package/dist/types/ts3.4/commands/GetDataSourceCommand.d.ts +0 -38
  353. package/dist/types/ts3.4/commands/GetEvaluationCommand.d.ts +0 -35
  354. package/dist/types/ts3.4/commands/GetMLModelCommand.d.ts +0 -37
  355. package/dist/types/ts3.4/commands/PredictCommand.d.ts +0 -38
  356. package/dist/types/ts3.4/commands/UpdateBatchPredictionCommand.d.ts +0 -36
  357. package/dist/types/ts3.4/commands/UpdateDataSourceCommand.d.ts +0 -36
  358. package/dist/types/ts3.4/commands/UpdateEvaluationCommand.d.ts +0 -36
  359. package/dist/types/ts3.4/commands/UpdateMLModelCommand.d.ts +0 -36
  360. package/dist/types/ts3.4/models/models_0.d.ts +0 -3489
  361. package/endpoints.ts +0 -57
  362. package/jest.config.js +0 -4
  363. package/models/models_0.ts +0 -4066
  364. package/pagination/DescribeBatchPredictionsPaginator.ts +0 -58
  365. package/pagination/DescribeDataSourcesPaginator.ts +0 -58
  366. package/pagination/DescribeEvaluationsPaginator.ts +0 -58
  367. package/pagination/DescribeMLModelsPaginator.ts +0 -58
  368. package/pagination/Interfaces.ts +0 -7
  369. package/protocols/Aws_json1_1.ts +0 -3957
  370. package/runtimeConfig.browser.ts +0 -40
  371. package/runtimeConfig.native.ts +0 -16
  372. package/runtimeConfig.shared.ts +0 -16
  373. package/runtimeConfig.ts +0 -45
  374. package/tsconfig.es.json +0 -10
  375. package/tsconfig.json +0 -31
  376. package/tsconfig.types.json +0 -8
  377. package/waiters/waitForBatchPredictionAvailable.ts +0 -74
  378. package/waiters/waitForDataSourceAvailable.ts +0 -71
  379. package/waiters/waitForEvaluationAvailable.ts +0 -71
  380. package/waiters/waitForMLModelAvailable.ts +0 -71
@@ -1,1149 +0,0 @@
1
- import { MachineLearningClient } from "./MachineLearningClient";
2
- import { AddTagsCommand, AddTagsCommandInput, AddTagsCommandOutput } from "./commands/AddTagsCommand";
3
- import {
4
- CreateBatchPredictionCommand,
5
- CreateBatchPredictionCommandInput,
6
- CreateBatchPredictionCommandOutput,
7
- } from "./commands/CreateBatchPredictionCommand";
8
- import {
9
- CreateDataSourceFromRDSCommand,
10
- CreateDataSourceFromRDSCommandInput,
11
- CreateDataSourceFromRDSCommandOutput,
12
- } from "./commands/CreateDataSourceFromRDSCommand";
13
- import {
14
- CreateDataSourceFromRedshiftCommand,
15
- CreateDataSourceFromRedshiftCommandInput,
16
- CreateDataSourceFromRedshiftCommandOutput,
17
- } from "./commands/CreateDataSourceFromRedshiftCommand";
18
- import {
19
- CreateDataSourceFromS3Command,
20
- CreateDataSourceFromS3CommandInput,
21
- CreateDataSourceFromS3CommandOutput,
22
- } from "./commands/CreateDataSourceFromS3Command";
23
- import {
24
- CreateEvaluationCommand,
25
- CreateEvaluationCommandInput,
26
- CreateEvaluationCommandOutput,
27
- } from "./commands/CreateEvaluationCommand";
28
- import {
29
- CreateMLModelCommand,
30
- CreateMLModelCommandInput,
31
- CreateMLModelCommandOutput,
32
- } from "./commands/CreateMLModelCommand";
33
- import {
34
- CreateRealtimeEndpointCommand,
35
- CreateRealtimeEndpointCommandInput,
36
- CreateRealtimeEndpointCommandOutput,
37
- } from "./commands/CreateRealtimeEndpointCommand";
38
- import {
39
- DeleteBatchPredictionCommand,
40
- DeleteBatchPredictionCommandInput,
41
- DeleteBatchPredictionCommandOutput,
42
- } from "./commands/DeleteBatchPredictionCommand";
43
- import {
44
- DeleteDataSourceCommand,
45
- DeleteDataSourceCommandInput,
46
- DeleteDataSourceCommandOutput,
47
- } from "./commands/DeleteDataSourceCommand";
48
- import {
49
- DeleteEvaluationCommand,
50
- DeleteEvaluationCommandInput,
51
- DeleteEvaluationCommandOutput,
52
- } from "./commands/DeleteEvaluationCommand";
53
- import {
54
- DeleteMLModelCommand,
55
- DeleteMLModelCommandInput,
56
- DeleteMLModelCommandOutput,
57
- } from "./commands/DeleteMLModelCommand";
58
- import {
59
- DeleteRealtimeEndpointCommand,
60
- DeleteRealtimeEndpointCommandInput,
61
- DeleteRealtimeEndpointCommandOutput,
62
- } from "./commands/DeleteRealtimeEndpointCommand";
63
- import { DeleteTagsCommand, DeleteTagsCommandInput, DeleteTagsCommandOutput } from "./commands/DeleteTagsCommand";
64
- import {
65
- DescribeBatchPredictionsCommand,
66
- DescribeBatchPredictionsCommandInput,
67
- DescribeBatchPredictionsCommandOutput,
68
- } from "./commands/DescribeBatchPredictionsCommand";
69
- import {
70
- DescribeDataSourcesCommand,
71
- DescribeDataSourcesCommandInput,
72
- DescribeDataSourcesCommandOutput,
73
- } from "./commands/DescribeDataSourcesCommand";
74
- import {
75
- DescribeEvaluationsCommand,
76
- DescribeEvaluationsCommandInput,
77
- DescribeEvaluationsCommandOutput,
78
- } from "./commands/DescribeEvaluationsCommand";
79
- import {
80
- DescribeMLModelsCommand,
81
- DescribeMLModelsCommandInput,
82
- DescribeMLModelsCommandOutput,
83
- } from "./commands/DescribeMLModelsCommand";
84
- import {
85
- DescribeTagsCommand,
86
- DescribeTagsCommandInput,
87
- DescribeTagsCommandOutput,
88
- } from "./commands/DescribeTagsCommand";
89
- import {
90
- GetBatchPredictionCommand,
91
- GetBatchPredictionCommandInput,
92
- GetBatchPredictionCommandOutput,
93
- } from "./commands/GetBatchPredictionCommand";
94
- import {
95
- GetDataSourceCommand,
96
- GetDataSourceCommandInput,
97
- GetDataSourceCommandOutput,
98
- } from "./commands/GetDataSourceCommand";
99
- import {
100
- GetEvaluationCommand,
101
- GetEvaluationCommandInput,
102
- GetEvaluationCommandOutput,
103
- } from "./commands/GetEvaluationCommand";
104
- import { GetMLModelCommand, GetMLModelCommandInput, GetMLModelCommandOutput } from "./commands/GetMLModelCommand";
105
- import { PredictCommand, PredictCommandInput, PredictCommandOutput } from "./commands/PredictCommand";
106
- import {
107
- UpdateBatchPredictionCommand,
108
- UpdateBatchPredictionCommandInput,
109
- UpdateBatchPredictionCommandOutput,
110
- } from "./commands/UpdateBatchPredictionCommand";
111
- import {
112
- UpdateDataSourceCommand,
113
- UpdateDataSourceCommandInput,
114
- UpdateDataSourceCommandOutput,
115
- } from "./commands/UpdateDataSourceCommand";
116
- import {
117
- UpdateEvaluationCommand,
118
- UpdateEvaluationCommandInput,
119
- UpdateEvaluationCommandOutput,
120
- } from "./commands/UpdateEvaluationCommand";
121
- import {
122
- UpdateMLModelCommand,
123
- UpdateMLModelCommandInput,
124
- UpdateMLModelCommandOutput,
125
- } from "./commands/UpdateMLModelCommand";
126
- import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
127
-
128
- /**
129
- * Definition of the public APIs
130
- * exposed by Amazon Machine Learning
131
- */
132
- export class MachineLearning extends MachineLearningClient {
133
- /**
134
- * <p>Adds one or more tags to an object, up to a limit of 10. Each tag consists of a key
135
- * and an optional value. If you add a tag using a key that is already associated with the ML object,
136
- * <code>AddTags</code> updates the tag's value.</p>
137
- */
138
- public addTags(args: AddTagsCommandInput, options?: __HttpHandlerOptions): Promise<AddTagsCommandOutput>;
139
- public addTags(args: AddTagsCommandInput, cb: (err: any, data?: AddTagsCommandOutput) => void): void;
140
- public addTags(
141
- args: AddTagsCommandInput,
142
- options: __HttpHandlerOptions,
143
- cb: (err: any, data?: AddTagsCommandOutput) => void
144
- ): void;
145
- public addTags(
146
- args: AddTagsCommandInput,
147
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: AddTagsCommandOutput) => void),
148
- cb?: (err: any, data?: AddTagsCommandOutput) => void
149
- ): Promise<AddTagsCommandOutput> | void {
150
- const command = new AddTagsCommand(args);
151
- if (typeof optionsOrCb === "function") {
152
- this.send(command, optionsOrCb);
153
- } else if (typeof cb === "function") {
154
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
155
- this.send(command, optionsOrCb || {}, cb);
156
- } else {
157
- return this.send(command, optionsOrCb);
158
- }
159
- }
160
-
161
- /**
162
- * <p>Generates predictions for a group of observations. The observations to process exist in one or more data files referenced
163
- * by a <code>DataSource</code>. This operation creates a new <code>BatchPrediction</code>, and uses an <code>MLModel</code> and the data
164
- * files referenced by the <code>DataSource</code> as information sources.
165
- * </p>
166
- *
167
- * <p>
168
- * <code>CreateBatchPrediction</code> is an asynchronous operation. In response to <code>CreateBatchPrediction</code>,
169
- * Amazon Machine Learning (Amazon ML) immediately returns and sets the <code>BatchPrediction</code> status to <code>PENDING</code>.
170
- * After the <code>BatchPrediction</code> completes, Amazon ML sets the status to <code>COMPLETED</code>.
171
- * </p>
172
- * <p>You can poll for status updates by using the <a>GetBatchPrediction</a> operation and checking the <code>Status</code> parameter of the result. After the <code>COMPLETED</code> status appears,
173
- * the results are available in the location specified by the <code>OutputUri</code> parameter.</p>
174
- */
175
- public createBatchPrediction(
176
- args: CreateBatchPredictionCommandInput,
177
- options?: __HttpHandlerOptions
178
- ): Promise<CreateBatchPredictionCommandOutput>;
179
- public createBatchPrediction(
180
- args: CreateBatchPredictionCommandInput,
181
- cb: (err: any, data?: CreateBatchPredictionCommandOutput) => void
182
- ): void;
183
- public createBatchPrediction(
184
- args: CreateBatchPredictionCommandInput,
185
- options: __HttpHandlerOptions,
186
- cb: (err: any, data?: CreateBatchPredictionCommandOutput) => void
187
- ): void;
188
- public createBatchPrediction(
189
- args: CreateBatchPredictionCommandInput,
190
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateBatchPredictionCommandOutput) => void),
191
- cb?: (err: any, data?: CreateBatchPredictionCommandOutput) => void
192
- ): Promise<CreateBatchPredictionCommandOutput> | void {
193
- const command = new CreateBatchPredictionCommand(args);
194
- if (typeof optionsOrCb === "function") {
195
- this.send(command, optionsOrCb);
196
- } else if (typeof cb === "function") {
197
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
198
- this.send(command, optionsOrCb || {}, cb);
199
- } else {
200
- return this.send(command, optionsOrCb);
201
- }
202
- }
203
-
204
- /**
205
- * <p>Creates a <code>DataSource</code> object from an <a href="http://aws.amazon.com/rds/"> Amazon Relational Database Service</a> (Amazon RDS). A <code>DataSource</code> references data that can be used to perform <code>CreateMLModel</code>, <code>CreateEvaluation</code>, or <code>CreateBatchPrediction</code> operations.</p>
206
- *
207
- * <p>
208
- * <code>CreateDataSourceFromRDS</code> is an asynchronous operation. In response to <code>CreateDataSourceFromRDS</code>,
209
- * Amazon Machine Learning (Amazon ML) immediately returns and sets the <code>DataSource</code> status to <code>PENDING</code>.
210
- * After the <code>DataSource</code> is created and ready for use, Amazon ML sets the <code>Status</code> parameter to <code>COMPLETED</code>.
211
- * <code>DataSource</code> in the <code>COMPLETED</code> or <code>PENDING</code> state can
212
- * be used only to perform <code>>CreateMLModel</code>>, <code>CreateEvaluation</code>, or <code>CreateBatchPrediction</code> operations.
213
- * </p>
214
- * <p>
215
- * If Amazon ML cannot accept the input source, it sets the <code>Status</code> parameter to <code>FAILED</code> and includes an error message in the <code>Message</code> attribute of the <code>GetDataSource</code> operation response.
216
- * </p>
217
- */
218
- public createDataSourceFromRDS(
219
- args: CreateDataSourceFromRDSCommandInput,
220
- options?: __HttpHandlerOptions
221
- ): Promise<CreateDataSourceFromRDSCommandOutput>;
222
- public createDataSourceFromRDS(
223
- args: CreateDataSourceFromRDSCommandInput,
224
- cb: (err: any, data?: CreateDataSourceFromRDSCommandOutput) => void
225
- ): void;
226
- public createDataSourceFromRDS(
227
- args: CreateDataSourceFromRDSCommandInput,
228
- options: __HttpHandlerOptions,
229
- cb: (err: any, data?: CreateDataSourceFromRDSCommandOutput) => void
230
- ): void;
231
- public createDataSourceFromRDS(
232
- args: CreateDataSourceFromRDSCommandInput,
233
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateDataSourceFromRDSCommandOutput) => void),
234
- cb?: (err: any, data?: CreateDataSourceFromRDSCommandOutput) => void
235
- ): Promise<CreateDataSourceFromRDSCommandOutput> | void {
236
- const command = new CreateDataSourceFromRDSCommand(args);
237
- if (typeof optionsOrCb === "function") {
238
- this.send(command, optionsOrCb);
239
- } else if (typeof cb === "function") {
240
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
241
- this.send(command, optionsOrCb || {}, cb);
242
- } else {
243
- return this.send(command, optionsOrCb);
244
- }
245
- }
246
-
247
- /**
248
- * <p>Creates a <code>DataSource</code> from a database hosted on an Amazon Redshift cluster. A
249
- * <code>DataSource</code> references data that can be used to perform either <code>CreateMLModel</code>, <code>CreateEvaluation</code>, or <code>CreateBatchPrediction</code>
250
- * operations.</p>
251
- *
252
- * <p>
253
- * <code>CreateDataSourceFromRedshift</code> is an asynchronous operation. In response to <code>CreateDataSourceFromRedshift</code>, Amazon Machine Learning (Amazon ML) immediately returns and sets the <code>DataSource</code> status to <code>PENDING</code>.
254
- * After the <code>DataSource</code> is created and ready for use, Amazon ML sets the <code>Status</code> parameter to <code>COMPLETED</code>.
255
- * <code>DataSource</code> in <code>COMPLETED</code> or <code>PENDING</code> states can be
256
- * used to perform only <code>CreateMLModel</code>, <code>CreateEvaluation</code>, or <code>CreateBatchPrediction</code> operations.
257
- * </p>
258
- *
259
- * <p>
260
- * If Amazon ML can't accept the input source, it sets the <code>Status</code> parameter to <code>FAILED</code> and includes an error message in the <code>Message</code>
261
- * attribute of the <code>GetDataSource</code> operation response.
262
- * </p>
263
- *
264
- * <p>The observations should be contained in the database hosted on an Amazon Redshift cluster
265
- * and should be specified by a <code>SelectSqlQuery</code> query. Amazon ML executes an
266
- * <code>Unload</code> command in Amazon Redshift to transfer the result set of
267
- * the <code>SelectSqlQuery</code> query to <code>S3StagingLocation</code>.</p>
268
- *
269
- * <p>After the <code>DataSource</code> has been created, it's ready for use in evaluations and
270
- * batch predictions. If you plan to use the <code>DataSource</code> to train an
271
- * <code>MLModel</code>, the <code>DataSource</code> also requires a recipe. A recipe
272
- * describes how each input variable will be used in training an <code>MLModel</code>. Will
273
- * the variable be included or excluded from training? Will the variable be manipulated;
274
- * for example, will it be combined with another variable or will it be split apart into
275
- * word combinations? The recipe provides answers to these questions.</p>
276
- * <p>You can't change an existing datasource, but you can copy and modify the settings from an
277
- * existing Amazon Redshift datasource to create a new datasource. To do so, call
278
- * <code>GetDataSource</code> for an existing datasource and copy the values to a
279
- * <code>CreateDataSource</code> call. Change the settings that you want to change and
280
- * make sure that all required fields have the appropriate values.</p>
281
- */
282
- public createDataSourceFromRedshift(
283
- args: CreateDataSourceFromRedshiftCommandInput,
284
- options?: __HttpHandlerOptions
285
- ): Promise<CreateDataSourceFromRedshiftCommandOutput>;
286
- public createDataSourceFromRedshift(
287
- args: CreateDataSourceFromRedshiftCommandInput,
288
- cb: (err: any, data?: CreateDataSourceFromRedshiftCommandOutput) => void
289
- ): void;
290
- public createDataSourceFromRedshift(
291
- args: CreateDataSourceFromRedshiftCommandInput,
292
- options: __HttpHandlerOptions,
293
- cb: (err: any, data?: CreateDataSourceFromRedshiftCommandOutput) => void
294
- ): void;
295
- public createDataSourceFromRedshift(
296
- args: CreateDataSourceFromRedshiftCommandInput,
297
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateDataSourceFromRedshiftCommandOutput) => void),
298
- cb?: (err: any, data?: CreateDataSourceFromRedshiftCommandOutput) => void
299
- ): Promise<CreateDataSourceFromRedshiftCommandOutput> | void {
300
- const command = new CreateDataSourceFromRedshiftCommand(args);
301
- if (typeof optionsOrCb === "function") {
302
- this.send(command, optionsOrCb);
303
- } else if (typeof cb === "function") {
304
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
305
- this.send(command, optionsOrCb || {}, cb);
306
- } else {
307
- return this.send(command, optionsOrCb);
308
- }
309
- }
310
-
311
- /**
312
- * <p>Creates a <code>DataSource</code> object. A <code>DataSource</code> references data that
313
- * can be used to perform <code>CreateMLModel</code>, <code>CreateEvaluation</code>, or
314
- * <code>CreateBatchPrediction</code> operations.</p>
315
- *
316
- * <p>
317
- * <code>CreateDataSourceFromS3</code> is an asynchronous operation. In response to
318
- * <code>CreateDataSourceFromS3</code>, Amazon Machine Learning (Amazon ML) immediately
319
- * returns and sets the <code>DataSource</code> status to <code>PENDING</code>. After the
320
- * <code>DataSource</code> has been created and is ready for use, Amazon ML sets the
321
- * <code>Status</code> parameter to <code>COMPLETED</code>. <code>DataSource</code> in
322
- * the <code>COMPLETED</code> or <code>PENDING</code> state can be used to perform only
323
- * <code>CreateMLModel</code>, <code>CreateEvaluation</code> or
324
- * <code>CreateBatchPrediction</code> operations. </p>
325
- *
326
- * <p> If Amazon ML can't accept the input source, it sets the <code>Status</code> parameter to
327
- * <code>FAILED</code> and includes an error message in the <code>Message</code>
328
- * attribute of the <code>GetDataSource</code> operation response. </p>
329
- *
330
- * <p>The observation data used in a <code>DataSource</code> should be ready to use; that is,
331
- * it should have a consistent structure, and missing data values should be kept to a
332
- * minimum. The observation data must reside in one or more .csv files in an Amazon Simple
333
- * Storage Service (Amazon S3) location, along with a schema that describes the data items
334
- * by name and type. The same schema must be used for all of the data files referenced by
335
- * the <code>DataSource</code>. </p>
336
- * <p>After the <code>DataSource</code> has been created, it's ready to use in evaluations and
337
- * batch predictions. If you plan to use the <code>DataSource</code> to train an
338
- * <code>MLModel</code>, the <code>DataSource</code> also needs a recipe. A recipe
339
- * describes how each input variable will be used in training an <code>MLModel</code>. Will
340
- * the variable be included or excluded from training? Will the variable be manipulated;
341
- * for example, will it be combined with another variable or will it be split apart into
342
- * word combinations? The recipe provides answers to these questions.</p>
343
- */
344
- public createDataSourceFromS3(
345
- args: CreateDataSourceFromS3CommandInput,
346
- options?: __HttpHandlerOptions
347
- ): Promise<CreateDataSourceFromS3CommandOutput>;
348
- public createDataSourceFromS3(
349
- args: CreateDataSourceFromS3CommandInput,
350
- cb: (err: any, data?: CreateDataSourceFromS3CommandOutput) => void
351
- ): void;
352
- public createDataSourceFromS3(
353
- args: CreateDataSourceFromS3CommandInput,
354
- options: __HttpHandlerOptions,
355
- cb: (err: any, data?: CreateDataSourceFromS3CommandOutput) => void
356
- ): void;
357
- public createDataSourceFromS3(
358
- args: CreateDataSourceFromS3CommandInput,
359
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateDataSourceFromS3CommandOutput) => void),
360
- cb?: (err: any, data?: CreateDataSourceFromS3CommandOutput) => void
361
- ): Promise<CreateDataSourceFromS3CommandOutput> | void {
362
- const command = new CreateDataSourceFromS3Command(args);
363
- if (typeof optionsOrCb === "function") {
364
- this.send(command, optionsOrCb);
365
- } else if (typeof cb === "function") {
366
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
367
- this.send(command, optionsOrCb || {}, cb);
368
- } else {
369
- return this.send(command, optionsOrCb);
370
- }
371
- }
372
-
373
- /**
374
- * <p>Creates a new <code>Evaluation</code> of an <code>MLModel</code>. An <code>MLModel</code> is evaluated on a set of observations associated to a <code>DataSource</code>. Like a <code>DataSource</code>
375
- * for an <code>MLModel</code>, the <code>DataSource</code> for an <code>Evaluation</code> contains values for the <code>Target Variable</code>. The <code>Evaluation</code> compares the predicted result for each observation to the actual outcome and provides a
376
- * summary so that you know how effective the <code>MLModel</code> functions on the test
377
- * data. Evaluation generates a relevant performance metric, such as BinaryAUC, RegressionRMSE or MulticlassAvgFScore based on the corresponding <code>MLModelType</code>: <code>BINARY</code>, <code>REGRESSION</code> or <code>MULTICLASS</code>.
378
- *
379
- * </p>
380
- * <p>
381
- * <code>CreateEvaluation</code> is an asynchronous operation. In response to <code>CreateEvaluation</code>, Amazon Machine Learning (Amazon ML) immediately
382
- * returns and sets the evaluation status to <code>PENDING</code>. After the <code>Evaluation</code> is created and ready for use,
383
- * Amazon ML sets the status to <code>COMPLETED</code>.
384
- * </p>
385
- * <p>You can use the <code>GetEvaluation</code> operation to check progress of the evaluation during the creation operation.</p>
386
- */
387
- public createEvaluation(
388
- args: CreateEvaluationCommandInput,
389
- options?: __HttpHandlerOptions
390
- ): Promise<CreateEvaluationCommandOutput>;
391
- public createEvaluation(
392
- args: CreateEvaluationCommandInput,
393
- cb: (err: any, data?: CreateEvaluationCommandOutput) => void
394
- ): void;
395
- public createEvaluation(
396
- args: CreateEvaluationCommandInput,
397
- options: __HttpHandlerOptions,
398
- cb: (err: any, data?: CreateEvaluationCommandOutput) => void
399
- ): void;
400
- public createEvaluation(
401
- args: CreateEvaluationCommandInput,
402
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateEvaluationCommandOutput) => void),
403
- cb?: (err: any, data?: CreateEvaluationCommandOutput) => void
404
- ): Promise<CreateEvaluationCommandOutput> | void {
405
- const command = new CreateEvaluationCommand(args);
406
- if (typeof optionsOrCb === "function") {
407
- this.send(command, optionsOrCb);
408
- } else if (typeof cb === "function") {
409
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
410
- this.send(command, optionsOrCb || {}, cb);
411
- } else {
412
- return this.send(command, optionsOrCb);
413
- }
414
- }
415
-
416
- /**
417
- * <p>Creates a new <code>MLModel</code> using the <code>DataSource</code> and the recipe as
418
- * information sources. </p>
419
- * <p>An <code>MLModel</code> is nearly immutable. Users can update only the
420
- * <code>MLModelName</code> and the <code>ScoreThreshold</code> in an
421
- * <code>MLModel</code> without creating a new <code>MLModel</code>. </p>
422
- * <p>
423
- * <code>CreateMLModel</code> is an asynchronous operation. In response to
424
- * <code>CreateMLModel</code>, Amazon Machine Learning (Amazon ML) immediately returns
425
- * and sets the <code>MLModel</code> status to <code>PENDING</code>. After the
426
- * <code>MLModel</code> has been created and ready is for use, Amazon ML sets the
427
- * status to <code>COMPLETED</code>. </p>
428
- * <p>You can use the <code>GetMLModel</code> operation to check the progress of the
429
- * <code>MLModel</code> during the creation operation.</p>
430
- *
431
- * <p>
432
- * <code>CreateMLModel</code> requires a <code>DataSource</code> with computed statistics,
433
- * which can be created by setting <code>ComputeStatistics</code> to <code>true</code> in
434
- * <code>CreateDataSourceFromRDS</code>, <code>CreateDataSourceFromS3</code>, or
435
- * <code>CreateDataSourceFromRedshift</code> operations.
436
- * </p>
437
- */
438
- public createMLModel(
439
- args: CreateMLModelCommandInput,
440
- options?: __HttpHandlerOptions
441
- ): Promise<CreateMLModelCommandOutput>;
442
- public createMLModel(
443
- args: CreateMLModelCommandInput,
444
- cb: (err: any, data?: CreateMLModelCommandOutput) => void
445
- ): void;
446
- public createMLModel(
447
- args: CreateMLModelCommandInput,
448
- options: __HttpHandlerOptions,
449
- cb: (err: any, data?: CreateMLModelCommandOutput) => void
450
- ): void;
451
- public createMLModel(
452
- args: CreateMLModelCommandInput,
453
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateMLModelCommandOutput) => void),
454
- cb?: (err: any, data?: CreateMLModelCommandOutput) => void
455
- ): Promise<CreateMLModelCommandOutput> | void {
456
- const command = new CreateMLModelCommand(args);
457
- if (typeof optionsOrCb === "function") {
458
- this.send(command, optionsOrCb);
459
- } else if (typeof cb === "function") {
460
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
461
- this.send(command, optionsOrCb || {}, cb);
462
- } else {
463
- return this.send(command, optionsOrCb);
464
- }
465
- }
466
-
467
- /**
468
- * <p>Creates a real-time endpoint for the <code>MLModel</code>. The endpoint contains the URI of the <code>MLModel</code>; that is, the location to send real-time prediction requests for the specified <code>MLModel</code>.</p>
469
- */
470
- public createRealtimeEndpoint(
471
- args: CreateRealtimeEndpointCommandInput,
472
- options?: __HttpHandlerOptions
473
- ): Promise<CreateRealtimeEndpointCommandOutput>;
474
- public createRealtimeEndpoint(
475
- args: CreateRealtimeEndpointCommandInput,
476
- cb: (err: any, data?: CreateRealtimeEndpointCommandOutput) => void
477
- ): void;
478
- public createRealtimeEndpoint(
479
- args: CreateRealtimeEndpointCommandInput,
480
- options: __HttpHandlerOptions,
481
- cb: (err: any, data?: CreateRealtimeEndpointCommandOutput) => void
482
- ): void;
483
- public createRealtimeEndpoint(
484
- args: CreateRealtimeEndpointCommandInput,
485
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateRealtimeEndpointCommandOutput) => void),
486
- cb?: (err: any, data?: CreateRealtimeEndpointCommandOutput) => void
487
- ): Promise<CreateRealtimeEndpointCommandOutput> | void {
488
- const command = new CreateRealtimeEndpointCommand(args);
489
- if (typeof optionsOrCb === "function") {
490
- this.send(command, optionsOrCb);
491
- } else if (typeof cb === "function") {
492
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
493
- this.send(command, optionsOrCb || {}, cb);
494
- } else {
495
- return this.send(command, optionsOrCb);
496
- }
497
- }
498
-
499
- /**
500
- * <p>Assigns the DELETED status to a <code>BatchPrediction</code>, rendering it unusable.</p>
501
- * <p>After using the <code>DeleteBatchPrediction</code> operation, you can use the <a>GetBatchPrediction</a>
502
- * operation to verify that the status of the <code>BatchPrediction</code> changed to DELETED.</p>
503
- *
504
- * <p>
505
- * <b>Caution:</b> The result of the <code>DeleteBatchPrediction</code> operation is irreversible.</p>
506
- */
507
- public deleteBatchPrediction(
508
- args: DeleteBatchPredictionCommandInput,
509
- options?: __HttpHandlerOptions
510
- ): Promise<DeleteBatchPredictionCommandOutput>;
511
- public deleteBatchPrediction(
512
- args: DeleteBatchPredictionCommandInput,
513
- cb: (err: any, data?: DeleteBatchPredictionCommandOutput) => void
514
- ): void;
515
- public deleteBatchPrediction(
516
- args: DeleteBatchPredictionCommandInput,
517
- options: __HttpHandlerOptions,
518
- cb: (err: any, data?: DeleteBatchPredictionCommandOutput) => void
519
- ): void;
520
- public deleteBatchPrediction(
521
- args: DeleteBatchPredictionCommandInput,
522
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteBatchPredictionCommandOutput) => void),
523
- cb?: (err: any, data?: DeleteBatchPredictionCommandOutput) => void
524
- ): Promise<DeleteBatchPredictionCommandOutput> | void {
525
- const command = new DeleteBatchPredictionCommand(args);
526
- if (typeof optionsOrCb === "function") {
527
- this.send(command, optionsOrCb);
528
- } else if (typeof cb === "function") {
529
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
530
- this.send(command, optionsOrCb || {}, cb);
531
- } else {
532
- return this.send(command, optionsOrCb);
533
- }
534
- }
535
-
536
- /**
537
- * <p>Assigns the DELETED status to a <code>DataSource</code>, rendering it unusable.</p>
538
- * <p>After using the <code>DeleteDataSource</code> operation, you can use the <a>GetDataSource</a> operation to verify that the status of the <code>DataSource</code> changed to DELETED.</p>
539
- * <p>
540
- * <b>Caution:</b> The results of the <code>DeleteDataSource</code> operation are irreversible.</p>
541
- */
542
- public deleteDataSource(
543
- args: DeleteDataSourceCommandInput,
544
- options?: __HttpHandlerOptions
545
- ): Promise<DeleteDataSourceCommandOutput>;
546
- public deleteDataSource(
547
- args: DeleteDataSourceCommandInput,
548
- cb: (err: any, data?: DeleteDataSourceCommandOutput) => void
549
- ): void;
550
- public deleteDataSource(
551
- args: DeleteDataSourceCommandInput,
552
- options: __HttpHandlerOptions,
553
- cb: (err: any, data?: DeleteDataSourceCommandOutput) => void
554
- ): void;
555
- public deleteDataSource(
556
- args: DeleteDataSourceCommandInput,
557
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteDataSourceCommandOutput) => void),
558
- cb?: (err: any, data?: DeleteDataSourceCommandOutput) => void
559
- ): Promise<DeleteDataSourceCommandOutput> | void {
560
- const command = new DeleteDataSourceCommand(args);
561
- if (typeof optionsOrCb === "function") {
562
- this.send(command, optionsOrCb);
563
- } else if (typeof cb === "function") {
564
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
565
- this.send(command, optionsOrCb || {}, cb);
566
- } else {
567
- return this.send(command, optionsOrCb);
568
- }
569
- }
570
-
571
- /**
572
- * <p>Assigns the <code>DELETED</code> status to an <code>Evaluation</code>, rendering it unusable.</p>
573
- *
574
- * <p>After invoking the <code>DeleteEvaluation</code> operation, you can use the
575
- * <code>GetEvaluation</code> operation to verify that the status of the <code>Evaluation</code> changed to <code>DELETED</code>.</p>
576
- * <p>
577
- * <b>Caution:</b> The results of the <code>DeleteEvaluation</code> operation are irreversible.</p>
578
- */
579
- public deleteEvaluation(
580
- args: DeleteEvaluationCommandInput,
581
- options?: __HttpHandlerOptions
582
- ): Promise<DeleteEvaluationCommandOutput>;
583
- public deleteEvaluation(
584
- args: DeleteEvaluationCommandInput,
585
- cb: (err: any, data?: DeleteEvaluationCommandOutput) => void
586
- ): void;
587
- public deleteEvaluation(
588
- args: DeleteEvaluationCommandInput,
589
- options: __HttpHandlerOptions,
590
- cb: (err: any, data?: DeleteEvaluationCommandOutput) => void
591
- ): void;
592
- public deleteEvaluation(
593
- args: DeleteEvaluationCommandInput,
594
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteEvaluationCommandOutput) => void),
595
- cb?: (err: any, data?: DeleteEvaluationCommandOutput) => void
596
- ): Promise<DeleteEvaluationCommandOutput> | void {
597
- const command = new DeleteEvaluationCommand(args);
598
- if (typeof optionsOrCb === "function") {
599
- this.send(command, optionsOrCb);
600
- } else if (typeof cb === "function") {
601
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
602
- this.send(command, optionsOrCb || {}, cb);
603
- } else {
604
- return this.send(command, optionsOrCb);
605
- }
606
- }
607
-
608
- /**
609
- * <p>Assigns the <code>DELETED</code> status to an <code>MLModel</code>, rendering it unusable.</p>
610
- * <p>After using the <code>DeleteMLModel</code> operation, you can use the
611
- * <code>GetMLModel</code> operation to verify that the status of the <code>MLModel</code> changed to DELETED.</p>
612
- *
613
- * <p>
614
- * <b>Caution:</b> The result of the <code>DeleteMLModel</code> operation is irreversible.</p>
615
- */
616
- public deleteMLModel(
617
- args: DeleteMLModelCommandInput,
618
- options?: __HttpHandlerOptions
619
- ): Promise<DeleteMLModelCommandOutput>;
620
- public deleteMLModel(
621
- args: DeleteMLModelCommandInput,
622
- cb: (err: any, data?: DeleteMLModelCommandOutput) => void
623
- ): void;
624
- public deleteMLModel(
625
- args: DeleteMLModelCommandInput,
626
- options: __HttpHandlerOptions,
627
- cb: (err: any, data?: DeleteMLModelCommandOutput) => void
628
- ): void;
629
- public deleteMLModel(
630
- args: DeleteMLModelCommandInput,
631
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteMLModelCommandOutput) => void),
632
- cb?: (err: any, data?: DeleteMLModelCommandOutput) => void
633
- ): Promise<DeleteMLModelCommandOutput> | void {
634
- const command = new DeleteMLModelCommand(args);
635
- if (typeof optionsOrCb === "function") {
636
- this.send(command, optionsOrCb);
637
- } else if (typeof cb === "function") {
638
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
639
- this.send(command, optionsOrCb || {}, cb);
640
- } else {
641
- return this.send(command, optionsOrCb);
642
- }
643
- }
644
-
645
- /**
646
- * <p>Deletes a real time endpoint of an <code>MLModel</code>.</p>
647
- */
648
- public deleteRealtimeEndpoint(
649
- args: DeleteRealtimeEndpointCommandInput,
650
- options?: __HttpHandlerOptions
651
- ): Promise<DeleteRealtimeEndpointCommandOutput>;
652
- public deleteRealtimeEndpoint(
653
- args: DeleteRealtimeEndpointCommandInput,
654
- cb: (err: any, data?: DeleteRealtimeEndpointCommandOutput) => void
655
- ): void;
656
- public deleteRealtimeEndpoint(
657
- args: DeleteRealtimeEndpointCommandInput,
658
- options: __HttpHandlerOptions,
659
- cb: (err: any, data?: DeleteRealtimeEndpointCommandOutput) => void
660
- ): void;
661
- public deleteRealtimeEndpoint(
662
- args: DeleteRealtimeEndpointCommandInput,
663
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteRealtimeEndpointCommandOutput) => void),
664
- cb?: (err: any, data?: DeleteRealtimeEndpointCommandOutput) => void
665
- ): Promise<DeleteRealtimeEndpointCommandOutput> | void {
666
- const command = new DeleteRealtimeEndpointCommand(args);
667
- if (typeof optionsOrCb === "function") {
668
- this.send(command, optionsOrCb);
669
- } else if (typeof cb === "function") {
670
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
671
- this.send(command, optionsOrCb || {}, cb);
672
- } else {
673
- return this.send(command, optionsOrCb);
674
- }
675
- }
676
-
677
- /**
678
- * <p>Deletes the specified tags associated with an ML object. After this operation is complete, you can't recover deleted tags.</p>
679
- * <p>If you specify a tag that doesn't exist, Amazon ML ignores it.</p>
680
- */
681
- public deleteTags(args: DeleteTagsCommandInput, options?: __HttpHandlerOptions): Promise<DeleteTagsCommandOutput>;
682
- public deleteTags(args: DeleteTagsCommandInput, cb: (err: any, data?: DeleteTagsCommandOutput) => void): void;
683
- public deleteTags(
684
- args: DeleteTagsCommandInput,
685
- options: __HttpHandlerOptions,
686
- cb: (err: any, data?: DeleteTagsCommandOutput) => void
687
- ): void;
688
- public deleteTags(
689
- args: DeleteTagsCommandInput,
690
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteTagsCommandOutput) => void),
691
- cb?: (err: any, data?: DeleteTagsCommandOutput) => void
692
- ): Promise<DeleteTagsCommandOutput> | void {
693
- const command = new DeleteTagsCommand(args);
694
- if (typeof optionsOrCb === "function") {
695
- this.send(command, optionsOrCb);
696
- } else if (typeof cb === "function") {
697
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
698
- this.send(command, optionsOrCb || {}, cb);
699
- } else {
700
- return this.send(command, optionsOrCb);
701
- }
702
- }
703
-
704
- /**
705
- * <p>Returns a list of <code>BatchPrediction</code> operations that match the search criteria in the request.</p>
706
- */
707
- public describeBatchPredictions(
708
- args: DescribeBatchPredictionsCommandInput,
709
- options?: __HttpHandlerOptions
710
- ): Promise<DescribeBatchPredictionsCommandOutput>;
711
- public describeBatchPredictions(
712
- args: DescribeBatchPredictionsCommandInput,
713
- cb: (err: any, data?: DescribeBatchPredictionsCommandOutput) => void
714
- ): void;
715
- public describeBatchPredictions(
716
- args: DescribeBatchPredictionsCommandInput,
717
- options: __HttpHandlerOptions,
718
- cb: (err: any, data?: DescribeBatchPredictionsCommandOutput) => void
719
- ): void;
720
- public describeBatchPredictions(
721
- args: DescribeBatchPredictionsCommandInput,
722
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeBatchPredictionsCommandOutput) => void),
723
- cb?: (err: any, data?: DescribeBatchPredictionsCommandOutput) => void
724
- ): Promise<DescribeBatchPredictionsCommandOutput> | void {
725
- const command = new DescribeBatchPredictionsCommand(args);
726
- if (typeof optionsOrCb === "function") {
727
- this.send(command, optionsOrCb);
728
- } else if (typeof cb === "function") {
729
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
730
- this.send(command, optionsOrCb || {}, cb);
731
- } else {
732
- return this.send(command, optionsOrCb);
733
- }
734
- }
735
-
736
- /**
737
- * <p>Returns a list of <code>DataSource</code> that match the search criteria in the request.</p>
738
- */
739
- public describeDataSources(
740
- args: DescribeDataSourcesCommandInput,
741
- options?: __HttpHandlerOptions
742
- ): Promise<DescribeDataSourcesCommandOutput>;
743
- public describeDataSources(
744
- args: DescribeDataSourcesCommandInput,
745
- cb: (err: any, data?: DescribeDataSourcesCommandOutput) => void
746
- ): void;
747
- public describeDataSources(
748
- args: DescribeDataSourcesCommandInput,
749
- options: __HttpHandlerOptions,
750
- cb: (err: any, data?: DescribeDataSourcesCommandOutput) => void
751
- ): void;
752
- public describeDataSources(
753
- args: DescribeDataSourcesCommandInput,
754
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeDataSourcesCommandOutput) => void),
755
- cb?: (err: any, data?: DescribeDataSourcesCommandOutput) => void
756
- ): Promise<DescribeDataSourcesCommandOutput> | void {
757
- const command = new DescribeDataSourcesCommand(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>Returns a list of <code>DescribeEvaluations</code> that match the search criteria in the request.</p>
770
- */
771
- public describeEvaluations(
772
- args: DescribeEvaluationsCommandInput,
773
- options?: __HttpHandlerOptions
774
- ): Promise<DescribeEvaluationsCommandOutput>;
775
- public describeEvaluations(
776
- args: DescribeEvaluationsCommandInput,
777
- cb: (err: any, data?: DescribeEvaluationsCommandOutput) => void
778
- ): void;
779
- public describeEvaluations(
780
- args: DescribeEvaluationsCommandInput,
781
- options: __HttpHandlerOptions,
782
- cb: (err: any, data?: DescribeEvaluationsCommandOutput) => void
783
- ): void;
784
- public describeEvaluations(
785
- args: DescribeEvaluationsCommandInput,
786
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeEvaluationsCommandOutput) => void),
787
- cb?: (err: any, data?: DescribeEvaluationsCommandOutput) => void
788
- ): Promise<DescribeEvaluationsCommandOutput> | void {
789
- const command = new DescribeEvaluationsCommand(args);
790
- if (typeof optionsOrCb === "function") {
791
- this.send(command, optionsOrCb);
792
- } else if (typeof cb === "function") {
793
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
794
- this.send(command, optionsOrCb || {}, cb);
795
- } else {
796
- return this.send(command, optionsOrCb);
797
- }
798
- }
799
-
800
- /**
801
- * <p>Returns a list of <code>MLModel</code> that match the search criteria in the request.</p>
802
- */
803
- public describeMLModels(
804
- args: DescribeMLModelsCommandInput,
805
- options?: __HttpHandlerOptions
806
- ): Promise<DescribeMLModelsCommandOutput>;
807
- public describeMLModels(
808
- args: DescribeMLModelsCommandInput,
809
- cb: (err: any, data?: DescribeMLModelsCommandOutput) => void
810
- ): void;
811
- public describeMLModels(
812
- args: DescribeMLModelsCommandInput,
813
- options: __HttpHandlerOptions,
814
- cb: (err: any, data?: DescribeMLModelsCommandOutput) => void
815
- ): void;
816
- public describeMLModels(
817
- args: DescribeMLModelsCommandInput,
818
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeMLModelsCommandOutput) => void),
819
- cb?: (err: any, data?: DescribeMLModelsCommandOutput) => void
820
- ): Promise<DescribeMLModelsCommandOutput> | void {
821
- const command = new DescribeMLModelsCommand(args);
822
- if (typeof optionsOrCb === "function") {
823
- this.send(command, optionsOrCb);
824
- } else if (typeof cb === "function") {
825
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
826
- this.send(command, optionsOrCb || {}, cb);
827
- } else {
828
- return this.send(command, optionsOrCb);
829
- }
830
- }
831
-
832
- /**
833
- * <p>Describes one or more of the tags for your Amazon ML object.</p>
834
- */
835
- public describeTags(
836
- args: DescribeTagsCommandInput,
837
- options?: __HttpHandlerOptions
838
- ): Promise<DescribeTagsCommandOutput>;
839
- public describeTags(args: DescribeTagsCommandInput, cb: (err: any, data?: DescribeTagsCommandOutput) => void): void;
840
- public describeTags(
841
- args: DescribeTagsCommandInput,
842
- options: __HttpHandlerOptions,
843
- cb: (err: any, data?: DescribeTagsCommandOutput) => void
844
- ): void;
845
- public describeTags(
846
- args: DescribeTagsCommandInput,
847
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeTagsCommandOutput) => void),
848
- cb?: (err: any, data?: DescribeTagsCommandOutput) => void
849
- ): Promise<DescribeTagsCommandOutput> | void {
850
- const command = new DescribeTagsCommand(args);
851
- if (typeof optionsOrCb === "function") {
852
- this.send(command, optionsOrCb);
853
- } else if (typeof cb === "function") {
854
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
855
- this.send(command, optionsOrCb || {}, cb);
856
- } else {
857
- return this.send(command, optionsOrCb);
858
- }
859
- }
860
-
861
- /**
862
- * <p>Returns a <code>BatchPrediction</code> that includes detailed metadata, status, and data file information for a
863
- * <code>Batch Prediction</code> request.</p>
864
- */
865
- public getBatchPrediction(
866
- args: GetBatchPredictionCommandInput,
867
- options?: __HttpHandlerOptions
868
- ): Promise<GetBatchPredictionCommandOutput>;
869
- public getBatchPrediction(
870
- args: GetBatchPredictionCommandInput,
871
- cb: (err: any, data?: GetBatchPredictionCommandOutput) => void
872
- ): void;
873
- public getBatchPrediction(
874
- args: GetBatchPredictionCommandInput,
875
- options: __HttpHandlerOptions,
876
- cb: (err: any, data?: GetBatchPredictionCommandOutput) => void
877
- ): void;
878
- public getBatchPrediction(
879
- args: GetBatchPredictionCommandInput,
880
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetBatchPredictionCommandOutput) => void),
881
- cb?: (err: any, data?: GetBatchPredictionCommandOutput) => void
882
- ): Promise<GetBatchPredictionCommandOutput> | void {
883
- const command = new GetBatchPredictionCommand(args);
884
- if (typeof optionsOrCb === "function") {
885
- this.send(command, optionsOrCb);
886
- } else if (typeof cb === "function") {
887
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
888
- this.send(command, optionsOrCb || {}, cb);
889
- } else {
890
- return this.send(command, optionsOrCb);
891
- }
892
- }
893
-
894
- /**
895
- * <p>Returns a <code>DataSource</code> that includes metadata and data file information, as well as the current status of the <code>DataSource</code>.</p>
896
- * <p>
897
- * <code>GetDataSource</code> provides results in normal or verbose format. The verbose format
898
- * adds the schema description and the list of files pointed to by the DataSource to the normal format.</p>
899
- */
900
- public getDataSource(
901
- args: GetDataSourceCommandInput,
902
- options?: __HttpHandlerOptions
903
- ): Promise<GetDataSourceCommandOutput>;
904
- public getDataSource(
905
- args: GetDataSourceCommandInput,
906
- cb: (err: any, data?: GetDataSourceCommandOutput) => void
907
- ): void;
908
- public getDataSource(
909
- args: GetDataSourceCommandInput,
910
- options: __HttpHandlerOptions,
911
- cb: (err: any, data?: GetDataSourceCommandOutput) => void
912
- ): void;
913
- public getDataSource(
914
- args: GetDataSourceCommandInput,
915
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetDataSourceCommandOutput) => void),
916
- cb?: (err: any, data?: GetDataSourceCommandOutput) => void
917
- ): Promise<GetDataSourceCommandOutput> | void {
918
- const command = new GetDataSourceCommand(args);
919
- if (typeof optionsOrCb === "function") {
920
- this.send(command, optionsOrCb);
921
- } else if (typeof cb === "function") {
922
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
923
- this.send(command, optionsOrCb || {}, cb);
924
- } else {
925
- return this.send(command, optionsOrCb);
926
- }
927
- }
928
-
929
- /**
930
- * <p>Returns an <code>Evaluation</code> that includes metadata as well as the current status of the <code>Evaluation</code>.</p>
931
- */
932
- public getEvaluation(
933
- args: GetEvaluationCommandInput,
934
- options?: __HttpHandlerOptions
935
- ): Promise<GetEvaluationCommandOutput>;
936
- public getEvaluation(
937
- args: GetEvaluationCommandInput,
938
- cb: (err: any, data?: GetEvaluationCommandOutput) => void
939
- ): void;
940
- public getEvaluation(
941
- args: GetEvaluationCommandInput,
942
- options: __HttpHandlerOptions,
943
- cb: (err: any, data?: GetEvaluationCommandOutput) => void
944
- ): void;
945
- public getEvaluation(
946
- args: GetEvaluationCommandInput,
947
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetEvaluationCommandOutput) => void),
948
- cb?: (err: any, data?: GetEvaluationCommandOutput) => void
949
- ): Promise<GetEvaluationCommandOutput> | void {
950
- const command = new GetEvaluationCommand(args);
951
- if (typeof optionsOrCb === "function") {
952
- this.send(command, optionsOrCb);
953
- } else if (typeof cb === "function") {
954
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
955
- this.send(command, optionsOrCb || {}, cb);
956
- } else {
957
- return this.send(command, optionsOrCb);
958
- }
959
- }
960
-
961
- /**
962
- * <p>Returns an <code>MLModel</code> that includes detailed metadata, data source information, and the current status of the <code>MLModel</code>.</p>
963
- * <p>
964
- * <code>GetMLModel</code> provides results in normal or verbose format. </p>
965
- */
966
- public getMLModel(args: GetMLModelCommandInput, options?: __HttpHandlerOptions): Promise<GetMLModelCommandOutput>;
967
- public getMLModel(args: GetMLModelCommandInput, cb: (err: any, data?: GetMLModelCommandOutput) => void): void;
968
- public getMLModel(
969
- args: GetMLModelCommandInput,
970
- options: __HttpHandlerOptions,
971
- cb: (err: any, data?: GetMLModelCommandOutput) => void
972
- ): void;
973
- public getMLModel(
974
- args: GetMLModelCommandInput,
975
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetMLModelCommandOutput) => void),
976
- cb?: (err: any, data?: GetMLModelCommandOutput) => void
977
- ): Promise<GetMLModelCommandOutput> | void {
978
- const command = new GetMLModelCommand(args);
979
- if (typeof optionsOrCb === "function") {
980
- this.send(command, optionsOrCb);
981
- } else if (typeof cb === "function") {
982
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
983
- this.send(command, optionsOrCb || {}, cb);
984
- } else {
985
- return this.send(command, optionsOrCb);
986
- }
987
- }
988
-
989
- /**
990
- * <p>Generates a prediction for the observation using the specified <code>ML Model</code>.</p>
991
- * <p>
992
- * <b>Note:</b> Not all response parameters will be populated. Whether a
993
- * response parameter is populated depends on the type of model requested.</p>
994
- */
995
- public predict(args: PredictCommandInput, options?: __HttpHandlerOptions): Promise<PredictCommandOutput>;
996
- public predict(args: PredictCommandInput, cb: (err: any, data?: PredictCommandOutput) => void): void;
997
- public predict(
998
- args: PredictCommandInput,
999
- options: __HttpHandlerOptions,
1000
- cb: (err: any, data?: PredictCommandOutput) => void
1001
- ): void;
1002
- public predict(
1003
- args: PredictCommandInput,
1004
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: PredictCommandOutput) => void),
1005
- cb?: (err: any, data?: PredictCommandOutput) => void
1006
- ): Promise<PredictCommandOutput> | void {
1007
- const command = new PredictCommand(args);
1008
- if (typeof optionsOrCb === "function") {
1009
- this.send(command, optionsOrCb);
1010
- } else if (typeof cb === "function") {
1011
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1012
- this.send(command, optionsOrCb || {}, cb);
1013
- } else {
1014
- return this.send(command, optionsOrCb);
1015
- }
1016
- }
1017
-
1018
- /**
1019
- * <p>Updates the <code>BatchPredictionName</code> of a <code>BatchPrediction</code>.</p>
1020
- * <p>You can use the <code>GetBatchPrediction</code> operation to view the contents of the updated data element.</p>
1021
- */
1022
- public updateBatchPrediction(
1023
- args: UpdateBatchPredictionCommandInput,
1024
- options?: __HttpHandlerOptions
1025
- ): Promise<UpdateBatchPredictionCommandOutput>;
1026
- public updateBatchPrediction(
1027
- args: UpdateBatchPredictionCommandInput,
1028
- cb: (err: any, data?: UpdateBatchPredictionCommandOutput) => void
1029
- ): void;
1030
- public updateBatchPrediction(
1031
- args: UpdateBatchPredictionCommandInput,
1032
- options: __HttpHandlerOptions,
1033
- cb: (err: any, data?: UpdateBatchPredictionCommandOutput) => void
1034
- ): void;
1035
- public updateBatchPrediction(
1036
- args: UpdateBatchPredictionCommandInput,
1037
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateBatchPredictionCommandOutput) => void),
1038
- cb?: (err: any, data?: UpdateBatchPredictionCommandOutput) => void
1039
- ): Promise<UpdateBatchPredictionCommandOutput> | void {
1040
- const command = new UpdateBatchPredictionCommand(args);
1041
- if (typeof optionsOrCb === "function") {
1042
- this.send(command, optionsOrCb);
1043
- } else if (typeof cb === "function") {
1044
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1045
- this.send(command, optionsOrCb || {}, cb);
1046
- } else {
1047
- return this.send(command, optionsOrCb);
1048
- }
1049
- }
1050
-
1051
- /**
1052
- * <p>Updates the <code>DataSourceName</code> of a <code>DataSource</code>.</p>
1053
- * <p>You can use the <code>GetDataSource</code> operation to view the contents of the updated data element.</p>
1054
- */
1055
- public updateDataSource(
1056
- args: UpdateDataSourceCommandInput,
1057
- options?: __HttpHandlerOptions
1058
- ): Promise<UpdateDataSourceCommandOutput>;
1059
- public updateDataSource(
1060
- args: UpdateDataSourceCommandInput,
1061
- cb: (err: any, data?: UpdateDataSourceCommandOutput) => void
1062
- ): void;
1063
- public updateDataSource(
1064
- args: UpdateDataSourceCommandInput,
1065
- options: __HttpHandlerOptions,
1066
- cb: (err: any, data?: UpdateDataSourceCommandOutput) => void
1067
- ): void;
1068
- public updateDataSource(
1069
- args: UpdateDataSourceCommandInput,
1070
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateDataSourceCommandOutput) => void),
1071
- cb?: (err: any, data?: UpdateDataSourceCommandOutput) => void
1072
- ): Promise<UpdateDataSourceCommandOutput> | void {
1073
- const command = new UpdateDataSourceCommand(args);
1074
- if (typeof optionsOrCb === "function") {
1075
- this.send(command, optionsOrCb);
1076
- } else if (typeof cb === "function") {
1077
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1078
- this.send(command, optionsOrCb || {}, cb);
1079
- } else {
1080
- return this.send(command, optionsOrCb);
1081
- }
1082
- }
1083
-
1084
- /**
1085
- * <p>Updates the <code>EvaluationName</code> of an <code>Evaluation</code>.</p>
1086
- * <p>You can use the <code>GetEvaluation</code> operation to view the contents of the updated data element.</p>
1087
- */
1088
- public updateEvaluation(
1089
- args: UpdateEvaluationCommandInput,
1090
- options?: __HttpHandlerOptions
1091
- ): Promise<UpdateEvaluationCommandOutput>;
1092
- public updateEvaluation(
1093
- args: UpdateEvaluationCommandInput,
1094
- cb: (err: any, data?: UpdateEvaluationCommandOutput) => void
1095
- ): void;
1096
- public updateEvaluation(
1097
- args: UpdateEvaluationCommandInput,
1098
- options: __HttpHandlerOptions,
1099
- cb: (err: any, data?: UpdateEvaluationCommandOutput) => void
1100
- ): void;
1101
- public updateEvaluation(
1102
- args: UpdateEvaluationCommandInput,
1103
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateEvaluationCommandOutput) => void),
1104
- cb?: (err: any, data?: UpdateEvaluationCommandOutput) => void
1105
- ): Promise<UpdateEvaluationCommandOutput> | void {
1106
- const command = new UpdateEvaluationCommand(args);
1107
- if (typeof optionsOrCb === "function") {
1108
- this.send(command, optionsOrCb);
1109
- } else if (typeof cb === "function") {
1110
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1111
- this.send(command, optionsOrCb || {}, cb);
1112
- } else {
1113
- return this.send(command, optionsOrCb);
1114
- }
1115
- }
1116
-
1117
- /**
1118
- * <p>Updates the <code>MLModelName</code> and the <code>ScoreThreshold</code> of an <code>MLModel</code>.</p>
1119
- * <p>You can use the <code>GetMLModel</code> operation to view the contents of the updated data element.</p>
1120
- */
1121
- public updateMLModel(
1122
- args: UpdateMLModelCommandInput,
1123
- options?: __HttpHandlerOptions
1124
- ): Promise<UpdateMLModelCommandOutput>;
1125
- public updateMLModel(
1126
- args: UpdateMLModelCommandInput,
1127
- cb: (err: any, data?: UpdateMLModelCommandOutput) => void
1128
- ): void;
1129
- public updateMLModel(
1130
- args: UpdateMLModelCommandInput,
1131
- options: __HttpHandlerOptions,
1132
- cb: (err: any, data?: UpdateMLModelCommandOutput) => void
1133
- ): void;
1134
- public updateMLModel(
1135
- args: UpdateMLModelCommandInput,
1136
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateMLModelCommandOutput) => void),
1137
- cb?: (err: any, data?: UpdateMLModelCommandOutput) => void
1138
- ): Promise<UpdateMLModelCommandOutput> | void {
1139
- const command = new UpdateMLModelCommand(args);
1140
- if (typeof optionsOrCb === "function") {
1141
- this.send(command, optionsOrCb);
1142
- } else if (typeof cb === "function") {
1143
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1144
- this.send(command, optionsOrCb || {}, cb);
1145
- } else {
1146
- return this.send(command, optionsOrCb);
1147
- }
1148
- }
1149
- }