@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,25 +1,16 @@
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
- /**
8
- * @private
9
- */
10
7
  const makePagedClientRequest = async (client, input, ...args) => {
11
- // @ts-ignore
12
8
  return await client.send(new DescribeBatchPredictionsCommand_1.DescribeBatchPredictionsCommand(input), ...args);
13
9
  };
14
- /**
15
- * @private
16
- */
17
10
  const makePagedRequest = async (client, input, ...args) => {
18
- // @ts-ignore
19
11
  return await client.describeBatchPredictions(input, ...args);
20
12
  };
21
13
  async function* paginateDescribeBatchPredictions(config, input, ...additionalArguments) {
22
- // ToDo: replace with actual type instead of typeof input.NextToken
23
14
  let token = config.startingToken || undefined;
24
15
  let hasNext = true;
25
16
  let page;
@@ -39,8 +30,6 @@ async function* paginateDescribeBatchPredictions(config, input, ...additionalArg
39
30
  token = page.NextToken;
40
31
  hasNext = !!token;
41
32
  }
42
- // @ts-ignore
43
33
  return undefined;
44
34
  }
45
35
  exports.paginateDescribeBatchPredictions = paginateDescribeBatchPredictions;
46
- //# sourceMappingURL=DescribeBatchPredictionsPaginator.js.map
@@ -1,25 +1,16 @@
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
- /**
8
- * @private
9
- */
10
7
  const makePagedClientRequest = async (client, input, ...args) => {
11
- // @ts-ignore
12
8
  return await client.send(new DescribeDataSourcesCommand_1.DescribeDataSourcesCommand(input), ...args);
13
9
  };
14
- /**
15
- * @private
16
- */
17
10
  const makePagedRequest = async (client, input, ...args) => {
18
- // @ts-ignore
19
11
  return await client.describeDataSources(input, ...args);
20
12
  };
21
13
  async function* paginateDescribeDataSources(config, input, ...additionalArguments) {
22
- // ToDo: replace with actual type instead of typeof input.NextToken
23
14
  let token = config.startingToken || undefined;
24
15
  let hasNext = true;
25
16
  let page;
@@ -39,8 +30,6 @@ async function* paginateDescribeDataSources(config, input, ...additionalArgument
39
30
  token = page.NextToken;
40
31
  hasNext = !!token;
41
32
  }
42
- // @ts-ignore
43
33
  return undefined;
44
34
  }
45
35
  exports.paginateDescribeDataSources = paginateDescribeDataSources;
46
- //# sourceMappingURL=DescribeDataSourcesPaginator.js.map
@@ -1,25 +1,16 @@
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
- /**
8
- * @private
9
- */
10
7
  const makePagedClientRequest = async (client, input, ...args) => {
11
- // @ts-ignore
12
8
  return await client.send(new DescribeEvaluationsCommand_1.DescribeEvaluationsCommand(input), ...args);
13
9
  };
14
- /**
15
- * @private
16
- */
17
10
  const makePagedRequest = async (client, input, ...args) => {
18
- // @ts-ignore
19
11
  return await client.describeEvaluations(input, ...args);
20
12
  };
21
13
  async function* paginateDescribeEvaluations(config, input, ...additionalArguments) {
22
- // ToDo: replace with actual type instead of typeof input.NextToken
23
14
  let token = config.startingToken || undefined;
24
15
  let hasNext = true;
25
16
  let page;
@@ -39,8 +30,6 @@ async function* paginateDescribeEvaluations(config, input, ...additionalArgument
39
30
  token = page.NextToken;
40
31
  hasNext = !!token;
41
32
  }
42
- // @ts-ignore
43
33
  return undefined;
44
34
  }
45
35
  exports.paginateDescribeEvaluations = paginateDescribeEvaluations;
46
- //# sourceMappingURL=DescribeEvaluationsPaginator.js.map
@@ -1,25 +1,16 @@
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
- /**
8
- * @private
9
- */
10
7
  const makePagedClientRequest = async (client, input, ...args) => {
11
- // @ts-ignore
12
8
  return await client.send(new DescribeMLModelsCommand_1.DescribeMLModelsCommand(input), ...args);
13
9
  };
14
- /**
15
- * @private
16
- */
17
10
  const makePagedRequest = async (client, input, ...args) => {
18
- // @ts-ignore
19
11
  return await client.describeMLModels(input, ...args);
20
12
  };
21
13
  async function* paginateDescribeMLModels(config, input, ...additionalArguments) {
22
- // ToDo: replace with actual type instead of typeof input.NextToken
23
14
  let token = config.startingToken || undefined;
24
15
  let hasNext = true;
25
16
  let page;
@@ -39,8 +30,6 @@ async function* paginateDescribeMLModels(config, input, ...additionalArguments)
39
30
  token = page.NextToken;
40
31
  hasNext = !!token;
41
32
  }
42
- // @ts-ignore
43
33
  return undefined;
44
34
  }
45
35
  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
@@ -3156,14 +3156,12 @@ const deserializeMetadata = (output) => {
3156
3156
  cfId: output.headers["x-amz-cf-id"],
3157
3157
  });
3158
3158
  };
3159
- // Collect low-level response body stream to Uint8Array.
3160
3159
  const collectBody = (streamBody = new Uint8Array(), context) => {
3161
3160
  if (streamBody instanceof Uint8Array) {
3162
3161
  return Promise.resolve(streamBody);
3163
3162
  }
3164
3163
  return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
3165
3164
  };
3166
- // Encode Uint8Array data into string with utf-8.
3167
3165
  const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
3168
3166
  const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
3169
3167
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
@@ -3189,9 +3187,6 @@ const parseBody = (streamBody, context) => collectBodyString(streamBody, context
3189
3187
  }
3190
3188
  return {};
3191
3189
  });
3192
- /**
3193
- * Load an error code for the aws.rest-json-1.1 protocol.
3194
- */
3195
3190
  const loadRestJsonErrorCode = (output, data) => {
3196
3191
  const findKey = (object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase());
3197
3192
  const sanitizeErrorCode = (rawValue) => {
@@ -3216,4 +3211,3 @@ const loadRestJsonErrorCode = (output, data) => {
3216
3211
  }
3217
3212
  return "";
3218
3213
  };
3219
- //# sourceMappingURL=Aws_json1_1.js.map
@@ -2,7 +2,7 @@
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
+ const package_json_1 = tslib_1.__importDefault(require("../package.json"));
6
6
  const sha256_browser_1 = require("@aws-crypto/sha256-browser");
7
7
  const fetch_http_handler_1 = require("@aws-sdk/fetch-http-handler");
8
8
  const invalid_dependency_1 = require("@aws-sdk/invalid-dependency");
@@ -12,9 +12,6 @@ const util_body_length_browser_1 = require("@aws-sdk/util-body-length-browser");
12
12
  const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
13
13
  const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
14
14
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
15
- /**
16
- * @internal
17
- */
18
15
  const getRuntimeConfig = (config) => {
19
16
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
20
17
  const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
@@ -38,4 +35,3 @@ const getRuntimeConfig = (config) => {
38
35
  };
39
36
  };
40
37
  exports.getRuntimeConfig = getRuntimeConfig;
41
- //# sourceMappingURL=runtimeConfig.browser.js.map
@@ -2,7 +2,7 @@
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
+ const package_json_1 = tslib_1.__importDefault(require("../package.json"));
6
6
  const client_sts_1 = require("@aws-sdk/client-sts");
7
7
  const config_resolver_1 = require("@aws-sdk/config-resolver");
8
8
  const credential_provider_node_1 = require("@aws-sdk/credential-provider-node");
@@ -16,9 +16,6 @@ const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
16
16
  const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
17
17
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
18
18
  const smithy_client_1 = require("@aws-sdk/smithy-client");
19
- /**
20
- * @internal
21
- */
22
19
  const getRuntimeConfig = (config) => {
23
20
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
24
21
  smithy_client_1.emitWarningIfUnsupportedVersion(process.version);
@@ -43,4 +40,3 @@ const getRuntimeConfig = (config) => {
43
40
  };
44
41
  };
45
42
  exports.getRuntimeConfig = getRuntimeConfig;
46
- //# sourceMappingURL=runtimeConfig.js.map
@@ -3,9 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const sha256_js_1 = require("@aws-crypto/sha256-js");
5
5
  const runtimeConfig_browser_1 = require("./runtimeConfig.browser");
6
- /**
7
- * @internal
8
- */
9
6
  const getRuntimeConfig = (config) => {
10
7
  var _a;
11
8
  const browserDefaults = runtimeConfig_browser_1.getRuntimeConfig(config);
@@ -17,4 +14,3 @@ const getRuntimeConfig = (config) => {
17
14
  };
18
15
  };
19
16
  exports.getRuntimeConfig = getRuntimeConfig;
20
- //# sourceMappingURL=runtimeConfig.native.js.map
@@ -1,11 +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");
6
- /**
7
- * @internal
8
- */
5
+ const endpoints_1 = require("./endpoints");
9
6
  const getRuntimeConfig = (config) => {
10
7
  var _a, _b, _c, _d, _e;
11
8
  return ({
@@ -18,4 +15,3 @@ const getRuntimeConfig = (config) => {
18
15
  });
19
16
  };
20
17
  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
  }
@@ -46,24 +46,14 @@ const checkState = async (client, input) => {
46
46
  }
47
47
  return { state: util_waiter_1.WaiterState.RETRY, reason };
48
48
  };
49
- /**
50
- *
51
- * @deprecated Use waitUntilBatchPredictionAvailable instead. waitForBatchPredictionAvailable does not throw error in non-success cases.
52
- */
53
49
  const waitForBatchPredictionAvailable = async (params, input) => {
54
50
  const serviceDefaults = { minDelay: 30, maxDelay: 120 };
55
51
  return util_waiter_1.createWaiter({ ...serviceDefaults, ...params }, input, checkState);
56
52
  };
57
53
  exports.waitForBatchPredictionAvailable = waitForBatchPredictionAvailable;
58
- /**
59
- *
60
- * @param params - Waiter configuration options.
61
- * @param input - The input to DescribeBatchPredictionsCommand for polling.
62
- */
63
54
  const waitUntilBatchPredictionAvailable = async (params, input) => {
64
55
  const serviceDefaults = { minDelay: 30, maxDelay: 120 };
65
56
  const result = await util_waiter_1.createWaiter({ ...serviceDefaults, ...params }, input, checkState);
66
57
  return util_waiter_1.checkExceptions(result);
67
58
  };
68
59
  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
  }
@@ -46,24 +46,14 @@ const checkState = async (client, input) => {
46
46
  }
47
47
  return { state: util_waiter_1.WaiterState.RETRY, reason };
48
48
  };
49
- /**
50
- *
51
- * @deprecated Use waitUntilDataSourceAvailable instead. waitForDataSourceAvailable does not throw error in non-success cases.
52
- */
53
49
  const waitForDataSourceAvailable = async (params, input) => {
54
50
  const serviceDefaults = { minDelay: 30, maxDelay: 120 };
55
51
  return util_waiter_1.createWaiter({ ...serviceDefaults, ...params }, input, checkState);
56
52
  };
57
53
  exports.waitForDataSourceAvailable = waitForDataSourceAvailable;
58
- /**
59
- *
60
- * @param params - Waiter configuration options.
61
- * @param input - The input to DescribeDataSourcesCommand for polling.
62
- */
63
54
  const waitUntilDataSourceAvailable = async (params, input) => {
64
55
  const serviceDefaults = { minDelay: 30, maxDelay: 120 };
65
56
  const result = await util_waiter_1.createWaiter({ ...serviceDefaults, ...params }, input, checkState);
66
57
  return util_waiter_1.checkExceptions(result);
67
58
  };
68
59
  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
  }
@@ -46,24 +46,14 @@ const checkState = async (client, input) => {
46
46
  }
47
47
  return { state: util_waiter_1.WaiterState.RETRY, reason };
48
48
  };
49
- /**
50
- *
51
- * @deprecated Use waitUntilEvaluationAvailable instead. waitForEvaluationAvailable does not throw error in non-success cases.
52
- */
53
49
  const waitForEvaluationAvailable = async (params, input) => {
54
50
  const serviceDefaults = { minDelay: 30, maxDelay: 120 };
55
51
  return util_waiter_1.createWaiter({ ...serviceDefaults, ...params }, input, checkState);
56
52
  };
57
53
  exports.waitForEvaluationAvailable = waitForEvaluationAvailable;
58
- /**
59
- *
60
- * @param params - Waiter configuration options.
61
- * @param input - The input to DescribeEvaluationsCommand for polling.
62
- */
63
54
  const waitUntilEvaluationAvailable = async (params, input) => {
64
55
  const serviceDefaults = { minDelay: 30, maxDelay: 120 };
65
56
  const result = await util_waiter_1.createWaiter({ ...serviceDefaults, ...params }, input, checkState);
66
57
  return util_waiter_1.checkExceptions(result);
67
58
  };
68
59
  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
  }
@@ -46,24 +46,14 @@ const checkState = async (client, input) => {
46
46
  }
47
47
  return { state: util_waiter_1.WaiterState.RETRY, reason };
48
48
  };
49
- /**
50
- *
51
- * @deprecated Use waitUntilMLModelAvailable instead. waitForMLModelAvailable does not throw error in non-success cases.
52
- */
53
49
  const waitForMLModelAvailable = async (params, input) => {
54
50
  const serviceDefaults = { minDelay: 30, maxDelay: 120 };
55
51
  return util_waiter_1.createWaiter({ ...serviceDefaults, ...params }, input, checkState);
56
52
  };
57
53
  exports.waitForMLModelAvailable = waitForMLModelAvailable;
58
- /**
59
- *
60
- * @param params - Waiter configuration options.
61
- * @param input - The input to DescribeMLModelsCommand for polling.
62
- */
63
54
  const waitUntilMLModelAvailable = async (params, input) => {
64
55
  const serviceDefaults = { minDelay: 30, maxDelay: 120 };
65
56
  const result = await util_waiter_1.createWaiter({ ...serviceDefaults, ...params }, input, checkState);
66
57
  return util_waiter_1.checkExceptions(result);
67
58
  };
68
59
  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,6 +27,7 @@ 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";
30
+ import { MachineLearningClient } from "./MachineLearningClient";
31
31
  var MachineLearning = (function (_super) {
32
32
  __extends(MachineLearning, _super);
33
33
  function MachineLearning() {
@@ -428,4 +428,3 @@ var MachineLearning = (function (_super) {
428
428
  return MachineLearning;
429
429
  }(MachineLearningClient));
430
430
  export { MachineLearning };
431
- //# 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,6 +7,7 @@ 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";
10
+ import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
11
11
  var MachineLearningClient = (function (_super) {
12
12
  __extends(MachineLearningClient, _super);
13
13
  function MachineLearningClient(configuration) {
@@ -35,4 +35,3 @@ var MachineLearningClient = (function (_super) {
35
35
  return MachineLearningClient;
36
36
  }(__Client));
37
37
  export { MachineLearningClient };
38
- //# sourceMappingURL=MachineLearningClient.js.map
@@ -1,8 +1,8 @@
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";
4
+ import { AddTagsInput, AddTagsOutput } from "../models/models_0";
5
+ import { deserializeAws_json1_1AddTagsCommand, serializeAws_json1_1AddTagsCommand } from "../protocols/Aws_json1_1";
6
6
  var AddTagsCommand = (function (_super) {
7
7
  __extends(AddTagsCommand, _super);
8
8
  function AddTagsCommand(input) {
@@ -37,4 +37,3 @@ var AddTagsCommand = (function (_super) {
37
37
  return AddTagsCommand;
38
38
  }($Command));
39
39
  export { AddTagsCommand };
40
- //# sourceMappingURL=AddTagsCommand.js.map
@@ -1,8 +1,8 @@
1
1
  import { __extends } from "tslib";
2
- import { CreateBatchPredictionInput, CreateBatchPredictionOutput } from "../models/models_0";
3
- import { deserializeAws_json1_1CreateBatchPredictionCommand, serializeAws_json1_1CreateBatchPredictionCommand, } 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";
4
+ import { CreateBatchPredictionInput, CreateBatchPredictionOutput } from "../models/models_0";
5
+ import { deserializeAws_json1_1CreateBatchPredictionCommand, serializeAws_json1_1CreateBatchPredictionCommand, } from "../protocols/Aws_json1_1";
6
6
  var CreateBatchPredictionCommand = (function (_super) {
7
7
  __extends(CreateBatchPredictionCommand, _super);
8
8
  function CreateBatchPredictionCommand(input) {
@@ -37,4 +37,3 @@ var CreateBatchPredictionCommand = (function (_super) {
37
37
  return CreateBatchPredictionCommand;
38
38
  }($Command));
39
39
  export { CreateBatchPredictionCommand };
40
- //# sourceMappingURL=CreateBatchPredictionCommand.js.map
@@ -1,8 +1,8 @@
1
1
  import { __extends } from "tslib";
2
- import { CreateDataSourceFromRDSInput, CreateDataSourceFromRDSOutput } from "../models/models_0";
3
- import { deserializeAws_json1_1CreateDataSourceFromRDSCommand, serializeAws_json1_1CreateDataSourceFromRDSCommand, } 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";
4
+ import { CreateDataSourceFromRDSInput, CreateDataSourceFromRDSOutput } from "../models/models_0";
5
+ import { deserializeAws_json1_1CreateDataSourceFromRDSCommand, serializeAws_json1_1CreateDataSourceFromRDSCommand, } from "../protocols/Aws_json1_1";
6
6
  var CreateDataSourceFromRDSCommand = (function (_super) {
7
7
  __extends(CreateDataSourceFromRDSCommand, _super);
8
8
  function CreateDataSourceFromRDSCommand(input) {
@@ -37,4 +37,3 @@ var CreateDataSourceFromRDSCommand = (function (_super) {
37
37
  return CreateDataSourceFromRDSCommand;
38
38
  }($Command));
39
39
  export { CreateDataSourceFromRDSCommand };
40
- //# sourceMappingURL=CreateDataSourceFromRDSCommand.js.map