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