@aws-sdk/client-machine-learning 3.32.0 → 3.36.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (350) hide show
  1. package/CHANGELOG.md +44 -0
  2. package/{dist/cjs → dist-cjs}/MachineLearning.js +1 -2
  3. package/{dist/cjs → dist-cjs}/MachineLearningClient.js +8 -9
  4. package/{dist/cjs → dist-cjs}/commands/AddTagsCommand.js +2 -3
  5. package/{dist/cjs → dist-cjs}/commands/CreateBatchPredictionCommand.js +2 -3
  6. package/{dist/cjs → dist-cjs}/commands/CreateDataSourceFromRDSCommand.js +2 -3
  7. package/{dist/cjs → dist-cjs}/commands/CreateDataSourceFromRedshiftCommand.js +2 -3
  8. package/{dist/cjs → dist-cjs}/commands/CreateDataSourceFromS3Command.js +2 -3
  9. package/{dist/cjs → dist-cjs}/commands/CreateEvaluationCommand.js +2 -3
  10. package/{dist/cjs → dist-cjs}/commands/CreateMLModelCommand.js +2 -3
  11. package/{dist/cjs → dist-cjs}/commands/CreateRealtimeEndpointCommand.js +2 -3
  12. package/{dist/cjs → dist-cjs}/commands/DeleteBatchPredictionCommand.js +2 -3
  13. package/{dist/cjs → dist-cjs}/commands/DeleteDataSourceCommand.js +2 -3
  14. package/{dist/cjs → dist-cjs}/commands/DeleteEvaluationCommand.js +2 -3
  15. package/{dist/cjs → dist-cjs}/commands/DeleteMLModelCommand.js +2 -3
  16. package/{dist/cjs → dist-cjs}/commands/DeleteRealtimeEndpointCommand.js +2 -3
  17. package/{dist/cjs → dist-cjs}/commands/DeleteTagsCommand.js +2 -3
  18. package/{dist/cjs → dist-cjs}/commands/DescribeBatchPredictionsCommand.js +2 -3
  19. package/{dist/cjs → dist-cjs}/commands/DescribeDataSourcesCommand.js +2 -3
  20. package/{dist/cjs → dist-cjs}/commands/DescribeEvaluationsCommand.js +2 -3
  21. package/{dist/cjs → dist-cjs}/commands/DescribeMLModelsCommand.js +2 -3
  22. package/{dist/cjs → dist-cjs}/commands/DescribeTagsCommand.js +2 -3
  23. package/{dist/cjs → dist-cjs}/commands/GetBatchPredictionCommand.js +2 -3
  24. package/{dist/cjs → dist-cjs}/commands/GetDataSourceCommand.js +2 -3
  25. package/{dist/cjs → dist-cjs}/commands/GetEvaluationCommand.js +2 -3
  26. package/{dist/cjs → dist-cjs}/commands/GetMLModelCommand.js +2 -3
  27. package/{dist/cjs → dist-cjs}/commands/PredictCommand.js +2 -3
  28. package/{dist/cjs → dist-cjs}/commands/UpdateBatchPredictionCommand.js +2 -3
  29. package/{dist/cjs → dist-cjs}/commands/UpdateDataSourceCommand.js +2 -3
  30. package/{dist/cjs → dist-cjs}/commands/UpdateEvaluationCommand.js +2 -3
  31. package/{dist/cjs → dist-cjs}/commands/UpdateMLModelCommand.js +2 -3
  32. package/{dist/cjs → dist-cjs}/endpoints.js +0 -1
  33. package/{dist/cjs → dist-cjs}/index.js +0 -1
  34. package/{dist/cjs → dist-cjs}/models/index.js +0 -1
  35. package/{dist/cjs → dist-cjs}/models/models_0.js +0 -1
  36. package/{dist/cjs → dist-cjs}/pagination/DescribeBatchPredictionsPaginator.js +1 -2
  37. package/{dist/cjs → dist-cjs}/pagination/DescribeDataSourcesPaginator.js +1 -2
  38. package/{dist/cjs → dist-cjs}/pagination/DescribeEvaluationsPaginator.js +1 -2
  39. package/{dist/cjs → dist-cjs}/pagination/DescribeMLModelsPaginator.js +1 -2
  40. package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -1
  41. package/{dist/cjs → dist-cjs}/protocols/Aws_json1_1.js +0 -1
  42. package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +2 -2
  43. package/{dist/cjs → dist-cjs}/runtimeConfig.js +2 -2
  44. package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -1
  45. package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -2
  46. package/{dist/cjs → dist-cjs}/waiters/waitForBatchPredictionAvailable.js +10 -11
  47. package/{dist/cjs → dist-cjs}/waiters/waitForDataSourceAvailable.js +10 -11
  48. package/{dist/cjs → dist-cjs}/waiters/waitForEvaluationAvailable.js +10 -11
  49. package/{dist/cjs → dist-cjs}/waiters/waitForMLModelAvailable.js +10 -11
  50. package/{dist/es → dist-es}/MachineLearning.js +2 -7
  51. package/{dist/es → dist-es}/MachineLearningClient.js +2 -12
  52. package/{dist/es → dist-es}/commands/AddTagsCommand.js +4 -32
  53. package/dist-es/commands/CreateBatchPredictionCommand.js +39 -0
  54. package/dist-es/commands/CreateDataSourceFromRDSCommand.js +39 -0
  55. package/dist-es/commands/CreateDataSourceFromRedshiftCommand.js +39 -0
  56. package/dist-es/commands/CreateDataSourceFromS3Command.js +39 -0
  57. package/dist-es/commands/CreateEvaluationCommand.js +39 -0
  58. package/dist-es/commands/CreateMLModelCommand.js +39 -0
  59. package/{dist/es → dist-es}/commands/CreateRealtimeEndpointCommand.js +4 -30
  60. package/{dist/es → dist-es}/commands/DeleteBatchPredictionCommand.js +4 -35
  61. package/{dist/es → dist-es}/commands/DeleteDataSourceCommand.js +4 -33
  62. package/{dist/es → dist-es}/commands/DeleteEvaluationCommand.js +4 -35
  63. package/{dist/es → dist-es}/commands/DeleteMLModelCommand.js +4 -35
  64. package/{dist/es → dist-es}/commands/DeleteRealtimeEndpointCommand.js +4 -30
  65. package/{dist/es → dist-es}/commands/DeleteTagsCommand.js +4 -31
  66. package/{dist/es → dist-es}/commands/DescribeBatchPredictionsCommand.js +4 -30
  67. package/{dist/es → dist-es}/commands/DescribeDataSourcesCommand.js +4 -30
  68. package/{dist/es → dist-es}/commands/DescribeEvaluationsCommand.js +4 -30
  69. package/{dist/es → dist-es}/commands/DescribeMLModelsCommand.js +4 -30
  70. package/{dist/es → dist-es}/commands/DescribeTagsCommand.js +4 -30
  71. package/{dist/es → dist-es}/commands/GetBatchPredictionCommand.js +4 -31
  72. package/{dist/es → dist-es}/commands/GetDataSourceCommand.js +4 -33
  73. package/{dist/es → dist-es}/commands/GetEvaluationCommand.js +4 -30
  74. package/{dist/es → dist-es}/commands/GetMLModelCommand.js +4 -32
  75. package/{dist/es → dist-es}/commands/PredictCommand.js +4 -33
  76. package/{dist/es → dist-es}/commands/UpdateBatchPredictionCommand.js +4 -31
  77. package/{dist/es → dist-es}/commands/UpdateDataSourceCommand.js +4 -31
  78. package/{dist/es → dist-es}/commands/UpdateEvaluationCommand.js +4 -31
  79. package/{dist/es → dist-es}/commands/UpdateMLModelCommand.js +4 -31
  80. package/{dist/es → dist-es}/endpoints.js +1 -2
  81. package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
  82. package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
  83. package/{dist/es → dist-es}/models/models_0.js +0 -244
  84. package/{dist/es → dist-es}/pagination/DescribeBatchPredictionsPaginator.js +17 -30
  85. package/{dist/es → dist-es}/pagination/DescribeDataSourcesPaginator.js +17 -30
  86. package/{dist/es → dist-es}/pagination/DescribeEvaluationsPaginator.js +17 -30
  87. package/{dist/es → dist-es}/pagination/DescribeMLModelsPaginator.js +17 -30
  88. package/dist-es/pagination/Interfaces.js +1 -0
  89. package/{dist/es → dist-es}/protocols/Aws_json1_1.js +546 -552
  90. package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -5
  91. package/{dist/es → dist-es}/runtimeConfig.js +1 -5
  92. package/{dist/es → dist-es}/runtimeConfig.native.js +0 -4
  93. package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -5
  94. package/{dist/es → dist-es}/waiters/waitForBatchPredictionAvailable.js +10 -20
  95. package/{dist/es → dist-es}/waiters/waitForDataSourceAvailable.js +10 -20
  96. package/{dist/es → dist-es}/waiters/waitForEvaluationAvailable.js +10 -20
  97. package/{dist/es → dist-es}/waiters/waitForMLModelAvailable.js +10 -20
  98. package/{dist/types → dist-types}/MachineLearning.d.ts +2 -2
  99. package/{dist/types → dist-types}/MachineLearningClient.d.ts +8 -8
  100. package/{dist/types → dist-types}/commands/AddTagsCommand.d.ts +2 -2
  101. package/{dist/types → dist-types}/commands/CreateBatchPredictionCommand.d.ts +2 -2
  102. package/{dist/types → dist-types}/commands/CreateDataSourceFromRDSCommand.d.ts +2 -2
  103. package/{dist/types → dist-types}/commands/CreateDataSourceFromRedshiftCommand.d.ts +2 -2
  104. package/{dist/types → dist-types}/commands/CreateDataSourceFromS3Command.d.ts +2 -2
  105. package/{dist/types → dist-types}/commands/CreateEvaluationCommand.d.ts +2 -2
  106. package/{dist/types → dist-types}/commands/CreateMLModelCommand.d.ts +2 -2
  107. package/{dist/types → dist-types}/commands/CreateRealtimeEndpointCommand.d.ts +2 -2
  108. package/{dist/types → dist-types}/commands/DeleteBatchPredictionCommand.d.ts +2 -2
  109. package/{dist/types → dist-types}/commands/DeleteDataSourceCommand.d.ts +2 -2
  110. package/{dist/types → dist-types}/commands/DeleteEvaluationCommand.d.ts +2 -2
  111. package/{dist/types → dist-types}/commands/DeleteMLModelCommand.d.ts +2 -2
  112. package/{dist/types → dist-types}/commands/DeleteRealtimeEndpointCommand.d.ts +2 -2
  113. package/{dist/types → dist-types}/commands/DeleteTagsCommand.d.ts +2 -2
  114. package/{dist/types → dist-types}/commands/DescribeBatchPredictionsCommand.d.ts +2 -2
  115. package/{dist/types → dist-types}/commands/DescribeDataSourcesCommand.d.ts +2 -2
  116. package/{dist/types → dist-types}/commands/DescribeEvaluationsCommand.d.ts +2 -2
  117. package/{dist/types → dist-types}/commands/DescribeMLModelsCommand.d.ts +2 -2
  118. package/{dist/types → dist-types}/commands/DescribeTagsCommand.d.ts +2 -2
  119. package/{dist/types → dist-types}/commands/GetBatchPredictionCommand.d.ts +2 -2
  120. package/{dist/types → dist-types}/commands/GetDataSourceCommand.d.ts +2 -2
  121. package/{dist/types → dist-types}/commands/GetEvaluationCommand.d.ts +2 -2
  122. package/{dist/types → dist-types}/commands/GetMLModelCommand.d.ts +2 -2
  123. package/{dist/types → dist-types}/commands/PredictCommand.d.ts +2 -2
  124. package/{dist/types → dist-types}/commands/UpdateBatchPredictionCommand.d.ts +2 -2
  125. package/{dist/types → dist-types}/commands/UpdateDataSourceCommand.d.ts +2 -2
  126. package/{dist/types → dist-types}/commands/UpdateEvaluationCommand.d.ts +2 -2
  127. package/{dist/types → dist-types}/commands/UpdateMLModelCommand.d.ts +2 -2
  128. package/{dist/types → dist-types}/endpoints.d.ts +0 -0
  129. package/{index.ts → dist-types/index.d.ts} +0 -0
  130. package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
  131. package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
  132. package/{dist/types → dist-types}/pagination/DescribeBatchPredictionsPaginator.d.ts +1 -1
  133. package/{dist/types → dist-types}/pagination/DescribeDataSourcesPaginator.d.ts +1 -1
  134. package/{dist/types → dist-types}/pagination/DescribeEvaluationsPaginator.d.ts +1 -1
  135. package/{dist/types → dist-types}/pagination/DescribeMLModelsPaginator.d.ts +1 -1
  136. package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
  137. package/{dist/types → dist-types}/protocols/Aws_json1_1.d.ts +2 -2
  138. package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +1 -0
  139. package/{dist/types → dist-types}/runtimeConfig.d.ts +2 -1
  140. package/{dist/types/ts3.4 → dist-types}/runtimeConfig.native.d.ts +36 -35
  141. package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
  142. package/{dist/types → dist-types}/ts3.4/MachineLearning.d.ts +2 -2
  143. package/{dist/types → dist-types}/ts3.4/MachineLearningClient.d.ts +8 -8
  144. package/{dist/types → dist-types}/ts3.4/commands/AddTagsCommand.d.ts +2 -2
  145. package/{dist/types → dist-types}/ts3.4/commands/CreateBatchPredictionCommand.d.ts +2 -2
  146. package/{dist/types → dist-types}/ts3.4/commands/CreateDataSourceFromRDSCommand.d.ts +2 -2
  147. package/{dist/types → dist-types}/ts3.4/commands/CreateDataSourceFromRedshiftCommand.d.ts +2 -2
  148. package/{dist/types → dist-types}/ts3.4/commands/CreateDataSourceFromS3Command.d.ts +2 -2
  149. package/{dist/types → dist-types}/ts3.4/commands/CreateEvaluationCommand.d.ts +2 -2
  150. package/{dist/types → dist-types}/ts3.4/commands/CreateMLModelCommand.d.ts +2 -2
  151. package/{dist/types → dist-types}/ts3.4/commands/CreateRealtimeEndpointCommand.d.ts +2 -2
  152. package/{dist/types → dist-types}/ts3.4/commands/DeleteBatchPredictionCommand.d.ts +2 -2
  153. package/{dist/types → dist-types}/ts3.4/commands/DeleteDataSourceCommand.d.ts +2 -2
  154. package/{dist/types → dist-types}/ts3.4/commands/DeleteEvaluationCommand.d.ts +2 -2
  155. package/{dist/types → dist-types}/ts3.4/commands/DeleteMLModelCommand.d.ts +2 -2
  156. package/{dist/types → dist-types}/ts3.4/commands/DeleteRealtimeEndpointCommand.d.ts +2 -2
  157. package/{dist/types → dist-types}/ts3.4/commands/DeleteTagsCommand.d.ts +2 -2
  158. package/{dist/types → dist-types}/ts3.4/commands/DescribeBatchPredictionsCommand.d.ts +2 -2
  159. package/{dist/types → dist-types}/ts3.4/commands/DescribeDataSourcesCommand.d.ts +2 -2
  160. package/{dist/types → dist-types}/ts3.4/commands/DescribeEvaluationsCommand.d.ts +2 -2
  161. package/{dist/types → dist-types}/ts3.4/commands/DescribeMLModelsCommand.d.ts +2 -2
  162. package/{dist/types → dist-types}/ts3.4/commands/DescribeTagsCommand.d.ts +2 -2
  163. package/{dist/types → dist-types}/ts3.4/commands/GetBatchPredictionCommand.d.ts +2 -2
  164. package/{dist/types → dist-types}/ts3.4/commands/GetDataSourceCommand.d.ts +2 -2
  165. package/{dist/types → dist-types}/ts3.4/commands/GetEvaluationCommand.d.ts +2 -2
  166. package/{dist/types → dist-types}/ts3.4/commands/GetMLModelCommand.d.ts +2 -2
  167. package/{dist/types → dist-types}/ts3.4/commands/PredictCommand.d.ts +2 -2
  168. package/{dist/types → dist-types}/ts3.4/commands/UpdateBatchPredictionCommand.d.ts +2 -2
  169. package/{dist/types → dist-types}/ts3.4/commands/UpdateDataSourceCommand.d.ts +2 -2
  170. package/{dist/types → dist-types}/ts3.4/commands/UpdateEvaluationCommand.d.ts +2 -2
  171. package/{dist/types → dist-types}/ts3.4/commands/UpdateMLModelCommand.d.ts +2 -2
  172. package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
  173. package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
  174. package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
  175. package/{dist/types → dist-types}/ts3.4/models/models_0.d.ts +0 -0
  176. package/{dist/types → dist-types}/ts3.4/pagination/DescribeBatchPredictionsPaginator.d.ts +1 -1
  177. package/{dist/types → dist-types}/ts3.4/pagination/DescribeDataSourcesPaginator.d.ts +1 -1
  178. package/{dist/types → dist-types}/ts3.4/pagination/DescribeEvaluationsPaginator.d.ts +1 -1
  179. package/{dist/types → dist-types}/ts3.4/pagination/DescribeMLModelsPaginator.d.ts +1 -1
  180. package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
  181. package/{dist/types → dist-types}/ts3.4/protocols/Aws_json1_1.d.ts +2 -2
  182. package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -0
  183. package/{dist/types → dist-types}/ts3.4/runtimeConfig.d.ts +2 -1
  184. package/{dist/types → dist-types/ts3.4}/runtimeConfig.native.d.ts +36 -35
  185. package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +0 -0
  186. package/{dist/types → dist-types}/ts3.4/waiters/waitForBatchPredictionAvailable.d.ts +2 -2
  187. package/{dist/types → dist-types}/ts3.4/waiters/waitForDataSourceAvailable.d.ts +2 -2
  188. package/{dist/types → dist-types}/ts3.4/waiters/waitForEvaluationAvailable.d.ts +2 -2
  189. package/{dist/types → dist-types}/ts3.4/waiters/waitForMLModelAvailable.d.ts +2 -2
  190. package/{dist/types → dist-types}/waiters/waitForBatchPredictionAvailable.d.ts +2 -2
  191. package/{dist/types → dist-types}/waiters/waitForDataSourceAvailable.d.ts +2 -2
  192. package/{dist/types → dist-types}/waiters/waitForEvaluationAvailable.d.ts +2 -2
  193. package/{dist/types → dist-types}/waiters/waitForMLModelAvailable.d.ts +2 -2
  194. package/package.json +54 -51
  195. package/MachineLearning.ts +0 -1149
  196. package/MachineLearningClient.ts +0 -353
  197. package/commands/AddTagsCommand.ts +0 -93
  198. package/commands/CreateBatchPredictionCommand.ts +0 -105
  199. package/commands/CreateDataSourceFromRDSCommand.ts +0 -105
  200. package/commands/CreateDataSourceFromRedshiftCommand.ts +0 -131
  201. package/commands/CreateDataSourceFromS3Command.ts +0 -124
  202. package/commands/CreateEvaluationCommand.ts +0 -105
  203. package/commands/CreateMLModelCommand.ts +0 -113
  204. package/commands/CreateRealtimeEndpointCommand.ts +0 -94
  205. package/commands/DeleteBatchPredictionCommand.ts +0 -99
  206. package/commands/DeleteDataSourceCommand.ts +0 -97
  207. package/commands/DeleteEvaluationCommand.ts +0 -99
  208. package/commands/DeleteMLModelCommand.ts +0 -99
  209. package/commands/DeleteRealtimeEndpointCommand.ts +0 -94
  210. package/commands/DeleteTagsCommand.ts +0 -95
  211. package/commands/DescribeBatchPredictionsCommand.ts +0 -94
  212. package/commands/DescribeDataSourcesCommand.ts +0 -94
  213. package/commands/DescribeEvaluationsCommand.ts +0 -94
  214. package/commands/DescribeMLModelsCommand.ts +0 -94
  215. package/commands/DescribeTagsCommand.ts +0 -94
  216. package/commands/GetBatchPredictionCommand.ts +0 -95
  217. package/commands/GetDataSourceCommand.ts +0 -97
  218. package/commands/GetEvaluationCommand.ts +0 -94
  219. package/commands/GetMLModelCommand.ts +0 -96
  220. package/commands/PredictCommand.ts +0 -96
  221. package/commands/UpdateBatchPredictionCommand.ts +0 -95
  222. package/commands/UpdateDataSourceCommand.ts +0 -95
  223. package/commands/UpdateEvaluationCommand.ts +0 -95
  224. package/commands/UpdateMLModelCommand.ts +0 -95
  225. package/dist/cjs/MachineLearning.js.map +0 -1
  226. package/dist/cjs/MachineLearningClient.js.map +0 -1
  227. package/dist/cjs/commands/AddTagsCommand.js.map +0 -1
  228. package/dist/cjs/commands/CreateBatchPredictionCommand.js.map +0 -1
  229. package/dist/cjs/commands/CreateDataSourceFromRDSCommand.js.map +0 -1
  230. package/dist/cjs/commands/CreateDataSourceFromRedshiftCommand.js.map +0 -1
  231. package/dist/cjs/commands/CreateDataSourceFromS3Command.js.map +0 -1
  232. package/dist/cjs/commands/CreateEvaluationCommand.js.map +0 -1
  233. package/dist/cjs/commands/CreateMLModelCommand.js.map +0 -1
  234. package/dist/cjs/commands/CreateRealtimeEndpointCommand.js.map +0 -1
  235. package/dist/cjs/commands/DeleteBatchPredictionCommand.js.map +0 -1
  236. package/dist/cjs/commands/DeleteDataSourceCommand.js.map +0 -1
  237. package/dist/cjs/commands/DeleteEvaluationCommand.js.map +0 -1
  238. package/dist/cjs/commands/DeleteMLModelCommand.js.map +0 -1
  239. package/dist/cjs/commands/DeleteRealtimeEndpointCommand.js.map +0 -1
  240. package/dist/cjs/commands/DeleteTagsCommand.js.map +0 -1
  241. package/dist/cjs/commands/DescribeBatchPredictionsCommand.js.map +0 -1
  242. package/dist/cjs/commands/DescribeDataSourcesCommand.js.map +0 -1
  243. package/dist/cjs/commands/DescribeEvaluationsCommand.js.map +0 -1
  244. package/dist/cjs/commands/DescribeMLModelsCommand.js.map +0 -1
  245. package/dist/cjs/commands/DescribeTagsCommand.js.map +0 -1
  246. package/dist/cjs/commands/GetBatchPredictionCommand.js.map +0 -1
  247. package/dist/cjs/commands/GetDataSourceCommand.js.map +0 -1
  248. package/dist/cjs/commands/GetEvaluationCommand.js.map +0 -1
  249. package/dist/cjs/commands/GetMLModelCommand.js.map +0 -1
  250. package/dist/cjs/commands/PredictCommand.js.map +0 -1
  251. package/dist/cjs/commands/UpdateBatchPredictionCommand.js.map +0 -1
  252. package/dist/cjs/commands/UpdateDataSourceCommand.js.map +0 -1
  253. package/dist/cjs/commands/UpdateEvaluationCommand.js.map +0 -1
  254. package/dist/cjs/commands/UpdateMLModelCommand.js.map +0 -1
  255. package/dist/cjs/endpoints.js.map +0 -1
  256. package/dist/cjs/index.js.map +0 -1
  257. package/dist/cjs/models/index.js.map +0 -1
  258. package/dist/cjs/models/models_0.js.map +0 -1
  259. package/dist/cjs/package.json +0 -93
  260. package/dist/cjs/pagination/DescribeBatchPredictionsPaginator.js.map +0 -1
  261. package/dist/cjs/pagination/DescribeDataSourcesPaginator.js.map +0 -1
  262. package/dist/cjs/pagination/DescribeEvaluationsPaginator.js.map +0 -1
  263. package/dist/cjs/pagination/DescribeMLModelsPaginator.js.map +0 -1
  264. package/dist/cjs/pagination/Interfaces.js.map +0 -1
  265. package/dist/cjs/protocols/Aws_json1_1.js.map +0 -1
  266. package/dist/cjs/runtimeConfig.browser.js.map +0 -1
  267. package/dist/cjs/runtimeConfig.js.map +0 -1
  268. package/dist/cjs/runtimeConfig.native.js.map +0 -1
  269. package/dist/cjs/runtimeConfig.shared.js.map +0 -1
  270. package/dist/cjs/waiters/waitForBatchPredictionAvailable.js.map +0 -1
  271. package/dist/cjs/waiters/waitForDataSourceAvailable.js.map +0 -1
  272. package/dist/cjs/waiters/waitForEvaluationAvailable.js.map +0 -1
  273. package/dist/cjs/waiters/waitForMLModelAvailable.js.map +0 -1
  274. package/dist/es/MachineLearning.js.map +0 -1
  275. package/dist/es/MachineLearningClient.js.map +0 -1
  276. package/dist/es/commands/AddTagsCommand.js.map +0 -1
  277. package/dist/es/commands/CreateBatchPredictionCommand.js +0 -76
  278. package/dist/es/commands/CreateBatchPredictionCommand.js.map +0 -1
  279. package/dist/es/commands/CreateDataSourceFromRDSCommand.js +0 -76
  280. package/dist/es/commands/CreateDataSourceFromRDSCommand.js.map +0 -1
  281. package/dist/es/commands/CreateDataSourceFromRedshiftCommand.js +0 -97
  282. package/dist/es/commands/CreateDataSourceFromRedshiftCommand.js.map +0 -1
  283. package/dist/es/commands/CreateDataSourceFromS3Command.js +0 -95
  284. package/dist/es/commands/CreateDataSourceFromS3Command.js.map +0 -1
  285. package/dist/es/commands/CreateEvaluationCommand.js +0 -76
  286. package/dist/es/commands/CreateEvaluationCommand.js.map +0 -1
  287. package/dist/es/commands/CreateMLModelCommand.js +0 -84
  288. package/dist/es/commands/CreateMLModelCommand.js.map +0 -1
  289. package/dist/es/commands/CreateRealtimeEndpointCommand.js.map +0 -1
  290. package/dist/es/commands/DeleteBatchPredictionCommand.js.map +0 -1
  291. package/dist/es/commands/DeleteDataSourceCommand.js.map +0 -1
  292. package/dist/es/commands/DeleteEvaluationCommand.js.map +0 -1
  293. package/dist/es/commands/DeleteMLModelCommand.js.map +0 -1
  294. package/dist/es/commands/DeleteRealtimeEndpointCommand.js.map +0 -1
  295. package/dist/es/commands/DeleteTagsCommand.js.map +0 -1
  296. package/dist/es/commands/DescribeBatchPredictionsCommand.js.map +0 -1
  297. package/dist/es/commands/DescribeDataSourcesCommand.js.map +0 -1
  298. package/dist/es/commands/DescribeEvaluationsCommand.js.map +0 -1
  299. package/dist/es/commands/DescribeMLModelsCommand.js.map +0 -1
  300. package/dist/es/commands/DescribeTagsCommand.js.map +0 -1
  301. package/dist/es/commands/GetBatchPredictionCommand.js.map +0 -1
  302. package/dist/es/commands/GetDataSourceCommand.js.map +0 -1
  303. package/dist/es/commands/GetEvaluationCommand.js.map +0 -1
  304. package/dist/es/commands/GetMLModelCommand.js.map +0 -1
  305. package/dist/es/commands/PredictCommand.js.map +0 -1
  306. package/dist/es/commands/UpdateBatchPredictionCommand.js.map +0 -1
  307. package/dist/es/commands/UpdateDataSourceCommand.js.map +0 -1
  308. package/dist/es/commands/UpdateEvaluationCommand.js.map +0 -1
  309. package/dist/es/commands/UpdateMLModelCommand.js.map +0 -1
  310. package/dist/es/endpoints.js.map +0 -1
  311. package/dist/es/index.js +0 -41
  312. package/dist/es/index.js.map +0 -1
  313. package/dist/es/models/index.js +0 -2
  314. package/dist/es/models/index.js.map +0 -1
  315. package/dist/es/models/models_0.js.map +0 -1
  316. package/dist/es/package.json +0 -93
  317. package/dist/es/pagination/DescribeBatchPredictionsPaginator.js.map +0 -1
  318. package/dist/es/pagination/DescribeDataSourcesPaginator.js.map +0 -1
  319. package/dist/es/pagination/DescribeEvaluationsPaginator.js.map +0 -1
  320. package/dist/es/pagination/DescribeMLModelsPaginator.js.map +0 -1
  321. package/dist/es/pagination/Interfaces.js +0 -2
  322. package/dist/es/pagination/Interfaces.js.map +0 -1
  323. package/dist/es/protocols/Aws_json1_1.js.map +0 -1
  324. package/dist/es/runtimeConfig.browser.js.map +0 -1
  325. package/dist/es/runtimeConfig.js.map +0 -1
  326. package/dist/es/runtimeConfig.native.js.map +0 -1
  327. package/dist/es/runtimeConfig.shared.js.map +0 -1
  328. package/dist/es/waiters/waitForBatchPredictionAvailable.js.map +0 -1
  329. package/dist/es/waiters/waitForDataSourceAvailable.js.map +0 -1
  330. package/dist/es/waiters/waitForEvaluationAvailable.js.map +0 -1
  331. package/dist/es/waiters/waitForMLModelAvailable.js.map +0 -1
  332. package/endpoints.ts +0 -57
  333. package/jest.config.js +0 -4
  334. package/models/models_0.ts +0 -4066
  335. package/pagination/DescribeBatchPredictionsPaginator.ts +0 -58
  336. package/pagination/DescribeDataSourcesPaginator.ts +0 -58
  337. package/pagination/DescribeEvaluationsPaginator.ts +0 -58
  338. package/pagination/DescribeMLModelsPaginator.ts +0 -58
  339. package/pagination/Interfaces.ts +0 -7
  340. package/protocols/Aws_json1_1.ts +0 -3957
  341. package/runtimeConfig.browser.ts +0 -40
  342. package/runtimeConfig.native.ts +0 -16
  343. package/runtimeConfig.shared.ts +0 -16
  344. package/runtimeConfig.ts +0 -45
  345. package/tsconfig.es.json +0 -12
  346. package/tsconfig.json +0 -32
  347. package/waiters/waitForBatchPredictionAvailable.ts +0 -74
  348. package/waiters/waitForDataSourceAvailable.ts +0 -71
  349. package/waiters/waitForEvaluationAvailable.ts +0 -71
  350. package/waiters/waitForMLModelAvailable.ts +0 -71
@@ -1,4066 +0,0 @@
1
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
2
-
3
- export enum TaggableResourceType {
4
- BATCH_PREDICTION = "BatchPrediction",
5
- DATASOURCE = "DataSource",
6
- EVALUATION = "Evaluation",
7
- ML_MODEL = "MLModel",
8
- }
9
-
10
- /**
11
- * <p>A custom key-value pair associated with an ML object, such as an ML model.</p>
12
- */
13
- export interface Tag {
14
- /**
15
- * <p>A unique identifier for the tag. Valid characters include Unicode letters, digits, white space, _, ., /, =, +, -, %, and @.</p>
16
- */
17
- Key?: string;
18
-
19
- /**
20
- * <p>An optional string, typically used to describe or define the tag. Valid characters include Unicode letters, digits, white space, _, ., /, =, +, -, %, and @.</p>
21
- */
22
- Value?: string;
23
- }
24
-
25
- export namespace Tag {
26
- /**
27
- * @internal
28
- */
29
- export const filterSensitiveLog = (obj: Tag): any => ({
30
- ...obj,
31
- });
32
- }
33
-
34
- export interface AddTagsInput {
35
- /**
36
- * <p>The key-value pairs to use to create tags. If you specify a key without specifying a value, Amazon ML creates a tag with the specified key and a value of null.</p>
37
- */
38
- Tags: Tag[] | undefined;
39
-
40
- /**
41
- * <p>The ID of the ML object to tag. For example, <code>exampleModelId</code>.</p>
42
- */
43
- ResourceId: string | undefined;
44
-
45
- /**
46
- * <p>The type of the ML object to tag.</p>
47
- */
48
- ResourceType: TaggableResourceType | string | undefined;
49
- }
50
-
51
- export namespace AddTagsInput {
52
- /**
53
- * @internal
54
- */
55
- export const filterSensitiveLog = (obj: AddTagsInput): any => ({
56
- ...obj,
57
- });
58
- }
59
-
60
- /**
61
- * <p>Amazon ML returns the following elements.</p>
62
- */
63
- export interface AddTagsOutput {
64
- /**
65
- * <p>The ID of the ML object that was tagged.</p>
66
- */
67
- ResourceId?: string;
68
-
69
- /**
70
- * <p>The type of the ML object that was tagged.</p>
71
- */
72
- ResourceType?: TaggableResourceType | string;
73
- }
74
-
75
- export namespace AddTagsOutput {
76
- /**
77
- * @internal
78
- */
79
- export const filterSensitiveLog = (obj: AddTagsOutput): any => ({
80
- ...obj,
81
- });
82
- }
83
-
84
- /**
85
- * <p>An error on the server occurred when trying to process a request.</p>
86
- */
87
- export interface InternalServerException extends __SmithyException, $MetadataBearer {
88
- name: "InternalServerException";
89
- $fault: "server";
90
- message?: string;
91
- code?: number;
92
- }
93
-
94
- export namespace InternalServerException {
95
- /**
96
- * @internal
97
- */
98
- export const filterSensitiveLog = (obj: InternalServerException): any => ({
99
- ...obj,
100
- });
101
- }
102
-
103
- /**
104
- * <p>An error on the client occurred. Typically, the cause is an invalid input value.</p>
105
- */
106
- export interface InvalidInputException extends __SmithyException, $MetadataBearer {
107
- name: "InvalidInputException";
108
- $fault: "client";
109
- message?: string;
110
- code?: number;
111
- }
112
-
113
- export namespace InvalidInputException {
114
- /**
115
- * @internal
116
- */
117
- export const filterSensitiveLog = (obj: InvalidInputException): any => ({
118
- ...obj,
119
- });
120
- }
121
-
122
- export interface InvalidTagException extends __SmithyException, $MetadataBearer {
123
- name: "InvalidTagException";
124
- $fault: "client";
125
- message?: string;
126
- }
127
-
128
- export namespace InvalidTagException {
129
- /**
130
- * @internal
131
- */
132
- export const filterSensitiveLog = (obj: InvalidTagException): any => ({
133
- ...obj,
134
- });
135
- }
136
-
137
- /**
138
- * <p>A specified resource cannot be located.</p>
139
- */
140
- export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
141
- name: "ResourceNotFoundException";
142
- $fault: "client";
143
- message?: string;
144
- code?: number;
145
- }
146
-
147
- export namespace ResourceNotFoundException {
148
- /**
149
- * @internal
150
- */
151
- export const filterSensitiveLog = (obj: ResourceNotFoundException): any => ({
152
- ...obj,
153
- });
154
- }
155
-
156
- export interface TagLimitExceededException extends __SmithyException, $MetadataBearer {
157
- name: "TagLimitExceededException";
158
- $fault: "client";
159
- message?: string;
160
- }
161
-
162
- export namespace TagLimitExceededException {
163
- /**
164
- * @internal
165
- */
166
- export const filterSensitiveLog = (obj: TagLimitExceededException): any => ({
167
- ...obj,
168
- });
169
- }
170
-
171
- export enum Algorithm {
172
- SGD = "sgd",
173
- }
174
-
175
- export interface CreateBatchPredictionInput {
176
- /**
177
- * <p>A user-supplied ID that uniquely identifies the
178
- * <code>BatchPrediction</code>.</p>
179
- */
180
- BatchPredictionId: string | undefined;
181
-
182
- /**
183
- * <p>A user-supplied name or description of the <code>BatchPrediction</code>. <code>BatchPredictionName</code> can only use the UTF-8 character set.</p>
184
- */
185
- BatchPredictionName?: string;
186
-
187
- /**
188
- * <p>The ID of the <code>MLModel</code> that will generate predictions for the group of observations. </p>
189
- */
190
- MLModelId: string | undefined;
191
-
192
- /**
193
- * <p>The ID of the <code>DataSource</code> that points to the group of observations to predict.</p>
194
- */
195
- BatchPredictionDataSourceId: string | undefined;
196
-
197
- /**
198
- * <p>The location of an Amazon Simple Storage Service (Amazon S3) bucket or directory to store the batch prediction results. The following substrings are not allowed in the <code>s3 key</code> portion of the <code>outputURI</code> field: ':', '//', '/./', '/../'.</p>
199
- * <p>Amazon ML needs permissions to store and retrieve the logs on your behalf. For information about how to set permissions, see the <a href="https://docs.aws.amazon.com/machine-learning/latest/dg">Amazon Machine Learning Developer Guide</a>.</p>
200
- */
201
- OutputUri: string | undefined;
202
- }
203
-
204
- export namespace CreateBatchPredictionInput {
205
- /**
206
- * @internal
207
- */
208
- export const filterSensitiveLog = (obj: CreateBatchPredictionInput): any => ({
209
- ...obj,
210
- });
211
- }
212
-
213
- /**
214
- * <p> Represents the output of a <code>CreateBatchPrediction</code> operation, and is an acknowledgement that Amazon ML received the request.</p>
215
- * <p>The <code>CreateBatchPrediction</code> operation is asynchronous. You can poll for status updates by using the <code>>GetBatchPrediction</code>
216
- * operation and checking the <code>Status</code> parameter of the result.
217
- * </p>
218
- */
219
- export interface CreateBatchPredictionOutput {
220
- /**
221
- * <p>A user-supplied ID that uniquely identifies the <code>BatchPrediction</code>. This value is identical to the value of the
222
- * <code>BatchPredictionId</code> in the request.</p>
223
- */
224
- BatchPredictionId?: string;
225
- }
226
-
227
- export namespace CreateBatchPredictionOutput {
228
- /**
229
- * @internal
230
- */
231
- export const filterSensitiveLog = (obj: CreateBatchPredictionOutput): any => ({
232
- ...obj,
233
- });
234
- }
235
-
236
- /**
237
- * <p>A second request to use or change an object was not allowed. This can result from retrying a request using a parameter that was not present in the original request.</p>
238
- */
239
- export interface IdempotentParameterMismatchException extends __SmithyException, $MetadataBearer {
240
- name: "IdempotentParameterMismatchException";
241
- $fault: "client";
242
- message?: string;
243
- code?: number;
244
- }
245
-
246
- export namespace IdempotentParameterMismatchException {
247
- /**
248
- * @internal
249
- */
250
- export const filterSensitiveLog = (obj: IdempotentParameterMismatchException): any => ({
251
- ...obj,
252
- });
253
- }
254
-
255
- /**
256
- * <p>The database credentials to connect to a database on an RDS DB instance.</p>
257
- */
258
- export interface RDSDatabaseCredentials {
259
- /**
260
- * <p>The username to be used by Amazon ML to connect to database on an Amazon RDS instance.
261
- * The username should have sufficient permissions to execute an <code>RDSSelectSqlQuery</code> query.</p>
262
- */
263
- Username: string | undefined;
264
-
265
- /**
266
- * <p>The password to be used by Amazon ML to connect to a database on an RDS DB instance.
267
- * The password should have sufficient permissions to execute the <code>RDSSelectQuery</code> query.</p>
268
- */
269
- Password: string | undefined;
270
- }
271
-
272
- export namespace RDSDatabaseCredentials {
273
- /**
274
- * @internal
275
- */
276
- export const filterSensitiveLog = (obj: RDSDatabaseCredentials): any => ({
277
- ...obj,
278
- });
279
- }
280
-
281
- /**
282
- * <p>The database details of an Amazon RDS database.</p>
283
- */
284
- export interface RDSDatabase {
285
- /**
286
- * <p>The ID of an RDS DB instance.</p>
287
- */
288
- InstanceIdentifier: string | undefined;
289
-
290
- /**
291
- * <p>The name of a database hosted on an RDS DB instance.</p>
292
- */
293
- DatabaseName: string | undefined;
294
- }
295
-
296
- export namespace RDSDatabase {
297
- /**
298
- * @internal
299
- */
300
- export const filterSensitiveLog = (obj: RDSDatabase): any => ({
301
- ...obj,
302
- });
303
- }
304
-
305
- /**
306
- * <p>The data specification of an Amazon Relational Database Service (Amazon RDS) <code>DataSource</code>.</p>
307
- */
308
- export interface RDSDataSpec {
309
- /**
310
- * <p>Describes the <code>DatabaseName</code> and <code>InstanceIdentifier</code> of an Amazon RDS database.</p>
311
- */
312
- DatabaseInformation: RDSDatabase | undefined;
313
-
314
- /**
315
- * <p>The query that is used to retrieve the observation data for the <code>DataSource</code>.</p>
316
- */
317
- SelectSqlQuery: string | undefined;
318
-
319
- /**
320
- * <p>The AWS Identity and Access Management (IAM) credentials that are used connect to the Amazon RDS database.</p>
321
- */
322
- DatabaseCredentials: RDSDatabaseCredentials | undefined;
323
-
324
- /**
325
- * <p>The Amazon S3 location for staging Amazon RDS data. The data retrieved from Amazon RDS using <code>SelectSqlQuery</code> is stored in this location.</p>
326
- */
327
- S3StagingLocation: string | undefined;
328
-
329
- /**
330
- * <p>A JSON string that represents the splitting and rearrangement
331
- * processing to be applied to a <code>DataSource</code>. If the <code>DataRearrangement</code>
332
- * parameter is not provided, all of the input data is used to create the <code>Datasource</code>.</p>
333
- *
334
- * <p>There are multiple parameters that control what data is used to create a datasource:</p>
335
- * <ul>
336
- * <li>
337
- * <p>
338
- * <b>
339
- * <code>percentBegin</code>
340
- * </b>
341
- * </p>
342
- * <p>Use <code>percentBegin</code> to indicate the beginning of the range of the data used to
343
- * create the Datasource.
344
- * If you do not include <code>percentBegin</code> and <code>percentEnd</code>, Amazon ML includes
345
- * all of the data when creating the datasource.</p>
346
- * </li>
347
- * <li>
348
- * <p>
349
- * <b>
350
- * <code>percentEnd</code>
351
- * </b>
352
- * </p>
353
- * <p>Use <code>percentEnd</code> to indicate the end of the range of the data used to create the
354
- * Datasource. If you do not
355
- * include <code>percentBegin</code> and <code>percentEnd</code>, Amazon ML
356
- * includes all of the data when creating the datasource.</p>
357
- * </li>
358
- * <li>
359
- * <p>
360
- * <b>
361
- * <code>complement</code>
362
- * </b>
363
- * </p>
364
- * <p>The <code>complement</code> parameter instructs Amazon ML to use the data that is
365
- * not included in the range of <code>percentBegin</code> to <code>percentEnd</code> to create a
366
- * datasource. The <code>complement</code> parameter is useful if you need to create
367
- * complementary datasources for training and evaluation.
368
- * To create a complementary datasource, use the same
369
- * values for <code>percentBegin</code> and <code>percentEnd</code>, along with the
370
- * <code>complement</code> parameter.</p>
371
- *
372
- * <p>For example, the following two datasources do not share any data, and can be used to train and evaluate a model. The first datasource has 25 percent of the data, and the second one has 75 percent of the data.</p>
373
- * <p>Datasource for evaluation: <code>{"splitting":{"percentBegin":0, "percentEnd":25}}</code>
374
- * </p>
375
- * <p>Datasource for training: <code>{"splitting":{"percentBegin":0, "percentEnd":25, "complement":"true"}}</code>
376
- * </p>
377
- * </li>
378
- * <li>
379
- * <p>
380
- * <b>
381
- * <code>strategy</code>
382
- * </b>
383
- * </p>
384
- * <p>To change how Amazon ML splits the data for a datasource, use the <code>strategy</code> parameter.</p>
385
- * <p>The default value for the <code>strategy</code> parameter
386
- * is <code>sequential</code>, meaning that Amazon ML takes all of the data records between the <code>percentBegin</code>
387
- * and <code>percentEnd</code> parameters for the datasource, in the order that the records appear in the input data.</p>
388
- *
389
- * <p>The following two <code>DataRearrangement</code> lines are examples of sequentially ordered
390
- * training and evaluation datasources:</p>
391
- * <p>Datasource for evaluation: <code>{"splitting":{"percentBegin":70, "percentEnd":100, "strategy":"sequential"}}</code>
392
- * </p>
393
- * <p>Datasource for training: <code>{"splitting":{"percentBegin":70, "percentEnd":100, "strategy":"sequential", "complement":"true"}}</code>
394
- * </p>
395
- *
396
- * <p>To randomly split the input data into the proportions indicated by the percentBegin and percentEnd
397
- * parameters, set the <code>strategy</code> parameter to
398
- * <code>random</code> and provide a string that is used as the seed value for the random data splitting (for
399
- * example, you can use the S3 path to your data as the random seed string).
400
- * If you choose the random split strategy,
401
- * Amazon ML assigns each row of data a pseudo-random number between 0 and 100, and then selects the rows that have an assigned
402
- * number between <code>percentBegin</code> and <code>percentEnd</code>. Pseudo-random numbers are assigned
403
- * using both the input seed string value and the byte offset as a seed, so changing the data results in a
404
- * different split. Any existing ordering is preserved.
405
- * The random splitting strategy ensures that variables in the training and evaluation data are distributed similarly.
406
- * It is useful in the cases where the input data may have an implicit sort order, which would otherwise result in
407
- * training and evaluation datasources containing non-similar data records.</p>
408
- * <p>The following two <code>DataRearrangement</code> lines are examples of non-sequentially ordered
409
- * training and evaluation datasources:</p>
410
- * <p>Datasource for evaluation: <code>{"splitting":{"percentBegin":70, "percentEnd":100, "strategy":"random", "randomSeed"="s3://my_s3_path/bucket/file.csv"}}</code>
411
- * </p>
412
- * <p>Datasource for training: <code>{"splitting":{"percentBegin":70, "percentEnd":100, "strategy":"random", "randomSeed"="s3://my_s3_path/bucket/file.csv", "complement":"true"}}</code>
413
- * </p>
414
- * </li>
415
- * </ul>
416
- */
417
- DataRearrangement?: string;
418
-
419
- /**
420
- * <p>A JSON string that represents the schema for an Amazon RDS
421
- * <code>DataSource</code>. The <code>DataSchema</code>
422
- * defines the structure of the observation data in the data file(s)
423
- * referenced in the <code>DataSource</code>.</p>
424
- * <p>A <code>DataSchema</code> is not required if you specify a
425
- * <code>DataSchemaUri</code>
426
- * </p>
427
- * <p>Define your <code>DataSchema</code> as a series of key-value pairs. <code>attributes</code>
428
- * and <code>excludedVariableNames</code> have an array of key-value pairs
429
- * for their value. Use the following format to define your <code>DataSchema</code>.</p>
430
- * <p>{ "version": "1.0",</p>
431
- * <p>"recordAnnotationFieldName": "F1",</p>
432
- * <p>"recordWeightFieldName": "F2",</p>
433
- * <p>"targetFieldName": "F3",</p>
434
- * <p>"dataFormat": "CSV",</p>
435
- * <p>"dataFileContainsHeader": true,</p>
436
- * <p>"attributes": [</p>
437
- * <p>{ "fieldName": "F1", "fieldType": "TEXT" }, { "fieldName": "F2", "fieldType": "NUMERIC" }, { "fieldName": "F3", "fieldType": "CATEGORICAL" }, { "fieldName": "F4", "fieldType": "NUMERIC" }, { "fieldName": "F5", "fieldType": "CATEGORICAL" }, { "fieldName": "F6", "fieldType": "TEXT" }, { "fieldName": "F7", "fieldType": "WEIGHTED_INT_SEQUENCE" }, { "fieldName": "F8", "fieldType": "WEIGHTED_STRING_SEQUENCE" } ],</p>
438
- * <p>"excludedVariableNames": [ "F6" ] }</p>
439
- */
440
- DataSchema?: string;
441
-
442
- /**
443
- * <p>The Amazon S3 location of the <code>DataSchema</code>. </p>
444
- */
445
- DataSchemaUri?: string;
446
-
447
- /**
448
- * <p>The role (DataPipelineDefaultResourceRole) assumed by an Amazon Elastic Compute Cloud (Amazon EC2) instance to carry out the copy operation from Amazon RDS to an Amazon S3 task. For more information, see <a href="https://docs.aws.amazon.com/datapipeline/latest/DeveloperGuide/dp-iam-roles.html">Role templates</a> for data pipelines.</p>
449
- */
450
- ResourceRole: string | undefined;
451
-
452
- /**
453
- * <p>The role (DataPipelineDefaultRole) assumed by AWS Data Pipeline service to monitor the progress of the copy task from Amazon RDS to Amazon S3. For more information, see <a href="https://docs.aws.amazon.com/datapipeline/latest/DeveloperGuide/dp-iam-roles.html">Role templates</a> for data pipelines.</p>
454
- */
455
- ServiceRole: string | undefined;
456
-
457
- /**
458
- * <p>The subnet ID to be used to access a VPC-based RDS DB instance. This attribute is used by Data Pipeline to carry out the copy task from Amazon RDS to Amazon S3.</p>
459
- */
460
- SubnetId: string | undefined;
461
-
462
- /**
463
- * <p>The security group IDs to be used to access a VPC-based RDS DB instance. Ensure that there are appropriate ingress rules set up to allow access to the RDS DB instance. This attribute is used by Data Pipeline to carry out the copy operation from Amazon RDS to an Amazon S3 task.</p>
464
- */
465
- SecurityGroupIds: string[] | undefined;
466
- }
467
-
468
- export namespace RDSDataSpec {
469
- /**
470
- * @internal
471
- */
472
- export const filterSensitiveLog = (obj: RDSDataSpec): any => ({
473
- ...obj,
474
- });
475
- }
476
-
477
- export interface CreateDataSourceFromRDSInput {
478
- /**
479
- * <p>A user-supplied ID that uniquely identifies the <code>DataSource</code>. Typically, an Amazon Resource Number (ARN)
480
- * becomes the ID for a <code>DataSource</code>.</p>
481
- */
482
- DataSourceId: string | undefined;
483
-
484
- /**
485
- * <p>A user-supplied name or description of the <code>DataSource</code>.</p>
486
- */
487
- DataSourceName?: string;
488
-
489
- /**
490
- * <p>The data specification of an Amazon RDS <code>DataSource</code>:</p>
491
- * <ul>
492
- * <li>
493
- * <p>DatabaseInformation -</p>
494
- * <ul>
495
- * <li>
496
- * <p>
497
- * <code>DatabaseName</code> - The name of the Amazon RDS database.</p>
498
- * </li>
499
- * <li>
500
- * <p>
501
- * <code>InstanceIdentifier </code> - A unique identifier for the Amazon RDS database instance.</p>
502
- * </li>
503
- * </ul>
504
- * </li>
505
- * <li>
506
- * <p>DatabaseCredentials - AWS Identity and Access Management (IAM) credentials that are used to connect to the Amazon RDS database.</p>
507
- * </li>
508
- * <li>
509
- * <p>ResourceRole - A role (DataPipelineDefaultResourceRole) assumed by an EC2 instance to carry out the copy task from Amazon RDS to Amazon
510
- * Simple Storage Service (Amazon S3). For more information, see <a href="https://docs.aws.amazon.com/datapipeline/latest/DeveloperGuide/dp-iam-roles.html">Role templates</a> for data pipelines.</p>
511
- * </li>
512
- * <li>
513
- * <p>ServiceRole - A role (DataPipelineDefaultRole) assumed by the AWS Data Pipeline service to monitor the progress of the copy task from Amazon RDS
514
- * to Amazon S3. For more information, see <a href="https://docs.aws.amazon.com/datapipeline/latest/DeveloperGuide/dp-iam-roles.html">Role templates</a> for data pipelines.</p>
515
- * </li>
516
- * <li>
517
- * <p>SecurityInfo - The security information to use to access an RDS DB instance. You need to set up appropriate ingress rules for the security entity IDs provided to allow access to the Amazon RDS instance. Specify a [<code>SubnetId</code>, <code>SecurityGroupIds</code>] pair for a VPC-based RDS DB instance.</p>
518
- * </li>
519
- * <li>
520
- * <p>SelectSqlQuery - A query that is used to retrieve the observation data for the <code>Datasource</code>.</p>
521
- * </li>
522
- * <li>
523
- * <p>S3StagingLocation - The Amazon S3 location for staging Amazon RDS data. The data retrieved from Amazon RDS using <code>SelectSqlQuery</code> is stored in this location.</p>
524
- * </li>
525
- * <li>
526
- * <p>DataSchemaUri - The Amazon S3 location of the <code>DataSchema</code>.</p>
527
- * </li>
528
- * <li>
529
- * <p>DataSchema - A JSON string representing the schema. This is not required if <code>DataSchemaUri</code> is specified. </p>
530
- * </li>
531
- * <li>
532
- * <p>DataRearrangement - A JSON string that represents the splitting and rearrangement requirements for the <code>Datasource</code>. </p>
533
- * <p> Sample -
534
- * <code> "{\"splitting\":{\"percentBegin\":10,\"percentEnd\":60}}"</code>
535
- * </p>
536
- * </li>
537
- * </ul>
538
- */
539
- RDSData: RDSDataSpec | undefined;
540
-
541
- /**
542
- * <p>The role that Amazon ML assumes on behalf of the user to create and activate a data
543
- * pipeline in the user's account and copy data using the <code>SelectSqlQuery</code> query from Amazon RDS to Amazon S3.</p>
544
- * <p></p>
545
- */
546
- RoleARN: string | undefined;
547
-
548
- /**
549
- * <p>The compute statistics for a <code>DataSource</code>. The statistics are generated from the observation data referenced by
550
- * a <code>DataSource</code>. Amazon ML uses the statistics internally during <code>MLModel</code> training.
551
- * This parameter must be set to <code>true</code> if the <code></code>DataSource<code></code> needs to be used for <code>MLModel</code> training.
552
- * </p>
553
- */
554
- ComputeStatistics?: boolean;
555
- }
556
-
557
- export namespace CreateDataSourceFromRDSInput {
558
- /**
559
- * @internal
560
- */
561
- export const filterSensitiveLog = (obj: CreateDataSourceFromRDSInput): any => ({
562
- ...obj,
563
- });
564
- }
565
-
566
- /**
567
- * <p> Represents the output of a <code>CreateDataSourceFromRDS</code> operation, and is an acknowledgement that Amazon ML received the request.</p>
568
- * <p>The <code>CreateDataSourceFromRDS</code>> operation is asynchronous. You can poll for updates by using
569
- * the <code>GetBatchPrediction</code> operation and checking the <code>Status</code> parameter. You can
570
- * inspect the <code>Message</code> when <code>Status</code> shows up as <code>FAILED</code>. You can
571
- * also check the progress of the copy operation by going to the <code>DataPipeline</code> console and looking up
572
- * the pipeline using the <code>pipelineId </code> from the describe call.</p>
573
- */
574
- export interface CreateDataSourceFromRDSOutput {
575
- /**
576
- * <p>A user-supplied ID that uniquely identifies the datasource. This value should be identical to the value of the
577
- * <code>DataSourceID</code> in the request.
578
- * </p>
579
- */
580
- DataSourceId?: string;
581
- }
582
-
583
- export namespace CreateDataSourceFromRDSOutput {
584
- /**
585
- * @internal
586
- */
587
- export const filterSensitiveLog = (obj: CreateDataSourceFromRDSOutput): any => ({
588
- ...obj,
589
- });
590
- }
591
-
592
- /**
593
- * <p>Describes the database credentials for connecting to a database on an Amazon Redshift cluster.</p>
594
- */
595
- export interface RedshiftDatabaseCredentials {
596
- /**
597
- * <p>A username to be used by Amazon Machine Learning (Amazon ML)to connect to a database on an Amazon Redshift cluster.
598
- * The username should have sufficient permissions to execute the <code>RedshiftSelectSqlQuery</code> query. The username should be valid for an Amazon Redshift <a href="https://docs.aws.amazon.com/redshift/latest/dg/r_CREATE_USER.html">USER</a>.</p>
599
- */
600
- Username: string | undefined;
601
-
602
- /**
603
- * <p>A password to be used by Amazon ML to connect to a database on an Amazon Redshift cluster.
604
- * The password should have sufficient permissions to execute a <code>RedshiftSelectSqlQuery</code> query. The password should be valid for an Amazon Redshift <a href="https://docs.aws.amazon.com/redshift/latest/dg/r_CREATE_USER.html">USER</a>.</p>
605
- */
606
- Password: string | undefined;
607
- }
608
-
609
- export namespace RedshiftDatabaseCredentials {
610
- /**
611
- * @internal
612
- */
613
- export const filterSensitiveLog = (obj: RedshiftDatabaseCredentials): any => ({
614
- ...obj,
615
- });
616
- }
617
-
618
- /**
619
- * <p>Describes the database details required to connect to an Amazon Redshift database.</p>
620
- */
621
- export interface RedshiftDatabase {
622
- /**
623
- * <p>The name of a database hosted on an Amazon Redshift cluster.</p>
624
- */
625
- DatabaseName: string | undefined;
626
-
627
- /**
628
- * <p>The ID of an Amazon Redshift cluster.</p>
629
- */
630
- ClusterIdentifier: string | undefined;
631
- }
632
-
633
- export namespace RedshiftDatabase {
634
- /**
635
- * @internal
636
- */
637
- export const filterSensitiveLog = (obj: RedshiftDatabase): any => ({
638
- ...obj,
639
- });
640
- }
641
-
642
- /**
643
- * <p>Describes the data specification of an Amazon Redshift <code>DataSource</code>.</p>
644
- */
645
- export interface RedshiftDataSpec {
646
- /**
647
- * <p>Describes the <code>DatabaseName</code> and <code>ClusterIdentifier</code> for an Amazon Redshift <code>DataSource</code>.</p>
648
- */
649
- DatabaseInformation: RedshiftDatabase | undefined;
650
-
651
- /**
652
- * <p>Describes the SQL Query to execute on an Amazon Redshift database for an Amazon Redshift <code>DataSource</code>.</p>
653
- */
654
- SelectSqlQuery: string | undefined;
655
-
656
- /**
657
- * <p>Describes AWS Identity and Access Management (IAM) credentials that are used connect to the Amazon Redshift database.</p>
658
- */
659
- DatabaseCredentials: RedshiftDatabaseCredentials | undefined;
660
-
661
- /**
662
- * <p>Describes an Amazon S3 location to store the result set of the <code>SelectSqlQuery</code> query.</p>
663
- */
664
- S3StagingLocation: string | undefined;
665
-
666
- /**
667
- * <p>A JSON string that represents the splitting and rearrangement
668
- * processing to be applied to a <code>DataSource</code>. If the <code>DataRearrangement</code>
669
- * parameter is not provided, all of the input data is used to create the <code>Datasource</code>.</p>
670
- *
671
- * <p>There are multiple parameters that control what data is used to create a datasource:</p>
672
- * <ul>
673
- * <li>
674
- * <p>
675
- * <b>
676
- * <code>percentBegin</code>
677
- * </b>
678
- * </p>
679
- * <p>Use <code>percentBegin</code> to indicate the beginning of the range of the data used to
680
- * create the Datasource.
681
- * If you do not include <code>percentBegin</code> and <code>percentEnd</code>, Amazon ML includes
682
- * all of the data when creating the datasource.</p>
683
- * </li>
684
- * <li>
685
- * <p>
686
- * <b>
687
- * <code>percentEnd</code>
688
- * </b>
689
- * </p>
690
- * <p>Use <code>percentEnd</code> to indicate the end of the range of the data used to create the
691
- * Datasource. If you do not
692
- * include <code>percentBegin</code> and <code>percentEnd</code>, Amazon ML
693
- * includes all of the data when creating the datasource.</p>
694
- * </li>
695
- * <li>
696
- * <p>
697
- * <b>
698
- * <code>complement</code>
699
- * </b>
700
- * </p>
701
- * <p>The <code>complement</code> parameter instructs Amazon ML to use the data that is
702
- * not included in the range of <code>percentBegin</code> to <code>percentEnd</code> to create a
703
- * datasource. The <code>complement</code> parameter is useful if you need to create
704
- * complementary datasources for training and evaluation.
705
- * To create a complementary datasource, use the same
706
- * values for <code>percentBegin</code> and <code>percentEnd</code>, along with the
707
- * <code>complement</code> parameter.</p>
708
- *
709
- * <p>For example, the following two datasources do not share any data, and can be used to train and evaluate a model. The first datasource has 25 percent of the data, and the second one has 75 percent of the data.</p>
710
- * <p>Datasource for evaluation: <code>{"splitting":{"percentBegin":0, "percentEnd":25}}</code>
711
- * </p>
712
- * <p>Datasource for training: <code>{"splitting":{"percentBegin":0, "percentEnd":25, "complement":"true"}}</code>
713
- * </p>
714
- * </li>
715
- * <li>
716
- * <p>
717
- * <b>
718
- * <code>strategy</code>
719
- * </b>
720
- * </p>
721
- * <p>To change how Amazon ML splits the data for a datasource, use the <code>strategy</code> parameter.</p>
722
- * <p>The default value for the <code>strategy</code> parameter
723
- * is <code>sequential</code>, meaning that Amazon ML takes all of the data records between the <code>percentBegin</code>
724
- * and <code>percentEnd</code> parameters for the datasource, in the order that the records appear in the input data.</p>
725
- *
726
- * <p>The following two <code>DataRearrangement</code> lines are examples of sequentially ordered
727
- * training and evaluation datasources:</p>
728
- * <p>Datasource for evaluation: <code>{"splitting":{"percentBegin":70, "percentEnd":100, "strategy":"sequential"}}</code>
729
- * </p>
730
- * <p>Datasource for training: <code>{"splitting":{"percentBegin":70, "percentEnd":100, "strategy":"sequential", "complement":"true"}}</code>
731
- * </p>
732
- *
733
- * <p>To randomly split the input data into the proportions indicated by the percentBegin and percentEnd
734
- * parameters, set the <code>strategy</code> parameter to
735
- * <code>random</code> and provide a string that is used as the seed value for the random data splitting (for
736
- * example, you can use the S3 path to your data as the random seed string).
737
- * If you choose the random split strategy,
738
- * Amazon ML assigns each row of data a pseudo-random number between 0 and 100, and then selects the rows that have an assigned
739
- * number between <code>percentBegin</code> and <code>percentEnd</code>. Pseudo-random numbers are assigned
740
- * using both the input seed string value and the byte offset as a seed, so changing the data results in a
741
- * different split. Any existing ordering is preserved.
742
- * The random splitting strategy ensures that variables in the training and evaluation data are distributed similarly.
743
- * It is useful in the cases where the input data may have an implicit sort order, which would otherwise result in
744
- * training and evaluation datasources containing non-similar data records.</p>
745
- * <p>The following two <code>DataRearrangement</code> lines are examples of non-sequentially ordered
746
- * training and evaluation datasources:</p>
747
- * <p>Datasource for evaluation: <code>{"splitting":{"percentBegin":70, "percentEnd":100, "strategy":"random", "randomSeed"="s3://my_s3_path/bucket/file.csv"}}</code>
748
- * </p>
749
- * <p>Datasource for training: <code>{"splitting":{"percentBegin":70, "percentEnd":100, "strategy":"random", "randomSeed"="s3://my_s3_path/bucket/file.csv", "complement":"true"}}</code>
750
- * </p>
751
- * </li>
752
- * </ul>
753
- */
754
- DataRearrangement?: string;
755
-
756
- /**
757
- * <p>A JSON string that represents the schema for an Amazon Redshift
758
- * <code>DataSource</code>. The <code>DataSchema</code>
759
- * defines the structure of the observation data in the data file(s)
760
- * referenced in the <code>DataSource</code>.</p>
761
- * <p>A <code>DataSchema</code> is not required if you specify a
762
- * <code>DataSchemaUri</code>.</p>
763
- * <p>Define your <code>DataSchema</code> as a series of key-value pairs. <code>attributes</code>
764
- * and <code>excludedVariableNames</code> have an array of key-value pairs
765
- * for their value. Use the following format to define your <code>DataSchema</code>.</p>
766
- * <p>{ "version": "1.0",</p>
767
- * <p>"recordAnnotationFieldName": "F1",</p>
768
- * <p>"recordWeightFieldName": "F2",</p>
769
- * <p>"targetFieldName": "F3",</p>
770
- * <p>"dataFormat": "CSV",</p>
771
- * <p>"dataFileContainsHeader": true,</p>
772
- * <p>"attributes": [</p>
773
- * <p>{ "fieldName": "F1", "fieldType": "TEXT" }, { "fieldName": "F2", "fieldType": "NUMERIC" }, { "fieldName": "F3", "fieldType": "CATEGORICAL" }, { "fieldName": "F4", "fieldType": "NUMERIC" }, { "fieldName": "F5", "fieldType": "CATEGORICAL" }, { "fieldName": "F6", "fieldType": "TEXT" }, { "fieldName": "F7", "fieldType": "WEIGHTED_INT_SEQUENCE" }, { "fieldName": "F8", "fieldType": "WEIGHTED_STRING_SEQUENCE" } ],</p>
774
- * <p>"excludedVariableNames": [ "F6" ] }</p>
775
- */
776
- DataSchema?: string;
777
-
778
- /**
779
- * <p>Describes the schema location for an Amazon Redshift <code>DataSource</code>.</p>
780
- */
781
- DataSchemaUri?: string;
782
- }
783
-
784
- export namespace RedshiftDataSpec {
785
- /**
786
- * @internal
787
- */
788
- export const filterSensitiveLog = (obj: RedshiftDataSpec): any => ({
789
- ...obj,
790
- });
791
- }
792
-
793
- export interface CreateDataSourceFromRedshiftInput {
794
- /**
795
- * <p>A user-supplied ID that uniquely identifies the <code>DataSource</code>.</p>
796
- */
797
- DataSourceId: string | undefined;
798
-
799
- /**
800
- * <p>A user-supplied name or description of the <code>DataSource</code>. </p>
801
- */
802
- DataSourceName?: string;
803
-
804
- /**
805
- * <p>The data specification of an Amazon Redshift <code>DataSource</code>:</p>
806
- * <ul>
807
- * <li>
808
- * <p>DatabaseInformation -</p>
809
- * <ul>
810
- * <li>
811
- * <p>
812
- * <code>DatabaseName</code> - The name of the Amazon Redshift database.</p>
813
- * </li>
814
- * <li>
815
- * <p>
816
- * <code> ClusterIdentifier</code> - The unique ID for the Amazon Redshift cluster.</p>
817
- * </li>
818
- * </ul>
819
- * </li>
820
- * <li>
821
- * <p>DatabaseCredentials - The AWS Identity and Access Management (IAM) credentials that are used to connect to the Amazon Redshift database.</p>
822
- * </li>
823
- * <li>
824
- * <p>SelectSqlQuery - The query that is used to retrieve the observation data for the
825
- * <code>Datasource</code>.</p>
826
- * </li>
827
- * <li>
828
- * <p>S3StagingLocation - The Amazon Simple Storage Service (Amazon S3) location for staging Amazon
829
- * Redshift data. The data retrieved from Amazon Redshift using
830
- * the <code>SelectSqlQuery</code> query is stored in this location.</p>
831
- * </li>
832
- * <li>
833
- * <p>DataSchemaUri - The Amazon S3 location of the <code>DataSchema</code>.</p>
834
- * </li>
835
- * <li>
836
- * <p>DataSchema - A JSON string representing the schema. This is not required if <code>DataSchemaUri</code> is specified. </p>
837
- * </li>
838
- * <li>
839
- * <p>DataRearrangement - A JSON string that represents the splitting and rearrangement requirements for the <code>DataSource</code>.</p>
840
- * <p> Sample -
841
- * <code> "{\"splitting\":{\"percentBegin\":10,\"percentEnd\":60}}"</code>
842
- * </p>
843
- * </li>
844
- * </ul>
845
- */
846
- DataSpec: RedshiftDataSpec | undefined;
847
-
848
- /**
849
- * <p>A fully specified role Amazon Resource Name (ARN). Amazon ML assumes the role on behalf of the user to create the following:</p>
850
- *
851
- * <ul>
852
- * <li>
853
- * <p>A security group to allow Amazon ML to execute the <code>SelectSqlQuery</code> query on an Amazon Redshift cluster</p>
854
- * </li>
855
- * <li>
856
- * <p>An Amazon S3 bucket policy to grant Amazon ML read/write permissions on the <code>S3StagingLocation</code>
857
- * </p>
858
- * </li>
859
- * </ul>
860
- */
861
- RoleARN: string | undefined;
862
-
863
- /**
864
- * <p>The compute statistics for a <code>DataSource</code>. The statistics are generated from the observation data referenced by
865
- * a <code>DataSource</code>. Amazon ML uses the statistics internally during <code>MLModel</code> training.
866
- * This parameter must be set to <code>true</code> if the <code>DataSource</code> needs to
867
- * be used for <code>MLModel</code> training.</p>
868
- */
869
- ComputeStatistics?: boolean;
870
- }
871
-
872
- export namespace CreateDataSourceFromRedshiftInput {
873
- /**
874
- * @internal
875
- */
876
- export const filterSensitiveLog = (obj: CreateDataSourceFromRedshiftInput): any => ({
877
- ...obj,
878
- });
879
- }
880
-
881
- /**
882
- * <p> Represents the output of a <code>CreateDataSourceFromRedshift</code> operation, and is an acknowledgement that Amazon ML received the request.</p>
883
- * <p>The <code>CreateDataSourceFromRedshift</code> operation is asynchronous. You can poll for updates by using
884
- * the <code>GetBatchPrediction</code> operation and checking the <code>Status</code> parameter. </p>
885
- */
886
- export interface CreateDataSourceFromRedshiftOutput {
887
- /**
888
- * <p>A user-supplied ID that uniquely identifies the datasource. This value should be identical to the value of the
889
- * <code>DataSourceID</code> in the request.
890
- * </p>
891
- */
892
- DataSourceId?: string;
893
- }
894
-
895
- export namespace CreateDataSourceFromRedshiftOutput {
896
- /**
897
- * @internal
898
- */
899
- export const filterSensitiveLog = (obj: CreateDataSourceFromRedshiftOutput): any => ({
900
- ...obj,
901
- });
902
- }
903
-
904
- /**
905
- * <p> Describes the data specification of a <code>DataSource</code>.</p>
906
- */
907
- export interface S3DataSpec {
908
- /**
909
- * <p>The location of the data file(s) used by a <code>DataSource</code>. The URI specifies a data file or
910
- * an Amazon Simple Storage Service (Amazon S3) directory or bucket containing data files.</p>
911
- */
912
- DataLocationS3: string | undefined;
913
-
914
- /**
915
- * <p>A JSON string that represents the splitting and rearrangement
916
- * processing to be applied to a <code>DataSource</code>. If the <code>DataRearrangement</code>
917
- * parameter is not provided, all of the input data is used to create the <code>Datasource</code>.</p>
918
- *
919
- * <p>There are multiple parameters that control what data is used to create a datasource:</p>
920
- * <ul>
921
- * <li>
922
- * <p>
923
- * <b>
924
- * <code>percentBegin</code>
925
- * </b>
926
- * </p>
927
- * <p>Use <code>percentBegin</code> to indicate the beginning of the range of the data used to
928
- * create the Datasource.
929
- * If you do not include <code>percentBegin</code> and <code>percentEnd</code>, Amazon ML includes
930
- * all of the data when creating the datasource.</p>
931
- * </li>
932
- * <li>
933
- * <p>
934
- * <b>
935
- * <code>percentEnd</code>
936
- * </b>
937
- * </p>
938
- * <p>Use <code>percentEnd</code> to indicate the end of the range of the data used to create the
939
- * Datasource. If you do not
940
- * include <code>percentBegin</code> and <code>percentEnd</code>, Amazon ML
941
- * includes all of the data when creating the datasource.</p>
942
- * </li>
943
- * <li>
944
- * <p>
945
- * <b>
946
- * <code>complement</code>
947
- * </b>
948
- * </p>
949
- * <p>The <code>complement</code> parameter instructs Amazon ML to use the data that is
950
- * not included in the range of <code>percentBegin</code> to <code>percentEnd</code> to create a
951
- * datasource. The <code>complement</code> parameter is useful if you need to create
952
- * complementary datasources for training and evaluation.
953
- * To create a complementary datasource, use the same
954
- * values for <code>percentBegin</code> and <code>percentEnd</code>, along with the
955
- * <code>complement</code> parameter.</p>
956
- *
957
- * <p>For example, the following two datasources do not share any data, and can be used to train and evaluate a model. The first datasource has 25 percent of the data, and the second one has 75 percent of the data.</p>
958
- * <p>Datasource for evaluation: <code>{"splitting":{"percentBegin":0, "percentEnd":25}}</code>
959
- * </p>
960
- * <p>Datasource for training: <code>{"splitting":{"percentBegin":0, "percentEnd":25, "complement":"true"}}</code>
961
- * </p>
962
- * </li>
963
- * <li>
964
- * <p>
965
- * <b>
966
- * <code>strategy</code>
967
- * </b>
968
- * </p>
969
- * <p>To change how Amazon ML splits the data for a datasource, use the <code>strategy</code> parameter.</p>
970
- * <p>The default value for the <code>strategy</code> parameter
971
- * is <code>sequential</code>, meaning that Amazon ML takes all of the data records between the <code>percentBegin</code>
972
- * and <code>percentEnd</code> parameters for the datasource, in the order that the records appear in the input data.</p>
973
- *
974
- * <p>The following two <code>DataRearrangement</code> lines are examples of sequentially ordered
975
- * training and evaluation datasources:</p>
976
- * <p>Datasource for evaluation: <code>{"splitting":{"percentBegin":70, "percentEnd":100, "strategy":"sequential"}}</code>
977
- * </p>
978
- * <p>Datasource for training: <code>{"splitting":{"percentBegin":70, "percentEnd":100, "strategy":"sequential", "complement":"true"}}</code>
979
- * </p>
980
- *
981
- * <p>To randomly split the input data into the proportions indicated by the percentBegin and percentEnd
982
- * parameters, set the <code>strategy</code> parameter to
983
- * <code>random</code> and provide a string that is used as the seed value for the random data splitting (for
984
- * example, you can use the S3 path to your data as the random seed string).
985
- * If you choose the random split strategy,
986
- * Amazon ML assigns each row of data a pseudo-random number between 0 and 100, and then selects the rows that have an assigned
987
- * number between <code>percentBegin</code> and <code>percentEnd</code>. Pseudo-random numbers are assigned
988
- * using both the input seed string value and the byte offset as a seed, so changing the data results in a
989
- * different split. Any existing ordering is preserved.
990
- * The random splitting strategy ensures that variables in the training and evaluation data are distributed similarly.
991
- * It is useful in the cases where the input data may have an implicit sort order, which would otherwise result in
992
- * training and evaluation datasources containing non-similar data records.</p>
993
- * <p>The following two <code>DataRearrangement</code> lines are examples of non-sequentially ordered
994
- * training and evaluation datasources:</p>
995
- * <p>Datasource for evaluation: <code>{"splitting":{"percentBegin":70, "percentEnd":100, "strategy":"random", "randomSeed"="s3://my_s3_path/bucket/file.csv"}}</code>
996
- * </p>
997
- * <p>Datasource for training: <code>{"splitting":{"percentBegin":70, "percentEnd":100, "strategy":"random", "randomSeed"="s3://my_s3_path/bucket/file.csv", "complement":"true"}}</code>
998
- * </p>
999
- * </li>
1000
- * </ul>
1001
- */
1002
- DataRearrangement?: string;
1003
-
1004
- /**
1005
- * <p> A JSON string that represents the schema for an Amazon S3
1006
- * <code>DataSource</code>. The <code>DataSchema</code>
1007
- * defines the structure of the observation data in the data file(s)
1008
- * referenced in the <code>DataSource</code>.</p>
1009
- * <p>You must provide either the <code>DataSchema</code> or the <code>DataSchemaLocationS3</code>.</p>
1010
- * <p>Define your <code>DataSchema</code> as a series of key-value pairs. <code>attributes</code>
1011
- * and <code>excludedVariableNames</code> have an array of key-value pairs
1012
- * for their value. Use the following format to define your <code>DataSchema</code>.</p>
1013
- * <p>{ "version": "1.0",</p>
1014
- * <p>"recordAnnotationFieldName": "F1",</p>
1015
- * <p>"recordWeightFieldName": "F2",</p>
1016
- * <p>"targetFieldName": "F3",</p>
1017
- * <p>"dataFormat": "CSV",</p>
1018
- * <p>"dataFileContainsHeader": true,</p>
1019
- * <p>"attributes": [</p>
1020
- * <p>{ "fieldName": "F1", "fieldType": "TEXT" }, { "fieldName": "F2", "fieldType": "NUMERIC" }, { "fieldName": "F3", "fieldType": "CATEGORICAL" }, { "fieldName": "F4", "fieldType": "NUMERIC" }, { "fieldName": "F5", "fieldType": "CATEGORICAL" }, { "fieldName": "F6", "fieldType": "TEXT" }, { "fieldName": "F7", "fieldType": "WEIGHTED_INT_SEQUENCE" }, { "fieldName": "F8", "fieldType": "WEIGHTED_STRING_SEQUENCE" } ],</p>
1021
- * <p>"excludedVariableNames": [ "F6" ] }</p>
1022
- */
1023
- DataSchema?: string;
1024
-
1025
- /**
1026
- * <p>Describes the schema location in Amazon S3. You must provide either the
1027
- * <code>DataSchema</code> or the <code>DataSchemaLocationS3</code>.</p>
1028
- */
1029
- DataSchemaLocationS3?: string;
1030
- }
1031
-
1032
- export namespace S3DataSpec {
1033
- /**
1034
- * @internal
1035
- */
1036
- export const filterSensitiveLog = (obj: S3DataSpec): any => ({
1037
- ...obj,
1038
- });
1039
- }
1040
-
1041
- export interface CreateDataSourceFromS3Input {
1042
- /**
1043
- * <p>A user-supplied identifier that uniquely identifies the <code>DataSource</code>. </p>
1044
- */
1045
- DataSourceId: string | undefined;
1046
-
1047
- /**
1048
- * <p>A user-supplied name or description of the <code>DataSource</code>. </p>
1049
- */
1050
- DataSourceName?: string;
1051
-
1052
- /**
1053
- * <p>The data specification of a <code>DataSource</code>:</p>
1054
- * <ul>
1055
- * <li>
1056
- * <p>DataLocationS3 - The Amazon S3 location of the observation data.</p>
1057
- * </li>
1058
- * <li>
1059
- * <p>DataSchemaLocationS3 - The Amazon S3 location of the <code>DataSchema</code>.</p>
1060
- * </li>
1061
- * <li>
1062
- * <p>DataSchema - A JSON string representing the schema. This is not required if <code>DataSchemaUri</code> is specified. </p>
1063
- * </li>
1064
- * <li>
1065
- * <p>DataRearrangement - A JSON string that represents the splitting and rearrangement requirements for the <code>Datasource</code>. </p>
1066
- * <p> Sample -
1067
- * <code> "{\"splitting\":{\"percentBegin\":10,\"percentEnd\":60}}"</code>
1068
- * </p>
1069
- * </li>
1070
- * </ul>
1071
- */
1072
- DataSpec: S3DataSpec | undefined;
1073
-
1074
- /**
1075
- * <p>The compute statistics for a <code>DataSource</code>. The statistics are generated from the observation data referenced by
1076
- * a <code>DataSource</code>. Amazon ML uses the statistics internally during <code>MLModel</code> training.
1077
- * This parameter must be set to <code>true</code> if the <code></code>DataSource<code></code> needs to be used for <code>MLModel</code> training.</p>
1078
- */
1079
- ComputeStatistics?: boolean;
1080
- }
1081
-
1082
- export namespace CreateDataSourceFromS3Input {
1083
- /**
1084
- * @internal
1085
- */
1086
- export const filterSensitiveLog = (obj: CreateDataSourceFromS3Input): any => ({
1087
- ...obj,
1088
- });
1089
- }
1090
-
1091
- /**
1092
- * <p> Represents the output of a <code>CreateDataSourceFromS3</code> operation, and is an acknowledgement that Amazon ML received the request.</p>
1093
- * <p>The <code>CreateDataSourceFromS3</code> operation is asynchronous. You can poll for updates by using
1094
- * the <code>GetBatchPrediction</code> operation and checking the <code>Status</code> parameter. </p>
1095
- */
1096
- export interface CreateDataSourceFromS3Output {
1097
- /**
1098
- * <p>A user-supplied ID that uniquely identifies the <code>DataSource</code>. This value should be identical to the value of the
1099
- * <code>DataSourceID</code> in the request.
1100
- * </p>
1101
- */
1102
- DataSourceId?: string;
1103
- }
1104
-
1105
- export namespace CreateDataSourceFromS3Output {
1106
- /**
1107
- * @internal
1108
- */
1109
- export const filterSensitiveLog = (obj: CreateDataSourceFromS3Output): any => ({
1110
- ...obj,
1111
- });
1112
- }
1113
-
1114
- export interface CreateEvaluationInput {
1115
- /**
1116
- * <p>A user-supplied ID that uniquely identifies the <code>Evaluation</code>.</p>
1117
- */
1118
- EvaluationId: string | undefined;
1119
-
1120
- /**
1121
- * <p>A user-supplied name or description of the <code>Evaluation</code>.</p>
1122
- */
1123
- EvaluationName?: string;
1124
-
1125
- /**
1126
- * <p>The ID of the <code>MLModel</code> to evaluate.</p>
1127
- * <p>The schema used in creating the <code>MLModel</code> must match the schema of the <code>DataSource</code> used in the <code>Evaluation</code>.</p>
1128
- */
1129
- MLModelId: string | undefined;
1130
-
1131
- /**
1132
- * <p>The ID of the <code>DataSource</code> for the evaluation. The schema of the <code>DataSource</code>
1133
- * must match the schema used to create the <code>MLModel</code>.</p>
1134
- */
1135
- EvaluationDataSourceId: string | undefined;
1136
- }
1137
-
1138
- export namespace CreateEvaluationInput {
1139
- /**
1140
- * @internal
1141
- */
1142
- export const filterSensitiveLog = (obj: CreateEvaluationInput): any => ({
1143
- ...obj,
1144
- });
1145
- }
1146
-
1147
- /**
1148
- * <p> Represents the output of a <code>CreateEvaluation</code> operation, and is an acknowledgement that Amazon ML received the request.</p>
1149
- * <p>
1150
- * <code>CreateEvaluation</code> operation is asynchronous. You can poll for status updates
1151
- * by using the <code>GetEvcaluation</code> operation
1152
- * and checking the <code>Status</code> parameter.
1153
- * </p>
1154
- */
1155
- export interface CreateEvaluationOutput {
1156
- /**
1157
- * <p>The user-supplied ID that uniquely identifies the <code>Evaluation</code>. This value should be identical to the value of the
1158
- * <code>EvaluationId</code> in the request.</p>
1159
- */
1160
- EvaluationId?: string;
1161
- }
1162
-
1163
- export namespace CreateEvaluationOutput {
1164
- /**
1165
- * @internal
1166
- */
1167
- export const filterSensitiveLog = (obj: CreateEvaluationOutput): any => ({
1168
- ...obj,
1169
- });
1170
- }
1171
-
1172
- export enum MLModelType {
1173
- BINARY = "BINARY",
1174
- MULTICLASS = "MULTICLASS",
1175
- REGRESSION = "REGRESSION",
1176
- }
1177
-
1178
- export interface CreateMLModelInput {
1179
- /**
1180
- * <p>A user-supplied ID that uniquely identifies the <code>MLModel</code>.</p>
1181
- */
1182
- MLModelId: string | undefined;
1183
-
1184
- /**
1185
- * <p>A user-supplied name or description of the <code>MLModel</code>.</p>
1186
- */
1187
- MLModelName?: string;
1188
-
1189
- /**
1190
- * <p>The category of supervised learning that this <code>MLModel</code> will address. Choose from the following types:</p>
1191
- * <ul>
1192
- * <li>
1193
- * <p>Choose <code>REGRESSION</code> if the <code>MLModel</code> will be used to predict a numeric value.</p>
1194
- * </li>
1195
- * <li>
1196
- * <p>Choose <code>BINARY</code> if the <code>MLModel</code> result has two possible values.</p>
1197
- * </li>
1198
- * <li>
1199
- * <p>Choose <code>MULTICLASS</code> if the <code>MLModel</code> result has a limited number of values.</p>
1200
- * </li>
1201
- * </ul>
1202
- * <p> For more information, see the <a href="https://docs.aws.amazon.com/machine-learning/latest/dg">Amazon Machine Learning Developer Guide</a>.</p>
1203
- */
1204
- MLModelType: MLModelType | string | undefined;
1205
-
1206
- /**
1207
- * <p>A list of the training parameters in the <code>MLModel</code>. The list is implemented as
1208
- * a map of key-value pairs.</p>
1209
- * <p>The following is the current set of training parameters:</p>
1210
- * <ul>
1211
- * <li>
1212
- * <p>
1213
- * <code>sgd.maxMLModelSizeInBytes</code> - The maximum allowed size of the model. Depending on the
1214
- * input data, the size of the model might affect its performance.</p>
1215
- * <p> The value is an integer that ranges from <code>100000</code> to <code>2147483648</code>. The default value is <code>33554432</code>.</p>
1216
- * </li>
1217
- * <li>
1218
- * <p>
1219
- * <code>sgd.maxPasses</code> - The number of times that the training process traverses the
1220
- * observations to build the <code>MLModel</code>. The value is an integer that
1221
- * ranges from <code>1</code> to <code>10000</code>. The default value is
1222
- * <code>10</code>.</p>
1223
- * </li>
1224
- * <li>
1225
- * <p>
1226
- * <code>sgd.shuffleType</code> - Whether Amazon ML shuffles the training data. Shuffling
1227
- * the data improves a model's ability to find the optimal solution for a variety
1228
- * of data types. The valid values are <code>auto</code> and <code>none</code>. The
1229
- * default value is <code>none</code>. We strongly recommend that you shuffle your data.</p>
1230
- * </li>
1231
- * <li>
1232
- * <p>
1233
- * <code>sgd.l1RegularizationAmount</code> - The coefficient regularization L1 norm. It controls
1234
- * overfitting the data by penalizing large coefficients. This tends to drive
1235
- * coefficients to zero, resulting in a sparse feature set. If you use this
1236
- * parameter, start by specifying a small value, such as <code>1.0E-08</code>.</p>
1237
- * <p>The value is a double that ranges from <code>0</code> to <code>MAX_DOUBLE</code>.
1238
- * The default is to not use L1 normalization. This parameter can't be used when
1239
- * <code>L2</code> is specified. Use this parameter sparingly.</p>
1240
- * </li>
1241
- * <li>
1242
- * <p>
1243
- * <code>sgd.l2RegularizationAmount</code> - The coefficient regularization L2 norm. It controls
1244
- * overfitting the data by penalizing large coefficients. This tends to drive
1245
- * coefficients to small, nonzero values. If you use this parameter, start by
1246
- * specifying a small value, such as <code>1.0E-08</code>.</p>
1247
- * <p>The value is a double that ranges from <code>0</code> to <code>MAX_DOUBLE</code>.
1248
- * The default is to not use L2 normalization. This parameter can't be used when
1249
- * <code>L1</code> is specified. Use this parameter sparingly.</p>
1250
- * </li>
1251
- * </ul>
1252
- */
1253
- Parameters?: { [key: string]: string };
1254
-
1255
- /**
1256
- * <p>The <code>DataSource</code> that points to the training data.</p>
1257
- */
1258
- TrainingDataSourceId: string | undefined;
1259
-
1260
- /**
1261
- * <p>The data recipe for creating the <code>MLModel</code>. You must specify either the recipe
1262
- * or its URI. If you don't specify a recipe or its URI, Amazon ML creates a default.</p>
1263
- */
1264
- Recipe?: string;
1265
-
1266
- /**
1267
- * <p>The Amazon Simple Storage Service (Amazon S3) location and file name that contains the <code>MLModel</code> recipe. You must specify either the recipe or its URI. If you don't specify a recipe or its URI, Amazon ML creates a default.</p>
1268
- */
1269
- RecipeUri?: string;
1270
- }
1271
-
1272
- export namespace CreateMLModelInput {
1273
- /**
1274
- * @internal
1275
- */
1276
- export const filterSensitiveLog = (obj: CreateMLModelInput): any => ({
1277
- ...obj,
1278
- });
1279
- }
1280
-
1281
- /**
1282
- * <p> Represents the output of a <code>CreateMLModel</code> operation, and is an acknowledgement that Amazon ML received the request.</p>
1283
- * <p>The <code>CreateMLModel</code> operation is asynchronous. You can poll for status updates by using the
1284
- * <code>GetMLModel</code> operation and checking the <code>Status</code> parameter.
1285
- * </p>
1286
- */
1287
- export interface CreateMLModelOutput {
1288
- /**
1289
- * <p>A user-supplied ID that uniquely identifies the <code>MLModel</code>. This value should be identical to the value of the
1290
- * <code>MLModelId</code> in the request.
1291
- * </p>
1292
- */
1293
- MLModelId?: string;
1294
- }
1295
-
1296
- export namespace CreateMLModelOutput {
1297
- /**
1298
- * @internal
1299
- */
1300
- export const filterSensitiveLog = (obj: CreateMLModelOutput): any => ({
1301
- ...obj,
1302
- });
1303
- }
1304
-
1305
- export interface CreateRealtimeEndpointInput {
1306
- /**
1307
- * <p>The ID assigned to the <code>MLModel</code> during creation.</p>
1308
- */
1309
- MLModelId: string | undefined;
1310
- }
1311
-
1312
- export namespace CreateRealtimeEndpointInput {
1313
- /**
1314
- * @internal
1315
- */
1316
- export const filterSensitiveLog = (obj: CreateRealtimeEndpointInput): any => ({
1317
- ...obj,
1318
- });
1319
- }
1320
-
1321
- export enum RealtimeEndpointStatus {
1322
- FAILED = "FAILED",
1323
- NONE = "NONE",
1324
- READY = "READY",
1325
- UPDATING = "UPDATING",
1326
- }
1327
-
1328
- /**
1329
- * <p> Describes the real-time endpoint information for an <code>MLModel</code>.</p>
1330
- */
1331
- export interface RealtimeEndpointInfo {
1332
- /**
1333
- * <p> The maximum processing rate for the real-time endpoint for <code>MLModel</code>, measured in incoming requests per second.</p>
1334
- */
1335
- PeakRequestsPerSecond?: number;
1336
-
1337
- /**
1338
- * <p>The time that the request to create the real-time endpoint for the <code>MLModel</code> was received. The time is expressed in epoch time.</p>
1339
- */
1340
- CreatedAt?: Date;
1341
-
1342
- /**
1343
- * <p>The URI that specifies where to send real-time prediction requests for the <code>MLModel</code>.</p>
1344
- * <p>
1345
- * <b>Note:</b> The application must wait until the real-time endpoint is ready before using this URI.</p>
1346
- */
1347
- EndpointUrl?: string;
1348
-
1349
- /**
1350
- * <p> The current status of the real-time endpoint for the <code>MLModel</code>. This element can have one of the following values: </p>
1351
- * <ul>
1352
- * <li>
1353
- * <p>
1354
- * <code>NONE</code> - Endpoint does not exist or was previously deleted.</p>
1355
- * </li>
1356
- * <li>
1357
- * <p>
1358
- * <code>READY</code> - Endpoint is ready to be used for real-time predictions.</p>
1359
- * </li>
1360
- * <li>
1361
- * <p>
1362
- * <code>UPDATING</code> - Updating/creating the endpoint. </p>
1363
- * </li>
1364
- * </ul>
1365
- */
1366
- EndpointStatus?: RealtimeEndpointStatus | string;
1367
- }
1368
-
1369
- export namespace RealtimeEndpointInfo {
1370
- /**
1371
- * @internal
1372
- */
1373
- export const filterSensitiveLog = (obj: RealtimeEndpointInfo): any => ({
1374
- ...obj,
1375
- });
1376
- }
1377
-
1378
- /**
1379
- * <p>Represents the output of an <code>CreateRealtimeEndpoint</code> operation.</p>
1380
- * <p>The result contains the <code>MLModelId</code> and the endpoint information for the <code>MLModel</code>.</p>
1381
- * <p>
1382
- * <b>Note:</b> The endpoint information includes the URI of the <code>MLModel</code>; that is, the location to send online prediction requests for the specified <code>MLModel</code>.</p>
1383
- */
1384
- export interface CreateRealtimeEndpointOutput {
1385
- /**
1386
- * <p>A user-supplied ID that uniquely identifies the <code>MLModel</code>. This value should be identical to the value of the
1387
- * <code>MLModelId</code> in the request.</p>
1388
- */
1389
- MLModelId?: string;
1390
-
1391
- /**
1392
- * <p>The endpoint information of the <code>MLModel</code>
1393
- * </p>
1394
- */
1395
- RealtimeEndpointInfo?: RealtimeEndpointInfo;
1396
- }
1397
-
1398
- export namespace CreateRealtimeEndpointOutput {
1399
- /**
1400
- * @internal
1401
- */
1402
- export const filterSensitiveLog = (obj: CreateRealtimeEndpointOutput): any => ({
1403
- ...obj,
1404
- });
1405
- }
1406
-
1407
- export interface DeleteBatchPredictionInput {
1408
- /**
1409
- * <p>A user-supplied ID that uniquely identifies the <code>BatchPrediction</code>.</p>
1410
- */
1411
- BatchPredictionId: string | undefined;
1412
- }
1413
-
1414
- export namespace DeleteBatchPredictionInput {
1415
- /**
1416
- * @internal
1417
- */
1418
- export const filterSensitiveLog = (obj: DeleteBatchPredictionInput): any => ({
1419
- ...obj,
1420
- });
1421
- }
1422
-
1423
- /**
1424
- * <p> Represents the output of a <code>DeleteBatchPrediction</code> operation.</p>
1425
- * <p>You can use the <code>GetBatchPrediction</code> operation and check the value of the <code>Status</code> parameter to see whether a
1426
- * <code>BatchPrediction</code> is marked as <code>DELETED</code>.</p>
1427
- */
1428
- export interface DeleteBatchPredictionOutput {
1429
- /**
1430
- * <p>A user-supplied ID that uniquely identifies the <code>BatchPrediction</code>. This value should be identical to the value of the <code>BatchPredictionID</code> in the request.</p>
1431
- */
1432
- BatchPredictionId?: string;
1433
- }
1434
-
1435
- export namespace DeleteBatchPredictionOutput {
1436
- /**
1437
- * @internal
1438
- */
1439
- export const filterSensitiveLog = (obj: DeleteBatchPredictionOutput): any => ({
1440
- ...obj,
1441
- });
1442
- }
1443
-
1444
- export interface DeleteDataSourceInput {
1445
- /**
1446
- * <p>A user-supplied ID that uniquely identifies the <code>DataSource</code>.</p>
1447
- */
1448
- DataSourceId: string | undefined;
1449
- }
1450
-
1451
- export namespace DeleteDataSourceInput {
1452
- /**
1453
- * @internal
1454
- */
1455
- export const filterSensitiveLog = (obj: DeleteDataSourceInput): any => ({
1456
- ...obj,
1457
- });
1458
- }
1459
-
1460
- /**
1461
- * <p> Represents the output of a <code>DeleteDataSource</code> operation.</p>
1462
- */
1463
- export interface DeleteDataSourceOutput {
1464
- /**
1465
- * <p>A user-supplied ID that uniquely identifies the <code>DataSource</code>. This value should be identical to the value of the <code>DataSourceID</code> in the request.</p>
1466
- */
1467
- DataSourceId?: string;
1468
- }
1469
-
1470
- export namespace DeleteDataSourceOutput {
1471
- /**
1472
- * @internal
1473
- */
1474
- export const filterSensitiveLog = (obj: DeleteDataSourceOutput): any => ({
1475
- ...obj,
1476
- });
1477
- }
1478
-
1479
- export interface DeleteEvaluationInput {
1480
- /**
1481
- * <p>A user-supplied ID that uniquely identifies the <code>Evaluation</code> to delete.</p>
1482
- */
1483
- EvaluationId: string | undefined;
1484
- }
1485
-
1486
- export namespace DeleteEvaluationInput {
1487
- /**
1488
- * @internal
1489
- */
1490
- export const filterSensitiveLog = (obj: DeleteEvaluationInput): any => ({
1491
- ...obj,
1492
- });
1493
- }
1494
-
1495
- /**
1496
- * <p> Represents the output of a <code>DeleteEvaluation</code> operation. The output indicates that Amazon Machine Learning (Amazon ML) received the request.</p>
1497
- * <p>You can use the <code>GetEvaluation</code> operation and check the value of the <code>Status</code> parameter to see whether an
1498
- * <code>Evaluation</code> is marked as <code>DELETED</code>.</p>
1499
- */
1500
- export interface DeleteEvaluationOutput {
1501
- /**
1502
- * <p>A user-supplied ID that uniquely identifies the <code>Evaluation</code>. This value should be identical to the value of the <code>EvaluationId</code> in the request.</p>
1503
- */
1504
- EvaluationId?: string;
1505
- }
1506
-
1507
- export namespace DeleteEvaluationOutput {
1508
- /**
1509
- * @internal
1510
- */
1511
- export const filterSensitiveLog = (obj: DeleteEvaluationOutput): any => ({
1512
- ...obj,
1513
- });
1514
- }
1515
-
1516
- export interface DeleteMLModelInput {
1517
- /**
1518
- * <p>A user-supplied ID that uniquely identifies the <code>MLModel</code>.</p>
1519
- */
1520
- MLModelId: string | undefined;
1521
- }
1522
-
1523
- export namespace DeleteMLModelInput {
1524
- /**
1525
- * @internal
1526
- */
1527
- export const filterSensitiveLog = (obj: DeleteMLModelInput): any => ({
1528
- ...obj,
1529
- });
1530
- }
1531
-
1532
- /**
1533
- * <p>Represents the output of a <code>DeleteMLModel</code> operation.</p>
1534
- * <p>You can use the <code>GetMLModel</code> operation and check the value of the <code>Status</code> parameter to see whether an
1535
- * <code>MLModel</code> is marked as <code>DELETED</code>.</p>
1536
- */
1537
- export interface DeleteMLModelOutput {
1538
- /**
1539
- * <p>A user-supplied ID that uniquely identifies the <code>MLModel</code>. This value should be identical to the value of the <code>MLModelID</code> in the request.</p>
1540
- */
1541
- MLModelId?: string;
1542
- }
1543
-
1544
- export namespace DeleteMLModelOutput {
1545
- /**
1546
- * @internal
1547
- */
1548
- export const filterSensitiveLog = (obj: DeleteMLModelOutput): any => ({
1549
- ...obj,
1550
- });
1551
- }
1552
-
1553
- export interface DeleteRealtimeEndpointInput {
1554
- /**
1555
- * <p>The ID assigned to the <code>MLModel</code> during creation.</p>
1556
- */
1557
- MLModelId: string | undefined;
1558
- }
1559
-
1560
- export namespace DeleteRealtimeEndpointInput {
1561
- /**
1562
- * @internal
1563
- */
1564
- export const filterSensitiveLog = (obj: DeleteRealtimeEndpointInput): any => ({
1565
- ...obj,
1566
- });
1567
- }
1568
-
1569
- /**
1570
- * <p>Represents the output of an <code>DeleteRealtimeEndpoint</code> operation.</p>
1571
- * <p>The result contains the <code>MLModelId</code> and the endpoint information for the <code>MLModel</code>. </p>
1572
- */
1573
- export interface DeleteRealtimeEndpointOutput {
1574
- /**
1575
- * <p>A user-supplied ID that uniquely identifies the <code>MLModel</code>. This value should be identical to the value of the
1576
- * <code>MLModelId</code> in the request.</p>
1577
- */
1578
- MLModelId?: string;
1579
-
1580
- /**
1581
- * <p>The endpoint information of the <code>MLModel</code>
1582
- * </p>
1583
- */
1584
- RealtimeEndpointInfo?: RealtimeEndpointInfo;
1585
- }
1586
-
1587
- export namespace DeleteRealtimeEndpointOutput {
1588
- /**
1589
- * @internal
1590
- */
1591
- export const filterSensitiveLog = (obj: DeleteRealtimeEndpointOutput): any => ({
1592
- ...obj,
1593
- });
1594
- }
1595
-
1596
- export interface DeleteTagsInput {
1597
- /**
1598
- * <p>One or more tags to delete.</p>
1599
- */
1600
- TagKeys: string[] | undefined;
1601
-
1602
- /**
1603
- * <p>The ID of the tagged ML object. For example, <code>exampleModelId</code>.</p>
1604
- */
1605
- ResourceId: string | undefined;
1606
-
1607
- /**
1608
- * <p>The type of the tagged ML object.</p>
1609
- */
1610
- ResourceType: TaggableResourceType | string | undefined;
1611
- }
1612
-
1613
- export namespace DeleteTagsInput {
1614
- /**
1615
- * @internal
1616
- */
1617
- export const filterSensitiveLog = (obj: DeleteTagsInput): any => ({
1618
- ...obj,
1619
- });
1620
- }
1621
-
1622
- /**
1623
- * <p>Amazon ML returns the following elements.</p>
1624
- */
1625
- export interface DeleteTagsOutput {
1626
- /**
1627
- * <p>The ID of the ML object from which tags were deleted.</p>
1628
- */
1629
- ResourceId?: string;
1630
-
1631
- /**
1632
- * <p>The type of the ML object from which tags were deleted.</p>
1633
- */
1634
- ResourceType?: TaggableResourceType | string;
1635
- }
1636
-
1637
- export namespace DeleteTagsOutput {
1638
- /**
1639
- * @internal
1640
- */
1641
- export const filterSensitiveLog = (obj: DeleteTagsOutput): any => ({
1642
- ...obj,
1643
- });
1644
- }
1645
-
1646
- export enum BatchPredictionFilterVariable {
1647
- CREATED_AT = "CreatedAt",
1648
- DATASOURCE_ID = "DataSourceId",
1649
- DATA_URI = "DataURI",
1650
- IAM_USER = "IAMUser",
1651
- LAST_UPDATED_AT = "LastUpdatedAt",
1652
- ML_MODEL_ID = "MLModelId",
1653
- NAME = "Name",
1654
- STATUS = "Status",
1655
- }
1656
-
1657
- export enum SortOrder {
1658
- ASC = "asc",
1659
- DSC = "dsc",
1660
- }
1661
-
1662
- export interface DescribeBatchPredictionsInput {
1663
- /**
1664
- * <p>Use one of the following variables to filter a list of <code>BatchPrediction</code>:</p>
1665
- * <ul>
1666
- * <li>
1667
- * <p>
1668
- * <code>CreatedAt</code> - Sets the search criteria to the <code>BatchPrediction</code> creation date.</p>
1669
- * </li>
1670
- * <li>
1671
- * <p>
1672
- * <code>Status</code> - Sets the search criteria to the <code>BatchPrediction</code> status.</p>
1673
- * </li>
1674
- * <li>
1675
- * <p>
1676
- * <code>Name</code> - Sets the search criteria to the contents of the <code>BatchPrediction</code>
1677
- * <b> </b>
1678
- * <code>Name</code>.</p>
1679
- * </li>
1680
- * <li>
1681
- * <p>
1682
- * <code>IAMUser</code> - Sets the search criteria to the user account that invoked the <code>BatchPrediction</code> creation.</p>
1683
- * </li>
1684
- * <li>
1685
- * <p>
1686
- * <code>MLModelId</code> - Sets the search criteria to the <code>MLModel</code> used in the <code>BatchPrediction</code>.</p>
1687
- * </li>
1688
- * <li>
1689
- * <p>
1690
- * <code>DataSourceId</code> - Sets the search criteria to the <code>DataSource</code> used in the <code>BatchPrediction</code>.</p>
1691
- * </li>
1692
- * <li>
1693
- * <p>
1694
- * <code>DataURI</code> - Sets the search criteria to the data file(s) used in the <code>BatchPrediction</code>. The URL can identify either a file or an Amazon Simple Storage Solution (Amazon S3) bucket or directory.</p>
1695
- * </li>
1696
- * </ul>
1697
- */
1698
- FilterVariable?: BatchPredictionFilterVariable | string;
1699
-
1700
- /**
1701
- * <p>The equal to operator. The <code>BatchPrediction</code> results will have
1702
- * <code>FilterVariable</code> values that exactly match the value specified with <code>EQ</code>.</p>
1703
- */
1704
- EQ?: string;
1705
-
1706
- /**
1707
- * <p>The greater than operator. The <code>BatchPrediction</code> results will
1708
- * have <code>FilterVariable</code> values that are greater than the value specified with <code>GT</code>.</p>
1709
- */
1710
- GT?: string;
1711
-
1712
- /**
1713
- * <p>The less than operator. The <code>BatchPrediction</code> results will
1714
- * have <code>FilterVariable</code> values that are less than the value specified with <code>LT</code>.</p>
1715
- */
1716
- LT?: string;
1717
-
1718
- /**
1719
- * <p>The greater than or equal to operator. The <code>BatchPrediction</code> results will have <code>FilterVariable</code> values that are greater than or equal to the value specified with <code>GE</code>.
1720
- * </p>
1721
- */
1722
- GE?: string;
1723
-
1724
- /**
1725
- * <p>The less than or equal to operator. The <code>BatchPrediction</code> results will have <code>FilterVariable</code> values that are less than or equal to the value specified with <code>LE</code>.</p>
1726
- */
1727
- LE?: string;
1728
-
1729
- /**
1730
- * <p>The not equal to operator. The <code>BatchPrediction</code> results will have <code>FilterVariable</code> values not equal to the value specified with <code>NE</code>.</p>
1731
- */
1732
- NE?: string;
1733
-
1734
- /**
1735
- * <p>A string that is found at the beginning of a variable, such as <code>Name</code> or <code>Id</code>.</p>
1736
- * <p>For example, a <code>Batch Prediction</code> operation could have the <code>Name</code>
1737
- * <code>2014-09-09-HolidayGiftMailer</code>. To search for
1738
- * this <code>BatchPrediction</code>, select <code>Name</code> for the <code>FilterVariable</code> and any of the following strings for the
1739
- * <code>Prefix</code>:
1740
- * </p>
1741
- *
1742
- * <ul>
1743
- * <li>
1744
- * <p>2014-09</p>
1745
- * </li>
1746
- * <li>
1747
- * <p>2014-09-09</p>
1748
- * </li>
1749
- * <li>
1750
- * <p>2014-09-09-Holiday</p>
1751
- * </li>
1752
- * </ul>
1753
- */
1754
- Prefix?: string;
1755
-
1756
- /**
1757
- * <p>A two-value parameter that determines the sequence of the resulting list of <code>MLModel</code>s.</p>
1758
- * <ul>
1759
- * <li>
1760
- * <p>
1761
- * <code>asc</code> - Arranges the list in ascending order (A-Z, 0-9).</p>
1762
- * </li>
1763
- * <li>
1764
- * <p>
1765
- * <code>dsc</code> - Arranges the list in descending order (Z-A, 9-0).</p>
1766
- * </li>
1767
- * </ul>
1768
- * <p>Results are sorted by <code>FilterVariable</code>.</p>
1769
- */
1770
- SortOrder?: SortOrder | string;
1771
-
1772
- /**
1773
- * <p>An ID of the page in the paginated results.</p>
1774
- */
1775
- NextToken?: string;
1776
-
1777
- /**
1778
- * <p>The number of pages of information to include in the result. The range of acceptable values is <code>1</code> through <code>100</code>. The default value is <code>100</code>.</p>
1779
- */
1780
- Limit?: number;
1781
- }
1782
-
1783
- export namespace DescribeBatchPredictionsInput {
1784
- /**
1785
- * @internal
1786
- */
1787
- export const filterSensitiveLog = (obj: DescribeBatchPredictionsInput): any => ({
1788
- ...obj,
1789
- });
1790
- }
1791
-
1792
- export enum EntityStatus {
1793
- COMPLETED = "COMPLETED",
1794
- DELETED = "DELETED",
1795
- FAILED = "FAILED",
1796
- INPROGRESS = "INPROGRESS",
1797
- PENDING = "PENDING",
1798
- }
1799
-
1800
- /**
1801
- * <p> Represents the output of a <code>GetBatchPrediction</code> operation.</p>
1802
- * <p> The content consists of the detailed metadata, the status, and the data file information of a
1803
- * <code>Batch Prediction</code>.</p>
1804
- */
1805
- export interface BatchPrediction {
1806
- /**
1807
- * <p>The ID assigned to the <code>BatchPrediction</code> at creation. This value should be identical to the value of the <code>BatchPredictionID</code>
1808
- * in the request.
1809
- * </p>
1810
- */
1811
- BatchPredictionId?: string;
1812
-
1813
- /**
1814
- * <p>The ID of the <code>MLModel</code> that generated predictions for the <code>BatchPrediction</code> request.</p>
1815
- */
1816
- MLModelId?: string;
1817
-
1818
- /**
1819
- * <p>The ID of the <code>DataSource</code> that points to the group of observations to predict.</p>
1820
- */
1821
- BatchPredictionDataSourceId?: string;
1822
-
1823
- /**
1824
- * <p>The location of the data file or directory in Amazon Simple Storage Service (Amazon S3).</p>
1825
- */
1826
- InputDataLocationS3?: string;
1827
-
1828
- /**
1829
- * <p>The AWS user account that invoked the <code>BatchPrediction</code>. The account type can be either an AWS root account or an AWS Identity and Access Management (IAM) user account.</p>
1830
- */
1831
- CreatedByIamUser?: string;
1832
-
1833
- /**
1834
- * <p>The time that the <code>BatchPrediction</code> was created. The time is expressed in epoch time.</p>
1835
- */
1836
- CreatedAt?: Date;
1837
-
1838
- /**
1839
- * <p>The time of the most recent edit to the <code>BatchPrediction</code>. The time is expressed in epoch time.</p>
1840
- */
1841
- LastUpdatedAt?: Date;
1842
-
1843
- /**
1844
- * <p>A user-supplied name or description of the <code>BatchPrediction</code>.</p>
1845
- */
1846
- Name?: string;
1847
-
1848
- /**
1849
- * <p>The status of the <code>BatchPrediction</code>. This element can have one of the following values:</p>
1850
- * <ul>
1851
- * <li>
1852
- * <p>
1853
- * <code>PENDING</code> - Amazon Machine Learning (Amazon ML) submitted a request to generate predictions for a batch of observations.</p>
1854
- * </li>
1855
- * <li>
1856
- * <p>
1857
- * <code>INPROGRESS</code> - The process is underway.</p>
1858
- * </li>
1859
- * <li>
1860
- * <p>
1861
- * <code>FAILED</code> - The request to perform a batch prediction did not run to completion. It is not usable.</p>
1862
- * </li>
1863
- * <li>
1864
- * <p>
1865
- * <code>COMPLETED</code> - The batch prediction process completed successfully.</p>
1866
- * </li>
1867
- * <li>
1868
- * <p>
1869
- * <code>DELETED</code> - The <code>BatchPrediction</code> is marked as deleted. It is not usable.</p>
1870
- * </li>
1871
- * </ul>
1872
- */
1873
- Status?: EntityStatus | string;
1874
-
1875
- /**
1876
- * <p>The location of an Amazon S3 bucket or directory to receive the operation results. The following substrings are not allowed in the <code>s3 key</code> portion of the <code>outputURI</code> field: ':', '//', '/./', '/../'.</p>
1877
- */
1878
- OutputUri?: string;
1879
-
1880
- /**
1881
- * <p>A description of the most recent details about processing the batch prediction request.</p>
1882
- */
1883
- Message?: string;
1884
-
1885
- /**
1886
- * <p>Long integer type that is a 64-bit signed number.</p>
1887
- */
1888
- ComputeTime?: number;
1889
-
1890
- /**
1891
- * <p>A timestamp represented in epoch time.</p>
1892
- */
1893
- FinishedAt?: Date;
1894
-
1895
- /**
1896
- * <p>A timestamp represented in epoch time.</p>
1897
- */
1898
- StartedAt?: Date;
1899
-
1900
- /**
1901
- * <p>Long integer type that is a 64-bit signed number.</p>
1902
- */
1903
- TotalRecordCount?: number;
1904
-
1905
- /**
1906
- * <p>Long integer type that is a 64-bit signed number.</p>
1907
- */
1908
- InvalidRecordCount?: number;
1909
- }
1910
-
1911
- export namespace BatchPrediction {
1912
- /**
1913
- * @internal
1914
- */
1915
- export const filterSensitiveLog = (obj: BatchPrediction): any => ({
1916
- ...obj,
1917
- });
1918
- }
1919
-
1920
- /**
1921
- * <p>Represents the output of a <code>DescribeBatchPredictions</code> operation. The content is essentially a list of <code>BatchPrediction</code>s.</p>
1922
- */
1923
- export interface DescribeBatchPredictionsOutput {
1924
- /**
1925
- * <p>A list of <code>BatchPrediction</code> objects that meet the search criteria.
1926
- * </p>
1927
- */
1928
- Results?: BatchPrediction[];
1929
-
1930
- /**
1931
- * <p>The ID of the next page in the paginated results that indicates at least one more page follows.</p>
1932
- */
1933
- NextToken?: string;
1934
- }
1935
-
1936
- export namespace DescribeBatchPredictionsOutput {
1937
- /**
1938
- * @internal
1939
- */
1940
- export const filterSensitiveLog = (obj: DescribeBatchPredictionsOutput): any => ({
1941
- ...obj,
1942
- });
1943
- }
1944
-
1945
- export enum DataSourceFilterVariable {
1946
- CREATED_AT = "CreatedAt",
1947
- DATA_URI = "DataLocationS3",
1948
- IAM_USER = "IAMUser",
1949
- LAST_UPDATED_AT = "LastUpdatedAt",
1950
- NAME = "Name",
1951
- STATUS = "Status",
1952
- }
1953
-
1954
- export interface DescribeDataSourcesInput {
1955
- /**
1956
- * <p>Use one of the following variables to filter a list of <code>DataSource</code>:</p>
1957
- * <ul>
1958
- * <li>
1959
- * <p>
1960
- * <code>CreatedAt</code> - Sets the search criteria to <code>DataSource</code> creation dates.</p>
1961
- * </li>
1962
- * <li>
1963
- * <p>
1964
- * <code>Status</code> - Sets the search criteria to <code>DataSource</code> statuses.</p>
1965
- * </li>
1966
- * <li>
1967
- * <p>
1968
- * <code>Name</code> - Sets the search criteria to the contents of <code>DataSource</code>
1969
- * <code>Name</code>.</p>
1970
- * </li>
1971
- * <li>
1972
- * <p>
1973
- * <code>DataUri</code> - Sets the search criteria to the URI of data files used to create the <code>DataSource</code>. The URI can identify either a file or an Amazon Simple Storage Service (Amazon S3) bucket or directory.</p>
1974
- * </li>
1975
- * <li>
1976
- * <p>
1977
- * <code>IAMUser</code> - Sets the search criteria to the user account that invoked the <code>DataSource</code> creation.</p>
1978
- * </li>
1979
- * </ul>
1980
- */
1981
- FilterVariable?: DataSourceFilterVariable | string;
1982
-
1983
- /**
1984
- * <p>The equal to operator. The <code>DataSource</code> results will have
1985
- * <code>FilterVariable</code> values that exactly match the value specified with <code>EQ</code>.</p>
1986
- */
1987
- EQ?: string;
1988
-
1989
- /**
1990
- * <p>The greater than operator. The <code>DataSource</code> results will
1991
- * have <code>FilterVariable</code> values that are greater than the value specified with <code>GT</code>.</p>
1992
- */
1993
- GT?: string;
1994
-
1995
- /**
1996
- * <p>The less than operator. The <code>DataSource</code> results will
1997
- * have <code>FilterVariable</code> values that are less than the value specified with <code>LT</code>.</p>
1998
- */
1999
- LT?: string;
2000
-
2001
- /**
2002
- * <p>The greater than or equal to operator. The <code>DataSource</code> results will have <code>FilterVariable</code> values that are greater than or equal to the value specified with <code>GE</code>.
2003
- * </p>
2004
- */
2005
- GE?: string;
2006
-
2007
- /**
2008
- * <p>The less than or equal to operator. The <code>DataSource</code> results will have <code>FilterVariable</code> values that are less than or equal to the value specified with <code>LE</code>.</p>
2009
- */
2010
- LE?: string;
2011
-
2012
- /**
2013
- * <p>The not equal to operator. The <code>DataSource</code> results will have <code>FilterVariable</code> values not equal to the value specified with <code>NE</code>.</p>
2014
- */
2015
- NE?: string;
2016
-
2017
- /**
2018
- * <p>A string that is found at the beginning of a variable, such as <code>Name</code> or <code>Id</code>.</p>
2019
- * <p>For example, a <code>DataSource</code> could have the <code>Name</code>
2020
- * <code>2014-09-09-HolidayGiftMailer</code>. To search for
2021
- * this <code>DataSource</code>, select <code>Name</code> for the <code>FilterVariable</code> and any of the following strings for the
2022
- * <code>Prefix</code>:
2023
- * </p>
2024
- *
2025
- * <ul>
2026
- * <li>
2027
- * <p>2014-09</p>
2028
- * </li>
2029
- * <li>
2030
- * <p>2014-09-09</p>
2031
- * </li>
2032
- * <li>
2033
- * <p>2014-09-09-Holiday</p>
2034
- * </li>
2035
- * </ul>
2036
- */
2037
- Prefix?: string;
2038
-
2039
- /**
2040
- * <p>A two-value parameter that determines the sequence of the resulting list of <code>DataSource</code>.</p>
2041
- * <ul>
2042
- * <li>
2043
- * <p>
2044
- * <code>asc</code> - Arranges the list in ascending order (A-Z, 0-9).</p>
2045
- * </li>
2046
- * <li>
2047
- * <p>
2048
- * <code>dsc</code> - Arranges the list in descending order (Z-A, 9-0).</p>
2049
- * </li>
2050
- * </ul>
2051
- * <p>Results are sorted by <code>FilterVariable</code>.</p>
2052
- */
2053
- SortOrder?: SortOrder | string;
2054
-
2055
- /**
2056
- * <p>The ID of the page in the paginated results.</p>
2057
- */
2058
- NextToken?: string;
2059
-
2060
- /**
2061
- * <p> The maximum number of <code>DataSource</code> to include in the result.</p>
2062
- */
2063
- Limit?: number;
2064
- }
2065
-
2066
- export namespace DescribeDataSourcesInput {
2067
- /**
2068
- * @internal
2069
- */
2070
- export const filterSensitiveLog = (obj: DescribeDataSourcesInput): any => ({
2071
- ...obj,
2072
- });
2073
- }
2074
-
2075
- /**
2076
- * <p>The datasource details that are specific to Amazon RDS.</p>
2077
- */
2078
- export interface RDSMetadata {
2079
- /**
2080
- * <p>The database details required to connect to an Amazon RDS.</p>
2081
- */
2082
- Database?: RDSDatabase;
2083
-
2084
- /**
2085
- * <p>The username to be used by Amazon ML to connect to database on an Amazon RDS instance.
2086
- * The username should have sufficient permissions to execute an <code>RDSSelectSqlQuery</code> query.</p>
2087
- */
2088
- DatabaseUserName?: string;
2089
-
2090
- /**
2091
- * <p>The SQL query that is supplied during <a>CreateDataSourceFromRDS</a>. Returns only if <code>Verbose</code> is true in <code>GetDataSourceInput</code>. </p>
2092
- */
2093
- SelectSqlQuery?: string;
2094
-
2095
- /**
2096
- * <p>The role (DataPipelineDefaultResourceRole) assumed by an Amazon EC2 instance to carry out the copy task from Amazon RDS to Amazon S3. For more information, see <a href="https://docs.aws.amazon.com/datapipeline/latest/DeveloperGuide/dp-iam-roles.html">Role templates</a> for data pipelines.</p>
2097
- */
2098
- ResourceRole?: string;
2099
-
2100
- /**
2101
- * <p>The role (DataPipelineDefaultRole) assumed by the Data Pipeline service to monitor the progress of the copy task from Amazon RDS to Amazon S3. For more information, see <a href="https://docs.aws.amazon.com/datapipeline/latest/DeveloperGuide/dp-iam-roles.html">Role templates</a> for data pipelines.</p>
2102
- */
2103
- ServiceRole?: string;
2104
-
2105
- /**
2106
- * <p>The ID of the Data Pipeline instance that is used to carry to copy data from Amazon RDS to Amazon S3. You can use the ID to find details about the instance in the Data Pipeline console.</p>
2107
- */
2108
- DataPipelineId?: string;
2109
- }
2110
-
2111
- export namespace RDSMetadata {
2112
- /**
2113
- * @internal
2114
- */
2115
- export const filterSensitiveLog = (obj: RDSMetadata): any => ({
2116
- ...obj,
2117
- });
2118
- }
2119
-
2120
- /**
2121
- * <p>Describes the <code>DataSource</code> details specific to Amazon Redshift.</p>
2122
- */
2123
- export interface RedshiftMetadata {
2124
- /**
2125
- * <p>Describes the database details required to connect to an Amazon Redshift database.</p>
2126
- */
2127
- RedshiftDatabase?: RedshiftDatabase;
2128
-
2129
- /**
2130
- * <p>A username to be used by Amazon Machine Learning (Amazon ML)to connect to a database on an Amazon Redshift cluster.
2131
- * The username should have sufficient permissions to execute the <code>RedshiftSelectSqlQuery</code> query. The username should be valid for an Amazon Redshift <a href="https://docs.aws.amazon.com/redshift/latest/dg/r_CREATE_USER.html">USER</a>.</p>
2132
- */
2133
- DatabaseUserName?: string;
2134
-
2135
- /**
2136
- * <p> The SQL query that is specified during <a>CreateDataSourceFromRedshift</a>. Returns only if <code>Verbose</code> is true in GetDataSourceInput. </p>
2137
- */
2138
- SelectSqlQuery?: string;
2139
- }
2140
-
2141
- export namespace RedshiftMetadata {
2142
- /**
2143
- * @internal
2144
- */
2145
- export const filterSensitiveLog = (obj: RedshiftMetadata): any => ({
2146
- ...obj,
2147
- });
2148
- }
2149
-
2150
- /**
2151
- * <p> Represents the output of the <code>GetDataSource</code> operation. </p>
2152
- * <p> The content consists of the detailed metadata and data file information and the current status of the <code>DataSource</code>. </p>
2153
- */
2154
- export interface DataSource {
2155
- /**
2156
- * <p>The ID that is assigned to the <code>DataSource</code> during creation.</p>
2157
- */
2158
- DataSourceId?: string;
2159
-
2160
- /**
2161
- * <p>The location and name of the data in Amazon Simple Storage Service (Amazon S3) that is used by a <code>DataSource</code>.</p>
2162
- */
2163
- DataLocationS3?: string;
2164
-
2165
- /**
2166
- * <p>A JSON string that represents the splitting and rearrangement requirement used when this <code>DataSource</code>
2167
- * was created.</p>
2168
- */
2169
- DataRearrangement?: string;
2170
-
2171
- /**
2172
- * <p>The AWS user account from which the <code>DataSource</code> was created. The account type can be either an AWS root account or an AWS Identity and Access Management (IAM) user account.</p>
2173
- */
2174
- CreatedByIamUser?: string;
2175
-
2176
- /**
2177
- * <p>The time that the <code>DataSource</code> was created. The time is expressed in epoch time.</p>
2178
- */
2179
- CreatedAt?: Date;
2180
-
2181
- /**
2182
- * <p>The time of the most recent edit to the
2183
- * <code>BatchPrediction</code>. The time is expressed in epoch time.</p>
2184
- */
2185
- LastUpdatedAt?: Date;
2186
-
2187
- /**
2188
- * <p>The total number of observations contained in the data files that the <code>DataSource</code> references.</p>
2189
- */
2190
- DataSizeInBytes?: number;
2191
-
2192
- /**
2193
- * <p>The number of data files referenced by the <code>DataSource</code>.</p>
2194
- */
2195
- NumberOfFiles?: number;
2196
-
2197
- /**
2198
- * <p>A user-supplied name or description of the <code>DataSource</code>.</p>
2199
- */
2200
- Name?: string;
2201
-
2202
- /**
2203
- * <p>The current status of the <code>DataSource</code>. This element can have one of the following values: </p>
2204
- * <ul>
2205
- * <li>
2206
- * <p>PENDING - Amazon Machine Learning (Amazon ML) submitted a request to create a <code>DataSource</code>.</p>
2207
- * </li>
2208
- * <li>
2209
- * <p>INPROGRESS - The creation process is underway.</p>
2210
- * </li>
2211
- * <li>
2212
- * <p>FAILED - The request to create a <code>DataSource</code> did not run to completion. It is not usable.</p>
2213
- * </li>
2214
- * <li>
2215
- * <p>COMPLETED - The creation process completed successfully.</p>
2216
- * </li>
2217
- * <li>
2218
- * <p>DELETED - The <code>DataSource</code> is marked as deleted. It is not usable.</p>
2219
- * </li>
2220
- * </ul>
2221
- */
2222
- Status?: EntityStatus | string;
2223
-
2224
- /**
2225
- * <p>A description of the most recent details about creating the <code>DataSource</code>.</p>
2226
- */
2227
- Message?: string;
2228
-
2229
- /**
2230
- * <p>Describes the <code>DataSource</code> details specific to Amazon Redshift.</p>
2231
- */
2232
- RedshiftMetadata?: RedshiftMetadata;
2233
-
2234
- /**
2235
- * <p>The datasource details that are specific to Amazon RDS.</p>
2236
- */
2237
- RDSMetadata?: RDSMetadata;
2238
-
2239
- /**
2240
- * <p>The Amazon Resource Name (ARN) of an <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/roles-toplevel.html#roles-about-termsandconcepts">AWS IAM Role</a>, such as the following: arn:aws:iam::account:role/rolename. </p>
2241
- */
2242
- RoleARN?: string;
2243
-
2244
- /**
2245
- * <p>
2246
- * The parameter is <code>true</code> if statistics need to be generated from the observation data.
2247
- * </p>
2248
- */
2249
- ComputeStatistics?: boolean;
2250
-
2251
- /**
2252
- * <p>Long integer type that is a 64-bit signed number.</p>
2253
- */
2254
- ComputeTime?: number;
2255
-
2256
- /**
2257
- * <p>A timestamp represented in epoch time.</p>
2258
- */
2259
- FinishedAt?: Date;
2260
-
2261
- /**
2262
- * <p>A timestamp represented in epoch time.</p>
2263
- */
2264
- StartedAt?: Date;
2265
- }
2266
-
2267
- export namespace DataSource {
2268
- /**
2269
- * @internal
2270
- */
2271
- export const filterSensitiveLog = (obj: DataSource): any => ({
2272
- ...obj,
2273
- });
2274
- }
2275
-
2276
- /**
2277
- * <p>Represents the query results from a <a>DescribeDataSources</a> operation. The content is essentially a list of <code>DataSource</code>.</p>
2278
- */
2279
- export interface DescribeDataSourcesOutput {
2280
- /**
2281
- * <p>A list of <code>DataSource</code> that meet the search criteria.
2282
- * </p>
2283
- */
2284
- Results?: DataSource[];
2285
-
2286
- /**
2287
- * <p>An ID of the next page in the paginated results that indicates at least one more page follows.</p>
2288
- */
2289
- NextToken?: string;
2290
- }
2291
-
2292
- export namespace DescribeDataSourcesOutput {
2293
- /**
2294
- * @internal
2295
- */
2296
- export const filterSensitiveLog = (obj: DescribeDataSourcesOutput): any => ({
2297
- ...obj,
2298
- });
2299
- }
2300
-
2301
- export enum EvaluationFilterVariable {
2302
- CREATED_AT = "CreatedAt",
2303
- DATASOURCE_ID = "DataSourceId",
2304
- DATA_URI = "DataURI",
2305
- IAM_USER = "IAMUser",
2306
- LAST_UPDATED_AT = "LastUpdatedAt",
2307
- ML_MODEL_ID = "MLModelId",
2308
- NAME = "Name",
2309
- STATUS = "Status",
2310
- }
2311
-
2312
- export interface DescribeEvaluationsInput {
2313
- /**
2314
- * <p>Use one of the following variable to filter a list of <code>Evaluation</code> objects:</p>
2315
- * <ul>
2316
- * <li>
2317
- * <p>
2318
- * <code>CreatedAt</code> - Sets the search criteria to the <code>Evaluation</code> creation date.</p>
2319
- * </li>
2320
- * <li>
2321
- * <p>
2322
- * <code>Status</code> - Sets the search criteria to the <code>Evaluation</code> status.</p>
2323
- * </li>
2324
- * <li>
2325
- * <p>
2326
- * <code>Name</code> - Sets the search criteria to the contents of <code>Evaluation</code>
2327
- * <b> </b>
2328
- * <code>Name</code>.</p>
2329
- * </li>
2330
- * <li>
2331
- * <p>
2332
- * <code>IAMUser</code> - Sets the search criteria to the user account that invoked an <code>Evaluation</code>.</p>
2333
- * </li>
2334
- * <li>
2335
- * <p>
2336
- * <code>MLModelId</code> - Sets the search criteria to the <code>MLModel</code> that was evaluated.</p>
2337
- * </li>
2338
- * <li>
2339
- * <p>
2340
- * <code>DataSourceId</code> - Sets the search criteria to the <code>DataSource</code> used in <code>Evaluation</code>.</p>
2341
- * </li>
2342
- * <li>
2343
- * <p>
2344
- * <code>DataUri</code> - Sets the search criteria to the data file(s) used in <code>Evaluation</code>. The URL can identify either a file or an Amazon Simple Storage Solution (Amazon S3) bucket or directory.</p>
2345
- * </li>
2346
- * </ul>
2347
- */
2348
- FilterVariable?: EvaluationFilterVariable | string;
2349
-
2350
- /**
2351
- * <p>The equal to operator. The <code>Evaluation</code> results will have
2352
- * <code>FilterVariable</code> values that exactly match the value specified with <code>EQ</code>.</p>
2353
- */
2354
- EQ?: string;
2355
-
2356
- /**
2357
- * <p>The greater than operator. The <code>Evaluation</code> results will
2358
- * have <code>FilterVariable</code> values that are greater than the value specified with <code>GT</code>.</p>
2359
- */
2360
- GT?: string;
2361
-
2362
- /**
2363
- * <p>The less than operator. The <code>Evaluation</code> results will
2364
- * have <code>FilterVariable</code> values that are less than the value specified with <code>LT</code>.</p>
2365
- */
2366
- LT?: string;
2367
-
2368
- /**
2369
- * <p>The greater than or equal to operator. The <code>Evaluation</code> results will have <code>FilterVariable</code> values that are greater than or equal to the value specified with <code>GE</code>.
2370
- * </p>
2371
- */
2372
- GE?: string;
2373
-
2374
- /**
2375
- * <p>The less than or equal to operator. The <code>Evaluation</code> results will have <code>FilterVariable</code> values that are less than or equal to the value specified with <code>LE</code>.</p>
2376
- */
2377
- LE?: string;
2378
-
2379
- /**
2380
- * <p>The not equal to operator. The <code>Evaluation</code> results will have <code>FilterVariable</code> values not equal to the value specified with <code>NE</code>.</p>
2381
- */
2382
- NE?: string;
2383
-
2384
- /**
2385
- * <p>A string that is found at the beginning of a variable, such as <code>Name</code> or <code>Id</code>.</p>
2386
- * <p>For example, an <code>Evaluation</code> could have the <code>Name</code>
2387
- * <code>2014-09-09-HolidayGiftMailer</code>. To search for
2388
- * this <code>Evaluation</code>, select <code>Name</code> for the <code>FilterVariable</code> and any of the following strings for the
2389
- * <code>Prefix</code>:
2390
- * </p>
2391
- *
2392
- * <ul>
2393
- * <li>
2394
- * <p>2014-09</p>
2395
- * </li>
2396
- * <li>
2397
- * <p>2014-09-09</p>
2398
- * </li>
2399
- * <li>
2400
- * <p>2014-09-09-Holiday</p>
2401
- * </li>
2402
- * </ul>
2403
- */
2404
- Prefix?: string;
2405
-
2406
- /**
2407
- * <p>A two-value parameter that determines the sequence of the resulting list of <code>Evaluation</code>.</p>
2408
- * <ul>
2409
- * <li>
2410
- * <p>
2411
- * <code>asc</code> - Arranges the list in ascending order (A-Z, 0-9).</p>
2412
- * </li>
2413
- * <li>
2414
- * <p>
2415
- * <code>dsc</code> - Arranges the list in descending order (Z-A, 9-0).</p>
2416
- * </li>
2417
- * </ul>
2418
- * <p>Results are sorted by <code>FilterVariable</code>.</p>
2419
- */
2420
- SortOrder?: SortOrder | string;
2421
-
2422
- /**
2423
- * <p>The ID of the page in the paginated results.</p>
2424
- */
2425
- NextToken?: string;
2426
-
2427
- /**
2428
- * <p> The maximum number of <code>Evaluation</code> to include in the result.</p>
2429
- */
2430
- Limit?: number;
2431
- }
2432
-
2433
- export namespace DescribeEvaluationsInput {
2434
- /**
2435
- * @internal
2436
- */
2437
- export const filterSensitiveLog = (obj: DescribeEvaluationsInput): any => ({
2438
- ...obj,
2439
- });
2440
- }
2441
-
2442
- /**
2443
- * <p>Measurements of how well the <code>MLModel</code> performed on known observations. One of the following metrics is returned, based on the type of the <code>MLModel</code>:
2444
- * </p>
2445
- * <ul>
2446
- * <li>
2447
- * <p>BinaryAUC: The binary <code>MLModel</code> uses the Area Under the Curve (AUC) technique to measure performance. </p>
2448
- * </li>
2449
- * <li>
2450
- * <p>RegressionRMSE: The regression <code>MLModel</code> uses the Root Mean Square Error (RMSE) technique to measure performance. RMSE measures the difference between predicted and actual values for a single variable.</p>
2451
- * </li>
2452
- * <li>
2453
- * <p>MulticlassAvgFScore: The multiclass <code>MLModel</code> uses the F1 score technique to measure performance. </p>
2454
- * </li>
2455
- * </ul>
2456
- * <p>
2457
- * For more information about performance metrics, please see the <a href="https://docs.aws.amazon.com/machine-learning/latest/dg">Amazon Machine Learning Developer Guide</a>.
2458
- * </p>
2459
- */
2460
- export interface PerformanceMetrics {
2461
- Properties?: { [key: string]: string };
2462
- }
2463
-
2464
- export namespace PerformanceMetrics {
2465
- /**
2466
- * @internal
2467
- */
2468
- export const filterSensitiveLog = (obj: PerformanceMetrics): any => ({
2469
- ...obj,
2470
- });
2471
- }
2472
-
2473
- /**
2474
- * <p> Represents the output of <code>GetEvaluation</code> operation. </p>
2475
- * <p>The content consists of the detailed metadata and data file information and the current status of the
2476
- * <code>Evaluation</code>.</p>
2477
- */
2478
- export interface Evaluation {
2479
- /**
2480
- * <p>The ID that is assigned to the <code>Evaluation</code> at creation.</p>
2481
- */
2482
- EvaluationId?: string;
2483
-
2484
- /**
2485
- * <p>The ID of the <code>MLModel</code> that is the focus of the evaluation.</p>
2486
- */
2487
- MLModelId?: string;
2488
-
2489
- /**
2490
- * <p>The ID of the <code>DataSource</code> that is used to evaluate the <code>MLModel</code>.</p>
2491
- */
2492
- EvaluationDataSourceId?: string;
2493
-
2494
- /**
2495
- * <p>The location and name of the data in Amazon Simple Storage Server (Amazon S3) that is used in the evaluation.</p>
2496
- */
2497
- InputDataLocationS3?: string;
2498
-
2499
- /**
2500
- * <p>The AWS user account that invoked the evaluation. The account type can be either an AWS root account or an AWS Identity and Access Management (IAM) user account.</p>
2501
- */
2502
- CreatedByIamUser?: string;
2503
-
2504
- /**
2505
- * <p>The time that the <code>Evaluation</code> was created. The time is expressed in epoch time.</p>
2506
- */
2507
- CreatedAt?: Date;
2508
-
2509
- /**
2510
- * <p>The time of the most recent edit to the <code>Evaluation</code>. The time is expressed in epoch time.</p>
2511
- */
2512
- LastUpdatedAt?: Date;
2513
-
2514
- /**
2515
- * <p>A user-supplied name or description of the <code>Evaluation</code>. </p>
2516
- */
2517
- Name?: string;
2518
-
2519
- /**
2520
- * <p>The status of the evaluation. This element can have one of the following values:</p>
2521
- * <ul>
2522
- * <li>
2523
- * <p>
2524
- * <code>PENDING</code> - Amazon Machine Learning (Amazon ML) submitted a request to evaluate an <code>MLModel</code>.</p>
2525
- * </li>
2526
- * <li>
2527
- * <p>
2528
- * <code>INPROGRESS</code> - The evaluation is underway.</p>
2529
- * </li>
2530
- * <li>
2531
- * <p>
2532
- * <code>FAILED</code> - The request to evaluate an <code>MLModel</code> did not run to completion. It is not usable.</p>
2533
- * </li>
2534
- * <li>
2535
- * <p>
2536
- * <code>COMPLETED</code> - The evaluation process completed successfully.</p>
2537
- * </li>
2538
- * <li>
2539
- * <p>
2540
- * <code>DELETED</code> - The <code>Evaluation</code> is marked as deleted. It is not usable.</p>
2541
- * </li>
2542
- * </ul>
2543
- */
2544
- Status?: EntityStatus | string;
2545
-
2546
- /**
2547
- * <p>Measurements of how well the <code>MLModel</code> performed, using observations referenced
2548
- * by the <code>DataSource</code>. One of the following metrics is returned, based on the type of the <code>MLModel</code>:
2549
- * </p>
2550
- * <ul>
2551
- * <li>
2552
- * <p>BinaryAUC: A binary <code>MLModel</code> uses the Area Under the Curve (AUC) technique to measure performance. </p>
2553
- * </li>
2554
- * <li>
2555
- * <p>RegressionRMSE: A regression <code>MLModel</code> uses the Root Mean Square Error (RMSE) technique to measure performance. RMSE measures the difference between predicted and actual values for a single variable.</p>
2556
- * </li>
2557
- * <li>
2558
- * <p>MulticlassAvgFScore: A multiclass <code>MLModel</code> uses the F1 score technique to measure performance. </p>
2559
- * </li>
2560
- * </ul>
2561
- * <p>
2562
- * For more information about performance metrics, please see the <a href="https://docs.aws.amazon.com/machine-learning/latest/dg">Amazon Machine Learning Developer Guide</a>.
2563
- * </p>
2564
- */
2565
- PerformanceMetrics?: PerformanceMetrics;
2566
-
2567
- /**
2568
- * <p>A description of the most recent details about evaluating the <code>MLModel</code>.</p>
2569
- */
2570
- Message?: string;
2571
-
2572
- /**
2573
- * <p>Long integer type that is a 64-bit signed number.</p>
2574
- */
2575
- ComputeTime?: number;
2576
-
2577
- /**
2578
- * <p>A timestamp represented in epoch time.</p>
2579
- */
2580
- FinishedAt?: Date;
2581
-
2582
- /**
2583
- * <p>A timestamp represented in epoch time.</p>
2584
- */
2585
- StartedAt?: Date;
2586
- }
2587
-
2588
- export namespace Evaluation {
2589
- /**
2590
- * @internal
2591
- */
2592
- export const filterSensitiveLog = (obj: Evaluation): any => ({
2593
- ...obj,
2594
- });
2595
- }
2596
-
2597
- /**
2598
- * <p>Represents the query results from a <code>DescribeEvaluations</code> operation. The content is essentially a list of <code>Evaluation</code>.</p>
2599
- */
2600
- export interface DescribeEvaluationsOutput {
2601
- /**
2602
- * <p>A list of <code>Evaluation</code> that meet the search criteria.
2603
- * </p>
2604
- */
2605
- Results?: Evaluation[];
2606
-
2607
- /**
2608
- * <p>The ID of the next page in the paginated results that indicates at least one more page follows.</p>
2609
- */
2610
- NextToken?: string;
2611
- }
2612
-
2613
- export namespace DescribeEvaluationsOutput {
2614
- /**
2615
- * @internal
2616
- */
2617
- export const filterSensitiveLog = (obj: DescribeEvaluationsOutput): any => ({
2618
- ...obj,
2619
- });
2620
- }
2621
-
2622
- export enum MLModelFilterVariable {
2623
- ALGORITHM = "Algorithm",
2624
- CREATED_AT = "CreatedAt",
2625
- IAM_USER = "IAMUser",
2626
- LAST_UPDATED_AT = "LastUpdatedAt",
2627
- ML_MODEL_TYPE = "MLModelType",
2628
- NAME = "Name",
2629
- REAL_TIME_ENDPOINT_STATUS = "RealtimeEndpointStatus",
2630
- STATUS = "Status",
2631
- TRAINING_DATASOURCE_ID = "TrainingDataSourceId",
2632
- TRAINING_DATA_URI = "TrainingDataURI",
2633
- }
2634
-
2635
- export interface DescribeMLModelsInput {
2636
- /**
2637
- * <p>Use one of the following variables to filter a list of <code>MLModel</code>:</p>
2638
- * <ul>
2639
- * <li>
2640
- * <p>
2641
- * <code>CreatedAt</code> - Sets the search criteria to <code>MLModel</code> creation date.</p>
2642
- * </li>
2643
- * <li>
2644
- * <p>
2645
- * <code>Status</code> - Sets the search criteria to <code>MLModel</code> status.</p>
2646
- * </li>
2647
- * <li>
2648
- * <p>
2649
- * <code>Name</code> - Sets the search criteria to the contents of <code>MLModel</code>
2650
- * <b> </b>
2651
- * <code>Name</code>.</p>
2652
- * </li>
2653
- * <li>
2654
- * <p>
2655
- * <code>IAMUser</code> - Sets the search criteria to the user account that invoked the <code>MLModel</code> creation.</p>
2656
- * </li>
2657
- * <li>
2658
- * <p>
2659
- * <code>TrainingDataSourceId</code> - Sets the search criteria to the <code>DataSource</code> used to train one or more <code>MLModel</code>.</p>
2660
- * </li>
2661
- * <li>
2662
- * <p>
2663
- * <code>RealtimeEndpointStatus</code> - Sets the search criteria to the <code>MLModel</code> real-time endpoint status.</p>
2664
- * </li>
2665
- * <li>
2666
- * <p>
2667
- * <code>MLModelType</code> - Sets the search criteria to <code>MLModel</code> type: binary, regression, or multi-class.</p>
2668
- * </li>
2669
- * <li>
2670
- * <p>
2671
- * <code>Algorithm</code> - Sets the search criteria to the algorithm that the <code>MLModel</code> uses.</p>
2672
- * </li>
2673
- * <li>
2674
- * <p>
2675
- * <code>TrainingDataURI</code> - Sets the search criteria to the data file(s) used in training a <code>MLModel</code>. The URL can identify either a file or an Amazon Simple Storage Service (Amazon S3) bucket or directory.</p>
2676
- * </li>
2677
- * </ul>
2678
- */
2679
- FilterVariable?: MLModelFilterVariable | string;
2680
-
2681
- /**
2682
- * <p>The equal to operator. The <code>MLModel</code> results will have
2683
- * <code>FilterVariable</code> values that exactly match the value specified with <code>EQ</code>.</p>
2684
- */
2685
- EQ?: string;
2686
-
2687
- /**
2688
- * <p>The greater than operator. The <code>MLModel</code> results will
2689
- * have <code>FilterVariable</code> values that are greater than the value specified with <code>GT</code>.</p>
2690
- */
2691
- GT?: string;
2692
-
2693
- /**
2694
- * <p>The less than operator. The <code>MLModel</code> results will
2695
- * have <code>FilterVariable</code> values that are less than the value specified with <code>LT</code>.</p>
2696
- */
2697
- LT?: string;
2698
-
2699
- /**
2700
- * <p>The greater than or equal to operator. The <code>MLModel</code> results will have <code>FilterVariable</code> values that are greater than or equal to the value specified with <code>GE</code>.
2701
- * </p>
2702
- */
2703
- GE?: string;
2704
-
2705
- /**
2706
- * <p>The less than or equal to operator. The <code>MLModel</code> results will have <code>FilterVariable</code> values that are less than or equal to the value specified with <code>LE</code>.</p>
2707
- */
2708
- LE?: string;
2709
-
2710
- /**
2711
- * <p>The not equal to operator. The <code>MLModel</code> results will have <code>FilterVariable</code> values not equal to the value specified with <code>NE</code>.</p>
2712
- */
2713
- NE?: string;
2714
-
2715
- /**
2716
- * <p>A string that is found at the beginning of a variable, such as <code>Name</code> or <code>Id</code>.</p>
2717
- * <p>For example, an <code>MLModel</code> could have the <code>Name</code>
2718
- * <code>2014-09-09-HolidayGiftMailer</code>. To search for
2719
- * this <code>MLModel</code>, select <code>Name</code> for the <code>FilterVariable</code> and any of the following strings for the
2720
- * <code>Prefix</code>:
2721
- * </p>
2722
- *
2723
- * <ul>
2724
- * <li>
2725
- * <p>2014-09</p>
2726
- * </li>
2727
- * <li>
2728
- * <p>2014-09-09</p>
2729
- * </li>
2730
- * <li>
2731
- * <p>2014-09-09-Holiday</p>
2732
- * </li>
2733
- * </ul>
2734
- */
2735
- Prefix?: string;
2736
-
2737
- /**
2738
- * <p>A two-value parameter that determines the sequence of the resulting list of <code>MLModel</code>.</p>
2739
- * <ul>
2740
- * <li>
2741
- * <p>
2742
- * <code>asc</code> - Arranges the list in ascending order (A-Z, 0-9).</p>
2743
- * </li>
2744
- * <li>
2745
- * <p>
2746
- * <code>dsc</code> - Arranges the list in descending order (Z-A, 9-0).</p>
2747
- * </li>
2748
- * </ul>
2749
- * <p>Results are sorted by <code>FilterVariable</code>.</p>
2750
- */
2751
- SortOrder?: SortOrder | string;
2752
-
2753
- /**
2754
- * <p>The ID of the page in the paginated results.</p>
2755
- */
2756
- NextToken?: string;
2757
-
2758
- /**
2759
- * <p>The number of pages of information to include in the result. The range of acceptable values is <code>1</code> through <code>100</code>. The default value is <code>100</code>.</p>
2760
- */
2761
- Limit?: number;
2762
- }
2763
-
2764
- export namespace DescribeMLModelsInput {
2765
- /**
2766
- * @internal
2767
- */
2768
- export const filterSensitiveLog = (obj: DescribeMLModelsInput): any => ({
2769
- ...obj,
2770
- });
2771
- }
2772
-
2773
- /**
2774
- * <p> Represents the output of a <code>GetMLModel</code> operation. </p>
2775
- * <p>The content consists of the detailed metadata and the current status of the <code>MLModel</code>.</p>
2776
- */
2777
- export interface MLModel {
2778
- /**
2779
- * <p>The ID assigned to the <code>MLModel</code> at creation.</p>
2780
- */
2781
- MLModelId?: string;
2782
-
2783
- /**
2784
- * <p>The ID of the training <code>DataSource</code>. The <code>CreateMLModel</code> operation uses the <code>TrainingDataSourceId</code>.</p>
2785
- */
2786
- TrainingDataSourceId?: string;
2787
-
2788
- /**
2789
- * <p>The AWS user account from which the <code>MLModel</code> was created. The account type can be either an AWS root account or an AWS Identity and Access Management (IAM) user account.</p>
2790
- */
2791
- CreatedByIamUser?: string;
2792
-
2793
- /**
2794
- * <p>The time that the <code>MLModel</code> was created. The time is expressed in epoch time.</p>
2795
- */
2796
- CreatedAt?: Date;
2797
-
2798
- /**
2799
- * <p>The time of the most recent edit to the <code>MLModel</code>. The time is expressed in epoch time.</p>
2800
- */
2801
- LastUpdatedAt?: Date;
2802
-
2803
- /**
2804
- * <p>A user-supplied name or description of the <code>MLModel</code>.</p>
2805
- */
2806
- Name?: string;
2807
-
2808
- /**
2809
- * <p>The current status of an <code>MLModel</code>. This element can have one of the following values: </p>
2810
- * <ul>
2811
- * <li>
2812
- * <p>
2813
- * <code>PENDING</code> - Amazon Machine Learning (Amazon ML) submitted a request to create an <code>MLModel</code>.</p>
2814
- * </li>
2815
- * <li>
2816
- * <p>
2817
- * <code>INPROGRESS</code> - The creation process is underway.</p>
2818
- * </li>
2819
- * <li>
2820
- * <p>
2821
- * <code>FAILED</code> - The request to create an <code>MLModel</code> didn't run to
2822
- * completion. The model isn't usable.</p>
2823
- * </li>
2824
- * <li>
2825
- * <p>
2826
- * <code>COMPLETED</code> - The creation process completed successfully.</p>
2827
- * </li>
2828
- * <li>
2829
- * <p>
2830
- * <code>DELETED</code> - The <code>MLModel</code> is marked as deleted. It isn't
2831
- * usable.</p>
2832
- * </li>
2833
- * </ul>
2834
- */
2835
- Status?: EntityStatus | string;
2836
-
2837
- /**
2838
- * <p>Long integer type that is a 64-bit signed number.</p>
2839
- */
2840
- SizeInBytes?: number;
2841
-
2842
- /**
2843
- * <p>The current endpoint of the <code>MLModel</code>.</p>
2844
- */
2845
- EndpointInfo?: RealtimeEndpointInfo;
2846
-
2847
- /**
2848
- * <p>A list of the training parameters in the <code>MLModel</code>. The list is implemented as
2849
- * a map of key-value pairs.</p>
2850
- * <p>The following is the current set of training parameters:</p>
2851
- * <ul>
2852
- * <li>
2853
- * <p>
2854
- * <code>sgd.maxMLModelSizeInBytes</code> - The maximum allowed size of the model. Depending on the
2855
- * input data, the size of the model might affect its performance.</p>
2856
- * <p> The value is an integer that ranges from <code>100000</code> to <code>2147483648</code>. The default value is <code>33554432</code>.</p>
2857
- * </li>
2858
- * <li>
2859
- * <p>
2860
- * <code>sgd.maxPasses</code> - The number of times that the training process traverses the
2861
- * observations to build the <code>MLModel</code>. The value is an integer that
2862
- * ranges from <code>1</code> to <code>10000</code>. The default value is
2863
- * <code>10</code>.</p>
2864
- * </li>
2865
- * <li>
2866
- * <p>
2867
- * <code>sgd.shuffleType</code> - Whether Amazon ML shuffles the training data. Shuffling the data
2868
- * improves a model's ability to find the optimal solution for a variety of data
2869
- * types. The valid values are <code>auto</code> and <code>none</code>. The default
2870
- * value is <code>none</code>.</p>
2871
- * </li>
2872
- * <li>
2873
- * <p>
2874
- * <code>sgd.l1RegularizationAmount</code> - The coefficient regularization L1 norm, which controls
2875
- * overfitting the data by penalizing large coefficients. This parameter tends to
2876
- * drive coefficients to zero, resulting in sparse feature set. If you use this
2877
- * parameter, start by specifying a small value, such as <code>1.0E-08</code>.</p>
2878
- * <p>The value is a double that ranges from <code>0</code> to <code>MAX_DOUBLE</code>.
2879
- * The default is to not use L1 normalization. This parameter can't be used when
2880
- * <code>L2</code> is specified. Use this parameter sparingly.</p>
2881
- * </li>
2882
- * <li>
2883
- * <p>
2884
- * <code>sgd.l2RegularizationAmount</code> - The coefficient regularization L2 norm, which controls
2885
- * overfitting the data by penalizing large coefficients. This tends to drive
2886
- * coefficients to small, nonzero values. If you use this parameter, start by
2887
- * specifying a small value, such as <code>1.0E-08</code>.</p>
2888
- * <p>The value is a double that ranges from <code>0</code> to <code>MAX_DOUBLE</code>.
2889
- * The default is to not use L2 normalization. This parameter can't be used when
2890
- * <code>L1</code> is specified. Use this parameter sparingly.</p>
2891
- * </li>
2892
- * </ul>
2893
- */
2894
- TrainingParameters?: { [key: string]: string };
2895
-
2896
- /**
2897
- * <p>The location of the data file or directory in Amazon Simple Storage Service (Amazon S3).</p>
2898
- */
2899
- InputDataLocationS3?: string;
2900
-
2901
- /**
2902
- * <p>The algorithm used to train the <code>MLModel</code>. The following algorithm is supported:</p>
2903
- * <ul>
2904
- * <li>
2905
- * <p>
2906
- * <code>SGD</code> -- Stochastic gradient descent. The goal of <code>SGD</code> is to minimize the gradient of the loss function. </p>
2907
- * </li>
2908
- * </ul>
2909
- */
2910
- Algorithm?: Algorithm | string;
2911
-
2912
- /**
2913
- * <p>Identifies the <code>MLModel</code> category. The following are the available types:</p>
2914
- * <ul>
2915
- * <li>
2916
- * <p>
2917
- * <code>REGRESSION</code> - Produces a numeric result. For example, "What price should a
2918
- * house be listed at?"</p>
2919
- * </li>
2920
- * <li>
2921
- * <p>
2922
- * <code>BINARY</code> - Produces one of two possible results. For example, "Is this a
2923
- * child-friendly web site?".</p>
2924
- * </li>
2925
- * <li>
2926
- * <p>
2927
- * <code>MULTICLASS</code> - Produces one of several possible results. For example, "Is
2928
- * this a HIGH-, LOW-, or MEDIUM-risk trade?".</p>
2929
- * </li>
2930
- * </ul>
2931
- */
2932
- MLModelType?: MLModelType | string;
2933
-
2934
- ScoreThreshold?: number;
2935
- /**
2936
- * <p>The time of the most recent edit to the <code>ScoreThreshold</code>. The time is expressed in epoch time.</p>
2937
- */
2938
- ScoreThresholdLastUpdatedAt?: Date;
2939
-
2940
- /**
2941
- * <p>A description of the most recent details about accessing the <code>MLModel</code>.</p>
2942
- */
2943
- Message?: string;
2944
-
2945
- /**
2946
- * <p>Long integer type that is a 64-bit signed number.</p>
2947
- */
2948
- ComputeTime?: number;
2949
-
2950
- /**
2951
- * <p>A timestamp represented in epoch time.</p>
2952
- */
2953
- FinishedAt?: Date;
2954
-
2955
- /**
2956
- * <p>A timestamp represented in epoch time.</p>
2957
- */
2958
- StartedAt?: Date;
2959
- }
2960
-
2961
- export namespace MLModel {
2962
- /**
2963
- * @internal
2964
- */
2965
- export const filterSensitiveLog = (obj: MLModel): any => ({
2966
- ...obj,
2967
- });
2968
- }
2969
-
2970
- /**
2971
- * <p>Represents the output of a <code>DescribeMLModels</code> operation. The content is essentially a list of <code>MLModel</code>.</p>
2972
- */
2973
- export interface DescribeMLModelsOutput {
2974
- /**
2975
- * <p>A list of <code>MLModel</code> that meet the search criteria.</p>
2976
- */
2977
- Results?: MLModel[];
2978
-
2979
- /**
2980
- * <p>The ID of the next page in the paginated results that indicates at least one more page follows.</p>
2981
- */
2982
- NextToken?: string;
2983
- }
2984
-
2985
- export namespace DescribeMLModelsOutput {
2986
- /**
2987
- * @internal
2988
- */
2989
- export const filterSensitiveLog = (obj: DescribeMLModelsOutput): any => ({
2990
- ...obj,
2991
- });
2992
- }
2993
-
2994
- export interface DescribeTagsInput {
2995
- /**
2996
- * <p>The ID of the ML object. For example, <code>exampleModelId</code>. </p>
2997
- */
2998
- ResourceId: string | undefined;
2999
-
3000
- /**
3001
- * <p>The type of the ML object.</p>
3002
- */
3003
- ResourceType: TaggableResourceType | string | undefined;
3004
- }
3005
-
3006
- export namespace DescribeTagsInput {
3007
- /**
3008
- * @internal
3009
- */
3010
- export const filterSensitiveLog = (obj: DescribeTagsInput): any => ({
3011
- ...obj,
3012
- });
3013
- }
3014
-
3015
- /**
3016
- * <p>Amazon ML returns the following elements.</p>
3017
- */
3018
- export interface DescribeTagsOutput {
3019
- /**
3020
- * <p>The ID of the tagged ML object.</p>
3021
- */
3022
- ResourceId?: string;
3023
-
3024
- /**
3025
- * <p>The type of the tagged ML object.</p>
3026
- */
3027
- ResourceType?: TaggableResourceType | string;
3028
-
3029
- /**
3030
- * <p>A list of tags associated with the ML object.</p>
3031
- */
3032
- Tags?: Tag[];
3033
- }
3034
-
3035
- export namespace DescribeTagsOutput {
3036
- /**
3037
- * @internal
3038
- */
3039
- export const filterSensitiveLog = (obj: DescribeTagsOutput): any => ({
3040
- ...obj,
3041
- });
3042
- }
3043
-
3044
- export interface GetBatchPredictionInput {
3045
- /**
3046
- * <p>An ID assigned to the <code>BatchPrediction</code> at creation.</p>
3047
- */
3048
- BatchPredictionId: string | undefined;
3049
- }
3050
-
3051
- export namespace GetBatchPredictionInput {
3052
- /**
3053
- * @internal
3054
- */
3055
- export const filterSensitiveLog = (obj: GetBatchPredictionInput): any => ({
3056
- ...obj,
3057
- });
3058
- }
3059
-
3060
- /**
3061
- * <p>Represents the output of a <code>GetBatchPrediction</code> operation and describes a <code>BatchPrediction</code>.</p>
3062
- */
3063
- export interface GetBatchPredictionOutput {
3064
- /**
3065
- * <p>An ID assigned to the <code>BatchPrediction</code> at creation. This value should be identical to the value of the <code>BatchPredictionID</code>
3066
- * in the request.</p>
3067
- */
3068
- BatchPredictionId?: string;
3069
-
3070
- /**
3071
- * <p>The ID of the <code>MLModel</code> that generated predictions for the <code>BatchPrediction</code> request.</p>
3072
- */
3073
- MLModelId?: string;
3074
-
3075
- /**
3076
- * <p>The ID of the <code>DataSource</code> that was used to create the <code>BatchPrediction</code>.
3077
- * </p>
3078
- */
3079
- BatchPredictionDataSourceId?: string;
3080
-
3081
- /**
3082
- * <p>The location of the data file or directory in Amazon Simple Storage Service (Amazon S3).</p>
3083
- */
3084
- InputDataLocationS3?: string;
3085
-
3086
- /**
3087
- * <p>The AWS user account that invoked the <code>BatchPrediction</code>. The account type can be either an AWS root account or an AWS Identity and Access Management (IAM) user account.</p>
3088
- */
3089
- CreatedByIamUser?: string;
3090
-
3091
- /**
3092
- * <p>The time when the <code>BatchPrediction</code> was created. The time is expressed in epoch time.</p>
3093
- */
3094
- CreatedAt?: Date;
3095
-
3096
- /**
3097
- * <p>The time of the most recent edit to <code>BatchPrediction</code>. The time is expressed in epoch time.</p>
3098
- */
3099
- LastUpdatedAt?: Date;
3100
-
3101
- /**
3102
- * <p>A user-supplied name or description of the <code>BatchPrediction</code>.</p>
3103
- */
3104
- Name?: string;
3105
-
3106
- /**
3107
- * <p>The status of the <code>BatchPrediction</code>, which can be one of the following values:</p>
3108
- * <ul>
3109
- * <li>
3110
- * <p>
3111
- * <code>PENDING</code> - Amazon Machine Learning (Amazon ML) submitted a request to generate batch predictions.</p>
3112
- * </li>
3113
- * <li>
3114
- * <p>
3115
- * <code>INPROGRESS</code> - The batch predictions are in progress.</p>
3116
- * </li>
3117
- * <li>
3118
- * <p>
3119
- * <code>FAILED</code> - The request to perform a batch prediction did not run to completion. It is not usable.</p>
3120
- * </li>
3121
- * <li>
3122
- * <p>
3123
- * <code>COMPLETED</code> - The batch prediction process completed successfully.</p>
3124
- * </li>
3125
- * <li>
3126
- * <p>
3127
- * <code>DELETED</code> - The <code>BatchPrediction</code> is marked as deleted. It is not usable.</p>
3128
- * </li>
3129
- * </ul>
3130
- */
3131
- Status?: EntityStatus | string;
3132
-
3133
- /**
3134
- * <p>The location of an Amazon S3 bucket or directory to receive the operation results.</p>
3135
- */
3136
- OutputUri?: string;
3137
-
3138
- /**
3139
- * <p>A link to the file that contains logs of the <code>CreateBatchPrediction</code> operation.</p>
3140
- */
3141
- LogUri?: string;
3142
-
3143
- /**
3144
- * <p>A description of the most recent details about processing the batch prediction request.</p>
3145
- */
3146
- Message?: string;
3147
-
3148
- /**
3149
- * <p>The approximate CPU time in milliseconds that Amazon Machine Learning spent processing the <code>BatchPrediction</code>, normalized and scaled on computation resources. <code>ComputeTime</code> is only available if the <code>BatchPrediction</code> is in the <code>COMPLETED</code> state.</p>
3150
- */
3151
- ComputeTime?: number;
3152
-
3153
- /**
3154
- * <p>The epoch time when Amazon Machine Learning marked the <code>BatchPrediction</code> as <code>COMPLETED</code> or <code>FAILED</code>. <code>FinishedAt</code> is only available when the <code>BatchPrediction</code> is in the <code>COMPLETED</code> or <code>FAILED</code> state.</p>
3155
- */
3156
- FinishedAt?: Date;
3157
-
3158
- /**
3159
- * <p>The epoch time when Amazon Machine Learning marked the <code>BatchPrediction</code> as <code>INPROGRESS</code>. <code>StartedAt</code> isn't available if the <code>BatchPrediction</code> is in the <code>PENDING</code> state.</p>
3160
- */
3161
- StartedAt?: Date;
3162
-
3163
- /**
3164
- * <p>The number of total records that Amazon Machine Learning saw while processing the <code>BatchPrediction</code>.</p>
3165
- */
3166
- TotalRecordCount?: number;
3167
-
3168
- /**
3169
- * <p>The number of invalid records that Amazon Machine Learning saw while processing the <code>BatchPrediction</code>.</p>
3170
- */
3171
- InvalidRecordCount?: number;
3172
- }
3173
-
3174
- export namespace GetBatchPredictionOutput {
3175
- /**
3176
- * @internal
3177
- */
3178
- export const filterSensitiveLog = (obj: GetBatchPredictionOutput): any => ({
3179
- ...obj,
3180
- });
3181
- }
3182
-
3183
- export interface GetDataSourceInput {
3184
- /**
3185
- * <p>The ID assigned to the <code>DataSource</code> at creation.</p>
3186
- */
3187
- DataSourceId: string | undefined;
3188
-
3189
- /**
3190
- * <p>Specifies whether the <code>GetDataSource</code> operation should return <code>DataSourceSchema</code>.</p>
3191
- * <p>If true, <code>DataSourceSchema</code> is returned.</p>
3192
- * <p>If false, <code>DataSourceSchema</code> is not returned.</p>
3193
- */
3194
- Verbose?: boolean;
3195
- }
3196
-
3197
- export namespace GetDataSourceInput {
3198
- /**
3199
- * @internal
3200
- */
3201
- export const filterSensitiveLog = (obj: GetDataSourceInput): any => ({
3202
- ...obj,
3203
- });
3204
- }
3205
-
3206
- /**
3207
- * <p>Represents the output of a <code>GetDataSource</code> operation and describes a <code>DataSource</code>.</p>
3208
- */
3209
- export interface GetDataSourceOutput {
3210
- /**
3211
- * <p>The ID assigned to the <code>DataSource</code> at creation. This value should be identical to the value of the <code>DataSourceId</code> in the request.</p>
3212
- */
3213
- DataSourceId?: string;
3214
-
3215
- /**
3216
- * <p>The location of the data file or directory in Amazon Simple Storage Service (Amazon S3).</p>
3217
- */
3218
- DataLocationS3?: string;
3219
-
3220
- /**
3221
- * <p>A JSON string that represents the splitting and rearrangement requirement used when this <code>DataSource</code>
3222
- * was created.</p>
3223
- */
3224
- DataRearrangement?: string;
3225
-
3226
- /**
3227
- * <p>The AWS user account from which the <code>DataSource</code> was created. The account type can be either an AWS root account or an AWS Identity and Access Management (IAM) user account.</p>
3228
- */
3229
- CreatedByIamUser?: string;
3230
-
3231
- /**
3232
- * <p>The time that the <code>DataSource</code> was created. The time is expressed in epoch time.</p>
3233
- */
3234
- CreatedAt?: Date;
3235
-
3236
- /**
3237
- * <p>The time of the most recent edit to the <code>DataSource</code>. The time is expressed in epoch time.</p>
3238
- */
3239
- LastUpdatedAt?: Date;
3240
-
3241
- /**
3242
- * <p>The total size of observations in the data files.</p>
3243
- */
3244
- DataSizeInBytes?: number;
3245
-
3246
- /**
3247
- * <p>The number of data files referenced by the <code>DataSource</code>.</p>
3248
- */
3249
- NumberOfFiles?: number;
3250
-
3251
- /**
3252
- * <p>A user-supplied name or description of the <code>DataSource</code>.</p>
3253
- */
3254
- Name?: string;
3255
-
3256
- /**
3257
- * <p>The current status of the <code>DataSource</code>. This element can have one of the following values:</p>
3258
- * <ul>
3259
- * <li>
3260
- * <p>
3261
- * <code>PENDING</code> - Amazon ML submitted a request to create a <code>DataSource</code>.</p>
3262
- * </li>
3263
- * <li>
3264
- * <p>
3265
- * <code>INPROGRESS</code> - The creation process is underway.</p>
3266
- * </li>
3267
- * <li>
3268
- * <p>
3269
- * <code>FAILED</code> - The request to create a <code>DataSource</code> did not run to completion. It is not usable.</p>
3270
- * </li>
3271
- * <li>
3272
- * <p>
3273
- * <code>COMPLETED</code> - The creation process completed successfully.</p>
3274
- * </li>
3275
- * <li>
3276
- * <p>
3277
- * <code>DELETED</code> - The <code>DataSource</code> is marked as deleted. It is not usable.</p>
3278
- * </li>
3279
- * </ul>
3280
- */
3281
- Status?: EntityStatus | string;
3282
-
3283
- /**
3284
- * <p>A link to the file containing logs of <code>CreateDataSourceFrom*</code> operations.</p>
3285
- */
3286
- LogUri?: string;
3287
-
3288
- /**
3289
- * <p>The user-supplied description of the most recent details about creating the <code>DataSource</code>.</p>
3290
- */
3291
- Message?: string;
3292
-
3293
- /**
3294
- * <p>Describes the <code>DataSource</code> details specific to Amazon Redshift.</p>
3295
- */
3296
- RedshiftMetadata?: RedshiftMetadata;
3297
-
3298
- /**
3299
- * <p>The datasource details that are specific to Amazon RDS.</p>
3300
- */
3301
- RDSMetadata?: RDSMetadata;
3302
-
3303
- /**
3304
- * <p>The Amazon Resource Name (ARN) of an <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/roles-toplevel.html#roles-about-termsandconcepts">AWS IAM Role</a>, such as the following: arn:aws:iam::account:role/rolename. </p>
3305
- */
3306
- RoleARN?: string;
3307
-
3308
- /**
3309
- * <p>
3310
- * The parameter is <code>true</code> if statistics need to be generated from the observation data.
3311
- * </p>
3312
- */
3313
- ComputeStatistics?: boolean;
3314
-
3315
- /**
3316
- * <p>The approximate CPU time in milliseconds that Amazon Machine Learning spent processing the <code>DataSource</code>, normalized and scaled on computation resources. <code>ComputeTime</code> is only available if the <code>DataSource</code> is in the <code>COMPLETED</code> state and the <code>ComputeStatistics</code> is set to true.</p>
3317
- */
3318
- ComputeTime?: number;
3319
-
3320
- /**
3321
- * <p>The epoch time when Amazon Machine Learning marked the <code>DataSource</code> as <code>COMPLETED</code> or <code>FAILED</code>. <code>FinishedAt</code> is only available when the <code>DataSource</code> is in the <code>COMPLETED</code> or <code>FAILED</code> state.</p>
3322
- */
3323
- FinishedAt?: Date;
3324
-
3325
- /**
3326
- * <p>The epoch time when Amazon Machine Learning marked the <code>DataSource</code> as <code>INPROGRESS</code>. <code>StartedAt</code> isn't available if the <code>DataSource</code> is in the <code>PENDING</code> state.</p>
3327
- */
3328
- StartedAt?: Date;
3329
-
3330
- /**
3331
- * <p>The schema used by all of the data files of this <code>DataSource</code>.</p>
3332
- * <p>
3333
- * <b>Note:</b> This parameter is provided as part of the verbose format.</p>
3334
- */
3335
- DataSourceSchema?: string;
3336
- }
3337
-
3338
- export namespace GetDataSourceOutput {
3339
- /**
3340
- * @internal
3341
- */
3342
- export const filterSensitiveLog = (obj: GetDataSourceOutput): any => ({
3343
- ...obj,
3344
- });
3345
- }
3346
-
3347
- export interface GetEvaluationInput {
3348
- /**
3349
- * <p>The ID of the <code>Evaluation</code> to retrieve. The evaluation of each <code>MLModel</code> is recorded and cataloged. The ID provides the means to access the information. </p>
3350
- */
3351
- EvaluationId: string | undefined;
3352
- }
3353
-
3354
- export namespace GetEvaluationInput {
3355
- /**
3356
- * @internal
3357
- */
3358
- export const filterSensitiveLog = (obj: GetEvaluationInput): any => ({
3359
- ...obj,
3360
- });
3361
- }
3362
-
3363
- /**
3364
- * <p>Represents the output of a <code>GetEvaluation</code> operation and describes an <code>Evaluation</code>.</p>
3365
- */
3366
- export interface GetEvaluationOutput {
3367
- /**
3368
- * <p>The evaluation ID which is same as the <code>EvaluationId</code> in the request.</p>
3369
- */
3370
- EvaluationId?: string;
3371
-
3372
- /**
3373
- * <p>The ID of the <code>MLModel</code> that was the focus of the evaluation.</p>
3374
- */
3375
- MLModelId?: string;
3376
-
3377
- /**
3378
- * <p>The <code>DataSource</code> used for this evaluation.</p>
3379
- */
3380
- EvaluationDataSourceId?: string;
3381
-
3382
- /**
3383
- * <p>The location of the data file or directory in Amazon Simple Storage Service (Amazon S3).</p>
3384
- */
3385
- InputDataLocationS3?: string;
3386
-
3387
- /**
3388
- * <p>The AWS user account that invoked the evaluation. The account type can be either an AWS root account or an AWS Identity and Access Management (IAM) user account.</p>
3389
- */
3390
- CreatedByIamUser?: string;
3391
-
3392
- /**
3393
- * <p>The time that the <code>Evaluation</code> was created. The time is expressed in epoch time.</p>
3394
- */
3395
- CreatedAt?: Date;
3396
-
3397
- /**
3398
- * <p>The time of the most recent edit to the <code>Evaluation</code>. The time is expressed in epoch time.</p>
3399
- */
3400
- LastUpdatedAt?: Date;
3401
-
3402
- /**
3403
- * <p>A user-supplied name or description of the <code>Evaluation</code>. </p>
3404
- */
3405
- Name?: string;
3406
-
3407
- /**
3408
- * <p>The status of the evaluation. This element can have one of the following values:</p>
3409
- * <ul>
3410
- * <li>
3411
- * <p>
3412
- * <code>PENDING</code> - Amazon Machine Language (Amazon ML) submitted a request to evaluate an <code>MLModel</code>.</p>
3413
- * </li>
3414
- * <li>
3415
- * <p>
3416
- * <code>INPROGRESS</code> - The evaluation is underway.</p>
3417
- * </li>
3418
- * <li>
3419
- * <p>
3420
- * <code>FAILED</code> - The request to evaluate an <code>MLModel</code> did not run to completion. It is not usable.</p>
3421
- * </li>
3422
- * <li>
3423
- * <p>
3424
- * <code>COMPLETED</code> - The evaluation process completed successfully.</p>
3425
- * </li>
3426
- * <li>
3427
- * <p>
3428
- * <code>DELETED</code> - The <code>Evaluation</code> is marked as deleted. It is not usable.</p>
3429
- * </li>
3430
- * </ul>
3431
- */
3432
- Status?: EntityStatus | string;
3433
-
3434
- /**
3435
- * <p>Measurements of how well the <code>MLModel</code> performed using observations referenced by the <code>DataSource</code>. One of the following metric is returned based on the type of the <code>MLModel</code>:
3436
- * </p>
3437
- * <ul>
3438
- * <li>
3439
- * <p>BinaryAUC: A binary <code>MLModel</code> uses the Area Under the Curve (AUC) technique to measure performance. </p>
3440
- * </li>
3441
- * <li>
3442
- * <p>RegressionRMSE: A regression <code>MLModel</code> uses the Root Mean Square Error (RMSE) technique to measure performance. RMSE measures the difference between predicted and actual values for a single variable.</p>
3443
- * </li>
3444
- * <li>
3445
- * <p>MulticlassAvgFScore: A multiclass <code>MLModel</code> uses the F1 score technique to measure performance. </p>
3446
- * </li>
3447
- * </ul>
3448
- * <p>
3449
- * For more information about performance metrics, please see the <a href="https://docs.aws.amazon.com/machine-learning/latest/dg">Amazon Machine Learning Developer Guide</a>.
3450
- * </p>
3451
- */
3452
- PerformanceMetrics?: PerformanceMetrics;
3453
-
3454
- /**
3455
- * <p>A link to the file that contains logs of the <code>CreateEvaluation</code> operation.</p>
3456
- */
3457
- LogUri?: string;
3458
-
3459
- /**
3460
- * <p>A description of the most recent details about evaluating the <code>MLModel</code>.</p>
3461
- */
3462
- Message?: string;
3463
-
3464
- /**
3465
- * <p>The approximate CPU time in milliseconds that Amazon Machine Learning spent processing the <code>Evaluation</code>, normalized and scaled on computation resources. <code>ComputeTime</code> is only available if the <code>Evaluation</code> is in the <code>COMPLETED</code> state.</p>
3466
- */
3467
- ComputeTime?: number;
3468
-
3469
- /**
3470
- * <p>The epoch time when Amazon Machine Learning marked the <code>Evaluation</code> as <code>COMPLETED</code> or <code>FAILED</code>. <code>FinishedAt</code> is only available when the <code>Evaluation</code> is in the <code>COMPLETED</code> or <code>FAILED</code> state.</p>
3471
- */
3472
- FinishedAt?: Date;
3473
-
3474
- /**
3475
- * <p>The epoch time when Amazon Machine Learning marked the <code>Evaluation</code> as <code>INPROGRESS</code>. <code>StartedAt</code> isn't available if the <code>Evaluation</code> is in the <code>PENDING</code> state.</p>
3476
- */
3477
- StartedAt?: Date;
3478
- }
3479
-
3480
- export namespace GetEvaluationOutput {
3481
- /**
3482
- * @internal
3483
- */
3484
- export const filterSensitiveLog = (obj: GetEvaluationOutput): any => ({
3485
- ...obj,
3486
- });
3487
- }
3488
-
3489
- export interface GetMLModelInput {
3490
- /**
3491
- * <p>The ID assigned to the <code>MLModel</code> at creation.</p>
3492
- */
3493
- MLModelId: string | undefined;
3494
-
3495
- /**
3496
- * <p>Specifies whether the <code>GetMLModel</code> operation should return <code>Recipe</code>.</p>
3497
- * <p>If true, <code>Recipe</code> is returned.</p>
3498
- * <p>If false, <code>Recipe</code> is not returned.</p>
3499
- */
3500
- Verbose?: boolean;
3501
- }
3502
-
3503
- export namespace GetMLModelInput {
3504
- /**
3505
- * @internal
3506
- */
3507
- export const filterSensitiveLog = (obj: GetMLModelInput): any => ({
3508
- ...obj,
3509
- });
3510
- }
3511
-
3512
- /**
3513
- * <p>Represents the output of a <code>GetMLModel</code> operation, and provides detailed information about a <code>MLModel</code>.</p>
3514
- */
3515
- export interface GetMLModelOutput {
3516
- /**
3517
- * <p>The MLModel ID,
3518
- * which is same as the <code>MLModelId</code> in the request.</p>
3519
- */
3520
- MLModelId?: string;
3521
-
3522
- /**
3523
- * <p>The ID of the training <code>DataSource</code>.</p>
3524
- */
3525
- TrainingDataSourceId?: string;
3526
-
3527
- /**
3528
- * <p>The AWS user account from which the <code>MLModel</code> was created. The account type can be either an AWS root account or an AWS Identity and Access Management (IAM) user account.</p>
3529
- */
3530
- CreatedByIamUser?: string;
3531
-
3532
- /**
3533
- * <p>The time that the <code>MLModel</code> was created. The time is expressed in epoch time.</p>
3534
- */
3535
- CreatedAt?: Date;
3536
-
3537
- /**
3538
- * <p>The time of the most recent edit to the <code>MLModel</code>. The time is expressed in epoch time.</p>
3539
- */
3540
- LastUpdatedAt?: Date;
3541
-
3542
- /**
3543
- * <p>A user-supplied name or description of the <code>MLModel</code>.</p>
3544
- */
3545
- Name?: string;
3546
-
3547
- /**
3548
- * <p>The current status of the <code>MLModel</code>. This element can have one of the following values:</p>
3549
- * <ul>
3550
- * <li>
3551
- * <p>
3552
- * <code>PENDING</code> - Amazon Machine Learning (Amazon ML) submitted a request to describe a <code>MLModel</code>.</p>
3553
- * </li>
3554
- * <li>
3555
- * <p>
3556
- * <code>INPROGRESS</code> - The request is processing.</p>
3557
- * </li>
3558
- * <li>
3559
- * <p>
3560
- * <code>FAILED</code> - The request did not run to completion. The ML model isn't
3561
- * usable.</p>
3562
- * </li>
3563
- * <li>
3564
- * <p>
3565
- * <code>COMPLETED</code> - The request completed successfully.</p>
3566
- * </li>
3567
- * <li>
3568
- * <p>
3569
- * <code>DELETED</code> - The <code>MLModel</code> is marked as deleted. It isn't
3570
- * usable.</p>
3571
- * </li>
3572
- * </ul>
3573
- */
3574
- Status?: EntityStatus | string;
3575
-
3576
- /**
3577
- * <p>Long integer type that is a 64-bit signed number.</p>
3578
- */
3579
- SizeInBytes?: number;
3580
-
3581
- /**
3582
- * <p>The current endpoint of the <code>MLModel</code>
3583
- * </p>
3584
- */
3585
- EndpointInfo?: RealtimeEndpointInfo;
3586
-
3587
- /**
3588
- * <p>A list of the training parameters in the <code>MLModel</code>. The list is implemented as
3589
- * a map of key-value pairs.</p>
3590
- * <p>The following is the current set of training parameters:</p>
3591
- * <ul>
3592
- * <li>
3593
- * <p>
3594
- * <code>sgd.maxMLModelSizeInBytes</code> - The maximum allowed size of the model. Depending on the
3595
- * input data, the size of the model might affect its performance.</p>
3596
- * <p> The value is an integer that ranges from <code>100000</code> to <code>2147483648</code>. The default value is <code>33554432</code>.</p>
3597
- * </li>
3598
- * <li>
3599
- * <p>
3600
- * <code>sgd.maxPasses</code> - The number of times that the training process traverses the
3601
- * observations to build the <code>MLModel</code>. The value is an integer that
3602
- * ranges from <code>1</code> to <code>10000</code>. The default value is
3603
- * <code>10</code>.</p>
3604
- * </li>
3605
- * <li>
3606
- * <p>
3607
- * <code>sgd.shuffleType</code> - Whether Amazon ML shuffles the training data. Shuffling data improves a
3608
- * model's ability to find the optimal solution for a variety of data types. The
3609
- * valid values are <code>auto</code> and <code>none</code>. The default value is
3610
- * <code>none</code>. We strongly recommend that you shuffle your data.</p>
3611
- * </li>
3612
- * <li>
3613
- * <p>
3614
- * <code>sgd.l1RegularizationAmount</code> - The coefficient regularization L1 norm. It controls
3615
- * overfitting the data by penalizing large coefficients. This tends to drive
3616
- * coefficients to zero, resulting in a sparse feature set. If you use this
3617
- * parameter, start by specifying a small value, such as <code>1.0E-08</code>.</p>
3618
- * <p>The value is a double that ranges from <code>0</code> to <code>MAX_DOUBLE</code>.
3619
- * The default is to not use L1 normalization. This parameter can't be used when
3620
- * <code>L2</code> is specified. Use this parameter sparingly.</p>
3621
- * </li>
3622
- * <li>
3623
- * <p>
3624
- * <code>sgd.l2RegularizationAmount</code> - The coefficient regularization L2 norm. It controls
3625
- * overfitting the data by penalizing large coefficients. This tends to drive
3626
- * coefficients to small, nonzero values. If you use this parameter, start by
3627
- * specifying a small value, such as <code>1.0E-08</code>.</p>
3628
- * <p>The value is a double that ranges from <code>0</code> to <code>MAX_DOUBLE</code>.
3629
- * The default is to not use L2 normalization. This parameter can't be used when
3630
- * <code>L1</code> is specified. Use this parameter sparingly.</p>
3631
- * </li>
3632
- * </ul>
3633
- */
3634
- TrainingParameters?: { [key: string]: string };
3635
-
3636
- /**
3637
- * <p>The location of the data file or directory in Amazon Simple Storage Service (Amazon S3).</p>
3638
- */
3639
- InputDataLocationS3?: string;
3640
-
3641
- /**
3642
- * <p>Identifies the <code>MLModel</code> category. The following are the available types: </p>
3643
- * <ul>
3644
- * <li>
3645
- * <p>REGRESSION -- Produces a numeric result. For example, "What price should a house be listed at?"</p>
3646
- * </li>
3647
- * <li>
3648
- * <p>BINARY -- Produces one of two possible results. For example, "Is this an e-commerce website?"</p>
3649
- * </li>
3650
- * <li>
3651
- * <p>MULTICLASS -- Produces one of several possible results. For example, "Is this a HIGH, LOW or MEDIUM risk trade?"</p>
3652
- * </li>
3653
- * </ul>
3654
- */
3655
- MLModelType?: MLModelType | string;
3656
-
3657
- /**
3658
- * <p>The scoring threshold is used in binary classification <code>MLModel</code>
3659
- * models. It marks the boundary between a positive prediction and a
3660
- * negative prediction.</p>
3661
- * <p>Output values greater than or equal to the threshold receive a positive result from the MLModel, such as
3662
- * <code>true</code>. Output values less than the threshold receive a negative response from the MLModel,
3663
- * such as <code>false</code>.</p>
3664
- */
3665
- ScoreThreshold?: number;
3666
-
3667
- /**
3668
- * <p>The time of the most recent edit to the <code>ScoreThreshold</code>. The time is expressed in epoch time.</p>
3669
- */
3670
- ScoreThresholdLastUpdatedAt?: Date;
3671
-
3672
- /**
3673
- * <p>A link to the file that contains logs of the <code>CreateMLModel</code> operation.</p>
3674
- */
3675
- LogUri?: string;
3676
-
3677
- /**
3678
- * <p>A description of the most recent details about accessing the <code>MLModel</code>.</p>
3679
- */
3680
- Message?: string;
3681
-
3682
- /**
3683
- * <p>The approximate CPU time in milliseconds that Amazon Machine Learning spent processing the <code>MLModel</code>, normalized and scaled on computation resources. <code>ComputeTime</code> is only available if the <code>MLModel</code> is in the <code>COMPLETED</code> state.</p>
3684
- */
3685
- ComputeTime?: number;
3686
-
3687
- /**
3688
- * <p>The epoch time when Amazon Machine Learning marked the <code>MLModel</code> as <code>COMPLETED</code> or <code>FAILED</code>. <code>FinishedAt</code> is only available when the <code>MLModel</code> is in the <code>COMPLETED</code> or <code>FAILED</code> state.</p>
3689
- */
3690
- FinishedAt?: Date;
3691
-
3692
- /**
3693
- * <p>The epoch time when Amazon Machine Learning marked the <code>MLModel</code> as <code>INPROGRESS</code>. <code>StartedAt</code> isn't available if the <code>MLModel</code> is in the <code>PENDING</code> state.</p>
3694
- */
3695
- StartedAt?: Date;
3696
-
3697
- /**
3698
- * <p>The recipe to use when training the <code>MLModel</code>. The <code>Recipe</code>
3699
- * provides detailed information about the observation data to use during training, and
3700
- * manipulations to perform on the observation data during training.</p>
3701
- * <p>
3702
- * <b>Note:</b> This parameter is provided as part of the verbose format.</p>
3703
- */
3704
- Recipe?: string;
3705
-
3706
- /**
3707
- * <p>The schema used by all of the data files referenced by the <code>DataSource</code>.</p>
3708
- * <p>
3709
- * <b>Note:</b> This parameter is provided as part of the verbose format.</p>
3710
- */
3711
- Schema?: string;
3712
- }
3713
-
3714
- export namespace GetMLModelOutput {
3715
- /**
3716
- * @internal
3717
- */
3718
- export const filterSensitiveLog = (obj: GetMLModelOutput): any => ({
3719
- ...obj,
3720
- });
3721
- }
3722
-
3723
- /**
3724
- * <p>The subscriber exceeded the maximum number of operations. This exception can occur when listing objects such as <code>DataSource</code>.</p>
3725
- */
3726
- export interface LimitExceededException extends __SmithyException, $MetadataBearer {
3727
- name: "LimitExceededException";
3728
- $fault: "client";
3729
- message?: string;
3730
- code?: number;
3731
- }
3732
-
3733
- export namespace LimitExceededException {
3734
- /**
3735
- * @internal
3736
- */
3737
- export const filterSensitiveLog = (obj: LimitExceededException): any => ({
3738
- ...obj,
3739
- });
3740
- }
3741
-
3742
- export interface PredictInput {
3743
- /**
3744
- * <p>A unique identifier of the <code>MLModel</code>.</p>
3745
- */
3746
- MLModelId: string | undefined;
3747
-
3748
- /**
3749
- * <p>A map of variable name-value pairs that represent an observation.</p>
3750
- */
3751
- Record: { [key: string]: string } | undefined;
3752
-
3753
- PredictEndpoint: string | undefined;
3754
- }
3755
-
3756
- export namespace PredictInput {
3757
- /**
3758
- * @internal
3759
- */
3760
- export const filterSensitiveLog = (obj: PredictInput): any => ({
3761
- ...obj,
3762
- });
3763
- }
3764
-
3765
- /**
3766
- * <p>The exception is thrown when a predict request is made to an unmounted <code>MLModel</code>.</p>
3767
- */
3768
- export interface PredictorNotMountedException extends __SmithyException, $MetadataBearer {
3769
- name: "PredictorNotMountedException";
3770
- $fault: "client";
3771
- message?: string;
3772
- }
3773
-
3774
- export namespace PredictorNotMountedException {
3775
- /**
3776
- * @internal
3777
- */
3778
- export const filterSensitiveLog = (obj: PredictorNotMountedException): any => ({
3779
- ...obj,
3780
- });
3781
- }
3782
-
3783
- export enum DetailsAttributes {
3784
- ALGORITHM = "Algorithm",
3785
- PREDICTIVE_MODEL_TYPE = "PredictiveModelType",
3786
- }
3787
-
3788
- /**
3789
- * <p>The output from a <code>Predict</code> operation: </p>
3790
- *
3791
- * <ul>
3792
- * <li>
3793
- * <p>
3794
- * <code>Details</code> - Contains the following attributes:
3795
- * <code>DetailsAttributes.PREDICTIVE_MODEL_TYPE - REGRESSION | BINARY | MULTICLASS</code>
3796
- * <code>DetailsAttributes.ALGORITHM - SGD</code>
3797
- * </p>
3798
- * </li>
3799
- * <li>
3800
- * <p>
3801
- * <code>PredictedLabel</code> - Present for either a <code>BINARY</code> or <code>MULTICLASS</code>
3802
- * <code>MLModel</code> request.
3803
- * </p>
3804
- * </li>
3805
- * <li>
3806
- * <p>
3807
- * <code>PredictedScores</code> - Contains the raw classification score corresponding to each label.
3808
- * </p>
3809
- * </li>
3810
- * <li>
3811
- * <p>
3812
- * <code>PredictedValue</code> - Present for a <code>REGRESSION</code>
3813
- * <code>MLModel</code> request.
3814
- * </p>
3815
- * </li>
3816
- * </ul>
3817
- */
3818
- export interface Prediction {
3819
- /**
3820
- * <p>The prediction label for either a <code>BINARY</code> or <code>MULTICLASS</code>
3821
- * <code>MLModel</code>.</p>
3822
- */
3823
- predictedLabel?: string;
3824
-
3825
- /**
3826
- * <p>The prediction value for <code>REGRESSION</code>
3827
- * <code>MLModel</code>.</p>
3828
- */
3829
- predictedValue?: number;
3830
-
3831
- /**
3832
- * <p>Provides the raw classification score corresponding to each label.</p>
3833
- */
3834
- predictedScores?: { [key: string]: number };
3835
-
3836
- /**
3837
- * <p>Provides any additional details regarding the prediction.</p>
3838
- */
3839
- details?: { [key: string]: string };
3840
- }
3841
-
3842
- export namespace Prediction {
3843
- /**
3844
- * @internal
3845
- */
3846
- export const filterSensitiveLog = (obj: Prediction): any => ({
3847
- ...obj,
3848
- });
3849
- }
3850
-
3851
- export interface PredictOutput {
3852
- /**
3853
- * <p>The output from a <code>Predict</code> operation: </p>
3854
- *
3855
- * <ul>
3856
- * <li>
3857
- * <p>
3858
- * <code>Details</code> - Contains the following attributes:
3859
- * <code>DetailsAttributes.PREDICTIVE_MODEL_TYPE - REGRESSION | BINARY | MULTICLASS</code>
3860
- * <code>DetailsAttributes.ALGORITHM - SGD</code>
3861
- * </p>
3862
- * </li>
3863
- * <li>
3864
- * <p>
3865
- * <code>PredictedLabel</code> - Present for either a <code>BINARY</code> or <code>MULTICLASS</code>
3866
- * <code>MLModel</code> request.
3867
- * </p>
3868
- * </li>
3869
- * <li>
3870
- * <p>
3871
- * <code>PredictedScores</code> - Contains the raw classification score corresponding to each label.
3872
- * </p>
3873
- * </li>
3874
- * <li>
3875
- * <p>
3876
- * <code>PredictedValue</code> - Present for a <code>REGRESSION</code>
3877
- * <code>MLModel</code> request.
3878
- * </p>
3879
- * </li>
3880
- * </ul>
3881
- */
3882
- Prediction?: Prediction;
3883
- }
3884
-
3885
- export namespace PredictOutput {
3886
- /**
3887
- * @internal
3888
- */
3889
- export const filterSensitiveLog = (obj: PredictOutput): any => ({
3890
- ...obj,
3891
- });
3892
- }
3893
-
3894
- export interface UpdateBatchPredictionInput {
3895
- /**
3896
- * <p>The ID assigned to the <code>BatchPrediction</code> during creation.</p>
3897
- */
3898
- BatchPredictionId: string | undefined;
3899
-
3900
- /**
3901
- * <p>A new user-supplied name or description of the <code>BatchPrediction</code>.</p>
3902
- */
3903
- BatchPredictionName: string | undefined;
3904
- }
3905
-
3906
- export namespace UpdateBatchPredictionInput {
3907
- /**
3908
- * @internal
3909
- */
3910
- export const filterSensitiveLog = (obj: UpdateBatchPredictionInput): any => ({
3911
- ...obj,
3912
- });
3913
- }
3914
-
3915
- /**
3916
- * <p>Represents the output of an <code>UpdateBatchPrediction</code> operation.</p>
3917
- * <p>You can see the updated content by using the <code>GetBatchPrediction</code> operation.</p>
3918
- */
3919
- export interface UpdateBatchPredictionOutput {
3920
- /**
3921
- * <p>The ID assigned to the <code>BatchPrediction</code> during creation. This value should be identical to the value
3922
- * of the <code>BatchPredictionId</code> in the request.</p>
3923
- */
3924
- BatchPredictionId?: string;
3925
- }
3926
-
3927
- export namespace UpdateBatchPredictionOutput {
3928
- /**
3929
- * @internal
3930
- */
3931
- export const filterSensitiveLog = (obj: UpdateBatchPredictionOutput): any => ({
3932
- ...obj,
3933
- });
3934
- }
3935
-
3936
- export interface UpdateDataSourceInput {
3937
- /**
3938
- * <p>The ID assigned to the <code>DataSource</code> during creation.</p>
3939
- */
3940
- DataSourceId: string | undefined;
3941
-
3942
- /**
3943
- * <p>A new user-supplied name or description of the <code>DataSource</code> that will replace the current description. </p>
3944
- */
3945
- DataSourceName: string | undefined;
3946
- }
3947
-
3948
- export namespace UpdateDataSourceInput {
3949
- /**
3950
- * @internal
3951
- */
3952
- export const filterSensitiveLog = (obj: UpdateDataSourceInput): any => ({
3953
- ...obj,
3954
- });
3955
- }
3956
-
3957
- /**
3958
- * <p>Represents the output of an <code>UpdateDataSource</code> operation.</p>
3959
- * <p>You can see the updated content by using the <code>GetBatchPrediction</code> operation.</p>
3960
- */
3961
- export interface UpdateDataSourceOutput {
3962
- /**
3963
- * <p>The ID assigned to the <code>DataSource</code> during creation. This value should be identical to the value
3964
- * of the <code>DataSourceID</code> in the request.</p>
3965
- */
3966
- DataSourceId?: string;
3967
- }
3968
-
3969
- export namespace UpdateDataSourceOutput {
3970
- /**
3971
- * @internal
3972
- */
3973
- export const filterSensitiveLog = (obj: UpdateDataSourceOutput): any => ({
3974
- ...obj,
3975
- });
3976
- }
3977
-
3978
- export interface UpdateEvaluationInput {
3979
- /**
3980
- * <p>The ID assigned to the <code>Evaluation</code> during creation.</p>
3981
- */
3982
- EvaluationId: string | undefined;
3983
-
3984
- /**
3985
- * <p>A new user-supplied name or description of the <code>Evaluation</code> that will replace the current content. </p>
3986
- */
3987
- EvaluationName: string | undefined;
3988
- }
3989
-
3990
- export namespace UpdateEvaluationInput {
3991
- /**
3992
- * @internal
3993
- */
3994
- export const filterSensitiveLog = (obj: UpdateEvaluationInput): any => ({
3995
- ...obj,
3996
- });
3997
- }
3998
-
3999
- /**
4000
- * <p>Represents the output of an <code>UpdateEvaluation</code> operation.</p>
4001
- * <p>You can see the updated content by using the <code>GetEvaluation</code> operation.</p>
4002
- */
4003
- export interface UpdateEvaluationOutput {
4004
- /**
4005
- * <p>The ID assigned to the <code>Evaluation</code> during creation. This value should be identical to the value
4006
- * of the <code>Evaluation</code> in the request.</p>
4007
- */
4008
- EvaluationId?: string;
4009
- }
4010
-
4011
- export namespace UpdateEvaluationOutput {
4012
- /**
4013
- * @internal
4014
- */
4015
- export const filterSensitiveLog = (obj: UpdateEvaluationOutput): any => ({
4016
- ...obj,
4017
- });
4018
- }
4019
-
4020
- export interface UpdateMLModelInput {
4021
- /**
4022
- * <p>The ID assigned to the <code>MLModel</code> during creation.</p>
4023
- */
4024
- MLModelId: string | undefined;
4025
-
4026
- /**
4027
- * <p>A user-supplied name or description of the <code>MLModel</code>.</p>
4028
- */
4029
- MLModelName?: string;
4030
-
4031
- /**
4032
- * <p>The <code>ScoreThreshold</code> used in binary classification <code>MLModel</code> that marks the boundary between a positive prediction and a negative prediction.</p>
4033
- * <p>Output values greater than or equal to the <code>ScoreThreshold</code> receive a positive result from the <code>MLModel</code>, such as <code>true</code>. Output values less than the <code>ScoreThreshold</code> receive a negative response from the <code>MLModel</code>, such as <code>false</code>.</p>
4034
- */
4035
- ScoreThreshold?: number;
4036
- }
4037
-
4038
- export namespace UpdateMLModelInput {
4039
- /**
4040
- * @internal
4041
- */
4042
- export const filterSensitiveLog = (obj: UpdateMLModelInput): any => ({
4043
- ...obj,
4044
- });
4045
- }
4046
-
4047
- /**
4048
- * <p>Represents the output of an <code>UpdateMLModel</code> operation.</p>
4049
- * <p>You can see the updated content by using the <code>GetMLModel</code> operation.</p>
4050
- */
4051
- export interface UpdateMLModelOutput {
4052
- /**
4053
- * <p>The ID assigned to the <code>MLModel</code> during creation. This value should be identical to the value
4054
- * of the <code>MLModelID</code> in the request.</p>
4055
- */
4056
- MLModelId?: string;
4057
- }
4058
-
4059
- export namespace UpdateMLModelOutput {
4060
- /**
4061
- * @internal
4062
- */
4063
- export const filterSensitiveLog = (obj: UpdateMLModelOutput): any => ({
4064
- ...obj,
4065
- });
4066
- }