@aws-sdk/client-machine-learning 3.32.0 → 3.36.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 (350) hide show
  1. package/CHANGELOG.md +44 -0
  2. package/{dist/cjs → dist-cjs}/MachineLearning.js +1 -2
  3. package/{dist/cjs → dist-cjs}/MachineLearningClient.js +8 -9
  4. package/{dist/cjs → dist-cjs}/commands/AddTagsCommand.js +2 -3
  5. package/{dist/cjs → dist-cjs}/commands/CreateBatchPredictionCommand.js +2 -3
  6. package/{dist/cjs → dist-cjs}/commands/CreateDataSourceFromRDSCommand.js +2 -3
  7. package/{dist/cjs → dist-cjs}/commands/CreateDataSourceFromRedshiftCommand.js +2 -3
  8. package/{dist/cjs → dist-cjs}/commands/CreateDataSourceFromS3Command.js +2 -3
  9. package/{dist/cjs → dist-cjs}/commands/CreateEvaluationCommand.js +2 -3
  10. package/{dist/cjs → dist-cjs}/commands/CreateMLModelCommand.js +2 -3
  11. package/{dist/cjs → dist-cjs}/commands/CreateRealtimeEndpointCommand.js +2 -3
  12. package/{dist/cjs → dist-cjs}/commands/DeleteBatchPredictionCommand.js +2 -3
  13. package/{dist/cjs → dist-cjs}/commands/DeleteDataSourceCommand.js +2 -3
  14. package/{dist/cjs → dist-cjs}/commands/DeleteEvaluationCommand.js +2 -3
  15. package/{dist/cjs → dist-cjs}/commands/DeleteMLModelCommand.js +2 -3
  16. package/{dist/cjs → dist-cjs}/commands/DeleteRealtimeEndpointCommand.js +2 -3
  17. package/{dist/cjs → dist-cjs}/commands/DeleteTagsCommand.js +2 -3
  18. package/{dist/cjs → dist-cjs}/commands/DescribeBatchPredictionsCommand.js +2 -3
  19. package/{dist/cjs → dist-cjs}/commands/DescribeDataSourcesCommand.js +2 -3
  20. package/{dist/cjs → dist-cjs}/commands/DescribeEvaluationsCommand.js +2 -3
  21. package/{dist/cjs → dist-cjs}/commands/DescribeMLModelsCommand.js +2 -3
  22. package/{dist/cjs → dist-cjs}/commands/DescribeTagsCommand.js +2 -3
  23. package/{dist/cjs → dist-cjs}/commands/GetBatchPredictionCommand.js +2 -3
  24. package/{dist/cjs → dist-cjs}/commands/GetDataSourceCommand.js +2 -3
  25. package/{dist/cjs → dist-cjs}/commands/GetEvaluationCommand.js +2 -3
  26. package/{dist/cjs → dist-cjs}/commands/GetMLModelCommand.js +2 -3
  27. package/{dist/cjs → dist-cjs}/commands/PredictCommand.js +2 -3
  28. package/{dist/cjs → dist-cjs}/commands/UpdateBatchPredictionCommand.js +2 -3
  29. package/{dist/cjs → dist-cjs}/commands/UpdateDataSourceCommand.js +2 -3
  30. package/{dist/cjs → dist-cjs}/commands/UpdateEvaluationCommand.js +2 -3
  31. package/{dist/cjs → dist-cjs}/commands/UpdateMLModelCommand.js +2 -3
  32. package/{dist/cjs → dist-cjs}/endpoints.js +0 -1
  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 -1
  36. package/{dist/cjs → dist-cjs}/pagination/DescribeBatchPredictionsPaginator.js +1 -2
  37. package/{dist/cjs → dist-cjs}/pagination/DescribeDataSourcesPaginator.js +1 -2
  38. package/{dist/cjs → dist-cjs}/pagination/DescribeEvaluationsPaginator.js +1 -2
  39. package/{dist/cjs → dist-cjs}/pagination/DescribeMLModelsPaginator.js +1 -2
  40. package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -1
  41. package/{dist/cjs → dist-cjs}/protocols/Aws_json1_1.js +0 -1
  42. package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +2 -2
  43. package/{dist/cjs → dist-cjs}/runtimeConfig.js +2 -2
  44. package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -1
  45. package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -2
  46. package/{dist/cjs → dist-cjs}/waiters/waitForBatchPredictionAvailable.js +10 -11
  47. package/{dist/cjs → dist-cjs}/waiters/waitForDataSourceAvailable.js +10 -11
  48. package/{dist/cjs → dist-cjs}/waiters/waitForEvaluationAvailable.js +10 -11
  49. package/{dist/cjs → dist-cjs}/waiters/waitForMLModelAvailable.js +10 -11
  50. package/{dist/es → dist-es}/MachineLearning.js +2 -7
  51. package/{dist/es → dist-es}/MachineLearningClient.js +2 -12
  52. package/{dist/es → dist-es}/commands/AddTagsCommand.js +4 -32
  53. package/dist-es/commands/CreateBatchPredictionCommand.js +39 -0
  54. package/dist-es/commands/CreateDataSourceFromRDSCommand.js +39 -0
  55. package/dist-es/commands/CreateDataSourceFromRedshiftCommand.js +39 -0
  56. package/dist-es/commands/CreateDataSourceFromS3Command.js +39 -0
  57. package/dist-es/commands/CreateEvaluationCommand.js +39 -0
  58. package/dist-es/commands/CreateMLModelCommand.js +39 -0
  59. package/{dist/es → dist-es}/commands/CreateRealtimeEndpointCommand.js +4 -30
  60. package/{dist/es → dist-es}/commands/DeleteBatchPredictionCommand.js +4 -35
  61. package/{dist/es → dist-es}/commands/DeleteDataSourceCommand.js +4 -33
  62. package/{dist/es → dist-es}/commands/DeleteEvaluationCommand.js +4 -35
  63. package/{dist/es → dist-es}/commands/DeleteMLModelCommand.js +4 -35
  64. package/{dist/es → dist-es}/commands/DeleteRealtimeEndpointCommand.js +4 -30
  65. package/{dist/es → dist-es}/commands/DeleteTagsCommand.js +4 -31
  66. package/{dist/es → dist-es}/commands/DescribeBatchPredictionsCommand.js +4 -30
  67. package/{dist/es → dist-es}/commands/DescribeDataSourcesCommand.js +4 -30
  68. package/{dist/es → dist-es}/commands/DescribeEvaluationsCommand.js +4 -30
  69. package/{dist/es → dist-es}/commands/DescribeMLModelsCommand.js +4 -30
  70. package/{dist/es → dist-es}/commands/DescribeTagsCommand.js +4 -30
  71. package/{dist/es → dist-es}/commands/GetBatchPredictionCommand.js +4 -31
  72. package/{dist/es → dist-es}/commands/GetDataSourceCommand.js +4 -33
  73. package/{dist/es → dist-es}/commands/GetEvaluationCommand.js +4 -30
  74. package/{dist/es → dist-es}/commands/GetMLModelCommand.js +4 -32
  75. package/{dist/es → dist-es}/commands/PredictCommand.js +4 -33
  76. package/{dist/es → dist-es}/commands/UpdateBatchPredictionCommand.js +4 -31
  77. package/{dist/es → dist-es}/commands/UpdateDataSourceCommand.js +4 -31
  78. package/{dist/es → dist-es}/commands/UpdateEvaluationCommand.js +4 -31
  79. package/{dist/es → dist-es}/commands/UpdateMLModelCommand.js +4 -31
  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 -244
  84. package/{dist/es → dist-es}/pagination/DescribeBatchPredictionsPaginator.js +17 -30
  85. package/{dist/es → dist-es}/pagination/DescribeDataSourcesPaginator.js +17 -30
  86. package/{dist/es → dist-es}/pagination/DescribeEvaluationsPaginator.js +17 -30
  87. package/{dist/es → dist-es}/pagination/DescribeMLModelsPaginator.js +17 -30
  88. package/dist-es/pagination/Interfaces.js +1 -0
  89. package/{dist/es → dist-es}/protocols/Aws_json1_1.js +546 -552
  90. package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -5
  91. package/{dist/es → dist-es}/runtimeConfig.js +1 -5
  92. package/{dist/es → dist-es}/runtimeConfig.native.js +0 -4
  93. package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -5
  94. package/{dist/es → dist-es}/waiters/waitForBatchPredictionAvailable.js +10 -20
  95. package/{dist/es → dist-es}/waiters/waitForDataSourceAvailable.js +10 -20
  96. package/{dist/es → dist-es}/waiters/waitForEvaluationAvailable.js +10 -20
  97. package/{dist/es → dist-es}/waiters/waitForMLModelAvailable.js +10 -20
  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 +1 -0
  139. package/{dist/types → dist-types}/runtimeConfig.d.ts +2 -1
  140. package/{dist/types/ts3.4 → dist-types}/runtimeConfig.native.d.ts +36 -35
  141. package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
  142. package/{dist/types → dist-types}/ts3.4/MachineLearning.d.ts +2 -2
  143. package/{dist/types → dist-types}/ts3.4/MachineLearningClient.d.ts +8 -8
  144. package/{dist/types → dist-types}/ts3.4/commands/AddTagsCommand.d.ts +2 -2
  145. package/{dist/types → dist-types}/ts3.4/commands/CreateBatchPredictionCommand.d.ts +2 -2
  146. package/{dist/types → dist-types}/ts3.4/commands/CreateDataSourceFromRDSCommand.d.ts +2 -2
  147. package/{dist/types → dist-types}/ts3.4/commands/CreateDataSourceFromRedshiftCommand.d.ts +2 -2
  148. package/{dist/types → dist-types}/ts3.4/commands/CreateDataSourceFromS3Command.d.ts +2 -2
  149. package/{dist/types → dist-types}/ts3.4/commands/CreateEvaluationCommand.d.ts +2 -2
  150. package/{dist/types → dist-types}/ts3.4/commands/CreateMLModelCommand.d.ts +2 -2
  151. package/{dist/types → dist-types}/ts3.4/commands/CreateRealtimeEndpointCommand.d.ts +2 -2
  152. package/{dist/types → dist-types}/ts3.4/commands/DeleteBatchPredictionCommand.d.ts +2 -2
  153. package/{dist/types → dist-types}/ts3.4/commands/DeleteDataSourceCommand.d.ts +2 -2
  154. package/{dist/types → dist-types}/ts3.4/commands/DeleteEvaluationCommand.d.ts +2 -2
  155. package/{dist/types → dist-types}/ts3.4/commands/DeleteMLModelCommand.d.ts +2 -2
  156. package/{dist/types → dist-types}/ts3.4/commands/DeleteRealtimeEndpointCommand.d.ts +2 -2
  157. package/{dist/types → dist-types}/ts3.4/commands/DeleteTagsCommand.d.ts +2 -2
  158. package/{dist/types → dist-types}/ts3.4/commands/DescribeBatchPredictionsCommand.d.ts +2 -2
  159. package/{dist/types → dist-types}/ts3.4/commands/DescribeDataSourcesCommand.d.ts +2 -2
  160. package/{dist/types → dist-types}/ts3.4/commands/DescribeEvaluationsCommand.d.ts +2 -2
  161. package/{dist/types → dist-types}/ts3.4/commands/DescribeMLModelsCommand.d.ts +2 -2
  162. package/{dist/types → dist-types}/ts3.4/commands/DescribeTagsCommand.d.ts +2 -2
  163. package/{dist/types → dist-types}/ts3.4/commands/GetBatchPredictionCommand.d.ts +2 -2
  164. package/{dist/types → dist-types}/ts3.4/commands/GetDataSourceCommand.d.ts +2 -2
  165. package/{dist/types → dist-types}/ts3.4/commands/GetEvaluationCommand.d.ts +2 -2
  166. package/{dist/types → dist-types}/ts3.4/commands/GetMLModelCommand.d.ts +2 -2
  167. package/{dist/types → dist-types}/ts3.4/commands/PredictCommand.d.ts +2 -2
  168. package/{dist/types → dist-types}/ts3.4/commands/UpdateBatchPredictionCommand.d.ts +2 -2
  169. package/{dist/types → dist-types}/ts3.4/commands/UpdateDataSourceCommand.d.ts +2 -2
  170. package/{dist/types → dist-types}/ts3.4/commands/UpdateEvaluationCommand.d.ts +2 -2
  171. package/{dist/types → dist-types}/ts3.4/commands/UpdateMLModelCommand.d.ts +2 -2
  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 → dist-types}/ts3.4/models/models_0.d.ts +0 -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 -0
  183. package/{dist/types → dist-types}/ts3.4/runtimeConfig.d.ts +2 -1
  184. package/{dist/types → dist-types/ts3.4}/runtimeConfig.native.d.ts +36 -35
  185. package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +0 -0
  186. package/{dist/types → dist-types}/ts3.4/waiters/waitForBatchPredictionAvailable.d.ts +2 -2
  187. package/{dist/types → dist-types}/ts3.4/waiters/waitForDataSourceAvailable.d.ts +2 -2
  188. package/{dist/types → dist-types}/ts3.4/waiters/waitForEvaluationAvailable.d.ts +2 -2
  189. package/{dist/types → dist-types}/ts3.4/waiters/waitForMLModelAvailable.d.ts +2 -2
  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 +54 -51
  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.map +0 -1
  229. package/dist/cjs/commands/CreateDataSourceFromRDSCommand.js.map +0 -1
  230. package/dist/cjs/commands/CreateDataSourceFromRedshiftCommand.js.map +0 -1
  231. package/dist/cjs/commands/CreateDataSourceFromS3Command.js.map +0 -1
  232. package/dist/cjs/commands/CreateEvaluationCommand.js.map +0 -1
  233. package/dist/cjs/commands/CreateMLModelCommand.js.map +0 -1
  234. package/dist/cjs/commands/CreateRealtimeEndpointCommand.js.map +0 -1
  235. package/dist/cjs/commands/DeleteBatchPredictionCommand.js.map +0 -1
  236. package/dist/cjs/commands/DeleteDataSourceCommand.js.map +0 -1
  237. package/dist/cjs/commands/DeleteEvaluationCommand.js.map +0 -1
  238. package/dist/cjs/commands/DeleteMLModelCommand.js.map +0 -1
  239. package/dist/cjs/commands/DeleteRealtimeEndpointCommand.js.map +0 -1
  240. package/dist/cjs/commands/DeleteTagsCommand.js.map +0 -1
  241. package/dist/cjs/commands/DescribeBatchPredictionsCommand.js.map +0 -1
  242. package/dist/cjs/commands/DescribeDataSourcesCommand.js.map +0 -1
  243. package/dist/cjs/commands/DescribeEvaluationsCommand.js.map +0 -1
  244. package/dist/cjs/commands/DescribeMLModelsCommand.js.map +0 -1
  245. package/dist/cjs/commands/DescribeTagsCommand.js.map +0 -1
  246. package/dist/cjs/commands/GetBatchPredictionCommand.js.map +0 -1
  247. package/dist/cjs/commands/GetDataSourceCommand.js.map +0 -1
  248. package/dist/cjs/commands/GetEvaluationCommand.js.map +0 -1
  249. package/dist/cjs/commands/GetMLModelCommand.js.map +0 -1
  250. package/dist/cjs/commands/PredictCommand.js.map +0 -1
  251. package/dist/cjs/commands/UpdateBatchPredictionCommand.js.map +0 -1
  252. package/dist/cjs/commands/UpdateDataSourceCommand.js.map +0 -1
  253. package/dist/cjs/commands/UpdateEvaluationCommand.js.map +0 -1
  254. package/dist/cjs/commands/UpdateMLModelCommand.js.map +0 -1
  255. package/dist/cjs/endpoints.js.map +0 -1
  256. package/dist/cjs/index.js.map +0 -1
  257. package/dist/cjs/models/index.js.map +0 -1
  258. package/dist/cjs/models/models_0.js.map +0 -1
  259. package/dist/cjs/package.json +0 -93
  260. package/dist/cjs/pagination/DescribeBatchPredictionsPaginator.js.map +0 -1
  261. package/dist/cjs/pagination/DescribeDataSourcesPaginator.js.map +0 -1
  262. package/dist/cjs/pagination/DescribeEvaluationsPaginator.js.map +0 -1
  263. package/dist/cjs/pagination/DescribeMLModelsPaginator.js.map +0 -1
  264. package/dist/cjs/pagination/Interfaces.js.map +0 -1
  265. package/dist/cjs/protocols/Aws_json1_1.js.map +0 -1
  266. package/dist/cjs/runtimeConfig.browser.js.map +0 -1
  267. package/dist/cjs/runtimeConfig.js.map +0 -1
  268. package/dist/cjs/runtimeConfig.native.js.map +0 -1
  269. package/dist/cjs/runtimeConfig.shared.js.map +0 -1
  270. package/dist/cjs/waiters/waitForBatchPredictionAvailable.js.map +0 -1
  271. package/dist/cjs/waiters/waitForDataSourceAvailable.js.map +0 -1
  272. package/dist/cjs/waiters/waitForEvaluationAvailable.js.map +0 -1
  273. package/dist/cjs/waiters/waitForMLModelAvailable.js.map +0 -1
  274. package/dist/es/MachineLearning.js.map +0 -1
  275. package/dist/es/MachineLearningClient.js.map +0 -1
  276. package/dist/es/commands/AddTagsCommand.js.map +0 -1
  277. package/dist/es/commands/CreateBatchPredictionCommand.js +0 -76
  278. package/dist/es/commands/CreateBatchPredictionCommand.js.map +0 -1
  279. package/dist/es/commands/CreateDataSourceFromRDSCommand.js +0 -76
  280. package/dist/es/commands/CreateDataSourceFromRDSCommand.js.map +0 -1
  281. package/dist/es/commands/CreateDataSourceFromRedshiftCommand.js +0 -97
  282. package/dist/es/commands/CreateDataSourceFromRedshiftCommand.js.map +0 -1
  283. package/dist/es/commands/CreateDataSourceFromS3Command.js +0 -95
  284. package/dist/es/commands/CreateDataSourceFromS3Command.js.map +0 -1
  285. package/dist/es/commands/CreateEvaluationCommand.js +0 -76
  286. package/dist/es/commands/CreateEvaluationCommand.js.map +0 -1
  287. package/dist/es/commands/CreateMLModelCommand.js +0 -84
  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/endpoints.ts +0 -57
  333. package/jest.config.js +0 -4
  334. package/models/models_0.ts +0 -4066
  335. package/pagination/DescribeBatchPredictionsPaginator.ts +0 -58
  336. package/pagination/DescribeDataSourcesPaginator.ts +0 -58
  337. package/pagination/DescribeEvaluationsPaginator.ts +0 -58
  338. package/pagination/DescribeMLModelsPaginator.ts +0 -58
  339. package/pagination/Interfaces.ts +0 -7
  340. package/protocols/Aws_json1_1.ts +0 -3957
  341. package/runtimeConfig.browser.ts +0 -40
  342. package/runtimeConfig.native.ts +0 -16
  343. package/runtimeConfig.shared.ts +0 -16
  344. package/runtimeConfig.ts +0 -45
  345. package/tsconfig.es.json +0 -12
  346. package/tsconfig.json +0 -32
  347. package/waiters/waitForBatchPredictionAvailable.ts +0 -74
  348. package/waiters/waitForDataSourceAvailable.ts +0 -71
  349. package/waiters/waitForEvaluationAvailable.ts +0 -71
  350. package/waiters/waitForMLModelAvailable.ts +0 -71
@@ -1,94 +0,0 @@
1
- import { MachineLearningClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MachineLearningClient";
2
- import { DescribeEvaluationsInput, DescribeEvaluationsOutput } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1DescribeEvaluationsCommand,
5
- serializeAws_json1_1DescribeEvaluationsCommand,
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 DescribeEvaluationsCommandInput extends DescribeEvaluationsInput {}
21
- export interface DescribeEvaluationsCommandOutput extends DescribeEvaluationsOutput, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Returns a list of <code>DescribeEvaluations</code> that match the search criteria in the request.</p>
25
- * @example
26
- * Use a bare-bones client and the command you need to make an API call.
27
- * ```javascript
28
- * import { MachineLearningClient, DescribeEvaluationsCommand } from "@aws-sdk/client-machine-learning"; // ES Modules import
29
- * // const { MachineLearningClient, DescribeEvaluationsCommand } = require("@aws-sdk/client-machine-learning"); // CommonJS import
30
- * const client = new MachineLearningClient(config);
31
- * const command = new DescribeEvaluationsCommand(input);
32
- * const response = await client.send(command);
33
- * ```
34
- *
35
- * @see {@link DescribeEvaluationsCommandInput} for command's `input` shape.
36
- * @see {@link DescribeEvaluationsCommandOutput} for command's `response` shape.
37
- * @see {@link MachineLearningClientResolvedConfig | config} for command's `input` shape.
38
- *
39
- */
40
- export class DescribeEvaluationsCommand extends $Command<
41
- DescribeEvaluationsCommandInput,
42
- DescribeEvaluationsCommandOutput,
43
- MachineLearningClientResolvedConfig
44
- > {
45
- // Start section: command_properties
46
- // End section: command_properties
47
-
48
- constructor(readonly input: DescribeEvaluationsCommandInput) {
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<DescribeEvaluationsCommandInput, DescribeEvaluationsCommandOutput> {
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 = "DescribeEvaluationsCommand";
69
- const handlerExecutionContext: HandlerExecutionContext = {
70
- logger,
71
- clientName,
72
- commandName,
73
- inputFilterSensitiveLog: DescribeEvaluationsInput.filterSensitiveLog,
74
- outputFilterSensitiveLog: DescribeEvaluationsOutput.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: DescribeEvaluationsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
85
- return serializeAws_json1_1DescribeEvaluationsCommand(input, context);
86
- }
87
-
88
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DescribeEvaluationsCommandOutput> {
89
- return deserializeAws_json1_1DescribeEvaluationsCommand(output, context);
90
- }
91
-
92
- // Start section: command_body_extra
93
- // End section: command_body_extra
94
- }
@@ -1,94 +0,0 @@
1
- import { MachineLearningClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MachineLearningClient";
2
- import { DescribeMLModelsInput, DescribeMLModelsOutput } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1DescribeMLModelsCommand,
5
- serializeAws_json1_1DescribeMLModelsCommand,
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 DescribeMLModelsCommandInput extends DescribeMLModelsInput {}
21
- export interface DescribeMLModelsCommandOutput extends DescribeMLModelsOutput, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Returns a list of <code>MLModel</code> that match the search criteria in the request.</p>
25
- * @example
26
- * Use a bare-bones client and the command you need to make an API call.
27
- * ```javascript
28
- * import { MachineLearningClient, DescribeMLModelsCommand } from "@aws-sdk/client-machine-learning"; // ES Modules import
29
- * // const { MachineLearningClient, DescribeMLModelsCommand } = require("@aws-sdk/client-machine-learning"); // CommonJS import
30
- * const client = new MachineLearningClient(config);
31
- * const command = new DescribeMLModelsCommand(input);
32
- * const response = await client.send(command);
33
- * ```
34
- *
35
- * @see {@link DescribeMLModelsCommandInput} for command's `input` shape.
36
- * @see {@link DescribeMLModelsCommandOutput} for command's `response` shape.
37
- * @see {@link MachineLearningClientResolvedConfig | config} for command's `input` shape.
38
- *
39
- */
40
- export class DescribeMLModelsCommand extends $Command<
41
- DescribeMLModelsCommandInput,
42
- DescribeMLModelsCommandOutput,
43
- MachineLearningClientResolvedConfig
44
- > {
45
- // Start section: command_properties
46
- // End section: command_properties
47
-
48
- constructor(readonly input: DescribeMLModelsCommandInput) {
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<DescribeMLModelsCommandInput, DescribeMLModelsCommandOutput> {
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 = "DescribeMLModelsCommand";
69
- const handlerExecutionContext: HandlerExecutionContext = {
70
- logger,
71
- clientName,
72
- commandName,
73
- inputFilterSensitiveLog: DescribeMLModelsInput.filterSensitiveLog,
74
- outputFilterSensitiveLog: DescribeMLModelsOutput.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: DescribeMLModelsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
85
- return serializeAws_json1_1DescribeMLModelsCommand(input, context);
86
- }
87
-
88
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DescribeMLModelsCommandOutput> {
89
- return deserializeAws_json1_1DescribeMLModelsCommand(output, context);
90
- }
91
-
92
- // Start section: command_body_extra
93
- // End section: command_body_extra
94
- }
@@ -1,94 +0,0 @@
1
- import { MachineLearningClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MachineLearningClient";
2
- import { DescribeTagsInput, DescribeTagsOutput } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1DescribeTagsCommand,
5
- serializeAws_json1_1DescribeTagsCommand,
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 DescribeTagsCommandInput extends DescribeTagsInput {}
21
- export interface DescribeTagsCommandOutput extends DescribeTagsOutput, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Describes one or more of the tags for your Amazon ML object.</p>
25
- * @example
26
- * Use a bare-bones client and the command you need to make an API call.
27
- * ```javascript
28
- * import { MachineLearningClient, DescribeTagsCommand } from "@aws-sdk/client-machine-learning"; // ES Modules import
29
- * // const { MachineLearningClient, DescribeTagsCommand } = require("@aws-sdk/client-machine-learning"); // CommonJS import
30
- * const client = new MachineLearningClient(config);
31
- * const command = new DescribeTagsCommand(input);
32
- * const response = await client.send(command);
33
- * ```
34
- *
35
- * @see {@link DescribeTagsCommandInput} for command's `input` shape.
36
- * @see {@link DescribeTagsCommandOutput} for command's `response` shape.
37
- * @see {@link MachineLearningClientResolvedConfig | config} for command's `input` shape.
38
- *
39
- */
40
- export class DescribeTagsCommand extends $Command<
41
- DescribeTagsCommandInput,
42
- DescribeTagsCommandOutput,
43
- MachineLearningClientResolvedConfig
44
- > {
45
- // Start section: command_properties
46
- // End section: command_properties
47
-
48
- constructor(readonly input: DescribeTagsCommandInput) {
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<DescribeTagsCommandInput, DescribeTagsCommandOutput> {
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 = "DescribeTagsCommand";
69
- const handlerExecutionContext: HandlerExecutionContext = {
70
- logger,
71
- clientName,
72
- commandName,
73
- inputFilterSensitiveLog: DescribeTagsInput.filterSensitiveLog,
74
- outputFilterSensitiveLog: DescribeTagsOutput.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: DescribeTagsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
85
- return serializeAws_json1_1DescribeTagsCommand(input, context);
86
- }
87
-
88
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DescribeTagsCommandOutput> {
89
- return deserializeAws_json1_1DescribeTagsCommand(output, context);
90
- }
91
-
92
- // Start section: command_body_extra
93
- // End section: command_body_extra
94
- }
@@ -1,95 +0,0 @@
1
- import { MachineLearningClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MachineLearningClient";
2
- import { GetBatchPredictionInput, GetBatchPredictionOutput } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1GetBatchPredictionCommand,
5
- serializeAws_json1_1GetBatchPredictionCommand,
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 GetBatchPredictionCommandInput extends GetBatchPredictionInput {}
21
- export interface GetBatchPredictionCommandOutput extends GetBatchPredictionOutput, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Returns a <code>BatchPrediction</code> that includes detailed metadata, status, and data file information for a
25
- * <code>Batch Prediction</code> request.</p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { MachineLearningClient, GetBatchPredictionCommand } from "@aws-sdk/client-machine-learning"; // ES Modules import
30
- * // const { MachineLearningClient, GetBatchPredictionCommand } = require("@aws-sdk/client-machine-learning"); // CommonJS import
31
- * const client = new MachineLearningClient(config);
32
- * const command = new GetBatchPredictionCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link GetBatchPredictionCommandInput} for command's `input` shape.
37
- * @see {@link GetBatchPredictionCommandOutput} for command's `response` shape.
38
- * @see {@link MachineLearningClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class GetBatchPredictionCommand extends $Command<
42
- GetBatchPredictionCommandInput,
43
- GetBatchPredictionCommandOutput,
44
- MachineLearningClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: GetBatchPredictionCommandInput) {
50
- // Start section: command_constructor
51
- super();
52
- // End section: command_constructor
53
- }
54
-
55
- /**
56
- * @internal
57
- */
58
- resolveMiddleware(
59
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
60
- configuration: MachineLearningClientResolvedConfig,
61
- options?: __HttpHandlerOptions
62
- ): Handler<GetBatchPredictionCommandInput, GetBatchPredictionCommandOutput> {
63
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
64
-
65
- const stack = clientStack.concat(this.middlewareStack);
66
-
67
- const { logger } = configuration;
68
- const clientName = "MachineLearningClient";
69
- const commandName = "GetBatchPredictionCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: GetBatchPredictionInput.filterSensitiveLog,
75
- outputFilterSensitiveLog: GetBatchPredictionOutput.filterSensitiveLog,
76
- };
77
- const { requestHandler } = configuration;
78
- return stack.resolve(
79
- (request: FinalizeHandlerArguments<any>) =>
80
- requestHandler.handle(request.request as __HttpRequest, options || {}),
81
- handlerExecutionContext
82
- );
83
- }
84
-
85
- private serialize(input: GetBatchPredictionCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_json1_1GetBatchPredictionCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetBatchPredictionCommandOutput> {
90
- return deserializeAws_json1_1GetBatchPredictionCommand(output, context);
91
- }
92
-
93
- // Start section: command_body_extra
94
- // End section: command_body_extra
95
- }
@@ -1,97 +0,0 @@
1
- import { MachineLearningClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MachineLearningClient";
2
- import { GetDataSourceInput, GetDataSourceOutput } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1GetDataSourceCommand,
5
- serializeAws_json1_1GetDataSourceCommand,
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 GetDataSourceCommandInput extends GetDataSourceInput {}
21
- export interface GetDataSourceCommandOutput extends GetDataSourceOutput, __MetadataBearer {}
22
-
23
- /**
24
- * <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>
25
- * <p>
26
- * <code>GetDataSource</code> provides results in normal or verbose format. The verbose format
27
- * adds the schema description and the list of files pointed to by the DataSource to the normal format.</p>
28
- * @example
29
- * Use a bare-bones client and the command you need to make an API call.
30
- * ```javascript
31
- * import { MachineLearningClient, GetDataSourceCommand } from "@aws-sdk/client-machine-learning"; // ES Modules import
32
- * // const { MachineLearningClient, GetDataSourceCommand } = require("@aws-sdk/client-machine-learning"); // CommonJS import
33
- * const client = new MachineLearningClient(config);
34
- * const command = new GetDataSourceCommand(input);
35
- * const response = await client.send(command);
36
- * ```
37
- *
38
- * @see {@link GetDataSourceCommandInput} for command's `input` shape.
39
- * @see {@link GetDataSourceCommandOutput} for command's `response` shape.
40
- * @see {@link MachineLearningClientResolvedConfig | config} for command's `input` shape.
41
- *
42
- */
43
- export class GetDataSourceCommand extends $Command<
44
- GetDataSourceCommandInput,
45
- GetDataSourceCommandOutput,
46
- MachineLearningClientResolvedConfig
47
- > {
48
- // Start section: command_properties
49
- // End section: command_properties
50
-
51
- constructor(readonly input: GetDataSourceCommandInput) {
52
- // Start section: command_constructor
53
- super();
54
- // End section: command_constructor
55
- }
56
-
57
- /**
58
- * @internal
59
- */
60
- resolveMiddleware(
61
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
62
- configuration: MachineLearningClientResolvedConfig,
63
- options?: __HttpHandlerOptions
64
- ): Handler<GetDataSourceCommandInput, GetDataSourceCommandOutput> {
65
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
66
-
67
- const stack = clientStack.concat(this.middlewareStack);
68
-
69
- const { logger } = configuration;
70
- const clientName = "MachineLearningClient";
71
- const commandName = "GetDataSourceCommand";
72
- const handlerExecutionContext: HandlerExecutionContext = {
73
- logger,
74
- clientName,
75
- commandName,
76
- inputFilterSensitiveLog: GetDataSourceInput.filterSensitiveLog,
77
- outputFilterSensitiveLog: GetDataSourceOutput.filterSensitiveLog,
78
- };
79
- const { requestHandler } = configuration;
80
- return stack.resolve(
81
- (request: FinalizeHandlerArguments<any>) =>
82
- requestHandler.handle(request.request as __HttpRequest, options || {}),
83
- handlerExecutionContext
84
- );
85
- }
86
-
87
- private serialize(input: GetDataSourceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
88
- return serializeAws_json1_1GetDataSourceCommand(input, context);
89
- }
90
-
91
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetDataSourceCommandOutput> {
92
- return deserializeAws_json1_1GetDataSourceCommand(output, context);
93
- }
94
-
95
- // Start section: command_body_extra
96
- // End section: command_body_extra
97
- }
@@ -1,94 +0,0 @@
1
- import { MachineLearningClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MachineLearningClient";
2
- import { GetEvaluationInput, GetEvaluationOutput } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1GetEvaluationCommand,
5
- serializeAws_json1_1GetEvaluationCommand,
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 GetEvaluationCommandInput extends GetEvaluationInput {}
21
- export interface GetEvaluationCommandOutput extends GetEvaluationOutput, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Returns an <code>Evaluation</code> that includes metadata as well as the current status of the <code>Evaluation</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, GetEvaluationCommand } from "@aws-sdk/client-machine-learning"; // ES Modules import
29
- * // const { MachineLearningClient, GetEvaluationCommand } = require("@aws-sdk/client-machine-learning"); // CommonJS import
30
- * const client = new MachineLearningClient(config);
31
- * const command = new GetEvaluationCommand(input);
32
- * const response = await client.send(command);
33
- * ```
34
- *
35
- * @see {@link GetEvaluationCommandInput} for command's `input` shape.
36
- * @see {@link GetEvaluationCommandOutput} for command's `response` shape.
37
- * @see {@link MachineLearningClientResolvedConfig | config} for command's `input` shape.
38
- *
39
- */
40
- export class GetEvaluationCommand extends $Command<
41
- GetEvaluationCommandInput,
42
- GetEvaluationCommandOutput,
43
- MachineLearningClientResolvedConfig
44
- > {
45
- // Start section: command_properties
46
- // End section: command_properties
47
-
48
- constructor(readonly input: GetEvaluationCommandInput) {
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<GetEvaluationCommandInput, GetEvaluationCommandOutput> {
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 = "GetEvaluationCommand";
69
- const handlerExecutionContext: HandlerExecutionContext = {
70
- logger,
71
- clientName,
72
- commandName,
73
- inputFilterSensitiveLog: GetEvaluationInput.filterSensitiveLog,
74
- outputFilterSensitiveLog: GetEvaluationOutput.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: GetEvaluationCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
85
- return serializeAws_json1_1GetEvaluationCommand(input, context);
86
- }
87
-
88
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetEvaluationCommandOutput> {
89
- return deserializeAws_json1_1GetEvaluationCommand(output, context);
90
- }
91
-
92
- // Start section: command_body_extra
93
- // End section: command_body_extra
94
- }
@@ -1,96 +0,0 @@
1
- import { MachineLearningClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MachineLearningClient";
2
- import { GetMLModelInput, GetMLModelOutput } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1GetMLModelCommand,
5
- serializeAws_json1_1GetMLModelCommand,
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 GetMLModelCommandInput extends GetMLModelInput {}
21
- export interface GetMLModelCommandOutput extends GetMLModelOutput, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Returns an <code>MLModel</code> that includes detailed metadata, data source information, and the current status of the <code>MLModel</code>.</p>
25
- * <p>
26
- * <code>GetMLModel</code> provides results in normal or verbose format. </p>
27
- * @example
28
- * Use a bare-bones client and the command you need to make an API call.
29
- * ```javascript
30
- * import { MachineLearningClient, GetMLModelCommand } from "@aws-sdk/client-machine-learning"; // ES Modules import
31
- * // const { MachineLearningClient, GetMLModelCommand } = require("@aws-sdk/client-machine-learning"); // CommonJS import
32
- * const client = new MachineLearningClient(config);
33
- * const command = new GetMLModelCommand(input);
34
- * const response = await client.send(command);
35
- * ```
36
- *
37
- * @see {@link GetMLModelCommandInput} for command's `input` shape.
38
- * @see {@link GetMLModelCommandOutput} for command's `response` shape.
39
- * @see {@link MachineLearningClientResolvedConfig | config} for command's `input` shape.
40
- *
41
- */
42
- export class GetMLModelCommand extends $Command<
43
- GetMLModelCommandInput,
44
- GetMLModelCommandOutput,
45
- MachineLearningClientResolvedConfig
46
- > {
47
- // Start section: command_properties
48
- // End section: command_properties
49
-
50
- constructor(readonly input: GetMLModelCommandInput) {
51
- // Start section: command_constructor
52
- super();
53
- // End section: command_constructor
54
- }
55
-
56
- /**
57
- * @internal
58
- */
59
- resolveMiddleware(
60
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
61
- configuration: MachineLearningClientResolvedConfig,
62
- options?: __HttpHandlerOptions
63
- ): Handler<GetMLModelCommandInput, GetMLModelCommandOutput> {
64
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
65
-
66
- const stack = clientStack.concat(this.middlewareStack);
67
-
68
- const { logger } = configuration;
69
- const clientName = "MachineLearningClient";
70
- const commandName = "GetMLModelCommand";
71
- const handlerExecutionContext: HandlerExecutionContext = {
72
- logger,
73
- clientName,
74
- commandName,
75
- inputFilterSensitiveLog: GetMLModelInput.filterSensitiveLog,
76
- outputFilterSensitiveLog: GetMLModelOutput.filterSensitiveLog,
77
- };
78
- const { requestHandler } = configuration;
79
- return stack.resolve(
80
- (request: FinalizeHandlerArguments<any>) =>
81
- requestHandler.handle(request.request as __HttpRequest, options || {}),
82
- handlerExecutionContext
83
- );
84
- }
85
-
86
- private serialize(input: GetMLModelCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
87
- return serializeAws_json1_1GetMLModelCommand(input, context);
88
- }
89
-
90
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetMLModelCommandOutput> {
91
- return deserializeAws_json1_1GetMLModelCommand(output, context);
92
- }
93
-
94
- // Start section: command_body_extra
95
- // End section: command_body_extra
96
- }