@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,353 +0,0 @@
1
- import { AddTagsCommandInput, AddTagsCommandOutput } from "./commands/AddTagsCommand";
2
- import {
3
- CreateBatchPredictionCommandInput,
4
- CreateBatchPredictionCommandOutput,
5
- } from "./commands/CreateBatchPredictionCommand";
6
- import {
7
- CreateDataSourceFromRDSCommandInput,
8
- CreateDataSourceFromRDSCommandOutput,
9
- } from "./commands/CreateDataSourceFromRDSCommand";
10
- import {
11
- CreateDataSourceFromRedshiftCommandInput,
12
- CreateDataSourceFromRedshiftCommandOutput,
13
- } from "./commands/CreateDataSourceFromRedshiftCommand";
14
- import {
15
- CreateDataSourceFromS3CommandInput,
16
- CreateDataSourceFromS3CommandOutput,
17
- } from "./commands/CreateDataSourceFromS3Command";
18
- import { CreateEvaluationCommandInput, CreateEvaluationCommandOutput } from "./commands/CreateEvaluationCommand";
19
- import { CreateMLModelCommandInput, CreateMLModelCommandOutput } from "./commands/CreateMLModelCommand";
20
- import {
21
- CreateRealtimeEndpointCommandInput,
22
- CreateRealtimeEndpointCommandOutput,
23
- } from "./commands/CreateRealtimeEndpointCommand";
24
- import {
25
- DeleteBatchPredictionCommandInput,
26
- DeleteBatchPredictionCommandOutput,
27
- } from "./commands/DeleteBatchPredictionCommand";
28
- import { DeleteDataSourceCommandInput, DeleteDataSourceCommandOutput } from "./commands/DeleteDataSourceCommand";
29
- import { DeleteEvaluationCommandInput, DeleteEvaluationCommandOutput } from "./commands/DeleteEvaluationCommand";
30
- import { DeleteMLModelCommandInput, DeleteMLModelCommandOutput } from "./commands/DeleteMLModelCommand";
31
- import {
32
- DeleteRealtimeEndpointCommandInput,
33
- DeleteRealtimeEndpointCommandOutput,
34
- } from "./commands/DeleteRealtimeEndpointCommand";
35
- import { DeleteTagsCommandInput, DeleteTagsCommandOutput } from "./commands/DeleteTagsCommand";
36
- import {
37
- DescribeBatchPredictionsCommandInput,
38
- DescribeBatchPredictionsCommandOutput,
39
- } from "./commands/DescribeBatchPredictionsCommand";
40
- import {
41
- DescribeDataSourcesCommandInput,
42
- DescribeDataSourcesCommandOutput,
43
- } from "./commands/DescribeDataSourcesCommand";
44
- import {
45
- DescribeEvaluationsCommandInput,
46
- DescribeEvaluationsCommandOutput,
47
- } from "./commands/DescribeEvaluationsCommand";
48
- import { DescribeMLModelsCommandInput, DescribeMLModelsCommandOutput } from "./commands/DescribeMLModelsCommand";
49
- import { DescribeTagsCommandInput, DescribeTagsCommandOutput } from "./commands/DescribeTagsCommand";
50
- import { GetBatchPredictionCommandInput, GetBatchPredictionCommandOutput } from "./commands/GetBatchPredictionCommand";
51
- import { GetDataSourceCommandInput, GetDataSourceCommandOutput } from "./commands/GetDataSourceCommand";
52
- import { GetEvaluationCommandInput, GetEvaluationCommandOutput } from "./commands/GetEvaluationCommand";
53
- import { GetMLModelCommandInput, GetMLModelCommandOutput } from "./commands/GetMLModelCommand";
54
- import { PredictCommandInput, PredictCommandOutput } from "./commands/PredictCommand";
55
- import {
56
- UpdateBatchPredictionCommandInput,
57
- UpdateBatchPredictionCommandOutput,
58
- } from "./commands/UpdateBatchPredictionCommand";
59
- import { UpdateDataSourceCommandInput, UpdateDataSourceCommandOutput } from "./commands/UpdateDataSourceCommand";
60
- import { UpdateEvaluationCommandInput, UpdateEvaluationCommandOutput } from "./commands/UpdateEvaluationCommand";
61
- import { UpdateMLModelCommandInput, UpdateMLModelCommandOutput } from "./commands/UpdateMLModelCommand";
62
- import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
63
- import {
64
- EndpointsInputConfig,
65
- EndpointsResolvedConfig,
66
- RegionInputConfig,
67
- RegionResolvedConfig,
68
- resolveEndpointsConfig,
69
- resolveRegionConfig,
70
- } from "@aws-sdk/config-resolver";
71
- import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
72
- import {
73
- HostHeaderInputConfig,
74
- HostHeaderResolvedConfig,
75
- getHostHeaderPlugin,
76
- resolveHostHeaderConfig,
77
- } from "@aws-sdk/middleware-host-header";
78
- import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
79
- import { RetryInputConfig, RetryResolvedConfig, getRetryPlugin, resolveRetryConfig } from "@aws-sdk/middleware-retry";
80
- import {
81
- AwsAuthInputConfig,
82
- AwsAuthResolvedConfig,
83
- getAwsAuthPlugin,
84
- resolveAwsAuthConfig,
85
- } from "@aws-sdk/middleware-signing";
86
- import {
87
- UserAgentInputConfig,
88
- UserAgentResolvedConfig,
89
- getUserAgentPlugin,
90
- resolveUserAgentConfig,
91
- } from "@aws-sdk/middleware-user-agent";
92
- import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
93
- import {
94
- Client as __Client,
95
- SmithyConfiguration as __SmithyConfiguration,
96
- SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
97
- } from "@aws-sdk/smithy-client";
98
- import {
99
- Provider,
100
- RegionInfoProvider,
101
- Credentials as __Credentials,
102
- Decoder as __Decoder,
103
- Encoder as __Encoder,
104
- Hash as __Hash,
105
- HashConstructor as __HashConstructor,
106
- HttpHandlerOptions as __HttpHandlerOptions,
107
- Logger as __Logger,
108
- Provider as __Provider,
109
- StreamCollector as __StreamCollector,
110
- UrlParser as __UrlParser,
111
- UserAgent as __UserAgent,
112
- } from "@aws-sdk/types";
113
-
114
- export type ServiceInputTypes =
115
- | AddTagsCommandInput
116
- | CreateBatchPredictionCommandInput
117
- | CreateDataSourceFromRDSCommandInput
118
- | CreateDataSourceFromRedshiftCommandInput
119
- | CreateDataSourceFromS3CommandInput
120
- | CreateEvaluationCommandInput
121
- | CreateMLModelCommandInput
122
- | CreateRealtimeEndpointCommandInput
123
- | DeleteBatchPredictionCommandInput
124
- | DeleteDataSourceCommandInput
125
- | DeleteEvaluationCommandInput
126
- | DeleteMLModelCommandInput
127
- | DeleteRealtimeEndpointCommandInput
128
- | DeleteTagsCommandInput
129
- | DescribeBatchPredictionsCommandInput
130
- | DescribeDataSourcesCommandInput
131
- | DescribeEvaluationsCommandInput
132
- | DescribeMLModelsCommandInput
133
- | DescribeTagsCommandInput
134
- | GetBatchPredictionCommandInput
135
- | GetDataSourceCommandInput
136
- | GetEvaluationCommandInput
137
- | GetMLModelCommandInput
138
- | PredictCommandInput
139
- | UpdateBatchPredictionCommandInput
140
- | UpdateDataSourceCommandInput
141
- | UpdateEvaluationCommandInput
142
- | UpdateMLModelCommandInput;
143
-
144
- export type ServiceOutputTypes =
145
- | AddTagsCommandOutput
146
- | CreateBatchPredictionCommandOutput
147
- | CreateDataSourceFromRDSCommandOutput
148
- | CreateDataSourceFromRedshiftCommandOutput
149
- | CreateDataSourceFromS3CommandOutput
150
- | CreateEvaluationCommandOutput
151
- | CreateMLModelCommandOutput
152
- | CreateRealtimeEndpointCommandOutput
153
- | DeleteBatchPredictionCommandOutput
154
- | DeleteDataSourceCommandOutput
155
- | DeleteEvaluationCommandOutput
156
- | DeleteMLModelCommandOutput
157
- | DeleteRealtimeEndpointCommandOutput
158
- | DeleteTagsCommandOutput
159
- | DescribeBatchPredictionsCommandOutput
160
- | DescribeDataSourcesCommandOutput
161
- | DescribeEvaluationsCommandOutput
162
- | DescribeMLModelsCommandOutput
163
- | DescribeTagsCommandOutput
164
- | GetBatchPredictionCommandOutput
165
- | GetDataSourceCommandOutput
166
- | GetEvaluationCommandOutput
167
- | GetMLModelCommandOutput
168
- | PredictCommandOutput
169
- | UpdateBatchPredictionCommandOutput
170
- | UpdateDataSourceCommandOutput
171
- | UpdateEvaluationCommandOutput
172
- | UpdateMLModelCommandOutput;
173
-
174
- export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
175
- /**
176
- * The HTTP handler to use. Fetch in browser and Https in Nodejs.
177
- */
178
- requestHandler?: __HttpHandler;
179
-
180
- /**
181
- * A constructor for a class implementing the {@link __Hash} interface
182
- * that computes the SHA-256 HMAC or checksum of a string or binary buffer.
183
- * @internal
184
- */
185
- sha256?: __HashConstructor;
186
-
187
- /**
188
- * The function that will be used to convert strings into HTTP endpoints.
189
- * @internal
190
- */
191
- urlParser?: __UrlParser;
192
-
193
- /**
194
- * A function that can calculate the length of a request body.
195
- * @internal
196
- */
197
- bodyLengthChecker?: (body: any) => number | undefined;
198
-
199
- /**
200
- * A function that converts a stream into an array of bytes.
201
- * @internal
202
- */
203
- streamCollector?: __StreamCollector;
204
-
205
- /**
206
- * The function that will be used to convert a base64-encoded string to a byte array.
207
- * @internal
208
- */
209
- base64Decoder?: __Decoder;
210
-
211
- /**
212
- * The function that will be used to convert binary data to a base64-encoded string.
213
- * @internal
214
- */
215
- base64Encoder?: __Encoder;
216
-
217
- /**
218
- * The function that will be used to convert a UTF8-encoded string to a byte array.
219
- * @internal
220
- */
221
- utf8Decoder?: __Decoder;
222
-
223
- /**
224
- * The function that will be used to convert binary data to a UTF-8 encoded string.
225
- * @internal
226
- */
227
- utf8Encoder?: __Encoder;
228
-
229
- /**
230
- * The runtime environment.
231
- * @internal
232
- */
233
- runtime?: string;
234
-
235
- /**
236
- * Disable dyanamically changing the endpoint of the client based on the hostPrefix
237
- * trait of an operation.
238
- */
239
- disableHostPrefix?: boolean;
240
-
241
- /**
242
- * Value for how many times a request will be made at most in case of retry.
243
- */
244
- maxAttempts?: number | __Provider<number>;
245
-
246
- /**
247
- * Specifies which retry algorithm to use.
248
- */
249
- retryMode?: string | __Provider<string>;
250
-
251
- /**
252
- * Optional logger for logging debug/info/warn/error.
253
- */
254
- logger?: __Logger;
255
-
256
- /**
257
- * Unique service identifier.
258
- * @internal
259
- */
260
- serviceId?: string;
261
-
262
- /**
263
- * The AWS region to which this client will send requests
264
- */
265
- region?: string | __Provider<string>;
266
-
267
- /**
268
- * Default credentials provider; Not available in browser runtime.
269
- * @internal
270
- */
271
- credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
272
-
273
- /**
274
- * Fetch related hostname, signing name or signing region with given region.
275
- * @internal
276
- */
277
- regionInfoProvider?: RegionInfoProvider;
278
-
279
- /**
280
- * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
281
- * @internal
282
- */
283
- defaultUserAgentProvider?: Provider<__UserAgent>;
284
- }
285
-
286
- type MachineLearningClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> &
287
- ClientDefaults &
288
- RegionInputConfig &
289
- EndpointsInputConfig &
290
- RetryInputConfig &
291
- HostHeaderInputConfig &
292
- AwsAuthInputConfig &
293
- UserAgentInputConfig;
294
- /**
295
- * The configuration interface of MachineLearningClient class constructor that set the region, credentials and other options.
296
- */
297
- export interface MachineLearningClientConfig extends MachineLearningClientConfigType {}
298
-
299
- type MachineLearningClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> &
300
- Required<ClientDefaults> &
301
- RegionResolvedConfig &
302
- EndpointsResolvedConfig &
303
- RetryResolvedConfig &
304
- HostHeaderResolvedConfig &
305
- AwsAuthResolvedConfig &
306
- UserAgentResolvedConfig;
307
- /**
308
- * The resolved configuration interface of MachineLearningClient class. This is resolved and normalized from the {@link MachineLearningClientConfig | constructor configuration interface}.
309
- */
310
- export interface MachineLearningClientResolvedConfig extends MachineLearningClientResolvedConfigType {}
311
-
312
- /**
313
- * Definition of the public APIs
314
- * exposed by Amazon Machine Learning
315
- */
316
- export class MachineLearningClient extends __Client<
317
- __HttpHandlerOptions,
318
- ServiceInputTypes,
319
- ServiceOutputTypes,
320
- MachineLearningClientResolvedConfig
321
- > {
322
- /**
323
- * The resolved configuration of MachineLearningClient class. This is resolved and normalized from the {@link MachineLearningClientConfig | constructor configuration interface}.
324
- */
325
- readonly config: MachineLearningClientResolvedConfig;
326
-
327
- constructor(configuration: MachineLearningClientConfig) {
328
- let _config_0 = __getRuntimeConfig(configuration);
329
- let _config_1 = resolveRegionConfig(_config_0);
330
- let _config_2 = resolveEndpointsConfig(_config_1);
331
- let _config_3 = resolveRetryConfig(_config_2);
332
- let _config_4 = resolveHostHeaderConfig(_config_3);
333
- let _config_5 = resolveAwsAuthConfig(_config_4);
334
- let _config_6 = resolveUserAgentConfig(_config_5);
335
- super(_config_6);
336
- this.config = _config_6;
337
- this.middlewareStack.use(getRetryPlugin(this.config));
338
- this.middlewareStack.use(getContentLengthPlugin(this.config));
339
- this.middlewareStack.use(getHostHeaderPlugin(this.config));
340
- this.middlewareStack.use(getLoggerPlugin(this.config));
341
- this.middlewareStack.use(getAwsAuthPlugin(this.config));
342
- this.middlewareStack.use(getUserAgentPlugin(this.config));
343
- }
344
-
345
- /**
346
- * Destroy underlying resources, like sockets. It's usually not necessary to do this.
347
- * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
348
- * Otherwise, sockets might stay open for quite a long time before the server terminates them.
349
- */
350
- destroy(): void {
351
- super.destroy();
352
- }
353
- }
@@ -1,93 +0,0 @@
1
- import { MachineLearningClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MachineLearningClient";
2
- import { AddTagsInput, AddTagsOutput } from "../models/models_0";
3
- import { deserializeAws_json1_1AddTagsCommand, serializeAws_json1_1AddTagsCommand } from "../protocols/Aws_json1_1";
4
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
6
- import { Command as $Command } from "@aws-sdk/smithy-client";
7
- import {
8
- FinalizeHandlerArguments,
9
- Handler,
10
- HandlerExecutionContext,
11
- MiddlewareStack,
12
- HttpHandlerOptions as __HttpHandlerOptions,
13
- MetadataBearer as __MetadataBearer,
14
- SerdeContext as __SerdeContext,
15
- } from "@aws-sdk/types";
16
-
17
- export interface AddTagsCommandInput extends AddTagsInput {}
18
- export interface AddTagsCommandOutput extends AddTagsOutput, __MetadataBearer {}
19
-
20
- /**
21
- * <p>Adds one or more tags to an object, up to a limit of 10. Each tag consists of a key
22
- * and an optional value. If you add a tag using a key that is already associated with the ML object,
23
- * <code>AddTags</code> updates the tag's value.</p>
24
- * @example
25
- * Use a bare-bones client and the command you need to make an API call.
26
- * ```javascript
27
- * import { MachineLearningClient, AddTagsCommand } from "@aws-sdk/client-machine-learning"; // ES Modules import
28
- * // const { MachineLearningClient, AddTagsCommand } = require("@aws-sdk/client-machine-learning"); // CommonJS import
29
- * const client = new MachineLearningClient(config);
30
- * const command = new AddTagsCommand(input);
31
- * const response = await client.send(command);
32
- * ```
33
- *
34
- * @see {@link AddTagsCommandInput} for command's `input` shape.
35
- * @see {@link AddTagsCommandOutput} for command's `response` shape.
36
- * @see {@link MachineLearningClientResolvedConfig | config} for command's `input` shape.
37
- *
38
- */
39
- export class AddTagsCommand extends $Command<
40
- AddTagsCommandInput,
41
- AddTagsCommandOutput,
42
- MachineLearningClientResolvedConfig
43
- > {
44
- // Start section: command_properties
45
- // End section: command_properties
46
-
47
- constructor(readonly input: AddTagsCommandInput) {
48
- // Start section: command_constructor
49
- super();
50
- // End section: command_constructor
51
- }
52
-
53
- /**
54
- * @internal
55
- */
56
- resolveMiddleware(
57
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
58
- configuration: MachineLearningClientResolvedConfig,
59
- options?: __HttpHandlerOptions
60
- ): Handler<AddTagsCommandInput, AddTagsCommandOutput> {
61
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
62
-
63
- const stack = clientStack.concat(this.middlewareStack);
64
-
65
- const { logger } = configuration;
66
- const clientName = "MachineLearningClient";
67
- const commandName = "AddTagsCommand";
68
- const handlerExecutionContext: HandlerExecutionContext = {
69
- logger,
70
- clientName,
71
- commandName,
72
- inputFilterSensitiveLog: AddTagsInput.filterSensitiveLog,
73
- outputFilterSensitiveLog: AddTagsOutput.filterSensitiveLog,
74
- };
75
- const { requestHandler } = configuration;
76
- return stack.resolve(
77
- (request: FinalizeHandlerArguments<any>) =>
78
- requestHandler.handle(request.request as __HttpRequest, options || {}),
79
- handlerExecutionContext
80
- );
81
- }
82
-
83
- private serialize(input: AddTagsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
84
- return serializeAws_json1_1AddTagsCommand(input, context);
85
- }
86
-
87
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<AddTagsCommandOutput> {
88
- return deserializeAws_json1_1AddTagsCommand(output, context);
89
- }
90
-
91
- // Start section: command_body_extra
92
- // End section: command_body_extra
93
- }
@@ -1,105 +0,0 @@
1
- import { MachineLearningClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MachineLearningClient";
2
- import { CreateBatchPredictionInput, CreateBatchPredictionOutput } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1CreateBatchPredictionCommand,
5
- serializeAws_json1_1CreateBatchPredictionCommand,
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 CreateBatchPredictionCommandInput extends CreateBatchPredictionInput {}
21
- export interface CreateBatchPredictionCommandOutput extends CreateBatchPredictionOutput, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Generates predictions for a group of observations. The observations to process exist in one or more data files referenced
25
- * by a <code>DataSource</code>. This operation creates a new <code>BatchPrediction</code>, and uses an <code>MLModel</code> and the data
26
- * files referenced by the <code>DataSource</code> as information sources.
27
- * </p>
28
- *
29
- * <p>
30
- * <code>CreateBatchPrediction</code> is an asynchronous operation. In response to <code>CreateBatchPrediction</code>,
31
- * Amazon Machine Learning (Amazon ML) immediately returns and sets the <code>BatchPrediction</code> status to <code>PENDING</code>.
32
- * After the <code>BatchPrediction</code> completes, Amazon ML sets the status to <code>COMPLETED</code>.
33
- * </p>
34
- * <p>You can poll for status updates by using the <a>GetBatchPrediction</a> operation and checking the <code>Status</code> parameter of the result. After the <code>COMPLETED</code> status appears,
35
- * the results are available in the location specified by the <code>OutputUri</code> parameter.</p>
36
- * @example
37
- * Use a bare-bones client and the command you need to make an API call.
38
- * ```javascript
39
- * import { MachineLearningClient, CreateBatchPredictionCommand } from "@aws-sdk/client-machine-learning"; // ES Modules import
40
- * // const { MachineLearningClient, CreateBatchPredictionCommand } = require("@aws-sdk/client-machine-learning"); // CommonJS import
41
- * const client = new MachineLearningClient(config);
42
- * const command = new CreateBatchPredictionCommand(input);
43
- * const response = await client.send(command);
44
- * ```
45
- *
46
- * @see {@link CreateBatchPredictionCommandInput} for command's `input` shape.
47
- * @see {@link CreateBatchPredictionCommandOutput} for command's `response` shape.
48
- * @see {@link MachineLearningClientResolvedConfig | config} for command's `input` shape.
49
- *
50
- */
51
- export class CreateBatchPredictionCommand extends $Command<
52
- CreateBatchPredictionCommandInput,
53
- CreateBatchPredictionCommandOutput,
54
- MachineLearningClientResolvedConfig
55
- > {
56
- // Start section: command_properties
57
- // End section: command_properties
58
-
59
- constructor(readonly input: CreateBatchPredictionCommandInput) {
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<CreateBatchPredictionCommandInput, CreateBatchPredictionCommandOutput> {
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 = "CreateBatchPredictionCommand";
80
- const handlerExecutionContext: HandlerExecutionContext = {
81
- logger,
82
- clientName,
83
- commandName,
84
- inputFilterSensitiveLog: CreateBatchPredictionInput.filterSensitiveLog,
85
- outputFilterSensitiveLog: CreateBatchPredictionOutput.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: CreateBatchPredictionCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
96
- return serializeAws_json1_1CreateBatchPredictionCommand(input, context);
97
- }
98
-
99
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateBatchPredictionCommandOutput> {
100
- return deserializeAws_json1_1CreateBatchPredictionCommand(output, context);
101
- }
102
-
103
- // Start section: command_body_extra
104
- // End section: command_body_extra
105
- }
@@ -1,105 +0,0 @@
1
- import { MachineLearningClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MachineLearningClient";
2
- import { CreateDataSourceFromRDSInput, CreateDataSourceFromRDSOutput } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1CreateDataSourceFromRDSCommand,
5
- serializeAws_json1_1CreateDataSourceFromRDSCommand,
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 CreateDataSourceFromRDSCommandInput extends CreateDataSourceFromRDSInput {}
21
- export interface CreateDataSourceFromRDSCommandOutput extends CreateDataSourceFromRDSOutput, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Creates a <code>DataSource</code> object from an <a href="http://aws.amazon.com/rds/"> Amazon Relational Database Service</a> (Amazon RDS). A <code>DataSource</code> references data that can be used to perform <code>CreateMLModel</code>, <code>CreateEvaluation</code>, or <code>CreateBatchPrediction</code> operations.</p>
25
- *
26
- * <p>
27
- * <code>CreateDataSourceFromRDS</code> is an asynchronous operation. In response to <code>CreateDataSourceFromRDS</code>,
28
- * Amazon Machine Learning (Amazon ML) immediately returns and sets the <code>DataSource</code> status to <code>PENDING</code>.
29
- * After the <code>DataSource</code> is created and ready for use, Amazon ML sets the <code>Status</code> parameter to <code>COMPLETED</code>.
30
- * <code>DataSource</code> in the <code>COMPLETED</code> or <code>PENDING</code> state can
31
- * be used only to perform <code>>CreateMLModel</code>>, <code>CreateEvaluation</code>, or <code>CreateBatchPrediction</code> operations.
32
- * </p>
33
- * <p>
34
- * If Amazon ML cannot accept the input source, it sets the <code>Status</code> parameter to <code>FAILED</code> and includes an error message in the <code>Message</code> attribute of the <code>GetDataSource</code> operation response.
35
- * </p>
36
- * @example
37
- * Use a bare-bones client and the command you need to make an API call.
38
- * ```javascript
39
- * import { MachineLearningClient, CreateDataSourceFromRDSCommand } from "@aws-sdk/client-machine-learning"; // ES Modules import
40
- * // const { MachineLearningClient, CreateDataSourceFromRDSCommand } = require("@aws-sdk/client-machine-learning"); // CommonJS import
41
- * const client = new MachineLearningClient(config);
42
- * const command = new CreateDataSourceFromRDSCommand(input);
43
- * const response = await client.send(command);
44
- * ```
45
- *
46
- * @see {@link CreateDataSourceFromRDSCommandInput} for command's `input` shape.
47
- * @see {@link CreateDataSourceFromRDSCommandOutput} for command's `response` shape.
48
- * @see {@link MachineLearningClientResolvedConfig | config} for command's `input` shape.
49
- *
50
- */
51
- export class CreateDataSourceFromRDSCommand extends $Command<
52
- CreateDataSourceFromRDSCommandInput,
53
- CreateDataSourceFromRDSCommandOutput,
54
- MachineLearningClientResolvedConfig
55
- > {
56
- // Start section: command_properties
57
- // End section: command_properties
58
-
59
- constructor(readonly input: CreateDataSourceFromRDSCommandInput) {
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<CreateDataSourceFromRDSCommandInput, CreateDataSourceFromRDSCommandOutput> {
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 = "CreateDataSourceFromRDSCommand";
80
- const handlerExecutionContext: HandlerExecutionContext = {
81
- logger,
82
- clientName,
83
- commandName,
84
- inputFilterSensitiveLog: CreateDataSourceFromRDSInput.filterSensitiveLog,
85
- outputFilterSensitiveLog: CreateDataSourceFromRDSOutput.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: CreateDataSourceFromRDSCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
96
- return serializeAws_json1_1CreateDataSourceFromRDSCommand(input, context);
97
- }
98
-
99
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateDataSourceFromRDSCommandOutput> {
100
- return deserializeAws_json1_1CreateDataSourceFromRDSCommand(output, context);
101
- }
102
-
103
- // Start section: command_body_extra
104
- // End section: command_body_extra
105
- }