@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,131 +0,0 @@
1
- import { MachineLearningClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MachineLearningClient";
2
- import { CreateDataSourceFromRedshiftInput, CreateDataSourceFromRedshiftOutput } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1CreateDataSourceFromRedshiftCommand,
5
- serializeAws_json1_1CreateDataSourceFromRedshiftCommand,
6
- } from "../protocols/Aws_json1_1";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface CreateDataSourceFromRedshiftCommandInput extends CreateDataSourceFromRedshiftInput {}
21
- export interface CreateDataSourceFromRedshiftCommandOutput
22
- extends CreateDataSourceFromRedshiftOutput,
23
- __MetadataBearer {}
24
-
25
- /**
26
- * <p>Creates a <code>DataSource</code> from a database hosted on an Amazon Redshift cluster. A
27
- * <code>DataSource</code> references data that can be used to perform either <code>CreateMLModel</code>, <code>CreateEvaluation</code>, or <code>CreateBatchPrediction</code>
28
- * operations.</p>
29
- *
30
- * <p>
31
- * <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>.
32
- * After the <code>DataSource</code> is created and ready for use, Amazon ML sets the <code>Status</code> parameter to <code>COMPLETED</code>.
33
- * <code>DataSource</code> in <code>COMPLETED</code> or <code>PENDING</code> states can be
34
- * used to perform only <code>CreateMLModel</code>, <code>CreateEvaluation</code>, or <code>CreateBatchPrediction</code> operations.
35
- * </p>
36
- *
37
- * <p>
38
- * 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>
39
- * attribute of the <code>GetDataSource</code> operation response.
40
- * </p>
41
- *
42
- * <p>The observations should be contained in the database hosted on an Amazon Redshift cluster
43
- * and should be specified by a <code>SelectSqlQuery</code> query. Amazon ML executes an
44
- * <code>Unload</code> command in Amazon Redshift to transfer the result set of
45
- * the <code>SelectSqlQuery</code> query to <code>S3StagingLocation</code>.</p>
46
- *
47
- * <p>After the <code>DataSource</code> has been created, it's ready for use in evaluations and
48
- * batch predictions. If you plan to use the <code>DataSource</code> to train an
49
- * <code>MLModel</code>, the <code>DataSource</code> also requires a recipe. A recipe
50
- * describes how each input variable will be used in training an <code>MLModel</code>. Will
51
- * the variable be included or excluded from training? Will the variable be manipulated;
52
- * for example, will it be combined with another variable or will it be split apart into
53
- * word combinations? The recipe provides answers to these questions.</p>
54
- * <p>You can't change an existing datasource, but you can copy and modify the settings from an
55
- * existing Amazon Redshift datasource to create a new datasource. To do so, call
56
- * <code>GetDataSource</code> for an existing datasource and copy the values to a
57
- * <code>CreateDataSource</code> call. Change the settings that you want to change and
58
- * make sure that all required fields have the appropriate values.</p>
59
- * @example
60
- * Use a bare-bones client and the command you need to make an API call.
61
- * ```javascript
62
- * import { MachineLearningClient, CreateDataSourceFromRedshiftCommand } from "@aws-sdk/client-machine-learning"; // ES Modules import
63
- * // const { MachineLearningClient, CreateDataSourceFromRedshiftCommand } = require("@aws-sdk/client-machine-learning"); // CommonJS import
64
- * const client = new MachineLearningClient(config);
65
- * const command = new CreateDataSourceFromRedshiftCommand(input);
66
- * const response = await client.send(command);
67
- * ```
68
- *
69
- * @see {@link CreateDataSourceFromRedshiftCommandInput} for command's `input` shape.
70
- * @see {@link CreateDataSourceFromRedshiftCommandOutput} for command's `response` shape.
71
- * @see {@link MachineLearningClientResolvedConfig | config} for command's `input` shape.
72
- *
73
- */
74
- export class CreateDataSourceFromRedshiftCommand extends $Command<
75
- CreateDataSourceFromRedshiftCommandInput,
76
- CreateDataSourceFromRedshiftCommandOutput,
77
- MachineLearningClientResolvedConfig
78
- > {
79
- // Start section: command_properties
80
- // End section: command_properties
81
-
82
- constructor(readonly input: CreateDataSourceFromRedshiftCommandInput) {
83
- // Start section: command_constructor
84
- super();
85
- // End section: command_constructor
86
- }
87
-
88
- /**
89
- * @internal
90
- */
91
- resolveMiddleware(
92
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
93
- configuration: MachineLearningClientResolvedConfig,
94
- options?: __HttpHandlerOptions
95
- ): Handler<CreateDataSourceFromRedshiftCommandInput, CreateDataSourceFromRedshiftCommandOutput> {
96
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
97
-
98
- const stack = clientStack.concat(this.middlewareStack);
99
-
100
- const { logger } = configuration;
101
- const clientName = "MachineLearningClient";
102
- const commandName = "CreateDataSourceFromRedshiftCommand";
103
- const handlerExecutionContext: HandlerExecutionContext = {
104
- logger,
105
- clientName,
106
- commandName,
107
- inputFilterSensitiveLog: CreateDataSourceFromRedshiftInput.filterSensitiveLog,
108
- outputFilterSensitiveLog: CreateDataSourceFromRedshiftOutput.filterSensitiveLog,
109
- };
110
- const { requestHandler } = configuration;
111
- return stack.resolve(
112
- (request: FinalizeHandlerArguments<any>) =>
113
- requestHandler.handle(request.request as __HttpRequest, options || {}),
114
- handlerExecutionContext
115
- );
116
- }
117
-
118
- private serialize(input: CreateDataSourceFromRedshiftCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
119
- return serializeAws_json1_1CreateDataSourceFromRedshiftCommand(input, context);
120
- }
121
-
122
- private deserialize(
123
- output: __HttpResponse,
124
- context: __SerdeContext
125
- ): Promise<CreateDataSourceFromRedshiftCommandOutput> {
126
- return deserializeAws_json1_1CreateDataSourceFromRedshiftCommand(output, context);
127
- }
128
-
129
- // Start section: command_body_extra
130
- // End section: command_body_extra
131
- }
@@ -1,124 +0,0 @@
1
- import { MachineLearningClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MachineLearningClient";
2
- import { CreateDataSourceFromS3Input, CreateDataSourceFromS3Output } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1CreateDataSourceFromS3Command,
5
- serializeAws_json1_1CreateDataSourceFromS3Command,
6
- } from "../protocols/Aws_json1_1";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface CreateDataSourceFromS3CommandInput extends CreateDataSourceFromS3Input {}
21
- export interface CreateDataSourceFromS3CommandOutput extends CreateDataSourceFromS3Output, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Creates a <code>DataSource</code> object. A <code>DataSource</code> references data that
25
- * can be used to perform <code>CreateMLModel</code>, <code>CreateEvaluation</code>, or
26
- * <code>CreateBatchPrediction</code> operations.</p>
27
- *
28
- * <p>
29
- * <code>CreateDataSourceFromS3</code> is an asynchronous operation. In response to
30
- * <code>CreateDataSourceFromS3</code>, Amazon Machine Learning (Amazon ML) immediately
31
- * returns and sets the <code>DataSource</code> status to <code>PENDING</code>. After the
32
- * <code>DataSource</code> has been created and is ready for use, Amazon ML sets the
33
- * <code>Status</code> parameter to <code>COMPLETED</code>. <code>DataSource</code> in
34
- * the <code>COMPLETED</code> or <code>PENDING</code> state can be used to perform only
35
- * <code>CreateMLModel</code>, <code>CreateEvaluation</code> or
36
- * <code>CreateBatchPrediction</code> operations. </p>
37
- *
38
- * <p> If Amazon ML can't accept the input source, it sets the <code>Status</code> parameter to
39
- * <code>FAILED</code> and includes an error message in the <code>Message</code>
40
- * attribute of the <code>GetDataSource</code> operation response. </p>
41
- *
42
- * <p>The observation data used in a <code>DataSource</code> should be ready to use; that is,
43
- * it should have a consistent structure, and missing data values should be kept to a
44
- * minimum. The observation data must reside in one or more .csv files in an Amazon Simple
45
- * Storage Service (Amazon S3) location, along with a schema that describes the data items
46
- * by name and type. The same schema must be used for all of the data files referenced by
47
- * the <code>DataSource</code>. </p>
48
- * <p>After the <code>DataSource</code> has been created, it's ready to use in evaluations and
49
- * batch predictions. If you plan to use the <code>DataSource</code> to train an
50
- * <code>MLModel</code>, the <code>DataSource</code> also needs a recipe. A recipe
51
- * describes how each input variable will be used in training an <code>MLModel</code>. Will
52
- * the variable be included or excluded from training? Will the variable be manipulated;
53
- * for example, will it be combined with another variable or will it be split apart into
54
- * word combinations? The recipe provides answers to these questions.</p>
55
- * @example
56
- * Use a bare-bones client and the command you need to make an API call.
57
- * ```javascript
58
- * import { MachineLearningClient, CreateDataSourceFromS3Command } from "@aws-sdk/client-machine-learning"; // ES Modules import
59
- * // const { MachineLearningClient, CreateDataSourceFromS3Command } = require("@aws-sdk/client-machine-learning"); // CommonJS import
60
- * const client = new MachineLearningClient(config);
61
- * const command = new CreateDataSourceFromS3Command(input);
62
- * const response = await client.send(command);
63
- * ```
64
- *
65
- * @see {@link CreateDataSourceFromS3CommandInput} for command's `input` shape.
66
- * @see {@link CreateDataSourceFromS3CommandOutput} for command's `response` shape.
67
- * @see {@link MachineLearningClientResolvedConfig | config} for command's `input` shape.
68
- *
69
- */
70
- export class CreateDataSourceFromS3Command extends $Command<
71
- CreateDataSourceFromS3CommandInput,
72
- CreateDataSourceFromS3CommandOutput,
73
- MachineLearningClientResolvedConfig
74
- > {
75
- // Start section: command_properties
76
- // End section: command_properties
77
-
78
- constructor(readonly input: CreateDataSourceFromS3CommandInput) {
79
- // Start section: command_constructor
80
- super();
81
- // End section: command_constructor
82
- }
83
-
84
- /**
85
- * @internal
86
- */
87
- resolveMiddleware(
88
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
89
- configuration: MachineLearningClientResolvedConfig,
90
- options?: __HttpHandlerOptions
91
- ): Handler<CreateDataSourceFromS3CommandInput, CreateDataSourceFromS3CommandOutput> {
92
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
93
-
94
- const stack = clientStack.concat(this.middlewareStack);
95
-
96
- const { logger } = configuration;
97
- const clientName = "MachineLearningClient";
98
- const commandName = "CreateDataSourceFromS3Command";
99
- const handlerExecutionContext: HandlerExecutionContext = {
100
- logger,
101
- clientName,
102
- commandName,
103
- inputFilterSensitiveLog: CreateDataSourceFromS3Input.filterSensitiveLog,
104
- outputFilterSensitiveLog: CreateDataSourceFromS3Output.filterSensitiveLog,
105
- };
106
- const { requestHandler } = configuration;
107
- return stack.resolve(
108
- (request: FinalizeHandlerArguments<any>) =>
109
- requestHandler.handle(request.request as __HttpRequest, options || {}),
110
- handlerExecutionContext
111
- );
112
- }
113
-
114
- private serialize(input: CreateDataSourceFromS3CommandInput, context: __SerdeContext): Promise<__HttpRequest> {
115
- return serializeAws_json1_1CreateDataSourceFromS3Command(input, context);
116
- }
117
-
118
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateDataSourceFromS3CommandOutput> {
119
- return deserializeAws_json1_1CreateDataSourceFromS3Command(output, context);
120
- }
121
-
122
- // Start section: command_body_extra
123
- // End section: command_body_extra
124
- }
@@ -1,105 +0,0 @@
1
- import { MachineLearningClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MachineLearningClient";
2
- import { CreateEvaluationInput, CreateEvaluationOutput } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1CreateEvaluationCommand,
5
- serializeAws_json1_1CreateEvaluationCommand,
6
- } from "../protocols/Aws_json1_1";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface CreateEvaluationCommandInput extends CreateEvaluationInput {}
21
- export interface CreateEvaluationCommandOutput extends CreateEvaluationOutput, __MetadataBearer {}
22
-
23
- /**
24
- * <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>
25
- * 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
26
- * summary so that you know how effective the <code>MLModel</code> functions on the test
27
- * 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>.
28
- *
29
- * </p>
30
- * <p>
31
- * <code>CreateEvaluation</code> is an asynchronous operation. In response to <code>CreateEvaluation</code>, Amazon Machine Learning (Amazon ML) immediately
32
- * returns and sets the evaluation status to <code>PENDING</code>. After the <code>Evaluation</code> is created and ready for use,
33
- * Amazon ML sets the status to <code>COMPLETED</code>.
34
- * </p>
35
- * <p>You can use the <code>GetEvaluation</code> operation to check progress of the evaluation during the creation operation.</p>
36
- * @example
37
- * Use a bare-bones client and the command you need to make an API call.
38
- * ```javascript
39
- * import { MachineLearningClient, CreateEvaluationCommand } from "@aws-sdk/client-machine-learning"; // ES Modules import
40
- * // const { MachineLearningClient, CreateEvaluationCommand } = require("@aws-sdk/client-machine-learning"); // CommonJS import
41
- * const client = new MachineLearningClient(config);
42
- * const command = new CreateEvaluationCommand(input);
43
- * const response = await client.send(command);
44
- * ```
45
- *
46
- * @see {@link CreateEvaluationCommandInput} for command's `input` shape.
47
- * @see {@link CreateEvaluationCommandOutput} for command's `response` shape.
48
- * @see {@link MachineLearningClientResolvedConfig | config} for command's `input` shape.
49
- *
50
- */
51
- export class CreateEvaluationCommand extends $Command<
52
- CreateEvaluationCommandInput,
53
- CreateEvaluationCommandOutput,
54
- MachineLearningClientResolvedConfig
55
- > {
56
- // Start section: command_properties
57
- // End section: command_properties
58
-
59
- constructor(readonly input: CreateEvaluationCommandInput) {
60
- // Start section: command_constructor
61
- super();
62
- // End section: command_constructor
63
- }
64
-
65
- /**
66
- * @internal
67
- */
68
- resolveMiddleware(
69
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
70
- configuration: MachineLearningClientResolvedConfig,
71
- options?: __HttpHandlerOptions
72
- ): Handler<CreateEvaluationCommandInput, CreateEvaluationCommandOutput> {
73
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
74
-
75
- const stack = clientStack.concat(this.middlewareStack);
76
-
77
- const { logger } = configuration;
78
- const clientName = "MachineLearningClient";
79
- const commandName = "CreateEvaluationCommand";
80
- const handlerExecutionContext: HandlerExecutionContext = {
81
- logger,
82
- clientName,
83
- commandName,
84
- inputFilterSensitiveLog: CreateEvaluationInput.filterSensitiveLog,
85
- outputFilterSensitiveLog: CreateEvaluationOutput.filterSensitiveLog,
86
- };
87
- const { requestHandler } = configuration;
88
- return stack.resolve(
89
- (request: FinalizeHandlerArguments<any>) =>
90
- requestHandler.handle(request.request as __HttpRequest, options || {}),
91
- handlerExecutionContext
92
- );
93
- }
94
-
95
- private serialize(input: CreateEvaluationCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
96
- return serializeAws_json1_1CreateEvaluationCommand(input, context);
97
- }
98
-
99
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateEvaluationCommandOutput> {
100
- return deserializeAws_json1_1CreateEvaluationCommand(output, context);
101
- }
102
-
103
- // Start section: command_body_extra
104
- // End section: command_body_extra
105
- }
@@ -1,113 +0,0 @@
1
- import { MachineLearningClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MachineLearningClient";
2
- import { CreateMLModelInput, CreateMLModelOutput } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1CreateMLModelCommand,
5
- serializeAws_json1_1CreateMLModelCommand,
6
- } from "../protocols/Aws_json1_1";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface CreateMLModelCommandInput extends CreateMLModelInput {}
21
- export interface CreateMLModelCommandOutput extends CreateMLModelOutput, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Creates a new <code>MLModel</code> using the <code>DataSource</code> and the recipe as
25
- * information sources. </p>
26
- * <p>An <code>MLModel</code> is nearly immutable. Users can update only the
27
- * <code>MLModelName</code> and the <code>ScoreThreshold</code> in an
28
- * <code>MLModel</code> without creating a new <code>MLModel</code>. </p>
29
- * <p>
30
- * <code>CreateMLModel</code> is an asynchronous operation. In response to
31
- * <code>CreateMLModel</code>, Amazon Machine Learning (Amazon ML) immediately returns
32
- * and sets the <code>MLModel</code> status to <code>PENDING</code>. After the
33
- * <code>MLModel</code> has been created and ready is for use, Amazon ML sets the
34
- * status to <code>COMPLETED</code>. </p>
35
- * <p>You can use the <code>GetMLModel</code> operation to check the progress of the
36
- * <code>MLModel</code> during the creation operation.</p>
37
- *
38
- * <p>
39
- * <code>CreateMLModel</code> requires a <code>DataSource</code> with computed statistics,
40
- * which can be created by setting <code>ComputeStatistics</code> to <code>true</code> in
41
- * <code>CreateDataSourceFromRDS</code>, <code>CreateDataSourceFromS3</code>, or
42
- * <code>CreateDataSourceFromRedshift</code> operations.
43
- * </p>
44
- * @example
45
- * Use a bare-bones client and the command you need to make an API call.
46
- * ```javascript
47
- * import { MachineLearningClient, CreateMLModelCommand } from "@aws-sdk/client-machine-learning"; // ES Modules import
48
- * // const { MachineLearningClient, CreateMLModelCommand } = require("@aws-sdk/client-machine-learning"); // CommonJS import
49
- * const client = new MachineLearningClient(config);
50
- * const command = new CreateMLModelCommand(input);
51
- * const response = await client.send(command);
52
- * ```
53
- *
54
- * @see {@link CreateMLModelCommandInput} for command's `input` shape.
55
- * @see {@link CreateMLModelCommandOutput} for command's `response` shape.
56
- * @see {@link MachineLearningClientResolvedConfig | config} for command's `input` shape.
57
- *
58
- */
59
- export class CreateMLModelCommand extends $Command<
60
- CreateMLModelCommandInput,
61
- CreateMLModelCommandOutput,
62
- MachineLearningClientResolvedConfig
63
- > {
64
- // Start section: command_properties
65
- // End section: command_properties
66
-
67
- constructor(readonly input: CreateMLModelCommandInput) {
68
- // Start section: command_constructor
69
- super();
70
- // End section: command_constructor
71
- }
72
-
73
- /**
74
- * @internal
75
- */
76
- resolveMiddleware(
77
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
78
- configuration: MachineLearningClientResolvedConfig,
79
- options?: __HttpHandlerOptions
80
- ): Handler<CreateMLModelCommandInput, CreateMLModelCommandOutput> {
81
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
82
-
83
- const stack = clientStack.concat(this.middlewareStack);
84
-
85
- const { logger } = configuration;
86
- const clientName = "MachineLearningClient";
87
- const commandName = "CreateMLModelCommand";
88
- const handlerExecutionContext: HandlerExecutionContext = {
89
- logger,
90
- clientName,
91
- commandName,
92
- inputFilterSensitiveLog: CreateMLModelInput.filterSensitiveLog,
93
- outputFilterSensitiveLog: CreateMLModelOutput.filterSensitiveLog,
94
- };
95
- const { requestHandler } = configuration;
96
- return stack.resolve(
97
- (request: FinalizeHandlerArguments<any>) =>
98
- requestHandler.handle(request.request as __HttpRequest, options || {}),
99
- handlerExecutionContext
100
- );
101
- }
102
-
103
- private serialize(input: CreateMLModelCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
104
- return serializeAws_json1_1CreateMLModelCommand(input, context);
105
- }
106
-
107
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateMLModelCommandOutput> {
108
- return deserializeAws_json1_1CreateMLModelCommand(output, context);
109
- }
110
-
111
- // Start section: command_body_extra
112
- // End section: command_body_extra
113
- }
@@ -1,94 +0,0 @@
1
- import { MachineLearningClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MachineLearningClient";
2
- import { CreateRealtimeEndpointInput, CreateRealtimeEndpointOutput } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1CreateRealtimeEndpointCommand,
5
- serializeAws_json1_1CreateRealtimeEndpointCommand,
6
- } from "../protocols/Aws_json1_1";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface CreateRealtimeEndpointCommandInput extends CreateRealtimeEndpointInput {}
21
- export interface CreateRealtimeEndpointCommandOutput extends CreateRealtimeEndpointOutput, __MetadataBearer {}
22
-
23
- /**
24
- * <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>
25
- * @example
26
- * Use a bare-bones client and the command you need to make an API call.
27
- * ```javascript
28
- * import { MachineLearningClient, CreateRealtimeEndpointCommand } from "@aws-sdk/client-machine-learning"; // ES Modules import
29
- * // const { MachineLearningClient, CreateRealtimeEndpointCommand } = require("@aws-sdk/client-machine-learning"); // CommonJS import
30
- * const client = new MachineLearningClient(config);
31
- * const command = new CreateRealtimeEndpointCommand(input);
32
- * const response = await client.send(command);
33
- * ```
34
- *
35
- * @see {@link CreateRealtimeEndpointCommandInput} for command's `input` shape.
36
- * @see {@link CreateRealtimeEndpointCommandOutput} for command's `response` shape.
37
- * @see {@link MachineLearningClientResolvedConfig | config} for command's `input` shape.
38
- *
39
- */
40
- export class CreateRealtimeEndpointCommand extends $Command<
41
- CreateRealtimeEndpointCommandInput,
42
- CreateRealtimeEndpointCommandOutput,
43
- MachineLearningClientResolvedConfig
44
- > {
45
- // Start section: command_properties
46
- // End section: command_properties
47
-
48
- constructor(readonly input: CreateRealtimeEndpointCommandInput) {
49
- // Start section: command_constructor
50
- super();
51
- // End section: command_constructor
52
- }
53
-
54
- /**
55
- * @internal
56
- */
57
- resolveMiddleware(
58
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
59
- configuration: MachineLearningClientResolvedConfig,
60
- options?: __HttpHandlerOptions
61
- ): Handler<CreateRealtimeEndpointCommandInput, CreateRealtimeEndpointCommandOutput> {
62
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
63
-
64
- const stack = clientStack.concat(this.middlewareStack);
65
-
66
- const { logger } = configuration;
67
- const clientName = "MachineLearningClient";
68
- const commandName = "CreateRealtimeEndpointCommand";
69
- const handlerExecutionContext: HandlerExecutionContext = {
70
- logger,
71
- clientName,
72
- commandName,
73
- inputFilterSensitiveLog: CreateRealtimeEndpointInput.filterSensitiveLog,
74
- outputFilterSensitiveLog: CreateRealtimeEndpointOutput.filterSensitiveLog,
75
- };
76
- const { requestHandler } = configuration;
77
- return stack.resolve(
78
- (request: FinalizeHandlerArguments<any>) =>
79
- requestHandler.handle(request.request as __HttpRequest, options || {}),
80
- handlerExecutionContext
81
- );
82
- }
83
-
84
- private serialize(input: CreateRealtimeEndpointCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
85
- return serializeAws_json1_1CreateRealtimeEndpointCommand(input, context);
86
- }
87
-
88
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateRealtimeEndpointCommandOutput> {
89
- return deserializeAws_json1_1CreateRealtimeEndpointCommand(output, context);
90
- }
91
-
92
- // Start section: command_body_extra
93
- // End section: command_body_extra
94
- }
@@ -1,99 +0,0 @@
1
- import { MachineLearningClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MachineLearningClient";
2
- import { DeleteBatchPredictionInput, DeleteBatchPredictionOutput } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1DeleteBatchPredictionCommand,
5
- serializeAws_json1_1DeleteBatchPredictionCommand,
6
- } from "../protocols/Aws_json1_1";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface DeleteBatchPredictionCommandInput extends DeleteBatchPredictionInput {}
21
- export interface DeleteBatchPredictionCommandOutput extends DeleteBatchPredictionOutput, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Assigns the DELETED status to a <code>BatchPrediction</code>, rendering it unusable.</p>
25
- * <p>After using the <code>DeleteBatchPrediction</code> operation, you can use the <a>GetBatchPrediction</a>
26
- * operation to verify that the status of the <code>BatchPrediction</code> changed to DELETED.</p>
27
- *
28
- * <p>
29
- * <b>Caution:</b> The result of the <code>DeleteBatchPrediction</code> operation is irreversible.</p>
30
- * @example
31
- * Use a bare-bones client and the command you need to make an API call.
32
- * ```javascript
33
- * import { MachineLearningClient, DeleteBatchPredictionCommand } from "@aws-sdk/client-machine-learning"; // ES Modules import
34
- * // const { MachineLearningClient, DeleteBatchPredictionCommand } = require("@aws-sdk/client-machine-learning"); // CommonJS import
35
- * const client = new MachineLearningClient(config);
36
- * const command = new DeleteBatchPredictionCommand(input);
37
- * const response = await client.send(command);
38
- * ```
39
- *
40
- * @see {@link DeleteBatchPredictionCommandInput} for command's `input` shape.
41
- * @see {@link DeleteBatchPredictionCommandOutput} for command's `response` shape.
42
- * @see {@link MachineLearningClientResolvedConfig | config} for command's `input` shape.
43
- *
44
- */
45
- export class DeleteBatchPredictionCommand extends $Command<
46
- DeleteBatchPredictionCommandInput,
47
- DeleteBatchPredictionCommandOutput,
48
- MachineLearningClientResolvedConfig
49
- > {
50
- // Start section: command_properties
51
- // End section: command_properties
52
-
53
- constructor(readonly input: DeleteBatchPredictionCommandInput) {
54
- // Start section: command_constructor
55
- super();
56
- // End section: command_constructor
57
- }
58
-
59
- /**
60
- * @internal
61
- */
62
- resolveMiddleware(
63
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
64
- configuration: MachineLearningClientResolvedConfig,
65
- options?: __HttpHandlerOptions
66
- ): Handler<DeleteBatchPredictionCommandInput, DeleteBatchPredictionCommandOutput> {
67
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
68
-
69
- const stack = clientStack.concat(this.middlewareStack);
70
-
71
- const { logger } = configuration;
72
- const clientName = "MachineLearningClient";
73
- const commandName = "DeleteBatchPredictionCommand";
74
- const handlerExecutionContext: HandlerExecutionContext = {
75
- logger,
76
- clientName,
77
- commandName,
78
- inputFilterSensitiveLog: DeleteBatchPredictionInput.filterSensitiveLog,
79
- outputFilterSensitiveLog: DeleteBatchPredictionOutput.filterSensitiveLog,
80
- };
81
- const { requestHandler } = configuration;
82
- return stack.resolve(
83
- (request: FinalizeHandlerArguments<any>) =>
84
- requestHandler.handle(request.request as __HttpRequest, options || {}),
85
- handlerExecutionContext
86
- );
87
- }
88
-
89
- private serialize(input: DeleteBatchPredictionCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
90
- return serializeAws_json1_1DeleteBatchPredictionCommand(input, context);
91
- }
92
-
93
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteBatchPredictionCommandOutput> {
94
- return deserializeAws_json1_1DeleteBatchPredictionCommand(output, context);
95
- }
96
-
97
- // Start section: command_body_extra
98
- // End section: command_body_extra
99
- }