@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
@@ -54,4 +54,3 @@ const defaultRegionInfoProvider = async (region, options) => config_resolver_1.g
54
54
  partitionHash,
55
55
  });
56
56
  exports.defaultRegionInfoProvider = defaultRegionInfoProvider;
57
- //# sourceMappingURL=endpoints.js.map
@@ -41,4 +41,3 @@ tslib_1.__exportStar(require("./commands/UpdateEvaluationCommand"), exports);
41
41
  tslib_1.__exportStar(require("./commands/UpdateMLModelCommand"), exports);
42
42
  tslib_1.__exportStar(require("./pagination/Interfaces"), exports);
43
43
  tslib_1.__exportStar(require("./models/index"), exports);
44
- //# sourceMappingURL=index.js.map
@@ -2,4 +2,3 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
4
  tslib_1.__exportStar(require("./models_0"), exports);
5
- //# sourceMappingURL=index.js.map
@@ -817,4 +817,3 @@ var UpdateMLModelOutput;
817
817
  ...obj,
818
818
  });
819
819
  })(UpdateMLModelOutput = exports.UpdateMLModelOutput || (exports.UpdateMLModelOutput = {}));
820
- //# sourceMappingURL=models_0.js.map
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateDescribeBatchPredictions = void 0;
4
+ const DescribeBatchPredictionsCommand_1 = require("../commands/DescribeBatchPredictionsCommand");
4
5
  const MachineLearning_1 = require("../MachineLearning");
5
6
  const MachineLearningClient_1 = require("../MachineLearningClient");
6
- const DescribeBatchPredictionsCommand_1 = require("../commands/DescribeBatchPredictionsCommand");
7
7
  /**
8
8
  * @private
9
9
  */
@@ -43,4 +43,3 @@ async function* paginateDescribeBatchPredictions(config, input, ...additionalArg
43
43
  return undefined;
44
44
  }
45
45
  exports.paginateDescribeBatchPredictions = paginateDescribeBatchPredictions;
46
- //# sourceMappingURL=DescribeBatchPredictionsPaginator.js.map
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateDescribeDataSources = void 0;
4
+ const DescribeDataSourcesCommand_1 = require("../commands/DescribeDataSourcesCommand");
4
5
  const MachineLearning_1 = require("../MachineLearning");
5
6
  const MachineLearningClient_1 = require("../MachineLearningClient");
6
- const DescribeDataSourcesCommand_1 = require("../commands/DescribeDataSourcesCommand");
7
7
  /**
8
8
  * @private
9
9
  */
@@ -43,4 +43,3 @@ async function* paginateDescribeDataSources(config, input, ...additionalArgument
43
43
  return undefined;
44
44
  }
45
45
  exports.paginateDescribeDataSources = paginateDescribeDataSources;
46
- //# sourceMappingURL=DescribeDataSourcesPaginator.js.map
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateDescribeEvaluations = void 0;
4
+ const DescribeEvaluationsCommand_1 = require("../commands/DescribeEvaluationsCommand");
4
5
  const MachineLearning_1 = require("../MachineLearning");
5
6
  const MachineLearningClient_1 = require("../MachineLearningClient");
6
- const DescribeEvaluationsCommand_1 = require("../commands/DescribeEvaluationsCommand");
7
7
  /**
8
8
  * @private
9
9
  */
@@ -43,4 +43,3 @@ async function* paginateDescribeEvaluations(config, input, ...additionalArgument
43
43
  return undefined;
44
44
  }
45
45
  exports.paginateDescribeEvaluations = paginateDescribeEvaluations;
46
- //# sourceMappingURL=DescribeEvaluationsPaginator.js.map
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateDescribeMLModels = void 0;
4
+ const DescribeMLModelsCommand_1 = require("../commands/DescribeMLModelsCommand");
4
5
  const MachineLearning_1 = require("../MachineLearning");
5
6
  const MachineLearningClient_1 = require("../MachineLearningClient");
6
- const DescribeMLModelsCommand_1 = require("../commands/DescribeMLModelsCommand");
7
7
  /**
8
8
  * @private
9
9
  */
@@ -43,4 +43,3 @@ async function* paginateDescribeMLModels(config, input, ...additionalArguments)
43
43
  return undefined;
44
44
  }
45
45
  exports.paginateDescribeMLModels = paginateDescribeMLModels;
46
- //# sourceMappingURL=DescribeMLModelsPaginator.js.map
@@ -1,3 +1,2 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=Interfaces.js.map
@@ -3216,4 +3216,3 @@ const loadRestJsonErrorCode = (output, data) => {
3216
3216
  }
3217
3217
  return "";
3218
3218
  };
3219
- //# sourceMappingURL=Aws_json1_1.js.map
@@ -2,7 +2,8 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const tslib_1 = require("tslib");
5
- const package_json_1 = tslib_1.__importDefault(require("./package.json"));
5
+ // @ts-ignore: package.json will be imported from dist folders
6
+ const package_json_1 = tslib_1.__importDefault(require("../package.json")); // eslint-disable-line
6
7
  const sha256_browser_1 = require("@aws-crypto/sha256-browser");
7
8
  const fetch_http_handler_1 = require("@aws-sdk/fetch-http-handler");
8
9
  const invalid_dependency_1 = require("@aws-sdk/invalid-dependency");
@@ -38,4 +39,3 @@ const getRuntimeConfig = (config) => {
38
39
  };
39
40
  };
40
41
  exports.getRuntimeConfig = getRuntimeConfig;
41
- //# sourceMappingURL=runtimeConfig.browser.js.map
@@ -2,7 +2,8 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const tslib_1 = require("tslib");
5
- const package_json_1 = tslib_1.__importDefault(require("./package.json"));
5
+ // @ts-ignore: package.json will be imported from dist folders
6
+ const package_json_1 = tslib_1.__importDefault(require("../package.json")); // eslint-disable-line
6
7
  const client_sts_1 = require("@aws-sdk/client-sts");
7
8
  const config_resolver_1 = require("@aws-sdk/config-resolver");
8
9
  const credential_provider_node_1 = require("@aws-sdk/credential-provider-node");
@@ -43,4 +44,3 @@ const getRuntimeConfig = (config) => {
43
44
  };
44
45
  };
45
46
  exports.getRuntimeConfig = getRuntimeConfig;
46
- //# sourceMappingURL=runtimeConfig.js.map
@@ -17,4 +17,3 @@ const getRuntimeConfig = (config) => {
17
17
  };
18
18
  };
19
19
  exports.getRuntimeConfig = getRuntimeConfig;
20
- //# sourceMappingURL=runtimeConfig.native.js.map
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
- const endpoints_1 = require("./endpoints");
5
4
  const url_parser_1 = require("@aws-sdk/url-parser");
5
+ const endpoints_1 = require("./endpoints");
6
6
  /**
7
7
  * @internal
8
8
  */
@@ -18,4 +18,3 @@ const getRuntimeConfig = (config) => {
18
18
  });
19
19
  };
20
20
  exports.getRuntimeConfig = getRuntimeConfig;
21
- //# sourceMappingURL=runtimeConfig.shared.js.map
@@ -1,23 +1,23 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.waitUntilBatchPredictionAvailable = exports.waitForBatchPredictionAvailable = void 0;
4
- const DescribeBatchPredictionsCommand_1 = require("../commands/DescribeBatchPredictionsCommand");
5
4
  const util_waiter_1 = require("@aws-sdk/util-waiter");
5
+ const DescribeBatchPredictionsCommand_1 = require("../commands/DescribeBatchPredictionsCommand");
6
6
  const checkState = async (client, input) => {
7
7
  let reason;
8
8
  try {
9
- let result = await client.send(new DescribeBatchPredictionsCommand_1.DescribeBatchPredictionsCommand(input));
9
+ const result = await client.send(new DescribeBatchPredictionsCommand_1.DescribeBatchPredictionsCommand(input));
10
10
  reason = result;
11
11
  try {
12
- let returnComparator = () => {
13
- let flat_1 = [].concat(...result.Results);
14
- let projection_3 = flat_1.map((element_2) => {
12
+ const returnComparator = () => {
13
+ const flat_1 = [].concat(...result.Results);
14
+ const projection_3 = flat_1.map((element_2) => {
15
15
  return element_2.Status;
16
16
  });
17
17
  return projection_3;
18
18
  };
19
19
  let allStringEq_5 = returnComparator().length > 0;
20
- for (let element_4 of returnComparator()) {
20
+ for (const element_4 of returnComparator()) {
21
21
  allStringEq_5 = allStringEq_5 && element_4 == "COMPLETED";
22
22
  }
23
23
  if (allStringEq_5) {
@@ -26,14 +26,14 @@ const checkState = async (client, input) => {
26
26
  }
27
27
  catch (e) { }
28
28
  try {
29
- let returnComparator = () => {
30
- let flat_1 = [].concat(...result.Results);
31
- let projection_3 = flat_1.map((element_2) => {
29
+ const returnComparator = () => {
30
+ const flat_1 = [].concat(...result.Results);
31
+ const projection_3 = flat_1.map((element_2) => {
32
32
  return element_2.Status;
33
33
  });
34
34
  return projection_3;
35
35
  };
36
- for (let anyStringEq_4 of returnComparator()) {
36
+ for (const anyStringEq_4 of returnComparator()) {
37
37
  if (anyStringEq_4 == "FAILED") {
38
38
  return { state: util_waiter_1.WaiterState.FAILURE, reason };
39
39
  }
@@ -66,4 +66,3 @@ const waitUntilBatchPredictionAvailable = async (params, input) => {
66
66
  return util_waiter_1.checkExceptions(result);
67
67
  };
68
68
  exports.waitUntilBatchPredictionAvailable = waitUntilBatchPredictionAvailable;
69
- //# sourceMappingURL=waitForBatchPredictionAvailable.js.map
@@ -1,23 +1,23 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.waitUntilDataSourceAvailable = exports.waitForDataSourceAvailable = void 0;
4
- const DescribeDataSourcesCommand_1 = require("../commands/DescribeDataSourcesCommand");
5
4
  const util_waiter_1 = require("@aws-sdk/util-waiter");
5
+ const DescribeDataSourcesCommand_1 = require("../commands/DescribeDataSourcesCommand");
6
6
  const checkState = async (client, input) => {
7
7
  let reason;
8
8
  try {
9
- let result = await client.send(new DescribeDataSourcesCommand_1.DescribeDataSourcesCommand(input));
9
+ const result = await client.send(new DescribeDataSourcesCommand_1.DescribeDataSourcesCommand(input));
10
10
  reason = result;
11
11
  try {
12
- let returnComparator = () => {
13
- let flat_1 = [].concat(...result.Results);
14
- let projection_3 = flat_1.map((element_2) => {
12
+ const returnComparator = () => {
13
+ const flat_1 = [].concat(...result.Results);
14
+ const projection_3 = flat_1.map((element_2) => {
15
15
  return element_2.Status;
16
16
  });
17
17
  return projection_3;
18
18
  };
19
19
  let allStringEq_5 = returnComparator().length > 0;
20
- for (let element_4 of returnComparator()) {
20
+ for (const element_4 of returnComparator()) {
21
21
  allStringEq_5 = allStringEq_5 && element_4 == "COMPLETED";
22
22
  }
23
23
  if (allStringEq_5) {
@@ -26,14 +26,14 @@ const checkState = async (client, input) => {
26
26
  }
27
27
  catch (e) { }
28
28
  try {
29
- let returnComparator = () => {
30
- let flat_1 = [].concat(...result.Results);
31
- let projection_3 = flat_1.map((element_2) => {
29
+ const returnComparator = () => {
30
+ const flat_1 = [].concat(...result.Results);
31
+ const projection_3 = flat_1.map((element_2) => {
32
32
  return element_2.Status;
33
33
  });
34
34
  return projection_3;
35
35
  };
36
- for (let anyStringEq_4 of returnComparator()) {
36
+ for (const anyStringEq_4 of returnComparator()) {
37
37
  if (anyStringEq_4 == "FAILED") {
38
38
  return { state: util_waiter_1.WaiterState.FAILURE, reason };
39
39
  }
@@ -66,4 +66,3 @@ const waitUntilDataSourceAvailable = async (params, input) => {
66
66
  return util_waiter_1.checkExceptions(result);
67
67
  };
68
68
  exports.waitUntilDataSourceAvailable = waitUntilDataSourceAvailable;
69
- //# sourceMappingURL=waitForDataSourceAvailable.js.map
@@ -1,23 +1,23 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.waitUntilEvaluationAvailable = exports.waitForEvaluationAvailable = void 0;
4
- const DescribeEvaluationsCommand_1 = require("../commands/DescribeEvaluationsCommand");
5
4
  const util_waiter_1 = require("@aws-sdk/util-waiter");
5
+ const DescribeEvaluationsCommand_1 = require("../commands/DescribeEvaluationsCommand");
6
6
  const checkState = async (client, input) => {
7
7
  let reason;
8
8
  try {
9
- let result = await client.send(new DescribeEvaluationsCommand_1.DescribeEvaluationsCommand(input));
9
+ const result = await client.send(new DescribeEvaluationsCommand_1.DescribeEvaluationsCommand(input));
10
10
  reason = result;
11
11
  try {
12
- let returnComparator = () => {
13
- let flat_1 = [].concat(...result.Results);
14
- let projection_3 = flat_1.map((element_2) => {
12
+ const returnComparator = () => {
13
+ const flat_1 = [].concat(...result.Results);
14
+ const projection_3 = flat_1.map((element_2) => {
15
15
  return element_2.Status;
16
16
  });
17
17
  return projection_3;
18
18
  };
19
19
  let allStringEq_5 = returnComparator().length > 0;
20
- for (let element_4 of returnComparator()) {
20
+ for (const element_4 of returnComparator()) {
21
21
  allStringEq_5 = allStringEq_5 && element_4 == "COMPLETED";
22
22
  }
23
23
  if (allStringEq_5) {
@@ -26,14 +26,14 @@ const checkState = async (client, input) => {
26
26
  }
27
27
  catch (e) { }
28
28
  try {
29
- let returnComparator = () => {
30
- let flat_1 = [].concat(...result.Results);
31
- let projection_3 = flat_1.map((element_2) => {
29
+ const returnComparator = () => {
30
+ const flat_1 = [].concat(...result.Results);
31
+ const projection_3 = flat_1.map((element_2) => {
32
32
  return element_2.Status;
33
33
  });
34
34
  return projection_3;
35
35
  };
36
- for (let anyStringEq_4 of returnComparator()) {
36
+ for (const anyStringEq_4 of returnComparator()) {
37
37
  if (anyStringEq_4 == "FAILED") {
38
38
  return { state: util_waiter_1.WaiterState.FAILURE, reason };
39
39
  }
@@ -66,4 +66,3 @@ const waitUntilEvaluationAvailable = async (params, input) => {
66
66
  return util_waiter_1.checkExceptions(result);
67
67
  };
68
68
  exports.waitUntilEvaluationAvailable = waitUntilEvaluationAvailable;
69
- //# sourceMappingURL=waitForEvaluationAvailable.js.map
@@ -1,23 +1,23 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.waitUntilMLModelAvailable = exports.waitForMLModelAvailable = void 0;
4
- const DescribeMLModelsCommand_1 = require("../commands/DescribeMLModelsCommand");
5
4
  const util_waiter_1 = require("@aws-sdk/util-waiter");
5
+ const DescribeMLModelsCommand_1 = require("../commands/DescribeMLModelsCommand");
6
6
  const checkState = async (client, input) => {
7
7
  let reason;
8
8
  try {
9
- let result = await client.send(new DescribeMLModelsCommand_1.DescribeMLModelsCommand(input));
9
+ const result = await client.send(new DescribeMLModelsCommand_1.DescribeMLModelsCommand(input));
10
10
  reason = result;
11
11
  try {
12
- let returnComparator = () => {
13
- let flat_1 = [].concat(...result.Results);
14
- let projection_3 = flat_1.map((element_2) => {
12
+ const returnComparator = () => {
13
+ const flat_1 = [].concat(...result.Results);
14
+ const projection_3 = flat_1.map((element_2) => {
15
15
  return element_2.Status;
16
16
  });
17
17
  return projection_3;
18
18
  };
19
19
  let allStringEq_5 = returnComparator().length > 0;
20
- for (let element_4 of returnComparator()) {
20
+ for (const element_4 of returnComparator()) {
21
21
  allStringEq_5 = allStringEq_5 && element_4 == "COMPLETED";
22
22
  }
23
23
  if (allStringEq_5) {
@@ -26,14 +26,14 @@ const checkState = async (client, input) => {
26
26
  }
27
27
  catch (e) { }
28
28
  try {
29
- let returnComparator = () => {
30
- let flat_1 = [].concat(...result.Results);
31
- let projection_3 = flat_1.map((element_2) => {
29
+ const returnComparator = () => {
30
+ const flat_1 = [].concat(...result.Results);
31
+ const projection_3 = flat_1.map((element_2) => {
32
32
  return element_2.Status;
33
33
  });
34
34
  return projection_3;
35
35
  };
36
- for (let anyStringEq_4 of returnComparator()) {
36
+ for (const anyStringEq_4 of returnComparator()) {
37
37
  if (anyStringEq_4 == "FAILED") {
38
38
  return { state: util_waiter_1.WaiterState.FAILURE, reason };
39
39
  }
@@ -66,4 +66,3 @@ const waitUntilMLModelAvailable = async (params, input) => {
66
66
  return util_waiter_1.checkExceptions(result);
67
67
  };
68
68
  exports.waitUntilMLModelAvailable = waitUntilMLModelAvailable;
69
- //# sourceMappingURL=waitForMLModelAvailable.js.map
@@ -1,5 +1,4 @@
1
1
  import { __extends } from "tslib";
2
- import { MachineLearningClient } from "./MachineLearningClient";
3
2
  import { AddTagsCommand } from "./commands/AddTagsCommand";
4
3
  import { CreateBatchPredictionCommand, } from "./commands/CreateBatchPredictionCommand";
5
4
  import { CreateDataSourceFromRDSCommand, } from "./commands/CreateDataSourceFromRDSCommand";
@@ -28,11 +27,8 @@ import { UpdateBatchPredictionCommand, } from "./commands/UpdateBatchPredictionC
28
27
  import { UpdateDataSourceCommand, } from "./commands/UpdateDataSourceCommand";
29
28
  import { UpdateEvaluationCommand, } from "./commands/UpdateEvaluationCommand";
30
29
  import { UpdateMLModelCommand, } from "./commands/UpdateMLModelCommand";
31
- /**
32
- * Definition of the public APIs
33
- * exposed by Amazon Machine Learning
34
- */
35
- var MachineLearning = /** @class */ (function (_super) {
30
+ import { MachineLearningClient } from "./MachineLearningClient";
31
+ var MachineLearning = (function (_super) {
36
32
  __extends(MachineLearning, _super);
37
33
  function MachineLearning() {
38
34
  return _super !== null && _super.apply(this, arguments) || this;
@@ -432,4 +428,3 @@ var MachineLearning = /** @class */ (function (_super) {
432
428
  return MachineLearning;
433
429
  }(MachineLearningClient));
434
430
  export { MachineLearning };
435
- //# sourceMappingURL=MachineLearning.js.map
@@ -1,5 +1,4 @@
1
1
  import { __extends } from "tslib";
2
- import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
3
2
  import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-resolver";
4
3
  import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
5
4
  import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
@@ -8,11 +7,8 @@ import { getRetryPlugin, resolveRetryConfig } from "@aws-sdk/middleware-retry";
8
7
  import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-signing";
9
8
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
10
9
  import { Client as __Client, } from "@aws-sdk/smithy-client";
11
- /**
12
- * Definition of the public APIs
13
- * exposed by Amazon Machine Learning
14
- */
15
- var MachineLearningClient = /** @class */ (function (_super) {
10
+ import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
11
+ var MachineLearningClient = (function (_super) {
16
12
  __extends(MachineLearningClient, _super);
17
13
  function MachineLearningClient(configuration) {
18
14
  var _this = this;
@@ -33,15 +29,9 @@ var MachineLearningClient = /** @class */ (function (_super) {
33
29
  _this.middlewareStack.use(getUserAgentPlugin(_this.config));
34
30
  return _this;
35
31
  }
36
- /**
37
- * Destroy underlying resources, like sockets. It's usually not necessary to do this.
38
- * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
39
- * Otherwise, sockets might stay open for quite a long time before the server terminates them.
40
- */
41
32
  MachineLearningClient.prototype.destroy = function () {
42
33
  _super.prototype.destroy.call(this);
43
34
  };
44
35
  return MachineLearningClient;
45
36
  }(__Client));
46
37
  export { MachineLearningClient };
47
- //# sourceMappingURL=MachineLearningClient.js.map
@@ -1,42 +1,15 @@
1
1
  import { __extends } from "tslib";
2
- import { AddTagsInput, AddTagsOutput } from "../models/models_0";
3
- import { deserializeAws_json1_1AddTagsCommand, serializeAws_json1_1AddTagsCommand } from "../protocols/Aws_json1_1";
4
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>Adds one or more tags to an object, up to a limit of 10. Each tag consists of a key
8
- * and an optional value. If you add a tag using a key that is already associated with the ML object,
9
- * <code>AddTags</code> updates the tag's value.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { MachineLearningClient, AddTagsCommand } from "@aws-sdk/client-machine-learning"; // ES Modules import
14
- * // const { MachineLearningClient, AddTagsCommand } = require("@aws-sdk/client-machine-learning"); // CommonJS import
15
- * const client = new MachineLearningClient(config);
16
- * const command = new AddTagsCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link AddTagsCommandInput} for command's `input` shape.
21
- * @see {@link AddTagsCommandOutput} for command's `response` shape.
22
- * @see {@link MachineLearningClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
- var AddTagsCommand = /** @class */ (function (_super) {
4
+ import { AddTagsInput, AddTagsOutput } from "../models/models_0";
5
+ import { deserializeAws_json1_1AddTagsCommand, serializeAws_json1_1AddTagsCommand } from "../protocols/Aws_json1_1";
6
+ var AddTagsCommand = (function (_super) {
26
7
  __extends(AddTagsCommand, _super);
27
- // Start section: command_properties
28
- // End section: command_properties
29
8
  function AddTagsCommand(input) {
30
- var _this =
31
- // Start section: command_constructor
32
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
33
10
  _this.input = input;
34
11
  return _this;
35
- // End section: command_constructor
36
12
  }
37
- /**
38
- * @internal
39
- */
40
13
  AddTagsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
41
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
42
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -64,4 +37,3 @@ var AddTagsCommand = /** @class */ (function (_super) {
64
37
  return AddTagsCommand;
65
38
  }($Command));
66
39
  export { AddTagsCommand };
67
- //# sourceMappingURL=AddTagsCommand.js.map
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { CreateBatchPredictionInput, CreateBatchPredictionOutput } from "../models/models_0";
5
+ import { deserializeAws_json1_1CreateBatchPredictionCommand, serializeAws_json1_1CreateBatchPredictionCommand, } from "../protocols/Aws_json1_1";
6
+ var CreateBatchPredictionCommand = (function (_super) {
7
+ __extends(CreateBatchPredictionCommand, _super);
8
+ function CreateBatchPredictionCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ CreateBatchPredictionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "MachineLearningClient";
18
+ var commandName = "CreateBatchPredictionCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: CreateBatchPredictionInput.filterSensitiveLog,
24
+ outputFilterSensitiveLog: CreateBatchPredictionOutput.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ CreateBatchPredictionCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_json1_1CreateBatchPredictionCommand(input, context);
33
+ };
34
+ CreateBatchPredictionCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_json1_1CreateBatchPredictionCommand(output, context);
36
+ };
37
+ return CreateBatchPredictionCommand;
38
+ }($Command));
39
+ export { CreateBatchPredictionCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { CreateDataSourceFromRDSInput, CreateDataSourceFromRDSOutput } from "../models/models_0";
5
+ import { deserializeAws_json1_1CreateDataSourceFromRDSCommand, serializeAws_json1_1CreateDataSourceFromRDSCommand, } from "../protocols/Aws_json1_1";
6
+ var CreateDataSourceFromRDSCommand = (function (_super) {
7
+ __extends(CreateDataSourceFromRDSCommand, _super);
8
+ function CreateDataSourceFromRDSCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ CreateDataSourceFromRDSCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "MachineLearningClient";
18
+ var commandName = "CreateDataSourceFromRDSCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: CreateDataSourceFromRDSInput.filterSensitiveLog,
24
+ outputFilterSensitiveLog: CreateDataSourceFromRDSOutput.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ CreateDataSourceFromRDSCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_json1_1CreateDataSourceFromRDSCommand(input, context);
33
+ };
34
+ CreateDataSourceFromRDSCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_json1_1CreateDataSourceFromRDSCommand(output, context);
36
+ };
37
+ return CreateDataSourceFromRDSCommand;
38
+ }($Command));
39
+ export { CreateDataSourceFromRDSCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { CreateDataSourceFromRedshiftInput, CreateDataSourceFromRedshiftOutput } from "../models/models_0";
5
+ import { deserializeAws_json1_1CreateDataSourceFromRedshiftCommand, serializeAws_json1_1CreateDataSourceFromRedshiftCommand, } from "../protocols/Aws_json1_1";
6
+ var CreateDataSourceFromRedshiftCommand = (function (_super) {
7
+ __extends(CreateDataSourceFromRedshiftCommand, _super);
8
+ function CreateDataSourceFromRedshiftCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ CreateDataSourceFromRedshiftCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "MachineLearningClient";
18
+ var commandName = "CreateDataSourceFromRedshiftCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: CreateDataSourceFromRedshiftInput.filterSensitiveLog,
24
+ outputFilterSensitiveLog: CreateDataSourceFromRedshiftOutput.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ CreateDataSourceFromRedshiftCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_json1_1CreateDataSourceFromRedshiftCommand(input, context);
33
+ };
34
+ CreateDataSourceFromRedshiftCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_json1_1CreateDataSourceFromRedshiftCommand(output, context);
36
+ };
37
+ return CreateDataSourceFromRedshiftCommand;
38
+ }($Command));
39
+ export { CreateDataSourceFromRedshiftCommand };