@aws-sdk/client-machine-learning 3.34.0 → 3.35.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 (432) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/{dist/cjs → dist-cjs}/MachineLearning.js +1 -1
  3. package/dist-cjs/MachineLearning.js.map +1 -0
  4. package/{dist/cjs → dist-cjs}/MachineLearningClient.js +8 -8
  5. package/dist-cjs/MachineLearningClient.js.map +1 -0
  6. package/{dist/cjs → dist-cjs}/commands/AddTagsCommand.js +2 -2
  7. package/dist-cjs/commands/AddTagsCommand.js.map +1 -0
  8. package/{dist/cjs → dist-cjs}/commands/CreateBatchPredictionCommand.js +2 -2
  9. package/dist-cjs/commands/CreateBatchPredictionCommand.js.map +1 -0
  10. package/{dist/cjs → dist-cjs}/commands/CreateDataSourceFromRDSCommand.js +2 -2
  11. package/dist-cjs/commands/CreateDataSourceFromRDSCommand.js.map +1 -0
  12. package/{dist/cjs → dist-cjs}/commands/CreateDataSourceFromRedshiftCommand.js +2 -2
  13. package/{dist/cjs → dist-cjs}/commands/CreateDataSourceFromRedshiftCommand.js.map +1 -1
  14. package/{dist/cjs → dist-cjs}/commands/CreateDataSourceFromS3Command.js +2 -2
  15. package/dist-cjs/commands/CreateDataSourceFromS3Command.js.map +1 -0
  16. package/{dist/cjs → dist-cjs}/commands/CreateEvaluationCommand.js +2 -2
  17. package/dist-cjs/commands/CreateEvaluationCommand.js.map +1 -0
  18. package/{dist/cjs → dist-cjs}/commands/CreateMLModelCommand.js +2 -2
  19. package/dist-cjs/commands/CreateMLModelCommand.js.map +1 -0
  20. package/{dist/cjs → dist-cjs}/commands/CreateRealtimeEndpointCommand.js +2 -2
  21. package/dist-cjs/commands/CreateRealtimeEndpointCommand.js.map +1 -0
  22. package/{dist/cjs → dist-cjs}/commands/DeleteBatchPredictionCommand.js +2 -2
  23. package/dist-cjs/commands/DeleteBatchPredictionCommand.js.map +1 -0
  24. package/{dist/cjs → dist-cjs}/commands/DeleteDataSourceCommand.js +2 -2
  25. package/dist-cjs/commands/DeleteDataSourceCommand.js.map +1 -0
  26. package/{dist/cjs → dist-cjs}/commands/DeleteEvaluationCommand.js +2 -2
  27. package/dist-cjs/commands/DeleteEvaluationCommand.js.map +1 -0
  28. package/{dist/cjs → dist-cjs}/commands/DeleteMLModelCommand.js +2 -2
  29. package/dist-cjs/commands/DeleteMLModelCommand.js.map +1 -0
  30. package/{dist/cjs → dist-cjs}/commands/DeleteRealtimeEndpointCommand.js +2 -2
  31. package/dist-cjs/commands/DeleteRealtimeEndpointCommand.js.map +1 -0
  32. package/{dist/cjs → dist-cjs}/commands/DeleteTagsCommand.js +2 -2
  33. package/{dist/cjs/commands/GetMLModelCommand.js.map → dist-cjs/commands/DeleteTagsCommand.js.map} +1 -1
  34. package/{dist/cjs → dist-cjs}/commands/DescribeBatchPredictionsCommand.js +2 -2
  35. package/dist-cjs/commands/DescribeBatchPredictionsCommand.js.map +1 -0
  36. package/{dist/cjs → dist-cjs}/commands/DescribeDataSourcesCommand.js +2 -2
  37. package/dist-cjs/commands/DescribeDataSourcesCommand.js.map +1 -0
  38. package/{dist/cjs → dist-cjs}/commands/DescribeEvaluationsCommand.js +2 -2
  39. package/dist-cjs/commands/DescribeEvaluationsCommand.js.map +1 -0
  40. package/{dist/cjs → dist-cjs}/commands/DescribeMLModelsCommand.js +2 -2
  41. package/{dist/cjs/commands/UpdateDataSourceCommand.js.map → dist-cjs/commands/DescribeMLModelsCommand.js.map} +1 -1
  42. package/{dist/cjs → dist-cjs}/commands/DescribeTagsCommand.js +2 -2
  43. package/dist-cjs/commands/DescribeTagsCommand.js.map +1 -0
  44. package/{dist/cjs → dist-cjs}/commands/GetBatchPredictionCommand.js +2 -2
  45. package/dist-cjs/commands/GetBatchPredictionCommand.js.map +1 -0
  46. package/{dist/cjs → dist-cjs}/commands/GetDataSourceCommand.js +2 -2
  47. package/dist-cjs/commands/GetDataSourceCommand.js.map +1 -0
  48. package/{dist/cjs → dist-cjs}/commands/GetEvaluationCommand.js +2 -2
  49. package/{dist/cjs/commands/UpdateMLModelCommand.js.map → dist-cjs/commands/GetEvaluationCommand.js.map} +1 -1
  50. package/{dist/cjs → dist-cjs}/commands/GetMLModelCommand.js +2 -2
  51. package/dist-cjs/commands/GetMLModelCommand.js.map +1 -0
  52. package/{dist/cjs → dist-cjs}/commands/PredictCommand.js +2 -2
  53. package/dist-cjs/commands/PredictCommand.js.map +1 -0
  54. package/{dist/cjs → dist-cjs}/commands/UpdateBatchPredictionCommand.js +2 -2
  55. package/dist-cjs/commands/UpdateBatchPredictionCommand.js.map +1 -0
  56. package/{dist/cjs → dist-cjs}/commands/UpdateDataSourceCommand.js +2 -2
  57. package/dist-cjs/commands/UpdateDataSourceCommand.js.map +1 -0
  58. package/{dist/cjs → dist-cjs}/commands/UpdateEvaluationCommand.js +2 -2
  59. package/dist-cjs/commands/UpdateEvaluationCommand.js.map +1 -0
  60. package/{dist/cjs → dist-cjs}/commands/UpdateMLModelCommand.js +2 -2
  61. package/dist-cjs/commands/UpdateMLModelCommand.js.map +1 -0
  62. package/{dist/cjs → dist-cjs}/endpoints.js +0 -0
  63. package/dist-cjs/endpoints.js.map +1 -0
  64. package/{dist/cjs → dist-cjs}/index.js +0 -0
  65. package/dist-cjs/index.js.map +1 -0
  66. package/{dist/cjs → dist-cjs}/models/index.js +0 -0
  67. package/{dist/cjs → dist-cjs}/models/index.js.map +1 -1
  68. package/{dist/cjs → dist-cjs}/models/models_0.js +0 -0
  69. package/dist-cjs/models/models_0.js.map +1 -0
  70. package/{dist/cjs → dist-cjs}/pagination/DescribeBatchPredictionsPaginator.js +1 -1
  71. package/dist-cjs/pagination/DescribeBatchPredictionsPaginator.js.map +1 -0
  72. package/{dist/cjs → dist-cjs}/pagination/DescribeDataSourcesPaginator.js +1 -1
  73. package/dist-cjs/pagination/DescribeDataSourcesPaginator.js.map +1 -0
  74. package/{dist/cjs → dist-cjs}/pagination/DescribeEvaluationsPaginator.js +1 -1
  75. package/dist-cjs/pagination/DescribeEvaluationsPaginator.js.map +1 -0
  76. package/{dist/cjs → dist-cjs}/pagination/DescribeMLModelsPaginator.js +1 -1
  77. package/dist-cjs/pagination/DescribeMLModelsPaginator.js.map +1 -0
  78. package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -0
  79. package/{dist/cjs → dist-cjs}/pagination/Interfaces.js.map +1 -1
  80. package/{dist/cjs → dist-cjs}/protocols/Aws_json1_1.js +0 -0
  81. package/dist-cjs/protocols/Aws_json1_1.js.map +1 -0
  82. package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +2 -1
  83. package/dist-cjs/runtimeConfig.browser.js.map +1 -0
  84. package/{dist/cjs → dist-cjs}/runtimeConfig.js +3 -2
  85. package/dist-cjs/runtimeConfig.js.map +1 -0
  86. package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -0
  87. package/dist-cjs/runtimeConfig.native.js.map +1 -0
  88. package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -1
  89. package/dist-cjs/runtimeConfig.shared.js.map +1 -0
  90. package/{dist/cjs → dist-cjs}/waiters/waitForBatchPredictionAvailable.js +10 -10
  91. package/dist-cjs/waiters/waitForBatchPredictionAvailable.js.map +1 -0
  92. package/{dist/cjs → dist-cjs}/waiters/waitForDataSourceAvailable.js +10 -10
  93. package/dist-cjs/waiters/waitForDataSourceAvailable.js.map +1 -0
  94. package/{dist/cjs → dist-cjs}/waiters/waitForEvaluationAvailable.js +10 -10
  95. package/dist-cjs/waiters/waitForEvaluationAvailable.js.map +1 -0
  96. package/{dist/cjs → dist-cjs}/waiters/waitForMLModelAvailable.js +10 -10
  97. package/dist-cjs/waiters/waitForMLModelAvailable.js.map +1 -0
  98. package/{dist/es → dist-es}/MachineLearning.js +1 -1
  99. package/dist-es/MachineLearning.js.map +1 -0
  100. package/{dist/es → dist-es}/MachineLearningClient.js +1 -1
  101. package/dist-es/MachineLearningClient.js.map +1 -0
  102. package/{dist/es → dist-es}/commands/AddTagsCommand.js +2 -2
  103. package/dist-es/commands/AddTagsCommand.js.map +1 -0
  104. package/{dist/es → dist-es}/commands/CreateBatchPredictionCommand.js +2 -2
  105. package/dist-es/commands/CreateBatchPredictionCommand.js.map +1 -0
  106. package/{dist/es → dist-es}/commands/CreateDataSourceFromRDSCommand.js +2 -2
  107. package/dist-es/commands/CreateDataSourceFromRDSCommand.js.map +1 -0
  108. package/{dist/es → dist-es}/commands/CreateDataSourceFromRedshiftCommand.js +2 -2
  109. package/dist-es/commands/CreateDataSourceFromRedshiftCommand.js.map +1 -0
  110. package/{dist/es → dist-es}/commands/CreateDataSourceFromS3Command.js +2 -2
  111. package/dist-es/commands/CreateDataSourceFromS3Command.js.map +1 -0
  112. package/{dist/es → dist-es}/commands/CreateEvaluationCommand.js +2 -2
  113. package/dist-es/commands/CreateEvaluationCommand.js.map +1 -0
  114. package/{dist/es → dist-es}/commands/CreateMLModelCommand.js +2 -2
  115. package/dist-es/commands/CreateMLModelCommand.js.map +1 -0
  116. package/{dist/es → dist-es}/commands/CreateRealtimeEndpointCommand.js +2 -2
  117. package/dist-es/commands/CreateRealtimeEndpointCommand.js.map +1 -0
  118. package/{dist/es → dist-es}/commands/DeleteBatchPredictionCommand.js +2 -2
  119. package/dist-es/commands/DeleteBatchPredictionCommand.js.map +1 -0
  120. package/{dist/es → dist-es}/commands/DeleteDataSourceCommand.js +2 -2
  121. package/dist-es/commands/DeleteDataSourceCommand.js.map +1 -0
  122. package/{dist/es → dist-es}/commands/DeleteEvaluationCommand.js +2 -2
  123. package/dist-es/commands/DeleteEvaluationCommand.js.map +1 -0
  124. package/{dist/es → dist-es}/commands/DeleteMLModelCommand.js +2 -2
  125. package/dist-es/commands/DeleteMLModelCommand.js.map +1 -0
  126. package/{dist/es → dist-es}/commands/DeleteRealtimeEndpointCommand.js +2 -2
  127. package/dist-es/commands/DeleteRealtimeEndpointCommand.js.map +1 -0
  128. package/{dist/es → dist-es}/commands/DeleteTagsCommand.js +2 -2
  129. package/dist-es/commands/DeleteTagsCommand.js.map +1 -0
  130. package/{dist/es → dist-es}/commands/DescribeBatchPredictionsCommand.js +2 -2
  131. package/dist-es/commands/DescribeBatchPredictionsCommand.js.map +1 -0
  132. package/{dist/es → dist-es}/commands/DescribeDataSourcesCommand.js +2 -2
  133. package/dist-es/commands/DescribeDataSourcesCommand.js.map +1 -0
  134. package/{dist/es → dist-es}/commands/DescribeEvaluationsCommand.js +2 -2
  135. package/dist-es/commands/DescribeEvaluationsCommand.js.map +1 -0
  136. package/{dist/es → dist-es}/commands/DescribeMLModelsCommand.js +2 -2
  137. package/dist-es/commands/DescribeMLModelsCommand.js.map +1 -0
  138. package/{dist/es → dist-es}/commands/DescribeTagsCommand.js +2 -2
  139. package/dist-es/commands/DescribeTagsCommand.js.map +1 -0
  140. package/{dist/es → dist-es}/commands/GetBatchPredictionCommand.js +2 -2
  141. package/dist-es/commands/GetBatchPredictionCommand.js.map +1 -0
  142. package/{dist/es → dist-es}/commands/GetDataSourceCommand.js +2 -2
  143. package/dist-es/commands/GetDataSourceCommand.js.map +1 -0
  144. package/{dist/es → dist-es}/commands/GetEvaluationCommand.js +2 -2
  145. package/dist-es/commands/GetEvaluationCommand.js.map +1 -0
  146. package/{dist/es → dist-es}/commands/GetMLModelCommand.js +2 -2
  147. package/dist-es/commands/GetMLModelCommand.js.map +1 -0
  148. package/{dist/es → dist-es}/commands/PredictCommand.js +2 -2
  149. package/dist-es/commands/PredictCommand.js.map +1 -0
  150. package/{dist/es → dist-es}/commands/UpdateBatchPredictionCommand.js +2 -2
  151. package/dist-es/commands/UpdateBatchPredictionCommand.js.map +1 -0
  152. package/{dist/es → dist-es}/commands/UpdateDataSourceCommand.js +2 -2
  153. package/dist-es/commands/UpdateDataSourceCommand.js.map +1 -0
  154. package/{dist/es → dist-es}/commands/UpdateEvaluationCommand.js +2 -2
  155. package/dist-es/commands/UpdateEvaluationCommand.js.map +1 -0
  156. package/{dist/es → dist-es}/commands/UpdateMLModelCommand.js +2 -2
  157. package/dist-es/commands/UpdateMLModelCommand.js.map +1 -0
  158. package/{dist/es → dist-es}/endpoints.js +0 -0
  159. package/dist-es/endpoints.js.map +1 -0
  160. package/{dist/es → dist-es}/index.js +0 -0
  161. package/dist-es/index.js.map +1 -0
  162. package/{dist/es → dist-es}/models/index.js +0 -0
  163. package/dist-es/models/index.js.map +1 -0
  164. package/{dist/es → dist-es}/models/models_0.js +0 -0
  165. package/dist-es/models/models_0.js.map +1 -0
  166. package/{dist/es → dist-es}/pagination/DescribeBatchPredictionsPaginator.js +1 -1
  167. package/dist-es/pagination/DescribeBatchPredictionsPaginator.js.map +1 -0
  168. package/{dist/es → dist-es}/pagination/DescribeDataSourcesPaginator.js +1 -1
  169. package/dist-es/pagination/DescribeDataSourcesPaginator.js.map +1 -0
  170. package/{dist/es → dist-es}/pagination/DescribeEvaluationsPaginator.js +1 -1
  171. package/dist-es/pagination/DescribeEvaluationsPaginator.js.map +1 -0
  172. package/{dist/es → dist-es}/pagination/DescribeMLModelsPaginator.js +1 -1
  173. package/dist-es/pagination/DescribeMLModelsPaginator.js.map +1 -0
  174. package/{dist/es → dist-es}/pagination/Interfaces.js +0 -0
  175. package/{dist/es → dist-es}/pagination/Interfaces.js.map +1 -1
  176. package/{dist/es → dist-es}/protocols/Aws_json1_1.js +0 -0
  177. package/dist-es/protocols/Aws_json1_1.js.map +1 -0
  178. package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -1
  179. package/dist-es/runtimeConfig.browser.js.map +1 -0
  180. package/{dist/es → dist-es}/runtimeConfig.js +2 -2
  181. package/dist-es/runtimeConfig.js.map +1 -0
  182. package/{dist/es → dist-es}/runtimeConfig.native.js +0 -0
  183. package/dist-es/runtimeConfig.native.js.map +1 -0
  184. package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -1
  185. package/dist-es/runtimeConfig.shared.js.map +1 -0
  186. package/{dist/es → dist-es}/waiters/waitForBatchPredictionAvailable.js +1 -1
  187. package/dist-es/waiters/waitForBatchPredictionAvailable.js.map +1 -0
  188. package/{dist/es → dist-es}/waiters/waitForDataSourceAvailable.js +1 -1
  189. package/dist-es/waiters/waitForDataSourceAvailable.js.map +1 -0
  190. package/{dist/es → dist-es}/waiters/waitForEvaluationAvailable.js +1 -1
  191. package/dist-es/waiters/waitForEvaluationAvailable.js.map +1 -0
  192. package/{dist/es → dist-es}/waiters/waitForMLModelAvailable.js +1 -1
  193. package/dist-es/waiters/waitForMLModelAvailable.js.map +1 -0
  194. package/{dist/types → dist-types}/MachineLearning.d.ts +2 -2
  195. package/{dist/types → dist-types}/MachineLearningClient.d.ts +8 -8
  196. package/{dist/types → dist-types}/commands/AddTagsCommand.d.ts +2 -2
  197. package/{dist/types → dist-types}/commands/CreateBatchPredictionCommand.d.ts +2 -2
  198. package/{dist/types → dist-types}/commands/CreateDataSourceFromRDSCommand.d.ts +2 -2
  199. package/{dist/types → dist-types}/commands/CreateDataSourceFromRedshiftCommand.d.ts +2 -2
  200. package/{dist/types → dist-types}/commands/CreateDataSourceFromS3Command.d.ts +2 -2
  201. package/{dist/types → dist-types}/commands/CreateEvaluationCommand.d.ts +2 -2
  202. package/{dist/types → dist-types}/commands/CreateMLModelCommand.d.ts +2 -2
  203. package/{dist/types → dist-types}/commands/CreateRealtimeEndpointCommand.d.ts +2 -2
  204. package/{dist/types → dist-types}/commands/DeleteBatchPredictionCommand.d.ts +2 -2
  205. package/{dist/types → dist-types}/commands/DeleteDataSourceCommand.d.ts +2 -2
  206. package/{dist/types → dist-types}/commands/DeleteEvaluationCommand.d.ts +2 -2
  207. package/{dist/types → dist-types}/commands/DeleteMLModelCommand.d.ts +2 -2
  208. package/{dist/types → dist-types}/commands/DeleteRealtimeEndpointCommand.d.ts +2 -2
  209. package/{dist/types → dist-types}/commands/DeleteTagsCommand.d.ts +2 -2
  210. package/{dist/types → dist-types}/commands/DescribeBatchPredictionsCommand.d.ts +2 -2
  211. package/{dist/types → dist-types}/commands/DescribeDataSourcesCommand.d.ts +2 -2
  212. package/{dist/types → dist-types}/commands/DescribeEvaluationsCommand.d.ts +2 -2
  213. package/{dist/types → dist-types}/commands/DescribeMLModelsCommand.d.ts +2 -2
  214. package/{dist/types → dist-types}/commands/DescribeTagsCommand.d.ts +2 -2
  215. package/{dist/types → dist-types}/commands/GetBatchPredictionCommand.d.ts +2 -2
  216. package/{dist/types → dist-types}/commands/GetDataSourceCommand.d.ts +2 -2
  217. package/{dist/types → dist-types}/commands/GetEvaluationCommand.d.ts +2 -2
  218. package/{dist/types → dist-types}/commands/GetMLModelCommand.d.ts +2 -2
  219. package/{dist/types → dist-types}/commands/PredictCommand.d.ts +2 -2
  220. package/{dist/types → dist-types}/commands/UpdateBatchPredictionCommand.d.ts +2 -2
  221. package/{dist/types → dist-types}/commands/UpdateDataSourceCommand.d.ts +2 -2
  222. package/{dist/types → dist-types}/commands/UpdateEvaluationCommand.d.ts +2 -2
  223. package/{dist/types → dist-types}/commands/UpdateMLModelCommand.d.ts +2 -2
  224. package/{dist/types → dist-types}/endpoints.d.ts +0 -0
  225. package/{dist/types → dist-types}/index.d.ts +0 -0
  226. package/{dist/types → dist-types}/models/index.d.ts +0 -0
  227. package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
  228. package/{dist/types → dist-types}/pagination/DescribeBatchPredictionsPaginator.d.ts +1 -1
  229. package/{dist/types → dist-types}/pagination/DescribeDataSourcesPaginator.d.ts +1 -1
  230. package/{dist/types → dist-types}/pagination/DescribeEvaluationsPaginator.d.ts +1 -1
  231. package/{dist/types → dist-types}/pagination/DescribeMLModelsPaginator.d.ts +1 -1
  232. package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
  233. package/{dist/types → dist-types}/protocols/Aws_json1_1.d.ts +2 -2
  234. package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +0 -0
  235. package/{dist/types → dist-types}/runtimeConfig.d.ts +1 -1
  236. package/{dist/types → dist-types}/runtimeConfig.native.d.ts +0 -0
  237. package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
  238. package/{dist/types → dist-types}/ts3.4/MachineLearning.d.ts +2 -2
  239. package/{dist/types → dist-types}/ts3.4/MachineLearningClient.d.ts +8 -8
  240. package/{dist/types → dist-types}/ts3.4/commands/AddTagsCommand.d.ts +2 -2
  241. package/{dist/types → dist-types}/ts3.4/commands/CreateBatchPredictionCommand.d.ts +2 -2
  242. package/{dist/types → dist-types}/ts3.4/commands/CreateDataSourceFromRDSCommand.d.ts +2 -2
  243. package/{dist/types → dist-types}/ts3.4/commands/CreateDataSourceFromRedshiftCommand.d.ts +2 -2
  244. package/{dist/types → dist-types}/ts3.4/commands/CreateDataSourceFromS3Command.d.ts +2 -2
  245. package/{dist/types → dist-types}/ts3.4/commands/CreateEvaluationCommand.d.ts +2 -2
  246. package/{dist/types → dist-types}/ts3.4/commands/CreateMLModelCommand.d.ts +2 -2
  247. package/{dist/types → dist-types}/ts3.4/commands/CreateRealtimeEndpointCommand.d.ts +2 -2
  248. package/{dist/types → dist-types}/ts3.4/commands/DeleteBatchPredictionCommand.d.ts +2 -2
  249. package/{dist/types → dist-types}/ts3.4/commands/DeleteDataSourceCommand.d.ts +2 -2
  250. package/{dist/types → dist-types}/ts3.4/commands/DeleteEvaluationCommand.d.ts +2 -2
  251. package/{dist/types → dist-types}/ts3.4/commands/DeleteMLModelCommand.d.ts +2 -2
  252. package/{dist/types → dist-types}/ts3.4/commands/DeleteRealtimeEndpointCommand.d.ts +2 -2
  253. package/{dist/types → dist-types}/ts3.4/commands/DeleteTagsCommand.d.ts +2 -2
  254. package/{dist/types → dist-types}/ts3.4/commands/DescribeBatchPredictionsCommand.d.ts +2 -2
  255. package/{dist/types → dist-types}/ts3.4/commands/DescribeDataSourcesCommand.d.ts +2 -2
  256. package/{dist/types → dist-types}/ts3.4/commands/DescribeEvaluationsCommand.d.ts +2 -2
  257. package/{dist/types → dist-types}/ts3.4/commands/DescribeMLModelsCommand.d.ts +2 -2
  258. package/{dist/types → dist-types}/ts3.4/commands/DescribeTagsCommand.d.ts +2 -2
  259. package/{dist/types → dist-types}/ts3.4/commands/GetBatchPredictionCommand.d.ts +2 -2
  260. package/{dist/types → dist-types}/ts3.4/commands/GetDataSourceCommand.d.ts +2 -2
  261. package/{dist/types → dist-types}/ts3.4/commands/GetEvaluationCommand.d.ts +2 -2
  262. package/{dist/types → dist-types}/ts3.4/commands/GetMLModelCommand.d.ts +2 -2
  263. package/{dist/types → dist-types}/ts3.4/commands/PredictCommand.d.ts +2 -2
  264. package/{dist/types → dist-types}/ts3.4/commands/UpdateBatchPredictionCommand.d.ts +2 -2
  265. package/{dist/types → dist-types}/ts3.4/commands/UpdateDataSourceCommand.d.ts +2 -2
  266. package/{dist/types → dist-types}/ts3.4/commands/UpdateEvaluationCommand.d.ts +2 -2
  267. package/{dist/types → dist-types}/ts3.4/commands/UpdateMLModelCommand.d.ts +2 -2
  268. package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
  269. package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
  270. package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
  271. package/{dist/types → dist-types}/ts3.4/models/models_0.d.ts +0 -0
  272. package/{dist/types → dist-types}/ts3.4/pagination/DescribeBatchPredictionsPaginator.d.ts +1 -1
  273. package/{dist/types → dist-types}/ts3.4/pagination/DescribeDataSourcesPaginator.d.ts +1 -1
  274. package/{dist/types → dist-types}/ts3.4/pagination/DescribeEvaluationsPaginator.d.ts +1 -1
  275. package/{dist/types → dist-types}/ts3.4/pagination/DescribeMLModelsPaginator.d.ts +1 -1
  276. package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
  277. package/{dist/types → dist-types}/ts3.4/protocols/Aws_json1_1.d.ts +2 -2
  278. package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +0 -0
  279. package/{dist/types → dist-types}/ts3.4/runtimeConfig.d.ts +1 -1
  280. package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +0 -0
  281. package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +0 -0
  282. package/{dist/types → dist-types}/ts3.4/waiters/waitForBatchPredictionAvailable.d.ts +2 -2
  283. package/{dist/types → dist-types}/ts3.4/waiters/waitForDataSourceAvailable.d.ts +2 -2
  284. package/{dist/types → dist-types}/ts3.4/waiters/waitForEvaluationAvailable.d.ts +2 -2
  285. package/{dist/types → dist-types}/ts3.4/waiters/waitForMLModelAvailable.d.ts +2 -2
  286. package/{dist/types → dist-types}/waiters/waitForBatchPredictionAvailable.d.ts +2 -2
  287. package/{dist/types → dist-types}/waiters/waitForDataSourceAvailable.d.ts +2 -2
  288. package/{dist/types → dist-types}/waiters/waitForEvaluationAvailable.d.ts +2 -2
  289. package/{dist/types → dist-types}/waiters/waitForMLModelAvailable.d.ts +2 -2
  290. package/package.json +44 -44
  291. package/{MachineLearning.ts → src/MachineLearning.ts} +3 -2
  292. package/{MachineLearningClient.ts → src/MachineLearningClient.ts} +58 -57
  293. package/{commands → src/commands}/AddTagsCommand.ts +5 -4
  294. package/{commands → src/commands}/CreateBatchPredictionCommand.ts +8 -7
  295. package/{commands → src/commands}/CreateDataSourceFromRDSCommand.ts +8 -7
  296. package/{commands → src/commands}/CreateDataSourceFromRedshiftCommand.ts +8 -7
  297. package/{commands → src/commands}/CreateDataSourceFromS3Command.ts +8 -7
  298. package/{commands → src/commands}/CreateEvaluationCommand.ts +8 -7
  299. package/{commands → src/commands}/CreateMLModelCommand.ts +8 -7
  300. package/{commands → src/commands}/CreateRealtimeEndpointCommand.ts +8 -7
  301. package/{commands → src/commands}/DeleteBatchPredictionCommand.ts +8 -7
  302. package/{commands → src/commands}/DeleteDataSourceCommand.ts +8 -7
  303. package/{commands → src/commands}/DeleteEvaluationCommand.ts +8 -7
  304. package/{commands → src/commands}/DeleteMLModelCommand.ts +8 -7
  305. package/{commands → src/commands}/DeleteRealtimeEndpointCommand.ts +8 -7
  306. package/{commands → src/commands}/DeleteTagsCommand.ts +8 -7
  307. package/{commands → src/commands}/DescribeBatchPredictionsCommand.ts +8 -7
  308. package/{commands → src/commands}/DescribeDataSourcesCommand.ts +8 -7
  309. package/{commands → src/commands}/DescribeEvaluationsCommand.ts +8 -7
  310. package/{commands → src/commands}/DescribeMLModelsCommand.ts +8 -7
  311. package/{commands → src/commands}/DescribeTagsCommand.ts +8 -7
  312. package/{commands → src/commands}/GetBatchPredictionCommand.ts +8 -7
  313. package/{commands → src/commands}/GetDataSourceCommand.ts +8 -7
  314. package/{commands → src/commands}/GetEvaluationCommand.ts +8 -7
  315. package/{commands → src/commands}/GetMLModelCommand.ts +8 -7
  316. package/{commands → src/commands}/PredictCommand.ts +5 -4
  317. package/{commands → src/commands}/UpdateBatchPredictionCommand.ts +8 -7
  318. package/{commands → src/commands}/UpdateDataSourceCommand.ts +8 -7
  319. package/{commands → src/commands}/UpdateEvaluationCommand.ts +8 -7
  320. package/{commands → src/commands}/UpdateMLModelCommand.ts +8 -7
  321. package/{endpoints.ts → src/endpoints.ts} +1 -1
  322. package/{index.ts → src/index.ts} +0 -0
  323. package/{models → src/models}/index.ts +0 -0
  324. package/{models → src/models}/models_0.ts +0 -0
  325. package/{pagination → src/pagination}/DescribeBatchPredictionsPaginator.ts +4 -3
  326. package/{pagination → src/pagination}/DescribeDataSourcesPaginator.ts +4 -3
  327. package/{pagination → src/pagination}/DescribeEvaluationsPaginator.ts +4 -3
  328. package/{pagination → src/pagination}/DescribeMLModelsPaginator.ts +4 -3
  329. package/{pagination → src/pagination}/Interfaces.ts +2 -1
  330. package/{protocols → src/protocols}/Aws_json1_1.ts +52 -51
  331. package/{runtimeConfig.browser.ts → src/runtimeConfig.browser.ts} +3 -2
  332. package/{runtimeConfig.native.ts → src/runtimeConfig.native.ts} +1 -0
  333. package/{runtimeConfig.shared.ts → src/runtimeConfig.shared.ts} +2 -1
  334. package/{runtimeConfig.ts → src/runtimeConfig.ts} +4 -3
  335. package/{waiters → src/waiters}/waitForBatchPredictionAvailable.ts +12 -11
  336. package/{waiters → src/waiters}/waitForDataSourceAvailable.ts +12 -11
  337. package/{waiters → src/waiters}/waitForEvaluationAvailable.ts +12 -11
  338. package/{waiters → src/waiters}/waitForMLModelAvailable.ts +12 -11
  339. package/tsconfig.es.json +1 -1
  340. package/tsconfig.json +4 -2
  341. package/tsconfig.types.json +3 -2
  342. package/dist/cjs/MachineLearning.js.map +0 -1
  343. package/dist/cjs/MachineLearningClient.js.map +0 -1
  344. package/dist/cjs/commands/AddTagsCommand.js.map +0 -1
  345. package/dist/cjs/commands/CreateBatchPredictionCommand.js.map +0 -1
  346. package/dist/cjs/commands/CreateDataSourceFromRDSCommand.js.map +0 -1
  347. package/dist/cjs/commands/CreateDataSourceFromS3Command.js.map +0 -1
  348. package/dist/cjs/commands/CreateEvaluationCommand.js.map +0 -1
  349. package/dist/cjs/commands/CreateMLModelCommand.js.map +0 -1
  350. package/dist/cjs/commands/CreateRealtimeEndpointCommand.js.map +0 -1
  351. package/dist/cjs/commands/DeleteBatchPredictionCommand.js.map +0 -1
  352. package/dist/cjs/commands/DeleteDataSourceCommand.js.map +0 -1
  353. package/dist/cjs/commands/DeleteEvaluationCommand.js.map +0 -1
  354. package/dist/cjs/commands/DeleteMLModelCommand.js.map +0 -1
  355. package/dist/cjs/commands/DeleteRealtimeEndpointCommand.js.map +0 -1
  356. package/dist/cjs/commands/DeleteTagsCommand.js.map +0 -1
  357. package/dist/cjs/commands/DescribeBatchPredictionsCommand.js.map +0 -1
  358. package/dist/cjs/commands/DescribeDataSourcesCommand.js.map +0 -1
  359. package/dist/cjs/commands/DescribeEvaluationsCommand.js.map +0 -1
  360. package/dist/cjs/commands/DescribeMLModelsCommand.js.map +0 -1
  361. package/dist/cjs/commands/DescribeTagsCommand.js.map +0 -1
  362. package/dist/cjs/commands/GetBatchPredictionCommand.js.map +0 -1
  363. package/dist/cjs/commands/GetDataSourceCommand.js.map +0 -1
  364. package/dist/cjs/commands/GetEvaluationCommand.js.map +0 -1
  365. package/dist/cjs/commands/PredictCommand.js.map +0 -1
  366. package/dist/cjs/commands/UpdateBatchPredictionCommand.js.map +0 -1
  367. package/dist/cjs/commands/UpdateEvaluationCommand.js.map +0 -1
  368. package/dist/cjs/endpoints.js.map +0 -1
  369. package/dist/cjs/index.js.map +0 -1
  370. package/dist/cjs/models/models_0.js.map +0 -1
  371. package/dist/cjs/package.json +0 -93
  372. package/dist/cjs/pagination/DescribeBatchPredictionsPaginator.js.map +0 -1
  373. package/dist/cjs/pagination/DescribeDataSourcesPaginator.js.map +0 -1
  374. package/dist/cjs/pagination/DescribeEvaluationsPaginator.js.map +0 -1
  375. package/dist/cjs/pagination/DescribeMLModelsPaginator.js.map +0 -1
  376. package/dist/cjs/protocols/Aws_json1_1.js.map +0 -1
  377. package/dist/cjs/runtimeConfig.browser.js.map +0 -1
  378. package/dist/cjs/runtimeConfig.js.map +0 -1
  379. package/dist/cjs/runtimeConfig.native.js.map +0 -1
  380. package/dist/cjs/runtimeConfig.shared.js.map +0 -1
  381. package/dist/cjs/waiters/waitForBatchPredictionAvailable.js.map +0 -1
  382. package/dist/cjs/waiters/waitForDataSourceAvailable.js.map +0 -1
  383. package/dist/cjs/waiters/waitForEvaluationAvailable.js.map +0 -1
  384. package/dist/cjs/waiters/waitForMLModelAvailable.js.map +0 -1
  385. package/dist/es/MachineLearning.js.map +0 -1
  386. package/dist/es/MachineLearningClient.js.map +0 -1
  387. package/dist/es/commands/AddTagsCommand.js.map +0 -1
  388. package/dist/es/commands/CreateBatchPredictionCommand.js.map +0 -1
  389. package/dist/es/commands/CreateDataSourceFromRDSCommand.js.map +0 -1
  390. package/dist/es/commands/CreateDataSourceFromRedshiftCommand.js.map +0 -1
  391. package/dist/es/commands/CreateDataSourceFromS3Command.js.map +0 -1
  392. package/dist/es/commands/CreateEvaluationCommand.js.map +0 -1
  393. package/dist/es/commands/CreateMLModelCommand.js.map +0 -1
  394. package/dist/es/commands/CreateRealtimeEndpointCommand.js.map +0 -1
  395. package/dist/es/commands/DeleteBatchPredictionCommand.js.map +0 -1
  396. package/dist/es/commands/DeleteDataSourceCommand.js.map +0 -1
  397. package/dist/es/commands/DeleteEvaluationCommand.js.map +0 -1
  398. package/dist/es/commands/DeleteMLModelCommand.js.map +0 -1
  399. package/dist/es/commands/DeleteRealtimeEndpointCommand.js.map +0 -1
  400. package/dist/es/commands/DeleteTagsCommand.js.map +0 -1
  401. package/dist/es/commands/DescribeBatchPredictionsCommand.js.map +0 -1
  402. package/dist/es/commands/DescribeDataSourcesCommand.js.map +0 -1
  403. package/dist/es/commands/DescribeEvaluationsCommand.js.map +0 -1
  404. package/dist/es/commands/DescribeMLModelsCommand.js.map +0 -1
  405. package/dist/es/commands/DescribeTagsCommand.js.map +0 -1
  406. package/dist/es/commands/GetBatchPredictionCommand.js.map +0 -1
  407. package/dist/es/commands/GetDataSourceCommand.js.map +0 -1
  408. package/dist/es/commands/GetEvaluationCommand.js.map +0 -1
  409. package/dist/es/commands/GetMLModelCommand.js.map +0 -1
  410. package/dist/es/commands/PredictCommand.js.map +0 -1
  411. package/dist/es/commands/UpdateBatchPredictionCommand.js.map +0 -1
  412. package/dist/es/commands/UpdateDataSourceCommand.js.map +0 -1
  413. package/dist/es/commands/UpdateEvaluationCommand.js.map +0 -1
  414. package/dist/es/commands/UpdateMLModelCommand.js.map +0 -1
  415. package/dist/es/endpoints.js.map +0 -1
  416. package/dist/es/index.js.map +0 -1
  417. package/dist/es/models/index.js.map +0 -1
  418. package/dist/es/models/models_0.js.map +0 -1
  419. package/dist/es/package.json +0 -93
  420. package/dist/es/pagination/DescribeBatchPredictionsPaginator.js.map +0 -1
  421. package/dist/es/pagination/DescribeDataSourcesPaginator.js.map +0 -1
  422. package/dist/es/pagination/DescribeEvaluationsPaginator.js.map +0 -1
  423. package/dist/es/pagination/DescribeMLModelsPaginator.js.map +0 -1
  424. package/dist/es/protocols/Aws_json1_1.js.map +0 -1
  425. package/dist/es/runtimeConfig.browser.js.map +0 -1
  426. package/dist/es/runtimeConfig.js.map +0 -1
  427. package/dist/es/runtimeConfig.native.js.map +0 -1
  428. package/dist/es/runtimeConfig.shared.js.map +0 -1
  429. package/dist/es/waiters/waitForBatchPredictionAvailable.js.map +0 -1
  430. package/dist/es/waiters/waitForDataSourceAvailable.js.map +0 -1
  431. package/dist/es/waiters/waitForEvaluationAvailable.js.map +0 -1
  432. package/dist/es/waiters/waitForMLModelAvailable.js.map +0 -1
@@ -1,9 +1,3 @@
1
- import { MachineLearningClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MachineLearningClient";
2
- import { UpdateEvaluationInput, UpdateEvaluationOutput } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1UpdateEvaluationCommand,
5
- serializeAws_json1_1UpdateEvaluationCommand,
6
- } from "../protocols/Aws_json1_1";
7
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
2
  import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
@@ -11,12 +5,19 @@ import {
11
5
  FinalizeHandlerArguments,
12
6
  Handler,
13
7
  HandlerExecutionContext,
14
- MiddlewareStack,
15
8
  HttpHandlerOptions as __HttpHandlerOptions,
16
9
  MetadataBearer as __MetadataBearer,
10
+ MiddlewareStack,
17
11
  SerdeContext as __SerdeContext,
18
12
  } from "@aws-sdk/types";
19
13
 
14
+ import { MachineLearningClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MachineLearningClient";
15
+ import { UpdateEvaluationInput, UpdateEvaluationOutput } from "../models/models_0";
16
+ import {
17
+ deserializeAws_json1_1UpdateEvaluationCommand,
18
+ serializeAws_json1_1UpdateEvaluationCommand,
19
+ } from "../protocols/Aws_json1_1";
20
+
20
21
  export interface UpdateEvaluationCommandInput extends UpdateEvaluationInput {}
21
22
  export interface UpdateEvaluationCommandOutput extends UpdateEvaluationOutput, __MetadataBearer {}
22
23
 
@@ -1,9 +1,3 @@
1
- import { MachineLearningClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MachineLearningClient";
2
- import { UpdateMLModelInput, UpdateMLModelOutput } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1UpdateMLModelCommand,
5
- serializeAws_json1_1UpdateMLModelCommand,
6
- } from "../protocols/Aws_json1_1";
7
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
2
  import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
@@ -11,12 +5,19 @@ import {
11
5
  FinalizeHandlerArguments,
12
6
  Handler,
13
7
  HandlerExecutionContext,
14
- MiddlewareStack,
15
8
  HttpHandlerOptions as __HttpHandlerOptions,
16
9
  MetadataBearer as __MetadataBearer,
10
+ MiddlewareStack,
17
11
  SerdeContext as __SerdeContext,
18
12
  } from "@aws-sdk/types";
19
13
 
14
+ import { MachineLearningClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MachineLearningClient";
15
+ import { UpdateMLModelInput, UpdateMLModelOutput } from "../models/models_0";
16
+ import {
17
+ deserializeAws_json1_1UpdateMLModelCommand,
18
+ serializeAws_json1_1UpdateMLModelCommand,
19
+ } from "../protocols/Aws_json1_1";
20
+
20
21
  export interface UpdateMLModelCommandInput extends UpdateMLModelInput {}
21
22
  export interface UpdateMLModelCommandOutput extends UpdateMLModelOutput, __MetadataBearer {}
22
23
 
@@ -1,4 +1,4 @@
1
- import { PartitionHash, RegionHash, getRegionInfo } from "@aws-sdk/config-resolver";
1
+ import { getRegionInfo, PartitionHash, RegionHash } from "@aws-sdk/config-resolver";
2
2
  import { RegionInfoProvider } from "@aws-sdk/types";
3
3
 
4
4
  const regionHash: RegionHash = {};
File without changes
File without changes
File without changes
@@ -1,12 +1,13 @@
1
- import { MachineLearning } from "../MachineLearning";
2
- import { MachineLearningClient } from "../MachineLearningClient";
1
+ import { Paginator } from "@aws-sdk/types";
2
+
3
3
  import {
4
4
  DescribeBatchPredictionsCommand,
5
5
  DescribeBatchPredictionsCommandInput,
6
6
  DescribeBatchPredictionsCommandOutput,
7
7
  } from "../commands/DescribeBatchPredictionsCommand";
8
+ import { MachineLearning } from "../MachineLearning";
9
+ import { MachineLearningClient } from "../MachineLearningClient";
8
10
  import { MachineLearningPaginationConfiguration } from "./Interfaces";
9
- import { Paginator } from "@aws-sdk/types";
10
11
 
11
12
  /**
12
13
  * @private
@@ -1,12 +1,13 @@
1
- import { MachineLearning } from "../MachineLearning";
2
- import { MachineLearningClient } from "../MachineLearningClient";
1
+ import { Paginator } from "@aws-sdk/types";
2
+
3
3
  import {
4
4
  DescribeDataSourcesCommand,
5
5
  DescribeDataSourcesCommandInput,
6
6
  DescribeDataSourcesCommandOutput,
7
7
  } from "../commands/DescribeDataSourcesCommand";
8
+ import { MachineLearning } from "../MachineLearning";
9
+ import { MachineLearningClient } from "../MachineLearningClient";
8
10
  import { MachineLearningPaginationConfiguration } from "./Interfaces";
9
- import { Paginator } from "@aws-sdk/types";
10
11
 
11
12
  /**
12
13
  * @private
@@ -1,12 +1,13 @@
1
- import { MachineLearning } from "../MachineLearning";
2
- import { MachineLearningClient } from "../MachineLearningClient";
1
+ import { Paginator } from "@aws-sdk/types";
2
+
3
3
  import {
4
4
  DescribeEvaluationsCommand,
5
5
  DescribeEvaluationsCommandInput,
6
6
  DescribeEvaluationsCommandOutput,
7
7
  } from "../commands/DescribeEvaluationsCommand";
8
+ import { MachineLearning } from "../MachineLearning";
9
+ import { MachineLearningClient } from "../MachineLearningClient";
8
10
  import { MachineLearningPaginationConfiguration } from "./Interfaces";
9
- import { Paginator } from "@aws-sdk/types";
10
11
 
11
12
  /**
12
13
  * @private
@@ -1,12 +1,13 @@
1
- import { MachineLearning } from "../MachineLearning";
2
- import { MachineLearningClient } from "../MachineLearningClient";
1
+ import { Paginator } from "@aws-sdk/types";
2
+
3
3
  import {
4
4
  DescribeMLModelsCommand,
5
5
  DescribeMLModelsCommandInput,
6
6
  DescribeMLModelsCommandOutput,
7
7
  } from "../commands/DescribeMLModelsCommand";
8
+ import { MachineLearning } from "../MachineLearning";
9
+ import { MachineLearningClient } from "../MachineLearningClient";
8
10
  import { MachineLearningPaginationConfiguration } from "./Interfaces";
9
- import { Paginator } from "@aws-sdk/types";
10
11
 
11
12
  /**
12
13
  * @private
@@ -1,6 +1,7 @@
1
+ import { PaginationConfiguration } from "@aws-sdk/types";
2
+
1
3
  import { MachineLearning } from "../MachineLearning";
2
4
  import { MachineLearningClient } from "../MachineLearningClient";
3
- import { PaginationConfiguration } from "@aws-sdk/types";
4
5
 
5
6
  export interface MachineLearningPaginationConfiguration extends PaginationConfiguration {
6
7
  client: MachineLearning | MachineLearningClient;
@@ -1,3 +1,24 @@
1
+ import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
2
+ import {
3
+ expectBoolean as __expectBoolean,
4
+ expectInt32 as __expectInt32,
5
+ expectLong as __expectLong,
6
+ expectNonNull as __expectNonNull,
7
+ expectNumber as __expectNumber,
8
+ expectString as __expectString,
9
+ limitedParseFloat32 as __limitedParseFloat32,
10
+ parseEpochTimestamp as __parseEpochTimestamp,
11
+ serializeFloat as __serializeFloat,
12
+ } from "@aws-sdk/smithy-client";
13
+ import {
14
+ Endpoint as __Endpoint,
15
+ HeaderBag as __HeaderBag,
16
+ MetadataBearer as __MetadataBearer,
17
+ ResponseMetadata as __ResponseMetadata,
18
+ SerdeContext as __SerdeContext,
19
+ SmithyException as __SmithyException,
20
+ } from "@aws-sdk/types";
21
+
1
22
  import { AddTagsCommandInput, AddTagsCommandOutput } from "../commands/AddTagsCommand";
2
23
  import {
3
24
  CreateBatchPredictionCommandInput,
@@ -118,17 +139,17 @@ import {
118
139
  MLModel,
119
140
  PerformanceMetrics,
120
141
  PredictInput,
121
- PredictOutput,
122
142
  Prediction,
123
143
  PredictorNotMountedException,
124
- RDSDataSpec,
144
+ PredictOutput,
125
145
  RDSDatabase,
126
146
  RDSDatabaseCredentials,
147
+ RDSDataSpec,
127
148
  RDSMetadata,
128
149
  RealtimeEndpointInfo,
129
- RedshiftDataSpec,
130
150
  RedshiftDatabase,
131
151
  RedshiftDatabaseCredentials,
152
+ RedshiftDataSpec,
132
153
  RedshiftMetadata,
133
154
  ResourceNotFoundException,
134
155
  S3DataSpec,
@@ -143,26 +164,6 @@ import {
143
164
  UpdateMLModelInput,
144
165
  UpdateMLModelOutput,
145
166
  } from "../models/models_0";
146
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
147
- import {
148
- expectBoolean as __expectBoolean,
149
- expectInt32 as __expectInt32,
150
- expectLong as __expectLong,
151
- expectNonNull as __expectNonNull,
152
- expectNumber as __expectNumber,
153
- expectString as __expectString,
154
- limitedParseFloat32 as __limitedParseFloat32,
155
- parseEpochTimestamp as __parseEpochTimestamp,
156
- serializeFloat as __serializeFloat,
157
- } from "@aws-sdk/smithy-client";
158
- import {
159
- Endpoint as __Endpoint,
160
- HeaderBag as __HeaderBag,
161
- MetadataBearer as __MetadataBearer,
162
- ResponseMetadata as __ResponseMetadata,
163
- SerdeContext as __SerdeContext,
164
- SmithyException as __SmithyException,
165
- } from "@aws-sdk/types";
166
167
 
167
168
  export const serializeAws_json1_1AddTagsCommand = async (
168
169
  input: AddTagsCommandInput,
@@ -554,7 +555,7 @@ const deserializeAws_json1_1AddTagsCommandError = async (
554
555
  body: await parseBody(output.body, context),
555
556
  };
556
557
  let response: __SmithyException & __MetadataBearer & { [key: string]: any };
557
- let errorCode: string = "UnknownError";
558
+ let errorCode = "UnknownError";
558
559
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
559
560
  switch (errorCode) {
560
561
  case "InternalServerException":
@@ -640,7 +641,7 @@ const deserializeAws_json1_1CreateBatchPredictionCommandError = async (
640
641
  body: await parseBody(output.body, context),
641
642
  };
642
643
  let response: __SmithyException & __MetadataBearer & { [key: string]: any };
643
- let errorCode: string = "UnknownError";
644
+ let errorCode = "UnknownError";
644
645
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
645
646
  switch (errorCode) {
646
647
  case "IdempotentParameterMismatchException":
@@ -710,7 +711,7 @@ const deserializeAws_json1_1CreateDataSourceFromRDSCommandError = async (
710
711
  body: await parseBody(output.body, context),
711
712
  };
712
713
  let response: __SmithyException & __MetadataBearer & { [key: string]: any };
713
- let errorCode: string = "UnknownError";
714
+ let errorCode = "UnknownError";
714
715
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
715
716
  switch (errorCode) {
716
717
  case "IdempotentParameterMismatchException":
@@ -780,7 +781,7 @@ const deserializeAws_json1_1CreateDataSourceFromRedshiftCommandError = async (
780
781
  body: await parseBody(output.body, context),
781
782
  };
782
783
  let response: __SmithyException & __MetadataBearer & { [key: string]: any };
783
- let errorCode: string = "UnknownError";
784
+ let errorCode = "UnknownError";
784
785
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
785
786
  switch (errorCode) {
786
787
  case "IdempotentParameterMismatchException":
@@ -850,7 +851,7 @@ const deserializeAws_json1_1CreateDataSourceFromS3CommandError = async (
850
851
  body: await parseBody(output.body, context),
851
852
  };
852
853
  let response: __SmithyException & __MetadataBearer & { [key: string]: any };
853
- let errorCode: string = "UnknownError";
854
+ let errorCode = "UnknownError";
854
855
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
855
856
  switch (errorCode) {
856
857
  case "IdempotentParameterMismatchException":
@@ -920,7 +921,7 @@ const deserializeAws_json1_1CreateEvaluationCommandError = async (
920
921
  body: await parseBody(output.body, context),
921
922
  };
922
923
  let response: __SmithyException & __MetadataBearer & { [key: string]: any };
923
- let errorCode: string = "UnknownError";
924
+ let errorCode = "UnknownError";
924
925
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
925
926
  switch (errorCode) {
926
927
  case "IdempotentParameterMismatchException":
@@ -990,7 +991,7 @@ const deserializeAws_json1_1CreateMLModelCommandError = async (
990
991
  body: await parseBody(output.body, context),
991
992
  };
992
993
  let response: __SmithyException & __MetadataBearer & { [key: string]: any };
993
- let errorCode: string = "UnknownError";
994
+ let errorCode = "UnknownError";
994
995
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
995
996
  switch (errorCode) {
996
997
  case "IdempotentParameterMismatchException":
@@ -1060,7 +1061,7 @@ const deserializeAws_json1_1CreateRealtimeEndpointCommandError = async (
1060
1061
  body: await parseBody(output.body, context),
1061
1062
  };
1062
1063
  let response: __SmithyException & __MetadataBearer & { [key: string]: any };
1063
- let errorCode: string = "UnknownError";
1064
+ let errorCode = "UnknownError";
1064
1065
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1065
1066
  switch (errorCode) {
1066
1067
  case "InternalServerException":
@@ -1130,7 +1131,7 @@ const deserializeAws_json1_1DeleteBatchPredictionCommandError = async (
1130
1131
  body: await parseBody(output.body, context),
1131
1132
  };
1132
1133
  let response: __SmithyException & __MetadataBearer & { [key: string]: any };
1133
- let errorCode: string = "UnknownError";
1134
+ let errorCode = "UnknownError";
1134
1135
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1135
1136
  switch (errorCode) {
1136
1137
  case "InternalServerException":
@@ -1200,7 +1201,7 @@ const deserializeAws_json1_1DeleteDataSourceCommandError = async (
1200
1201
  body: await parseBody(output.body, context),
1201
1202
  };
1202
1203
  let response: __SmithyException & __MetadataBearer & { [key: string]: any };
1203
- let errorCode: string = "UnknownError";
1204
+ let errorCode = "UnknownError";
1204
1205
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1205
1206
  switch (errorCode) {
1206
1207
  case "InternalServerException":
@@ -1270,7 +1271,7 @@ const deserializeAws_json1_1DeleteEvaluationCommandError = async (
1270
1271
  body: await parseBody(output.body, context),
1271
1272
  };
1272
1273
  let response: __SmithyException & __MetadataBearer & { [key: string]: any };
1273
- let errorCode: string = "UnknownError";
1274
+ let errorCode = "UnknownError";
1274
1275
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1275
1276
  switch (errorCode) {
1276
1277
  case "InternalServerException":
@@ -1340,7 +1341,7 @@ const deserializeAws_json1_1DeleteMLModelCommandError = async (
1340
1341
  body: await parseBody(output.body, context),
1341
1342
  };
1342
1343
  let response: __SmithyException & __MetadataBearer & { [key: string]: any };
1343
- let errorCode: string = "UnknownError";
1344
+ let errorCode = "UnknownError";
1344
1345
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1345
1346
  switch (errorCode) {
1346
1347
  case "InternalServerException":
@@ -1410,7 +1411,7 @@ const deserializeAws_json1_1DeleteRealtimeEndpointCommandError = async (
1410
1411
  body: await parseBody(output.body, context),
1411
1412
  };
1412
1413
  let response: __SmithyException & __MetadataBearer & { [key: string]: any };
1413
- let errorCode: string = "UnknownError";
1414
+ let errorCode = "UnknownError";
1414
1415
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1415
1416
  switch (errorCode) {
1416
1417
  case "InternalServerException":
@@ -1480,7 +1481,7 @@ const deserializeAws_json1_1DeleteTagsCommandError = async (
1480
1481
  body: await parseBody(output.body, context),
1481
1482
  };
1482
1483
  let response: __SmithyException & __MetadataBearer & { [key: string]: any };
1483
- let errorCode: string = "UnknownError";
1484
+ let errorCode = "UnknownError";
1484
1485
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1485
1486
  switch (errorCode) {
1486
1487
  case "InternalServerException":
@@ -1558,7 +1559,7 @@ const deserializeAws_json1_1DescribeBatchPredictionsCommandError = async (
1558
1559
  body: await parseBody(output.body, context),
1559
1560
  };
1560
1561
  let response: __SmithyException & __MetadataBearer & { [key: string]: any };
1561
- let errorCode: string = "UnknownError";
1562
+ let errorCode = "UnknownError";
1562
1563
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1563
1564
  switch (errorCode) {
1564
1565
  case "InternalServerException":
@@ -1620,7 +1621,7 @@ const deserializeAws_json1_1DescribeDataSourcesCommandError = async (
1620
1621
  body: await parseBody(output.body, context),
1621
1622
  };
1622
1623
  let response: __SmithyException & __MetadataBearer & { [key: string]: any };
1623
- let errorCode: string = "UnknownError";
1624
+ let errorCode = "UnknownError";
1624
1625
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1625
1626
  switch (errorCode) {
1626
1627
  case "InternalServerException":
@@ -1682,7 +1683,7 @@ const deserializeAws_json1_1DescribeEvaluationsCommandError = async (
1682
1683
  body: await parseBody(output.body, context),
1683
1684
  };
1684
1685
  let response: __SmithyException & __MetadataBearer & { [key: string]: any };
1685
- let errorCode: string = "UnknownError";
1686
+ let errorCode = "UnknownError";
1686
1687
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1687
1688
  switch (errorCode) {
1688
1689
  case "InternalServerException":
@@ -1744,7 +1745,7 @@ const deserializeAws_json1_1DescribeMLModelsCommandError = async (
1744
1745
  body: await parseBody(output.body, context),
1745
1746
  };
1746
1747
  let response: __SmithyException & __MetadataBearer & { [key: string]: any };
1747
- let errorCode: string = "UnknownError";
1748
+ let errorCode = "UnknownError";
1748
1749
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1749
1750
  switch (errorCode) {
1750
1751
  case "InternalServerException":
@@ -1806,7 +1807,7 @@ const deserializeAws_json1_1DescribeTagsCommandError = async (
1806
1807
  body: await parseBody(output.body, context),
1807
1808
  };
1808
1809
  let response: __SmithyException & __MetadataBearer & { [key: string]: any };
1809
- let errorCode: string = "UnknownError";
1810
+ let errorCode = "UnknownError";
1810
1811
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1811
1812
  switch (errorCode) {
1812
1813
  case "InternalServerException":
@@ -1876,7 +1877,7 @@ const deserializeAws_json1_1GetBatchPredictionCommandError = async (
1876
1877
  body: await parseBody(output.body, context),
1877
1878
  };
1878
1879
  let response: __SmithyException & __MetadataBearer & { [key: string]: any };
1879
- let errorCode: string = "UnknownError";
1880
+ let errorCode = "UnknownError";
1880
1881
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1881
1882
  switch (errorCode) {
1882
1883
  case "InternalServerException":
@@ -1946,7 +1947,7 @@ const deserializeAws_json1_1GetDataSourceCommandError = async (
1946
1947
  body: await parseBody(output.body, context),
1947
1948
  };
1948
1949
  let response: __SmithyException & __MetadataBearer & { [key: string]: any };
1949
- let errorCode: string = "UnknownError";
1950
+ let errorCode = "UnknownError";
1950
1951
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1951
1952
  switch (errorCode) {
1952
1953
  case "InternalServerException":
@@ -2016,7 +2017,7 @@ const deserializeAws_json1_1GetEvaluationCommandError = async (
2016
2017
  body: await parseBody(output.body, context),
2017
2018
  };
2018
2019
  let response: __SmithyException & __MetadataBearer & { [key: string]: any };
2019
- let errorCode: string = "UnknownError";
2020
+ let errorCode = "UnknownError";
2020
2021
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2021
2022
  switch (errorCode) {
2022
2023
  case "InternalServerException":
@@ -2086,7 +2087,7 @@ const deserializeAws_json1_1GetMLModelCommandError = async (
2086
2087
  body: await parseBody(output.body, context),
2087
2088
  };
2088
2089
  let response: __SmithyException & __MetadataBearer & { [key: string]: any };
2089
- let errorCode: string = "UnknownError";
2090
+ let errorCode = "UnknownError";
2090
2091
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2091
2092
  switch (errorCode) {
2092
2093
  case "InternalServerException":
@@ -2156,7 +2157,7 @@ const deserializeAws_json1_1PredictCommandError = async (
2156
2157
  body: await parseBody(output.body, context),
2157
2158
  };
2158
2159
  let response: __SmithyException & __MetadataBearer & { [key: string]: any };
2159
- let errorCode: string = "UnknownError";
2160
+ let errorCode = "UnknownError";
2160
2161
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2161
2162
  switch (errorCode) {
2162
2163
  case "InternalServerException":
@@ -2242,7 +2243,7 @@ const deserializeAws_json1_1UpdateBatchPredictionCommandError = async (
2242
2243
  body: await parseBody(output.body, context),
2243
2244
  };
2244
2245
  let response: __SmithyException & __MetadataBearer & { [key: string]: any };
2245
- let errorCode: string = "UnknownError";
2246
+ let errorCode = "UnknownError";
2246
2247
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2247
2248
  switch (errorCode) {
2248
2249
  case "InternalServerException":
@@ -2312,7 +2313,7 @@ const deserializeAws_json1_1UpdateDataSourceCommandError = async (
2312
2313
  body: await parseBody(output.body, context),
2313
2314
  };
2314
2315
  let response: __SmithyException & __MetadataBearer & { [key: string]: any };
2315
- let errorCode: string = "UnknownError";
2316
+ let errorCode = "UnknownError";
2316
2317
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2317
2318
  switch (errorCode) {
2318
2319
  case "InternalServerException":
@@ -2382,7 +2383,7 @@ const deserializeAws_json1_1UpdateEvaluationCommandError = async (
2382
2383
  body: await parseBody(output.body, context),
2383
2384
  };
2384
2385
  let response: __SmithyException & __MetadataBearer & { [key: string]: any };
2385
- let errorCode: string = "UnknownError";
2386
+ let errorCode = "UnknownError";
2386
2387
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2387
2388
  switch (errorCode) {
2388
2389
  case "InternalServerException":
@@ -2452,7 +2453,7 @@ const deserializeAws_json1_1UpdateMLModelCommandError = async (
2452
2453
  body: await parseBody(output.body, context),
2453
2454
  };
2454
2455
  let response: __SmithyException & __MetadataBearer & { [key: string]: any };
2455
- let errorCode: string = "UnknownError";
2456
+ let errorCode = "UnknownError";
2456
2457
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2457
2458
  switch (errorCode) {
2458
2459
  case "InternalServerException":
@@ -1,5 +1,3 @@
1
- import packageInfo from "./package.json";
2
-
3
1
  import { Sha256 } from "@aws-crypto/sha256-browser";
4
2
  import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
5
3
  import { invalidProvider } from "@aws-sdk/invalid-dependency";
@@ -8,6 +6,9 @@ import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser";
8
6
  import { calculateBodyLength } from "@aws-sdk/util-body-length-browser";
9
7
  import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
10
8
  import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser";
9
+
10
+ // @ts-ignore: package.json will be imported from dist folders
11
+ import packageInfo from "../package.json";
11
12
  import { MachineLearningClientConfig } from "./MachineLearningClient";
12
13
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
13
14
 
@@ -1,4 +1,5 @@
1
1
  import { Sha256 } from "@aws-crypto/sha256-js";
2
+
2
3
  import { MachineLearningClientConfig } from "./MachineLearningClient";
3
4
  import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.browser";
4
5
 
@@ -1,6 +1,7 @@
1
- import { defaultRegionInfoProvider } from "./endpoints";
2
1
  import { Logger as __Logger } from "@aws-sdk/types";
3
2
  import { parseUrl } from "@aws-sdk/url-parser";
3
+
4
+ import { defaultRegionInfoProvider } from "./endpoints";
4
5
  import { MachineLearningClientConfig } from "./MachineLearningClient";
5
6
 
6
7
  /**
@@ -1,5 +1,3 @@
1
- import packageInfo from "./package.json";
2
-
3
1
  import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
4
2
  import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS } from "@aws-sdk/config-resolver";
5
3
  import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
@@ -7,13 +5,16 @@ import { Hash } from "@aws-sdk/hash-node";
7
5
  import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry";
8
6
  import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider";
9
7
  import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler";
8
+ import { emitWarningIfUnsupportedVersion } from "@aws-sdk/smithy-client";
10
9
  import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node";
11
10
  import { calculateBodyLength } from "@aws-sdk/util-body-length-node";
12
11
  import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
13
12
  import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
13
+
14
+ // @ts-ignore: package.json will be imported from dist folders
15
+ import packageInfo from "../package.json";
14
16
  import { MachineLearningClientConfig } from "./MachineLearningClient";
15
17
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
16
- import { emitWarningIfUnsupportedVersion } from "@aws-sdk/smithy-client";
17
18
 
18
19
  /**
19
20
  * @internal
@@ -1,9 +1,10 @@
1
- import { MachineLearningClient } from "../MachineLearningClient";
1
+ import { checkExceptions, createWaiter, WaiterConfiguration, WaiterResult, WaiterState } from "@aws-sdk/util-waiter";
2
+
2
3
  import {
3
4
  DescribeBatchPredictionsCommand,
4
5
  DescribeBatchPredictionsCommandInput,
5
6
  } from "../commands/DescribeBatchPredictionsCommand";
6
- import { WaiterConfiguration, WaiterResult, WaiterState, checkExceptions, createWaiter } from "@aws-sdk/util-waiter";
7
+ import { MachineLearningClient } from "../MachineLearningClient";
7
8
 
8
9
  const checkState = async (
9
10
  client: MachineLearningClient,
@@ -11,18 +12,18 @@ const checkState = async (
11
12
  ): Promise<WaiterResult> => {
12
13
  let reason;
13
14
  try {
14
- let result: any = await client.send(new DescribeBatchPredictionsCommand(input));
15
+ const result: any = await client.send(new DescribeBatchPredictionsCommand(input));
15
16
  reason = result;
16
17
  try {
17
- let returnComparator = () => {
18
- let flat_1: any[] = [].concat(...result.Results);
19
- let projection_3 = flat_1.map((element_2: any) => {
18
+ const returnComparator = () => {
19
+ const flat_1: any[] = [].concat(...result.Results);
20
+ const projection_3 = flat_1.map((element_2: any) => {
20
21
  return element_2.Status;
21
22
  });
22
23
  return projection_3;
23
24
  };
24
25
  let allStringEq_5 = returnComparator().length > 0;
25
- for (let element_4 of returnComparator()) {
26
+ for (const element_4 of returnComparator()) {
26
27
  allStringEq_5 = allStringEq_5 && element_4 == "COMPLETED";
27
28
  }
28
29
  if (allStringEq_5) {
@@ -30,14 +31,14 @@ const checkState = async (
30
31
  }
31
32
  } catch (e) {}
32
33
  try {
33
- let returnComparator = () => {
34
- let flat_1: any[] = [].concat(...result.Results);
35
- let projection_3 = flat_1.map((element_2: any) => {
34
+ const returnComparator = () => {
35
+ const flat_1: any[] = [].concat(...result.Results);
36
+ const projection_3 = flat_1.map((element_2: any) => {
36
37
  return element_2.Status;
37
38
  });
38
39
  return projection_3;
39
40
  };
40
- for (let anyStringEq_4 of returnComparator()) {
41
+ for (const anyStringEq_4 of returnComparator()) {
41
42
  if (anyStringEq_4 == "FAILED") {
42
43
  return { state: WaiterState.FAILURE, reason };
43
44
  }
@@ -1,6 +1,7 @@
1
- import { MachineLearningClient } from "../MachineLearningClient";
1
+ import { checkExceptions, createWaiter, WaiterConfiguration, WaiterResult, WaiterState } from "@aws-sdk/util-waiter";
2
+
2
3
  import { DescribeDataSourcesCommand, DescribeDataSourcesCommandInput } from "../commands/DescribeDataSourcesCommand";
3
- import { WaiterConfiguration, WaiterResult, WaiterState, checkExceptions, createWaiter } from "@aws-sdk/util-waiter";
4
+ import { MachineLearningClient } from "../MachineLearningClient";
4
5
 
5
6
  const checkState = async (
6
7
  client: MachineLearningClient,
@@ -8,18 +9,18 @@ const checkState = async (
8
9
  ): Promise<WaiterResult> => {
9
10
  let reason;
10
11
  try {
11
- let result: any = await client.send(new DescribeDataSourcesCommand(input));
12
+ const result: any = await client.send(new DescribeDataSourcesCommand(input));
12
13
  reason = result;
13
14
  try {
14
- let returnComparator = () => {
15
- let flat_1: any[] = [].concat(...result.Results);
16
- let projection_3 = flat_1.map((element_2: any) => {
15
+ const returnComparator = () => {
16
+ const flat_1: any[] = [].concat(...result.Results);
17
+ const projection_3 = flat_1.map((element_2: any) => {
17
18
  return element_2.Status;
18
19
  });
19
20
  return projection_3;
20
21
  };
21
22
  let allStringEq_5 = returnComparator().length > 0;
22
- for (let element_4 of returnComparator()) {
23
+ for (const element_4 of returnComparator()) {
23
24
  allStringEq_5 = allStringEq_5 && element_4 == "COMPLETED";
24
25
  }
25
26
  if (allStringEq_5) {
@@ -27,14 +28,14 @@ const checkState = async (
27
28
  }
28
29
  } catch (e) {}
29
30
  try {
30
- let returnComparator = () => {
31
- let flat_1: any[] = [].concat(...result.Results);
32
- let projection_3 = flat_1.map((element_2: any) => {
31
+ const returnComparator = () => {
32
+ const flat_1: any[] = [].concat(...result.Results);
33
+ const projection_3 = flat_1.map((element_2: any) => {
33
34
  return element_2.Status;
34
35
  });
35
36
  return projection_3;
36
37
  };
37
- for (let anyStringEq_4 of returnComparator()) {
38
+ for (const anyStringEq_4 of returnComparator()) {
38
39
  if (anyStringEq_4 == "FAILED") {
39
40
  return { state: WaiterState.FAILURE, reason };
40
41
  }