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 3691 3692 3693 3694 3695 3696 3697 3698 3699 3700 3701 3702 3703 3704 3705 3706 3707 3708 3709 3710 3711 3712 3713 3714 3715 3716 3717 3718 3719 3720 3721 3722 3723 3724 3725 3726 3727 3728 3729 3730 3731 3732 3733 3734 3735 3736 3737 3738 3739 3740 3741 3742 3743 3744 3745 3746 3747 3748 3749 3750 3751 3752 3753 3754 3755 3756 3757 3758 3759 3760 3761 3762 3763 3764 3765 3766 3767 3768 3769 3770 3771 3772 3773 3774 3775 3776 3777 3778 3779 3780 3781 3782 3783 3784 3785 3786 3787 3788 3789 3790 3791 3792 3793 3794 3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 3808 3809 3810 3811 3812 3813 3814 3815 3816 3817 3818 3819 3820 3821 3822 3823 3824 3825 3826 3827 3828 3829 3830 3831 3832 3833 3834 3835 3836 3837 3838 3839 3840 3841 3842 3843 3844 3845 3846 3847 3848 3849 3850 3851 3852 3853 3854 3855 3856 3857 3858 3859 3860 3861 3862 3863 3864 3865 3866 3867 3868 3869 3870 3871 3872 3873 3874 3875 3876 3877 3878 3879 3880 3881 3882 3883 3884 3885 3886 3887 3888 3889 3890 3891 3892 3893 3894 3895 3896 3897 3898 3899 3900 3901 3902 3903 3904 3905 3906 3907 3908 3909 3910 3911 3912 3913 3914 3915 3916 3917 3918 3919 3920 3921 3922 3923 3924 3925 3926 3927 3928 3929 3930 3931 3932 3933 3934 3935 3936 3937 3938 3939 3940 3941 3942 3943 3944 3945 3946 3947 3948 3949 3950 3951 3952 3953 3954 3955 3956 3957 3958 3959 3960 3961 3962 3963 3964 3965 3966 3967 3968 3969 3970 3971 3972 3973 3974 3975 3976 3977 3978 3979 3980 3981 3982 3983 3984 3985 3986 3987 3988 3989 3990 3991 3992 3993 3994 3995 3996 3997 3998 3999 4000 4001 4002 4003 4004 4005 4006 4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 4030 4031 4032 4033 4034 4035 4036 4037 4038 4039 4040 4041 4042 4043 4044 4045 4046 4047 4048 4049 4050 4051 4052 4053 4054 4055 4056 4057 4058 4059 4060 4061 4062 4063 4064 4065 4066 4067 4068 4069 4070 4071 4072 4073 4074 4075 4076 4077 4078 4079 4080 4081 4082 4083 4084 4085 4086 4087 4088 4089 4090 4091 4092 4093 4094 4095 4096 4097 4098 4099 4100 4101 4102 4103 4104 4105 4106 4107 4108 4109 4110 4111 4112 4113 4114 4115 4116 4117 4118 4119 4120 4121 4122 4123 4124 4125 4126 4127 4128 4129 4130 4131 4132 4133 4134 4135 4136 4137 4138 4139 4140 4141 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 4164 4165 4166 4167 4168 4169 4170 4171 4172 4173 4174 4175 4176 4177 4178 4179 4180 4181 4182 4183 4184 4185 4186 4187 4188 4189 4190 4191 4192 4193 4194 4195 4196 4197 4198 4199 4200 4201 4202 4203 4204 4205 4206 4207 4208 4209 4210 4211 4212 4213 4214 4215 4216 4217 4218 4219 4220 4221 4222 4223 4224 4225 4226 4227 4228 4229 4230 4231 4232 4233 4234 4235 4236 4237 4238 4239 4240 4241 4242 4243 4244 4245 4246 4247 4248 4249 4250 4251 4252 4253 4254 4255 4256 4257 4258 4259 4260 4261 4262 4263 4264 4265 4266 4267 4268 4269 4270 4271 4272 4273 4274 4275 4276 4277 4278 4279 4280 4281 4282 4283 4284 4285 4286 4287 4288 4289 4290 4291 4292 4293 4294 4295 4296 4297 4298 4299 4300 4301 4302 4303 4304 4305 4306 4307 4308 4309 4310 4311 4312 4313 4314 4315 4316 4317 4318 4319 4320 4321 4322 4323 4324 4325 4326 4327 4328 4329 4330 4331 4332 4333 4334 4335 4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 4346 4347 4348 4349 4350 4351 4352 4353 4354 4355 4356 4357 4358 4359 4360 4361 4362 4363 4364 4365 4366 4367 4368 4369 4370 4371 4372 4373 4374 4375 4376 4377 4378 4379 4380 4381 4382 4383 4384 4385 4386 4387 4388 4389 4390 4391 4392 4393 4394 4395 4396 4397 4398 4399 4400 4401 4402 4403 4404 4405 4406 4407 4408 4409 4410 4411 4412 4413 4414 4415 4416 4417 4418 4419 4420 4421 4422 4423 4424 4425 4426 4427 4428 4429 4430 4431 4432 4433 4434 4435 4436 4437 4438 4439 4440 4441 4442 4443 4444 4445 4446 4447 4448 4449 4450 4451 4452 4453 4454 4455 4456 4457 4458 4459 4460 4461 4462 4463 4464 4465 4466 4467 4468 4469 4470 4471 4472 4473 4474 4475 4476 4477 4478 4479 4480 4481 4482 4483 4484 4485 4486 4487 4488 4489 4490 4491 4492 4493 4494 4495 4496 4497 4498 4499 4500 4501 4502 4503 4504 4505 4506 4507 4508 4509 4510 4511 4512 4513 4514 4515 4516 4517 4518 4519 4520 4521 4522 4523 4524 4525 4526 4527 4528 4529 4530 4531 4532 4533 4534 4535 4536 4537 4538 4539 4540 4541 4542 4543 4544 4545 4546 4547 4548 4549 4550 4551 4552 4553 4554 4555 4556 4557 4558 4559 4560 4561 4562 4563 4564 4565 4566 4567 4568 4569 4570 4571 4572 4573 4574 4575 4576 4577 4578 4579 4580 4581 4582 4583 4584 4585 4586 4587 4588 4589 4590 4591 4592 4593 4594 4595 4596 4597 4598 4599 4600 4601 4602 4603 4604 4605 4606 4607 4608 4609 4610 4611 4612 4613 4614 4615 4616 4617 4618 4619 4620 4621 4622 4623 4624 4625 4626 4627 4628 4629 4630 4631 4632 4633 4634 4635 4636 4637 4638 4639 4640 4641 4642 4643 4644 4645 4646 4647 4648 4649 4650 4651 4652 4653 4654 4655 4656 4657 4658 4659 4660 4661 4662 4663 4664 4665 4666 4667 4668 4669 4670 4671 4672 4673 4674 4675 4676 4677 4678 4679 4680 4681 4682 4683 4684 4685 4686 4687 4688 4689 4690 4691 4692 4693 4694 4695 4696 4697 4698 4699 4700 4701 4702 4703 4704 4705 4706 4707 4708 4709 4710 4711 4712 4713 4714 4715 4716 4717 4718 4719 4720 4721 4722 4723 4724 4725 4726 4727 4728 4729 4730 4731 4732 4733 4734 4735 4736 4737 4738 4739 4740 4741 4742 4743 4744 4745 4746 4747 4748 4749 4750 4751 4752 4753 4754 4755 4756 4757 4758 4759 4760 4761 4762 4763 4764 4765 4766 4767 4768 4769 4770 4771 4772 4773 4774 4775 4776 4777 4778 4779 4780 4781 4782 4783 4784 4785 4786 4787 4788 4789 4790 4791 4792 4793 4794 4795 4796 4797 4798 4799 4800 4801 4802 4803 4804 4805 4806 4807 4808 4809 4810 4811 4812 4813 4814 4815 4816 4817 4818 4819 4820 4821 4822 4823 4824 4825 4826 4827 4828 4829 4830 4831 4832 4833 4834 4835 4836 4837 4838 4839 4840 4841 4842 4843 4844 4845 4846 4847 4848 4849 4850 4851 4852 4853 4854 4855 4856 4857 4858 4859 4860 4861 4862 4863 4864 4865 4866 4867 4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 4890 4891 4892 4893 4894 4895 4896 4897 4898 4899 4900 4901 4902 4903 4904 4905 4906 4907 4908 4909 4910 4911 4912 4913 4914 4915 4916 4917 4918 4919 4920 4921 4922 4923 4924 4925 4926 4927 4928 4929 4930 4931 4932 4933 4934 4935 4936 4937 4938 4939 4940 4941 4942 4943 4944 4945 4946 4947 4948 4949 4950 4951 4952 4953 4954 4955 4956 4957 4958 4959 4960 4961 4962 4963 4964 4965 4966 4967 4968 4969 4970 4971 4972 4973 4974 4975 4976 4977 4978 4979 4980 4981 4982 4983 4984 4985 4986 4987 4988 4989 4990 4991 4992 4993 4994 4995 4996 4997 4998 4999 5000 5001 5002 5003 5004 5005 5006 5007 5008 5009 5010 5011 5012 5013 5014 5015 5016 5017 5018 5019 5020 5021 5022 5023 5024 5025 5026 5027 5028 5029 5030 5031 5032 5033 5034 5035 5036 5037 5038 5039 5040 5041 5042 5043 5044 5045 5046 5047 5048 5049 5050 5051 5052 5053 5054 5055 5056 5057 5058 5059 5060 5061 5062 5063 5064 5065 5066 5067 5068 5069 5070 5071 5072 5073 5074 5075 5076 5077 5078 5079 5080 5081 5082 5083 5084 5085 5086 5087 5088 5089 5090 5091 5092 5093 5094 5095 5096 5097 5098 5099 5100 5101 5102 5103 5104 5105 5106 5107 5108 5109 5110 5111 5112 5113 5114 5115 5116 5117 5118 5119 5120 5121 5122 5123 5124 5125 5126 5127 5128 5129 5130 5131 5132 5133 5134 5135 5136 5137 5138 5139 5140 5141 5142 5143 5144 5145 5146 5147 5148 5149 5150 5151 5152 5153 5154 5155 5156 5157 5158 5159 5160 5161 5162 5163 5164 5165 5166 5167 5168 5169 5170 5171 5172 5173 5174 5175 5176 5177 5178 5179 5180 5181 5182 5183 5184 5185 5186 5187 5188 5189 5190 5191 5192 5193 5194 5195 5196 5197 5198 5199 5200 5201 5202 5203 5204 5205 5206 5207 5208 5209 5210 5211 5212 5213 5214 5215 5216 5217 5218 5219 5220 5221 5222 5223 5224 5225 5226 5227 5228 5229 5230 5231 5232 5233 5234 5235 5236 5237 5238 5239 5240 5241 5242 5243 5244 5245 5246 5247 5248 5249 5250 5251 5252 5253 5254 5255 5256 5257 5258 5259 5260 5261 5262 5263 5264 5265 5266 5267 5268 5269 5270 5271 5272 5273 5274 5275 5276 5277 5278 5279 5280 5281 5282 5283 5284 5285 5286 5287 5288 5289 5290 5291 5292 5293 5294 5295 5296 5297 5298 5299 5300 5301 5302 5303 5304 5305 5306 5307 5308 5309 5310 5311 5312 5313 5314 5315 5316 5317 5318 5319 5320 5321 5322 5323 5324 5325 5326 5327 5328 5329 5330 5331 5332 5333 5334 5335 5336 5337 5338 5339 5340 5341 5342 5343 5344 5345 5346 5347 5348 5349 5350 5351 5352 5353 5354 5355 5356 5357 5358 5359 5360 5361 5362 5363 5364 5365 5366 5367 5368 5369 5370 5371 5372 5373 5374 5375 5376 5377 5378 5379 5380 5381 5382 5383 5384 5385 5386 5387 5388 5389 5390 5391 5392 5393 5394 5395 5396 5397 5398 5399 5400 5401 5402 5403 5404 5405 5406 5407 5408 5409 5410 5411 5412 5413 5414 5415 5416 5417 5418 5419 5420 5421 5422 5423 5424 5425 5426 5427 5428 5429 5430 5431 5432 5433 5434 5435 5436 5437 5438 5439 5440 5441 5442 5443 5444 5445 5446 5447 5448 5449 5450 5451 5452 5453 5454 5455 5456 5457 5458 5459 5460 5461 5462 5463 5464 5465 5466 5467 5468 5469 5470 5471 5472 5473 5474 5475 5476 5477 5478 5479 5480 5481 5482 5483 5484 5485 5486 5487 5488 5489 5490 5491 5492 5493 5494 5495 5496 5497 5498 5499 5500 5501 5502 5503 5504 5505 5506 5507 5508 5509 5510 5511 5512 5513 5514 5515 5516 5517 5518 5519 5520 5521 5522 5523 5524 5525 5526 5527 5528 5529 5530 5531 5532 5533 5534 5535 5536 5537 5538 5539 5540 5541 5542 5543 5544 5545 5546 5547 5548 5549 5550 5551 5552 5553 5554 5555 5556 5557 5558 5559 5560 5561 5562 5563 5564 5565 5566 5567 5568 5569 5570 5571 5572 5573 5574 5575 5576 5577 5578 5579 5580 5581 5582 5583 5584 5585 5586 5587 5588 5589 5590 5591 5592 5593 5594 5595 5596 5597 5598 5599 5600 5601 5602 5603 5604 5605 5606 5607 5608 5609 5610 5611 5612 5613 5614 5615 5616 5617 5618 5619 5620 5621 5622 5623 5624 5625 5626 5627 5628 5629 5630 5631 5632 5633 5634 5635 5636 5637 5638 5639 5640 5641 5642 5643 5644 5645 5646 5647 5648 5649 5650 5651 5652 5653 5654 5655 5656 5657 5658 5659 5660 5661 5662 5663 5664 5665 5666 5667 5668 5669 5670 5671 5672 5673 5674 5675 5676 5677 5678 5679 5680 5681 5682 5683 5684 5685 5686 5687 5688 5689 5690 5691 5692 5693 5694 5695 5696 5697 5698 5699 5700 5701 5702 5703 5704 5705 5706 5707 5708 5709 5710 5711 5712 5713 5714 5715 5716 5717 5718 5719 5720 5721 5722 5723 5724 5725 5726 5727 5728 5729 5730 5731 5732 5733 5734 5735 5736 5737 5738 5739 5740 5741 5742 5743 5744 5745 5746 5747 5748 5749 5750 5751 5752 5753 5754 5755 5756 5757 5758 5759 5760 5761 5762 5763 5764 5765 5766 5767 5768 5769 5770 5771 5772 5773 5774 5775 5776 5777 5778 5779 5780 5781 5782 5783 5784 5785 5786 5787 5788 5789 5790 5791 5792 5793 5794 5795 5796 5797 5798 5799 5800 5801 5802 5803 5804 5805 5806 5807 5808 5809 5810 5811 5812 5813 5814 5815 5816 5817 5818 5819 5820 5821 5822 5823 5824 5825 5826 5827 5828 5829 5830 5831 5832 5833 5834 5835 5836 5837 5838 5839 5840 5841 5842 5843 5844 5845 5846 5847 5848 5849 5850 5851 5852 5853 5854 5855 5856 5857 5858 5859 5860 5861 5862 5863 5864 5865 5866 5867 5868 5869 5870 5871 5872 5873 5874 5875 5876 5877 5878 5879 5880 5881 5882 5883 5884 5885 5886 5887 5888 5889 5890 5891 5892 5893 5894 5895 5896 5897 5898 5899 5900 5901 5902 5903 5904 5905 5906 5907 5908 5909 5910 5911 5912 5913 5914 5915 5916 5917 5918 5919 5920 5921 5922 5923 5924 5925 5926 5927 5928 5929 5930 5931 5932 5933 5934 5935 5936 5937 5938 5939 5940 5941 5942 5943 5944 5945 5946 5947 5948 5949 5950 5951 5952 5953 5954 5955 5956 5957 5958 5959 5960 5961 5962 5963 5964 5965 5966 5967 5968 5969 5970 5971 5972 5973 5974 5975 5976 5977 5978 5979 5980 5981 5982 5983 5984 5985 5986 5987 5988 5989 5990 5991 5992 5993 5994 5995 5996 5997 5998 5999 6000 6001 6002 6003 6004 6005 6006 6007 6008 6009 6010 6011 6012 6013 6014 6015 6016 6017 6018 6019 6020 6021 6022 6023 6024 6025 6026 6027 6028 6029 6030 6031 6032 6033 6034 6035 6036 6037 6038 6039 6040 6041 6042 6043 6044 6045 6046 6047 6048 6049 6050 6051 6052 6053 6054 6055 6056 6057 6058 6059 6060 6061 6062 6063 6064 6065 6066 6067 6068 6069 6070 6071 6072 6073 6074 6075 6076 6077 6078 6079 6080 6081 6082 6083 6084 6085 6086 6087 6088 6089 6090 6091 6092 6093 6094 6095 6096 6097 6098 6099 6100 6101 6102 6103 6104 6105 6106 6107 6108 6109 6110 6111 6112 6113 6114 6115 6116 6117 6118 6119 6120 6121 6122 6123 6124 6125 6126 6127 6128 6129 6130 6131 6132 6133 6134 6135 6136 6137 6138 6139 6140 6141 6142 6143 6144 6145 6146 6147 6148 6149 6150 6151 6152 6153 6154 6155 6156 6157 6158 6159 6160 6161 6162 6163 6164 6165 6166 6167 6168 6169 6170 6171 6172 6173 6174 6175 6176 6177 6178 6179 6180 6181 6182 6183 6184 6185 6186 6187 6188 6189 6190 6191 6192 6193 6194 6195 6196 6197 6198 6199 6200 6201 6202 6203 6204 6205 6206 6207 6208 6209 6210 6211 6212 6213 6214 6215 6216 6217 6218 6219 6220 6221 6222 6223 6224 6225 6226 6227 6228 6229 6230 6231 6232 6233 6234 6235 6236 6237 6238 6239 6240 6241 6242 6243 6244 6245 6246 6247 6248 6249 6250 6251 6252 6253 6254 6255 6256 6257 6258 6259 6260 6261 6262 6263 6264 6265 6266 6267 6268 6269 6270 6271 6272 6273 6274 6275 6276 6277 6278 6279 6280 6281 6282 6283 6284 6285 6286 6287 6288 6289 6290 6291 6292 6293 6294 6295 6296 6297 6298 6299 6300 6301 6302 6303 6304 6305 6306 6307 6308 6309 6310 6311 6312 6313 6314 6315 6316 6317 6318 6319 6320 6321 6322 6323 6324 6325 6326 6327 6328 6329 6330 6331 6332 6333 6334 6335 6336 6337 6338 6339 6340 6341 6342 6343 6344 6345 6346 6347 6348 6349 6350 6351 6352 6353 6354 6355 6356 6357 6358 6359 6360 6361 6362 6363 6364 6365 6366 6367 6368 6369 6370 6371 6372 6373 6374 6375 6376 6377 6378 6379 6380 6381 6382 6383 6384 6385 6386 6387 6388 6389 6390 6391 6392 6393 6394 6395 6396 6397 6398 6399 6400 6401 6402 6403 6404 6405 6406 6407 6408 6409 6410 6411 6412 6413 6414 6415 6416 6417 6418 6419 6420 6421 6422 6423 6424 6425 6426 6427 6428 6429 6430 6431 6432 6433 6434 6435 6436 6437 6438 6439 6440 6441 6442 6443 6444 6445 6446 6447 6448 6449 6450 6451 6452 6453 6454 6455 6456 6457 6458 6459 6460 6461 6462 6463 6464 6465 6466 6467 6468 6469 6470 6471 6472 6473 6474 6475 6476 6477 6478 6479 6480 6481 6482 6483 6484 6485 6486 6487 6488 6489 6490 6491 6492 6493 6494 6495 6496 6497 6498 6499 6500 6501 6502 6503 6504 6505 6506 6507 6508 6509 6510 6511 6512 6513 6514 6515 6516 6517 6518 6519 6520 6521 6522 6523 6524 6525 6526 6527 6528 6529 6530 6531 6532 6533 6534 6535 6536 6537 6538 6539 6540 6541 6542 6543 6544 6545 6546 6547 6548 6549 6550 6551 6552 6553 6554 6555 6556 6557 6558 6559 6560 6561 6562 6563 6564 6565 6566 6567 6568 6569 6570 6571 6572 6573 6574 6575 6576 6577 6578 6579 6580 6581 6582 6583 6584 6585 6586 6587 6588 6589 6590 6591 6592 6593 6594 6595 6596 6597 6598 6599 6600 6601 6602 6603 6604 6605 6606 6607 6608 6609 6610 6611 6612 6613 6614 6615 6616 6617 6618 6619 6620 6621 6622 6623 6624 6625 6626 6627 6628 6629 6630 6631 6632 6633 6634 6635 6636 6637 6638 6639 6640 6641 6642 6643 6644 6645 6646 6647 6648 6649 6650 6651 6652 6653 6654 6655 6656 6657 6658 6659 6660 6661 6662 6663 6664 6665 6666 6667 6668 6669 6670 6671 6672 6673 6674 6675 6676 6677 6678 6679 6680 6681 6682 6683 6684 6685 6686 6687 6688 6689 6690 6691 6692 6693 6694 6695 6696 6697 6698 6699 6700 6701 6702 6703 6704 6705 6706 6707 6708 6709 6710 6711 6712 6713 6714 6715 6716 6717 6718 6719 6720 6721 6722 6723 6724 6725 6726 6727 6728 6729 6730 6731 6732 6733 6734 6735 6736 6737 6738 6739 6740 6741 6742 6743 6744 6745 6746 6747 6748 6749 6750 6751 6752 6753 6754 6755 6756 6757 6758 6759 6760 6761 6762 6763 6764 6765 6766 6767 6768 6769 6770 6771 6772 6773 6774 6775 6776 6777 6778 6779 6780 6781 6782 6783 6784 6785 6786 6787 6788 6789 6790 6791 6792 6793 6794 6795 6796 6797 6798 6799 6800 6801 6802 6803 6804 6805 6806 6807 6808 6809 6810 6811 6812 6813 6814 6815 6816 6817 6818 6819 6820 6821 6822 6823 6824 6825 6826 6827 6828 6829 6830 6831 6832 6833 6834 6835 6836 6837 6838 6839 6840 6841 6842 6843 6844 6845 6846 6847 6848 6849 6850 6851 6852 6853 6854 6855 6856 6857 6858 6859 6860 6861 6862 6863 6864 6865 6866 6867 6868 6869 6870 6871 6872 6873 6874 6875 6876 6877 6878 6879 6880 6881 6882 6883 6884 6885 6886 6887 6888 6889 6890 6891 6892 6893 6894 6895 6896 6897 6898 6899 6900 6901 6902 6903 6904 6905 6906 6907 6908 6909 6910 6911 6912 6913 6914 6915 6916 6917 6918 6919 6920 6921 6922 6923 6924 6925 6926 6927 6928 6929 6930 6931 6932 6933 6934 6935 6936 6937 6938 6939 6940 6941 6942 6943 6944 6945 6946 6947 6948 6949 6950 6951 6952 6953 6954 6955 6956 6957 6958 6959 6960 6961 6962 6963 6964 6965 6966 6967 6968 6969 6970 6971 6972 6973 6974 6975 6976 6977 6978 6979 6980 6981 6982 6983 6984 6985 6986 6987 6988 6989 6990 6991 6992 6993 6994 6995 6996 6997 6998 6999 7000 7001 7002 7003 7004 7005 7006 7007 7008 7009 7010 7011 7012 7013 7014 7015 7016 7017 7018 7019 7020 7021 7022 7023 7024 7025 7026 7027 7028 7029 7030 7031 7032 7033 7034 7035 7036 7037 7038 7039 7040 7041 7042 7043 7044 7045 7046 7047 7048 7049 7050 7051 7052 7053 7054 7055 7056 7057 7058 7059 7060 7061 7062 7063 7064 7065 7066 7067 7068 7069 7070 7071 7072 7073 7074 7075 7076 7077 7078 7079 7080 7081 7082 7083 7084 7085 7086 7087 7088 7089 7090 7091 7092 7093 7094 7095 7096 7097 7098 7099 7100 7101 7102 7103 7104 7105 7106 7107 7108 7109 7110 7111 7112 7113 7114 7115 7116 7117 7118 7119 7120 7121 7122 7123 7124 7125 7126 7127 7128 7129 7130 7131 7132 7133 7134 7135 7136 7137 7138 7139 7140 7141 7142 7143 7144 7145 7146 7147 7148 7149 7150 7151 7152 7153 7154 7155 7156 7157 7158 7159 7160 7161 7162 7163 7164 7165 7166 7167 7168 7169 7170 7171 7172 7173 7174 7175 7176 7177 7178 7179 7180 7181 7182 7183 7184 7185 7186 7187 7188 7189 7190 7191 7192 7193 7194 7195 7196 7197 7198 7199 7200 7201 7202 7203 7204 7205 7206 7207 7208 7209 7210 7211 7212 7213 7214 7215 7216 7217 7218 7219 7220 7221 7222 7223 7224 7225 7226 7227 7228 7229 7230 7231 7232 7233 7234 7235 7236 7237 7238 7239 7240 7241 7242 7243 7244 7245 7246 7247 7248 7249 7250 7251 7252 7253 7254 7255 7256 7257 7258 7259 7260 7261 7262 7263 7264 7265 7266 7267 7268 7269 7270 7271 7272 7273 7274 7275 7276 7277 7278 7279 7280 7281 7282 7283 7284 7285 7286 7287 7288 7289 7290 7291 7292 7293 7294 7295 7296 7297 7298 7299 7300 7301 7302 7303 7304 7305 7306 7307 7308 7309 7310 7311 7312 7313 7314 7315 7316 7317 7318 7319 7320 7321 7322 7323 7324 7325 7326 7327 7328 7329 7330 7331 7332 7333 7334 7335 7336 7337 7338 7339 7340 7341 7342 7343 7344 7345 7346 7347 7348 7349 7350 7351 7352 7353 7354 7355 7356 7357 7358 7359 7360 7361 7362 7363 7364 7365 7366 7367 7368 7369 7370 7371 7372 7373 7374 7375 7376 7377 7378 7379 7380 7381 7382 7383 7384 7385 7386 7387 7388 7389 7390 7391 7392 7393 7394 7395 7396 7397 7398 7399 7400 7401 7402 7403 7404 7405 7406 7407 7408 7409 7410 7411 7412 7413 7414 7415 7416 7417 7418 7419 7420 7421 7422 7423 7424 7425 7426 7427 7428 7429 7430 7431 7432 7433 7434 7435 7436 7437 7438 7439 7440 7441 7442 7443 7444 7445 7446 7447 7448 7449 7450 7451 7452 7453 7454 7455 7456 7457 7458 7459 7460 7461 7462 7463 7464 7465 7466 7467 7468 7469 7470 7471 7472 7473 7474 7475 7476 7477 7478 7479 7480 7481 7482 7483 7484 7485 7486 7487 7488 7489 7490 7491 7492 7493 7494 7495 7496 7497 7498 7499 7500 7501 7502 7503 7504 7505 7506 7507 7508 7509 7510 7511 7512 7513 7514 7515 7516 7517 7518 7519 7520 7521 7522 7523 7524 7525 7526 7527 7528 7529 7530 7531 7532 7533 7534 7535 7536 7537 7538 7539 7540 7541 7542 7543 7544 7545 7546 7547 7548 7549 7550 7551 7552 7553 7554 7555 7556 7557 7558 7559 7560 7561 7562 7563 7564 7565 7566 7567 7568 7569 7570 7571 7572 7573 7574 7575 7576 7577 7578 7579 7580 7581 7582 7583 7584 7585 7586 7587 7588 7589 7590 7591 7592 7593 7594 7595 7596 7597 7598 7599 7600 7601 7602 7603 7604 7605 7606 7607 7608 7609 7610 7611 7612 7613 7614 7615 7616 7617 7618 7619 7620 7621 7622 7623 7624 7625 7626 7627 7628 7629 7630 7631 7632 7633 7634 7635 7636 7637 7638 7639 7640 7641 7642 7643 7644 7645 7646 7647 7648 7649 7650 7651 7652 7653 7654 7655 7656 7657 7658 7659 7660 7661 7662 7663 7664 7665 7666 7667 7668 7669 7670 7671 7672 7673 7674 7675 7676 7677 7678 7679 7680 7681 7682 7683 7684 7685 7686 7687 7688 7689 7690 7691 7692 7693 7694 7695 7696 7697 7698 7699 7700 7701 7702 7703 7704 7705 7706 7707 7708 7709 7710 7711 7712 7713 7714 7715 7716 7717 7718 7719 7720 7721 7722 7723 7724 7725 7726 7727 7728 7729 7730 7731 7732 7733 7734 7735 7736 7737 7738 7739 7740 7741 7742 7743 7744 7745 7746 7747 7748 7749 7750 7751 7752 7753 7754 7755 7756 7757 7758 7759 7760 7761 7762 7763 7764 7765 7766 7767 7768 7769 7770 7771 7772 7773 7774 7775 7776 7777 7778 7779 7780 7781 7782 7783 7784 7785 7786 7787 7788 7789 7790 7791 7792 7793 7794 7795 7796 7797 7798 7799 7800 7801 7802 7803 7804 7805 7806 7807 7808 7809 7810 7811 7812 7813 7814 7815 7816 7817 7818 7819 7820 7821 7822 7823 7824 7825 7826 7827 7828 7829 7830 7831 7832 7833 7834 7835 7836 7837 7838 7839 7840 7841 7842 7843 7844 7845 7846 7847 7848 7849 7850 7851 7852 7853 7854 7855 7856 7857 7858 7859 7860 7861 7862 7863 7864 7865 7866 7867 7868 7869 7870 7871 7872 7873 7874 7875 7876 7877 7878 7879 7880 7881 7882 7883 7884 7885 7886 7887 7888 7889 7890 7891 7892 7893 7894 7895 7896 7897 7898 7899 7900 7901 7902 7903 7904 7905 7906 7907 7908 7909 7910 7911 7912 7913 7914 7915 7916 7917 7918 7919 7920 7921 7922 7923 7924 7925 7926 7927 7928 7929 7930 7931 7932 7933 7934 7935 7936 7937 7938 7939 7940 7941 7942 7943 7944 7945 7946 7947 7948 7949 7950 7951 7952 7953 7954 7955 7956 7957 7958 7959 7960 7961 7962 7963 7964 7965 7966 7967 7968 7969 7970 7971 7972 7973 7974 7975 7976 7977 7978 7979 7980 7981 7982 7983 7984 7985 7986 7987 7988 7989 7990 7991 7992 7993 7994 7995 7996 7997 7998 7999 8000 8001 8002 8003 8004 8005 8006 8007 8008 8009 8010 8011 8012 8013 8014 8015 8016 8017 8018 8019 8020 8021 8022 8023 8024 8025 8026 8027 8028 8029 8030 8031 8032 8033 8034 8035 8036 8037 8038 8039 8040 8041 8042 8043 8044 8045 8046 8047 8048 8049 8050 8051 8052 8053 8054 8055 8056 8057 8058 8059 8060 8061 8062 8063 8064 8065 8066 8067 8068 8069 8070 8071 8072 8073 8074 8075 8076 8077 8078 8079 8080 8081 8082 8083 8084 8085 8086 8087 8088 8089 8090 8091 8092 8093 8094 8095 8096 8097 8098 8099 8100 8101 8102 8103 8104 8105 8106 8107 8108 8109 8110 8111 8112 8113 8114 8115 8116 8117 8118 8119 8120 8121 8122 8123 8124 8125 8126 8127 8128 8129 8130 8131 8132 8133 8134 8135 8136 8137 8138 8139 8140 8141 8142 8143 8144 8145 8146 8147 8148 8149 8150 8151 8152 8153 8154 8155 8156 8157 8158 8159 8160 8161 8162 8163 8164 8165 8166 8167 8168 8169 8170 8171 8172 8173 8174 8175 8176 8177 8178 8179 8180 8181 8182 8183 8184 8185 8186 8187 8188 8189 8190 8191 8192 8193 8194 8195 8196 8197 8198 8199 8200 8201 8202 8203 8204 8205 8206 8207 8208 8209 8210 8211 8212 8213 8214 8215 8216 8217 8218 8219 8220 8221 8222 8223 8224 8225 8226 8227 8228 8229 8230 8231 8232 8233 8234 8235 8236 8237 8238 8239 8240 8241 8242 8243 8244 8245 8246 8247 8248 8249 8250 8251 8252 8253 8254 8255 8256 8257 8258 8259 8260 8261 8262 8263 8264 8265 8266 8267 8268 8269 8270 8271 8272 8273 8274 8275 8276 8277 8278 8279 8280 8281 8282 8283 8284 8285 8286 8287 8288 8289 8290 8291 8292 8293 8294 8295 8296 8297 8298 8299 8300 8301 8302 8303 8304 8305 8306 8307 8308 8309 8310 8311 8312 8313 8314 8315 8316 8317 8318 8319 8320 8321 8322 8323 8324 8325 8326 8327 8328 8329 8330 8331 8332 8333 8334 8335 8336 8337 8338 8339 8340 8341 8342 8343 8344 8345 8346 8347 8348 8349 8350 8351 8352 8353 8354 8355 8356 8357 8358 8359 8360 8361 8362 8363 8364 8365 8366 8367 8368 8369 8370 8371 8372 8373 8374 8375 8376 8377 8378 8379 8380 8381 8382 8383 8384 8385 8386 8387 8388 8389 8390 8391 8392 8393 8394 8395 8396 8397 8398 8399 8400 8401 8402 8403 8404 8405 8406 8407 8408 8409 8410 8411 8412 8413 8414 8415 8416 8417 8418 8419 8420 8421 8422 8423 8424 8425 8426 8427 8428 8429 8430 8431 8432 8433 8434 8435 8436 8437 8438 8439 8440 8441 8442 8443 8444 8445 8446 8447 8448 8449 8450 8451 8452 8453 8454 8455 8456 8457 8458 8459 8460 8461 8462 8463 8464 8465 8466 8467 8468 8469 8470 8471 8472 8473 8474 8475 8476 8477 8478 8479 8480 8481 8482 8483 8484 8485 8486 8487 8488 8489 8490 8491 8492 8493 8494 8495 8496 8497 8498 8499 8500 8501 8502 8503 8504 8505 8506 8507 8508 8509 8510 8511 8512 8513 8514 8515 8516 8517 8518 8519 8520 8521 8522 8523 8524 8525 8526 8527 8528 8529 8530 8531 8532 8533 8534 8535 8536 8537 8538 8539 8540 8541 8542 8543 8544 8545 8546 8547 8548 8549 8550 8551 8552 8553 8554 8555 8556 8557 8558 8559 8560 8561 8562 8563 8564 8565 8566 8567 8568 8569 8570 8571 8572 8573 8574 8575 8576 8577 8578 8579 8580 8581 8582 8583 8584 8585 8586 8587 8588 8589 8590 8591 8592 8593 8594 8595 8596 8597 8598 8599 8600 8601 8602 8603 8604 8605 8606 8607 8608 8609 8610 8611 8612 8613 8614 8615 8616 8617 8618 8619 8620 8621 8622 8623 8624 8625 8626 8627 8628 8629 8630 8631 8632 8633 8634 8635 8636 8637 8638 8639 8640 8641 8642 8643 8644 8645 8646 8647 8648 8649 8650 8651 8652 8653 8654 8655 8656 8657 8658 8659 8660 8661 8662 8663 8664 8665 8666 8667 8668 8669 8670 8671 8672 8673 8674 8675 8676 8677 8678 8679 8680 8681 8682 8683 8684 8685 8686 8687 8688 8689 8690 8691 8692 8693 8694 8695 8696 8697 8698 8699 8700 8701 8702 8703 8704 8705 8706 8707 8708 8709 8710 8711 8712 8713 8714 8715 8716 8717 8718 8719 8720 8721 8722 8723 8724 8725 8726 8727 8728 8729 8730 8731 8732 8733 8734 8735 8736 8737 8738 8739 8740 8741 8742 8743 8744 8745 8746 8747 8748 8749 8750 8751 8752 8753 8754 8755 8756 8757 8758 8759 8760 8761 8762 8763 8764 8765 8766 8767 8768 8769 8770 8771 8772 8773 8774 8775 8776 8777 8778 8779 8780 8781 8782 8783 8784 8785 8786 8787 8788 8789 8790 8791 8792 8793 8794 8795 8796 8797 8798 8799 8800 8801 8802 8803 8804 8805 8806 8807 8808 8809 8810 8811 8812 8813 8814 8815 8816 8817 8818 8819 8820 8821 8822 8823 8824 8825 8826 8827 8828 8829 8830 8831 8832 8833 8834 8835 8836 8837 8838 8839 8840 8841 8842 8843 8844 8845 8846 8847 8848 8849 8850 8851 8852 8853 8854 8855 8856 8857 8858 8859 8860 8861 8862 8863 8864 8865 8866 8867 8868 8869 8870 8871 8872 8873 8874 8875 8876 8877 8878 8879 8880 8881 8882 8883 8884 8885 8886 8887 8888 8889 8890 8891 8892 8893 8894 8895 8896 8897 8898 8899 8900 8901 8902 8903 8904 8905 8906 8907 8908 8909 8910 8911 8912 8913 8914 8915 8916 8917 8918 8919 8920 8921 8922 8923 8924 8925 8926 8927 8928 8929 8930 8931 8932 8933 8934 8935 8936 8937 8938 8939 8940 8941 8942 8943 8944 8945 8946 8947 8948 8949 8950 8951 8952 8953 8954 8955 8956 8957 8958 8959 8960 8961 8962 8963 8964 8965 8966 8967 8968 8969 8970 8971 8972 8973 8974 8975 8976 8977 8978 8979 8980 8981 8982 8983 8984 8985 8986 8987 8988 8989 8990 8991 8992 8993 8994 8995 8996 8997 8998 8999 9000 9001 9002 9003 9004 9005 9006 9007 9008 9009 9010 9011 9012 9013 9014 9015 9016 9017 9018 9019 9020 9021 9022 9023 9024 9025 9026 9027 9028 9029 9030 9031 9032 9033 9034 9035 9036 9037 9038 9039 9040 9041 9042 9043 9044 9045 9046 9047 9048 9049 9050 9051 9052 9053 9054 9055 9056 9057 9058 9059 9060 9061 9062 9063 9064 9065 9066 9067 9068 9069 9070 9071 9072 9073 9074 9075 9076 9077 9078 9079 9080 9081 9082 9083 9084 9085 9086 9087 9088 9089 9090 9091 9092 9093 9094 9095 9096 9097 9098 9099 9100 9101 9102 9103 9104 9105 9106 9107 9108 9109 9110 9111 9112 9113 9114 9115 9116 9117 9118 9119 9120 9121 9122 9123 9124 9125 9126 9127 9128 9129 9130 9131 9132 9133 9134 9135 9136 9137 9138 9139 9140 9141 9142 9143 9144 9145 9146 9147 9148 9149 9150 9151 9152 9153 9154 9155 9156 9157 9158 9159 9160 9161 9162 9163 9164 9165 9166 9167 9168 9169 9170 9171 9172 9173 9174 9175 9176 9177 9178 9179 9180 9181 9182 9183 9184 9185 9186 9187 9188 9189 9190 9191 9192 9193 9194 9195 9196 9197 9198 9199 9200 9201 9202 9203 9204 9205 9206 9207 9208 9209 9210 9211 9212 9213 9214 9215 9216 9217 9218 9219 9220 9221 9222 9223 9224 9225 9226 9227 9228 9229 9230 9231 9232 9233 9234 9235 9236 9237 9238 9239 9240 9241 9242 9243 9244 9245 9246 9247 9248 9249 9250 9251 9252 9253 9254 9255 9256 9257 9258 9259 9260 9261 9262 9263 9264 9265 9266 9267 9268 9269 9270 9271 9272 9273 9274 9275 9276 9277 9278 9279 9280 9281 9282 9283 9284 9285 9286 9287 9288 9289 9290 9291 9292 9293 9294 9295 9296 9297 9298 9299 9300 9301 9302 9303 9304 9305 9306 9307 9308 9309 9310 9311 9312 9313 9314 9315 9316 9317 9318 9319 9320 9321 9322 9323 9324 9325 9326 9327 9328 9329 9330 9331 9332 9333 9334 9335 9336 9337 9338 9339 9340 9341 9342 9343 9344 9345 9346 9347 9348 9349 9350 9351 9352 9353 9354 9355 9356 9357 9358 9359 9360 9361 9362 9363 9364 9365 9366 9367 9368 9369 9370 9371 9372 9373 9374 9375 9376 9377 9378 9379 9380 9381 9382 9383 9384 9385 9386 9387 9388 9389 9390 9391 9392 9393 9394 9395 9396 9397 9398 9399 9400 9401 9402 9403 9404 9405 9406 9407 9408 9409 9410 9411 9412 9413 9414 9415 9416 9417 9418 9419 9420 9421 9422 9423 9424 9425 9426 9427 9428 9429 9430 9431 9432 9433 9434 9435 9436 9437 9438 9439 9440 9441 9442 9443 9444 9445 9446 9447 9448 9449 9450 9451 9452 9453 9454 9455 9456 9457 9458 9459 9460 9461 9462 9463 9464 9465 9466 9467 9468 9469 9470 9471 9472 9473 9474 9475 9476 9477 9478 9479 9480 9481 9482 9483 9484 9485 9486 9487 9488 9489 9490 9491 9492 9493 9494 9495 9496 9497 9498 9499 9500 9501 9502 9503 9504 9505 9506 9507 9508 9509 9510 9511 9512 9513 9514 9515 9516 9517 9518 9519 9520 9521 9522 9523 9524 9525 9526 9527 9528 9529 9530 9531 9532 9533 9534 9535 9536 9537 9538 9539 9540 9541 9542 9543 9544 9545 9546 9547 9548 9549 9550 9551 9552 9553 9554 9555 9556 9557 9558 9559 9560 9561 9562 9563 9564 9565 9566 9567 9568 9569 9570 9571 9572 9573 9574 9575 9576 9577 9578 9579 9580 9581 9582 9583 9584 9585 9586 9587 9588 9589 9590 9591 9592 9593 9594 9595 9596 9597 9598 9599 9600 9601 9602 9603 9604 9605 9606 9607 9608 9609 9610 9611 9612 9613 9614 9615 9616 9617 9618 9619 9620 9621 9622 9623 9624 9625 9626 9627 9628 9629 9630 9631 9632 9633 9634 9635 9636 9637 9638 9639 9640 9641 9642 9643 9644 9645 9646 9647 9648 9649 9650 9651 9652 9653 9654 9655 9656 9657 9658 9659 9660 9661 9662 9663 9664 9665 9666 9667 9668 9669 9670 9671 9672 9673 9674 9675 9676 9677 9678 9679 9680 9681 9682 9683 9684 9685 9686 9687 9688 9689 9690 9691 9692 9693 9694 9695 9696 9697 9698 9699 9700 9701 9702 9703 9704 9705 9706 9707 9708 9709 9710 9711 9712 9713 9714 9715 9716 9717 9718 9719 9720 9721 9722 9723 9724 9725 9726 9727 9728 9729 9730 9731 9732 9733 9734 9735 9736 9737 9738 9739 9740 9741 9742 9743 9744 9745 9746 9747 9748 9749 9750 9751 9752 9753 9754 9755 9756 9757 9758 9759 9760 9761 9762 9763 9764 9765 9766 9767 9768 9769 9770 9771 9772 9773 9774 9775 9776 9777 9778 9779 9780 9781 9782 9783 9784 9785 9786 9787 9788 9789 9790 9791 9792 9793 9794 9795 9796 9797 9798 9799 9800 9801 9802 9803 9804 9805 9806 9807 9808 9809 9810 9811 9812 9813 9814 9815 9816 9817 9818 9819 9820 9821 9822 9823 9824 9825 9826 9827 9828 9829 9830 9831 9832 9833 9834 9835 9836 9837 9838 9839 9840 9841 9842 9843 9844 9845 9846 9847 9848 9849 9850 9851 9852 9853 9854 9855 9856 9857 9858 9859 9860 9861 9862 9863 9864 9865 9866 9867 9868 9869 9870 9871 9872 9873 9874 9875 9876 9877 9878 9879 9880 9881 9882 9883 9884 9885 9886 9887 9888 9889 9890 9891 9892 9893 9894 9895 9896 9897 9898 9899 9900 9901 9902 9903 9904 9905 9906 9907 9908 9909 9910 9911 9912 9913 9914 9915 9916 9917 9918 9919 9920 9921 9922 9923 9924 9925 9926 9927 9928 9929 9930 9931 9932 9933 9934 9935 9936 9937 9938 9939 9940 9941 9942 9943 9944 9945 9946 9947 9948 9949 9950 9951 9952 9953 9954 9955 9956 9957 9958 9959 9960 9961 9962 9963 9964 9965 9966 9967 9968 9969 9970 9971 9972 9973 9974 9975 9976 9977 9978 9979 9980 9981 9982 9983 9984 9985 9986 9987 9988 9989 9990 9991 9992 9993 9994 9995 9996 9997 9998 9999 10000 10001 10002 10003 10004 10005 10006 10007 10008 10009 10010 10011 10012 10013 10014 10015 10016 10017 10018 10019 10020 10021 10022 10023 10024 10025 10026 10027 10028 10029 10030 10031 10032 10033 10034 10035 10036 10037 10038 10039 10040 10041 10042 10043 10044 10045 10046 10047 10048 10049 10050 10051 10052 10053 10054 10055 10056 10057 10058 10059 10060 10061 10062 10063 10064 10065 10066 10067 10068 10069 10070 10071 10072 10073 10074 10075 10076 10077 10078 10079 10080 10081 10082 10083 10084 10085 10086 10087 10088 10089 10090 10091 10092 10093 10094 10095 10096 10097 10098 10099 10100 10101 10102 10103 10104 10105 10106 10107 10108 10109 10110 10111 10112 10113 10114 10115 10116 10117 10118 10119 10120 10121 10122 10123 10124 10125 10126 10127 10128 10129 10130 10131 10132 10133 10134 10135 10136 10137 10138 10139 10140 10141 10142 10143 10144 10145 10146 10147 10148 10149 10150 10151 10152 10153 10154 10155 10156 10157 10158 10159 10160 10161 10162 10163 10164 10165 10166 10167 10168 10169 10170 10171 10172 10173 10174 10175 10176 10177 10178 10179 10180 10181 10182 10183 10184 10185 10186 10187 10188 10189 10190 10191 10192 10193 10194 10195 10196 10197 10198 10199 10200 10201 10202 10203 10204 10205 10206 10207 10208 10209 10210 10211 10212 10213 10214 10215 10216 10217 10218 10219 10220 10221 10222 10223 10224 10225 10226 10227 10228 10229 10230 10231 10232 10233 10234 10235 10236 10237 10238 10239 10240 10241 10242 10243 10244 10245 10246 10247 10248 10249 10250 10251 10252 10253 10254 10255 10256 10257 10258 10259 10260 10261 10262 10263 10264 10265 10266 10267 10268 10269 10270 10271 10272 10273 10274 10275 10276 10277 10278 10279 10280 10281 10282 10283 10284 10285 10286 10287 10288 10289 10290 10291 10292 10293 10294 10295 10296 10297 10298 10299 10300 10301 10302 10303 10304 10305 10306 10307 10308 10309 10310 10311 10312 10313 10314 10315 10316 10317 10318 10319 10320 10321 10322 10323 10324 10325 10326 10327 10328 10329 10330 10331 10332 10333 10334 10335 10336 10337 10338 10339 10340 10341 10342 10343 10344 10345 10346 10347 10348 10349 10350 10351 10352 10353 10354 10355 10356 10357 10358 10359 10360 10361 10362 10363 10364 10365 10366 10367 10368 10369 10370 10371 10372 10373 10374 10375 10376 10377 10378 10379 10380 10381 10382 10383 10384 10385 10386 10387 10388 10389 10390 10391 10392 10393 10394 10395 10396 10397 10398 10399 10400 10401 10402 10403 10404 10405 10406 10407 10408 10409 10410 10411 10412 10413 10414 10415 10416 10417 10418 10419 10420 10421 10422 10423 10424 10425 10426 10427 10428 10429 10430 10431 10432 10433 10434 10435 10436 10437 10438 10439 10440 10441 10442 10443 10444 10445 10446 10447 10448 10449 10450 10451 10452 10453 10454 10455 10456 10457 10458 10459 10460 10461 10462 10463 10464 10465 10466 10467 10468 10469 10470 10471 10472 10473 10474 10475 10476 10477 10478 10479 10480 10481 10482 10483 10484 10485 10486 10487 10488 10489 10490 10491 10492 10493 10494 10495 10496 10497 10498 10499 10500 10501 10502 10503 10504 10505 10506 10507 10508 10509 10510 10511 10512 10513 10514 10515 10516 10517 10518 10519 10520 10521 10522 10523 10524 10525 10526 10527 10528 10529 10530 10531 10532 10533 10534 10535 10536 10537 10538 10539 10540 10541 10542 10543 10544 10545 10546 10547 10548 10549 10550 10551 10552 10553 10554 10555 10556 10557 10558 10559 10560 10561 10562 10563 10564 10565 10566 10567 10568 10569 10570 10571 10572 10573 10574 10575 10576 10577 10578 10579 10580 10581 10582 10583 10584 10585 10586 10587 10588 10589 10590 10591 10592 10593 10594 10595 10596 10597 10598 10599 10600 10601 10602 10603 10604 10605 10606 10607 10608 10609 10610 10611 10612 10613 10614 10615 10616 10617 10618 10619 10620 10621 10622 10623 10624 10625 10626 10627 10628 10629 10630 10631 10632 10633 10634 10635 10636 10637 10638 10639 10640 10641 10642 10643 10644 10645 10646 10647 10648 10649 10650 10651 10652 10653 10654 10655 10656 10657 10658 10659 10660 10661 10662 10663 10664 10665 10666 10667 10668 10669 10670 10671 10672 10673 10674 10675 10676 10677 10678 10679 10680 10681 10682 10683 10684 10685 10686 10687 10688 10689 10690 10691 10692 10693 10694 10695 10696 10697 10698 10699 10700 10701 10702 10703 10704 10705 10706 10707 10708 10709 10710 10711 10712 10713 10714 10715 10716 10717 10718 10719 10720 10721 10722 10723 10724 10725 10726 10727 10728 10729 10730 10731 10732 10733 10734 10735 10736 10737 10738 10739 10740 10741 10742 10743 10744 10745 10746 10747 10748 10749 10750 10751 10752 10753 10754 10755 10756 10757 10758 10759 10760 10761 10762 10763 10764 10765 10766 10767 10768 10769 10770 10771 10772 10773 10774 10775 10776 10777 10778 10779 10780 10781 10782 10783 10784 10785 10786 10787 10788 10789 10790 10791 10792 10793 10794 10795 10796 10797 10798 10799 10800 10801 10802 10803 10804 10805 10806 10807 10808 10809 10810 10811 10812 10813 10814 10815 10816 10817 10818 10819 10820 10821 10822 10823 10824 10825 10826 10827 10828 10829 10830 10831 10832 10833 10834 10835 10836 10837 10838 10839 10840 10841 10842 10843 10844 10845 10846 10847 10848 10849 10850 10851 10852 10853 10854 10855 10856 10857 10858 10859 10860 10861 10862 10863 10864 10865 10866 10867 10868 10869 10870 10871 10872 10873 10874 10875 10876 10877 10878 10879 10880 10881 10882 10883 10884 10885 10886 10887 10888 10889 10890 10891 10892 10893 10894 10895 10896 10897 10898 10899 10900 10901 10902 10903 10904 10905 10906 10907 10908 10909 10910 10911 10912 10913 10914 10915 10916 10917 10918 10919 10920 10921 10922 10923 10924 10925 10926 10927 10928 10929 10930 10931 10932 10933 10934 10935 10936 10937 10938 10939 10940 10941 10942 10943 10944 10945 10946 10947 10948 10949 10950 10951 10952 10953 10954 10955 10956 10957 10958 10959 10960 10961 10962 10963 10964 10965 10966 10967 10968 10969 10970 10971 10972 10973 10974 10975 10976 10977 10978 10979 10980 10981 10982 10983 10984 10985 10986 10987 10988 10989 10990 10991 10992 10993 10994 10995 10996 10997 10998 10999 11000 11001 11002 11003 11004 11005 11006 11007 11008 11009 11010 11011 11012 11013 11014 11015 11016 11017 11018 11019 11020 11021 11022 11023 11024 11025 11026 11027 11028 11029 11030 11031 11032 11033 11034 11035 11036 11037 11038 11039 11040 11041 11042 11043 11044 11045 11046 11047 11048 11049 11050 11051 11052 11053 11054 11055 11056 11057 11058 11059 11060 11061 11062 11063 11064 11065 11066 11067 11068 11069 11070 11071 11072 11073 11074 11075 11076 11077 11078 11079 11080 11081 11082 11083 11084 11085 11086 11087 11088 11089 11090 11091 11092 11093 11094 11095 11096 11097 11098 11099 11100 11101 11102 11103 11104 11105 11106 11107 11108 11109 11110 11111 11112 11113 11114 11115 11116 11117 11118 11119 11120 11121 11122 11123 11124 11125 11126 11127 11128 11129 11130 11131 11132 11133 11134 11135 11136 11137 11138 11139 11140 11141 11142 11143 11144 11145 11146 11147 11148 11149 11150 11151 11152 11153 11154 11155 11156 11157 11158 11159 11160 11161 11162 11163 11164 11165 11166 11167 11168 11169 11170 11171 11172 11173 11174 11175 11176 11177 11178 11179 11180 11181 11182 11183 11184 11185 11186 11187 11188 11189 11190 11191 11192 11193 11194 11195 11196 11197 11198 11199 11200 11201 11202 11203 11204 11205 11206 11207 11208 11209 11210 11211 11212 11213 11214 11215 11216 11217 11218 11219 11220 11221 11222 11223 11224 11225 11226 11227 11228 11229 11230 11231 11232 11233 11234 11235 11236 11237 11238 11239 11240 11241 11242 11243 11244 11245 11246 11247 11248 11249 11250 11251 11252 11253 11254 11255 11256 11257 11258 11259 11260 11261 11262 11263 11264 11265 11266 11267 11268 11269 11270 11271 11272 11273 11274 11275 11276 11277 11278 11279 11280 11281 11282 11283 11284 11285 11286 11287 11288 11289 11290 11291 11292 11293 11294 11295 11296 11297 11298 11299 11300 11301 11302 11303 11304 11305 11306 11307 11308 11309 11310 11311 11312 11313 11314 11315 11316 11317 11318 11319 11320 11321 11322 11323 11324 11325 11326 11327 11328 11329 11330 11331 11332 11333 11334 11335 11336 11337 11338 11339 11340 11341 11342 11343 11344 11345 11346 11347 11348 11349 11350 11351 11352 11353 11354 11355 11356 11357 11358 11359 11360 11361 11362 11363 11364 11365 11366 11367 11368 11369 11370 11371 11372 11373 11374 11375 11376 11377 11378 11379 11380 11381 11382 11383 11384 11385 11386 11387 11388 11389 11390 11391 11392 11393 11394 11395 11396 11397 11398 11399 11400 11401 11402 11403 11404 11405 11406 11407 11408 11409 11410 11411 11412 11413 11414 11415 11416 11417 11418 11419 11420 11421 11422 11423 11424 11425 11426 11427 11428 11429 11430 11431 11432 11433 11434 11435 11436 11437 11438 11439 11440 11441 11442 11443 11444 11445 11446 11447 11448 11449 11450 11451 11452 11453 11454 11455 11456 11457 11458 11459 11460 11461 11462 11463 11464 11465 11466 11467 11468 11469 11470 11471 11472 11473 11474 11475 11476 11477 11478 11479 11480 11481 11482 11483 11484 11485 11486 11487 11488 11489 11490 11491 11492 11493 11494 11495 11496 11497 11498 11499 11500 11501 11502 11503 11504 11505 11506 11507 11508 11509 11510 11511 11512 11513 11514 11515 11516 11517 11518 11519 11520 11521 11522 11523 11524 11525 11526 11527 11528 11529 11530 11531 11532 11533 11534 11535 11536 11537 11538 11539 11540 11541 11542 11543 11544 11545 11546 11547 11548 11549 11550 11551 11552 11553 11554 11555 11556 11557 11558 11559 11560 11561 11562 11563 11564 11565 11566 11567 11568 11569 11570 11571 11572 11573 11574 11575 11576 11577 11578 11579 11580 11581 11582 11583 11584 11585 11586 11587 11588 11589 11590 11591 11592 11593 11594 11595 11596 11597 11598 11599 11600 11601 11602 11603 11604 11605 11606 11607 11608 11609 11610 11611 11612 11613 11614 11615 11616 11617 11618 11619 11620 11621 11622 11623 11624 11625 11626 11627 11628 11629 11630 11631 11632 11633 11634 11635 11636 11637 11638 11639 11640 11641 11642 11643 11644 11645 11646 11647 11648 11649 11650 11651 11652 11653 11654 11655 11656 11657 11658 11659 11660 11661 11662 11663 11664 11665 11666 11667 11668 11669 11670 11671 11672 11673 11674 11675 11676 11677 11678 11679 11680 11681 11682 11683 11684 11685 11686 11687 11688 11689 11690 11691 11692 11693 11694 11695 11696 11697 11698 11699 11700 11701 11702 11703 11704 11705 11706 11707 11708 11709 11710 11711 11712 11713 11714 11715 11716 11717 11718 11719 11720 11721 11722 11723 11724 11725 11726 11727 11728 11729 11730 11731 11732 11733 11734 11735 11736 11737 11738 11739 11740 11741 11742 11743 11744 11745 11746 11747 11748 11749 11750 11751 11752 11753 11754 11755 11756 11757 11758 11759 11760 11761 11762 11763 11764 11765 11766 11767 11768 11769 11770 11771 11772 11773 11774 11775 11776 11777 11778 11779 11780 11781 11782 11783 11784 11785 11786 11787 11788 11789 11790 11791 11792 11793 11794 11795 11796 11797 11798 11799 11800 11801 11802 11803 11804 11805 11806 11807 11808 11809 11810 11811 11812 11813 11814 11815 11816 11817 11818 11819 11820 11821 11822 11823 11824 11825 11826 11827 11828 11829 11830 11831 11832 11833 11834 11835 11836 11837 11838 11839 11840 11841 11842 11843 11844 11845 11846 11847 11848 11849 11850 11851 11852 11853 11854 11855 11856 11857 11858 11859 11860 11861 11862 11863 11864 11865 11866 11867 11868 11869 11870 11871 11872 11873 11874 11875 11876 11877 11878 11879 11880 11881 11882 11883 11884 11885 11886 11887 11888 11889 11890 11891 11892 11893 11894 11895 11896 11897 11898 11899 11900 11901 11902 11903 11904 11905 11906 11907 11908 11909 11910 11911 11912 11913 11914 11915 11916 11917 11918 11919 11920 11921 11922 11923 11924 11925 11926 11927 11928 11929 11930 11931 11932 11933 11934 11935 11936 11937 11938 11939 11940 11941 11942 11943 11944 11945 11946 11947 11948 11949 11950 11951 11952 11953 11954 11955 11956 11957 11958 11959 11960 11961 11962 11963 11964 11965 11966 11967 11968 11969 11970 11971 11972 11973 11974 11975 11976 11977 11978 11979 11980 11981 11982 11983 11984 11985 11986 11987 11988 11989 11990 11991 11992 11993 11994 11995 11996 11997 11998 11999 12000 12001 12002 12003 12004 12005 12006 12007 12008 12009 12010 12011 12012 12013 12014 12015 12016 12017 12018 12019 12020 12021 12022 12023 12024 12025 12026 12027 12028 12029 12030 12031 12032 12033 12034 12035 12036 12037 12038 12039 12040 12041 12042 12043 12044 12045 12046 12047 12048 12049 12050 12051 12052 12053 12054 12055 12056 12057 12058 12059 12060 12061 12062 12063 12064 12065 12066 12067 12068 12069 12070 12071 12072 12073 12074 12075 12076 12077 12078 12079 12080 12081 12082 12083 12084 12085 12086 12087 12088 12089 12090 12091 12092 12093 12094 12095 12096 12097 12098 12099 12100 12101 12102 12103 12104 12105 12106 12107 12108 12109 12110 12111 12112 12113 12114 12115 12116 12117 12118 12119 12120 12121 12122 12123 12124 12125 12126 12127 12128 12129 12130 12131 12132 12133 12134 12135 12136 12137 12138 12139 12140 12141 12142 12143 12144 12145 12146 12147 12148 12149 12150 12151 12152 12153 12154 12155 12156 12157 12158 12159 12160 12161 12162 12163 12164 12165 12166 12167 12168 12169 12170 12171 12172 12173 12174 12175 12176 12177 12178 12179 12180 12181 12182 12183 12184 12185 12186 12187 12188 12189 12190 12191 12192 12193 12194 12195 12196 12197 12198 12199 12200 12201 12202 12203 12204 12205 12206 12207 12208 12209 12210 12211 12212 12213 12214 12215 12216 12217 12218 12219 12220 12221 12222 12223 12224 12225 12226 12227 12228 12229 12230 12231 12232 12233 12234 12235 12236 12237 12238 12239 12240 12241 12242 12243 12244 12245 12246 12247 12248 12249 12250 12251 12252 12253 12254 12255 12256 12257 12258 12259 12260 12261 12262 12263 12264 12265 12266 12267 12268 12269 12270 12271 12272 12273 12274 12275 12276 12277 12278 12279 12280 12281 12282 12283 12284 12285 12286 12287 12288 12289 12290 12291 12292 12293 12294 12295 12296 12297 12298 12299 12300 12301 12302 12303 12304 12305 12306 12307 12308 12309 12310 12311 12312 12313 12314 12315 12316 12317 12318 12319 12320 12321 12322 12323 12324 12325 12326 12327 12328 12329 12330 12331 12332 12333 12334 12335 12336 12337 12338 12339 12340 12341 12342 12343 12344 12345 12346 12347 12348 12349 12350 12351 12352 12353 12354 12355 12356 12357 12358 12359 12360 12361 12362 12363 12364 12365 12366 12367 12368 12369 12370 12371 12372 12373 12374 12375 12376 12377 12378 12379 12380 12381 12382 12383 12384 12385 12386 12387 12388 12389 12390 12391 12392 12393 12394 12395 12396 12397 12398 12399 12400 12401 12402 12403 12404 12405 12406 12407 12408 12409 12410 12411 12412 12413 12414 12415 12416 12417 12418 12419 12420 12421 12422 12423 12424 12425 12426 12427 12428 12429 12430 12431 12432 12433 12434 12435 12436 12437 12438 12439 12440 12441 12442 12443 12444 12445 12446 12447 12448 12449 12450 12451 12452 12453 12454 12455 12456 12457 12458 12459 12460 12461 12462 12463 12464 12465 12466 12467 12468 12469 12470 12471 12472 12473 12474 12475 12476 12477 12478 12479 12480 12481 12482 12483 12484 12485 12486 12487 12488 12489 12490 12491 12492 12493 12494 12495 12496 12497 12498 12499 12500 12501 12502 12503 12504 12505 12506 12507 12508 12509 12510 12511 12512 12513 12514 12515 12516 12517 12518 12519 12520 12521 12522 12523 12524 12525 12526 12527 12528 12529 12530 12531 12532 12533 12534 12535 12536 12537 12538 12539 12540 12541 12542 12543 12544 12545 12546 12547 12548 12549 12550 12551 12552 12553 12554 12555 12556 12557 12558 12559 12560 12561 12562 12563 12564 12565 12566 12567 12568 12569 12570 12571 12572 12573 12574 12575 12576 12577 12578 12579 12580 12581 12582 12583 12584 12585 12586 12587 12588 12589 12590 12591 12592 12593 12594 12595 12596 12597 12598 12599 12600 12601 12602 12603 12604 12605 12606 12607 12608 12609 12610 12611 12612 12613 12614 12615 12616 12617 12618 12619 12620 12621 12622 12623 12624 12625 12626 12627 12628 12629 12630 12631 12632 12633 12634 12635 12636 12637 12638 12639 12640 12641 12642 12643 12644 12645 12646 12647 12648 12649 12650 12651 12652 12653 12654 12655 12656 12657 12658 12659 12660 12661 12662 12663 12664 12665 12666 12667 12668 12669 12670 12671 12672 12673 12674 12675 12676 12677 12678 12679 12680 12681 12682 12683 12684 12685 12686 12687 12688 12689 12690 12691 12692 12693 12694 12695 12696 12697 12698 12699 12700 12701 12702 12703 12704 12705 12706 12707 12708 12709 12710 12711 12712 12713 12714 12715 12716 12717 12718 12719 12720 12721 12722 12723 12724 12725 12726 12727 12728 12729 12730 12731 12732 12733 12734 12735 12736 12737 12738 12739 12740 12741 12742 12743 12744 12745 12746 12747 12748 12749 12750 12751 12752 12753 12754 12755 12756 12757 12758 12759 12760 12761 12762 12763 12764 12765 12766 12767 12768 12769 12770 12771 12772 12773 12774 12775 12776 12777 12778 12779 12780 12781 12782 12783 12784 12785 12786 12787 12788 12789 12790 12791 12792 12793 12794 12795 12796 12797 12798 12799 12800 12801 12802 12803 12804 12805 12806 12807 12808 12809 12810 12811 12812 12813 12814 12815 12816 12817 12818 12819 12820 12821 12822 12823 12824 12825 12826 12827 12828 12829 12830 12831 12832 12833 12834 12835 12836 12837 12838 12839 12840 12841 12842 12843 12844 12845 12846 12847 12848 12849 12850 12851 12852 12853 12854 12855 12856 12857 12858 12859 12860 12861 12862 12863 12864 12865 12866 12867 12868 12869 12870 12871 12872 12873 12874 12875 12876 12877 12878 12879 12880 12881 12882 12883 12884 12885 12886 12887 12888 12889 12890 12891 12892 12893 12894 12895 12896 12897 12898 12899 12900 12901 12902 12903 12904 12905 12906 12907 12908 12909 12910 12911 12912 12913 12914 12915 12916 12917 12918 12919 12920 12921 12922 12923 12924 12925 12926 12927 12928 12929 12930 12931 12932 12933 12934 12935 12936 12937 12938 12939 12940 12941 12942 12943 12944 12945 12946 12947 12948 12949 12950 12951 12952 12953 12954 12955 12956 12957 12958 12959 12960 12961 12962 12963 12964 12965 12966 12967 12968 12969 12970 12971 12972 12973 12974 12975 12976 12977 12978 12979 12980 12981 12982 12983 12984 12985 12986 12987 12988 12989 12990 12991 12992 12993 12994 12995 12996 12997 12998 12999 13000 13001 13002 13003 13004 13005 13006 13007 13008 13009 13010 13011 13012 13013 13014 13015 13016 13017 13018 13019 13020 13021 13022 13023 13024 13025 13026 13027 13028 13029 13030 13031 13032 13033 13034 13035 13036 13037 13038 13039 13040 13041 13042 13043 13044 13045 13046 13047 13048 13049 13050 13051 13052 13053 13054 13055 13056 13057 13058 13059 13060 13061 13062 13063 13064 13065 13066 13067 13068 13069 13070 13071 13072 13073 13074 13075 13076 13077 13078 13079 13080 13081 13082 13083 13084 13085 13086 13087 13088 13089 13090 13091 13092 13093 13094 13095 13096 13097 13098 13099 13100 13101 13102 13103 13104 13105 13106 13107 13108 13109 13110 13111 13112 13113 13114 13115 13116 13117 13118 13119 13120 13121 13122 13123 13124 13125 13126 13127 13128 13129 13130 13131 13132 13133 13134 13135 13136 13137 13138 13139 13140 13141 13142 13143 13144 13145 13146 13147 13148 13149 13150 13151 13152 13153 13154 13155 13156 13157 13158 13159 13160 13161 13162 13163 13164 13165 13166 13167 13168 13169 13170 13171 13172 13173 13174 13175 13176 13177 13178 13179 13180 13181 13182 13183 13184 13185 13186 13187 13188 13189 13190 13191 13192 13193 13194 13195 13196 13197 13198 13199 13200 13201 13202 13203 13204 13205 13206 13207 13208 13209 13210 13211 13212 13213 13214 13215 13216 13217 13218 13219 13220 13221 13222 13223 13224 13225 13226 13227 13228 13229 13230 13231 13232 13233 13234 13235 13236 13237 13238 13239 13240 13241 13242 13243 13244 13245 13246 13247 13248 13249 13250 13251 13252 13253 13254 13255 13256 13257 13258 13259 13260 13261 13262 13263 13264 13265 13266 13267 13268 13269 13270 13271 13272 13273 13274 13275 13276 13277 13278 13279 13280 13281 13282 13283 13284 13285 13286 13287 13288 13289 13290 13291 13292 13293 13294 13295 13296 13297 13298 13299 13300 13301 13302 13303 13304 13305 13306 13307 13308 13309 13310 13311 13312 13313 13314 13315 13316 13317 13318 13319 13320 13321 13322 13323 13324 13325 13326 13327 13328 13329 13330 13331 13332 13333 13334 13335 13336 13337 13338 13339 13340 13341 13342 13343 13344 13345 13346 13347 13348 13349 13350 13351 13352 13353 13354 13355 13356 13357 13358 13359 13360 13361 13362 13363 13364 13365 13366 13367 13368 13369 13370 13371 13372 13373 13374 13375 13376 13377 13378 13379 13380 13381 13382 13383 13384 13385 13386 13387 13388 13389 13390 13391 13392 13393 13394 13395 13396 13397 13398 13399 13400 13401 13402 13403 13404 13405 13406 13407 13408 13409 13410 13411 13412 13413 13414 13415 13416 13417 13418 13419 13420 13421 13422 13423 13424 13425 13426 13427 13428 13429 13430 13431 13432 13433 13434 13435 13436 13437 13438 13439 13440 13441 13442 13443 13444 13445 13446 13447 13448 13449 13450 13451 13452 13453 13454 13455 13456 13457 13458 13459 13460 13461 13462 13463 13464 13465 13466 13467 13468 13469 13470 13471 13472 13473 13474 13475 13476 13477 13478 13479 13480 13481 13482 13483 13484 13485 13486 13487 13488 13489 13490 13491 13492 13493 13494 13495 13496 13497 13498 13499 13500 13501 13502 13503 13504 13505 13506 13507 13508 13509 13510 13511 13512 13513 13514 13515 13516 13517 13518 13519 13520 13521 13522 13523 13524 13525 13526 13527 13528 13529 13530 13531 13532 13533 13534 13535 13536 13537 13538 13539 13540 13541 13542 13543 13544 13545 13546 13547 13548 13549 13550 13551 13552 13553 13554 13555 13556 13557 13558 13559 13560 13561 13562 13563 13564 13565 13566 13567 13568 13569 13570 13571 13572 13573 13574 13575 13576 13577 13578 13579 13580 13581 13582 13583 13584 13585 13586 13587 13588 13589 13590 13591 13592 13593 13594 13595 13596 13597 13598 13599 13600 13601 13602 13603 13604 13605 13606 13607 13608 13609 13610 13611 13612 13613 13614 13615 13616 13617 13618 13619 13620 13621 13622 13623 13624 13625 13626 13627 13628 13629 13630 13631 13632 13633 13634 13635 13636 13637 13638 13639 13640 13641 13642 13643 13644 13645 13646 13647 13648 13649 13650 13651 13652 13653 13654 13655 13656 13657 13658 13659 13660 13661 13662 13663 13664 13665 13666 13667 13668 13669 13670 13671 13672 13673 13674 13675 13676 13677 13678 13679 13680 13681 13682 13683 13684 13685 13686 13687 13688 13689 13690 13691 13692 13693 13694 13695 13696 13697 13698 13699 13700 13701 13702 13703 13704 13705 13706 13707 13708 13709 13710 13711 13712 13713 13714 13715 13716 13717 13718 13719 13720 13721 13722 13723 13724 13725 13726 13727 13728 13729 13730 13731 13732 13733 13734 13735 13736 13737 13738 13739 13740 13741 13742 13743 13744 13745 13746 13747 13748 13749 13750 13751 13752 13753 13754 13755 13756 13757 13758 13759 13760 13761 13762 13763 13764 13765 13766 13767 13768 13769 13770 13771 13772 13773 13774 13775 13776 13777 13778 13779 13780 13781 13782 13783 13784 13785 13786 13787 13788 13789 13790 13791 13792 13793 13794 13795 13796 13797 13798 13799 13800 13801 13802 13803 13804 13805 13806 13807 13808 13809 13810 13811 13812 13813 13814 13815 13816 13817 13818 13819 13820 13821 13822 13823 13824 13825 13826 13827 13828 13829 13830 13831 13832 13833 13834 13835 13836 13837 13838 13839 13840 13841 13842 13843 13844 13845 13846 13847 13848 13849 13850 13851 13852 13853 13854 13855 13856 13857 13858 13859 13860 13861 13862 13863 13864 13865 13866 13867 13868 13869 13870 13871 13872 13873 13874 13875 13876 13877 13878 13879 13880 13881 13882 13883 13884 13885 13886 13887 13888 13889 13890 13891 13892 13893 13894 13895 13896 13897 13898 13899 13900 13901 13902 13903 13904 13905 13906 13907 13908 13909 13910 13911 13912 13913 13914 13915 13916 13917 13918 13919 13920 13921 13922 13923 13924 13925 13926 13927 13928 13929 13930 13931 13932 13933 13934 13935 13936 13937 13938 13939 13940 13941 13942 13943 13944 13945 13946 13947 13948 13949 13950 13951 13952 13953 13954 13955 13956 13957 13958 13959 13960 13961 13962 13963 13964 13965 13966 13967 13968 13969 13970 13971 13972 13973 13974 13975 13976 13977 13978 13979 13980 13981 13982 13983 13984 13985 13986 13987 13988 13989 13990 13991 13992 13993 13994 13995 13996 13997 13998 13999 14000 14001 14002 14003 14004 14005 14006 14007 14008 14009 14010 14011 14012 14013 14014 14015 14016 14017 14018 14019 14020 14021 14022 14023 14024 14025 14026 14027 14028 14029 14030 14031 14032 14033 14034 14035 14036 14037 14038 14039 14040 14041 14042 14043 14044 14045 14046 14047 14048 14049 14050 14051 14052 14053 14054 14055 14056 14057 14058 14059 14060 14061 14062 14063 14064 14065 14066 14067 14068 14069 14070 14071 14072 14073 14074 14075 14076 14077 14078 14079 14080 14081 14082 14083 14084 14085 14086 14087 14088 14089 14090 14091 14092 14093 14094 14095 14096 14097 14098 14099 14100 14101 14102 14103 14104 14105 14106 14107 14108 14109 14110 14111 14112 14113 14114 14115 14116 14117 14118 14119 14120 14121 14122 14123 14124 14125 14126 14127 14128 14129 14130 14131 14132 14133 14134 14135 14136 14137 14138 14139 14140 14141 14142 14143 14144 14145 14146 14147 14148 14149 14150 14151 14152 14153 14154 14155 14156 14157 14158 14159 14160 14161 14162 14163 14164 14165 14166 14167 14168 14169 14170 14171 14172 14173 14174 14175 14176 14177 14178 14179 14180 14181 14182 14183 14184 14185 14186 14187 14188 14189 14190 14191 14192 14193 14194 14195 14196 14197 14198 14199 14200 14201 14202 14203 14204 14205 14206 14207 14208 14209 14210 14211 14212 14213 14214 14215 14216 14217 14218 14219 14220 14221 14222 14223 14224 14225 14226 14227 14228 14229 14230 14231 14232 14233 14234 14235 14236 14237 14238 14239 14240 14241 14242 14243 14244 14245 14246 14247 14248 14249 14250 14251 14252 14253 14254 14255 14256 14257 14258 14259 14260 14261 14262 14263 14264 14265 14266 14267 14268 14269 14270 14271 14272 14273 14274 14275 14276 14277 14278 14279 14280 14281 14282 14283 14284 14285 14286 14287 14288 14289 14290 14291 14292 14293 14294 14295 14296 14297 14298 14299 14300 14301 14302 14303 14304 14305 14306 14307 14308 14309 14310 14311 14312 14313 14314 14315 14316 14317 14318 14319 14320 14321 14322 14323 14324 14325 14326 14327 14328 14329 14330 14331 14332 14333 14334 14335 14336 14337 14338 14339 14340 14341 14342 14343 14344 14345 14346 14347 14348 14349 14350 14351 14352 14353 14354 14355 14356 14357 14358 14359 14360 14361 14362 14363 14364 14365 14366 14367 14368 14369 14370 14371 14372 14373 14374 14375 14376 14377 14378 14379 14380 14381 14382 14383 14384 14385 14386 14387 14388 14389 14390 14391 14392 14393 14394 14395 14396 14397 14398 14399 14400 14401 14402 14403 14404 14405 14406 14407 14408 14409 14410 14411 14412 14413 14414 14415 14416 14417 14418 14419 14420 14421 14422 14423 14424 14425 14426 14427 14428 14429 14430 14431 14432 14433 14434 14435 14436 14437 14438 14439 14440 14441 14442 14443 14444 14445 14446 14447 14448 14449 14450 14451 14452 14453 14454 14455 14456 14457 14458 14459 14460 14461 14462 14463 14464 14465 14466 14467 14468 14469 14470 14471 14472 14473 14474 14475 14476 14477 14478 14479 14480 14481 14482 14483 14484 14485 14486 14487 14488 14489 14490 14491 14492 14493 14494 14495 14496 14497 14498 14499 14500 14501 14502 14503 14504 14505 14506 14507 14508 14509 14510 14511 14512 14513 14514 14515 14516 14517 14518 14519 14520 14521 14522 14523 14524 14525 14526 14527 14528 14529 14530 14531 14532 14533 14534 14535 14536 14537 14538 14539 14540 14541 14542 14543 14544 14545 14546 14547 14548 14549 14550 14551 14552 14553 14554 14555 14556 14557 14558 14559 14560 14561 14562 14563 14564 14565 14566 14567 14568 14569 14570 14571 14572 14573 14574 14575 14576 14577 14578 14579 14580 14581 14582 14583 14584 14585 14586 14587 14588 14589 14590 14591 14592 14593 14594 14595 14596 14597 14598 14599 14600 14601 14602 14603 14604 14605 14606 14607 14608 14609 14610 14611 14612 14613 14614 14615 14616 14617 14618 14619 14620 14621 14622 14623 14624 14625 14626 14627 14628 14629 14630 14631 14632 14633 14634 14635 14636 14637 14638 14639 14640 14641 14642 14643 14644 14645 14646 14647 14648 14649 14650 14651 14652 14653 14654 14655 14656 14657 14658 14659 14660 14661 14662 14663 14664 14665 14666 14667 14668 14669 14670 14671 14672 14673 14674 14675 14676 14677 14678 14679 14680 14681 14682 14683 14684 14685 14686 14687 14688 14689 14690 14691 14692 14693 14694 14695 14696 14697 14698 14699 14700 14701 14702 14703 14704 14705 14706 14707 14708 14709 14710 14711 14712 14713 14714 14715 14716 14717 14718 14719 14720 14721 14722 14723 14724 14725 14726 14727 14728 14729 14730 14731 14732 14733 14734 14735 14736 14737 14738 14739 14740 14741 14742 14743 14744 14745 14746 14747 14748 14749 14750 14751 14752 14753 14754 14755 14756 14757 14758 14759 14760 14761 14762 14763 14764 14765 14766 14767 14768 14769 14770 14771 14772 14773 14774 14775 14776 14777 14778 14779 14780 14781 14782 14783 14784 14785 14786 14787 14788 14789 14790 14791 14792 14793 14794 14795 14796 14797 14798 14799 14800 14801 14802 14803 14804 14805 14806 14807 14808 14809 14810 14811 14812 14813 14814 14815 14816 14817 14818 14819 14820 14821 14822 14823 14824 14825 14826 14827 14828 14829 14830 14831 14832 14833 14834 14835 14836 14837 14838 14839 14840 14841 14842 14843 14844 14845 14846 14847 14848 14849 14850 14851 14852 14853 14854 14855 14856 14857 14858 14859 14860 14861 14862 14863 14864 14865 14866 14867 14868 14869 14870 14871 14872 14873 14874 14875 14876 14877 14878 14879 14880 14881 14882 14883 14884 14885 14886 14887 14888 14889 14890 14891 14892 14893 14894 14895 14896 14897 14898 14899 14900 14901 14902 14903 14904 14905 14906 14907 14908 14909 14910 14911 14912 14913 14914 14915 14916 14917 14918 14919 14920 14921 14922 14923 14924 14925 14926 14927 14928 14929 14930 14931 14932 14933 14934 14935 14936 14937 14938 14939 14940 14941 14942 14943 14944 14945 14946 14947 14948 14949 14950 14951 14952 14953 14954 14955 14956 14957 14958 14959 14960 14961 14962 14963 14964 14965 14966 14967 14968 14969 14970 14971 14972 14973 14974 14975 14976 14977 14978 14979 14980 14981 14982 14983 14984 14985 14986 14987 14988 14989 14990 14991 14992 14993 14994 14995 14996 14997 14998 14999 15000 15001 15002 15003 15004 15005 15006 15007 15008 15009 15010 15011 15012 15013 15014 15015 15016 15017 15018 15019 15020 15021 15022 15023 15024 15025 15026 15027 15028 15029 15030 15031 15032 15033 15034 15035 15036 15037 15038 15039 15040 15041 15042 15043 15044 15045 15046 15047 15048 15049 15050 15051 15052 15053 15054 15055 15056 15057 15058 15059 15060 15061 15062 15063 15064 15065 15066 15067 15068 15069 15070 15071 15072 15073 15074 15075 15076 15077 15078 15079 15080 15081 15082 15083 15084 15085 15086 15087 15088 15089 15090 15091 15092 15093 15094 15095 15096 15097 15098 15099 15100 15101 15102 15103 15104 15105 15106 15107 15108 15109 15110 15111 15112 15113 15114 15115 15116 15117 15118 15119 15120 15121 15122 15123 15124 15125 15126 15127 15128 15129 15130 15131 15132 15133 15134 15135 15136 15137 15138 15139 15140 15141 15142 15143 15144 15145 15146 15147 15148 15149 15150 15151 15152 15153 15154 15155 15156 15157 15158 15159 15160 15161 15162 15163 15164 15165 15166 15167 15168 15169 15170 15171 15172 15173 15174 15175 15176 15177 15178 15179 15180 15181 15182 15183 15184 15185 15186 15187 15188 15189 15190 15191 15192 15193 15194 15195 15196 15197 15198 15199 15200 15201 15202 15203 15204 15205 15206 15207 15208 15209 15210 15211 15212 15213 15214 15215 15216 15217 15218 15219 15220 15221 15222 15223 15224 15225 15226 15227 15228 15229 15230 15231 15232 15233 15234 15235 15236 15237 15238 15239 15240 15241 15242 15243 15244 15245 15246 15247 15248 15249 15250 15251 15252 15253 15254 15255 15256 15257 15258 15259 15260 15261 15262 15263 15264 15265 15266 15267 15268 15269 15270 15271 15272 15273 15274 15275 15276 15277 15278 15279 15280 15281 15282 15283 15284 15285 15286 15287 15288 15289 15290 15291 15292 15293 15294 15295 15296 15297 15298 15299 15300 15301 15302 15303 15304 15305 15306 15307 15308 15309 15310 15311 15312 15313 15314 15315 15316 15317 15318 15319 15320 15321 15322 15323 15324 15325 15326 15327 15328 15329 15330 15331 15332 15333 15334 15335 15336 15337 15338 15339 15340 15341 15342 15343 15344 15345 15346 15347 15348 15349 15350 15351 15352 15353 15354 15355 15356 15357 15358 15359 15360 15361 15362 15363 15364 15365 15366 15367 15368 15369 15370 15371 15372 15373 15374 15375 15376 15377 15378 15379 15380 15381 15382 15383 15384 15385 15386 15387 15388 15389 15390 15391 15392 15393 15394 15395 15396 15397 15398 15399 15400 15401 15402 15403 15404 15405 15406 15407 15408 15409 15410 15411 15412 15413 15414 15415 15416 15417 15418 15419 15420 15421 15422 15423 15424 15425 15426 15427 15428 15429 15430 15431 15432 15433 15434 15435 15436 15437 15438 15439 15440 15441 15442 15443 15444 15445 15446 15447 15448 15449 15450 15451 15452 15453 15454 15455 15456 15457 15458 15459 15460 15461 15462 15463 15464 15465 15466 15467 15468 15469 15470 15471 15472 15473 15474 15475 15476 15477 15478 15479 15480 15481 15482 15483 15484 15485 15486 15487 15488 15489 15490 15491 15492 15493 15494 15495 15496 15497 15498 15499 15500 15501 15502 15503 15504 15505 15506 15507 15508 15509 15510 15511 15512 15513 15514 15515 15516 15517 15518 15519 15520 15521 15522 15523 15524 15525 15526 15527 15528 15529 15530 15531 15532 15533 15534 15535 15536 15537 15538 15539 15540 15541 15542 15543 15544 15545 15546 15547 15548 15549 15550 15551 15552 15553 15554 15555 15556 15557 15558 15559 15560 15561 15562 15563 15564 15565 15566 15567 15568 15569 15570 15571 15572 15573 15574 15575 15576 15577 15578 15579 15580 15581 15582 15583 15584 15585 15586 15587 15588 15589 15590 15591 15592 15593 15594 15595 15596 15597 15598 15599 15600 15601 15602 15603 15604 15605 15606 15607 15608 15609 15610 15611 15612 15613 15614 15615 15616 15617 15618 15619 15620 15621 15622 15623 15624 15625 15626 15627 15628 15629 15630 15631 15632 15633 15634 15635 15636 15637 15638 15639 15640 15641 15642 15643 15644 15645 15646 15647 15648 15649 15650 15651 15652 15653 15654 15655 15656 15657 15658 15659 15660 15661 15662 15663 15664 15665 15666 15667 15668 15669 15670 15671 15672 15673 15674 15675 15676 15677 15678 15679 15680 15681 15682 15683 15684 15685 15686 15687 15688 15689 15690 15691 15692 15693 15694 15695 15696 15697 15698 15699 15700 15701 15702 15703 15704 15705 15706 15707 15708 15709 15710 15711 15712 15713 15714 15715 15716 15717 15718 15719 15720 15721 15722 15723 15724 15725 15726 15727 15728 15729 15730 15731 15732 15733 15734 15735 15736 15737 15738 15739 15740 15741 15742 15743 15744 15745 15746 15747 15748 15749 15750 15751 15752 15753 15754 15755 15756 15757 15758 15759 15760 15761 15762 15763 15764 15765 15766 15767 15768 15769 15770 15771 15772 15773 15774 15775 15776 15777 15778 15779 15780 15781 15782 15783 15784 15785 15786 15787 15788 15789 15790 15791 15792 15793 15794 15795 15796 15797 15798 15799 15800 15801 15802 15803 15804 15805 15806 15807 15808 15809 15810 15811 15812 15813 15814 15815 15816 15817 15818 15819 15820 15821 15822 15823 15824 15825 15826 15827 15828 15829 15830 15831 15832 15833 15834 15835 15836 15837 15838 15839 15840 15841 15842 15843 15844 15845 15846 15847 15848 15849 15850 15851 15852 15853 15854 15855 15856 15857 15858 15859 15860 15861 15862 15863 15864 15865 15866 15867 15868 15869 15870 15871 15872 15873 15874 15875 15876 15877 15878 15879 15880 15881 15882 15883 15884 15885 15886 15887 15888 15889 15890 15891 15892 15893 15894 15895 15896 15897 15898 15899 15900 15901 15902 15903 15904 15905 15906 15907 15908 15909 15910 15911 15912 15913 15914 15915 15916 15917 15918 15919 15920 15921 15922 15923 15924 15925 15926 15927 15928 15929 15930 15931 15932 15933 15934 15935 15936 15937 15938 15939 15940 15941 15942 15943 15944 15945 15946 15947 15948 15949 15950 15951 15952 15953 15954 15955 15956 15957 15958 15959 15960 15961 15962 15963 15964 15965 15966 15967 15968 15969 15970 15971 15972 15973 15974 15975 15976 15977 15978 15979 15980 15981 15982 15983 15984 15985 15986 15987 15988 15989 15990 15991 15992 15993 15994 15995 15996 15997 15998 15999 16000 16001 16002 16003 16004 16005 16006 16007 16008 16009 16010 16011 16012 16013 16014 16015 16016 16017 16018 16019 16020 16021 16022 16023 16024 16025 16026 16027 16028 16029 16030 16031 16032 16033 16034 16035 16036 16037 16038 16039 16040 16041 16042 16043 16044 16045 16046 16047 16048 16049 16050 16051 16052 16053 16054 16055 16056 16057 16058 16059 16060 16061 16062 16063 16064 16065 16066 16067 16068 16069 16070 16071 16072 16073 16074 16075 16076 16077 16078 16079 16080 16081 16082 16083 16084 16085 16086 16087 16088 16089 16090 16091 16092 16093 16094 16095 16096 16097 16098 16099 16100 16101 16102 16103 16104 16105 16106 16107 16108 16109 16110 16111 16112 16113 16114 16115 16116 16117 16118 16119 16120 16121 16122 16123 16124 16125 16126 16127
// ================================================================= // // * WARNING * // // This file is generated! // // Changes made to this file will be overwritten. If changes are // required to the generated code, the service_crategen project // must be updated to generate the changes. // // ================================================================= use std::error::Error; use std::fmt; use async_trait::async_trait; use rusoto_core::credential::ProvideAwsCredentials; use rusoto_core::region; use rusoto_core::request::{BufferedHttpResponse, DispatchSignedRequest}; use rusoto_core::{Client, RusotoError}; use rusoto_core::proto; use rusoto_core::request::HttpResponse; use rusoto_core::signature::SignedRequest; #[allow(unused_imports)] use serde::{Deserialize, Serialize}; impl SageMakerClient { fn new_signed_request(&self, http_method: &str, request_uri: &str) -> SignedRequest { let mut request = SignedRequest::new(http_method, "sagemaker", &self.region, request_uri); request.set_endpoint_prefix("api.sagemaker".to_string()); request.set_content_type("application/x-amz-json-1.1".to_owned()); request } async fn sign_and_dispatch<E>( &self, request: SignedRequest, from_response: fn(BufferedHttpResponse) -> RusotoError<E>, ) -> Result<HttpResponse, RusotoError<E>> { let mut response = self.client.sign_and_dispatch(request).await?; if !response.status.is_success() { let response = response.buffer().await.map_err(RusotoError::HttpDispatch)?; return Err(from_response(response)); } Ok(response) } } use serde_json; #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct AddTagsInput { /// <p>The Amazon Resource Name (ARN) of the resource that you want to tag.</p> #[serde(rename = "ResourceArn")] pub resource_arn: String, /// <p>An array of <code>Tag</code> objects. Each tag is a key-value pair. Only the <code>key</code> parameter is required. If you don't specify a value, Amazon SageMaker sets the value to an empty string. </p> #[serde(rename = "Tags")] pub tags: Vec<Tag>, } #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct AddTagsOutput { /// <p>A list of tags associated with the Amazon SageMaker resource.</p> #[serde(rename = "Tags")] #[serde(skip_serializing_if = "Option::is_none")] pub tags: Option<Vec<Tag>>, } /// <p>Specifies the training algorithm to use in a <a>CreateTrainingJob</a> request.</p> <p>For more information about algorithms provided by Amazon SageMaker, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/algos.html">Algorithms</a>. For information about using your own algorithms, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/your-algorithms.html">Using Your Own Algorithms with Amazon SageMaker</a>. </p> #[derive(Clone, Debug, Default, Deserialize, PartialEq, Serialize)] pub struct AlgorithmSpecification { /// <p>The name of the algorithm resource to use for the training job. This must be an algorithm resource that you created or subscribe to on AWS Marketplace. If you specify a value for this parameter, you can't specify a value for <code>TrainingImage</code>.</p> #[serde(rename = "AlgorithmName")] #[serde(skip_serializing_if = "Option::is_none")] pub algorithm_name: Option<String>, /// <p><p>To generate and save time-series metrics during training, set to <code>true</code>. The default is <code>false</code> and time-series metrics aren't generated except in the following cases:</p> <ul> <li> <p>You use one of the Amazon SageMaker built-in algorithms</p> </li> <li> <p>You use one of the following <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/pre-built-containers-frameworks-deep-learning.html">Prebuilt Amazon SageMaker Docker Images</a>:</p> <ul> <li> <p>Tensorflow (version >= 1.15)</p> </li> <li> <p>MXNet (version >= 1.6)</p> </li> <li> <p>PyTorch (version >= 1.3)</p> </li> </ul> </li> <li> <p>You specify at least one <a>MetricDefinition</a> </p> </li> </ul></p> #[serde(rename = "EnableSageMakerMetricsTimeSeries")] #[serde(skip_serializing_if = "Option::is_none")] pub enable_sage_maker_metrics_time_series: Option<bool>, /// <p>A list of metric definition objects. Each object specifies the metric name and regular expressions used to parse algorithm logs. Amazon SageMaker publishes each metric to Amazon CloudWatch.</p> #[serde(rename = "MetricDefinitions")] #[serde(skip_serializing_if = "Option::is_none")] pub metric_definitions: Option<Vec<MetricDefinition>>, /// <p>The registry path of the Docker image that contains the training algorithm. For information about docker registry paths for built-in algorithms, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/sagemaker-algo-docker-registry-paths.html">Algorithms Provided by Amazon SageMaker: Common Parameters</a>. Amazon SageMaker supports both <code>registry/repository[:tag]</code> and <code>registry/repository[@digest]</code> image path formats. For more information, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/your-algorithms.html">Using Your Own Algorithms with Amazon SageMaker</a>.</p> #[serde(rename = "TrainingImage")] #[serde(skip_serializing_if = "Option::is_none")] pub training_image: Option<String>, /// <p>The input mode that the algorithm supports. For the input modes that Amazon SageMaker algorithms support, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/algos.html">Algorithms</a>. If an algorithm supports the <code>File</code> input mode, Amazon SageMaker downloads the training data from S3 to the provisioned ML storage Volume, and mounts the directory to docker volume for training container. If an algorithm supports the <code>Pipe</code> input mode, Amazon SageMaker streams data directly from S3 to the container. </p> <p> In File mode, make sure you provision ML storage volume with sufficient capacity to accommodate the data download from S3. In addition to the training data, the ML storage volume also stores the output model. The algorithm container use ML storage volume to also store intermediate information, if any. </p> <p> For distributed algorithms using File mode, training data is distributed uniformly, and your training duration is predictable if the input data objects size is approximately same. Amazon SageMaker does not split the files any further for model training. If the object sizes are skewed, training won't be optimal as the data distribution is also skewed where one host in a training cluster is overloaded, thus becoming bottleneck in training. </p> #[serde(rename = "TrainingInputMode")] pub training_input_mode: String, } /// <p>Specifies the validation and image scan statuses of the algorithm.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct AlgorithmStatusDetails { /// <p>The status of the scan of the algorithm's Docker image container.</p> #[serde(rename = "ImageScanStatuses")] #[serde(skip_serializing_if = "Option::is_none")] pub image_scan_statuses: Option<Vec<AlgorithmStatusItem>>, /// <p>The status of algorithm validation.</p> #[serde(rename = "ValidationStatuses")] #[serde(skip_serializing_if = "Option::is_none")] pub validation_statuses: Option<Vec<AlgorithmStatusItem>>, } /// <p>Represents the overall status of an algorithm.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct AlgorithmStatusItem { /// <p>if the overall status is <code>Failed</code>, the reason for the failure.</p> #[serde(rename = "FailureReason")] #[serde(skip_serializing_if = "Option::is_none")] pub failure_reason: Option<String>, /// <p>The name of the algorithm for which the overall status is being reported.</p> #[serde(rename = "Name")] pub name: String, /// <p>The current status.</p> #[serde(rename = "Status")] pub status: String, } /// <p>Provides summary information about an algorithm.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct AlgorithmSummary { /// <p>The Amazon Resource Name (ARN) of the algorithm.</p> #[serde(rename = "AlgorithmArn")] pub algorithm_arn: String, /// <p>A brief description of the algorithm.</p> #[serde(rename = "AlgorithmDescription")] #[serde(skip_serializing_if = "Option::is_none")] pub algorithm_description: Option<String>, /// <p>The name of the algorithm that is described by the summary.</p> #[serde(rename = "AlgorithmName")] pub algorithm_name: String, /// <p>The overall status of the algorithm.</p> #[serde(rename = "AlgorithmStatus")] pub algorithm_status: String, /// <p>A timestamp that shows when the algorithm was created.</p> #[serde(rename = "CreationTime")] pub creation_time: f64, } /// <p>Defines a training job and a batch transform job that Amazon SageMaker runs to validate your algorithm.</p> <p>The data provided in the validation profile is made available to your buyers on AWS Marketplace.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq, Serialize)] pub struct AlgorithmValidationProfile { /// <p>The name of the profile for the algorithm. The name must have 1 to 63 characters. Valid characters are a-z, A-Z, 0-9, and - (hyphen).</p> #[serde(rename = "ProfileName")] pub profile_name: String, /// <p>The <code>TrainingJobDefinition</code> object that describes the training job that Amazon SageMaker runs to validate your algorithm.</p> #[serde(rename = "TrainingJobDefinition")] pub training_job_definition: TrainingJobDefinition, /// <p>The <code>TransformJobDefinition</code> object that describes the transform job that Amazon SageMaker runs to validate your algorithm.</p> #[serde(rename = "TransformJobDefinition")] #[serde(skip_serializing_if = "Option::is_none")] pub transform_job_definition: Option<TransformJobDefinition>, } /// <p>Specifies configurations for one or more training jobs that Amazon SageMaker runs to test the algorithm.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq, Serialize)] pub struct AlgorithmValidationSpecification { /// <p>An array of <code>AlgorithmValidationProfile</code> objects, each of which specifies a training job and batch transform job that Amazon SageMaker runs to validate your algorithm.</p> #[serde(rename = "ValidationProfiles")] pub validation_profiles: Vec<AlgorithmValidationProfile>, /// <p>The IAM roles that Amazon SageMaker uses to run the training jobs.</p> #[serde(rename = "ValidationRole")] pub validation_role: String, } /// <p>Configures how labels are consolidated across human workers and processes output data. </p> #[derive(Clone, Debug, Default, Deserialize, PartialEq, Serialize)] pub struct AnnotationConsolidationConfig { /// <p><p>The Amazon Resource Name (ARN) of a Lambda function implements the logic for <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/sms-annotation-consolidation.html">annotation consolidation</a> and to process output data.</p> <p>This parameter is required for all labeling jobs. For <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/sms-task-types.html">built-in task types</a>, use one of the following Amazon SageMaker Ground Truth Lambda function ARNs for <code>AnnotationConsolidationLambdaArn</code>. For custom labeling workflows, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/sms-custom-templates-step3.html#sms-custom-templates-step3-postlambda">Post-annotation Lambda</a>. </p> <p> <b>Bounding box</b> - Finds the most similar boxes from different workers based on the Jaccard index of the boxes.</p> <ul> <li> <p> <code>arn:aws:lambda:us-east-1:432418664414:function:ACS-BoundingBox</code> </p> <p> <code>arn:aws:lambda:us-east-2:266458841044:function:ACS-BoundingBox</code> </p> <p> <code>arn:aws:lambda:us-west-2:081040173940:function:ACS-BoundingBox</code> </p> <p> <code>arn:aws:lambda:eu-west-1:568282634449:function:ACS-BoundingBox</code> </p> <p> <code>arn:aws:lambda:ap-northeast-1:477331159723:function:ACS-BoundingBox</code> </p> <p> <code>arn:aws:lambda:ap-southeast-2:454466003867:function:ACS-BoundingBox</code> </p> <p> <code>arn:aws:lambda:ap-south-1:565803892007:function:ACS-BoundingBox</code> </p> <p> <code>arn:aws:lambda:eu-central-1:203001061592:function:ACS-BoundingBox</code> </p> <p> <code>arn:aws:lambda:ap-northeast-2:845288260483:function:ACS-BoundingBox</code> </p> <p> <code>arn:aws:lambda:eu-west-2:487402164563:function:ACS-BoundingBox</code> </p> <p> <code>arn:aws:lambda:ap-southeast-1:377565633583:function:ACS-BoundingBox</code> </p> <p> <code>arn:aws:lambda:ca-central-1:918755190332:function:ACS-BoundingBox</code> </p> </li> </ul> <p> <b>Image classification</b> - Uses a variant of the Expectation Maximization approach to estimate the true class of an image based on annotations from individual workers.</p> <ul> <li> <p> <code>arn:aws:lambda:us-east-1:432418664414:function:ACS-ImageMultiClass</code> </p> <p> <code>arn:aws:lambda:us-east-2:266458841044:function:ACS-ImageMultiClass</code> </p> <p> <code>arn:aws:lambda:us-west-2:081040173940:function:ACS-ImageMultiClass</code> </p> <p> <code>arn:aws:lambda:eu-west-1:568282634449:function:ACS-ImageMultiClass</code> </p> <p> <code>arn:aws:lambda:ap-northeast-1:477331159723:function:ACS-ImageMultiClass</code> </p> <p> <code>arn:aws:lambda:ap-southeast-2:454466003867:function:ACS-ImageMultiClass</code> </p> <p> <code>arn:aws:lambda:ap-south-1:565803892007:function:ACS-ImageMultiClass</code> </p> <p> <code>arn:aws:lambda:eu-central-1:203001061592:function:ACS-ImageMultiClass</code> </p> <p> <code>arn:aws:lambda:ap-northeast-2:845288260483:function:ACS-ImageMultiClass</code> </p> <p> <code>arn:aws:lambda:eu-west-2:487402164563:function:ACS-ImageMultiClass</code> </p> <p> <code>arn:aws:lambda:ap-southeast-1:377565633583:function:ACS-ImageMultiClass</code> </p> <p> <code>arn:aws:lambda:ca-central-1:918755190332:function:ACS-ImageMultiClass</code> </p> </li> </ul> <p> <b>Multi-label image classification</b> - Uses a variant of the Expectation Maximization approach to estimate the true classes of an image based on annotations from individual workers.</p> <ul> <li> <p> <code>arn:aws:lambda:us-east-1:432418664414:function:ACS-ImageMultiClassMultiLabel</code> </p> <p> <code>arn:aws:lambda:us-east-2:266458841044:function:ACS-ImageMultiClassMultiLabel</code> </p> <p> <code>arn:aws:lambda:us-west-2:081040173940:function:ACS-ImageMultiClassMultiLabel</code> </p> <p> <code>arn:aws:lambda:eu-west-1:568282634449:function:ACS-ImageMultiClassMultiLabel</code> </p> <p> <code>arn:aws:lambda:ap-northeast-1:477331159723:function:ACS-ImageMultiClassMultiLabel</code> </p> <p> <code>arn:aws:lambda:ap-southeast-2:454466003867:function:ACS-ImageMultiClassMultiLabel</code> </p> <p> <code>arn:aws:lambda:ap-south-1:565803892007:function:ACS-ImageMultiClassMultiLabel</code> </p> <p> <code>arn:aws:lambda:eu-central-1:203001061592:function:ACS-ImageMultiClassMultiLabel</code> </p> <p> <code>arn:aws:lambda:ap-northeast-2:845288260483:function:ACS-ImageMultiClassMultiLabel</code> </p> <p> <code>arn:aws:lambda:eu-west-2:487402164563:function:ACS-ImageMultiClassMultiLabel</code> </p> <p> <code>arn:aws:lambda:ap-southeast-1:377565633583:function:ACS-ImageMultiClassMultiLabel</code> </p> <p> <code>arn:aws:lambda:ca-central-1:918755190332:function:ACS-ImageMultiClassMultiLabel</code> </p> </li> </ul> <p> <b>Semantic segmentation</b> - Treats each pixel in an image as a multi-class classification and treats pixel annotations from workers as "votes" for the correct label.</p> <ul> <li> <p> <code>arn:aws:lambda:us-east-1:432418664414:function:ACS-SemanticSegmentation</code> </p> <p> <code>arn:aws:lambda:us-east-2:266458841044:function:ACS-SemanticSegmentation</code> </p> <p> <code>arn:aws:lambda:us-west-2:081040173940:function:ACS-SemanticSegmentation</code> </p> <p> <code>arn:aws:lambda:eu-west-1:568282634449:function:ACS-SemanticSegmentation</code> </p> <p> <code>arn:aws:lambda:ap-northeast-1:477331159723:function:ACS-SemanticSegmentation</code> </p> <p> <code>arn:aws:lambda:ap-southeast-2:454466003867:function:ACS-SemanticSegmentation</code> </p> <p> <code>arn:aws:lambda:ap-south-1:565803892007:function:ACS-SemanticSegmentation</code> </p> <p> <code>arn:aws:lambda:eu-central-1:203001061592:function:ACS-SemanticSegmentation</code> </p> <p> <code>arn:aws:lambda:ap-northeast-2:845288260483:function:ACS-SemanticSegmentation</code> </p> <p> <code>arn:aws:lambda:eu-west-2:487402164563:function:ACS-SemanticSegmentation</code> </p> <p> <code>arn:aws:lambda:ap-southeast-1:377565633583:function:ACS-SemanticSegmentation</code> </p> <p> <code>arn:aws:lambda:ca-central-1:918755190332:function:ACS-SemanticSegmentation</code> </p> </li> </ul> <p> <b>Text classification</b> - Uses a variant of the Expectation Maximization approach to estimate the true class of text based on annotations from individual workers.</p> <ul> <li> <p> <code>arn:aws:lambda:us-east-1:432418664414:function:ACS-TextMultiClass</code> </p> <p> <code>arn:aws:lambda:us-east-2:266458841044:function:ACS-TextMultiClass</code> </p> <p> <code>arn:aws:lambda:us-west-2:081040173940:function:ACS-TextMultiClass</code> </p> <p> <code>arn:aws:lambda:eu-west-1:568282634449:function:ACS-TextMultiClass</code> </p> <p> <code>arn:aws:lambda:ap-northeast-1:477331159723:function:ACS-TextMultiClass</code> </p> <p> <code>arn:aws:lambda:ap-southeast-2:454466003867:function:ACS-TextMultiClass</code> </p> <p> <code>arn:aws:lambda:ap-south-1:565803892007:function:ACS-TextMultiClass</code> </p> <p> <code>arn:aws:lambda:eu-central-1:203001061592:function:ACS-TextMultiClass</code> </p> <p> <code>arn:aws:lambda:ap-northeast-2:845288260483:function:ACS-TextMultiClass</code> </p> <p> <code>arn:aws:lambda:eu-west-2:487402164563:function:ACS-TextMultiClass</code> </p> <p> <code>arn:aws:lambda:ap-southeast-1:377565633583:function:ACS-TextMultiClass</code> </p> <p> <code>arn:aws:lambda:ca-central-1:918755190332:function:ACS-TextMultiClass</code> </p> </li> </ul> <p> <b>Multi-label text classification</b> - Uses a variant of the Expectation Maximization approach to estimate the true classes of text based on annotations from individual workers.</p> <ul> <li> <p> <code>arn:aws:lambda:us-east-1:432418664414:function:ACS-TextMultiClassMultiLabel</code> </p> <p> <code>arn:aws:lambda:us-east-2:266458841044:function:ACS-TextMultiClassMultiLabel</code> </p> <p> <code>arn:aws:lambda:us-west-2:081040173940:function:ACS-TextMultiClassMultiLabel</code> </p> <p> <code>arn:aws:lambda:eu-west-1:568282634449:function:ACS-TextMultiClassMultiLabel</code> </p> <p> <code>arn:aws:lambda:ap-northeast-1:477331159723:function:ACS-TextMultiClassMultiLabel</code> </p> <p> <code>arn:aws:lambda:ap-southeast-2:454466003867:function:ACS-TextMultiClassMultiLabel</code> </p> <p> <code>arn:aws:lambda:ap-south-1:565803892007:function:ACS-TextMultiClassMultiLabel</code> </p> <p> <code>arn:aws:lambda:eu-central-1:203001061592:function:ACS-TextMultiClassMultiLabel</code> </p> <p> <code>arn:aws:lambda:ap-northeast-2:845288260483:function:ACS-TextMultiClassMultiLabel</code> </p> <p> <code>arn:aws:lambda:eu-west-2:487402164563:function:ACS-TextMultiClassMultiLabel</code> </p> <p> <code>arn:aws:lambda:ap-southeast-1:377565633583:function:ACS-TextMultiClassMultiLabel</code> </p> <p> <code>arn:aws:lambda:ca-central-1:918755190332:function:ACS-TextMultiClassMultiLabel</code> </p> </li> </ul> <p> <b>Named entity recognition</b> - Groups similar selections and calculates aggregate boundaries, resolving to most-assigned label.</p> <ul> <li> <p> <code>arn:aws:lambda:us-east-1:432418664414:function:ACS-NamedEntityRecognition</code> </p> <p> <code>arn:aws:lambda:us-east-2:266458841044:function:ACS-NamedEntityRecognition</code> </p> <p> <code>arn:aws:lambda:us-west-2:081040173940:function:ACS-NamedEntityRecognition</code> </p> <p> <code>arn:aws:lambda:eu-west-1:568282634449:function:ACS-NamedEntityRecognition</code> </p> <p> <code>arn:aws:lambda:ap-northeast-1:477331159723:function:ACS-NamedEntityRecognition</code> </p> <p> <code>arn:aws:lambda:ap-southeast-2:454466003867:function:ACS-NamedEntityRecognition</code> </p> <p> <code>arn:aws:lambda:ap-south-1:565803892007:function:ACS-NamedEntityRecognition</code> </p> <p> <code>arn:aws:lambda:eu-central-1:203001061592:function:ACS-NamedEntityRecognition</code> </p> <p> <code>arn:aws:lambda:ap-northeast-2:845288260483:function:ACS-NamedEntityRecognition</code> </p> <p> <code>arn:aws:lambda:eu-west-2:487402164563:function:ACS-NamedEntityRecognition</code> </p> <p> <code>arn:aws:lambda:ap-southeast-1:377565633583:function:ACS-NamedEntityRecognition</code> </p> <p> <code>arn:aws:lambda:ca-central-1:918755190332:function:ACS-NamedEntityRecognition</code> </p> </li> </ul> <p> <b>3D point cloud object detection</b> - Use this task type when you want workers to classify objects in a 3D point cloud by drawing 3D cuboids around objects. For example, you can use this task type to ask workers to identify different types of objects in a point cloud, such as cars, bikes, and pedestrians.</p> <ul> <li> <p> <code>arn:aws:lambda:us-east-1:432418664414:function:ACS-3DPointCloudObjectDetection</code> </p> <p> <code>arn:aws:lambda:us-east-2:266458841044:function:ACS-3DPointCloudObjectDetection</code> </p> <p> <code>arn:aws:lambda:us-west-2:081040173940:function:ACS-3DPointCloudObjectDetection</code> </p> <p> <code>arn:aws:lambda:eu-west-1:568282634449:function:ACS-3DPointCloudObjectDetection</code> </p> <p> <code>arn:aws:lambda:ap-northeast-1:477331159723:function:ACS-3DPointCloudObjectDetection</code> </p> <p> <code>arn:aws:lambda:ap-southeast-2:454466003867:function:ACS-3DPointCloudObjectDetection</code> </p> <p> <code>arn:aws:lambda:ap-south-1:565803892007:function:ACS-3DPointCloudObjectDetection</code> </p> <p> <code>arn:aws:lambda:eu-central-1:203001061592:function:ACS-3DPointCloudObjectDetection</code> </p> <p> <code>arn:aws:lambda:ap-northeast-2:845288260483:function:ACS-3DPointCloudObjectDetection</code> </p> <p> <code>arn:aws:lambda:eu-west-2:487402164563:function:ACS-3DPointCloudObjectDetection</code> </p> <p> <code>arn:aws:lambda:ap-southeast-1:377565633583:function:ACS-3DPointCloudObjectDetection</code> </p> <p> <code>arn:aws:lambda:ca-central-1:918755190332:function:ACS-3DPointCloudObjectDetection</code> </p> </li> </ul> <p> <b>3D point cloud object tracking</b> - Use this task type when you want workers to draw 3D cuboids around objects that appear in a sequence of 3D point cloud frames. For example, you can use this task type to ask workers to track the movement of vehicles across multiple point cloud frames. </p> <ul> <li> <p> <code>arn:aws:lambda:us-east-1:432418664414:function:ACS-3DPointCloudObjectTracking</code> </p> <p> <code>arn:aws:lambda:us-east-2:266458841044:function:ACS-3DPointCloudObjectTracking</code> </p> <p> <code>arn:aws:lambda:us-west-2:081040173940:function:ACS-3DPointCloudObjectTracking</code> </p> <p> <code>arn:aws:lambda:eu-west-1:568282634449:function:ACS-3DPointCloudObjectTracking</code> </p> <p> <code>arn:aws:lambda:ap-northeast-1:477331159723:function:ACS-3DPointCloudObjectTracking</code> </p> <p> <code>arn:aws:lambda:ap-southeast-2:454466003867:function:ACS-3DPointCloudObjectTracking</code> </p> <p> <code>arn:aws:lambda:ap-south-1:565803892007:function:ACS-3DPointCloudObjectTracking</code> </p> <p> <code>arn:aws:lambda:eu-central-1:203001061592:function:ACS-3DPointCloudObjectTracking</code> </p> <p> <code>arn:aws:lambda:ap-northeast-2:845288260483:function:ACS-3DPointCloudObjectTracking</code> </p> <p> <code>arn:aws:lambda:eu-west-2:487402164563:function:ACS-3DPointCloudObjectTracking</code> </p> <p> <code>arn:aws:lambda:ap-southeast-1:377565633583:function:ACS-3DPointCloudObjectTracking</code> </p> <p> <code>arn:aws:lambda:ca-central-1:918755190332:function:ACS-3DPointCloudObjectTracking</code> </p> </li> </ul> <p> <b>3D point cloud semantic segmentation</b> - Use this task type when you want workers to create a point-level semantic segmentation masks by painting objects in a 3D point cloud using different colors where each color is assigned to one of the classes you specify.</p> <ul> <li> <p> <code>arn:aws:lambda:us-east-1:432418664414:function:ACS-3DPointCloudSemanticSegmentation</code> </p> <p> <code>arn:aws:lambda:us-east-2:266458841044:function:ACS-3DPointCloudSemanticSegmentation</code> </p> <p> <code>arn:aws:lambda:us-west-2:081040173940:function:ACS-3DPointCloudSemanticSegmentation</code> </p> <p> <code>arn:aws:lambda:eu-west-1:568282634449:function:ACS-3DPointCloudSemanticSegmentation</code> </p> <p> <code>arn:aws:lambda:ap-northeast-1:477331159723:function:ACS-3DPointCloudSemanticSegmentation</code> </p> <p> <code>arn:aws:lambda:ap-southeast-2:454466003867:function:ACS-3DPointCloudSemanticSegmentation</code> </p> <p> <code>arn:aws:lambda:ap-south-1:565803892007:function:ACS-3DPointCloudSemanticSegmentation</code> </p> <p> <code>arn:aws:lambda:eu-central-1:203001061592:function:ACS-3DPointCloudSemanticSegmentation</code> </p> <p> <code>arn:aws:lambda:ap-northeast-2:845288260483:function:ACS-3DPointCloudSemanticSegmentation</code> </p> <p> <code>arn:aws:lambda:eu-west-2:487402164563:function:ACS-3DPointCloudSemanticSegmentation</code> </p> <p> <code>arn:aws:lambda:ap-southeast-1:377565633583:function:ACS-3DPointCloudSemanticSegmentation</code> </p> <p> <code>arn:aws:lambda:ca-central-1:918755190332:function:ACS-3DPointCloudSemanticSegmentation</code> </p> </li> </ul> <p> <b>Use the following ARNs for Label Verification and Adjustment Jobs</b> </p> <p>Use label verification and adjustment jobs to review and adjust labels. To learn more, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/sms-verification-data.html">Verify and Adjust Labels </a>.</p> <p> <b>Semantic segmentation adjustment</b> - Treats each pixel in an image as a multi-class classification and treats pixel adjusted annotations from workers as "votes" for the correct label.</p> <ul> <li> <p> <code>arn:aws:lambda:us-east-1:432418664414:function:ACS-AdjustmentSemanticSegmentation</code> </p> <p> <code>arn:aws:lambda:us-east-2:266458841044:function:ACS-AdjustmentSemanticSegmentation</code> </p> <p> <code>arn:aws:lambda:us-west-2:081040173940:function:ACS-AdjustmentSemanticSegmentation</code> </p> <p> <code>arn:aws:lambda:eu-west-1:568282634449:function:ACS-AdjustmentSemanticSegmentation</code> </p> <p> <code>arn:aws:lambda:ap-northeast-1:477331159723:function:ACS-AdjustmentSemanticSegmentation</code> </p> <p> <code>arn:aws:lambda:ap-southeast-2:454466003867:function:ACS-AdjustmentSemanticSegmentation</code> </p> <p> <code>arn:aws:lambda:ap-south-1:565803892007:function:ACS-AdjustmentSemanticSegmentation</code> </p> <p> <code>arn:aws:lambda:eu-central-1:203001061592:function:ACS-AdjustmentSemanticSegmentation</code> </p> <p> <code>arn:aws:lambda:ap-northeast-2:845288260483:function:ACS-AdjustmentSemanticSegmentation</code> </p> <p> <code>arn:aws:lambda:eu-west-2:487402164563:function:ACS-AdjustmentSemanticSegmentation</code> </p> <p> <code>arn:aws:lambda:ap-southeast-1:377565633583:function:ACS-AdjustmentSemanticSegmentation</code> </p> <p> <code>arn:aws:lambda:ca-central-1:918755190332:function:ACS-AdjustmentSemanticSegmentation</code> </p> </li> </ul> <p> <b>Semantic segmentation verification</b> - Uses a variant of the Expectation Maximization approach to estimate the true class of verification judgment for semantic segmentation labels based on annotations from individual workers.</p> <ul> <li> <p> <code>arn:aws:lambda:us-east-1:432418664414:function:ACS-VerificationSemanticSegmentation</code> </p> <p> <code>arn:aws:lambda:us-east-2:266458841044:function:ACS-VerificationSemanticSegmentation</code> </p> <p> <code>arn:aws:lambda:us-west-2:081040173940:function:ACS-VerificationSemanticSegmentation</code> </p> <p> <code>arn:aws:lambda:eu-west-1:568282634449:function:ACS-VerificationSemanticSegmentation</code> </p> <p> <code>arn:aws:lambda:ap-northeast-1:477331159723:function:ACS-VerificationSemanticSegmentation</code> </p> <p> <code>arn:aws:lambda:ap-southeast-2:454466003867:function:ACS-VerificationSemanticSegmentation</code> </p> <p> <code>arn:aws:lambda:ap-south-1:565803892007:function:ACS-VerificationSemanticSegmentation</code> </p> <p> <code>arn:aws:lambda:eu-central-1:203001061592:function:ACS-VerificationSemanticSegmentation</code> </p> <p> <code>arn:aws:lambda:ap-northeast-2:845288260483:function:ACS-VerificationSemanticSegmentation</code> </p> <p> <code>arn:aws:lambda:eu-west-2:487402164563:function:ACS-VerificationSemanticSegmentation</code> </p> <p> <code>arn:aws:lambda:ap-southeast-1:377565633583:function:ACS-VerificationSemanticSegmentation</code> </p> <p> <code>arn:aws:lambda:ca-central-1:918755190332:function:ACS-VerificationSemanticSegmentation</code> </p> </li> </ul> <p> <b>Bounding box verification</b> - Uses a variant of the Expectation Maximization approach to estimate the true class of verification judgement for bounding box labels based on annotations from individual workers.</p> <ul> <li> <p> <code>arn:aws:lambda:us-east-1:432418664414:function:ACS-VerificationBoundingBox</code> </p> <p> <code>arn:aws:lambda:us-east-2:266458841044:function:ACS-VerificationBoundingBox</code> </p> <p> <code>arn:aws:lambda:us-west-2:081040173940:function:ACS-VerificationBoundingBox</code> </p> <p> <code>arn:aws:lambda:eu-west-1:568282634449:function:ACS-VerificationBoundingBox</code> </p> <p> <code>arn:aws:lambda:ap-northeast-1:477331159723:function:ACS-VerificationBoundingBox</code> </p> <p> <code>arn:aws:lambda:ap-southeast-2:454466003867:function:ACS-VerificationBoundingBox</code> </p> <p> <code>arn:aws:lambda:ap-south-1:565803892007:function:ACS-VerificationBoundingBox</code> </p> <p> <code>arn:aws:lambda:eu-central-1:203001061592:function:ACS-VerificationBoundingBox</code> </p> <p> <code>arn:aws:lambda:ap-northeast-2:845288260483:function:ACS-VerificationBoundingBox</code> </p> <p> <code>arn:aws:lambda:eu-west-2:487402164563:function:ACS-VerificationBoundingBox</code> </p> <p> <code>arn:aws:lambda:ap-southeast-1:377565633583:function:ACS-VerificationBoundingBox</code> </p> <p> <code>arn:aws:lambda:ca-central-1:918755190332:function:ACS-VerificationBoundingBox</code> </p> </li> </ul> <p> <b>Bounding box adjustment</b> - Finds the most similar boxes from different workers based on the Jaccard index of the adjusted annotations.</p> <ul> <li> <p> <code>arn:aws:lambda:us-east-1:432418664414:function:ACS-AdjustmentBoundingBox</code> </p> <p> <code>arn:aws:lambda:us-east-2:266458841044:function:ACS-AdjustmentBoundingBox</code> </p> <p> <code>arn:aws:lambda:us-west-2:081040173940:function:ACS-AdjustmentBoundingBox</code> </p> <p> <code>arn:aws:lambda:eu-west-1:568282634449:function:ACS-AdjustmentBoundingBox</code> </p> <p> <code>arn:aws:lambda:ap-northeast-1:477331159723:function:ACS-AdjustmentBoundingBox</code> </p> <p> <code>arn:aws:lambda:ap-southeast-2:454466003867:function:ACS-AdjustmentBoundingBox</code> </p> <p> <code>arn:aws:lambda:ap-south-1:565803892007:function:ACS-AdjustmentBoundingBox</code> </p> <p> <code>arn:aws:lambda:eu-central-1:203001061592:function:ACS-AdjustmentBoundingBox</code> </p> <p> <code>arn:aws:lambda:ap-northeast-2:845288260483:function:ACS-AdjustmentBoundingBox</code> </p> <p> <code>arn:aws:lambda:eu-west-2:487402164563:function:ACS-AdjustmentBoundingBox</code> </p> <p> <code>arn:aws:lambda:ap-southeast-1:377565633583:function:ACS-AdjustmentBoundingBox</code> </p> <p> <code>arn:aws:lambda:ca-central-1:918755190332:function:ACS-AdjustmentBoundingBox</code> </p> </li> </ul> <p> <b>3D point cloud object detection adjustment</b> - Use this task type when you want workers to adjust 3D cuboids around objects in a 3D point cloud. </p> <ul> <li> <p> <code>arn:aws:lambda:us-east-1:432418664414:function:ACS-Adjustment3DPointCloudObjectDetection</code> </p> <p> <code>arn:aws:lambda:us-east-2:266458841044:function:ACS-Adjustment3DPointCloudObjectDetection</code> </p> <p> <code>arn:aws:lambda:us-west-2:081040173940:function:ACS-Adjustment3DPointCloudObjectDetection</code> </p> <p> <code>arn:aws:lambda:eu-west-1:568282634449:function:ACS-Adjustment3DPointCloudObjectDetection</code> </p> <p> <code>arn:aws:lambda:ap-northeast-1:477331159723:function:ACS-Adjustment3DPointCloudObjectDetection</code> </p> <p> <code>arn:aws:lambda:ap-southeast-2:454466003867:function:ACS-Adjustment3DPointCloudObjectDetection</code> </p> <p> <code>arn:aws:lambda:ap-south-1:565803892007:function:ACS-Adjustment3DPointCloudObjectDetection</code> </p> <p> <code>arn:aws:lambda:eu-central-1:203001061592:function:ACS-Adjustment3DPointCloudObjectDetection</code> </p> <p> <code>arn:aws:lambda:ap-northeast-2:845288260483:function:ACS-Adjustment3DPointCloudObjectDetection</code> </p> <p> <code>arn:aws:lambda:eu-west-2:487402164563:function:ACS-Adjustment3DPointCloudObjectDetection</code> </p> <p> <code>arn:aws:lambda:ap-southeast-1:377565633583:function:ACS-Adjustment3DPointCloudObjectDetection</code> </p> <p> <code>arn:aws:lambda:ca-central-1:918755190332:function:ACS-Adjustment3DPointCloudObjectDetection</code> </p> </li> </ul> <p> <b>3D point cloud object tracking adjustment</b> - Use this task type when you want workers to adjust 3D cuboids around objects that appear in a sequence of 3D point cloud frames.</p> <ul> <li> <p> <code>arn:aws:lambda:us-east-1:432418664414:function:ACS-Adjustment3DPointCloudObjectTracking</code> </p> <p> <code>arn:aws:lambda:us-east-2:266458841044:function:ACS-Adjustment3DPointCloudObjectTracking</code> </p> <p> <code>arn:aws:lambda:us-west-2:081040173940:function:ACS-Adjustment3DPointCloudObjectTracking</code> </p> <p> <code>arn:aws:lambda:eu-west-1:568282634449:function:ACS-Adjustment3DPointCloudObjectTracking</code> </p> <p> <code>arn:aws:lambda:ap-northeast-1:477331159723:function:ACS-Adjustment3DPointCloudObjectTracking</code> </p> <p> <code>arn:aws:lambda:ap-southeast-2:454466003867:function:ACS-Adjustment3DPointCloudObjectTracking</code> </p> <p> <code>arn:aws:lambda:ap-south-1:565803892007:function:ACS-Adjustment3DPointCloudObjectTracking</code> </p> <p> <code>arn:aws:lambda:eu-central-1:203001061592:function:ACS-Adjustment3DPointCloudObjectTracking</code> </p> <p> <code>arn:aws:lambda:ap-northeast-2:845288260483:function:ACS-Adjustment3DPointCloudObjectTracking</code> </p> <p> <code>arn:aws:lambda:eu-west-2:487402164563:function:ACS-Adjustment3DPointCloudObjectTracking</code> </p> <p> <code>arn:aws:lambda:ap-southeast-1:377565633583:function:ACS-Adjustment3DPointCloudObjectTracking</code> </p> <p> <code>arn:aws:lambda:ca-central-1:918755190332:function:ACS-Adjustment3DPointCloudObjectTracking</code> </p> </li> </ul> <p> <b>3D point cloud semantic segmentation adjustment</b> - Use this task type when you want workers to adjust a point-level semantic segmentation masks using a paint tool.</p> <ul> <li> <p> <code>arn:aws:lambda:us-east-1:432418664414:function:ACS-Adjustment3DPointCloudSemanticSegmentation</code> </p> <p> <code>arn:aws:lambda:us-east-2:266458841044:function:ACS-Adjustment3DPointCloudSemanticSegmentation</code> </p> <p> <code>arn:aws:lambda:us-west-2:081040173940:function:ACS-Adjustment3DPointCloudSemanticSegmentation</code> </p> <p> <code>arn:aws:lambda:eu-west-1:568282634449:function:ACS-Adjustment3DPointCloudSemanticSegmentation</code> </p> <p> <code>arn:aws:lambda:ap-northeast-1:477331159723:function:ACS-Adjustment3DPointCloudSemanticSegmentation</code> </p> <p> <code>arn:aws:lambda:ap-southeast-2:454466003867:function:ACS-Adjustment3DPointCloudSemanticSegmentation</code> </p> <p> <code>arn:aws:lambda:ap-south-1:565803892007:function:ACS-Adjustment3DPointCloudSemanticSegmentation</code> </p> <p> <code>arn:aws:lambda:eu-central-1:203001061592:function:ACS-Adjustment3DPointCloudSemanticSegmentation</code> </p> <p> <code>arn:aws:lambda:ap-northeast-2:845288260483:function:ACS-Adjustment3DPointCloudSemanticSegmentation</code> </p> <p> <code>arn:aws:lambda:eu-west-2:487402164563:function:ACS-Adjustment3DPointCloudSemanticSegmentation</code> </p> <p> <code>arn:aws:lambda:ap-southeast-1:377565633583:function:ACS-Adjustment3DPointCloudSemanticSegmentation</code> </p> <p> <code>arn:aws:lambda:ca-central-1:918755190332:function:ACS-Adjustment3DPointCloudSemanticSegmentation</code> </p> </li> </ul></p> #[serde(rename = "AnnotationConsolidationLambdaArn")] pub annotation_consolidation_lambda_arn: String, } /// <p>The app's details.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct AppDetails { /// <p>The name of the app.</p> #[serde(rename = "AppName")] #[serde(skip_serializing_if = "Option::is_none")] pub app_name: Option<String>, /// <p>The type of app.</p> #[serde(rename = "AppType")] #[serde(skip_serializing_if = "Option::is_none")] pub app_type: Option<String>, /// <p>The creation time.</p> #[serde(rename = "CreationTime")] #[serde(skip_serializing_if = "Option::is_none")] pub creation_time: Option<f64>, /// <p>The domain ID.</p> #[serde(rename = "DomainId")] #[serde(skip_serializing_if = "Option::is_none")] pub domain_id: Option<String>, /// <p>The status.</p> #[serde(rename = "Status")] #[serde(skip_serializing_if = "Option::is_none")] pub status: Option<String>, /// <p>The user profile name.</p> #[serde(rename = "UserProfileName")] #[serde(skip_serializing_if = "Option::is_none")] pub user_profile_name: Option<String>, } /// <p>Configuration to run a processing job in a specified container image.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq, Serialize)] pub struct AppSpecification { /// <p>The arguments for a container used to run a processing job.</p> #[serde(rename = "ContainerArguments")] #[serde(skip_serializing_if = "Option::is_none")] pub container_arguments: Option<Vec<String>>, /// <p>The entrypoint for a container used to run a processing job.</p> #[serde(rename = "ContainerEntrypoint")] #[serde(skip_serializing_if = "Option::is_none")] pub container_entrypoint: Option<Vec<String>>, /// <p>The container image to be run by the processing job.</p> #[serde(rename = "ImageUri")] pub image_uri: String, } #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct AssociateTrialComponentRequest { /// <p>The name of the component to associated with the trial.</p> #[serde(rename = "TrialComponentName")] pub trial_component_name: String, /// <p>The name of the trial to associate with.</p> #[serde(rename = "TrialName")] pub trial_name: String, } #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct AssociateTrialComponentResponse { /// <p>The Amazon Resource Name (ARN) of the trial.</p> #[serde(rename = "TrialArn")] #[serde(skip_serializing_if = "Option::is_none")] pub trial_arn: Option<String>, /// <p>The ARN of the trial component.</p> #[serde(rename = "TrialComponentArn")] #[serde(skip_serializing_if = "Option::is_none")] pub trial_component_arn: Option<String>, } /// <p>An AutoPilot job will return recommendations, or candidates. Each candidate has futher details about the steps involed, and the status.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct AutoMLCandidate { /// <p>The candidate name.</p> #[serde(rename = "CandidateName")] pub candidate_name: String, /// <p>The candidate's status.</p> #[serde(rename = "CandidateStatus")] pub candidate_status: String, /// <p>The candidate's steps.</p> #[serde(rename = "CandidateSteps")] pub candidate_steps: Vec<AutoMLCandidateStep>, /// <p>The creation time.</p> #[serde(rename = "CreationTime")] pub creation_time: f64, /// <p>The end time.</p> #[serde(rename = "EndTime")] #[serde(skip_serializing_if = "Option::is_none")] pub end_time: Option<f64>, /// <p>The failure reason.</p> #[serde(rename = "FailureReason")] #[serde(skip_serializing_if = "Option::is_none")] pub failure_reason: Option<String>, #[serde(rename = "FinalAutoMLJobObjectiveMetric")] #[serde(skip_serializing_if = "Option::is_none")] pub final_auto_ml_job_objective_metric: Option<FinalAutoMLJobObjectiveMetric>, /// <p>The inference containers.</p> #[serde(rename = "InferenceContainers")] #[serde(skip_serializing_if = "Option::is_none")] pub inference_containers: Option<Vec<AutoMLContainerDefinition>>, /// <p>The last modified time.</p> #[serde(rename = "LastModifiedTime")] pub last_modified_time: f64, /// <p>The objective status.</p> #[serde(rename = "ObjectiveStatus")] pub objective_status: String, } /// <p>Information about the steps for a Candidate, and what step it is working on.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct AutoMLCandidateStep { /// <p>The ARN for the Candidate's step.</p> #[serde(rename = "CandidateStepArn")] pub candidate_step_arn: String, /// <p>The name for the Candidate's step.</p> #[serde(rename = "CandidateStepName")] pub candidate_step_name: String, /// <p>Whether the Candidate is at the transform, training, or processing step.</p> #[serde(rename = "CandidateStepType")] pub candidate_step_type: String, } /// <p>Similar to Channel. A channel is a named input source that training algorithms can consume. Refer to Channel for detailed descriptions.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq, Serialize)] pub struct AutoMLChannel { /// <p>You can use Gzip or None. The default value is None.</p> #[serde(rename = "CompressionType")] #[serde(skip_serializing_if = "Option::is_none")] pub compression_type: Option<String>, /// <p>The data source.</p> #[serde(rename = "DataSource")] pub data_source: AutoMLDataSource, /// <p>The name of the target variable in supervised learning, a.k.a. 'y'.</p> #[serde(rename = "TargetAttributeName")] pub target_attribute_name: String, } /// <p>A list of container definitions that describe the different containers that make up one AutoML candidate. Refer to ContainerDefinition for more details.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct AutoMLContainerDefinition { /// <p>Environment variables to set in the container. Refer to ContainerDefinition for more details.</p> #[serde(rename = "Environment")] #[serde(skip_serializing_if = "Option::is_none")] pub environment: Option<::std::collections::HashMap<String, String>>, /// <p>The ECR path of the container. Refer to ContainerDefinition for more details.</p> #[serde(rename = "Image")] pub image: String, /// <p>The location of the model artifacts. Refer to ContainerDefinition for more details.</p> #[serde(rename = "ModelDataUrl")] pub model_data_url: String, } /// <p>The data source for the AutoPilot job.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq, Serialize)] pub struct AutoMLDataSource { /// <p><p>The Amazon S3 location of the input data.</p> <note> <p>The input data must be in CSV format and contain at least 1000 rows.</p> </note></p> #[serde(rename = "S3DataSource")] pub s3_data_source: AutoMLS3DataSource, } /// <p>Artifacts that are generation during a job.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct AutoMLJobArtifacts { /// <p>The URL to the notebook location.</p> #[serde(rename = "CandidateDefinitionNotebookLocation")] #[serde(skip_serializing_if = "Option::is_none")] pub candidate_definition_notebook_location: Option<String>, /// <p>The URL to the notebook location.</p> #[serde(rename = "DataExplorationNotebookLocation")] #[serde(skip_serializing_if = "Option::is_none")] pub data_exploration_notebook_location: Option<String>, } /// <p>How long a job is allowed to run, or how many candidates a job is allowed to generate.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq, Serialize)] pub struct AutoMLJobCompletionCriteria { /// <p>The maximum time, in seconds, an AutoML job is allowed to wait for a trial to complete. It must be equal to or greater than MaxRuntimePerTrainingJobInSeconds.</p> #[serde(rename = "MaxAutoMLJobRuntimeInSeconds")] #[serde(skip_serializing_if = "Option::is_none")] pub max_auto_ml_job_runtime_in_seconds: Option<i64>, /// <p>The maximum number of times a training job is allowed to run.</p> #[serde(rename = "MaxCandidates")] #[serde(skip_serializing_if = "Option::is_none")] pub max_candidates: Option<i64>, /// <p>The maximum time, in seconds, a job is allowed to run.</p> #[serde(rename = "MaxRuntimePerTrainingJobInSeconds")] #[serde(skip_serializing_if = "Option::is_none")] pub max_runtime_per_training_job_in_seconds: Option<i64>, } /// <p>A collection of settings used for a job.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq, Serialize)] pub struct AutoMLJobConfig { /// <p>How long a job is allowed to run, or how many candidates a job is allowed to generate.</p> #[serde(rename = "CompletionCriteria")] #[serde(skip_serializing_if = "Option::is_none")] pub completion_criteria: Option<AutoMLJobCompletionCriteria>, /// <p>Security configuration for traffic encryption or Amazon VPC settings.</p> #[serde(rename = "SecurityConfig")] #[serde(skip_serializing_if = "Option::is_none")] pub security_config: Option<AutoMLSecurityConfig>, } /// <p>Applies a metric to minimize or maximize for the job's objective.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq, Serialize)] pub struct AutoMLJobObjective { /// <p>The name of the metric.</p> #[serde(rename = "MetricName")] pub metric_name: String, } /// <p>Provides a summary about a job.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct AutoMLJobSummary { /// <p>The ARN of the job.</p> #[serde(rename = "AutoMLJobArn")] pub auto_ml_job_arn: String, /// <p>The name of the object you are requesting.</p> #[serde(rename = "AutoMLJobName")] pub auto_ml_job_name: String, /// <p>The job's secondary status.</p> #[serde(rename = "AutoMLJobSecondaryStatus")] pub auto_ml_job_secondary_status: String, /// <p>The job's status.</p> #[serde(rename = "AutoMLJobStatus")] pub auto_ml_job_status: String, /// <p>When the job was created.</p> #[serde(rename = "CreationTime")] pub creation_time: f64, /// <p>The end time.</p> #[serde(rename = "EndTime")] #[serde(skip_serializing_if = "Option::is_none")] pub end_time: Option<f64>, /// <p>The failure reason.</p> #[serde(rename = "FailureReason")] #[serde(skip_serializing_if = "Option::is_none")] pub failure_reason: Option<String>, /// <p>When the job was last modified.</p> #[serde(rename = "LastModifiedTime")] pub last_modified_time: f64, } /// <p>The output data configuration.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq, Serialize)] pub struct AutoMLOutputDataConfig { /// <p>The AWS KMS encryption key ID.</p> #[serde(rename = "KmsKeyId")] #[serde(skip_serializing_if = "Option::is_none")] pub kms_key_id: Option<String>, /// <p>The Amazon S3 output path. Must be 128 characters or less.</p> #[serde(rename = "S3OutputPath")] pub s3_output_path: String, } /// <p>The Amazon S3 data source.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq, Serialize)] pub struct AutoMLS3DataSource { /// <p>The data type.</p> #[serde(rename = "S3DataType")] pub s3_data_type: String, /// <p>The URL to the Amazon S3 data source.</p> #[serde(rename = "S3Uri")] pub s3_uri: String, } /// <p>Security options.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq, Serialize)] pub struct AutoMLSecurityConfig { /// <p>Whether to use traffic encryption between the container layers.</p> #[serde(rename = "EnableInterContainerTrafficEncryption")] #[serde(skip_serializing_if = "Option::is_none")] pub enable_inter_container_traffic_encryption: Option<bool>, /// <p>The key used to encrypt stored data.</p> #[serde(rename = "VolumeKmsKeyId")] #[serde(skip_serializing_if = "Option::is_none")] pub volume_kms_key_id: Option<String>, /// <p>VPC configuration.</p> #[serde(rename = "VpcConfig")] #[serde(skip_serializing_if = "Option::is_none")] pub vpc_config: Option<VpcConfig>, } /// <p><p/></p> #[derive(Clone, Debug, Default, Deserialize, PartialEq, Serialize)] pub struct CaptureContentTypeHeader { /// <p><p/></p> #[serde(rename = "CsvContentTypes")] #[serde(skip_serializing_if = "Option::is_none")] pub csv_content_types: Option<Vec<String>>, /// <p><p/></p> #[serde(rename = "JsonContentTypes")] #[serde(skip_serializing_if = "Option::is_none")] pub json_content_types: Option<Vec<String>>, } /// <p><p/></p> #[derive(Clone, Debug, Default, Deserialize, PartialEq, Serialize)] pub struct CaptureOption { /// <p><p/></p> #[serde(rename = "CaptureMode")] pub capture_mode: String, } /// <p>A list of categorical hyperparameters to tune.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq, Serialize)] pub struct CategoricalParameterRange { /// <p>The name of the categorical hyperparameter to tune.</p> #[serde(rename = "Name")] pub name: String, /// <p>A list of the categories for the hyperparameter.</p> #[serde(rename = "Values")] pub values: Vec<String>, } /// <p>Defines the possible values for a categorical hyperparameter.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq, Serialize)] pub struct CategoricalParameterRangeSpecification { /// <p>The allowed categories for the hyperparameter.</p> #[serde(rename = "Values")] pub values: Vec<String>, } /// <p>A channel is a named input source that training algorithms can consume. </p> #[derive(Clone, Debug, Default, Deserialize, PartialEq, Serialize)] pub struct Channel { /// <p>The name of the channel. </p> #[serde(rename = "ChannelName")] pub channel_name: String, /// <p>If training data is compressed, the compression type. The default value is <code>None</code>. <code>CompressionType</code> is used only in Pipe input mode. In File mode, leave this field unset or set it to None.</p> #[serde(rename = "CompressionType")] #[serde(skip_serializing_if = "Option::is_none")] pub compression_type: Option<String>, /// <p>The MIME type of the data.</p> #[serde(rename = "ContentType")] #[serde(skip_serializing_if = "Option::is_none")] pub content_type: Option<String>, /// <p>The location of the channel data.</p> #[serde(rename = "DataSource")] pub data_source: DataSource, /// <p>(Optional) The input mode to use for the data channel in a training job. If you don't set a value for <code>InputMode</code>, Amazon SageMaker uses the value set for <code>TrainingInputMode</code>. Use this parameter to override the <code>TrainingInputMode</code> setting in a <a>AlgorithmSpecification</a> request when you have a channel that needs a different input mode from the training job's general setting. To download the data from Amazon Simple Storage Service (Amazon S3) to the provisioned ML storage volume, and mount the directory to a Docker volume, use <code>File</code> input mode. To stream data directly from Amazon S3 to the container, choose <code>Pipe</code> input mode.</p> <p>To use a model for incremental training, choose <code>File</code> input model.</p> #[serde(rename = "InputMode")] #[serde(skip_serializing_if = "Option::is_none")] pub input_mode: Option<String>, /// <p><p/> <p>Specify RecordIO as the value when input data is in raw format but the training algorithm requires the RecordIO format. In this case, Amazon SageMaker wraps each individual S3 object in a RecordIO record. If the input data is already in RecordIO format, you don't need to set this attribute. For more information, see <a href="https://mxnet.apache.org/api/architecture/note_data_loading#data-format">Create a Dataset Using RecordIO</a>. </p> <p>In File mode, leave this field unset or set it to None.</p></p> #[serde(rename = "RecordWrapperType")] #[serde(skip_serializing_if = "Option::is_none")] pub record_wrapper_type: Option<String>, /// <p>A configuration for a shuffle option for input data in a channel. If you use <code>S3Prefix</code> for <code>S3DataType</code>, this shuffles the results of the S3 key prefix matches. If you use <code>ManifestFile</code>, the order of the S3 object references in the <code>ManifestFile</code> is shuffled. If you use <code>AugmentedManifestFile</code>, the order of the JSON lines in the <code>AugmentedManifestFile</code> is shuffled. The shuffling order is determined using the <code>Seed</code> value.</p> <p>For Pipe input mode, shuffling is done at the start of every epoch. With large datasets this ensures that the order of the training data is different for each epoch, it helps reduce bias and possible overfitting. In a multi-node training job when ShuffleConfig is combined with <code>S3DataDistributionType</code> of <code>ShardedByS3Key</code>, the data is shuffled across nodes so that the content sent to a particular node on the first epoch might be sent to a different node on the second epoch.</p> #[serde(rename = "ShuffleConfig")] #[serde(skip_serializing_if = "Option::is_none")] pub shuffle_config: Option<ShuffleConfig>, } /// <p>Defines a named input source, called a channel, to be used by an algorithm.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq, Serialize)] pub struct ChannelSpecification { /// <p>A brief description of the channel.</p> #[serde(rename = "Description")] #[serde(skip_serializing_if = "Option::is_none")] pub description: Option<String>, /// <p>Indicates whether the channel is required by the algorithm.</p> #[serde(rename = "IsRequired")] #[serde(skip_serializing_if = "Option::is_none")] pub is_required: Option<bool>, /// <p>The name of the channel.</p> #[serde(rename = "Name")] pub name: String, /// <p>The allowed compression types, if data compression is used.</p> #[serde(rename = "SupportedCompressionTypes")] #[serde(skip_serializing_if = "Option::is_none")] pub supported_compression_types: Option<Vec<String>>, /// <p>The supported MIME types for the data.</p> #[serde(rename = "SupportedContentTypes")] pub supported_content_types: Vec<String>, /// <p>The allowed input mode, either FILE or PIPE.</p> <p>In FILE mode, Amazon SageMaker copies the data from the input source onto the local Amazon Elastic Block Store (Amazon EBS) volumes before starting your training algorithm. This is the most commonly used input mode.</p> <p>In PIPE mode, Amazon SageMaker streams input data from the source directly to your algorithm without using the EBS volume.</p> #[serde(rename = "SupportedInputModes")] pub supported_input_modes: Vec<String>, } /// <p>Contains information about the output location for managed spot training checkpoint data. </p> #[derive(Clone, Debug, Default, Deserialize, PartialEq, Serialize)] pub struct CheckpointConfig { /// <p>(Optional) The local directory where checkpoints are written. The default directory is <code>/opt/ml/checkpoints/</code>. </p> #[serde(rename = "LocalPath")] #[serde(skip_serializing_if = "Option::is_none")] pub local_path: Option<String>, /// <p>Identifies the S3 path where you want Amazon SageMaker to store checkpoints. For example, <code>s3://bucket-name/key-name-prefix</code>.</p> #[serde(rename = "S3Uri")] pub s3_uri: String, } /// <p>Specifies summary information about a Git repository.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct CodeRepositorySummary { /// <p>The Amazon Resource Name (ARN) of the Git repository.</p> #[serde(rename = "CodeRepositoryArn")] pub code_repository_arn: String, /// <p>The name of the Git repository.</p> #[serde(rename = "CodeRepositoryName")] pub code_repository_name: String, /// <p>The date and time that the Git repository was created.</p> #[serde(rename = "CreationTime")] pub creation_time: f64, /// <p>Configuration details for the Git repository, including the URL where it is located and the ARN of the AWS Secrets Manager secret that contains the credentials used to access the repository.</p> #[serde(rename = "GitConfig")] #[serde(skip_serializing_if = "Option::is_none")] pub git_config: Option<GitConfig>, /// <p>The date and time that the Git repository was last modified.</p> #[serde(rename = "LastModifiedTime")] pub last_modified_time: f64, } /// <p>Identifies a Amazon Cognito user group. A user group can be used in on or more work teams.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq, Serialize)] pub struct CognitoMemberDefinition { /// <p>An identifier for an application client. You must create the app client ID using Amazon Cognito.</p> #[serde(rename = "ClientId")] pub client_id: String, /// <p>An identifier for a user group.</p> #[serde(rename = "UserGroup")] pub user_group: String, /// <p>An identifier for a user pool. The user pool must be in the same region as the service that you are calling.</p> #[serde(rename = "UserPool")] pub user_pool: String, } /// <p>Configuration information for tensor collections.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq, Serialize)] pub struct CollectionConfiguration { /// <p>The name of the tensor collection. The name must be unique relative to other rule configuration names.</p> #[serde(rename = "CollectionName")] #[serde(skip_serializing_if = "Option::is_none")] pub collection_name: Option<String>, /// <p>Parameter values for the tensor collection. The allowed parameters are <code>"name"</code>, <code>"include_regex"</code>, <code>"reduction_config"</code>, <code>"save_config"</code>, <code>"tensor_names"</code>, and <code>"save_histogram"</code>.</p> #[serde(rename = "CollectionParameters")] #[serde(skip_serializing_if = "Option::is_none")] pub collection_parameters: Option<::std::collections::HashMap<String, String>>, } /// <p>A summary of a model compilation job.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct CompilationJobSummary { /// <p>The time when the model compilation job completed.</p> #[serde(rename = "CompilationEndTime")] #[serde(skip_serializing_if = "Option::is_none")] pub compilation_end_time: Option<f64>, /// <p>The Amazon Resource Name (ARN) of the model compilation job.</p> #[serde(rename = "CompilationJobArn")] pub compilation_job_arn: String, /// <p>The name of the model compilation job that you want a summary for.</p> #[serde(rename = "CompilationJobName")] pub compilation_job_name: String, /// <p>The status of the model compilation job.</p> #[serde(rename = "CompilationJobStatus")] pub compilation_job_status: String, /// <p>The time when the model compilation job started.</p> #[serde(rename = "CompilationStartTime")] #[serde(skip_serializing_if = "Option::is_none")] pub compilation_start_time: Option<f64>, /// <p>The type of device that the model will run on after compilation has completed.</p> #[serde(rename = "CompilationTargetDevice")] pub compilation_target_device: String, /// <p>The time when the model compilation job was created.</p> #[serde(rename = "CreationTime")] pub creation_time: f64, /// <p>The time when the model compilation job was last modified.</p> #[serde(rename = "LastModifiedTime")] #[serde(skip_serializing_if = "Option::is_none")] pub last_modified_time: Option<f64>, } /// <p>Describes the container, as part of model definition.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq, Serialize)] pub struct ContainerDefinition { /// <p>This parameter is ignored for models that contain only a <code>PrimaryContainer</code>.</p> <p>When a <code>ContainerDefinition</code> is part of an inference pipeline, the value of the parameter uniquely identifies the container for the purposes of logging and metrics. For information, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/inference-pipeline-logs-metrics.html">Use Logs and Metrics to Monitor an Inference Pipeline</a>. If you don't specify a value for this parameter for a <code>ContainerDefinition</code> that is part of an inference pipeline, a unique name is automatically assigned based on the position of the <code>ContainerDefinition</code> in the pipeline. If you specify a value for the <code>ContainerHostName</code> for any <code>ContainerDefinition</code> that is part of an inference pipeline, you must specify a value for the <code>ContainerHostName</code> parameter of every <code>ContainerDefinition</code> in that pipeline.</p> #[serde(rename = "ContainerHostname")] #[serde(skip_serializing_if = "Option::is_none")] pub container_hostname: Option<String>, /// <p>The environment variables to set in the Docker container. Each key and value in the <code>Environment</code> string to string map can have length of up to 1024. We support up to 16 entries in the map. </p> #[serde(rename = "Environment")] #[serde(skip_serializing_if = "Option::is_none")] pub environment: Option<::std::collections::HashMap<String, String>>, /// <p>The Amazon EC2 Container Registry (Amazon ECR) path where inference code is stored. If you are using your own custom algorithm instead of an algorithm provided by Amazon SageMaker, the inference code must meet Amazon SageMaker requirements. Amazon SageMaker supports both <code>registry/repository[:tag]</code> and <code>registry/repository[@digest]</code> image path formats. For more information, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/your-algorithms.html">Using Your Own Algorithms with Amazon SageMaker</a> </p> #[serde(rename = "Image")] #[serde(skip_serializing_if = "Option::is_none")] pub image: Option<String>, /// <p>Whether the container hosts a single model or multiple models.</p> #[serde(rename = "Mode")] #[serde(skip_serializing_if = "Option::is_none")] pub mode: Option<String>, /// <p><p>The S3 path where the model artifacts, which result from model training, are stored. This path must point to a single gzip compressed tar archive (.tar.gz suffix). The S3 path is required for Amazon SageMaker built-in algorithms, but not if you use your own algorithms. For more information on built-in algorithms, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/sagemaker-algo-docker-registry-paths.html">Common Parameters</a>. </p> <p>If you provide a value for this parameter, Amazon SageMaker uses AWS Security Token Service to download model artifacts from the S3 path you provide. AWS STS is activated in your IAM user account by default. If you previously deactivated AWS STS for a region, you need to reactivate AWS STS for that region. For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_enable-regions.html">Activating and Deactivating AWS STS in an AWS Region</a> in the <i>AWS Identity and Access Management User Guide</i>.</p> <important> <p>If you use a built-in algorithm to create a model, Amazon SageMaker requires that you provide a S3 path to the model artifacts in <code>ModelDataUrl</code>.</p> </important></p> #[serde(rename = "ModelDataUrl")] #[serde(skip_serializing_if = "Option::is_none")] pub model_data_url: Option<String>, /// <p>The name or Amazon Resource Name (ARN) of the model package to use to create the model.</p> #[serde(rename = "ModelPackageName")] #[serde(skip_serializing_if = "Option::is_none")] pub model_package_name: Option<String>, } /// <p>A list of continuous hyperparameters to tune.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq, Serialize)] pub struct ContinuousParameterRange { /// <p>The maximum value for the hyperparameter. The tuning job uses floating-point values between <code>MinValue</code> value and this value for tuning.</p> #[serde(rename = "MaxValue")] pub max_value: String, /// <p>The minimum value for the hyperparameter. The tuning job uses floating-point values between this value and <code>MaxValue</code>for tuning.</p> #[serde(rename = "MinValue")] pub min_value: String, /// <p>The name of the continuous hyperparameter to tune.</p> #[serde(rename = "Name")] pub name: String, /// <p><p>The scale that hyperparameter tuning uses to search the hyperparameter range. For information about choosing a hyperparameter scale, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/automatic-model-tuning-define-ranges.html#scaling-type">Hyperparameter Scaling</a>. One of the following values:</p> <dl> <dt>Auto</dt> <dd> <p>Amazon SageMaker hyperparameter tuning chooses the best scale for the hyperparameter.</p> </dd> <dt>Linear</dt> <dd> <p>Hyperparameter tuning searches the values in the hyperparameter range by using a linear scale.</p> </dd> <dt>Logarithmic</dt> <dd> <p>Hyperparameter tuning searches the values in the hyperparameter range by using a logarithmic scale.</p> <p>Logarithmic scaling works only for ranges that have only values greater than 0.</p> </dd> <dt>ReverseLogarithmic</dt> <dd> <p>Hyperparameter tuning searches the values in the hyperparameter range by using a reverse logarithmic scale.</p> <p>Reverse logarithmic scaling works only for ranges that are entirely within the range 0<=x<1.0.</p> </dd> </dl></p> #[serde(rename = "ScalingType")] #[serde(skip_serializing_if = "Option::is_none")] pub scaling_type: Option<String>, } /// <p>Defines the possible values for a continuous hyperparameter.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq, Serialize)] pub struct ContinuousParameterRangeSpecification { /// <p>The maximum floating-point value allowed.</p> #[serde(rename = "MaxValue")] pub max_value: String, /// <p>The minimum floating-point value allowed.</p> #[serde(rename = "MinValue")] pub min_value: String, } #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct CreateAlgorithmInput { /// <p>A description of the algorithm.</p> #[serde(rename = "AlgorithmDescription")] #[serde(skip_serializing_if = "Option::is_none")] pub algorithm_description: Option<String>, /// <p>The name of the algorithm.</p> #[serde(rename = "AlgorithmName")] pub algorithm_name: String, /// <p>Whether to certify the algorithm so that it can be listed in AWS Marketplace.</p> #[serde(rename = "CertifyForMarketplace")] #[serde(skip_serializing_if = "Option::is_none")] pub certify_for_marketplace: Option<bool>, /// <p><p>Specifies details about inference jobs that the algorithm runs, including the following:</p> <ul> <li> <p>The Amazon ECR paths of containers that contain the inference code and model artifacts.</p> </li> <li> <p>The instance types that the algorithm supports for transform jobs and real-time endpoints used for inference.</p> </li> <li> <p>The input and output content formats that the algorithm supports for inference.</p> </li> </ul></p> #[serde(rename = "InferenceSpecification")] #[serde(skip_serializing_if = "Option::is_none")] pub inference_specification: Option<InferenceSpecification>, /// <p><p>Specifies details about training jobs run by this algorithm, including the following:</p> <ul> <li> <p>The Amazon ECR path of the container and the version digest of the algorithm.</p> </li> <li> <p>The hyperparameters that the algorithm supports.</p> </li> <li> <p>The instance types that the algorithm supports for training.</p> </li> <li> <p>Whether the algorithm supports distributed training.</p> </li> <li> <p>The metrics that the algorithm emits to Amazon CloudWatch.</p> </li> <li> <p>Which metrics that the algorithm emits can be used as the objective metric for hyperparameter tuning jobs.</p> </li> <li> <p>The input channels that the algorithm supports for training data. For example, an algorithm might support <code>train</code>, <code>validation</code>, and <code>test</code> channels.</p> </li> </ul></p> #[serde(rename = "TrainingSpecification")] pub training_specification: TrainingSpecification, /// <p>Specifies configurations for one or more training jobs and that Amazon SageMaker runs to test the algorithm's training code and, optionally, one or more batch transform jobs that Amazon SageMaker runs to test the algorithm's inference code.</p> #[serde(rename = "ValidationSpecification")] #[serde(skip_serializing_if = "Option::is_none")] pub validation_specification: Option<AlgorithmValidationSpecification>, } #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct CreateAlgorithmOutput { /// <p>The Amazon Resource Name (ARN) of the new algorithm.</p> #[serde(rename = "AlgorithmArn")] pub algorithm_arn: String, } #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct CreateAppRequest { /// <p>The name of the app.</p> #[serde(rename = "AppName")] pub app_name: String, /// <p>The type of app.</p> #[serde(rename = "AppType")] pub app_type: String, /// <p>The domain ID.</p> #[serde(rename = "DomainId")] pub domain_id: String, /// <p>The instance type and the Amazon Resource Name (ARN) of the SageMaker image created on the instance.</p> #[serde(rename = "ResourceSpec")] #[serde(skip_serializing_if = "Option::is_none")] pub resource_spec: Option<ResourceSpec>, /// <p>Each tag consists of a key and an optional value. Tag keys must be unique per resource.</p> #[serde(rename = "Tags")] #[serde(skip_serializing_if = "Option::is_none")] pub tags: Option<Vec<Tag>>, /// <p>The user profile name.</p> #[serde(rename = "UserProfileName")] pub user_profile_name: String, } #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct CreateAppResponse { /// <p>The App's Amazon Resource Name (ARN).</p> #[serde(rename = "AppArn")] #[serde(skip_serializing_if = "Option::is_none")] pub app_arn: Option<String>, } #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct CreateAutoMLJobRequest { /// <p>Contains CompletionCriteria and SecurityConfig.</p> #[serde(rename = "AutoMLJobConfig")] #[serde(skip_serializing_if = "Option::is_none")] pub auto_ml_job_config: Option<AutoMLJobConfig>, /// <p>Identifies an AutoPilot job. Must be unique to your account and is case-insensitive.</p> #[serde(rename = "AutoMLJobName")] pub auto_ml_job_name: String, /// <p>Defines the job's objective. You provide a MetricName and AutoML will infer minimize or maximize. If this is not provided, the most commonly used ObjectiveMetric for problem type will be selected.</p> #[serde(rename = "AutoMLJobObjective")] #[serde(skip_serializing_if = "Option::is_none")] pub auto_ml_job_objective: Option<AutoMLJobObjective>, /// <p>This will generate possible candidates without training a model. A candidate is a combination of data preprocessors, algorithms, and algorithm parameter settings.</p> #[serde(rename = "GenerateCandidateDefinitionsOnly")] #[serde(skip_serializing_if = "Option::is_none")] pub generate_candidate_definitions_only: Option<bool>, /// <p>Similar to InputDataConfig supported by Tuning. Format(s) supported: CSV. Minimum of 1000 rows.</p> #[serde(rename = "InputDataConfig")] pub input_data_config: Vec<AutoMLChannel>, /// <p>Similar to OutputDataConfig supported by Tuning. Format(s) supported: CSV.</p> #[serde(rename = "OutputDataConfig")] pub output_data_config: AutoMLOutputDataConfig, /// <p>Defines the kind of preprocessing and algorithms intended for the candidates. Options include: BinaryClassification, MulticlassClassification, and Regression.</p> #[serde(rename = "ProblemType")] #[serde(skip_serializing_if = "Option::is_none")] pub problem_type: Option<String>, /// <p>The ARN of the role that will be used to access the data.</p> #[serde(rename = "RoleArn")] pub role_arn: String, /// <p>Each tag consists of a key and an optional value. Tag keys must be unique per resource.</p> #[serde(rename = "Tags")] #[serde(skip_serializing_if = "Option::is_none")] pub tags: Option<Vec<Tag>>, } #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct CreateAutoMLJobResponse { /// <p>When a job is created, it is assigned a unique ARN.</p> #[serde(rename = "AutoMLJobArn")] pub auto_ml_job_arn: String, } #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct CreateCodeRepositoryInput { /// <p>The name of the Git repository. The name must have 1 to 63 characters. Valid characters are a-z, A-Z, 0-9, and - (hyphen).</p> #[serde(rename = "CodeRepositoryName")] pub code_repository_name: String, /// <p>Specifies details about the repository, including the URL where the repository is located, the default branch, and credentials to use to access the repository.</p> #[serde(rename = "GitConfig")] pub git_config: GitConfig, } #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct CreateCodeRepositoryOutput { /// <p>The Amazon Resource Name (ARN) of the new repository.</p> #[serde(rename = "CodeRepositoryArn")] pub code_repository_arn: String, } #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct CreateCompilationJobRequest { /// <p>A name for the model compilation job. The name must be unique within the AWS Region and within your AWS account. </p> #[serde(rename = "CompilationJobName")] pub compilation_job_name: String, /// <p>Provides information about the location of input model artifacts, the name and shape of the expected data inputs, and the framework in which the model was trained.</p> #[serde(rename = "InputConfig")] pub input_config: InputConfig, /// <p>Provides information about the output location for the compiled model and the target device the model runs on.</p> #[serde(rename = "OutputConfig")] pub output_config: OutputConfig, /// <p>The Amazon Resource Name (ARN) of an IAM role that enables Amazon SageMaker to perform tasks on your behalf. </p> <p>During model compilation, Amazon SageMaker needs your permission to:</p> <ul> <li> <p>Read input data from an S3 bucket</p> </li> <li> <p>Write model artifacts to an S3 bucket</p> </li> <li> <p>Write logs to Amazon CloudWatch Logs</p> </li> <li> <p>Publish metrics to Amazon CloudWatch</p> </li> </ul> <p>You grant permissions for all of these tasks to an IAM role. To pass this role to Amazon SageMaker, the caller of this API must have the <code>iam:PassRole</code> permission. For more information, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/sagemaker-roles.html">Amazon SageMaker Roles.</a> </p> #[serde(rename = "RoleArn")] pub role_arn: String, /// <p>Specifies a limit to how long a model compilation job can run. When the job reaches the time limit, Amazon SageMaker ends the compilation job. Use this API to cap model training costs.</p> #[serde(rename = "StoppingCondition")] pub stopping_condition: StoppingCondition, } #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct CreateCompilationJobResponse { /// <p><p>If the action is successful, the service sends back an HTTP 200 response. Amazon SageMaker returns the following data in JSON format:</p> <ul> <li> <p> <code>CompilationJobArn</code>: The Amazon Resource Name (ARN) of the compiled job.</p> </li> </ul></p> #[serde(rename = "CompilationJobArn")] pub compilation_job_arn: String, } #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct CreateDomainRequest { /// <p>The mode of authentication that members use to access the domain.</p> #[serde(rename = "AuthMode")] pub auth_mode: String, /// <p>The default user settings.</p> #[serde(rename = "DefaultUserSettings")] pub default_user_settings: UserSettings, /// <p>A name for the domain.</p> #[serde(rename = "DomainName")] pub domain_name: String, /// <p>The AWS Key Management Service (KMS) encryption key ID. Encryption with a customer master key (CMK) is not supported.</p> #[serde(rename = "HomeEfsFileSystemKmsKeyId")] #[serde(skip_serializing_if = "Option::is_none")] pub home_efs_file_system_kms_key_id: Option<String>, /// <p>The VPC subnets to use for communication with the EFS volume.</p> #[serde(rename = "SubnetIds")] pub subnet_ids: Vec<String>, /// <p>Tags to associated with the Domain. Each tag consists of a key and an optional value. Tag keys must be unique per resource. Tags are searchable using the <a>Search</a> API.</p> #[serde(rename = "Tags")] #[serde(skip_serializing_if = "Option::is_none")] pub tags: Option<Vec<Tag>>, /// <p>The ID of the Amazon Virtual Private Cloud (VPC) to use for communication with the EFS volume.</p> #[serde(rename = "VpcId")] pub vpc_id: String, } #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct CreateDomainResponse { /// <p>The Amazon Resource Name (ARN) of the created domain.</p> #[serde(rename = "DomainArn")] #[serde(skip_serializing_if = "Option::is_none")] pub domain_arn: Option<String>, /// <p>The URL to the created domain.</p> #[serde(rename = "Url")] #[serde(skip_serializing_if = "Option::is_none")] pub url: Option<String>, } #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct CreateEndpointConfigInput { #[serde(rename = "DataCaptureConfig")] #[serde(skip_serializing_if = "Option::is_none")] pub data_capture_config: Option<DataCaptureConfig>, /// <p>The name of the endpoint configuration. You specify this name in a <a>CreateEndpoint</a> request. </p> #[serde(rename = "EndpointConfigName")] pub endpoint_config_name: String, /// <p><p>The Amazon Resource Name (ARN) of a AWS Key Management Service key that Amazon SageMaker uses to encrypt data on the storage volume attached to the ML compute instance that hosts the endpoint.</p> <p>The KmsKeyId can be any of the following formats: </p> <ul> <li> <p>Key ID: <code>1234abcd-12ab-34cd-56ef-1234567890ab</code> </p> </li> <li> <p>Key ARN: <code>arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab</code> </p> </li> <li> <p>Alias name: <code>alias/ExampleAlias</code> </p> </li> <li> <p>Alias name ARN: <code>arn:aws:kms:us-west-2:111122223333:alias/ExampleAlias</code> </p> </li> </ul> <p>The KMS key policy must grant permission to the IAM role that you specify in your <code>CreateEndpoint</code>, <code>UpdateEndpoint</code> requests. For more information, refer to the AWS Key Management Service section<a href="https://docs.aws.amazon.com/kms/latest/developerguide/key-policies.html"> Using Key Policies in AWS KMS </a> </p> <note> <p>Certain Nitro-based instances include local storage, dependent on the instance type. Local storage volumes are encrypted using a hardware module on the instance. You can't request a <code>KmsKeyId</code> when using an instance type with local storage. If any of the models that you specify in the <code>ProductionVariants</code> parameter use nitro-based instances with local storage, do not specify a value for the <code>KmsKeyId</code> parameter. If you specify a value for <code>KmsKeyId</code> when using any nitro-based instances with local storage, the call to <code>CreateEndpointConfig</code> fails.</p> <p>For a list of instance types that support local instance storage, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/InstanceStorage.html#instance-store-volumes">Instance Store Volumes</a>.</p> <p>For more information about local instance storage encryption, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ssd-instance-store.html">SSD Instance Store Volumes</a>.</p> </note></p> #[serde(rename = "KmsKeyId")] #[serde(skip_serializing_if = "Option::is_none")] pub kms_key_id: Option<String>, /// <p>An list of <code>ProductionVariant</code> objects, one for each model that you want to host at this endpoint.</p> #[serde(rename = "ProductionVariants")] pub production_variants: Vec<ProductionVariant>, /// <p>A list of key-value pairs. For more information, see <a href="https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html#allocation-what">Using Cost Allocation Tags</a> in the <i> AWS Billing and Cost Management User Guide</i>. </p> #[serde(rename = "Tags")] #[serde(skip_serializing_if = "Option::is_none")] pub tags: Option<Vec<Tag>>, } #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct CreateEndpointConfigOutput { /// <p>The Amazon Resource Name (ARN) of the endpoint configuration. </p> #[serde(rename = "EndpointConfigArn")] pub endpoint_config_arn: String, } #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct CreateEndpointInput { /// <p>The name of an endpoint configuration. For more information, see <a>CreateEndpointConfig</a>. </p> #[serde(rename = "EndpointConfigName")] pub endpoint_config_name: String, /// <p>The name of the endpoint. The name must be unique within an AWS Region in your AWS account.</p> #[serde(rename = "EndpointName")] pub endpoint_name: String, /// <p>An array of key-value pairs. For more information, see <a href="https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html#allocation-what">Using Cost Allocation Tags</a>in the <i>AWS Billing and Cost Management User Guide</i>. </p> #[serde(rename = "Tags")] #[serde(skip_serializing_if = "Option::is_none")] pub tags: Option<Vec<Tag>>, } #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct CreateEndpointOutput { /// <p>The Amazon Resource Name (ARN) of the endpoint.</p> #[serde(rename = "EndpointArn")] pub endpoint_arn: String, } #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct CreateExperimentRequest { /// <p>The description of the experiment.</p> #[serde(rename = "Description")] #[serde(skip_serializing_if = "Option::is_none")] pub description: Option<String>, /// <p>The name of the experiment as displayed. The name doesn't need to be unique. If you don't specify <code>DisplayName</code>, the value in <code>ExperimentName</code> is displayed.</p> #[serde(rename = "DisplayName")] #[serde(skip_serializing_if = "Option::is_none")] pub display_name: Option<String>, /// <p>The name of the experiment. The name must be unique in your AWS account and is not case-sensitive.</p> #[serde(rename = "ExperimentName")] pub experiment_name: String, /// <p>A list of tags to associate with the experiment. You can use <a>Search</a> API to search on the tags.</p> #[serde(rename = "Tags")] #[serde(skip_serializing_if = "Option::is_none")] pub tags: Option<Vec<Tag>>, } #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct CreateExperimentResponse { /// <p>The Amazon Resource Name (ARN) of the experiment.</p> #[serde(rename = "ExperimentArn")] #[serde(skip_serializing_if = "Option::is_none")] pub experiment_arn: Option<String>, } #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct CreateFlowDefinitionRequest { /// <p>The name of your flow definition.</p> #[serde(rename = "FlowDefinitionName")] pub flow_definition_name: String, /// <p>An object containing information about the events that trigger a human workflow.</p> #[serde(rename = "HumanLoopActivationConfig")] #[serde(skip_serializing_if = "Option::is_none")] pub human_loop_activation_config: Option<HumanLoopActivationConfig>, /// <p>An object containing information about the tasks the human reviewers will perform.</p> #[serde(rename = "HumanLoopConfig")] pub human_loop_config: HumanLoopConfig, /// <p>Container for configuring the source of human task requests. Use to specify if Amazon Rekognition or Amazon Textract is used as an integration source.</p> #[serde(rename = "HumanLoopRequestSource")] #[serde(skip_serializing_if = "Option::is_none")] pub human_loop_request_source: Option<HumanLoopRequestSource>, /// <p>An object containing information about where the human review results will be uploaded.</p> #[serde(rename = "OutputConfig")] pub output_config: FlowDefinitionOutputConfig, /// <p>The Amazon Resource Name (ARN) of the role needed to call other services on your behalf. For example, <code>arn:aws:iam::1234567890:role/service-role/AmazonSageMaker-ExecutionRole-20180111T151298</code>.</p> #[serde(rename = "RoleArn")] pub role_arn: String, /// <p>An array of key-value pairs that contain metadata to help you categorize and organize a flow definition. Each tag consists of a key and a value, both of which you define.</p> #[serde(rename = "Tags")] #[serde(skip_serializing_if = "Option::is_none")] pub tags: Option<Vec<Tag>>, } #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct CreateFlowDefinitionResponse { /// <p>The Amazon Resource Name (ARN) of the flow definition you create.</p> #[serde(rename = "FlowDefinitionArn")] pub flow_definition_arn: String, } #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct CreateHumanTaskUiRequest { /// <p>The name of the user interface you are creating.</p> #[serde(rename = "HumanTaskUiName")] pub human_task_ui_name: String, /// <p>An array of key-value pairs that contain metadata to help you categorize and organize a human review workflow user interface. Each tag consists of a key and a value, both of which you define.</p> #[serde(rename = "Tags")] #[serde(skip_serializing_if = "Option::is_none")] pub tags: Option<Vec<Tag>>, #[serde(rename = "UiTemplate")] pub ui_template: UiTemplate, } #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct CreateHumanTaskUiResponse { /// <p>The Amazon Resource Name (ARN) of the human review workflow user interface you create.</p> #[serde(rename = "HumanTaskUiArn")] pub human_task_ui_arn: String, } #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct CreateHyperParameterTuningJobRequest { /// <p>The <a>HyperParameterTuningJobConfig</a> object that describes the tuning job, including the search strategy, the objective metric used to evaluate training jobs, ranges of parameters to search, and resource limits for the tuning job. For more information, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/automatic-model-tuning-how-it-works.html">How Hyperparameter Tuning Works</a>.</p> #[serde(rename = "HyperParameterTuningJobConfig")] pub hyper_parameter_tuning_job_config: HyperParameterTuningJobConfig, /// <p>The name of the tuning job. This name is the prefix for the names of all training jobs that this tuning job launches. The name must be unique within the same AWS account and AWS Region. The name must have { } to { } characters. Valid characters are a-z, A-Z, 0-9, and : + = @ _ % - (hyphen). The name is not case sensitive.</p> #[serde(rename = "HyperParameterTuningJobName")] pub hyper_parameter_tuning_job_name: String, /// <p>An array of key-value pairs. You can use tags to categorize your AWS resources in different ways, for example, by purpose, owner, or environment. For more information, see <a href="https://aws.amazon.com/answers/account-management/aws-tagging-strategies/">AWS Tagging Strategies</a>.</p> <p>Tags that you specify for the tuning job are also added to all training jobs that the tuning job launches.</p> #[serde(rename = "Tags")] #[serde(skip_serializing_if = "Option::is_none")] pub tags: Option<Vec<Tag>>, /// <p>The <a>HyperParameterTrainingJobDefinition</a> object that describes the training jobs that this tuning job launches, including static hyperparameters, input data configuration, output data configuration, resource configuration, and stopping condition.</p> #[serde(rename = "TrainingJobDefinition")] #[serde(skip_serializing_if = "Option::is_none")] pub training_job_definition: Option<HyperParameterTrainingJobDefinition>, /// <p>A list of the <a>HyperParameterTrainingJobDefinition</a> objects launched for this tuning job.</p> #[serde(rename = "TrainingJobDefinitions")] #[serde(skip_serializing_if = "Option::is_none")] pub training_job_definitions: Option<Vec<HyperParameterTrainingJobDefinition>>, /// <p><p>Specifies the configuration for starting the hyperparameter tuning job using one or more previous tuning jobs as a starting point. The results of previous tuning jobs are used to inform which combinations of hyperparameters to search over in the new tuning job.</p> <p>All training jobs launched by the new hyperparameter tuning job are evaluated by using the objective metric. If you specify <code>IDENTICAL<em>DATA</em>AND_ALGORITHM</code> as the <code>WarmStartType</code> value for the warm start configuration, the training job that performs the best in the new tuning job is compared to the best training jobs from the parent tuning jobs. From these, the training job that performs the best as measured by the objective metric is returned as the overall best training job.</p> <note> <p>All training jobs launched by parent hyperparameter tuning jobs and the new hyperparameter tuning jobs count against the limit of training jobs for the tuning job.</p> </note></p> #[serde(rename = "WarmStartConfig")] #[serde(skip_serializing_if = "Option::is_none")] pub warm_start_config: Option<HyperParameterTuningJobWarmStartConfig>, } #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct CreateHyperParameterTuningJobResponse { /// <p>The Amazon Resource Name (ARN) of the tuning job. Amazon SageMaker assigns an ARN to a hyperparameter tuning job when you create it.</p> #[serde(rename = "HyperParameterTuningJobArn")] pub hyper_parameter_tuning_job_arn: String, } #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct CreateLabelingJobRequest { /// <p>Configures the labeling task and how it is presented to workers; including, but not limited to price, keywords, and batch size (task count).</p> #[serde(rename = "HumanTaskConfig")] pub human_task_config: HumanTaskConfig, /// <p>Input data for the labeling job, such as the Amazon S3 location of the data objects and the location of the manifest file that describes the data objects.</p> #[serde(rename = "InputConfig")] pub input_config: LabelingJobInputConfig, /// <p>The attribute name to use for the label in the output manifest file. This is the key for the key/value pair formed with the label that a worker assigns to the object. The name can't end with "-metadata". If you are running a semantic segmentation labeling job, the attribute name must end with "-ref". If you are running any other kind of labeling job, the attribute name must not end with "-ref".</p> #[serde(rename = "LabelAttributeName")] pub label_attribute_name: String, /// <p>The S3 URL of the file that defines the categories used to label the data objects.</p> <p>For 3D point cloud task types, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/sms-point-cloud-label-category-config.html">Create a Labeling Category Configuration File for 3D Point Cloud Labeling Jobs</a>. </p> <p>For all other <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/sms-task-types.html">built-in task types</a> and <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/sms-custom-templates.html">custom tasks</a>, your label category configuration file must be a JSON file in the following format. Identify the labels you want to use by replacing <code>label_1</code>, <code>label_2</code>,<code>...</code>,<code>label_n</code> with your label categories.</p> <p> <code>{</code> </p> <p> <code> "document-version": "2018-11-28"</code> </p> <p> <code> "labels": [</code> </p> <p> <code> {</code> </p> <p> <code> "label": "<i>label_1</i>"</code> </p> <p> <code> },</code> </p> <p> <code> {</code> </p> <p> <code> "label": "<i>label_2</i>"</code> </p> <p> <code> },</code> </p> <p> <code> ...</code> </p> <p> <code> {</code> </p> <p> <code> "label": "<i>label_n</i>"</code> </p> <p> <code> }</code> </p> <p> <code> ]</code> </p> <p> <code>}</code> </p> #[serde(rename = "LabelCategoryConfigS3Uri")] #[serde(skip_serializing_if = "Option::is_none")] pub label_category_config_s3_uri: Option<String>, /// <p>Configures the information required to perform automated data labeling.</p> #[serde(rename = "LabelingJobAlgorithmsConfig")] #[serde(skip_serializing_if = "Option::is_none")] pub labeling_job_algorithms_config: Option<LabelingJobAlgorithmsConfig>, /// <p>The name of the labeling job. This name is used to identify the job in a list of labeling jobs.</p> #[serde(rename = "LabelingJobName")] pub labeling_job_name: String, /// <p>The location of the output data and the AWS Key Management Service key ID for the key used to encrypt the output data, if any.</p> #[serde(rename = "OutputConfig")] pub output_config: LabelingJobOutputConfig, /// <p>The Amazon Resource Number (ARN) that Amazon SageMaker assumes to perform tasks on your behalf during data labeling. You must grant this role the necessary permissions so that Amazon SageMaker can successfully complete data labeling.</p> #[serde(rename = "RoleArn")] pub role_arn: String, /// <p>A set of conditions for stopping the labeling job. If any of the conditions are met, the job is automatically stopped. You can use these conditions to control the cost of data labeling.</p> #[serde(rename = "StoppingConditions")] #[serde(skip_serializing_if = "Option::is_none")] pub stopping_conditions: Option<LabelingJobStoppingConditions>, /// <p>An array of key/value pairs. For more information, see <a href="https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html#allocation-what">Using Cost Allocation Tags</a> in the <i>AWS Billing and Cost Management User Guide</i>.</p> #[serde(rename = "Tags")] #[serde(skip_serializing_if = "Option::is_none")] pub tags: Option<Vec<Tag>>, } #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct CreateLabelingJobResponse { /// <p>The Amazon Resource Name (ARN) of the labeling job. You use this ARN to identify the labeling job.</p> #[serde(rename = "LabelingJobArn")] pub labeling_job_arn: String, } #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct CreateModelInput { /// <p>Specifies the containers in the inference pipeline.</p> #[serde(rename = "Containers")] #[serde(skip_serializing_if = "Option::is_none")] pub containers: Option<Vec<ContainerDefinition>>, /// <p>Isolates the model container. No inbound or outbound network calls can be made to or from the model container.</p> #[serde(rename = "EnableNetworkIsolation")] #[serde(skip_serializing_if = "Option::is_none")] pub enable_network_isolation: Option<bool>, /// <p><p>The Amazon Resource Name (ARN) of the IAM role that Amazon SageMaker can assume to access model artifacts and docker image for deployment on ML compute instances or for batch transform jobs. Deploying on ML compute instances is part of model hosting. For more information, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/sagemaker-roles.html">Amazon SageMaker Roles</a>. </p> <note> <p>To be able to pass this role to Amazon SageMaker, the caller of this API must have the <code>iam:PassRole</code> permission.</p> </note></p> #[serde(rename = "ExecutionRoleArn")] pub execution_role_arn: String, /// <p>The name of the new model.</p> #[serde(rename = "ModelName")] pub model_name: String, /// <p>The location of the primary docker image containing inference code, associated artifacts, and custom environment map that the inference code uses when the model is deployed for predictions. </p> #[serde(rename = "PrimaryContainer")] #[serde(skip_serializing_if = "Option::is_none")] pub primary_container: Option<ContainerDefinition>, /// <p>An array of key-value pairs. For more information, see <a href="https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html#allocation-what">Using Cost Allocation Tags</a> in the <i>AWS Billing and Cost Management User Guide</i>. </p> #[serde(rename = "Tags")] #[serde(skip_serializing_if = "Option::is_none")] pub tags: Option<Vec<Tag>>, /// <p>A <a>VpcConfig</a> object that specifies the VPC that you want your model to connect to. Control access to and from your model container by configuring the VPC. <code>VpcConfig</code> is used in hosting services and in batch transform. For more information, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/host-vpc.html">Protect Endpoints by Using an Amazon Virtual Private Cloud</a> and <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/batch-vpc.html">Protect Data in Batch Transform Jobs by Using an Amazon Virtual Private Cloud</a>.</p> #[serde(rename = "VpcConfig")] #[serde(skip_serializing_if = "Option::is_none")] pub vpc_config: Option<VpcConfig>, } #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct CreateModelOutput { /// <p>The ARN of the model created in Amazon SageMaker.</p> #[serde(rename = "ModelArn")] pub model_arn: String, } #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct CreateModelPackageInput { /// <p>Whether to certify the model package for listing on AWS Marketplace.</p> #[serde(rename = "CertifyForMarketplace")] #[serde(skip_serializing_if = "Option::is_none")] pub certify_for_marketplace: Option<bool>, /// <p><p>Specifies details about inference jobs that can be run with models based on this model package, including the following:</p> <ul> <li> <p>The Amazon ECR paths of containers that contain the inference code and model artifacts.</p> </li> <li> <p>The instance types that the model package supports for transform jobs and real-time endpoints used for inference.</p> </li> <li> <p>The input and output content formats that the model package supports for inference.</p> </li> </ul></p> #[serde(rename = "InferenceSpecification")] #[serde(skip_serializing_if = "Option::is_none")] pub inference_specification: Option<InferenceSpecification>, /// <p>A description of the model package.</p> #[serde(rename = "ModelPackageDescription")] #[serde(skip_serializing_if = "Option::is_none")] pub model_package_description: Option<String>, /// <p>The name of the model package. The name must have 1 to 63 characters. Valid characters are a-z, A-Z, 0-9, and - (hyphen).</p> #[serde(rename = "ModelPackageName")] pub model_package_name: String, /// <p>Details about the algorithm that was used to create the model package.</p> #[serde(rename = "SourceAlgorithmSpecification")] #[serde(skip_serializing_if = "Option::is_none")] pub source_algorithm_specification: Option<SourceAlgorithmSpecification>, /// <p>Specifies configurations for one or more transform jobs that Amazon SageMaker runs to test the model package.</p> #[serde(rename = "ValidationSpecification")] #[serde(skip_serializing_if = "Option::is_none")] pub validation_specification: Option<ModelPackageValidationSpecification>, } #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct CreateModelPackageOutput { /// <p>The Amazon Resource Name (ARN) of the new model package.</p> #[serde(rename = "ModelPackageArn")] pub model_package_arn: String, } #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct CreateMonitoringScheduleRequest { /// <p>The configuration object that specifies the monitoring schedule and defines the monitoring job.</p> #[serde(rename = "MonitoringScheduleConfig")] pub monitoring_schedule_config: MonitoringScheduleConfig, /// <p>The name of the monitoring schedule. The name must be unique within an AWS Region within an AWS account.</p> #[serde(rename = "MonitoringScheduleName")] pub monitoring_schedule_name: String, /// <p>(Optional) An array of key-value pairs. For more information, see <a href=" https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html#allocation-whatURL">Using Cost Allocation Tags</a> in the <i>AWS Billing and Cost Management User Guide</i>.</p> #[serde(rename = "Tags")] #[serde(skip_serializing_if = "Option::is_none")] pub tags: Option<Vec<Tag>>, } #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct CreateMonitoringScheduleResponse { /// <p>The Amazon Resource Name (ARN) of the monitoring schedule.</p> #[serde(rename = "MonitoringScheduleArn")] pub monitoring_schedule_arn: String, } #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct CreateNotebookInstanceInput { /// <p>A list of Elastic Inference (EI) instance types to associate with this notebook instance. Currently, only one instance type can be associated with a notebook instance. For more information, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/ei.html">Using Elastic Inference in Amazon SageMaker</a>.</p> #[serde(rename = "AcceleratorTypes")] #[serde(skip_serializing_if = "Option::is_none")] pub accelerator_types: Option<Vec<String>>, /// <p>An array of up to three Git repositories to associate with the notebook instance. These can be either the names of Git repositories stored as resources in your account, or the URL of Git repositories in <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html">AWS CodeCommit</a> or in any other Git repository. These repositories are cloned at the same level as the default repository of your notebook instance. For more information, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/nbi-git-repo.html">Associating Git Repositories with Amazon SageMaker Notebook Instances</a>.</p> #[serde(rename = "AdditionalCodeRepositories")] #[serde(skip_serializing_if = "Option::is_none")] pub additional_code_repositories: Option<Vec<String>>, /// <p>A Git repository to associate with the notebook instance as its default code repository. This can be either the name of a Git repository stored as a resource in your account, or the URL of a Git repository in <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html">AWS CodeCommit</a> or in any other Git repository. When you open a notebook instance, it opens in the directory that contains this repository. For more information, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/nbi-git-repo.html">Associating Git Repositories with Amazon SageMaker Notebook Instances</a>.</p> #[serde(rename = "DefaultCodeRepository")] #[serde(skip_serializing_if = "Option::is_none")] pub default_code_repository: Option<String>, /// <p>Sets whether Amazon SageMaker provides internet access to the notebook instance. If you set this to <code>Disabled</code> this notebook instance will be able to access resources only in your VPC, and will not be able to connect to Amazon SageMaker training and endpoint services unless your configure a NAT Gateway in your VPC.</p> <p>For more information, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/appendix-additional-considerations.html#appendix-notebook-and-internet-access">Notebook Instances Are Internet-Enabled by Default</a>. You can set the value of this parameter to <code>Disabled</code> only if you set a value for the <code>SubnetId</code> parameter.</p> #[serde(rename = "DirectInternetAccess")] #[serde(skip_serializing_if = "Option::is_none")] pub direct_internet_access: Option<String>, /// <p>The type of ML compute instance to launch for the notebook instance.</p> #[serde(rename = "InstanceType")] pub instance_type: String, /// <p>The Amazon Resource Name (ARN) of a AWS Key Management Service key that Amazon SageMaker uses to encrypt data on the storage volume attached to your notebook instance. The KMS key you provide must be enabled. For information, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/enabling-keys.html">Enabling and Disabling Keys</a> in the <i>AWS Key Management Service Developer Guide</i>.</p> #[serde(rename = "KmsKeyId")] #[serde(skip_serializing_if = "Option::is_none")] pub kms_key_id: Option<String>, /// <p>The name of a lifecycle configuration to associate with the notebook instance. For information about lifestyle configurations, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/notebook-lifecycle-config.html">Step 2.1: (Optional) Customize a Notebook Instance</a>.</p> #[serde(rename = "LifecycleConfigName")] #[serde(skip_serializing_if = "Option::is_none")] pub lifecycle_config_name: Option<String>, /// <p>The name of the new notebook instance.</p> #[serde(rename = "NotebookInstanceName")] pub notebook_instance_name: String, /// <p><p> When you send any requests to AWS resources from the notebook instance, Amazon SageMaker assumes this role to perform tasks on your behalf. You must grant this role necessary permissions so Amazon SageMaker can perform these tasks. The policy must allow the Amazon SageMaker service principal (sagemaker.amazonaws.com) permissions to assume this role. For more information, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/sagemaker-roles.html">Amazon SageMaker Roles</a>. </p> <note> <p>To be able to pass this role to Amazon SageMaker, the caller of this API must have the <code>iam:PassRole</code> permission.</p> </note></p> #[serde(rename = "RoleArn")] pub role_arn: String, /// <p><p>Whether root access is enabled or disabled for users of the notebook instance. The default value is <code>Enabled</code>.</p> <note> <p>Lifecycle configurations need root access to be able to set up a notebook instance. Because of this, lifecycle configurations associated with a notebook instance always run with root access even if you disable root access for users.</p> </note></p> #[serde(rename = "RootAccess")] #[serde(skip_serializing_if = "Option::is_none")] pub root_access: Option<String>, /// <p>The VPC security group IDs, in the form sg-xxxxxxxx. The security groups must be for the same VPC as specified in the subnet. </p> #[serde(rename = "SecurityGroupIds")] #[serde(skip_serializing_if = "Option::is_none")] pub security_group_ids: Option<Vec<String>>, /// <p>The ID of the subnet in a VPC to which you would like to have a connectivity from your ML compute instance. </p> #[serde(rename = "SubnetId")] #[serde(skip_serializing_if = "Option::is_none")] pub subnet_id: Option<String>, /// <p>A list of tags to associate with the notebook instance. You can add tags later by using the <code>CreateTags</code> API.</p> #[serde(rename = "Tags")] #[serde(skip_serializing_if = "Option::is_none")] pub tags: Option<Vec<Tag>>, /// <p>The size, in GB, of the ML storage volume to attach to the notebook instance. The default value is 5 GB.</p> #[serde(rename = "VolumeSizeInGB")] #[serde(skip_serializing_if = "Option::is_none")] pub volume_size_in_gb: Option<i64>, } #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct CreateNotebookInstanceLifecycleConfigInput { /// <p>The name of the lifecycle configuration.</p> #[serde(rename = "NotebookInstanceLifecycleConfigName")] pub notebook_instance_lifecycle_config_name: String, /// <p>A shell script that runs only once, when you create a notebook instance. The shell script must be a base64-encoded string.</p> #[serde(rename = "OnCreate")] #[serde(skip_serializing_if = "Option::is_none")] pub on_create: Option<Vec<NotebookInstanceLifecycleHook>>, /// <p>A shell script that runs every time you start a notebook instance, including when you create the notebook instance. The shell script must be a base64-encoded string.</p> #[serde(rename = "OnStart")] #[serde(skip_serializing_if = "Option::is_none")] pub on_start: Option<Vec<NotebookInstanceLifecycleHook>>, } #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct CreateNotebookInstanceLifecycleConfigOutput { /// <p>The Amazon Resource Name (ARN) of the lifecycle configuration.</p> #[serde(rename = "NotebookInstanceLifecycleConfigArn")] #[serde(skip_serializing_if = "Option::is_none")] pub notebook_instance_lifecycle_config_arn: Option<String>, } #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct CreateNotebookInstanceOutput { /// <p>The Amazon Resource Name (ARN) of the notebook instance. </p> #[serde(rename = "NotebookInstanceArn")] #[serde(skip_serializing_if = "Option::is_none")] pub notebook_instance_arn: Option<String>, } #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct CreatePresignedDomainUrlRequest { /// <p>The domain ID.</p> #[serde(rename = "DomainId")] pub domain_id: String, /// <p>The session expiration duration in seconds.</p> #[serde(rename = "SessionExpirationDurationInSeconds")] #[serde(skip_serializing_if = "Option::is_none")] pub session_expiration_duration_in_seconds: Option<i64>, /// <p>The name of the UserProfile to sign-in as.</p> #[serde(rename = "UserProfileName")] pub user_profile_name: String, } #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct CreatePresignedDomainUrlResponse { /// <p>The presigned URL.</p> #[serde(rename = "AuthorizedUrl")] #[serde(skip_serializing_if = "Option::is_none")] pub authorized_url: Option<String>, } #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct CreatePresignedNotebookInstanceUrlInput { /// <p>The name of the notebook instance.</p> #[serde(rename = "NotebookInstanceName")] pub notebook_instance_name: String, /// <p>The duration of the session, in seconds. The default is 12 hours.</p> #[serde(rename = "SessionExpirationDurationInSeconds")] #[serde(skip_serializing_if = "Option::is_none")] pub session_expiration_duration_in_seconds: Option<i64>, } #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct CreatePresignedNotebookInstanceUrlOutput { /// <p>A JSON object that contains the URL string. </p> #[serde(rename = "AuthorizedUrl")] #[serde(skip_serializing_if = "Option::is_none")] pub authorized_url: Option<String>, } #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct CreateProcessingJobRequest { /// <p>Configures the processing job to run a specified Docker container image.</p> #[serde(rename = "AppSpecification")] pub app_specification: AppSpecification, /// <p>Sets the environment variables in the Docker container.</p> #[serde(rename = "Environment")] #[serde(skip_serializing_if = "Option::is_none")] pub environment: Option<::std::collections::HashMap<String, String>>, #[serde(rename = "ExperimentConfig")] #[serde(skip_serializing_if = "Option::is_none")] pub experiment_config: Option<ExperimentConfig>, /// <p>Networking options for a processing job.</p> #[serde(rename = "NetworkConfig")] #[serde(skip_serializing_if = "Option::is_none")] pub network_config: Option<NetworkConfig>, /// <p>For each input, data is downloaded from S3 into the processing container before the processing job begins running if "S3InputMode" is set to <code>File</code>.</p> #[serde(rename = "ProcessingInputs")] #[serde(skip_serializing_if = "Option::is_none")] pub processing_inputs: Option<Vec<ProcessingInput>>, /// <p> The name of the processing job. The name must be unique within an AWS Region in the AWS account.</p> #[serde(rename = "ProcessingJobName")] pub processing_job_name: String, /// <p>Output configuration for the processing job.</p> #[serde(rename = "ProcessingOutputConfig")] #[serde(skip_serializing_if = "Option::is_none")] pub processing_output_config: Option<ProcessingOutputConfig>, /// <p>Identifies the resources, ML compute instances, and ML storage volumes to deploy for a processing job. In distributed training, you specify more than one instance.</p> #[serde(rename = "ProcessingResources")] pub processing_resources: ProcessingResources, /// <p>The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker can assume to perform tasks on your behalf.</p> #[serde(rename = "RoleArn")] pub role_arn: String, /// <p>The time limit for how long the processing job is allowed to run.</p> #[serde(rename = "StoppingCondition")] #[serde(skip_serializing_if = "Option::is_none")] pub stopping_condition: Option<ProcessingStoppingCondition>, /// <p>(Optional) An array of key-value pairs. For more information, see <a href="https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html#allocation-whatURL">Using Cost Allocation Tags</a> in the <i>AWS Billing and Cost Management User Guide</i>.</p> #[serde(rename = "Tags")] #[serde(skip_serializing_if = "Option::is_none")] pub tags: Option<Vec<Tag>>, } #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct CreateProcessingJobResponse { /// <p>The Amazon Resource Name (ARN) of the processing job.</p> #[serde(rename = "ProcessingJobArn")] pub processing_job_arn: String, } #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct CreateTrainingJobRequest { /// <p>The registry path of the Docker image that contains the training algorithm and algorithm-specific metadata, including the input mode. For more information about algorithms provided by Amazon SageMaker, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/algos.html">Algorithms</a>. For information about providing your own algorithms, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/your-algorithms.html">Using Your Own Algorithms with Amazon SageMaker</a>. </p> #[serde(rename = "AlgorithmSpecification")] pub algorithm_specification: AlgorithmSpecification, /// <p>Contains information about the output location for managed spot training checkpoint data.</p> #[serde(rename = "CheckpointConfig")] #[serde(skip_serializing_if = "Option::is_none")] pub checkpoint_config: Option<CheckpointConfig>, #[serde(rename = "DebugHookConfig")] #[serde(skip_serializing_if = "Option::is_none")] pub debug_hook_config: Option<DebugHookConfig>, /// <p>Configuration information for debugging rules.</p> #[serde(rename = "DebugRuleConfigurations")] #[serde(skip_serializing_if = "Option::is_none")] pub debug_rule_configurations: Option<Vec<DebugRuleConfiguration>>, /// <p>To encrypt all communications between ML compute instances in distributed training, choose <code>True</code>. Encryption provides greater security for distributed training, but training might take longer. How long it takes depends on the amount of communication between compute instances, especially if you use a deep learning algorithm in distributed training. For more information, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/train-encrypt.html">Protect Communications Between ML Compute Instances in a Distributed Training Job</a>.</p> #[serde(rename = "EnableInterContainerTrafficEncryption")] #[serde(skip_serializing_if = "Option::is_none")] pub enable_inter_container_traffic_encryption: Option<bool>, /// <p>To train models using managed spot training, choose <code>True</code>. Managed spot training provides a fully managed and scalable infrastructure for training machine learning models. this option is useful when training jobs can be interrupted and when there is flexibility when the training job is run. </p> <p>The complete and intermediate results of jobs are stored in an Amazon S3 bucket, and can be used as a starting point to train models incrementally. Amazon SageMaker provides metrics and logs in CloudWatch. They can be used to see when managed spot training jobs are running, interrupted, resumed, or completed. </p> #[serde(rename = "EnableManagedSpotTraining")] #[serde(skip_serializing_if = "Option::is_none")] pub enable_managed_spot_training: Option<bool>, /// <p>Isolates the training container. No inbound or outbound network calls can be made, except for calls between peers within a training cluster for distributed training. If you enable network isolation for training jobs that are configured to use a VPC, Amazon SageMaker downloads and uploads customer data and model artifacts through the specified VPC, but the training container does not have network access.</p> #[serde(rename = "EnableNetworkIsolation")] #[serde(skip_serializing_if = "Option::is_none")] pub enable_network_isolation: Option<bool>, #[serde(rename = "ExperimentConfig")] #[serde(skip_serializing_if = "Option::is_none")] pub experiment_config: Option<ExperimentConfig>, /// <p>Algorithm-specific parameters that influence the quality of the model. You set hyperparameters before you start the learning process. For a list of hyperparameters for each training algorithm provided by Amazon SageMaker, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/algos.html">Algorithms</a>. </p> <p>You can specify a maximum of 100 hyperparameters. Each hyperparameter is a key-value pair. Each key and value is limited to 256 characters, as specified by the <code>Length Constraint</code>. </p> #[serde(rename = "HyperParameters")] #[serde(skip_serializing_if = "Option::is_none")] pub hyper_parameters: Option<::std::collections::HashMap<String, String>>, /// <p>An array of <code>Channel</code> objects. Each channel is a named input source. <code>InputDataConfig</code> describes the input data and its location. </p> <p>Algorithms can accept input data from one or more channels. For example, an algorithm might have two channels of input data, <code>training_data</code> and <code>validation_data</code>. The configuration for each channel provides the S3, EFS, or FSx location where the input data is stored. It also provides information about the stored data: the MIME type, compression method, and whether the data is wrapped in RecordIO format. </p> <p>Depending on the input mode that the algorithm supports, Amazon SageMaker either copies input data files from an S3 bucket to a local directory in the Docker container, or makes it available as input streams. For example, if you specify an EFS location, input data files will be made available as input streams. They do not need to be downloaded.</p> #[serde(rename = "InputDataConfig")] #[serde(skip_serializing_if = "Option::is_none")] pub input_data_config: Option<Vec<Channel>>, /// <p>Specifies the path to the S3 location where you want to store model artifacts. Amazon SageMaker creates subfolders for the artifacts. </p> #[serde(rename = "OutputDataConfig")] pub output_data_config: OutputDataConfig, /// <p>The resources, including the ML compute instances and ML storage volumes, to use for model training. </p> <p>ML storage volumes store model artifacts and incremental states. Training algorithms might also use ML storage volumes for scratch space. If you want Amazon SageMaker to use the ML storage volume to store the training data, choose <code>File</code> as the <code>TrainingInputMode</code> in the algorithm specification. For distributed training algorithms, specify an instance count greater than 1.</p> #[serde(rename = "ResourceConfig")] pub resource_config: ResourceConfig, /// <p><p>The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker can assume to perform tasks on your behalf. </p> <p>During model training, Amazon SageMaker needs your permission to read input data from an S3 bucket, download a Docker image that contains training code, write model artifacts to an S3 bucket, write logs to Amazon CloudWatch Logs, and publish metrics to Amazon CloudWatch. You grant permissions for all of these tasks to an IAM role. For more information, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/sagemaker-roles.html">Amazon SageMaker Roles</a>. </p> <note> <p>To be able to pass this role to Amazon SageMaker, the caller of this API must have the <code>iam:PassRole</code> permission.</p> </note></p> #[serde(rename = "RoleArn")] pub role_arn: String, /// <p>Specifies a limit to how long a model training job can run. When the job reaches the time limit, Amazon SageMaker ends the training job. Use this API to cap model training costs.</p> <p>To stop a job, Amazon SageMaker sends the algorithm the <code>SIGTERM</code> signal, which delays job termination for 120 seconds. Algorithms can use this 120-second window to save the model artifacts, so the results of training are not lost. </p> #[serde(rename = "StoppingCondition")] pub stopping_condition: StoppingCondition, /// <p>An array of key-value pairs. For more information, see <a href="https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html#allocation-what">Using Cost Allocation Tags</a> in the <i>AWS Billing and Cost Management User Guide</i>. </p> #[serde(rename = "Tags")] #[serde(skip_serializing_if = "Option::is_none")] pub tags: Option<Vec<Tag>>, #[serde(rename = "TensorBoardOutputConfig")] #[serde(skip_serializing_if = "Option::is_none")] pub tensor_board_output_config: Option<TensorBoardOutputConfig>, /// <p>The name of the training job. The name must be unique within an AWS Region in an AWS account. </p> #[serde(rename = "TrainingJobName")] pub training_job_name: String, /// <p>A <a>VpcConfig</a> object that specifies the VPC that you want your training job to connect to. Control access to and from your training container by configuring the VPC. For more information, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/train-vpc.html">Protect Training Jobs by Using an Amazon Virtual Private Cloud</a>.</p> #[serde(rename = "VpcConfig")] #[serde(skip_serializing_if = "Option::is_none")] pub vpc_config: Option<VpcConfig>, } #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct CreateTrainingJobResponse { /// <p>The Amazon Resource Name (ARN) of the training job.</p> #[serde(rename = "TrainingJobArn")] pub training_job_arn: String, } #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct CreateTransformJobRequest { /// <p>Specifies the number of records to include in a mini-batch for an HTTP inference request. A <i>record</i> <i/> is a single unit of input data that inference can be made on. For example, a single line in a CSV file is a record. </p> <p>To enable the batch strategy, you must set the <code>SplitType</code> property to <code>Line</code>, <code>RecordIO</code>, or <code>TFRecord</code>.</p> <p>To use only one record when making an HTTP invocation request to a container, set <code>BatchStrategy</code> to <code>SingleRecord</code> and <code>SplitType</code> to <code>Line</code>.</p> <p>To fit as many records in a mini-batch as can fit within the <code>MaxPayloadInMB</code> limit, set <code>BatchStrategy</code> to <code>MultiRecord</code> and <code>SplitType</code> to <code>Line</code>.</p> #[serde(rename = "BatchStrategy")] #[serde(skip_serializing_if = "Option::is_none")] pub batch_strategy: Option<String>, /// <p>The data structure used to specify the data to be used for inference in a batch transform job and to associate the data that is relevant to the prediction results in the output. The input filter provided allows you to exclude input data that is not needed for inference in a batch transform job. The output filter provided allows you to include input data relevant to interpreting the predictions in the output from the job. For more information, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/batch-transform-data-processing.html">Associate Prediction Results with their Corresponding Input Records</a>.</p> #[serde(rename = "DataProcessing")] #[serde(skip_serializing_if = "Option::is_none")] pub data_processing: Option<DataProcessing>, /// <p>The environment variables to set in the Docker container. We support up to 16 key and values entries in the map.</p> #[serde(rename = "Environment")] #[serde(skip_serializing_if = "Option::is_none")] pub environment: Option<::std::collections::HashMap<String, String>>, #[serde(rename = "ExperimentConfig")] #[serde(skip_serializing_if = "Option::is_none")] pub experiment_config: Option<ExperimentConfig>, /// <p>The maximum number of parallel requests that can be sent to each instance in a transform job. If <code>MaxConcurrentTransforms</code> is set to <code>0</code> or left unset, Amazon SageMaker checks the optional execution-parameters to determine the settings for your chosen algorithm. If the execution-parameters endpoint is not enabled, the default value is <code>1</code>. For more information on execution-parameters, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/your-algorithms-batch-code.html#your-algorithms-batch-code-how-containe-serves-requests">How Containers Serve Requests</a>. For built-in algorithms, you don't need to set a value for <code>MaxConcurrentTransforms</code>.</p> #[serde(rename = "MaxConcurrentTransforms")] #[serde(skip_serializing_if = "Option::is_none")] pub max_concurrent_transforms: Option<i64>, /// <p>The maximum allowed size of the payload, in MB. A <i>payload</i> is the data portion of a record (without metadata). The value in <code>MaxPayloadInMB</code> must be greater than, or equal to, the size of a single record. To estimate the size of a record in MB, divide the size of your dataset by the number of records. To ensure that the records fit within the maximum payload size, we recommend using a slightly larger value. The default value is <code>6</code> MB. </p> <p>For cases where the payload might be arbitrarily large and is transmitted using HTTP chunked encoding, set the value to <code>0</code>. This feature works only in supported algorithms. Currently, Amazon SageMaker built-in algorithms do not support HTTP chunked encoding.</p> #[serde(rename = "MaxPayloadInMB")] #[serde(skip_serializing_if = "Option::is_none")] pub max_payload_in_mb: Option<i64>, /// <p>Configures the timeout and maximum number of retries for processing a transform job invocation.</p> #[serde(rename = "ModelClientConfig")] #[serde(skip_serializing_if = "Option::is_none")] pub model_client_config: Option<ModelClientConfig>, /// <p>The name of the model that you want to use for the transform job. <code>ModelName</code> must be the name of an existing Amazon SageMaker model within an AWS Region in an AWS account.</p> #[serde(rename = "ModelName")] pub model_name: String, /// <p>(Optional) An array of key-value pairs. For more information, see <a href="https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html#allocation-what">Using Cost Allocation Tags</a> in the <i>AWS Billing and Cost Management User Guide</i>.</p> #[serde(rename = "Tags")] #[serde(skip_serializing_if = "Option::is_none")] pub tags: Option<Vec<Tag>>, /// <p>Describes the input source and the way the transform job consumes it.</p> #[serde(rename = "TransformInput")] pub transform_input: TransformInput, /// <p>The name of the transform job. The name must be unique within an AWS Region in an AWS account. </p> #[serde(rename = "TransformJobName")] pub transform_job_name: String, /// <p>Describes the results of the transform job.</p> #[serde(rename = "TransformOutput")] pub transform_output: TransformOutput, /// <p>Describes the resources, including ML instance types and ML instance count, to use for the transform job.</p> #[serde(rename = "TransformResources")] pub transform_resources: TransformResources, } #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct CreateTransformJobResponse { /// <p>The Amazon Resource Name (ARN) of the transform job.</p> #[serde(rename = "TransformJobArn")] pub transform_job_arn: String, } #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct CreateTrialComponentRequest { /// <p>The name of the component as displayed. The name doesn't need to be unique. If <code>DisplayName</code> isn't specified, <code>TrialComponentName</code> is displayed.</p> #[serde(rename = "DisplayName")] #[serde(skip_serializing_if = "Option::is_none")] pub display_name: Option<String>, /// <p>When the component ended.</p> #[serde(rename = "EndTime")] #[serde(skip_serializing_if = "Option::is_none")] pub end_time: Option<f64>, /// <p>The input artifacts for the component. Examples of input artifacts are datasets, algorithms, hyperparameters, source code, and instance types.</p> #[serde(rename = "InputArtifacts")] #[serde(skip_serializing_if = "Option::is_none")] pub input_artifacts: Option<::std::collections::HashMap<String, TrialComponentArtifact>>, /// <p>The output artifacts for the component. Examples of output artifacts are metrics, snapshots, logs, and images.</p> #[serde(rename = "OutputArtifacts")] #[serde(skip_serializing_if = "Option::is_none")] pub output_artifacts: Option<::std::collections::HashMap<String, TrialComponentArtifact>>, /// <p>The hyperparameters for the component.</p> #[serde(rename = "Parameters")] #[serde(skip_serializing_if = "Option::is_none")] pub parameters: Option<::std::collections::HashMap<String, TrialComponentParameterValue>>, /// <p>When the component started.</p> #[serde(rename = "StartTime")] #[serde(skip_serializing_if = "Option::is_none")] pub start_time: Option<f64>, /// <p><p>The status of the component. States include:</p> <ul> <li> <p>InProgress</p> </li> <li> <p>Completed</p> </li> <li> <p>Failed</p> </li> </ul></p> #[serde(rename = "Status")] #[serde(skip_serializing_if = "Option::is_none")] pub status: Option<TrialComponentStatus>, /// <p>A list of tags to associate with the component. You can use <a>Search</a> API to search on the tags.</p> #[serde(rename = "Tags")] #[serde(skip_serializing_if = "Option::is_none")] pub tags: Option<Vec<Tag>>, /// <p>The name of the component. The name must be unique in your AWS account and is not case-sensitive.</p> #[serde(rename = "TrialComponentName")] pub trial_component_name: String, } #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct CreateTrialComponentResponse { /// <p>The Amazon Resource Name (ARN) of the trial component.</p> #[serde(rename = "TrialComponentArn")] #[serde(skip_serializing_if = "Option::is_none")] pub trial_component_arn: Option<String>, } #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct CreateTrialRequest { /// <p>The name of the trial as displayed. The name doesn't need to be unique. If <code>DisplayName</code> isn't specified, <code>TrialName</code> is displayed.</p> #[serde(rename = "DisplayName")] #[serde(skip_serializing_if = "Option::is_none")] pub display_name: Option<String>, /// <p>The name of the experiment to associate the trial with.</p> #[serde(rename = "ExperimentName")] pub experiment_name: String, /// <p>A list of tags to associate with the trial. You can use <a>Search</a> API to search on the tags.</p> #[serde(rename = "Tags")] #[serde(skip_serializing_if = "Option::is_none")] pub tags: Option<Vec<Tag>>, /// <p>The name of the trial. The name must be unique in your AWS account and is not case-sensitive.</p> #[serde(rename = "TrialName")] pub trial_name: String, } #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct CreateTrialResponse { /// <p>The Amazon Resource Name (ARN) of the trial.</p> #[serde(rename = "TrialArn")] #[serde(skip_serializing_if = "Option::is_none")] pub trial_arn: Option<String>, } #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct CreateUserProfileRequest { /// <p>The ID of the associated Domain.</p> #[serde(rename = "DomainId")] pub domain_id: String, /// <p>A specifier for the type of value specified in SingleSignOnUserValue. Currently, the only supported value is "UserName". If the Domain's AuthMode is SSO, this field is required. If the Domain's AuthMode is not SSO, this field cannot be specified. </p> #[serde(rename = "SingleSignOnUserIdentifier")] #[serde(skip_serializing_if = "Option::is_none")] pub single_sign_on_user_identifier: Option<String>, /// <p>The username of the associated AWS Single Sign-On User for this UserProfile. If the Domain's AuthMode is SSO, this field is required, and must match a valid username of a user in your directory. If the Domain's AuthMode is not SSO, this field cannot be specified. </p> #[serde(rename = "SingleSignOnUserValue")] #[serde(skip_serializing_if = "Option::is_none")] pub single_sign_on_user_value: Option<String>, /// <p>Each tag consists of a key and an optional value. Tag keys must be unique per resource.</p> #[serde(rename = "Tags")] #[serde(skip_serializing_if = "Option::is_none")] pub tags: Option<Vec<Tag>>, /// <p>A name for the UserProfile.</p> #[serde(rename = "UserProfileName")] pub user_profile_name: String, /// <p>A collection of settings.</p> #[serde(rename = "UserSettings")] #[serde(skip_serializing_if = "Option::is_none")] pub user_settings: Option<UserSettings>, } #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct CreateUserProfileResponse { /// <p>The user profile Amazon Resource Name (ARN).</p> #[serde(rename = "UserProfileArn")] #[serde(skip_serializing_if = "Option::is_none")] pub user_profile_arn: Option<String>, } #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct CreateWorkteamRequest { /// <p>A description of the work team.</p> #[serde(rename = "Description")] pub description: String, /// <p>A list of <code>MemberDefinition</code> objects that contains objects that identify the Amazon Cognito user pool that makes up the work team. For more information, see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools.html">Amazon Cognito User Pools</a>.</p> <p>All of the <code>CognitoMemberDefinition</code> objects that make up the member definition must have the same <code>ClientId</code> and <code>UserPool</code> values.</p> #[serde(rename = "MemberDefinitions")] pub member_definitions: Vec<MemberDefinition>, /// <p>Configures notification of workers regarding available or expiring work items.</p> #[serde(rename = "NotificationConfiguration")] #[serde(skip_serializing_if = "Option::is_none")] pub notification_configuration: Option<NotificationConfiguration>, /// <p>An array of key-value pairs.</p> <p>For more information, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html">Resource Tag</a> and <a href="https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html#allocation-what">Using Cost Allocation Tags</a> in the <i> AWS Billing and Cost Management User Guide</i>.</p> #[serde(rename = "Tags")] #[serde(skip_serializing_if = "Option::is_none")] pub tags: Option<Vec<Tag>>, /// <p>The name of the work team. Use this name to identify the work team.</p> #[serde(rename = "WorkteamName")] pub workteam_name: String, } #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct CreateWorkteamResponse { /// <p>The Amazon Resource Name (ARN) of the work team. You can use this ARN to identify the work team.</p> #[serde(rename = "WorkteamArn")] #[serde(skip_serializing_if = "Option::is_none")] pub workteam_arn: Option<String>, } /// <p><p/></p> #[derive(Clone, Debug, Default, Deserialize, PartialEq, Serialize)] pub struct DataCaptureConfig { /// <p><p/></p> #[serde(rename = "CaptureContentTypeHeader")] #[serde(skip_serializing_if = "Option::is_none")] pub capture_content_type_header: Option<CaptureContentTypeHeader>, /// <p><p/></p> #[serde(rename = "CaptureOptions")] pub capture_options: Vec<CaptureOption>, /// <p><p/></p> #[serde(rename = "DestinationS3Uri")] pub destination_s3_uri: String, /// <p><p/></p> #[serde(rename = "EnableCapture")] #[serde(skip_serializing_if = "Option::is_none")] pub enable_capture: Option<bool>, /// <p><p/></p> #[serde(rename = "InitialSamplingPercentage")] pub initial_sampling_percentage: i64, /// <p><p/></p> #[serde(rename = "KmsKeyId")] #[serde(skip_serializing_if = "Option::is_none")] pub kms_key_id: Option<String>, } /// <p><p/></p> #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct DataCaptureConfigSummary { /// <p><p/></p> #[serde(rename = "CaptureStatus")] pub capture_status: String, /// <p><p/></p> #[serde(rename = "CurrentSamplingPercentage")] pub current_sampling_percentage: i64, /// <p><p/></p> #[serde(rename = "DestinationS3Uri")] pub destination_s3_uri: String, /// <p><p/></p> #[serde(rename = "EnableCapture")] pub enable_capture: bool, /// <p><p/></p> #[serde(rename = "KmsKeyId")] pub kms_key_id: String, } /// <p>The data structure used to specify the data to be used for inference in a batch transform job and to associate the data that is relevant to the prediction results in the output. The input filter provided allows you to exclude input data that is not needed for inference in a batch transform job. The output filter provided allows you to include input data relevant to interpreting the predictions in the output from the job. For more information, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/batch-transform-data-processing.html">Associate Prediction Results with their Corresponding Input Records</a>.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq, Serialize)] pub struct DataProcessing { /// <p>A <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/batch-transform-data-processing.html#data-processing-operators">JSONPath</a> expression used to select a portion of the input data to pass to the algorithm. Use the <code>InputFilter</code> parameter to exclude fields, such as an ID column, from the input. If you want Amazon SageMaker to pass the entire input dataset to the algorithm, accept the default value <code>$</code>.</p> <p>Examples: <code>"$"</code>, <code>"$[1:]"</code>, <code>"$.features"</code> </p> #[serde(rename = "InputFilter")] #[serde(skip_serializing_if = "Option::is_none")] pub input_filter: Option<String>, /// <p>Specifies the source of the data to join with the transformed data. The valid values are <code>None</code> and <code>Input</code>. The default value is <code>None</code>, which specifies not to join the input with the transformed data. If you want the batch transform job to join the original input data with the transformed data, set <code>JoinSource</code> to <code>Input</code>. </p> <p>For JSON or JSONLines objects, such as a JSON array, Amazon SageMaker adds the transformed data to the input JSON object in an attribute called <code>SageMakerOutput</code>. The joined result for JSON must be a key-value pair object. If the input is not a key-value pair object, Amazon SageMaker creates a new JSON file. In the new JSON file, and the input data is stored under the <code>SageMakerInput</code> key and the results are stored in <code>SageMakerOutput</code>.</p> <p>For CSV files, Amazon SageMaker combines the transformed data with the input data at the end of the input data and stores it in the output file. The joined data has the joined input data followed by the transformed data and the output is a CSV file. </p> #[serde(rename = "JoinSource")] #[serde(skip_serializing_if = "Option::is_none")] pub join_source: Option<String>, /// <p>A <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/batch-transform-data-processing.html#data-processing-operators">JSONPath</a> expression used to select a portion of the joined dataset to save in the output file for a batch transform job. If you want Amazon SageMaker to store the entire input dataset in the output file, leave the default value, <code>$</code>. If you specify indexes that aren't within the dimension size of the joined dataset, you get an error.</p> <p>Examples: <code>"$"</code>, <code>"$[0,5:]"</code>, <code>"$['id','SageMakerOutput']"</code> </p> #[serde(rename = "OutputFilter")] #[serde(skip_serializing_if = "Option::is_none")] pub output_filter: Option<String>, } /// <p>Describes the location of the channel data.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq, Serialize)] pub struct DataSource { /// <p>The file system that is associated with a channel.</p> #[serde(rename = "FileSystemDataSource")] #[serde(skip_serializing_if = "Option::is_none")] pub file_system_data_source: Option<FileSystemDataSource>, /// <p>The S3 location of the data source that is associated with a channel.</p> #[serde(rename = "S3DataSource")] #[serde(skip_serializing_if = "Option::is_none")] pub s3_data_source: Option<S3DataSource>, } /// <p>Configuration information for the debug hook parameters, collection configuration, and storage paths.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq, Serialize)] pub struct DebugHookConfig { /// <p>Configuration information for tensor collections.</p> #[serde(rename = "CollectionConfigurations")] #[serde(skip_serializing_if = "Option::is_none")] pub collection_configurations: Option<Vec<CollectionConfiguration>>, /// <p>Configuration information for the debug hook parameters.</p> #[serde(rename = "HookParameters")] #[serde(skip_serializing_if = "Option::is_none")] pub hook_parameters: Option<::std::collections::HashMap<String, String>>, /// <p>Path to local storage location for tensors. Defaults to <code>/opt/ml/output/tensors/</code>.</p> #[serde(rename = "LocalPath")] #[serde(skip_serializing_if = "Option::is_none")] pub local_path: Option<String>, /// <p>Path to Amazon S3 storage location for tensors.</p> #[serde(rename = "S3OutputPath")] pub s3_output_path: String, } /// <p>Configuration information for debugging rules.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq, Serialize)] pub struct DebugRuleConfiguration { /// <p>The instance type to deploy for a training job.</p> #[serde(rename = "InstanceType")] #[serde(skip_serializing_if = "Option::is_none")] pub instance_type: Option<String>, /// <p>Path to local storage location for output of rules. Defaults to <code>/opt/ml/processing/output/rule/</code>.</p> #[serde(rename = "LocalPath")] #[serde(skip_serializing_if = "Option::is_none")] pub local_path: Option<String>, /// <p>The name of the rule configuration. It must be unique relative to other rule configuration names.</p> #[serde(rename = "RuleConfigurationName")] pub rule_configuration_name: String, /// <p>The Amazon Elastic Container (ECR) Image for the managed rule evaluation.</p> #[serde(rename = "RuleEvaluatorImage")] pub rule_evaluator_image: String, /// <p> Runtime configuration for rule container.</p> #[serde(rename = "RuleParameters")] #[serde(skip_serializing_if = "Option::is_none")] pub rule_parameters: Option<::std::collections::HashMap<String, String>>, /// <p>Path to Amazon S3 storage location for rules.</p> #[serde(rename = "S3OutputPath")] #[serde(skip_serializing_if = "Option::is_none")] pub s3_output_path: Option<String>, /// <p>The size, in GB, of the ML storage volume attached to the processing instance.</p> #[serde(rename = "VolumeSizeInGB")] #[serde(skip_serializing_if = "Option::is_none")] pub volume_size_in_gb: Option<i64>, } /// <p>Information about the status of the rule evaluation.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct DebugRuleEvaluationStatus { /// <p>Timestamp when the rule evaluation status was last modified.</p> #[serde(rename = "LastModifiedTime")] #[serde(skip_serializing_if = "Option::is_none")] pub last_modified_time: Option<f64>, /// <p>The name of the rule configuration</p> #[serde(rename = "RuleConfigurationName")] #[serde(skip_serializing_if = "Option::is_none")] pub rule_configuration_name: Option<String>, /// <p>The Amazon Resource Name (ARN) of the rule evaluation job.</p> #[serde(rename = "RuleEvaluationJobArn")] #[serde(skip_serializing_if = "Option::is_none")] pub rule_evaluation_job_arn: Option<String>, /// <p>Status of the rule evaluation.</p> #[serde(rename = "RuleEvaluationStatus")] #[serde(skip_serializing_if = "Option::is_none")] pub rule_evaluation_status: Option<String>, /// <p>Details from the rule evaluation.</p> #[serde(rename = "StatusDetails")] #[serde(skip_serializing_if = "Option::is_none")] pub status_details: Option<String>, } #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct DeleteAlgorithmInput { /// <p>The name of the algorithm to delete.</p> #[serde(rename = "AlgorithmName")] pub algorithm_name: String, } #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct DeleteAppRequest { /// <p>The name of the app.</p> #[serde(rename = "AppName")] pub app_name: String, /// <p>The type of app.</p> #[serde(rename = "AppType")] pub app_type: String, /// <p>The domain ID.</p> #[serde(rename = "DomainId")] pub domain_id: String, /// <p>The user profile name.</p> #[serde(rename = "UserProfileName")] pub user_profile_name: String, } #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct DeleteCodeRepositoryInput { /// <p>The name of the Git repository to delete.</p> #[serde(rename = "CodeRepositoryName")] pub code_repository_name: String, } #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct DeleteDomainRequest { /// <p>The domain ID.</p> #[serde(rename = "DomainId")] pub domain_id: String, /// <p>The retention policy for this domain, which specifies whether resources will be retained after the Domain is deleted. By default, all resources are retained (not automatically deleted). </p> #[serde(rename = "RetentionPolicy")] #[serde(skip_serializing_if = "Option::is_none")] pub retention_policy: Option<RetentionPolicy>, } #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct DeleteEndpointConfigInput { /// <p>The name of the endpoint configuration that you want to delete.</p> #[serde(rename = "EndpointConfigName")] pub endpoint_config_name: String, } #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct DeleteEndpointInput { /// <p>The name of the endpoint that you want to delete.</p> #[serde(rename = "EndpointName")] pub endpoint_name: String, } #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct DeleteExperimentRequest { /// <p>The name of the experiment to delete.</p> #[serde(rename = "ExperimentName")] pub experiment_name: String, } #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct DeleteExperimentResponse { /// <p>The Amazon Resource Name (ARN) of the experiment that is being deleted.</p> #[serde(rename = "ExperimentArn")] #[serde(skip_serializing_if = "Option::is_none")] pub experiment_arn: Option<String>, } #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct DeleteFlowDefinitionRequest { /// <p>The name of the flow definition you are deleting.</p> #[serde(rename = "FlowDefinitionName")] pub flow_definition_name: String, } #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct DeleteFlowDefinitionResponse {} #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct DeleteHumanTaskUiRequest { /// <p>The name of the human task user interface (work task template) you want to delete.</p> #[serde(rename = "HumanTaskUiName")] pub human_task_ui_name: String, } #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct DeleteHumanTaskUiResponse {} #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct DeleteModelInput { /// <p>The name of the model to delete.</p> #[serde(rename = "ModelName")] pub model_name: String, } #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct DeleteModelPackageInput { /// <p>The name of the model package. The name must have 1 to 63 characters. Valid characters are a-z, A-Z, 0-9, and - (hyphen).</p> #[serde(rename = "ModelPackageName")] pub model_package_name: String, } #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct DeleteMonitoringScheduleRequest { /// <p>The name of the monitoring schedule to delete.</p> #[serde(rename = "MonitoringScheduleName")] pub monitoring_schedule_name: String, } #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct DeleteNotebookInstanceInput { /// <p>The name of the Amazon SageMaker notebook instance to delete.</p> #[serde(rename = "NotebookInstanceName")] pub notebook_instance_name: String, } #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct DeleteNotebookInstanceLifecycleConfigInput { /// <p>The name of the lifecycle configuration to delete.</p> #[serde(rename = "NotebookInstanceLifecycleConfigName")] pub notebook_instance_lifecycle_config_name: String, } #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct DeleteTagsInput { /// <p>The Amazon Resource Name (ARN) of the resource whose tags you want to delete.</p> #[serde(rename = "ResourceArn")] pub resource_arn: String, /// <p>An array or one or more tag keys to delete.</p> #[serde(rename = "TagKeys")] pub tag_keys: Vec<String>, } #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct DeleteTagsOutput {} #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct DeleteTrialComponentRequest { /// <p>The name of the component to delete.</p> #[serde(rename = "TrialComponentName")] pub trial_component_name: String, } #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct DeleteTrialComponentResponse { /// <p>The Amazon Resource Name (ARN) of the component is being deleted.</p> #[serde(rename = "TrialComponentArn")] #[serde(skip_serializing_if = "Option::is_none")] pub trial_component_arn: Option<String>, } #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct DeleteTrialRequest { /// <p>The name of the trial to delete.</p> #[serde(rename = "TrialName")] pub trial_name: String, } #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct DeleteTrialResponse { /// <p>The Amazon Resource Name (ARN) of the trial that is being deleted.</p> #[serde(rename = "TrialArn")] #[serde(skip_serializing_if = "Option::is_none")] pub trial_arn: Option<String>, } #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct DeleteUserProfileRequest { /// <p>The domain ID.</p> #[serde(rename = "DomainId")] pub domain_id: String, /// <p>The user profile name.</p> #[serde(rename = "UserProfileName")] pub user_profile_name: String, } #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct DeleteWorkteamRequest { /// <p>The name of the work team to delete.</p> #[serde(rename = "WorkteamName")] pub workteam_name: String, } #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct DeleteWorkteamResponse { /// <p>Returns <code>true</code> if the work team was successfully deleted; otherwise, returns <code>false</code>.</p> #[serde(rename = "Success")] pub success: bool, } /// <p>Gets the Amazon EC2 Container Registry path of the docker image of the model that is hosted in this <a>ProductionVariant</a>.</p> <p>If you used the <code>registry/repository[:tag]</code> form to specify the image path of the primary container when you created the model hosted in this <code>ProductionVariant</code>, the path resolves to a path of the form <code>registry/repository[@digest]</code>. A digest is a hash value that identifies a specific version of an image. For information about Amazon ECR paths, see <a href="https://docs.aws.amazon.com/AmazonECR/latest/userguide/docker-pull-ecr-image.html">Pulling an Image</a> in the <i>Amazon ECR User Guide</i>.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct DeployedImage { /// <p>The date and time when the image path for the model resolved to the <code>ResolvedImage</code> </p> #[serde(rename = "ResolutionTime")] #[serde(skip_serializing_if = "Option::is_none")] pub resolution_time: Option<f64>, /// <p>The specific digest path of the image hosted in this <code>ProductionVariant</code>.</p> #[serde(rename = "ResolvedImage")] #[serde(skip_serializing_if = "Option::is_none")] pub resolved_image: Option<String>, /// <p>The image path you specified when you created the model.</p> #[serde(rename = "SpecifiedImage")] #[serde(skip_serializing_if = "Option::is_none")] pub specified_image: Option<String>, } #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct DescribeAlgorithmInput { /// <p>The name of the algorithm to describe.</p> #[serde(rename = "AlgorithmName")] pub algorithm_name: String, } #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct DescribeAlgorithmOutput { /// <p>The Amazon Resource Name (ARN) of the algorithm.</p> #[serde(rename = "AlgorithmArn")] pub algorithm_arn: String, /// <p>A brief summary about the algorithm.</p> #[serde(rename = "AlgorithmDescription")] #[serde(skip_serializing_if = "Option::is_none")] pub algorithm_description: Option<String>, /// <p>The name of the algorithm being described.</p> #[serde(rename = "AlgorithmName")] pub algorithm_name: String, /// <p>The current status of the algorithm.</p> #[serde(rename = "AlgorithmStatus")] pub algorithm_status: String, /// <p>Details about the current status of the algorithm.</p> #[serde(rename = "AlgorithmStatusDetails")] pub algorithm_status_details: AlgorithmStatusDetails, /// <p>Whether the algorithm is certified to be listed in AWS Marketplace.</p> #[serde(rename = "CertifyForMarketplace")] #[serde(skip_serializing_if = "Option::is_none")] pub certify_for_marketplace: Option<bool>, /// <p>A timestamp specifying when the algorithm was created.</p> #[serde(rename = "CreationTime")] pub creation_time: f64, /// <p>Details about inference jobs that the algorithm runs.</p> #[serde(rename = "InferenceSpecification")] #[serde(skip_serializing_if = "Option::is_none")] pub inference_specification: Option<InferenceSpecification>, /// <p>The product identifier of the algorithm.</p> #[serde(rename = "ProductId")] #[serde(skip_serializing_if = "Option::is_none")] pub product_id: Option<String>, /// <p>Details about training jobs run by this algorithm.</p> #[serde(rename = "TrainingSpecification")] pub training_specification: TrainingSpecification, /// <p>Details about configurations for one or more training jobs that Amazon SageMaker runs to test the algorithm.</p> #[serde(rename = "ValidationSpecification")] #[serde(skip_serializing_if = "Option::is_none")] pub validation_specification: Option<AlgorithmValidationSpecification>, } #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct DescribeAppRequest { /// <p>The name of the app.</p> #[serde(rename = "AppName")] pub app_name: String, /// <p>The type of app.</p> #[serde(rename = "AppType")] pub app_type: String, /// <p>The domain ID.</p> #[serde(rename = "DomainId")] pub domain_id: String, /// <p>The user profile name.</p> #[serde(rename = "UserProfileName")] pub user_profile_name: String, } #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct DescribeAppResponse { /// <p>The app's Amazon Resource Name (ARN).</p> #[serde(rename = "AppArn")] #[serde(skip_serializing_if = "Option::is_none")] pub app_arn: Option<String>, /// <p>The name of the app.</p> #[serde(rename = "AppName")] #[serde(skip_serializing_if = "Option::is_none")] pub app_name: Option<String>, /// <p>The type of app.</p> #[serde(rename = "AppType")] #[serde(skip_serializing_if = "Option::is_none")] pub app_type: Option<String>, /// <p>The creation time.</p> #[serde(rename = "CreationTime")] #[serde(skip_serializing_if = "Option::is_none")] pub creation_time: Option<f64>, /// <p>The domain ID.</p> #[serde(rename = "DomainId")] #[serde(skip_serializing_if = "Option::is_none")] pub domain_id: Option<String>, /// <p>The failure reason.</p> #[serde(rename = "FailureReason")] #[serde(skip_serializing_if = "Option::is_none")] pub failure_reason: Option<String>, /// <p>The timestamp of the last health check.</p> #[serde(rename = "LastHealthCheckTimestamp")] #[serde(skip_serializing_if = "Option::is_none")] pub last_health_check_timestamp: Option<f64>, /// <p>The timestamp of the last user's activity.</p> #[serde(rename = "LastUserActivityTimestamp")] #[serde(skip_serializing_if = "Option::is_none")] pub last_user_activity_timestamp: Option<f64>, /// <p>The instance type and the Amazon Resource Name (ARN) of the SageMaker image created on the instance.</p> #[serde(rename = "ResourceSpec")] #[serde(skip_serializing_if = "Option::is_none")] pub resource_spec: Option<ResourceSpec>, /// <p>The status.</p> #[serde(rename = "Status")] #[serde(skip_serializing_if = "Option::is_none")] pub status: Option<String>, /// <p>The user profile name.</p> #[serde(rename = "UserProfileName")] #[serde(skip_serializing_if = "Option::is_none")] pub user_profile_name: Option<String>, } #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct DescribeAutoMLJobRequest { /// <p>Request information about a job using that job's unique name.</p> #[serde(rename = "AutoMLJobName")] pub auto_ml_job_name: String, } #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct DescribeAutoMLJobResponse { /// <p>Returns the job's ARN.</p> #[serde(rename = "AutoMLJobArn")] pub auto_ml_job_arn: String, /// <p>Returns information on the job's artifacts found in AutoMLJobArtifacts.</p> #[serde(rename = "AutoMLJobArtifacts")] #[serde(skip_serializing_if = "Option::is_none")] pub auto_ml_job_artifacts: Option<AutoMLJobArtifacts>, /// <p>Returns the job's config.</p> #[serde(rename = "AutoMLJobConfig")] #[serde(skip_serializing_if = "Option::is_none")] pub auto_ml_job_config: Option<AutoMLJobConfig>, /// <p>Returns the name of a job.</p> #[serde(rename = "AutoMLJobName")] pub auto_ml_job_name: String, /// <p>Returns the job's objective.</p> #[serde(rename = "AutoMLJobObjective")] #[serde(skip_serializing_if = "Option::is_none")] pub auto_ml_job_objective: Option<AutoMLJobObjective>, /// <p>Returns the job's AutoMLJobSecondaryStatus.</p> #[serde(rename = "AutoMLJobSecondaryStatus")] pub auto_ml_job_secondary_status: String, /// <p>Returns the job's AutoMLJobStatus.</p> #[serde(rename = "AutoMLJobStatus")] pub auto_ml_job_status: String, /// <p>Returns the job's BestCandidate.</p> #[serde(rename = "BestCandidate")] #[serde(skip_serializing_if = "Option::is_none")] pub best_candidate: Option<AutoMLCandidate>, /// <p>Returns the job's creation time.</p> #[serde(rename = "CreationTime")] pub creation_time: f64, /// <p>Returns the job's end time.</p> #[serde(rename = "EndTime")] #[serde(skip_serializing_if = "Option::is_none")] pub end_time: Option<f64>, /// <p>Returns the job's FailureReason.</p> #[serde(rename = "FailureReason")] #[serde(skip_serializing_if = "Option::is_none")] pub failure_reason: Option<String>, /// <p>Returns the job's output from GenerateCandidateDefinitionsOnly.</p> #[serde(rename = "GenerateCandidateDefinitionsOnly")] #[serde(skip_serializing_if = "Option::is_none")] pub generate_candidate_definitions_only: Option<bool>, /// <p>Returns the job's input data config.</p> #[serde(rename = "InputDataConfig")] pub input_data_config: Vec<AutoMLChannel>, /// <p>Returns the job's last modified time.</p> #[serde(rename = "LastModifiedTime")] pub last_modified_time: f64, /// <p>Returns the job's output data config.</p> #[serde(rename = "OutputDataConfig")] pub output_data_config: AutoMLOutputDataConfig, /// <p>Returns the job's problem type.</p> #[serde(rename = "ProblemType")] #[serde(skip_serializing_if = "Option::is_none")] pub problem_type: Option<String>, /// <p>This contains ProblemType, AutoMLJobObjective and CompletionCriteria. They're auto-inferred values, if not provided by you. If you do provide them, then they'll be the same as provided.</p> #[serde(rename = "ResolvedAttributes")] #[serde(skip_serializing_if = "Option::is_none")] pub resolved_attributes: Option<ResolvedAttributes>, /// <p>The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that has read permission to the input data location and write permission to the output data location in Amazon S3.</p> #[serde(rename = "RoleArn")] pub role_arn: String, } #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct DescribeCodeRepositoryInput { /// <p>The name of the Git repository to describe.</p> #[serde(rename = "CodeRepositoryName")] pub code_repository_name: String, } #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct DescribeCodeRepositoryOutput { /// <p>The Amazon Resource Name (ARN) of the Git repository.</p> #[serde(rename = "CodeRepositoryArn")] pub code_repository_arn: String, /// <p>The name of the Git repository.</p> #[serde(rename = "CodeRepositoryName")] pub code_repository_name: String, /// <p>The date and time that the repository was created.</p> #[serde(rename = "CreationTime")] pub creation_time: f64, /// <p>Configuration details about the repository, including the URL where the repository is located, the default branch, and the Amazon Resource Name (ARN) of the AWS Secrets Manager secret that contains the credentials used to access the repository.</p> #[serde(rename = "GitConfig")] #[serde(skip_serializing_if = "Option::is_none")] pub git_config: Option<GitConfig>, /// <p>The date and time that the repository was last changed.</p> #[serde(rename = "LastModifiedTime")] pub last_modified_time: f64, } #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct DescribeCompilationJobRequest { /// <p>The name of the model compilation job that you want information about.</p> #[serde(rename = "CompilationJobName")] pub compilation_job_name: String, } #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct DescribeCompilationJobResponse { /// <p>The time when the model compilation job on a compilation job instance ended. For a successful or stopped job, this is when the job's model artifacts have finished uploading. For a failed job, this is when Amazon SageMaker detected that the job failed. </p> #[serde(rename = "CompilationEndTime")] #[serde(skip_serializing_if = "Option::is_none")] pub compilation_end_time: Option<f64>, /// <p>The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker assumes to perform the model compilation job.</p> #[serde(rename = "CompilationJobArn")] pub compilation_job_arn: String, /// <p>The name of the model compilation job.</p> #[serde(rename = "CompilationJobName")] pub compilation_job_name: String, /// <p>The status of the model compilation job.</p> #[serde(rename = "CompilationJobStatus")] pub compilation_job_status: String, /// <p>The time when the model compilation job started the <code>CompilationJob</code> instances. </p> <p>You are billed for the time between this timestamp and the timestamp in the <a>DescribeCompilationJobResponse$CompilationEndTime</a> field. In Amazon CloudWatch Logs, the start time might be later than this time. That's because it takes time to download the compilation job, which depends on the size of the compilation job container. </p> #[serde(rename = "CompilationStartTime")] #[serde(skip_serializing_if = "Option::is_none")] pub compilation_start_time: Option<f64>, /// <p>The time that the model compilation job was created.</p> #[serde(rename = "CreationTime")] pub creation_time: f64, /// <p>If a model compilation job failed, the reason it failed. </p> #[serde(rename = "FailureReason")] pub failure_reason: String, /// <p>Information about the location in Amazon S3 of the input model artifacts, the name and shape of the expected data inputs, and the framework in which the model was trained.</p> #[serde(rename = "InputConfig")] pub input_config: InputConfig, /// <p>The time that the status of the model compilation job was last modified.</p> #[serde(rename = "LastModifiedTime")] pub last_modified_time: f64, /// <p>Information about the location in Amazon S3 that has been configured for storing the model artifacts used in the compilation job.</p> #[serde(rename = "ModelArtifacts")] pub model_artifacts: ModelArtifacts, /// <p>Information about the output location for the compiled model and the target device that the model runs on.</p> #[serde(rename = "OutputConfig")] pub output_config: OutputConfig, /// <p>The Amazon Resource Name (ARN) of the model compilation job.</p> #[serde(rename = "RoleArn")] pub role_arn: String, /// <p>Specifies a limit to how long a model compilation job can run. When the job reaches the time limit, Amazon SageMaker ends the compilation job. Use this API to cap model training costs.</p> #[serde(rename = "StoppingCondition")] pub stopping_condition: StoppingCondition, } #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct DescribeDomainRequest { /// <p>The domain ID.</p> #[serde(rename = "DomainId")] pub domain_id: String, } #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct DescribeDomainResponse { /// <p>The domain's authentication mode.</p> #[serde(rename = "AuthMode")] #[serde(skip_serializing_if = "Option::is_none")] pub auth_mode: Option<String>, /// <p>The creation time.</p> #[serde(rename = "CreationTime")] #[serde(skip_serializing_if = "Option::is_none")] pub creation_time: Option<f64>, /// <p>Settings which are applied to all UserProfile in this domain, if settings are not explicitly specified in a given UserProfile. </p> #[serde(rename = "DefaultUserSettings")] #[serde(skip_serializing_if = "Option::is_none")] pub default_user_settings: Option<UserSettings>, /// <p>The domain's Amazon Resource Name (ARN).</p> #[serde(rename = "DomainArn")] #[serde(skip_serializing_if = "Option::is_none")] pub domain_arn: Option<String>, /// <p>The domain ID.</p> #[serde(rename = "DomainId")] #[serde(skip_serializing_if = "Option::is_none")] pub domain_id: Option<String>, /// <p>The domain name.</p> #[serde(rename = "DomainName")] #[serde(skip_serializing_if = "Option::is_none")] pub domain_name: Option<String>, /// <p>The failure reason.</p> #[serde(rename = "FailureReason")] #[serde(skip_serializing_if = "Option::is_none")] pub failure_reason: Option<String>, /// <p>The ID of the Amazon Elastic File System (EFS) managed by this Domain.</p> #[serde(rename = "HomeEfsFileSystemId")] #[serde(skip_serializing_if = "Option::is_none")] pub home_efs_file_system_id: Option<String>, /// <p>The AWS Key Management Service encryption key ID.</p> #[serde(rename = "HomeEfsFileSystemKmsKeyId")] #[serde(skip_serializing_if = "Option::is_none")] pub home_efs_file_system_kms_key_id: Option<String>, /// <p>The last modified time.</p> #[serde(rename = "LastModifiedTime")] #[serde(skip_serializing_if = "Option::is_none")] pub last_modified_time: Option<f64>, /// <p>The SSO managed application instance ID.</p> #[serde(rename = "SingleSignOnManagedApplicationInstanceId")] #[serde(skip_serializing_if = "Option::is_none")] pub single_sign_on_managed_application_instance_id: Option<String>, /// <p>The status.</p> #[serde(rename = "Status")] #[serde(skip_serializing_if = "Option::is_none")] pub status: Option<String>, /// <p>Security setting to limit to a set of subnets.</p> #[serde(rename = "SubnetIds")] #[serde(skip_serializing_if = "Option::is_none")] pub subnet_ids: Option<Vec<String>>, /// <p>The domain's URL.</p> #[serde(rename = "Url")] #[serde(skip_serializing_if = "Option::is_none")] pub url: Option<String>, /// <p>The ID of the Amazon Virtual Private Cloud.</p> #[serde(rename = "VpcId")] #[serde(skip_serializing_if = "Option::is_none")] pub vpc_id: Option<String>, } #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct DescribeEndpointConfigInput { /// <p>The name of the endpoint configuration.</p> #[serde(rename = "EndpointConfigName")] pub endpoint_config_name: String, } #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct DescribeEndpointConfigOutput { /// <p>A timestamp that shows when the endpoint configuration was created.</p> #[serde(rename = "CreationTime")] pub creation_time: f64, #[serde(rename = "DataCaptureConfig")] #[serde(skip_serializing_if = "Option::is_none")] pub data_capture_config: Option<DataCaptureConfig>, /// <p>The Amazon Resource Name (ARN) of the endpoint configuration.</p> #[serde(rename = "EndpointConfigArn")] pub endpoint_config_arn: String, /// <p>Name of the Amazon SageMaker endpoint configuration.</p> #[serde(rename = "EndpointConfigName")] pub endpoint_config_name: String, /// <p>AWS KMS key ID Amazon SageMaker uses to encrypt data when storing it on the ML storage volume attached to the instance.</p> #[serde(rename = "KmsKeyId")] #[serde(skip_serializing_if = "Option::is_none")] pub kms_key_id: Option<String>, /// <p>An array of <code>ProductionVariant</code> objects, one for each model that you want to host at this endpoint.</p> #[serde(rename = "ProductionVariants")] pub production_variants: Vec<ProductionVariant>, } #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct DescribeEndpointInput { /// <p>The name of the endpoint.</p> #[serde(rename = "EndpointName")] pub endpoint_name: String, } #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct DescribeEndpointOutput { /// <p>A timestamp that shows when the endpoint was created.</p> #[serde(rename = "CreationTime")] pub creation_time: f64, #[serde(rename = "DataCaptureConfig")] #[serde(skip_serializing_if = "Option::is_none")] pub data_capture_config: Option<DataCaptureConfigSummary>, /// <p>The Amazon Resource Name (ARN) of the endpoint.</p> #[serde(rename = "EndpointArn")] pub endpoint_arn: String, /// <p>The name of the endpoint configuration associated with this endpoint.</p> #[serde(rename = "EndpointConfigName")] pub endpoint_config_name: String, /// <p>Name of the endpoint.</p> #[serde(rename = "EndpointName")] pub endpoint_name: String, /// <p><p>The status of the endpoint.</p> <ul> <li> <p> <code>OutOfService</code>: Endpoint is not available to take incoming requests.</p> </li> <li> <p> <code>Creating</code>: <a>CreateEndpoint</a> is executing.</p> </li> <li> <p> <code>Updating</code>: <a>UpdateEndpoint</a> or <a>UpdateEndpointWeightsAndCapacities</a> is executing.</p> </li> <li> <p> <code>SystemUpdating</code>: Endpoint is undergoing maintenance and cannot be updated or deleted or re-scaled until it has completed. This maintenance operation does not change any customer-specified values such as VPC config, KMS encryption, model, instance type, or instance count.</p> </li> <li> <p> <code>RollingBack</code>: Endpoint fails to scale up or down or change its variant weight and is in the process of rolling back to its previous configuration. Once the rollback completes, endpoint returns to an <code>InService</code> status. This transitional status only applies to an endpoint that has autoscaling enabled and is undergoing variant weight or capacity changes as part of an <a>UpdateEndpointWeightsAndCapacities</a> call or when the <a>UpdateEndpointWeightsAndCapacities</a> operation is called explicitly.</p> </li> <li> <p> <code>InService</code>: Endpoint is available to process incoming requests.</p> </li> <li> <p> <code>Deleting</code>: <a>DeleteEndpoint</a> is executing.</p> </li> <li> <p> <code>Failed</code>: Endpoint could not be created, updated, or re-scaled. Use <a>DescribeEndpointOutput$FailureReason</a> for information about the failure. <a>DeleteEndpoint</a> is the only operation that can be performed on a failed endpoint.</p> </li> </ul></p> #[serde(rename = "EndpointStatus")] pub endpoint_status: String, /// <p>If the status of the endpoint is <code>Failed</code>, the reason why it failed. </p> #[serde(rename = "FailureReason")] #[serde(skip_serializing_if = "Option::is_none")] pub failure_reason: Option<String>, /// <p>A timestamp that shows when the endpoint was last modified.</p> #[serde(rename = "LastModifiedTime")] pub last_modified_time: f64, /// <p> An array of <a>ProductionVariantSummary</a> objects, one for each model hosted behind this endpoint. </p> #[serde(rename = "ProductionVariants")] #[serde(skip_serializing_if = "Option::is_none")] pub production_variants: Option<Vec<ProductionVariantSummary>>, } #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct DescribeExperimentRequest { /// <p>The name of the experiment to describe.</p> #[serde(rename = "ExperimentName")] pub experiment_name: String, } #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct DescribeExperimentResponse { /// <p>Who created the experiment.</p> #[serde(rename = "CreatedBy")] #[serde(skip_serializing_if = "Option::is_none")] pub created_by: Option<UserContext>, /// <p>When the experiment was created.</p> #[serde(rename = "CreationTime")] #[serde(skip_serializing_if = "Option::is_none")] pub creation_time: Option<f64>, /// <p>The description of the experiment.</p> #[serde(rename = "Description")] #[serde(skip_serializing_if = "Option::is_none")] pub description: Option<String>, /// <p>The name of the experiment as displayed. If <code>DisplayName</code> isn't specified, <code>ExperimentName</code> is displayed.</p> #[serde(rename = "DisplayName")] #[serde(skip_serializing_if = "Option::is_none")] pub display_name: Option<String>, /// <p>The Amazon Resource Name (ARN) of the experiment.</p> #[serde(rename = "ExperimentArn")] #[serde(skip_serializing_if = "Option::is_none")] pub experiment_arn: Option<String>, /// <p>The name of the experiment.</p> #[serde(rename = "ExperimentName")] #[serde(skip_serializing_if = "Option::is_none")] pub experiment_name: Option<String>, /// <p>Who last modified the experiment.</p> #[serde(rename = "LastModifiedBy")] #[serde(skip_serializing_if = "Option::is_none")] pub last_modified_by: Option<UserContext>, /// <p>When the experiment was last modified.</p> #[serde(rename = "LastModifiedTime")] #[serde(skip_serializing_if = "Option::is_none")] pub last_modified_time: Option<f64>, /// <p>The ARN of the source and, optionally, the type.</p> #[serde(rename = "Source")] #[serde(skip_serializing_if = "Option::is_none")] pub source: Option<ExperimentSource>, } #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct DescribeFlowDefinitionRequest { /// <p>The name of the flow definition.</p> #[serde(rename = "FlowDefinitionName")] pub flow_definition_name: String, } #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct DescribeFlowDefinitionResponse { /// <p>The timestamp when the flow definition was created.</p> #[serde(rename = "CreationTime")] pub creation_time: f64, /// <p>The reason your flow definition failed.</p> #[serde(rename = "FailureReason")] #[serde(skip_serializing_if = "Option::is_none")] pub failure_reason: Option<String>, /// <p>The Amazon Resource Name (ARN) of the flow defintion.</p> #[serde(rename = "FlowDefinitionArn")] pub flow_definition_arn: String, /// <p>The Amazon Resource Name (ARN) of the flow definition.</p> #[serde(rename = "FlowDefinitionName")] pub flow_definition_name: String, /// <p>The status of the flow definition. Valid values are listed below.</p> #[serde(rename = "FlowDefinitionStatus")] pub flow_definition_status: String, /// <p>An object containing information about what triggers a human review workflow.</p> #[serde(rename = "HumanLoopActivationConfig")] #[serde(skip_serializing_if = "Option::is_none")] pub human_loop_activation_config: Option<HumanLoopActivationConfig>, /// <p>An object containing information about who works on the task, the workforce task price, and other task details.</p> #[serde(rename = "HumanLoopConfig")] pub human_loop_config: HumanLoopConfig, /// <p>Container for configuring the source of human task requests. Used to specify if Amazon Rekognition or Amazon Textract is used as an integration source.</p> #[serde(rename = "HumanLoopRequestSource")] #[serde(skip_serializing_if = "Option::is_none")] pub human_loop_request_source: Option<HumanLoopRequestSource>, /// <p>An object containing information about the output file.</p> #[serde(rename = "OutputConfig")] pub output_config: FlowDefinitionOutputConfig, /// <p>The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) execution role for the flow definition.</p> #[serde(rename = "RoleArn")] pub role_arn: String, } #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct DescribeHumanTaskUiRequest { /// <p>The name of the human task user interface (worker task template) you want information about.</p> #[serde(rename = "HumanTaskUiName")] pub human_task_ui_name: String, } #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct DescribeHumanTaskUiResponse { /// <p>The timestamp when the human task user interface was created.</p> #[serde(rename = "CreationTime")] pub creation_time: f64, /// <p>The Amazon Resource Name (ARN) of the human task user interface (worker task template).</p> #[serde(rename = "HumanTaskUiArn")] pub human_task_ui_arn: String, /// <p>The name of the human task user interface (worker task template).</p> #[serde(rename = "HumanTaskUiName")] pub human_task_ui_name: String, /// <p>The status of the human task user interface (worker task template). Valid values are listed below.</p> #[serde(rename = "HumanTaskUiStatus")] #[serde(skip_serializing_if = "Option::is_none")] pub human_task_ui_status: Option<String>, #[serde(rename = "UiTemplate")] pub ui_template: UiTemplateInfo, } #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct DescribeHyperParameterTuningJobRequest { /// <p>The name of the tuning job.</p> #[serde(rename = "HyperParameterTuningJobName")] pub hyper_parameter_tuning_job_name: String, } #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct DescribeHyperParameterTuningJobResponse { /// <p>A <a>TrainingJobSummary</a> object that describes the training job that completed with the best current <a>HyperParameterTuningJobObjective</a>.</p> #[serde(rename = "BestTrainingJob")] #[serde(skip_serializing_if = "Option::is_none")] pub best_training_job: Option<HyperParameterTrainingJobSummary>, /// <p>The date and time that the tuning job started.</p> #[serde(rename = "CreationTime")] pub creation_time: f64, /// <p>If the tuning job failed, the reason it failed.</p> #[serde(rename = "FailureReason")] #[serde(skip_serializing_if = "Option::is_none")] pub failure_reason: Option<String>, /// <p>The date and time that the tuning job ended.</p> #[serde(rename = "HyperParameterTuningEndTime")] #[serde(skip_serializing_if = "Option::is_none")] pub hyper_parameter_tuning_end_time: Option<f64>, /// <p>The Amazon Resource Name (ARN) of the tuning job.</p> #[serde(rename = "HyperParameterTuningJobArn")] pub hyper_parameter_tuning_job_arn: String, /// <p>The <a>HyperParameterTuningJobConfig</a> object that specifies the configuration of the tuning job.</p> #[serde(rename = "HyperParameterTuningJobConfig")] pub hyper_parameter_tuning_job_config: HyperParameterTuningJobConfig, /// <p>The name of the tuning job.</p> #[serde(rename = "HyperParameterTuningJobName")] pub hyper_parameter_tuning_job_name: String, /// <p>The status of the tuning job: InProgress, Completed, Failed, Stopping, or Stopped.</p> #[serde(rename = "HyperParameterTuningJobStatus")] pub hyper_parameter_tuning_job_status: String, /// <p>The date and time that the status of the tuning job was modified. </p> #[serde(rename = "LastModifiedTime")] #[serde(skip_serializing_if = "Option::is_none")] pub last_modified_time: Option<f64>, /// <p>The <a>ObjectiveStatusCounters</a> object that specifies the number of training jobs, categorized by the status of their final objective metric, that this tuning job launched.</p> #[serde(rename = "ObjectiveStatusCounters")] pub objective_status_counters: ObjectiveStatusCounters, /// <p>If the hyperparameter tuning job is an warm start tuning job with a <code>WarmStartType</code> of <code>IDENTICAL_DATA_AND_ALGORITHM</code>, this is the <a>TrainingJobSummary</a> for the training job with the best objective metric value of all training jobs launched by this tuning job and all parent jobs specified for the warm start tuning job.</p> #[serde(rename = "OverallBestTrainingJob")] #[serde(skip_serializing_if = "Option::is_none")] pub overall_best_training_job: Option<HyperParameterTrainingJobSummary>, /// <p>The <a>HyperParameterTrainingJobDefinition</a> object that specifies the definition of the training jobs that this tuning job launches.</p> #[serde(rename = "TrainingJobDefinition")] #[serde(skip_serializing_if = "Option::is_none")] pub training_job_definition: Option<HyperParameterTrainingJobDefinition>, /// <p>A list of the <a>HyperParameterTrainingJobDefinition</a> objects launched for this tuning job.</p> #[serde(rename = "TrainingJobDefinitions")] #[serde(skip_serializing_if = "Option::is_none")] pub training_job_definitions: Option<Vec<HyperParameterTrainingJobDefinition>>, /// <p>The <a>TrainingJobStatusCounters</a> object that specifies the number of training jobs, categorized by status, that this tuning job launched.</p> #[serde(rename = "TrainingJobStatusCounters")] pub training_job_status_counters: TrainingJobStatusCounters, /// <p>The configuration for starting the hyperparameter parameter tuning job using one or more previous tuning jobs as a starting point. The results of previous tuning jobs are used to inform which combinations of hyperparameters to search over in the new tuning job.</p> #[serde(rename = "WarmStartConfig")] #[serde(skip_serializing_if = "Option::is_none")] pub warm_start_config: Option<HyperParameterTuningJobWarmStartConfig>, } #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct DescribeLabelingJobRequest { /// <p>The name of the labeling job to return information for.</p> #[serde(rename = "LabelingJobName")] pub labeling_job_name: String, } #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct DescribeLabelingJobResponse { /// <p>The date and time that the labeling job was created.</p> #[serde(rename = "CreationTime")] pub creation_time: f64, /// <p>If the job failed, the reason that it failed. </p> #[serde(rename = "FailureReason")] #[serde(skip_serializing_if = "Option::is_none")] pub failure_reason: Option<String>, /// <p>Configuration information required for human workers to complete a labeling task.</p> #[serde(rename = "HumanTaskConfig")] pub human_task_config: HumanTaskConfig, /// <p>Input configuration information for the labeling job, such as the Amazon S3 location of the data objects and the location of the manifest file that describes the data objects.</p> #[serde(rename = "InputConfig")] pub input_config: LabelingJobInputConfig, /// <p>A unique identifier for work done as part of a labeling job.</p> #[serde(rename = "JobReferenceCode")] pub job_reference_code: String, /// <p>The attribute used as the label in the output manifest file.</p> #[serde(rename = "LabelAttributeName")] #[serde(skip_serializing_if = "Option::is_none")] pub label_attribute_name: Option<String>, /// <p>The S3 location of the JSON file that defines the categories used to label data objects. Please note the following label-category limits:</p> <ul> <li> <p>Semantic segmentation labeling jobs using automated labeling: 20 labels</p> </li> <li> <p>Box bounding labeling jobs (all): 10 labels</p> </li> </ul> <p>The file is a JSON structure in the following format:</p> <p> <code>{</code> </p> <p> <code> "document-version": "2018-11-28"</code> </p> <p> <code> "labels": [</code> </p> <p> <code> {</code> </p> <p> <code> "label": "<i>label 1</i>"</code> </p> <p> <code> },</code> </p> <p> <code> {</code> </p> <p> <code> "label": "<i>label 2</i>"</code> </p> <p> <code> },</code> </p> <p> <code> ...</code> </p> <p> <code> {</code> </p> <p> <code> "label": "<i>label n</i>"</code> </p> <p> <code> }</code> </p> <p> <code> ]</code> </p> <p> <code>}</code> </p> #[serde(rename = "LabelCategoryConfigS3Uri")] #[serde(skip_serializing_if = "Option::is_none")] pub label_category_config_s3_uri: Option<String>, /// <p>Provides a breakdown of the number of data objects labeled by humans, the number of objects labeled by machine, the number of objects than couldn't be labeled, and the total number of objects labeled. </p> #[serde(rename = "LabelCounters")] pub label_counters: LabelCounters, /// <p>Configuration information for automated data labeling.</p> #[serde(rename = "LabelingJobAlgorithmsConfig")] #[serde(skip_serializing_if = "Option::is_none")] pub labeling_job_algorithms_config: Option<LabelingJobAlgorithmsConfig>, /// <p>The Amazon Resource Name (ARN) of the labeling job.</p> #[serde(rename = "LabelingJobArn")] pub labeling_job_arn: String, /// <p>The name assigned to the labeling job when it was created.</p> #[serde(rename = "LabelingJobName")] pub labeling_job_name: String, /// <p>The location of the output produced by the labeling job.</p> #[serde(rename = "LabelingJobOutput")] #[serde(skip_serializing_if = "Option::is_none")] pub labeling_job_output: Option<LabelingJobOutput>, /// <p>The processing status of the labeling job. </p> #[serde(rename = "LabelingJobStatus")] pub labeling_job_status: String, /// <p>The date and time that the labeling job was last updated.</p> #[serde(rename = "LastModifiedTime")] pub last_modified_time: f64, /// <p>The location of the job's output data and the AWS Key Management Service key ID for the key used to encrypt the output data, if any.</p> #[serde(rename = "OutputConfig")] pub output_config: LabelingJobOutputConfig, /// <p>The Amazon Resource Name (ARN) that Amazon SageMaker assumes to perform tasks on your behalf during data labeling.</p> #[serde(rename = "RoleArn")] pub role_arn: String, /// <p>A set of conditions for stopping a labeling job. If any of the conditions are met, the job is automatically stopped.</p> #[serde(rename = "StoppingConditions")] #[serde(skip_serializing_if = "Option::is_none")] pub stopping_conditions: Option<LabelingJobStoppingConditions>, /// <p>An array of key/value pairs. For more information, see <a href="https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html#allocation-what">Using Cost Allocation Tags</a> in the <i>AWS Billing and Cost Management User Guide</i>.</p> #[serde(rename = "Tags")] #[serde(skip_serializing_if = "Option::is_none")] pub tags: Option<Vec<Tag>>, } #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct DescribeModelInput { /// <p>The name of the model.</p> #[serde(rename = "ModelName")] pub model_name: String, } #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct DescribeModelOutput { /// <p>The containers in the inference pipeline.</p> #[serde(rename = "Containers")] #[serde(skip_serializing_if = "Option::is_none")] pub containers: Option<Vec<ContainerDefinition>>, /// <p>A timestamp that shows when the model was created.</p> #[serde(rename = "CreationTime")] pub creation_time: f64, /// <p>If <code>True</code>, no inbound or outbound network calls can be made to or from the model container.</p> #[serde(rename = "EnableNetworkIsolation")] #[serde(skip_serializing_if = "Option::is_none")] pub enable_network_isolation: Option<bool>, /// <p>The Amazon Resource Name (ARN) of the IAM role that you specified for the model.</p> #[serde(rename = "ExecutionRoleArn")] pub execution_role_arn: String, /// <p>The Amazon Resource Name (ARN) of the model.</p> #[serde(rename = "ModelArn")] pub model_arn: String, /// <p>Name of the Amazon SageMaker model.</p> #[serde(rename = "ModelName")] pub model_name: String, /// <p>The location of the primary inference code, associated artifacts, and custom environment map that the inference code uses when it is deployed in production. </p> #[serde(rename = "PrimaryContainer")] #[serde(skip_serializing_if = "Option::is_none")] pub primary_container: Option<ContainerDefinition>, /// <p>A <a>VpcConfig</a> object that specifies the VPC that this model has access to. For more information, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/host-vpc.html">Protect Endpoints by Using an Amazon Virtual Private Cloud</a> </p> #[serde(rename = "VpcConfig")] #[serde(skip_serializing_if = "Option::is_none")] pub vpc_config: Option<VpcConfig>, } #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct DescribeModelPackageInput { /// <p>The name of the model package to describe.</p> #[serde(rename = "ModelPackageName")] pub model_package_name: String, } #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct DescribeModelPackageOutput { /// <p>Whether the model package is certified for listing on AWS Marketplace.</p> #[serde(rename = "CertifyForMarketplace")] #[serde(skip_serializing_if = "Option::is_none")] pub certify_for_marketplace: Option<bool>, /// <p>A timestamp specifying when the model package was created.</p> #[serde(rename = "CreationTime")] pub creation_time: f64, /// <p>Details about inference jobs that can be run with models based on this model package.</p> #[serde(rename = "InferenceSpecification")] #[serde(skip_serializing_if = "Option::is_none")] pub inference_specification: Option<InferenceSpecification>, /// <p>The Amazon Resource Name (ARN) of the model package.</p> #[serde(rename = "ModelPackageArn")] pub model_package_arn: String, /// <p>A brief summary of the model package.</p> #[serde(rename = "ModelPackageDescription")] #[serde(skip_serializing_if = "Option::is_none")] pub model_package_description: Option<String>, /// <p>The name of the model package being described.</p> #[serde(rename = "ModelPackageName")] pub model_package_name: String, /// <p>The current status of the model package.</p> #[serde(rename = "ModelPackageStatus")] pub model_package_status: String, /// <p>Details about the current status of the model package.</p> #[serde(rename = "ModelPackageStatusDetails")] pub model_package_status_details: ModelPackageStatusDetails, /// <p>Details about the algorithm that was used to create the model package.</p> #[serde(rename = "SourceAlgorithmSpecification")] #[serde(skip_serializing_if = "Option::is_none")] pub source_algorithm_specification: Option<SourceAlgorithmSpecification>, /// <p>Configurations for one or more transform jobs that Amazon SageMaker runs to test the model package.</p> #[serde(rename = "ValidationSpecification")] #[serde(skip_serializing_if = "Option::is_none")] pub validation_specification: Option<ModelPackageValidationSpecification>, } #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct DescribeMonitoringScheduleRequest { /// <p>Name of a previously created monitoring schedule.</p> #[serde(rename = "MonitoringScheduleName")] pub monitoring_schedule_name: String, } #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct DescribeMonitoringScheduleResponse { /// <p>The time at which the monitoring job was created.</p> #[serde(rename = "CreationTime")] pub creation_time: f64, /// <p> The name of the endpoint for the monitoring job.</p> #[serde(rename = "EndpointName")] #[serde(skip_serializing_if = "Option::is_none")] pub endpoint_name: Option<String>, /// <p>A string, up to one KB in size, that contains the reason a monitoring job failed, if it failed.</p> #[serde(rename = "FailureReason")] #[serde(skip_serializing_if = "Option::is_none")] pub failure_reason: Option<String>, /// <p>The time at which the monitoring job was last modified.</p> #[serde(rename = "LastModifiedTime")] pub last_modified_time: f64, /// <p>Describes metadata on the last execution to run, if there was one.</p> #[serde(rename = "LastMonitoringExecutionSummary")] #[serde(skip_serializing_if = "Option::is_none")] pub last_monitoring_execution_summary: Option<MonitoringExecutionSummary>, /// <p>The Amazon Resource Name (ARN) of the monitoring schedule.</p> #[serde(rename = "MonitoringScheduleArn")] pub monitoring_schedule_arn: String, /// <p>The configuration object that specifies the monitoring schedule and defines the monitoring job.</p> #[serde(rename = "MonitoringScheduleConfig")] pub monitoring_schedule_config: MonitoringScheduleConfig, /// <p>Name of the monitoring schedule.</p> #[serde(rename = "MonitoringScheduleName")] pub monitoring_schedule_name: String, /// <p>The status of an monitoring job.</p> #[serde(rename = "MonitoringScheduleStatus")] pub monitoring_schedule_status: String, } #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct DescribeNotebookInstanceInput { /// <p>The name of the notebook instance that you want information about.</p> #[serde(rename = "NotebookInstanceName")] pub notebook_instance_name: String, } #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct DescribeNotebookInstanceLifecycleConfigInput { /// <p>The name of the lifecycle configuration to describe.</p> #[serde(rename = "NotebookInstanceLifecycleConfigName")] pub notebook_instance_lifecycle_config_name: String, } #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct DescribeNotebookInstanceLifecycleConfigOutput { /// <p>A timestamp that tells when the lifecycle configuration was created.</p> #[serde(rename = "CreationTime")] #[serde(skip_serializing_if = "Option::is_none")] pub creation_time: Option<f64>, /// <p>A timestamp that tells when the lifecycle configuration was last modified.</p> #[serde(rename = "LastModifiedTime")] #[serde(skip_serializing_if = "Option::is_none")] pub last_modified_time: Option<f64>, /// <p>The Amazon Resource Name (ARN) of the lifecycle configuration.</p> #[serde(rename = "NotebookInstanceLifecycleConfigArn")] #[serde(skip_serializing_if = "Option::is_none")] pub notebook_instance_lifecycle_config_arn: Option<String>, /// <p>The name of the lifecycle configuration.</p> #[serde(rename = "NotebookInstanceLifecycleConfigName")] #[serde(skip_serializing_if = "Option::is_none")] pub notebook_instance_lifecycle_config_name: Option<String>, /// <p>The shell script that runs only once, when you create a notebook instance.</p> #[serde(rename = "OnCreate")] #[serde(skip_serializing_if = "Option::is_none")] pub on_create: Option<Vec<NotebookInstanceLifecycleHook>>, /// <p>The shell script that runs every time you start a notebook instance, including when you create the notebook instance.</p> #[serde(rename = "OnStart")] #[serde(skip_serializing_if = "Option::is_none")] pub on_start: Option<Vec<NotebookInstanceLifecycleHook>>, } #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct DescribeNotebookInstanceOutput { /// <p>A list of the Elastic Inference (EI) instance types associated with this notebook instance. Currently only one EI instance type can be associated with a notebook instance. For more information, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/ei.html">Using Elastic Inference in Amazon SageMaker</a>.</p> #[serde(rename = "AcceleratorTypes")] #[serde(skip_serializing_if = "Option::is_none")] pub accelerator_types: Option<Vec<String>>, /// <p>An array of up to three Git repositories associated with the notebook instance. These can be either the names of Git repositories stored as resources in your account, or the URL of Git repositories in <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html">AWS CodeCommit</a> or in any other Git repository. These repositories are cloned at the same level as the default repository of your notebook instance. For more information, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/nbi-git-repo.html">Associating Git Repositories with Amazon SageMaker Notebook Instances</a>.</p> #[serde(rename = "AdditionalCodeRepositories")] #[serde(skip_serializing_if = "Option::is_none")] pub additional_code_repositories: Option<Vec<String>>, /// <p>A timestamp. Use this parameter to return the time when the notebook instance was created</p> #[serde(rename = "CreationTime")] #[serde(skip_serializing_if = "Option::is_none")] pub creation_time: Option<f64>, /// <p>The Git repository associated with the notebook instance as its default code repository. This can be either the name of a Git repository stored as a resource in your account, or the URL of a Git repository in <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html">AWS CodeCommit</a> or in any other Git repository. When you open a notebook instance, it opens in the directory that contains this repository. For more information, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/nbi-git-repo.html">Associating Git Repositories with Amazon SageMaker Notebook Instances</a>.</p> #[serde(rename = "DefaultCodeRepository")] #[serde(skip_serializing_if = "Option::is_none")] pub default_code_repository: Option<String>, /// <p>Describes whether Amazon SageMaker provides internet access to the notebook instance. If this value is set to <i>Disabled</i>, the notebook instance does not have internet access, and cannot connect to Amazon SageMaker training and endpoint services.</p> <p>For more information, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/appendix-additional-considerations.html#appendix-notebook-and-internet-access">Notebook Instances Are Internet-Enabled by Default</a>.</p> #[serde(rename = "DirectInternetAccess")] #[serde(skip_serializing_if = "Option::is_none")] pub direct_internet_access: Option<String>, /// <p>If status is <code>Failed</code>, the reason it failed.</p> #[serde(rename = "FailureReason")] #[serde(skip_serializing_if = "Option::is_none")] pub failure_reason: Option<String>, /// <p>The type of ML compute instance running on the notebook instance.</p> #[serde(rename = "InstanceType")] #[serde(skip_serializing_if = "Option::is_none")] pub instance_type: Option<String>, /// <p>The AWS KMS key ID Amazon SageMaker uses to encrypt data when storing it on the ML storage volume attached to the instance. </p> #[serde(rename = "KmsKeyId")] #[serde(skip_serializing_if = "Option::is_none")] pub kms_key_id: Option<String>, /// <p>A timestamp. Use this parameter to retrieve the time when the notebook instance was last modified. </p> #[serde(rename = "LastModifiedTime")] #[serde(skip_serializing_if = "Option::is_none")] pub last_modified_time: Option<f64>, /// <p>The network interface IDs that Amazon SageMaker created at the time of creating the instance. </p> #[serde(rename = "NetworkInterfaceId")] #[serde(skip_serializing_if = "Option::is_none")] pub network_interface_id: Option<String>, /// <p>The Amazon Resource Name (ARN) of the notebook instance.</p> #[serde(rename = "NotebookInstanceArn")] #[serde(skip_serializing_if = "Option::is_none")] pub notebook_instance_arn: Option<String>, /// <p>Returns the name of a notebook instance lifecycle configuration.</p> <p>For information about notebook instance lifestyle configurations, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/notebook-lifecycle-config.html">Step 2.1: (Optional) Customize a Notebook Instance</a> </p> #[serde(rename = "NotebookInstanceLifecycleConfigName")] #[serde(skip_serializing_if = "Option::is_none")] pub notebook_instance_lifecycle_config_name: Option<String>, /// <p>The name of the Amazon SageMaker notebook instance. </p> #[serde(rename = "NotebookInstanceName")] #[serde(skip_serializing_if = "Option::is_none")] pub notebook_instance_name: Option<String>, /// <p>The status of the notebook instance.</p> #[serde(rename = "NotebookInstanceStatus")] #[serde(skip_serializing_if = "Option::is_none")] pub notebook_instance_status: Option<String>, /// <p>The Amazon Resource Name (ARN) of the IAM role associated with the instance. </p> #[serde(rename = "RoleArn")] #[serde(skip_serializing_if = "Option::is_none")] pub role_arn: Option<String>, /// <p><p>Whether root access is enabled or disabled for users of the notebook instance.</p> <note> <p>Lifecycle configurations need root access to be able to set up a notebook instance. Because of this, lifecycle configurations associated with a notebook instance always run with root access even if you disable root access for users.</p> </note></p> #[serde(rename = "RootAccess")] #[serde(skip_serializing_if = "Option::is_none")] pub root_access: Option<String>, /// <p>The IDs of the VPC security groups.</p> #[serde(rename = "SecurityGroups")] #[serde(skip_serializing_if = "Option::is_none")] pub security_groups: Option<Vec<String>>, /// <p>The ID of the VPC subnet.</p> #[serde(rename = "SubnetId")] #[serde(skip_serializing_if = "Option::is_none")] pub subnet_id: Option<String>, /// <p>The URL that you use to connect to the Jupyter notebook that is running in your notebook instance. </p> #[serde(rename = "Url")] #[serde(skip_serializing_if = "Option::is_none")] pub url: Option<String>, /// <p>The size, in GB, of the ML storage volume attached to the notebook instance.</p> #[serde(rename = "VolumeSizeInGB")] #[serde(skip_serializing_if = "Option::is_none")] pub volume_size_in_gb: Option<i64>, } #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct DescribeProcessingJobRequest { /// <p>The name of the processing job. The name must be unique within an AWS Region in the AWS account.</p> #[serde(rename = "ProcessingJobName")] pub processing_job_name: String, } #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct DescribeProcessingJobResponse { /// <p>Configures the processing job to run a specified container image.</p> #[serde(rename = "AppSpecification")] pub app_specification: AppSpecification, /// <p>The ARN of an AutoML job associated with this processing job.</p> #[serde(rename = "AutoMLJobArn")] #[serde(skip_serializing_if = "Option::is_none")] pub auto_ml_job_arn: Option<String>, /// <p>The time at which the processing job was created.</p> #[serde(rename = "CreationTime")] pub creation_time: f64, /// <p>The environment variables set in the Docker container.</p> #[serde(rename = "Environment")] #[serde(skip_serializing_if = "Option::is_none")] pub environment: Option<::std::collections::HashMap<String, String>>, /// <p>An optional string, up to one KB in size, that contains metadata from the processing container when the processing job exits.</p> #[serde(rename = "ExitMessage")] #[serde(skip_serializing_if = "Option::is_none")] pub exit_message: Option<String>, /// <p>The configuration information used to create an experiment.</p> #[serde(rename = "ExperimentConfig")] #[serde(skip_serializing_if = "Option::is_none")] pub experiment_config: Option<ExperimentConfig>, /// <p>A string, up to one KB in size, that contains the reason a processing job failed, if it failed.</p> #[serde(rename = "FailureReason")] #[serde(skip_serializing_if = "Option::is_none")] pub failure_reason: Option<String>, /// <p>The time at which the processing job was last modified.</p> #[serde(rename = "LastModifiedTime")] #[serde(skip_serializing_if = "Option::is_none")] pub last_modified_time: Option<f64>, /// <p>The ARN of a monitoring schedule for an endpoint associated with this processing job.</p> #[serde(rename = "MonitoringScheduleArn")] #[serde(skip_serializing_if = "Option::is_none")] pub monitoring_schedule_arn: Option<String>, /// <p>Networking options for a processing job.</p> #[serde(rename = "NetworkConfig")] #[serde(skip_serializing_if = "Option::is_none")] pub network_config: Option<NetworkConfig>, /// <p>The time at which the processing job completed.</p> #[serde(rename = "ProcessingEndTime")] #[serde(skip_serializing_if = "Option::is_none")] pub processing_end_time: Option<f64>, /// <p>The inputs for a processing job.</p> #[serde(rename = "ProcessingInputs")] #[serde(skip_serializing_if = "Option::is_none")] pub processing_inputs: Option<Vec<ProcessingInput>>, /// <p>The Amazon Resource Name (ARN) of the processing job.</p> #[serde(rename = "ProcessingJobArn")] pub processing_job_arn: String, /// <p>The name of the processing job. The name must be unique within an AWS Region in the AWS account.</p> #[serde(rename = "ProcessingJobName")] pub processing_job_name: String, /// <p>Provides the status of a processing job.</p> #[serde(rename = "ProcessingJobStatus")] pub processing_job_status: String, /// <p>Output configuration for the processing job.</p> #[serde(rename = "ProcessingOutputConfig")] #[serde(skip_serializing_if = "Option::is_none")] pub processing_output_config: Option<ProcessingOutputConfig>, /// <p>Identifies the resources, ML compute instances, and ML storage volumes to deploy for a processing job. In distributed training, you specify more than one instance.</p> #[serde(rename = "ProcessingResources")] pub processing_resources: ProcessingResources, /// <p>The time at which the processing job started.</p> #[serde(rename = "ProcessingStartTime")] #[serde(skip_serializing_if = "Option::is_none")] pub processing_start_time: Option<f64>, /// <p>The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker can assume to perform tasks on your behalf.</p> #[serde(rename = "RoleArn")] #[serde(skip_serializing_if = "Option::is_none")] pub role_arn: Option<String>, /// <p>The time limit for how long the processing job is allowed to run.</p> #[serde(rename = "StoppingCondition")] #[serde(skip_serializing_if = "Option::is_none")] pub stopping_condition: Option<ProcessingStoppingCondition>, /// <p>The ARN of a training job associated with this processing job.</p> #[serde(rename = "TrainingJobArn")] #[serde(skip_serializing_if = "Option::is_none")] pub training_job_arn: Option<String>, } #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct DescribeSubscribedWorkteamRequest { /// <p>The Amazon Resource Name (ARN) of the subscribed work team to describe.</p> #[serde(rename = "WorkteamArn")] pub workteam_arn: String, } #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct DescribeSubscribedWorkteamResponse { /// <p>A <code>Workteam</code> instance that contains information about the work team.</p> #[serde(rename = "SubscribedWorkteam")] pub subscribed_workteam: SubscribedWorkteam, } #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct DescribeTrainingJobRequest { /// <p>The name of the training job.</p> #[serde(rename = "TrainingJobName")] pub training_job_name: String, } #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct DescribeTrainingJobResponse { /// <p>Information about the algorithm used for training, and algorithm metadata. </p> #[serde(rename = "AlgorithmSpecification")] pub algorithm_specification: AlgorithmSpecification, /// <p>The Amazon Resource Name (ARN) of an AutoML job.</p> #[serde(rename = "AutoMLJobArn")] #[serde(skip_serializing_if = "Option::is_none")] pub auto_ml_job_arn: Option<String>, /// <p>The billable time in seconds.</p> <p>You can calculate the savings from using managed spot training using the formula <code>(1 - BillableTimeInSeconds / TrainingTimeInSeconds) * 100</code>. For example, if <code>BillableTimeInSeconds</code> is 100 and <code>TrainingTimeInSeconds</code> is 500, the savings is 80%.</p> #[serde(rename = "BillableTimeInSeconds")] #[serde(skip_serializing_if = "Option::is_none")] pub billable_time_in_seconds: Option<i64>, #[serde(rename = "CheckpointConfig")] #[serde(skip_serializing_if = "Option::is_none")] pub checkpoint_config: Option<CheckpointConfig>, /// <p>A timestamp that indicates when the training job was created.</p> #[serde(rename = "CreationTime")] pub creation_time: f64, #[serde(rename = "DebugHookConfig")] #[serde(skip_serializing_if = "Option::is_none")] pub debug_hook_config: Option<DebugHookConfig>, /// <p>Configuration information for debugging rules.</p> #[serde(rename = "DebugRuleConfigurations")] #[serde(skip_serializing_if = "Option::is_none")] pub debug_rule_configurations: Option<Vec<DebugRuleConfiguration>>, /// <p>Status about the debug rule evaluation.</p> #[serde(rename = "DebugRuleEvaluationStatuses")] #[serde(skip_serializing_if = "Option::is_none")] pub debug_rule_evaluation_statuses: Option<Vec<DebugRuleEvaluationStatus>>, /// <p>To encrypt all communications between ML compute instances in distributed training, choose <code>True</code>. Encryption provides greater security for distributed training, but training might take longer. How long it takes depends on the amount of communication between compute instances, especially if you use a deep learning algorithms in distributed training.</p> #[serde(rename = "EnableInterContainerTrafficEncryption")] #[serde(skip_serializing_if = "Option::is_none")] pub enable_inter_container_traffic_encryption: Option<bool>, /// <p>A Boolean indicating whether managed spot training is enabled (<code>True</code>) or not (<code>False</code>).</p> #[serde(rename = "EnableManagedSpotTraining")] #[serde(skip_serializing_if = "Option::is_none")] pub enable_managed_spot_training: Option<bool>, /// <p>If you want to allow inbound or outbound network calls, except for calls between peers within a training cluster for distributed training, choose <code>True</code>. If you enable network isolation for training jobs that are configured to use a VPC, Amazon SageMaker downloads and uploads customer data and model artifacts through the specified VPC, but the training container does not have network access.</p> #[serde(rename = "EnableNetworkIsolation")] #[serde(skip_serializing_if = "Option::is_none")] pub enable_network_isolation: Option<bool>, #[serde(rename = "ExperimentConfig")] #[serde(skip_serializing_if = "Option::is_none")] pub experiment_config: Option<ExperimentConfig>, /// <p>If the training job failed, the reason it failed. </p> #[serde(rename = "FailureReason")] #[serde(skip_serializing_if = "Option::is_none")] pub failure_reason: Option<String>, /// <p>A collection of <code>MetricData</code> objects that specify the names, values, and dates and times that the training algorithm emitted to Amazon CloudWatch.</p> #[serde(rename = "FinalMetricDataList")] #[serde(skip_serializing_if = "Option::is_none")] pub final_metric_data_list: Option<Vec<MetricData>>, /// <p>Algorithm-specific parameters. </p> #[serde(rename = "HyperParameters")] #[serde(skip_serializing_if = "Option::is_none")] pub hyper_parameters: Option<::std::collections::HashMap<String, String>>, /// <p>An array of <code>Channel</code> objects that describes each data input channel. </p> #[serde(rename = "InputDataConfig")] #[serde(skip_serializing_if = "Option::is_none")] pub input_data_config: Option<Vec<Channel>>, /// <p>The Amazon Resource Name (ARN) of the Amazon SageMaker Ground Truth labeling job that created the transform or training job.</p> #[serde(rename = "LabelingJobArn")] #[serde(skip_serializing_if = "Option::is_none")] pub labeling_job_arn: Option<String>, /// <p>A timestamp that indicates when the status of the training job was last modified.</p> #[serde(rename = "LastModifiedTime")] #[serde(skip_serializing_if = "Option::is_none")] pub last_modified_time: Option<f64>, /// <p>Information about the Amazon S3 location that is configured for storing model artifacts. </p> #[serde(rename = "ModelArtifacts")] pub model_artifacts: ModelArtifacts, /// <p>The S3 path where model artifacts that you configured when creating the job are stored. Amazon SageMaker creates subfolders for model artifacts. </p> #[serde(rename = "OutputDataConfig")] #[serde(skip_serializing_if = "Option::is_none")] pub output_data_config: Option<OutputDataConfig>, /// <p>Resources, including ML compute instances and ML storage volumes, that are configured for model training. </p> #[serde(rename = "ResourceConfig")] pub resource_config: ResourceConfig, /// <p>The AWS Identity and Access Management (IAM) role configured for the training job. </p> #[serde(rename = "RoleArn")] #[serde(skip_serializing_if = "Option::is_none")] pub role_arn: Option<String>, /// <p><p> Provides detailed information about the state of the training job. For detailed information on the secondary status of the training job, see <code>StatusMessage</code> under <a>SecondaryStatusTransition</a>.</p> <p>Amazon SageMaker provides primary statuses and secondary statuses that apply to each of them:</p> <dl> <dt>InProgress</dt> <dd> <ul> <li> <p> <code>Starting</code> - Starting the training job.</p> </li> <li> <p> <code>Downloading</code> - An optional stage for algorithms that support <code>File</code> training input mode. It indicates that data is being downloaded to the ML storage volumes.</p> </li> <li> <p> <code>Training</code> - Training is in progress.</p> </li> <li> <p> <code>Interrupted</code> - The job stopped because the managed spot training instances were interrupted. </p> </li> <li> <p> <code>Uploading</code> - Training is complete and the model artifacts are being uploaded to the S3 location.</p> </li> </ul> </dd> <dt>Completed</dt> <dd> <ul> <li> <p> <code>Completed</code> - The training job has completed.</p> </li> </ul> </dd> <dt>Failed</dt> <dd> <ul> <li> <p> <code>Failed</code> - The training job has failed. The reason for the failure is returned in the <code>FailureReason</code> field of <code>DescribeTrainingJobResponse</code>.</p> </li> </ul> </dd> <dt>Stopped</dt> <dd> <ul> <li> <p> <code>MaxRuntimeExceeded</code> - The job stopped because it exceeded the maximum allowed runtime.</p> </li> <li> <p> <code>MaxWaitTmeExceeded</code> - The job stopped because it exceeded the maximum allowed wait time.</p> </li> <li> <p> <code>Stopped</code> - The training job has stopped.</p> </li> </ul> </dd> <dt>Stopping</dt> <dd> <ul> <li> <p> <code>Stopping</code> - Stopping the training job.</p> </li> </ul> </dd> </dl> <important> <p>Valid values for <code>SecondaryStatus</code> are subject to change. </p> </important> <p>We no longer support the following secondary statuses:</p> <ul> <li> <p> <code>LaunchingMLInstances</code> </p> </li> <li> <p> <code>PreparingTrainingStack</code> </p> </li> <li> <p> <code>DownloadingTrainingImage</code> </p> </li> </ul></p> #[serde(rename = "SecondaryStatus")] pub secondary_status: String, /// <p>A history of all of the secondary statuses that the training job has transitioned through.</p> #[serde(rename = "SecondaryStatusTransitions")] #[serde(skip_serializing_if = "Option::is_none")] pub secondary_status_transitions: Option<Vec<SecondaryStatusTransition>>, /// <p>Specifies a limit to how long a model training job can run. It also specifies the maximum time to wait for a spot instance. When the job reaches the time limit, Amazon SageMaker ends the training job. Use this API to cap model training costs.</p> <p>To stop a job, Amazon SageMaker sends the algorithm the <code>SIGTERM</code> signal, which delays job termination for 120 seconds. Algorithms can use this 120-second window to save the model artifacts, so the results of training are not lost. </p> #[serde(rename = "StoppingCondition")] pub stopping_condition: StoppingCondition, #[serde(rename = "TensorBoardOutputConfig")] #[serde(skip_serializing_if = "Option::is_none")] pub tensor_board_output_config: Option<TensorBoardOutputConfig>, /// <p>Indicates the time when the training job ends on training instances. You are billed for the time interval between the value of <code>TrainingStartTime</code> and this time. For successful jobs and stopped jobs, this is the time after model artifacts are uploaded. For failed jobs, this is the time when Amazon SageMaker detects a job failure.</p> #[serde(rename = "TrainingEndTime")] #[serde(skip_serializing_if = "Option::is_none")] pub training_end_time: Option<f64>, /// <p>The Amazon Resource Name (ARN) of the training job.</p> #[serde(rename = "TrainingJobArn")] pub training_job_arn: String, /// <p> Name of the model training job. </p> #[serde(rename = "TrainingJobName")] pub training_job_name: String, /// <p>The status of the training job.</p> <p>Amazon SageMaker provides the following training job statuses:</p> <ul> <li> <p> <code>InProgress</code> - The training is in progress.</p> </li> <li> <p> <code>Completed</code> - The training job has completed.</p> </li> <li> <p> <code>Failed</code> - The training job has failed. To see the reason for the failure, see the <code>FailureReason</code> field in the response to a <code>DescribeTrainingJobResponse</code> call.</p> </li> <li> <p> <code>Stopping</code> - The training job is stopping.</p> </li> <li> <p> <code>Stopped</code> - The training job has stopped.</p> </li> </ul> <p>For more detailed information, see <code>SecondaryStatus</code>. </p> #[serde(rename = "TrainingJobStatus")] pub training_job_status: String, /// <p>Indicates the time when the training job starts on training instances. You are billed for the time interval between this time and the value of <code>TrainingEndTime</code>. The start time in CloudWatch Logs might be later than this time. The difference is due to the time it takes to download the training data and to the size of the training container.</p> #[serde(rename = "TrainingStartTime")] #[serde(skip_serializing_if = "Option::is_none")] pub training_start_time: Option<f64>, /// <p>The training time in seconds.</p> #[serde(rename = "TrainingTimeInSeconds")] #[serde(skip_serializing_if = "Option::is_none")] pub training_time_in_seconds: Option<i64>, /// <p>The Amazon Resource Name (ARN) of the associated hyperparameter tuning job if the training job was launched by a hyperparameter tuning job.</p> #[serde(rename = "TuningJobArn")] #[serde(skip_serializing_if = "Option::is_none")] pub tuning_job_arn: Option<String>, /// <p>A <a>VpcConfig</a> object that specifies the VPC that this training job has access to. For more information, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/train-vpc.html">Protect Training Jobs by Using an Amazon Virtual Private Cloud</a>.</p> #[serde(rename = "VpcConfig")] #[serde(skip_serializing_if = "Option::is_none")] pub vpc_config: Option<VpcConfig>, } #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct DescribeTransformJobRequest { /// <p>The name of the transform job that you want to view details of.</p> #[serde(rename = "TransformJobName")] pub transform_job_name: String, } #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct DescribeTransformJobResponse { /// <p>The Amazon Resource Name (ARN) of the AutoML transform job.</p> #[serde(rename = "AutoMLJobArn")] #[serde(skip_serializing_if = "Option::is_none")] pub auto_ml_job_arn: Option<String>, /// <p>Specifies the number of records to include in a mini-batch for an HTTP inference request. A <i>record</i> <i/> is a single unit of input data that inference can be made on. For example, a single line in a CSV file is a record. </p> <p>To enable the batch strategy, you must set <code>SplitType</code> to <code>Line</code>, <code>RecordIO</code>, or <code>TFRecord</code>.</p> #[serde(rename = "BatchStrategy")] #[serde(skip_serializing_if = "Option::is_none")] pub batch_strategy: Option<String>, /// <p>A timestamp that shows when the transform Job was created.</p> #[serde(rename = "CreationTime")] pub creation_time: f64, #[serde(rename = "DataProcessing")] #[serde(skip_serializing_if = "Option::is_none")] pub data_processing: Option<DataProcessing>, /// <p>The environment variables to set in the Docker container. We support up to 16 key and values entries in the map.</p> #[serde(rename = "Environment")] #[serde(skip_serializing_if = "Option::is_none")] pub environment: Option<::std::collections::HashMap<String, String>>, #[serde(rename = "ExperimentConfig")] #[serde(skip_serializing_if = "Option::is_none")] pub experiment_config: Option<ExperimentConfig>, /// <p>If the transform job failed, <code>FailureReason</code> describes why it failed. A transform job creates a log file, which includes error messages, and stores it as an Amazon S3 object. For more information, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/logging-cloudwatch.html">Log Amazon SageMaker Events with Amazon CloudWatch</a>.</p> #[serde(rename = "FailureReason")] #[serde(skip_serializing_if = "Option::is_none")] pub failure_reason: Option<String>, /// <p>The Amazon Resource Name (ARN) of the Amazon SageMaker Ground Truth labeling job that created the transform or training job.</p> #[serde(rename = "LabelingJobArn")] #[serde(skip_serializing_if = "Option::is_none")] pub labeling_job_arn: Option<String>, /// <p>The maximum number of parallel requests on each instance node that can be launched in a transform job. The default value is 1.</p> #[serde(rename = "MaxConcurrentTransforms")] #[serde(skip_serializing_if = "Option::is_none")] pub max_concurrent_transforms: Option<i64>, /// <p>The maximum payload size, in MB, used in the transform job.</p> #[serde(rename = "MaxPayloadInMB")] #[serde(skip_serializing_if = "Option::is_none")] pub max_payload_in_mb: Option<i64>, /// <p>The timeout and maximum number of retries for processing a transform job invocation.</p> #[serde(rename = "ModelClientConfig")] #[serde(skip_serializing_if = "Option::is_none")] pub model_client_config: Option<ModelClientConfig>, /// <p>The name of the model used in the transform job.</p> #[serde(rename = "ModelName")] pub model_name: String, /// <p>Indicates when the transform job has been completed, or has stopped or failed. You are billed for the time interval between this time and the value of <code>TransformStartTime</code>.</p> #[serde(rename = "TransformEndTime")] #[serde(skip_serializing_if = "Option::is_none")] pub transform_end_time: Option<f64>, /// <p>Describes the dataset to be transformed and the Amazon S3 location where it is stored.</p> #[serde(rename = "TransformInput")] pub transform_input: TransformInput, /// <p>The Amazon Resource Name (ARN) of the transform job.</p> #[serde(rename = "TransformJobArn")] pub transform_job_arn: String, /// <p>The name of the transform job.</p> #[serde(rename = "TransformJobName")] pub transform_job_name: String, /// <p>The status of the transform job. If the transform job failed, the reason is returned in the <code>FailureReason</code> field.</p> #[serde(rename = "TransformJobStatus")] pub transform_job_status: String, /// <p>Identifies the Amazon S3 location where you want Amazon SageMaker to save the results from the transform job.</p> #[serde(rename = "TransformOutput")] #[serde(skip_serializing_if = "Option::is_none")] pub transform_output: Option<TransformOutput>, /// <p>Describes the resources, including ML instance types and ML instance count, to use for the transform job.</p> #[serde(rename = "TransformResources")] pub transform_resources: TransformResources, /// <p>Indicates when the transform job starts on ML instances. You are billed for the time interval between this time and the value of <code>TransformEndTime</code>.</p> #[serde(rename = "TransformStartTime")] #[serde(skip_serializing_if = "Option::is_none")] pub transform_start_time: Option<f64>, } #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct DescribeTrialComponentRequest { /// <p>The name of the trial component to describe.</p> #[serde(rename = "TrialComponentName")] pub trial_component_name: String, } #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct DescribeTrialComponentResponse { /// <p>Who created the component.</p> #[serde(rename = "CreatedBy")] #[serde(skip_serializing_if = "Option::is_none")] pub created_by: Option<UserContext>, /// <p>When the component was created.</p> #[serde(rename = "CreationTime")] #[serde(skip_serializing_if = "Option::is_none")] pub creation_time: Option<f64>, /// <p>The name of the component as displayed. If <code>DisplayName</code> isn't specified, <code>TrialComponentName</code> is displayed.</p> #[serde(rename = "DisplayName")] #[serde(skip_serializing_if = "Option::is_none")] pub display_name: Option<String>, /// <p>When the component ended.</p> #[serde(rename = "EndTime")] #[serde(skip_serializing_if = "Option::is_none")] pub end_time: Option<f64>, /// <p>The input artifacts of the component.</p> #[serde(rename = "InputArtifacts")] #[serde(skip_serializing_if = "Option::is_none")] pub input_artifacts: Option<::std::collections::HashMap<String, TrialComponentArtifact>>, /// <p>Who last modified the component.</p> #[serde(rename = "LastModifiedBy")] #[serde(skip_serializing_if = "Option::is_none")] pub last_modified_by: Option<UserContext>, /// <p>When the component was last modified.</p> #[serde(rename = "LastModifiedTime")] #[serde(skip_serializing_if = "Option::is_none")] pub last_modified_time: Option<f64>, /// <p>The metrics for the component.</p> #[serde(rename = "Metrics")] #[serde(skip_serializing_if = "Option::is_none")] pub metrics: Option<Vec<TrialComponentMetricSummary>>, /// <p>The output artifacts of the component.</p> #[serde(rename = "OutputArtifacts")] #[serde(skip_serializing_if = "Option::is_none")] pub output_artifacts: Option<::std::collections::HashMap<String, TrialComponentArtifact>>, /// <p>The hyperparameters of the component.</p> #[serde(rename = "Parameters")] #[serde(skip_serializing_if = "Option::is_none")] pub parameters: Option<::std::collections::HashMap<String, TrialComponentParameterValue>>, /// <p>The Amazon Resource Name (ARN) of the source and, optionally, the job type.</p> #[serde(rename = "Source")] #[serde(skip_serializing_if = "Option::is_none")] pub source: Option<TrialComponentSource>, /// <p>When the component started.</p> #[serde(rename = "StartTime")] #[serde(skip_serializing_if = "Option::is_none")] pub start_time: Option<f64>, /// <p><p>The status of the component. States include:</p> <ul> <li> <p>InProgress</p> </li> <li> <p>Completed</p> </li> <li> <p>Failed</p> </li> </ul></p> #[serde(rename = "Status")] #[serde(skip_serializing_if = "Option::is_none")] pub status: Option<TrialComponentStatus>, /// <p>The Amazon Resource Name (ARN) of the trial component.</p> #[serde(rename = "TrialComponentArn")] #[serde(skip_serializing_if = "Option::is_none")] pub trial_component_arn: Option<String>, /// <p>The name of the trial component.</p> #[serde(rename = "TrialComponentName")] #[serde(skip_serializing_if = "Option::is_none")] pub trial_component_name: Option<String>, } #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct DescribeTrialRequest { /// <p>The name of the trial to describe.</p> #[serde(rename = "TrialName")] pub trial_name: String, } #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct DescribeTrialResponse { /// <p>Who created the trial.</p> #[serde(rename = "CreatedBy")] #[serde(skip_serializing_if = "Option::is_none")] pub created_by: Option<UserContext>, /// <p>When the trial was created.</p> #[serde(rename = "CreationTime")] #[serde(skip_serializing_if = "Option::is_none")] pub creation_time: Option<f64>, /// <p>The name of the trial as displayed. If <code>DisplayName</code> isn't specified, <code>TrialName</code> is displayed.</p> #[serde(rename = "DisplayName")] #[serde(skip_serializing_if = "Option::is_none")] pub display_name: Option<String>, /// <p>The name of the experiment the trial is part of.</p> #[serde(rename = "ExperimentName")] #[serde(skip_serializing_if = "Option::is_none")] pub experiment_name: Option<String>, /// <p>Who last modified the trial.</p> #[serde(rename = "LastModifiedBy")] #[serde(skip_serializing_if = "Option::is_none")] pub last_modified_by: Option<UserContext>, /// <p>When the trial was last modified.</p> #[serde(rename = "LastModifiedTime")] #[serde(skip_serializing_if = "Option::is_none")] pub last_modified_time: Option<f64>, /// <p>The Amazon Resource Name (ARN) of the source and, optionally, the job type.</p> #[serde(rename = "Source")] #[serde(skip_serializing_if = "Option::is_none")] pub source: Option<TrialSource>, /// <p>The Amazon Resource Name (ARN) of the trial.</p> #[serde(rename = "TrialArn")] #[serde(skip_serializing_if = "Option::is_none")] pub trial_arn: Option<String>, /// <p>The name of the trial.</p> #[serde(rename = "TrialName")] #[serde(skip_serializing_if = "Option::is_none")] pub trial_name: Option<String>, } #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct DescribeUserProfileRequest { /// <p>The domain ID.</p> #[serde(rename = "DomainId")] pub domain_id: String, /// <p>The user profile name.</p> #[serde(rename = "UserProfileName")] pub user_profile_name: String, } #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct DescribeUserProfileResponse { /// <p>The creation time.</p> #[serde(rename = "CreationTime")] #[serde(skip_serializing_if = "Option::is_none")] pub creation_time: Option<f64>, /// <p>The ID of the domain that contains the profile.</p> #[serde(rename = "DomainId")] #[serde(skip_serializing_if = "Option::is_none")] pub domain_id: Option<String>, /// <p>The failure reason.</p> #[serde(rename = "FailureReason")] #[serde(skip_serializing_if = "Option::is_none")] pub failure_reason: Option<String>, /// <p>The ID of the user's profile in the Amazon Elastic File System (EFS) volume.</p> #[serde(rename = "HomeEfsFileSystemUid")] #[serde(skip_serializing_if = "Option::is_none")] pub home_efs_file_system_uid: Option<String>, /// <p>The last modified time.</p> #[serde(rename = "LastModifiedTime")] #[serde(skip_serializing_if = "Option::is_none")] pub last_modified_time: Option<f64>, /// <p>The SSO user identifier.</p> #[serde(rename = "SingleSignOnUserIdentifier")] #[serde(skip_serializing_if = "Option::is_none")] pub single_sign_on_user_identifier: Option<String>, /// <p>The SSO user value.</p> #[serde(rename = "SingleSignOnUserValue")] #[serde(skip_serializing_if = "Option::is_none")] pub single_sign_on_user_value: Option<String>, /// <p>The status.</p> #[serde(rename = "Status")] #[serde(skip_serializing_if = "Option::is_none")] pub status: Option<String>, /// <p>The user profile Amazon Resource Name (ARN).</p> #[serde(rename = "UserProfileArn")] #[serde(skip_serializing_if = "Option::is_none")] pub user_profile_arn: Option<String>, /// <p>The user profile name.</p> #[serde(rename = "UserProfileName")] #[serde(skip_serializing_if = "Option::is_none")] pub user_profile_name: Option<String>, /// <p>A collection of settings.</p> #[serde(rename = "UserSettings")] #[serde(skip_serializing_if = "Option::is_none")] pub user_settings: Option<UserSettings>, } #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct DescribeWorkforceRequest { /// <p>The name of the private workforce whose access you want to restrict. <code>WorkforceName</code> is automatically set to <code>default</code> when a workforce is created and cannot be modified. </p> #[serde(rename = "WorkforceName")] pub workforce_name: String, } #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct DescribeWorkforceResponse { /// <p>A single private workforce, which is automatically created when you create your first private work team. You can create one private work force in each AWS Region. By default, any workforce-related API operation used in a specific region will apply to the workforce created in that region. To learn how to create a private workforce, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/sms-workforce-create-private.html">Create a Private Workforce</a>.</p> #[serde(rename = "Workforce")] pub workforce: Workforce, } #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct DescribeWorkteamRequest { /// <p>The name of the work team to return a description of.</p> #[serde(rename = "WorkteamName")] pub workteam_name: String, } #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct DescribeWorkteamResponse { /// <p>A <code>Workteam</code> instance that contains information about the work team. </p> #[serde(rename = "Workteam")] pub workteam: Workteam, } /// <p>Specifies weight and capacity values for a production variant.</p> #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct DesiredWeightAndCapacity { /// <p>The variant's capacity.</p> #[serde(rename = "DesiredInstanceCount")] #[serde(skip_serializing_if = "Option::is_none")] pub desired_instance_count: Option<i64>, /// <p>The variant's weight.</p> #[serde(rename = "DesiredWeight")] #[serde(skip_serializing_if = "Option::is_none")] pub desired_weight: Option<f32>, /// <p>The name of the variant to update.</p> #[serde(rename = "VariantName")] pub variant_name: String, } #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct DisassociateTrialComponentRequest { /// <p>The name of the component to disassociate from the trial.</p> #[serde(rename = "TrialComponentName")] pub trial_component_name: String, /// <p>The name of the trial to disassociate from.</p> #[serde(rename = "TrialName")] pub trial_name: String, } #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct DisassociateTrialComponentResponse { /// <p>The Amazon Resource Name (ARN) of the trial.</p> #[serde(rename = "TrialArn")] #[serde(skip_serializing_if = "Option::is_none")] pub trial_arn: Option<String>, /// <p>The ARN of the trial component.</p> #[serde(rename = "TrialComponentArn")] #[serde(skip_serializing_if = "Option::is_none")] pub trial_component_arn: Option<String>, } /// <p>The domain's details.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct DomainDetails { /// <p>The creation time.</p> #[serde(rename = "CreationTime")] #[serde(skip_serializing_if = "Option::is_none")] pub creation_time: Option<f64>, /// <p>The domain's Amazon Resource Name (ARN).</p> #[serde(rename = "DomainArn")] #[serde(skip_serializing_if = "Option::is_none")] pub domain_arn: Option<String>, /// <p>The domain ID.</p> #[serde(rename = "DomainId")] #[serde(skip_serializing_if = "Option::is_none")] pub domain_id: Option<String>, /// <p>The domain name.</p> #[serde(rename = "DomainName")] #[serde(skip_serializing_if = "Option::is_none")] pub domain_name: Option<String>, /// <p>The last modified time.</p> #[serde(rename = "LastModifiedTime")] #[serde(skip_serializing_if = "Option::is_none")] pub last_modified_time: Option<f64>, /// <p>The status.</p> #[serde(rename = "Status")] #[serde(skip_serializing_if = "Option::is_none")] pub status: Option<String>, /// <p>The domain's URL.</p> #[serde(rename = "Url")] #[serde(skip_serializing_if = "Option::is_none")] pub url: Option<String>, } /// <p>Provides summary information for an endpoint configuration.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct EndpointConfigSummary { /// <p>A timestamp that shows when the endpoint configuration was created.</p> #[serde(rename = "CreationTime")] pub creation_time: f64, /// <p>The Amazon Resource Name (ARN) of the endpoint configuration.</p> #[serde(rename = "EndpointConfigArn")] pub endpoint_config_arn: String, /// <p>The name of the endpoint configuration.</p> #[serde(rename = "EndpointConfigName")] pub endpoint_config_name: String, } /// <p>Input object for the endpoint</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq, Serialize)] pub struct EndpointInput { /// <p>An endpoint in customer's account which has enabled <code>DataCaptureConfig</code> enabled.</p> #[serde(rename = "EndpointName")] pub endpoint_name: String, /// <p>Path to the filesystem where the endpoint data is available to the container.</p> #[serde(rename = "LocalPath")] pub local_path: String, /// <p>Whether input data distributed in Amazon S3 is fully replicated or sharded by an S3 key. Defauts to <code>FullyReplicated</code> </p> #[serde(rename = "S3DataDistributionType")] #[serde(skip_serializing_if = "Option::is_none")] pub s3_data_distribution_type: Option<String>, /// <p>Whether the <code>Pipe</code> or <code>File</code> is used as the input mode for transfering data for the monitoring job. <code>Pipe</code> mode is recommended for large datasets. <code>File</code> mode is useful for small files that fit in memory. Defaults to <code>File</code>.</p> #[serde(rename = "S3InputMode")] #[serde(skip_serializing_if = "Option::is_none")] pub s3_input_mode: Option<String>, } /// <p>Provides summary information for an endpoint.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct EndpointSummary { /// <p>A timestamp that shows when the endpoint was created.</p> #[serde(rename = "CreationTime")] pub creation_time: f64, /// <p>The Amazon Resource Name (ARN) of the endpoint.</p> #[serde(rename = "EndpointArn")] pub endpoint_arn: String, /// <p>The name of the endpoint.</p> #[serde(rename = "EndpointName")] pub endpoint_name: String, /// <p>The status of the endpoint.</p> <ul> <li> <p> <code>OutOfService</code>: Endpoint is not available to take incoming requests.</p> </li> <li> <p> <code>Creating</code>: <a>CreateEndpoint</a> is executing.</p> </li> <li> <p> <code>Updating</code>: <a>UpdateEndpoint</a> or <a>UpdateEndpointWeightsAndCapacities</a> is executing.</p> </li> <li> <p> <code>SystemUpdating</code>: Endpoint is undergoing maintenance and cannot be updated or deleted or re-scaled until it has completed. This maintenance operation does not change any customer-specified values such as VPC config, KMS encryption, model, instance type, or instance count.</p> </li> <li> <p> <code>RollingBack</code>: Endpoint fails to scale up or down or change its variant weight and is in the process of rolling back to its previous configuration. Once the rollback completes, endpoint returns to an <code>InService</code> status. This transitional status only applies to an endpoint that has autoscaling enabled and is undergoing variant weight or capacity changes as part of an <a>UpdateEndpointWeightsAndCapacities</a> call or when the <a>UpdateEndpointWeightsAndCapacities</a> operation is called explicitly.</p> </li> <li> <p> <code>InService</code>: Endpoint is available to process incoming requests.</p> </li> <li> <p> <code>Deleting</code>: <a>DeleteEndpoint</a> is executing.</p> </li> <li> <p> <code>Failed</code>: Endpoint could not be created, updated, or re-scaled. Use <a>DescribeEndpointOutput$FailureReason</a> for information about the failure. <a>DeleteEndpoint</a> is the only operation that can be performed on a failed endpoint.</p> </li> </ul> <p>To get a list of endpoints with a specified status, use the <a>ListEndpointsInput$StatusEquals</a> filter.</p> #[serde(rename = "EndpointStatus")] pub endpoint_status: String, /// <p>A timestamp that shows when the endpoint was last modified.</p> #[serde(rename = "LastModifiedTime")] pub last_modified_time: f64, } /// <p>The properties of an experiment as returned by the <a>Search</a> API.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct Experiment { #[serde(rename = "CreatedBy")] #[serde(skip_serializing_if = "Option::is_none")] pub created_by: Option<UserContext>, /// <p>When the experiment was created.</p> #[serde(rename = "CreationTime")] #[serde(skip_serializing_if = "Option::is_none")] pub creation_time: Option<f64>, /// <p>The description of the experiment.</p> #[serde(rename = "Description")] #[serde(skip_serializing_if = "Option::is_none")] pub description: Option<String>, /// <p>The name of the experiment as displayed. If <code>DisplayName</code> isn't specified, <code>ExperimentName</code> is displayed.</p> #[serde(rename = "DisplayName")] #[serde(skip_serializing_if = "Option::is_none")] pub display_name: Option<String>, /// <p>The Amazon Resource Name (ARN) of the experiment.</p> #[serde(rename = "ExperimentArn")] #[serde(skip_serializing_if = "Option::is_none")] pub experiment_arn: Option<String>, /// <p>The name of the experiment.</p> #[serde(rename = "ExperimentName")] #[serde(skip_serializing_if = "Option::is_none")] pub experiment_name: Option<String>, #[serde(rename = "LastModifiedBy")] #[serde(skip_serializing_if = "Option::is_none")] pub last_modified_by: Option<UserContext>, /// <p>When the experiment was last modified.</p> #[serde(rename = "LastModifiedTime")] #[serde(skip_serializing_if = "Option::is_none")] pub last_modified_time: Option<f64>, #[serde(rename = "Source")] #[serde(skip_serializing_if = "Option::is_none")] pub source: Option<ExperimentSource>, /// <p>The list of tags that are associated with the experiment. You can use <a>Search</a> API to search on the tags.</p> #[serde(rename = "Tags")] #[serde(skip_serializing_if = "Option::is_none")] pub tags: Option<Vec<Tag>>, } /// <p>Configuration for the experiment.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq, Serialize)] pub struct ExperimentConfig { /// <p>The name of the experiment.</p> #[serde(rename = "ExperimentName")] #[serde(skip_serializing_if = "Option::is_none")] pub experiment_name: Option<String>, /// <p>Display name for the trial component.</p> #[serde(rename = "TrialComponentDisplayName")] #[serde(skip_serializing_if = "Option::is_none")] pub trial_component_display_name: Option<String>, /// <p>The name of the trial.</p> #[serde(rename = "TrialName")] #[serde(skip_serializing_if = "Option::is_none")] pub trial_name: Option<String>, } /// <p>The source of the experiment.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct ExperimentSource { /// <p>The Amazon Resource Name (ARN) of the source.</p> #[serde(rename = "SourceArn")] pub source_arn: String, /// <p>The source type.</p> #[serde(rename = "SourceType")] #[serde(skip_serializing_if = "Option::is_none")] pub source_type: Option<String>, } /// <p>A summary of the properties of an experiment. To get the complete set of properties, call the <a>DescribeExperiment</a> API and provide the <code>ExperimentName</code>.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct ExperimentSummary { /// <p>When the experiment was created.</p> #[serde(rename = "CreationTime")] #[serde(skip_serializing_if = "Option::is_none")] pub creation_time: Option<f64>, /// <p>The name of the experiment as displayed. If <code>DisplayName</code> isn't specified, <code>ExperimentName</code> is displayed.</p> #[serde(rename = "DisplayName")] #[serde(skip_serializing_if = "Option::is_none")] pub display_name: Option<String>, /// <p>The Amazon Resource Name (ARN) of the experiment.</p> #[serde(rename = "ExperimentArn")] #[serde(skip_serializing_if = "Option::is_none")] pub experiment_arn: Option<String>, /// <p>The name of the experiment.</p> #[serde(rename = "ExperimentName")] #[serde(skip_serializing_if = "Option::is_none")] pub experiment_name: Option<String>, #[serde(rename = "ExperimentSource")] #[serde(skip_serializing_if = "Option::is_none")] pub experiment_source: Option<ExperimentSource>, /// <p>When the experiment was last modified.</p> #[serde(rename = "LastModifiedTime")] #[serde(skip_serializing_if = "Option::is_none")] pub last_modified_time: Option<f64>, } /// <p>Specifies a file system data source for a channel.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq, Serialize)] pub struct FileSystemDataSource { /// <p>The full path to the directory to associate with the channel.</p> #[serde(rename = "DirectoryPath")] pub directory_path: String, /// <p>The access mode of the mount of the directory associated with the channel. A directory can be mounted either in <code>ro</code> (read-only) or <code>rw</code> (read-write) mode.</p> #[serde(rename = "FileSystemAccessMode")] pub file_system_access_mode: String, /// <p>The file system id.</p> #[serde(rename = "FileSystemId")] pub file_system_id: String, /// <p>The file system type. </p> #[serde(rename = "FileSystemType")] pub file_system_type: String, } /// <p><p>A conditional statement for a search expression that includes a resource property, a Boolean operator, and a value. Resources that match the statement are returned in the results from the <a>Search</a> API.</p> <p>If you specify a <code>Value</code>, but not an <code>Operator</code>, Amazon SageMaker uses the equals operator.</p> <p>In search, there are several property types:</p> <dl> <dt>Metrics</dt> <dd> <p>To define a metric filter, enter a value using the form <code>"Metrics.<name>"</code>, where <code><name></code> is a metric name. For example, the following filter searches for training jobs with an <code>"accuracy"</code> metric greater than <code>"0.9"</code>:</p> <p> <code>{</code> </p> <p> <code>"Name": "Metrics.accuracy",</code> </p> <p> <code>"Operator": "GreaterThan",</code> </p> <p> <code>"Value": "0.9"</code> </p> <p> <code>}</code> </p> </dd> <dt>HyperParameters</dt> <dd> <p>To define a hyperparameter filter, enter a value with the form <code>"HyperParameters.<name>"</code>. Decimal hyperparameter values are treated as a decimal in a comparison if the specified <code>Value</code> is also a decimal value. If the specified <code>Value</code> is an integer, the decimal hyperparameter values are treated as integers. For example, the following filter is satisfied by training jobs with a <code>"learning<em>rate"</code> hyperparameter that is less than <code>"0.5"</code>:</p> <p> <code> {</code> </p> <p> <code> "Name": "HyperParameters.learning</em>rate",</code> </p> <p> <code> "Operator": "LessThan",</code> </p> <p> <code> "Value": "0.5"</code> </p> <p> <code> }</code> </p> </dd> <dt>Tags</dt> <dd> <p>To define a tag filter, enter a value with the form <code>Tags.<key></code>.</p> </dd> </dl></p> #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct Filter { /// <p>A resource property name. For example, <code>TrainingJobName</code>. For valid property names, see <a>SearchRecord</a>. You must specify a valid property for the resource.</p> #[serde(rename = "Name")] pub name: String, /// <p><p>A Boolean binary operator that is used to evaluate the filter. The operator field contains one of the following values:</p> <dl> <dt>Equals</dt> <dd> <p>The value of <code>Name</code> equals <code>Value</code>.</p> </dd> <dt>NotEquals</dt> <dd> <p>The value of <code>Name</code> doesn't equal <code>Value</code>.</p> </dd> <dt>Exists</dt> <dd> <p>The <code>Name</code> property exists.</p> </dd> <dt>NotExists</dt> <dd> <p>The <code>Name</code> property does not exist.</p> </dd> <dt>GreaterThan</dt> <dd> <p>The value of <code>Name</code> is greater than <code>Value</code>. Not supported for text properties.</p> </dd> <dt>GreaterThanOrEqualTo</dt> <dd> <p>The value of <code>Name</code> is greater than or equal to <code>Value</code>. Not supported for text properties.</p> </dd> <dt>LessThan</dt> <dd> <p>The value of <code>Name</code> is less than <code>Value</code>. Not supported for text properties.</p> </dd> <dt>LessThanOrEqualTo</dt> <dd> <p>The value of <code>Name</code> is less than or equal to <code>Value</code>. Not supported for text properties.</p> </dd> <dt>In</dt> <dd> <p>The value of <code>Name</code> is one of the comma delimited strings in <code>Value</code>. Only supported for text properties.</p> </dd> <dt>Contains</dt> <dd> <p>The value of <code>Name</code> contains the string <code>Value</code>. Only supported for text properties.</p> <p>A <code>SearchExpression</code> can include the <code>Contains</code> operator multiple times when the value of <code>Name</code> is one of the following:</p> <ul> <li> <p> <code>Experiment.DisplayName</code> </p> </li> <li> <p> <code>Experiment.ExperimentName</code> </p> </li> <li> <p> <code>Experiment.Tags</code> </p> </li> <li> <p> <code>Trial.DisplayName</code> </p> </li> <li> <p> <code>Trial.TrialName</code> </p> </li> <li> <p> <code>Trial.Tags</code> </p> </li> <li> <p> <code>TrialComponent.DisplayName</code> </p> </li> <li> <p> <code>TrialComponent.TrialComponentName</code> </p> </li> <li> <p> <code>TrialComponent.Tags</code> </p> </li> <li> <p> <code>TrialComponent.InputArtifacts</code> </p> </li> <li> <p> <code>TrialComponent.OutputArtifacts</code> </p> </li> </ul> <p>A <code>SearchExpression</code> can include only one <code>Contains</code> operator for all other values of <code>Name</code>. In these cases, if you include multiple <code>Contains</code> operators in the <code>SearchExpression</code>, the result is the following error message: "<code>'CONTAINS' operator usage limit of 1 exceeded.</code>"</p> </dd> </dl></p> #[serde(rename = "Operator")] #[serde(skip_serializing_if = "Option::is_none")] pub operator: Option<String>, /// <p>A value used with <code>Name</code> and <code>Operator</code> to determine which resources satisfy the filter's condition. For numerical properties, <code>Value</code> must be an integer or floating-point decimal. For timestamp properties, <code>Value</code> must be an ISO 8601 date-time string of the following format: <code>YYYY-mm-dd'T'HH:MM:SS</code>.</p> #[serde(rename = "Value")] #[serde(skip_serializing_if = "Option::is_none")] pub value: Option<String>, } /// <p>The candidate result from a job.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct FinalAutoMLJobObjectiveMetric { /// <p>The name of the metric.</p> #[serde(rename = "MetricName")] pub metric_name: String, /// <p>The metric type used.</p> #[serde(rename = "Type")] #[serde(skip_serializing_if = "Option::is_none")] pub type_: Option<String>, /// <p>The value of the metric.</p> #[serde(rename = "Value")] pub value: f32, } /// <p>Shows the final value for the objective metric for a training job that was launched by a hyperparameter tuning job. You define the objective metric in the <code>HyperParameterTuningJobObjective</code> parameter of <a>HyperParameterTuningJobConfig</a>.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct FinalHyperParameterTuningJobObjectiveMetric { /// <p>The name of the objective metric.</p> #[serde(rename = "MetricName")] pub metric_name: String, /// <p>Whether to minimize or maximize the objective metric. Valid values are Minimize and Maximize.</p> #[serde(rename = "Type")] #[serde(skip_serializing_if = "Option::is_none")] pub type_: Option<String>, /// <p>The value of the objective metric.</p> #[serde(rename = "Value")] pub value: f32, } /// <p>Contains information about where human output will be stored.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq, Serialize)] pub struct FlowDefinitionOutputConfig { /// <p>The Amazon Key Management Service (KMS) key ID for server-side encryption.</p> #[serde(rename = "KmsKeyId")] #[serde(skip_serializing_if = "Option::is_none")] pub kms_key_id: Option<String>, /// <p>The Amazon S3 path where the object containing human output will be made available.</p> #[serde(rename = "S3OutputPath")] pub s3_output_path: String, } /// <p>Contains summary information about the flow definition.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct FlowDefinitionSummary { /// <p>The timestamp when SageMaker created the flow definition.</p> #[serde(rename = "CreationTime")] pub creation_time: f64, /// <p>The reason why the flow definition creation failed. A failure reason is returned only when the flow definition status is <code>Failed</code>.</p> #[serde(rename = "FailureReason")] #[serde(skip_serializing_if = "Option::is_none")] pub failure_reason: Option<String>, /// <p>The Amazon Resource Name (ARN) of the flow definition.</p> #[serde(rename = "FlowDefinitionArn")] pub flow_definition_arn: String, /// <p>The name of the flow definition.</p> #[serde(rename = "FlowDefinitionName")] pub flow_definition_name: String, /// <p>The status of the flow definition. Valid values:</p> #[serde(rename = "FlowDefinitionStatus")] pub flow_definition_status: String, } #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct GetSearchSuggestionsRequest { /// <p>The name of the Amazon SageMaker resource to search for.</p> #[serde(rename = "Resource")] pub resource: String, /// <p>Limits the property names that are included in the response.</p> #[serde(rename = "SuggestionQuery")] #[serde(skip_serializing_if = "Option::is_none")] pub suggestion_query: Option<SuggestionQuery>, } #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct GetSearchSuggestionsResponse { /// <p>A list of property names for a <code>Resource</code> that match a <code>SuggestionQuery</code>.</p> #[serde(rename = "PropertyNameSuggestions")] #[serde(skip_serializing_if = "Option::is_none")] pub property_name_suggestions: Option<Vec<PropertyNameSuggestion>>, } /// <p>Specifies configuration details for a Git repository in your AWS account.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq, Serialize)] pub struct GitConfig { /// <p>The default branch for the Git repository.</p> #[serde(rename = "Branch")] #[serde(skip_serializing_if = "Option::is_none")] pub branch: Option<String>, /// <p>The URL where the Git repository is located.</p> #[serde(rename = "RepositoryUrl")] pub repository_url: String, /// <p>The Amazon Resource Name (ARN) of the AWS Secrets Manager secret that contains the credentials used to access the git repository. The secret must have a staging label of <code>AWSCURRENT</code> and must be in the following format:</p> <p> <code>{"username": <i>UserName</i>, "password": <i>Password</i>}</code> </p> #[serde(rename = "SecretArn")] #[serde(skip_serializing_if = "Option::is_none")] pub secret_arn: Option<String>, } /// <p>Specifies configuration details for a Git repository when the repository is updated.</p> #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct GitConfigForUpdate { /// <p>The Amazon Resource Name (ARN) of the AWS Secrets Manager secret that contains the credentials used to access the git repository. The secret must have a staging label of <code>AWSCURRENT</code> and must be in the following format:</p> <p> <code>{"username": <i>UserName</i>, "password": <i>Password</i>}</code> </p> #[serde(rename = "SecretArn")] #[serde(skip_serializing_if = "Option::is_none")] pub secret_arn: Option<String>, } /// <p>Defines under what conditions SageMaker creates a human loop. Used within . See for the required format of activation conditions.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq, Serialize)] pub struct HumanLoopActivationConditionsConfig { /// <p>JSON expressing use-case specific conditions declaratively. If any condition is matched, atomic tasks are created against the configured work team. The set of conditions is different for Rekognition and Textract. For more information about how to structure the JSON, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/a2i-human-fallback-conditions-json-schema.html">JSON Schema for Human Loop Activation Conditions in Amazon Augmented AI</a> in the <i>Amazon SageMaker Developer Guide</i>.</p> #[serde(rename = "HumanLoopActivationConditions")] pub human_loop_activation_conditions: String, } /// <p>Provides information about how and under what conditions SageMaker creates a human loop. If <code>HumanLoopActivationConfig</code> is not given, then all requests go to humans.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq, Serialize)] pub struct HumanLoopActivationConfig { /// <p>Container structure for defining under what conditions SageMaker creates a human loop.</p> #[serde(rename = "HumanLoopActivationConditionsConfig")] pub human_loop_activation_conditions_config: HumanLoopActivationConditionsConfig, } /// <p>Describes the work to be performed by human workers.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq, Serialize)] pub struct HumanLoopConfig { /// <p>The Amazon Resource Name (ARN) of the human task user interface.</p> #[serde(rename = "HumanTaskUiArn")] pub human_task_ui_arn: String, #[serde(rename = "PublicWorkforceTaskPrice")] #[serde(skip_serializing_if = "Option::is_none")] pub public_workforce_task_price: Option<PublicWorkforceTaskPrice>, /// <p>The length of time that a task remains available for labeling by human workers.</p> #[serde(rename = "TaskAvailabilityLifetimeInSeconds")] #[serde(skip_serializing_if = "Option::is_none")] pub task_availability_lifetime_in_seconds: Option<i64>, /// <p>The number of distinct workers who will perform the same task on each object. For example, if <code>TaskCount</code> is set to <code>3</code> for an image classification labeling job, three workers will classify each input image. Increasing <code>TaskCount</code> can improve label accuracy.</p> #[serde(rename = "TaskCount")] pub task_count: i64, /// <p>A description for the human worker task.</p> #[serde(rename = "TaskDescription")] pub task_description: String, /// <p>Keywords used to describe the task so that workers can discover the task.</p> #[serde(rename = "TaskKeywords")] #[serde(skip_serializing_if = "Option::is_none")] pub task_keywords: Option<Vec<String>>, /// <p>The amount of time that a worker has to complete a task.</p> #[serde(rename = "TaskTimeLimitInSeconds")] #[serde(skip_serializing_if = "Option::is_none")] pub task_time_limit_in_seconds: Option<i64>, /// <p>A title for the human worker task.</p> #[serde(rename = "TaskTitle")] pub task_title: String, /// <p>Amazon Resource Name (ARN) of a team of workers.</p> #[serde(rename = "WorkteamArn")] pub workteam_arn: String, } /// <p>Container for configuring the source of human task requests.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq, Serialize)] pub struct HumanLoopRequestSource { /// <p>Specifies whether Amazon Rekognition or Amazon Textract are used as the integration source. The default field settings and JSON parsing rules are different based on the integration source. Valid values:</p> #[serde(rename = "AwsManagedHumanLoopRequestSource")] pub aws_managed_human_loop_request_source: String, } /// <p>Information required for human workers to complete a labeling task.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq, Serialize)] pub struct HumanTaskConfig { /// <p>Configures how labels are consolidated across human workers.</p> #[serde(rename = "AnnotationConsolidationConfig")] pub annotation_consolidation_config: AnnotationConsolidationConfig, /// <p>Defines the maximum number of data objects that can be labeled by human workers at the same time. Also referred to as batch size. Each object may have more than one worker at one time. The default value is 1000 objects.</p> #[serde(rename = "MaxConcurrentTaskCount")] #[serde(skip_serializing_if = "Option::is_none")] pub max_concurrent_task_count: Option<i64>, /// <p>The number of human workers that will label an object. </p> #[serde(rename = "NumberOfHumanWorkersPerDataObject")] pub number_of_human_workers_per_data_object: i64, /// <p><p>The Amazon Resource Name (ARN) of a Lambda function that is run before a data object is sent to a human worker. Use this function to provide input to a custom labeling job.</p> <p>For <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/sms-task-types.html">built-in task types</a>, use one of the following Amazon SageMaker Ground Truth Lambda function ARNs for <code>PreHumanTaskLambdaArn</code>. For custom labeling workflows, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/sms-custom-templates-step3.html#sms-custom-templates-step3-prelambda">Pre-annotation Lambda</a>. </p> <p> <b>Bounding box</b> - Finds the most similar boxes from different workers based on the Jaccard index of the boxes.</p> <ul> <li> <p> <code>arn:aws:lambda:us-east-1:432418664414:function:PRE-BoundingBox</code> </p> </li> <li> <p> <code>arn:aws:lambda:us-east-2:266458841044:function:PRE-BoundingBox</code> </p> </li> <li> <p> <code>arn:aws:lambda:us-west-2:081040173940:function:PRE-BoundingBox</code> </p> </li> <li> <p> <code>arn:aws:lambda:ca-central-1:918755190332:function:PRE-BoundingBox</code> </p> </li> <li> <p> <code>arn:aws:lambda:eu-west-1:568282634449:function:PRE-BoundingBox</code> </p> </li> <li> <p> <code>arn:aws:lambda:eu-west-2:487402164563:function:PRE-BoundingBox</code> </p> </li> <li> <p> <code>arn:aws:lambda:eu-central-1:203001061592:function:PRE-BoundingBox</code> </p> </li> <li> <p> <code>arn:aws:lambda:ap-northeast-1:477331159723:function:PRE-BoundingBox</code> </p> </li> <li> <p> <code>arn:aws:lambda:ap-northeast-2:845288260483:function:PRE-BoundingBox</code> </p> </li> <li> <p> <code>arn:aws:lambda:ap-south-1:565803892007:function:PRE-BoundingBox</code> </p> </li> <li> <p> <code>arn:aws:lambda:ap-southeast-1:377565633583:function:PRE-BoundingBox</code> </p> </li> <li> <p> <code>arn:aws:lambda:ap-southeast-2:454466003867:function:PRE-BoundingBox</code> </p> </li> </ul> <p> <b>Image classification</b> - Uses a variant of the Expectation Maximization approach to estimate the true class of an image based on annotations from individual workers.</p> <ul> <li> <p> <code>arn:aws:lambda:us-east-1:432418664414:function:PRE-ImageMultiClass</code> </p> </li> <li> <p> <code>arn:aws:lambda:us-east-2:266458841044:function:PRE-ImageMultiClass</code> </p> </li> <li> <p> <code>arn:aws:lambda:us-west-2:081040173940:function:PRE-ImageMultiClass</code> </p> </li> <li> <p> <code>arn:aws:lambda:ca-central-1:918755190332:function:PRE-ImageMultiClass</code> </p> </li> <li> <p> <code>arn:aws:lambda:eu-west-1:568282634449:function:PRE-ImageMultiClass</code> </p> </li> <li> <p> <code>arn:aws:lambda:eu-west-2:487402164563:function:PRE-ImageMultiClass</code> </p> </li> <li> <p> <code>arn:aws:lambda:eu-central-1:203001061592:function:PRE-ImageMultiClass</code> </p> </li> <li> <p> <code>arn:aws:lambda:ap-northeast-1:477331159723:function:PRE-ImageMultiClass</code> </p> </li> <li> <p> <code>arn:aws:lambda:ap-northeast-2:845288260483:function:PRE-ImageMultiClass</code> </p> </li> <li> <p> <code>arn:aws:lambda:ap-south-1:565803892007:function:PRE-ImageMultiClass</code> </p> </li> <li> <p> <code>arn:aws:lambda:ap-southeast-1:377565633583:function:PRE-ImageMultiClass</code> </p> </li> <li> <p> <code>arn:aws:lambda:ap-southeast-2:454466003867:function:PRE-ImageMultiClass</code> </p> </li> </ul> <p> <b>Multi-label image classification</b> - Uses a variant of the Expectation Maximization approach to estimate the true classes of an image based on annotations from individual workers.</p> <ul> <li> <p> <code>arn:aws:lambda:us-east-1:432418664414:function:PRE-ImageMultiClassMultiLabel</code> </p> </li> <li> <p> <code>arn:aws:lambda:us-east-2:266458841044:function:PRE-ImageMultiClassMultiLabel</code> </p> </li> <li> <p> <code>arn:aws:lambda:us-west-2:081040173940:function:PRE-ImageMultiClassMultiLabel</code> </p> </li> <li> <p> <code>arn:aws:lambda:ca-central-1:918755190332:function:PRE-ImageMultiClassMultiLabel</code> </p> </li> <li> <p> <code>arn:aws:lambda:eu-west-1:568282634449:function:PRE-ImageMultiClassMultiLabel</code> </p> </li> <li> <p> <code>arn:aws:lambda:eu-west-2:487402164563:function:PRE-ImageMultiClassMultiLabel</code> </p> </li> <li> <p> <code>arn:aws:lambda:eu-central-1:203001061592:function:PRE-ImageMultiClassMultiLabel</code> </p> </li> <li> <p> <code>arn:aws:lambda:ap-northeast-1:477331159723:function:PRE-ImageMultiClassMultiLabel</code> </p> </li> <li> <p> <code>arn:aws:lambda:ap-northeast-2:845288260483:function:PRE-ImageMultiClassMultiLabel</code> </p> </li> <li> <p> <code>arn:aws:lambda:ap-south-1:565803892007:function:PRE-ImageMultiClassMultiLabel</code> </p> </li> <li> <p> <code>arn:aws:lambda:ap-southeast-1:377565633583:function:PRE-ImageMultiClassMultiLabel</code> </p> </li> <li> <p> <code>arn:aws:lambda:ap-southeast-2:454466003867:function:PRE-ImageMultiClassMultiLabel</code> </p> </li> </ul> <p> <b>Semantic segmentation</b> - Treats each pixel in an image as a multi-class classification and treats pixel annotations from workers as "votes" for the correct label.</p> <ul> <li> <p> <code>arn:aws:lambda:us-east-1:432418664414:function:PRE-SemanticSegmentation</code> </p> </li> <li> <p> <code>arn:aws:lambda:us-east-2:266458841044:function:PRE-SemanticSegmentation</code> </p> </li> <li> <p> <code>arn:aws:lambda:us-west-2:081040173940:function:PRE-SemanticSegmentation</code> </p> </li> <li> <p> <code>arn:aws:lambda:ca-central-1:918755190332:function:PRE-SemanticSegmentation</code> </p> </li> <li> <p> <code>arn:aws:lambda:eu-west-1:568282634449:function:PRE-SemanticSegmentation</code> </p> </li> <li> <p> <code>arn:aws:lambda:eu-west-2:487402164563:function:PRE-SemanticSegmentation</code> </p> </li> <li> <p> <code>arn:aws:lambda:eu-central-1:203001061592:function:PRE-SemanticSegmentation</code> </p> </li> <li> <p> <code>arn:aws:lambda:ap-northeast-1:477331159723:function:PRE-SemanticSegmentation</code> </p> </li> <li> <p> <code>arn:aws:lambda:ap-northeast-2:845288260483:function:PRE-SemanticSegmentation</code> </p> </li> <li> <p> <code>arn:aws:lambda:ap-south-1:565803892007:function:PRE-SemanticSegmentation</code> </p> </li> <li> <p> <code>arn:aws:lambda:ap-southeast-1:377565633583:function:PRE-SemanticSegmentation</code> </p> </li> <li> <p> <code>arn:aws:lambda:ap-southeast-2:454466003867:function:PRE-SemanticSegmentation</code> </p> </li> </ul> <p> <b>Text classification</b> - Uses a variant of the Expectation Maximization approach to estimate the true class of text based on annotations from individual workers.</p> <ul> <li> <p> <code>arn:aws:lambda:us-east-1:432418664414:function:PRE-TextMultiClass</code> </p> </li> <li> <p> <code>arn:aws:lambda:us-east-2:266458841044:function:PRE-TextMultiClass</code> </p> </li> <li> <p> <code>arn:aws:lambda:us-west-2:081040173940:function:PRE-TextMultiClass</code> </p> </li> <li> <p> <code>arn:aws:lambda:ca-central-1:918755190332:function:PRE-TextMultiClass</code> </p> </li> <li> <p> <code>arn:aws:lambda:eu-west-1:568282634449:function:PRE-TextMultiClass</code> </p> </li> <li> <p> <code>arn:aws:lambda:eu-west-2:487402164563:function:PRE-TextMultiClass</code> </p> </li> <li> <p> <code>arn:aws:lambda:eu-central-1:203001061592:function:PRE-TextMultiClass</code> </p> </li> <li> <p> <code>arn:aws:lambda:ap-northeast-1:477331159723:function:PRE-TextMultiClass</code> </p> </li> <li> <p> <code>arn:aws:lambda:ap-northeast-2:845288260483:function:PRE-TextMultiClass</code> </p> </li> <li> <p> <code>arn:aws:lambda:ap-south-1:565803892007:function:PRE-TextMultiClass</code> </p> </li> <li> <p> <code>arn:aws:lambda:ap-southeast-1:377565633583:function:PRE-TextMultiClass</code> </p> </li> <li> <p> <code>arn:aws:lambda:ap-southeast-2:454466003867:function:PRE-TextMultiClass</code> </p> </li> </ul> <p> <b>Multi-label text classification</b> - Uses a variant of the Expectation Maximization approach to estimate the true classes of text based on annotations from individual workers.</p> <ul> <li> <p> <code>arn:aws:lambda:us-east-1:432418664414:function:PRE-TextMultiClassMultiLabel</code> </p> </li> <li> <p> <code>arn:aws:lambda:us-east-2:266458841044:function:PRE-TextMultiClassMultiLabel</code> </p> </li> <li> <p> <code>arn:aws:lambda:us-west-2:081040173940:function:PRE-TextMultiClassMultiLabel</code> </p> </li> <li> <p> <code>arn:aws:lambda:ca-central-1:918755190332:function:PRE-TextMultiClassMultiLabel</code> </p> </li> <li> <p> <code>arn:aws:lambda:eu-west-1:568282634449:function:PRE-TextMultiClassMultiLabel</code> </p> </li> <li> <p> <code>arn:aws:lambda:eu-west-2:487402164563:function:PRE-TextMultiClassMultiLabel</code> </p> </li> <li> <p> <code>arn:aws:lambda:eu-central-1:203001061592:function:PRE-TextMultiClassMultiLabel</code> </p> </li> <li> <p> <code>arn:aws:lambda:ap-northeast-1:477331159723:function:PRE-TextMultiClassMultiLabel</code> </p> </li> <li> <p> <code>arn:aws:lambda:ap-northeast-2:845288260483:function:PRE-TextMultiClassMultiLabel</code> </p> </li> <li> <p> <code>arn:aws:lambda:ap-south-1:565803892007:function:PRE-TextMultiClassMultiLabel</code> </p> </li> <li> <p> <code>arn:aws:lambda:ap-southeast-1:377565633583:function:PRE-TextMultiClassMultiLabel</code> </p> </li> <li> <p> <code>arn:aws:lambda:ap-southeast-2:454466003867:function:PRE-TextMultiClassMultiLabel</code> </p> </li> </ul> <p> <b>Named entity recognition</b> - Groups similar selections and calculates aggregate boundaries, resolving to most-assigned label.</p> <ul> <li> <p> <code>arn:aws:lambda:us-east-1:432418664414:function:PRE-NamedEntityRecognition</code> </p> </li> <li> <p> <code>arn:aws:lambda:us-east-2:266458841044:function:PRE-NamedEntityRecognition</code> </p> </li> <li> <p> <code>arn:aws:lambda:us-west-2:081040173940:function:PRE-NamedEntityRecognition</code> </p> </li> <li> <p> <code>arn:aws:lambda:ca-central-1:918755190332:function:PRE-NamedEntityRecognition</code> </p> </li> <li> <p> <code>arn:aws:lambda:eu-west-1:568282634449:function:PRE-NamedEntityRecognition</code> </p> </li> <li> <p> <code>arn:aws:lambda:eu-west-2:487402164563:function:PRE-NamedEntityRecognition</code> </p> </li> <li> <p> <code>arn:aws:lambda:eu-central-1:203001061592:function:PRE-NamedEntityRecognition</code> </p> </li> <li> <p> <code>arn:aws:lambda:ap-northeast-1:477331159723:function:PRE-NamedEntityRecognition</code> </p> </li> <li> <p> <code>arn:aws:lambda:ap-northeast-2:845288260483:function:PRE-NamedEntityRecognition</code> </p> </li> <li> <p> <code>arn:aws:lambda:ap-south-1:565803892007:function:PRE-NamedEntityRecognition</code> </p> </li> <li> <p> <code>arn:aws:lambda:ap-southeast-1:377565633583:function:PRE-NamedEntityRecognition</code> </p> </li> <li> <p> <code>arn:aws:lambda:ap-southeast-2:454466003867:function:PRE-NamedEntityRecognition</code> </p> </li> </ul> <p> <b>3D Point Cloud Modalities</b> </p> <p>Use the following pre-annotation lambdas for 3D point cloud labeling modality tasks. See <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/sms-point-cloud-task-types.html">3D Point Cloud Task types </a> to learn more. </p> <p> <b>3D Point Cloud Object Detection</b> - Use this task type when you want workers to classify objects in a 3D point cloud by drawing 3D cuboids around objects. For example, you can use this task type to ask workers to identify different types of objects in a point cloud, such as cars, bikes, and pedestrians.</p> <ul> <li> <p> <code>arn:aws:lambda:us-east-1:432418664414:function:PRE-3DPointCloudObjectDetection</code> </p> </li> <li> <p> <code>arn:aws:lambda:us-east-2:266458841044:function:PRE-3DPointCloudObjectDetection</code> </p> </li> <li> <p> <code>arn:aws:lambda:us-west-2:081040173940:function:PRE-3DPointCloudObjectDetection</code> </p> </li> <li> <p> <code>arn:aws:lambda:eu-west-1:568282634449:function:PRE-3DPointCloudObjectDetection</code> </p> </li> <li> <p> <code>arn:aws:lambda:ap-northeast-1:477331159723:function:PRE-3DPointCloudObjectDetection</code> </p> </li> <li> <p> <code>arn:aws:lambda:ap-southeast-2:454466003867:function:PRE-3DPointCloudObjectDetection</code> </p> </li> <li> <p> <code>arn:aws:lambda:ap-south-1:565803892007:function:PRE-3DPointCloudObjectDetection</code> </p> </li> <li> <p> <code>arn:aws:lambda:eu-central-1:203001061592:function:PRE-3DPointCloudObjectDetection</code> </p> </li> <li> <p> <code>arn:aws:lambda:ap-northeast-2:845288260483:function:PRE-3DPointCloudObjectDetection</code> </p> </li> <li> <p> <code>arn:aws:lambda:eu-west-2:487402164563:function:PRE-3DPointCloudObjectDetection</code> </p> </li> <li> <p> <code>arn:aws:lambda:ap-southeast-1:377565633583:function:PRE-3DPointCloudObjectDetection</code> </p> </li> <li> <p> <code>arn:aws:lambda:ca-central-1:918755190332:function:PRE-3DPointCloudObjectDetection</code> </p> </li> </ul> <p> <b>3D Point Cloud Object Tracking</b> - Use this task type when you want workers to draw 3D cuboids around objects that appear in a sequence of 3D point cloud frames. For example, you can use this task type to ask workers to track the movement of vehicles across multiple point cloud frames. </p> <ul> <li> <p> <code>arn:aws:lambda:us-east-1:432418664414:function:PRE-3DPointCloudObjectTracking</code> </p> </li> <li> <p> <code>arn:aws:lambda:us-east-2:266458841044:function:PRE-3DPointCloudObjectTracking</code> </p> </li> <li> <p> <code>arn:aws:lambda:us-west-2:081040173940:function:PRE-3DPointCloudObjectTracking</code> </p> </li> <li> <p> <code>arn:aws:lambda:eu-west-1:568282634449:function:PRE-3DPointCloudObjectTracking</code> </p> </li> <li> <p> <code>arn:aws:lambda:ap-northeast-1:477331159723:function:PRE-3DPointCloudObjectTracking</code> </p> </li> <li> <p> <code>arn:aws:lambda:ap-southeast-2:454466003867:function:PRE-3DPointCloudObjectTracking</code> </p> </li> <li> <p> <code>arn:aws:lambda:ap-south-1:565803892007:function:PRE-3DPointCloudObjectTracking</code> </p> </li> <li> <p> <code>arn:aws:lambda:eu-central-1:203001061592:function:PRE-3DPointCloudObjectTracking</code> </p> </li> <li> <p> <code>arn:aws:lambda:ap-northeast-2:845288260483:function:PRE-3DPointCloudObjectTracking</code> </p> </li> <li> <p> <code>arn:aws:lambda:eu-west-2:487402164563:function:PRE-3DPointCloudObjectTracking</code> </p> </li> <li> <p> <code>arn:aws:lambda:ap-southeast-1:377565633583:function:PRE-3DPointCloudObjectTracking</code> </p> </li> <li> <p> <code>arn:aws:lambda:ca-central-1:918755190332:function:PRE-3DPointCloudObjectTracking</code> </p> </li> </ul> <p> <b>3D Point Cloud Semantic Segmentation</b> - Use this task type when you want workers to create a point-level semantic segmentation masks by painting objects in a 3D point cloud using different colors where each color is assigned to one of the classes you specify.</p> <ul> <li> <p> <code>arn:aws:lambda:us-east-1:432418664414:function:PRE-3DPointCloudSemanticSegmentation</code> </p> </li> <li> <p> <code>arn:aws:lambda:us-east-2:266458841044:function:PRE-3DPointCloudSemanticSegmentation</code> </p> </li> <li> <p> <code>arn:aws:lambda:us-west-2:081040173940:function:PRE-3DPointCloudSemanticSegmentation</code> </p> </li> <li> <p> <code>arn:aws:lambda:eu-west-1:568282634449:function:PRE-3DPointCloudSemanticSegmentation</code> </p> </li> <li> <p> <code>arn:aws:lambda:ap-northeast-1:477331159723:function:PRE-3DPointCloudSemanticSegmentation</code> </p> </li> <li> <p> <code>arn:aws:lambda:ap-southeast-2:454466003867:function:PRE-3DPointCloudSemanticSegmentation</code> </p> </li> <li> <p> <code>arn:aws:lambda:ap-south-1:565803892007:function:PRE-3DPointCloudSemanticSegmentation</code> </p> </li> <li> <p> <code>arn:aws:lambda:eu-central-1:203001061592:function:PRE-3DPointCloudSemanticSegmentation</code> </p> </li> <li> <p> <code>arn:aws:lambda:ap-northeast-2:845288260483:function:PRE-3DPointCloudSemanticSegmentation</code> </p> </li> <li> <p> <code>arn:aws:lambda:eu-west-2:487402164563:function:PRE-3DPointCloudSemanticSegmentation</code> </p> </li> <li> <p> <code>arn:aws:lambda:ap-southeast-1:377565633583:function:PRE-3DPointCloudSemanticSegmentation</code> </p> </li> <li> <p> <code>arn:aws:lambda:ca-central-1:918755190332:function:PRE-3DPointCloudSemanticSegmentation</code> </p> </li> </ul> <p> <b>Use the following ARNs for Label Verification and Adjustment Jobs</b> </p> <p>Use label verification and adjustment jobs to review and adjust labels. To learn more, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/sms-verification-data.html">Verify and Adjust Labels </a>.</p> <p> <b>Bounding box verification</b> - Uses a variant of the Expectation Maximization approach to estimate the true class of verification judgement for bounding box labels based on annotations from individual workers.</p> <ul> <li> <p> <code>arn:aws:lambda:us-east-1:432418664414:function:PRE-Adjustment3DPointCloudObjectTracking</code> </p> </li> <li> <p> <code>arn:aws:lambda:us-east-2:266458841044:function:PRE-Adjustment3DPointCloudObjectTracking</code> </p> </li> <li> <p> <code>arn:aws:lambda:us-west-2:081040173940:function:PRE-Adjustment3DPointCloudObjectTracking</code> </p> </li> <li> <p> <code>arn:aws:lambda:eu-west-1:568282634449:function:PRE-Adjustment3DPointCloudObjectTracking</code> </p> </li> <li> <p> <code>arn:aws:lambda:ap-northeast-1:477331159723:function:PRE-Adjustment3DPointCloudObjectTracking</code> </p> </li> <li> <p> <code>arn:aws:lambda:ap-southeast-2:454466003867:function:PRE-Adjustment3DPointCloudObjectTracking</code> </p> </li> <li> <p> <code>arn:aws:lambda:ap-south-1:565803892007:function:PRE-Adjustment3DPointCloudObjectTracking</code> </p> </li> <li> <p> <code>arn:aws:lambda:eu-central-1:203001061592:function:PRE-Adjustment3DPointCloudObjectTracking</code> </p> </li> <li> <p> <code>arn:aws:lambda:ap-northeast-2:845288260483:function:PRE-Adjustment3DPointCloudObjectTracking</code> </p> </li> <li> <p> <code>arn:aws:lambda:eu-west-2:487402164563:function:PRE-Adjustment3DPointCloudObjectTracking</code> </p> </li> <li> <p> <code>arn:aws:lambda:ap-southeast-1:377565633583:function:PRE-Adjustment3DPointCloudObjectTracking</code> </p> </li> <li> <p> <code>arn:aws:lambda:ca-central-1:918755190332:function:PRE-Adjustment3DPointCloudObjectTracking</code> </p> </li> </ul> <p> <b>Bounding box adjustment</b> - Finds the most similar boxes from different workers based on the Jaccard index of the adjusted annotations.</p> <ul> <li> <p> <code>arn:aws:lambda:us-east-1:432418664414:function:PRE-AdjustmentBoundingBox</code> </p> </li> <li> <p> <code>arn:aws:lambda:us-east-2:266458841044:function:PRE-AdjustmentBoundingBox</code> </p> </li> <li> <p> <code>arn:aws:lambda:us-west-2:081040173940:function:PRE-AdjustmentBoundingBox</code> </p> </li> <li> <p> <code>arn:aws:lambda:ca-central-1:918755190332:function:PRE-AdjustmentBoundingBox</code> </p> </li> <li> <p> <code>arn:aws:lambda:eu-west-1:568282634449:function:PRE-AdjustmentBoundingBox</code> </p> </li> <li> <p> <code>arn:aws:lambda:eu-west-2:487402164563:function:PRE-AdjustmentBoundingBox</code> </p> </li> <li> <p> <code>arn:aws:lambda:eu-central-1:203001061592:function:PRE-AdjustmentBoundingBox</code> </p> </li> <li> <p> <code>arn:aws:lambda:ap-northeast-1:477331159723:function:PRE-AdjustmentBoundingBox</code> </p> </li> <li> <p> <code>arn:aws:lambda:ap-northeast-2:845288260483:function:PRE-AdjustmentBoundingBox</code> </p> </li> <li> <p> <code>arn:aws:lambda:ap-south-1:565803892007:function:PRE-AdjustmentBoundingBox</code> </p> </li> <li> <p> <code>arn:aws:lambda:ap-southeast-1:377565633583:function:PRE-AdjustmentBoundingBox</code> </p> </li> <li> <p> <code>arn:aws:lambda:ap-southeast-2:454466003867:function:PRE-AdjustmentBoundingBox</code> </p> </li> </ul> <p> <b>Semantic segmentation verification</b> - Uses a variant of the Expectation Maximization approach to estimate the true class of verification judgment for semantic segmentation labels based on annotations from individual workers.</p> <ul> <li> <p> <code>arn:aws:lambda:us-east-1:432418664414:function:PRE-VerificationSemanticSegmentation</code> </p> </li> <li> <p> <code>arn:aws:lambda:us-east-2:266458841044:function:PRE-VerificationSemanticSegmentation</code> </p> </li> <li> <p> <code>arn:aws:lambda:us-west-2:081040173940:function:PRE-VerificationSemanticSegmentation</code> </p> </li> <li> <p> <code>arn:aws:lambda:ca-central-1:918755190332:function:PRE-VerificationSemanticSegmentation</code> </p> </li> <li> <p> <code>arn:aws:lambda:eu-west-1:568282634449:function:PRE-VerificationSemanticSegmentation</code> </p> </li> <li> <p> <code>arn:aws:lambda:eu-west-2:487402164563:function:PRE-VerificationSemanticSegmentation</code> </p> </li> <li> <p> <code>arn:aws:lambda:eu-central-1:203001061592:function:PRE-VerificationSemanticSegmentation</code> </p> </li> <li> <p> <code>arn:aws:lambda:ap-northeast-1:477331159723:function:PRE-VerificationSemanticSegmentation</code> </p> </li> <li> <p> <code>arn:aws:lambda:ap-northeast-2:845288260483:function:PRE-VerificationSemanticSegmentation</code> </p> </li> <li> <p> <code>arn:aws:lambda:ap-south-1:565803892007:function:PRE-VerificationSemanticSegmentation</code> </p> </li> <li> <p> <code>arn:aws:lambda:ap-southeast-1:377565633583:function:PRE-VerificationSemanticSegmentation</code> </p> </li> <li> <p> <code>arn:aws:lambda:ap-southeast-2:454466003867:function:PRE-VerificationSemanticSegmentation</code> </p> </li> </ul> <p> <b>Semantic segmentation adjustment</b> - Treats each pixel in an image as a multi-class classification and treats pixel adjusted annotations from workers as "votes" for the correct label.</p> <ul> <li> <p> <code>arn:aws:lambda:us-east-1:432418664414:function:PRE-AdjustmentSemanticSegmentation</code> </p> </li> <li> <p> <code>arn:aws:lambda:us-east-2:266458841044:function:PRE-AdjustmentSemanticSegmentation</code> </p> </li> <li> <p> <code>arn:aws:lambda:us-west-2:081040173940:function:PRE-AdjustmentSemanticSegmentation</code> </p> </li> <li> <p> <code>arn:aws:lambda:ca-central-1:918755190332:function:PRE-AdjustmentSemanticSegmentation</code> </p> </li> <li> <p> <code>arn:aws:lambda:eu-west-1:568282634449:function:PRE-AdjustmentSemanticSegmentation</code> </p> </li> <li> <p> <code>arn:aws:lambda:eu-west-2:487402164563:function:PRE-AdjustmentSemanticSegmentation</code> </p> </li> <li> <p> <code>arn:aws:lambda:eu-central-1:203001061592:function:PRE-AdjustmentSemanticSegmentation</code> </p> </li> <li> <p> <code>arn:aws:lambda:ap-northeast-1:477331159723:function:PRE-AdjustmentSemanticSegmentation</code> </p> </li> <li> <p> <code>arn:aws:lambda:ap-northeast-2:845288260483:function:PRE-AdjustmentSemanticSegmentation</code> </p> </li> <li> <p> <code>arn:aws:lambda:ap-south-1:565803892007:function:PRE-AdjustmentSemanticSegmentation</code> </p> </li> <li> <p> <code>arn:aws:lambda:ap-southeast-1:377565633583:function:PRE-AdjustmentSemanticSegmentation</code> </p> </li> <li> <p> <code>arn:aws:lambda:ap-southeast-2:454466003867:function:PRE-AdjustmentSemanticSegmentation</code> </p> </li> </ul> <p> <b>3D point cloud object detection adjustment</b> - Adjust 3D cuboids in a point cloud frame. </p> <ul> <li> <p> <code>arn:aws:lambda:us-east-1:432418664414:function:PRE-Adjustment3DPointCloudObjectDetection</code> </p> </li> <li> <p> <code>arn:aws:lambda:us-east-2:266458841044:function:PRE-Adjustment3DPointCloudObjectDetection</code> </p> </li> <li> <p> <code>arn:aws:lambda:us-west-2:081040173940:function:PRE-Adjustment3DPointCloudObjectDetection</code> </p> </li> <li> <p> <code>arn:aws:lambda:eu-west-1:568282634449:function:PRE-Adjustment3DPointCloudObjectDetection</code> </p> </li> <li> <p> <code>arn:aws:lambda:ap-northeast-1:477331159723:function:PRE-Adjustment3DPointCloudObjectDetection</code> </p> </li> <li> <p> <code>arn:aws:lambda:ap-southeast-2:454466003867:function:PRE-Adjustment3DPointCloudObjectDetection</code> </p> </li> <li> <p> <code>arn:aws:lambda:ap-south-1:565803892007:function:PRE-Adjustment3DPointCloudObjectDetection</code> </p> </li> <li> <p> <code>arn:aws:lambda:eu-central-1:203001061592:function:PRE-Adjustment3DPointCloudObjectDetection</code> </p> </li> <li> <p> <code>arn:aws:lambda:ap-northeast-2:845288260483:function:PRE-Adjustment3DPointCloudObjectDetection</code> </p> </li> <li> <p> <code>arn:aws:lambda:eu-west-2:487402164563:function:PRE-Adjustment3DPointCloudObjectDetection</code> </p> </li> <li> <p> <code>arn:aws:lambda:ap-southeast-1:377565633583:function:PRE-Adjustment3DPointCloudObjectDetection</code> </p> </li> <li> <p> <code>arn:aws:lambda:ca-central-1:918755190332:function:PRE-Adjustment3DPointCloudObjectDetection</code> </p> </li> </ul> <p> <b>3D point cloud object tracking adjustment</b> - Adjust 3D cuboids across a sequence of point cloud frames. </p> <ul> <li> <p> <code>arn:aws:lambda:us-east-1:432418664414:function:PRE-Adjustment3DPointCloudObjectTracking</code> </p> </li> <li> <p> <code>arn:aws:lambda:us-east-2:266458841044:function:PRE-Adjustment3DPointCloudObjectTracking</code> </p> </li> <li> <p> <code>arn:aws:lambda:us-west-2:081040173940:function:PRE-Adjustment3DPointCloudObjectTracking</code> </p> </li> <li> <p> <code>arn:aws:lambda:eu-west-1:568282634449:function:PRE-Adjustment3DPointCloudObjectTracking</code> </p> </li> <li> <p> <code>arn:aws:lambda:ap-northeast-1:477331159723:function:PRE-Adjustment3DPointCloudObjectTracking</code> </p> </li> <li> <p> <code>arn:aws:lambda:ap-southeast-2:454466003867:function:PRE-Adjustment3DPointCloudObjectTracking</code> </p> </li> <li> <p> <code>arn:aws:lambda:ap-south-1:565803892007:function:PRE-Adjustment3DPointCloudObjectTracking</code> </p> </li> <li> <p> <code>arn:aws:lambda:eu-central-1:203001061592:function:PRE-Adjustment3DPointCloudObjectTracking</code> </p> </li> <li> <p> <code>arn:aws:lambda:ap-northeast-2:845288260483:function:PRE-Adjustment3DPointCloudObjectTracking</code> </p> </li> <li> <p> <code>arn:aws:lambda:eu-west-2:487402164563:function:PRE-Adjustment3DPointCloudObjectTracking</code> </p> </li> <li> <p> <code>arn:aws:lambda:ap-southeast-1:377565633583:function:PRE-Adjustment3DPointCloudObjectTracking</code> </p> </li> <li> <p> <code>arn:aws:lambda:ca-central-1:918755190332:function:PRE-Adjustment3DPointCloudObjectTracking</code> </p> </li> </ul> <p> <b>3D point cloud semantic segmentation adjustment</b> - Adjust semantic segmentation masks in a 3D point cloud. </p> <ul> <li> <p> <code>arn:aws:lambda:us-east-1:432418664414:function:PRE-Adjustment3DPointCloudSemanticSegmentation</code> </p> </li> <li> <p> <code>arn:aws:lambda:us-east-2:266458841044:function:PRE-Adjustment3DPointCloudSemanticSegmentation</code> </p> </li> <li> <p> <code>arn:aws:lambda:us-west-2:081040173940:function:PRE-Adjustment3DPointCloudSemanticSegmentation</code> </p> </li> <li> <p> <code>arn:aws:lambda:eu-west-1:568282634449:function:PRE-Adjustment3DPointCloudSemanticSegmentation</code> </p> </li> <li> <p> <code>arn:aws:lambda:ap-northeast-1:477331159723:function:PRE-Adjustment3DPointCloudSemanticSegmentation</code> </p> </li> <li> <p> <code>arn:aws:lambda:ap-southeast-2:454466003867:function:PRE-Adjustment3DPointCloudSemanticSegmentation</code> </p> </li> <li> <p> <code>arn:aws:lambda:ap-south-1:565803892007:function:PRE-Adjustment3DPointCloudSemanticSegmentation</code> </p> </li> <li> <p> <code>arn:aws:lambda:eu-central-1:203001061592:function:PRE-Adjustment3DPointCloudSemanticSegmentation</code> </p> </li> <li> <p> <code>arn:aws:lambda:ap-northeast-2:845288260483:function:PRE-Adjustment3DPointCloudSemanticSegmentation</code> </p> </li> <li> <p> <code>arn:aws:lambda:eu-west-2:487402164563:function:PRE-Adjustment3DPointCloudSemanticSegmentation</code> </p> </li> <li> <p> <code>arn:aws:lambda:ap-southeast-1:377565633583:function:PRE-Adjustment3DPointCloudSemanticSegmentation</code> </p> </li> <li> <p> <code>arn:aws:lambda:ca-central-1:918755190332:function:PRE-Adjustment3DPointCloudSemanticSegmentation</code> </p> </li> </ul></p> #[serde(rename = "PreHumanTaskLambdaArn")] pub pre_human_task_lambda_arn: String, /// <p>The price that you pay for each task performed by an Amazon Mechanical Turk worker.</p> #[serde(rename = "PublicWorkforceTaskPrice")] #[serde(skip_serializing_if = "Option::is_none")] pub public_workforce_task_price: Option<PublicWorkforceTaskPrice>, /// <p>The length of time that a task remains available for labeling by human workers. <b>If you choose the Amazon Mechanical Turk workforce, the maximum is 12 hours (43200)</b>. The default value is 864000 seconds (10 days). For private and vendor workforces, the maximum is as listed.</p> #[serde(rename = "TaskAvailabilityLifetimeInSeconds")] #[serde(skip_serializing_if = "Option::is_none")] pub task_availability_lifetime_in_seconds: Option<i64>, /// <p>A description of the task for your human workers.</p> #[serde(rename = "TaskDescription")] pub task_description: String, /// <p>Keywords used to describe the task so that workers on Amazon Mechanical Turk can discover the task.</p> #[serde(rename = "TaskKeywords")] #[serde(skip_serializing_if = "Option::is_none")] pub task_keywords: Option<Vec<String>>, /// <p>The amount of time that a worker has to complete a task.</p> #[serde(rename = "TaskTimeLimitInSeconds")] pub task_time_limit_in_seconds: i64, /// <p>A title for the task for your human workers.</p> #[serde(rename = "TaskTitle")] pub task_title: String, /// <p>Information about the user interface that workers use to complete the labeling task.</p> #[serde(rename = "UiConfig")] pub ui_config: UiConfig, /// <p>The Amazon Resource Name (ARN) of the work team assigned to complete the tasks.</p> #[serde(rename = "WorkteamArn")] pub workteam_arn: String, } /// <p>Container for human task user interface information.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct HumanTaskUiSummary { /// <p>A timestamp when SageMaker created the human task user interface.</p> #[serde(rename = "CreationTime")] pub creation_time: f64, /// <p>The Amazon Resource Name (ARN) of the human task user interface.</p> #[serde(rename = "HumanTaskUiArn")] pub human_task_ui_arn: String, /// <p>The name of the human task user interface.</p> #[serde(rename = "HumanTaskUiName")] pub human_task_ui_name: String, } /// <p>Specifies which training algorithm to use for training jobs that a hyperparameter tuning job launches and the metrics to monitor.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq, Serialize)] pub struct HyperParameterAlgorithmSpecification { /// <p>The name of the resource algorithm to use for the hyperparameter tuning job. If you specify a value for this parameter, do not specify a value for <code>TrainingImage</code>.</p> #[serde(rename = "AlgorithmName")] #[serde(skip_serializing_if = "Option::is_none")] pub algorithm_name: Option<String>, /// <p>An array of <a>MetricDefinition</a> objects that specify the metrics that the algorithm emits.</p> #[serde(rename = "MetricDefinitions")] #[serde(skip_serializing_if = "Option::is_none")] pub metric_definitions: Option<Vec<MetricDefinition>>, /// <p> The registry path of the Docker image that contains the training algorithm. For information about Docker registry paths for built-in algorithms, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/sagemaker-algo-docker-registry-paths.html">Algorithms Provided by Amazon SageMaker: Common Parameters</a>. Amazon SageMaker supports both <code>registry/repository[:tag]</code> and <code>registry/repository[@digest]</code> image path formats. For more information, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/your-algorithms.html">Using Your Own Algorithms with Amazon SageMaker</a>.</p> #[serde(rename = "TrainingImage")] #[serde(skip_serializing_if = "Option::is_none")] pub training_image: Option<String>, /// <p>The input mode that the algorithm supports: File or Pipe. In File input mode, Amazon SageMaker downloads the training data from Amazon S3 to the storage volume that is attached to the training instance and mounts the directory to the Docker volume for the training container. In Pipe input mode, Amazon SageMaker streams data directly from Amazon S3 to the container. </p> <p>If you specify File mode, make sure that you provision the storage volume that is attached to the training instance with enough capacity to accommodate the training data downloaded from Amazon S3, the model artifacts, and intermediate information.</p> <p/> <p>For more information about input modes, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/algos.html">Algorithms</a>. </p> #[serde(rename = "TrainingInputMode")] pub training_input_mode: String, } /// <p>Defines a hyperparameter to be used by an algorithm.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq, Serialize)] pub struct HyperParameterSpecification { /// <p>The default value for this hyperparameter. If a default value is specified, a hyperparameter cannot be required.</p> #[serde(rename = "DefaultValue")] #[serde(skip_serializing_if = "Option::is_none")] pub default_value: Option<String>, /// <p>A brief description of the hyperparameter.</p> #[serde(rename = "Description")] #[serde(skip_serializing_if = "Option::is_none")] pub description: Option<String>, /// <p>Indicates whether this hyperparameter is required.</p> #[serde(rename = "IsRequired")] #[serde(skip_serializing_if = "Option::is_none")] pub is_required: Option<bool>, /// <p>Indicates whether this hyperparameter is tunable in a hyperparameter tuning job.</p> #[serde(rename = "IsTunable")] #[serde(skip_serializing_if = "Option::is_none")] pub is_tunable: Option<bool>, /// <p>The name of this hyperparameter. The name must be unique.</p> #[serde(rename = "Name")] pub name: String, /// <p>The allowed range for this hyperparameter.</p> #[serde(rename = "Range")] #[serde(skip_serializing_if = "Option::is_none")] pub range: Option<ParameterRange>, /// <p>The type of this hyperparameter. The valid types are <code>Integer</code>, <code>Continuous</code>, <code>Categorical</code>, and <code>FreeText</code>.</p> #[serde(rename = "Type")] pub type_: String, } /// <p>Defines the training jobs launched by a hyperparameter tuning job.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq, Serialize)] pub struct HyperParameterTrainingJobDefinition { /// <p>The <a>HyperParameterAlgorithmSpecification</a> object that specifies the resource algorithm to use for the training jobs that the tuning job launches.</p> #[serde(rename = "AlgorithmSpecification")] pub algorithm_specification: HyperParameterAlgorithmSpecification, #[serde(rename = "CheckpointConfig")] #[serde(skip_serializing_if = "Option::is_none")] pub checkpoint_config: Option<CheckpointConfig>, /// <p>The job definition name.</p> #[serde(rename = "DefinitionName")] #[serde(skip_serializing_if = "Option::is_none")] pub definition_name: Option<String>, /// <p>To encrypt all communications between ML compute instances in distributed training, choose <code>True</code>. Encryption provides greater security for distributed training, but training might take longer. How long it takes depends on the amount of communication between compute instances, especially if you use a deep learning algorithm in distributed training.</p> #[serde(rename = "EnableInterContainerTrafficEncryption")] #[serde(skip_serializing_if = "Option::is_none")] pub enable_inter_container_traffic_encryption: Option<bool>, /// <p>A Boolean indicating whether managed spot training is enabled (<code>True</code>) or not (<code>False</code>).</p> #[serde(rename = "EnableManagedSpotTraining")] #[serde(skip_serializing_if = "Option::is_none")] pub enable_managed_spot_training: Option<bool>, /// <p>Isolates the training container. No inbound or outbound network calls can be made, except for calls between peers within a training cluster for distributed training. If network isolation is used for training jobs that are configured to use a VPC, Amazon SageMaker downloads and uploads customer data and model artifacts through the specified VPC, but the training container does not have network access.</p> #[serde(rename = "EnableNetworkIsolation")] #[serde(skip_serializing_if = "Option::is_none")] pub enable_network_isolation: Option<bool>, #[serde(rename = "HyperParameterRanges")] #[serde(skip_serializing_if = "Option::is_none")] pub hyper_parameter_ranges: Option<ParameterRanges>, /// <p>An array of <a>Channel</a> objects that specify the input for the training jobs that the tuning job launches.</p> #[serde(rename = "InputDataConfig")] #[serde(skip_serializing_if = "Option::is_none")] pub input_data_config: Option<Vec<Channel>>, /// <p>Specifies the path to the Amazon S3 bucket where you store model artifacts from the training jobs that the tuning job launches.</p> #[serde(rename = "OutputDataConfig")] pub output_data_config: OutputDataConfig, /// <p>The resources, including the compute instances and storage volumes, to use for the training jobs that the tuning job launches.</p> <p>Storage volumes store model artifacts and incremental states. Training algorithms might also use storage volumes for scratch space. If you want Amazon SageMaker to use the storage volume to store the training data, choose <code>File</code> as the <code>TrainingInputMode</code> in the algorithm specification. For distributed training algorithms, specify an instance count greater than 1.</p> #[serde(rename = "ResourceConfig")] pub resource_config: ResourceConfig, /// <p>The Amazon Resource Name (ARN) of the IAM role associated with the training jobs that the tuning job launches.</p> #[serde(rename = "RoleArn")] pub role_arn: String, /// <p>Specifies the values of hyperparameters that do not change for the tuning job.</p> #[serde(rename = "StaticHyperParameters")] #[serde(skip_serializing_if = "Option::is_none")] pub static_hyper_parameters: Option<::std::collections::HashMap<String, String>>, /// <p>Specifies a limit to how long a model hyperparameter training job can run. It also specifies how long you are willing to wait for a managed spot training job to complete. When the job reaches the a limit, Amazon SageMaker ends the training job. Use this API to cap model training costs.</p> #[serde(rename = "StoppingCondition")] pub stopping_condition: StoppingCondition, #[serde(rename = "TuningObjective")] #[serde(skip_serializing_if = "Option::is_none")] pub tuning_objective: Option<HyperParameterTuningJobObjective>, /// <p>The <a>VpcConfig</a> object that specifies the VPC that you want the training jobs that this hyperparameter tuning job launches to connect to. Control access to and from your training container by configuring the VPC. For more information, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/train-vpc.html">Protect Training Jobs by Using an Amazon Virtual Private Cloud</a>.</p> #[serde(rename = "VpcConfig")] #[serde(skip_serializing_if = "Option::is_none")] pub vpc_config: Option<VpcConfig>, } /// <p>Specifies summary information about a training job.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct HyperParameterTrainingJobSummary { /// <p>The date and time that the training job was created.</p> #[serde(rename = "CreationTime")] pub creation_time: f64, /// <p>The reason that the training job failed. </p> #[serde(rename = "FailureReason")] #[serde(skip_serializing_if = "Option::is_none")] pub failure_reason: Option<String>, /// <p>The <a>FinalHyperParameterTuningJobObjectiveMetric</a> object that specifies the value of the objective metric of the tuning job that launched this training job.</p> #[serde(rename = "FinalHyperParameterTuningJobObjectiveMetric")] #[serde(skip_serializing_if = "Option::is_none")] pub final_hyper_parameter_tuning_job_objective_metric: Option<FinalHyperParameterTuningJobObjectiveMetric>, /// <p><p>The status of the objective metric for the training job:</p> <ul> <li> <p>Succeeded: The final objective metric for the training job was evaluated by the hyperparameter tuning job and used in the hyperparameter tuning process.</p> </li> </ul> <ul> <li> <p>Pending: The training job is in progress and evaluation of its final objective metric is pending.</p> </li> </ul> <ul> <li> <p>Failed: The final objective metric for the training job was not evaluated, and was not used in the hyperparameter tuning process. This typically occurs when the training job failed or did not emit an objective metric.</p> </li> </ul></p> #[serde(rename = "ObjectiveStatus")] #[serde(skip_serializing_if = "Option::is_none")] pub objective_status: Option<String>, /// <p>Specifies the time when the training job ends on training instances. You are billed for the time interval between the value of <code>TrainingStartTime</code> and this time. For successful jobs and stopped jobs, this is the time after model artifacts are uploaded. For failed jobs, this is the time when Amazon SageMaker detects a job failure.</p> #[serde(rename = "TrainingEndTime")] #[serde(skip_serializing_if = "Option::is_none")] pub training_end_time: Option<f64>, /// <p>The Amazon Resource Name (ARN) of the training job.</p> #[serde(rename = "TrainingJobArn")] pub training_job_arn: String, /// <p>The training job definition name.</p> #[serde(rename = "TrainingJobDefinitionName")] #[serde(skip_serializing_if = "Option::is_none")] pub training_job_definition_name: Option<String>, /// <p>The name of the training job.</p> #[serde(rename = "TrainingJobName")] pub training_job_name: String, /// <p>The status of the training job.</p> #[serde(rename = "TrainingJobStatus")] pub training_job_status: String, /// <p>The date and time that the training job started.</p> #[serde(rename = "TrainingStartTime")] #[serde(skip_serializing_if = "Option::is_none")] pub training_start_time: Option<f64>, /// <p>A list of the hyperparameters for which you specified ranges to search.</p> #[serde(rename = "TunedHyperParameters")] pub tuned_hyper_parameters: ::std::collections::HashMap<String, String>, /// <p>The HyperParameter tuning job that launched the training job.</p> #[serde(rename = "TuningJobName")] #[serde(skip_serializing_if = "Option::is_none")] pub tuning_job_name: Option<String>, } /// <p>Configures a hyperparameter tuning job.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq, Serialize)] pub struct HyperParameterTuningJobConfig { /// <p>The <a>HyperParameterTuningJobObjective</a> object that specifies the objective metric for this tuning job.</p> #[serde(rename = "HyperParameterTuningJobObjective")] #[serde(skip_serializing_if = "Option::is_none")] pub hyper_parameter_tuning_job_objective: Option<HyperParameterTuningJobObjective>, /// <p>The <a>ParameterRanges</a> object that specifies the ranges of hyperparameters that this tuning job searches.</p> #[serde(rename = "ParameterRanges")] #[serde(skip_serializing_if = "Option::is_none")] pub parameter_ranges: Option<ParameterRanges>, /// <p>The <a>ResourceLimits</a> object that specifies the maximum number of training jobs and parallel training jobs for this tuning job.</p> #[serde(rename = "ResourceLimits")] pub resource_limits: ResourceLimits, /// <p>Specifies how hyperparameter tuning chooses the combinations of hyperparameter values to use for the training job it launches. To use the Bayesian search strategy, set this to <code>Bayesian</code>. To randomly search, set it to <code>Random</code>. For information about search strategies, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/automatic-model-tuning-how-it-works.html">How Hyperparameter Tuning Works</a>.</p> #[serde(rename = "Strategy")] pub strategy: String, /// <p><p>Specifies whether to use early stopping for training jobs launched by the hyperparameter tuning job. This can be one of the following values (the default value is <code>OFF</code>):</p> <dl> <dt>OFF</dt> <dd> <p>Training jobs launched by the hyperparameter tuning job do not use early stopping.</p> </dd> <dt>AUTO</dt> <dd> <p>Amazon SageMaker stops training jobs launched by the hyperparameter tuning job when they are unlikely to perform better than previously completed training jobs. For more information, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/automatic-model-tuning-early-stopping.html">Stop Training Jobs Early</a>.</p> </dd> </dl></p> #[serde(rename = "TrainingJobEarlyStoppingType")] #[serde(skip_serializing_if = "Option::is_none")] pub training_job_early_stopping_type: Option<String>, /// <p>The tuning job's completion criteria.</p> #[serde(rename = "TuningJobCompletionCriteria")] #[serde(skip_serializing_if = "Option::is_none")] pub tuning_job_completion_criteria: Option<TuningJobCompletionCriteria>, } /// <p>Defines the objective metric for a hyperparameter tuning job. Hyperparameter tuning uses the value of this metric to evaluate the training jobs it launches, and returns the training job that results in either the highest or lowest value for this metric, depending on the value you specify for the <code>Type</code> parameter.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq, Serialize)] pub struct HyperParameterTuningJobObjective { /// <p>The name of the metric to use for the objective metric.</p> #[serde(rename = "MetricName")] pub metric_name: String, /// <p>Whether to minimize or maximize the objective metric.</p> #[serde(rename = "Type")] pub type_: String, } /// <p>Provides summary information about a hyperparameter tuning job.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct HyperParameterTuningJobSummary { /// <p>The date and time that the tuning job was created.</p> #[serde(rename = "CreationTime")] pub creation_time: f64, /// <p>The date and time that the tuning job ended.</p> #[serde(rename = "HyperParameterTuningEndTime")] #[serde(skip_serializing_if = "Option::is_none")] pub hyper_parameter_tuning_end_time: Option<f64>, /// <p>The Amazon Resource Name (ARN) of the tuning job.</p> #[serde(rename = "HyperParameterTuningJobArn")] pub hyper_parameter_tuning_job_arn: String, /// <p>The name of the tuning job.</p> #[serde(rename = "HyperParameterTuningJobName")] pub hyper_parameter_tuning_job_name: String, /// <p>The status of the tuning job.</p> #[serde(rename = "HyperParameterTuningJobStatus")] pub hyper_parameter_tuning_job_status: String, /// <p>The date and time that the tuning job was modified.</p> #[serde(rename = "LastModifiedTime")] #[serde(skip_serializing_if = "Option::is_none")] pub last_modified_time: Option<f64>, /// <p>The <a>ObjectiveStatusCounters</a> object that specifies the numbers of training jobs, categorized by objective metric status, that this tuning job launched.</p> #[serde(rename = "ObjectiveStatusCounters")] pub objective_status_counters: ObjectiveStatusCounters, /// <p>The <a>ResourceLimits</a> object that specifies the maximum number of training jobs and parallel training jobs allowed for this tuning job.</p> #[serde(rename = "ResourceLimits")] #[serde(skip_serializing_if = "Option::is_none")] pub resource_limits: Option<ResourceLimits>, /// <p>Specifies the search strategy hyperparameter tuning uses to choose which hyperparameters to use for each iteration. Currently, the only valid value is Bayesian.</p> #[serde(rename = "Strategy")] pub strategy: String, /// <p>The <a>TrainingJobStatusCounters</a> object that specifies the numbers of training jobs, categorized by status, that this tuning job launched.</p> #[serde(rename = "TrainingJobStatusCounters")] pub training_job_status_counters: TrainingJobStatusCounters, } /// <p><p>Specifies the configuration for a hyperparameter tuning job that uses one or more previous hyperparameter tuning jobs as a starting point. The results of previous tuning jobs are used to inform which combinations of hyperparameters to search over in the new tuning job.</p> <p>All training jobs launched by the new hyperparameter tuning job are evaluated by using the objective metric, and the training job that performs the best is compared to the best training jobs from the parent tuning jobs. From these, the training job that performs the best as measured by the objective metric is returned as the overall best training job.</p> <note> <p>All training jobs launched by parent hyperparameter tuning jobs and the new hyperparameter tuning jobs count against the limit of training jobs for the tuning job.</p> </note></p> #[derive(Clone, Debug, Default, Deserialize, PartialEq, Serialize)] pub struct HyperParameterTuningJobWarmStartConfig { /// <p>An array of hyperparameter tuning jobs that are used as the starting point for the new hyperparameter tuning job. For more information about warm starting a hyperparameter tuning job, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/automatic-model-tuning-warm-start.html">Using a Previous Hyperparameter Tuning Job as a Starting Point</a>.</p> <p>Hyperparameter tuning jobs created before October 1, 2018 cannot be used as parent jobs for warm start tuning jobs.</p> #[serde(rename = "ParentHyperParameterTuningJobs")] pub parent_hyper_parameter_tuning_jobs: Vec<ParentHyperParameterTuningJob>, /// <p><p>Specifies one of the following:</p> <dl> <dt>IDENTICAL<em>DATA</em>AND<em>ALGORITHM</dt> <dd> <p>The new hyperparameter tuning job uses the same input data and training image as the parent tuning jobs. You can change the hyperparameter ranges to search and the maximum number of training jobs that the hyperparameter tuning job launches. You cannot use a new version of the training algorithm, unless the changes in the new version do not affect the algorithm itself. For example, changes that improve logging or adding support for a different data format are allowed. You can also change hyperparameters from tunable to static, and from static to tunable, but the total number of static plus tunable hyperparameters must remain the same as it is in all parent jobs. The objective metric for the new tuning job must be the same as for all parent jobs.</p> </dd> <dt>TRANSFER</em>LEARNING</dt> <dd> <p>The new hyperparameter tuning job can include input data, hyperparameter ranges, maximum number of concurrent training jobs, and maximum number of training jobs that are different than those of its parent hyperparameter tuning jobs. The training image can also be a different version from the version used in the parent hyperparameter tuning job. You can also change hyperparameters from tunable to static, and from static to tunable, but the total number of static plus tunable hyperparameters must remain the same as it is in all parent jobs. The objective metric for the new tuning job must be the same as for all parent jobs.</p> </dd> </dl></p> #[serde(rename = "WarmStartType")] pub warm_start_type: String, } /// <p>Defines how to perform inference generation after a training job is run.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq, Serialize)] pub struct InferenceSpecification { /// <p>The Amazon ECR registry path of the Docker image that contains the inference code.</p> #[serde(rename = "Containers")] pub containers: Vec<ModelPackageContainerDefinition>, /// <p>The supported MIME types for the input data.</p> #[serde(rename = "SupportedContentTypes")] pub supported_content_types: Vec<String>, /// <p>A list of the instance types that are used to generate inferences in real-time.</p> #[serde(rename = "SupportedRealtimeInferenceInstanceTypes")] pub supported_realtime_inference_instance_types: Vec<String>, /// <p>The supported MIME types for the output data.</p> #[serde(rename = "SupportedResponseMIMETypes")] pub supported_response_mime_types: Vec<String>, /// <p>A list of the instance types on which a transformation job can be run or on which an endpoint can be deployed.</p> #[serde(rename = "SupportedTransformInstanceTypes")] pub supported_transform_instance_types: Vec<String>, } /// <p>Contains information about the location of input model artifacts, the name and shape of the expected data inputs, and the framework in which the model was trained.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq, Serialize)] pub struct InputConfig { /// <p><p>Specifies the name and shape of the expected data inputs for your trained model with a JSON dictionary form. The data inputs are <a>InputConfig$Framework</a> specific. </p> <ul> <li> <p> <code>TensorFlow</code>: You must specify the name and shape (NHWC format) of the expected data inputs using a dictionary format for your trained model. The dictionary formats required for the console and CLI are different.</p> <ul> <li> <p>Examples for one input:</p> <ul> <li> <p>If using the console, <code>{"input":[1,1024,1024,3]}</code> </p> </li> <li> <p>If using the CLI, <code>{"input":[1,1024,1024,3]}</code> </p> </li> </ul> </li> <li> <p>Examples for two inputs:</p> <ul> <li> <p>If using the console, <code>{"data1": [1,28,28,1], "data2":[1,28,28,1]}</code> </p> </li> <li> <p>If using the CLI, <code>{"data1": [1,28,28,1], "data2":[1,28,28,1]}</code> </p> </li> </ul> </li> </ul> </li> <li> <p> <code>KERAS</code>: You must specify the name and shape (NCHW format) of expected data inputs using a dictionary format for your trained model. Note that while Keras model artifacts should be uploaded in NHWC (channel-last) format, <code>DataInputConfig</code> should be specified in NCHW (channel-first) format. The dictionary formats required for the console and CLI are different.</p> <ul> <li> <p>Examples for one input:</p> <ul> <li> <p>If using the console, <code>{"input<em>1":[1,3,224,224]}</code> </p> </li> <li> <p>If using the CLI, <code>{"input</em>1":[1,3,224,224]}</code> </p> </li> </ul> </li> <li> <p>Examples for two inputs:</p> <ul> <li> <p>If using the console, <code>{"input<em>1": [1,3,224,224], "input</em>2":[1,3,224,224]} </code> </p> </li> <li> <p>If using the CLI, <code>{"input<em>1": [1,3,224,224], "input</em>2":[1,3,224,224]}</code> </p> </li> </ul> </li> </ul> </li> <li> <p> <code>MXNET/ONNX</code>: You must specify the name and shape (NCHW format) of the expected data inputs in order using a dictionary format for your trained model. The dictionary formats required for the console and CLI are different.</p> <ul> <li> <p>Examples for one input:</p> <ul> <li> <p>If using the console, <code>{"data":[1,3,1024,1024]}</code> </p> </li> <li> <p>If using the CLI, <code>{"data":[1,3,1024,1024]}</code> </p> </li> </ul> </li> <li> <p>Examples for two inputs:</p> <ul> <li> <p>If using the console, <code>{"var1": [1,1,28,28], "var2":[1,1,28,28]} </code> </p> </li> <li> <p>If using the CLI, <code>{"var1": [1,1,28,28], "var2":[1,1,28,28]}</code> </p> </li> </ul> </li> </ul> </li> <li> <p> <code>PyTorch</code>: You can either specify the name and shape (NCHW format) of expected data inputs in order using a dictionary format for your trained model or you can specify the shape only using a list format. The dictionary formats required for the console and CLI are different. The list formats for the console and CLI are the same.</p> <ul> <li> <p>Examples for one input in dictionary format:</p> <ul> <li> <p>If using the console, <code>{"input0":[1,3,224,224]}</code> </p> </li> <li> <p>If using the CLI, <code>{"input0":[1,3,224,224]}</code> </p> </li> </ul> </li> <li> <p>Example for one input in list format: <code>[[1,3,224,224]]</code> </p> </li> <li> <p>Examples for two inputs in dictionary format:</p> <ul> <li> <p>If using the console, <code>{"input0":[1,3,224,224], "input1":[1,3,224,224]}</code> </p> </li> <li> <p>If using the CLI, <code>{"input0":[1,3,224,224], "input1":[1,3,224,224]} </code> </p> </li> </ul> </li> <li> <p>Example for two inputs in list format: <code>[[1,3,224,224], [1,3,224,224]]</code> </p> </li> </ul> </li> <li> <p> <code>XGBOOST</code>: input data name and shape are not needed.</p> </li> </ul></p> #[serde(rename = "DataInputConfig")] pub data_input_config: String, /// <p>Identifies the framework in which the model was trained. For example: TENSORFLOW.</p> #[serde(rename = "Framework")] pub framework: String, /// <p>The S3 path where the model artifacts, which result from model training, are stored. This path must point to a single gzip compressed tar archive (.tar.gz suffix).</p> #[serde(rename = "S3Uri")] pub s3_uri: String, } /// <p>For a hyperparameter of the integer type, specifies the range that a hyperparameter tuning job searches.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq, Serialize)] pub struct IntegerParameterRange { /// <p>The maximum value of the hyperparameter to search.</p> #[serde(rename = "MaxValue")] pub max_value: String, /// <p>The minimum value of the hyperparameter to search.</p> #[serde(rename = "MinValue")] pub min_value: String, /// <p>The name of the hyperparameter to search.</p> #[serde(rename = "Name")] pub name: String, /// <p><p>The scale that hyperparameter tuning uses to search the hyperparameter range. For information about choosing a hyperparameter scale, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/automatic-model-tuning-define-ranges.html#scaling-type">Hyperparameter Scaling</a>. One of the following values:</p> <dl> <dt>Auto</dt> <dd> <p>Amazon SageMaker hyperparameter tuning chooses the best scale for the hyperparameter.</p> </dd> <dt>Linear</dt> <dd> <p>Hyperparameter tuning searches the values in the hyperparameter range by using a linear scale.</p> </dd> <dt>Logarithmic</dt> <dd> <p>Hyperparameter tuning searches the values in the hyperparameter range by using a logarithmic scale.</p> <p>Logarithmic scaling works only for ranges that have only values greater than 0.</p> </dd> </dl></p> #[serde(rename = "ScalingType")] #[serde(skip_serializing_if = "Option::is_none")] pub scaling_type: Option<String>, } /// <p>Defines the possible values for an integer hyperparameter.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq, Serialize)] pub struct IntegerParameterRangeSpecification { /// <p>The maximum integer value allowed.</p> #[serde(rename = "MaxValue")] pub max_value: String, /// <p>The minimum integer value allowed.</p> #[serde(rename = "MinValue")] pub min_value: String, } /// <p>Jupyter server's app settings.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq, Serialize)] pub struct JupyterServerAppSettings { /// <p>The default instance type and the Amazon Resource Name (ARN) of the SageMaker image created on the instance.</p> #[serde(rename = "DefaultResourceSpec")] #[serde(skip_serializing_if = "Option::is_none")] pub default_resource_spec: Option<ResourceSpec>, } /// <p>The kernel gateway app settings.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq, Serialize)] pub struct KernelGatewayAppSettings { /// <p>The default instance type and the Amazon Resource Name (ARN) of the SageMaker image created on the instance.</p> #[serde(rename = "DefaultResourceSpec")] #[serde(skip_serializing_if = "Option::is_none")] pub default_resource_spec: Option<ResourceSpec>, } /// <p>Provides a breakdown of the number of objects labeled.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct LabelCounters { /// <p>The total number of objects that could not be labeled due to an error.</p> #[serde(rename = "FailedNonRetryableError")] #[serde(skip_serializing_if = "Option::is_none")] pub failed_non_retryable_error: Option<i64>, /// <p>The total number of objects labeled by a human worker.</p> #[serde(rename = "HumanLabeled")] #[serde(skip_serializing_if = "Option::is_none")] pub human_labeled: Option<i64>, /// <p>The total number of objects labeled by automated data labeling.</p> #[serde(rename = "MachineLabeled")] #[serde(skip_serializing_if = "Option::is_none")] pub machine_labeled: Option<i64>, /// <p>The total number of objects labeled.</p> #[serde(rename = "TotalLabeled")] #[serde(skip_serializing_if = "Option::is_none")] pub total_labeled: Option<i64>, /// <p>The total number of objects not yet labeled.</p> #[serde(rename = "Unlabeled")] #[serde(skip_serializing_if = "Option::is_none")] pub unlabeled: Option<i64>, } /// <p>Provides counts for human-labeled tasks in the labeling job.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct LabelCountersForWorkteam { /// <p>The total number of data objects labeled by a human worker.</p> #[serde(rename = "HumanLabeled")] #[serde(skip_serializing_if = "Option::is_none")] pub human_labeled: Option<i64>, /// <p>The total number of data objects that need to be labeled by a human worker.</p> #[serde(rename = "PendingHuman")] #[serde(skip_serializing_if = "Option::is_none")] pub pending_human: Option<i64>, /// <p>The total number of tasks in the labeling job.</p> #[serde(rename = "Total")] #[serde(skip_serializing_if = "Option::is_none")] pub total: Option<i64>, } /// <p>Provides configuration information for auto-labeling of your data objects. A <code>LabelingJobAlgorithmsConfig</code> object must be supplied in order to use auto-labeling.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq, Serialize)] pub struct LabelingJobAlgorithmsConfig { /// <p>At the end of an auto-label job Amazon SageMaker Ground Truth sends the Amazon Resource Nam (ARN) of the final model used for auto-labeling. You can use this model as the starting point for subsequent similar jobs by providing the ARN of the model here. </p> #[serde(rename = "InitialActiveLearningModelArn")] #[serde(skip_serializing_if = "Option::is_none")] pub initial_active_learning_model_arn: Option<String>, /// <p><p>Specifies the Amazon Resource Name (ARN) of the algorithm used for auto-labeling. You must select one of the following ARNs:</p> <ul> <li> <p> <i>Image classification</i> </p> <p> <code>arn:aws:sagemaker:<i>region</i>:027400017018:labeling-job-algorithm-specification/image-classification</code> </p> </li> <li> <p> <i>Text classification</i> </p> <p> <code>arn:aws:sagemaker:<i>region</i>:027400017018:labeling-job-algorithm-specification/text-classification</code> </p> </li> <li> <p> <i>Object detection</i> </p> <p> <code>arn:aws:sagemaker:<i>region</i>:027400017018:labeling-job-algorithm-specification/object-detection</code> </p> </li> <li> <p> <i>Semantic Segmentation</i> </p> <p> <code>arn:aws:sagemaker:<i>region</i>:027400017018:labeling-job-algorithm-specification/semantic-segmentation</code> </p> </li> </ul></p> #[serde(rename = "LabelingJobAlgorithmSpecificationArn")] pub labeling_job_algorithm_specification_arn: String, /// <p>Provides configuration information for a labeling job.</p> #[serde(rename = "LabelingJobResourceConfig")] #[serde(skip_serializing_if = "Option::is_none")] pub labeling_job_resource_config: Option<LabelingJobResourceConfig>, } /// <p>Attributes of the data specified by the customer. Use these to describe the data to be labeled.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq, Serialize)] pub struct LabelingJobDataAttributes { /// <p>Declares that your content is free of personally identifiable information or adult content. Amazon SageMaker may restrict the Amazon Mechanical Turk workers that can view your task based on this information.</p> #[serde(rename = "ContentClassifiers")] #[serde(skip_serializing_if = "Option::is_none")] pub content_classifiers: Option<Vec<String>>, } /// <p>Provides information about the location of input data.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq, Serialize)] pub struct LabelingJobDataSource { /// <p>The Amazon S3 location of the input data objects.</p> #[serde(rename = "S3DataSource")] pub s3_data_source: LabelingJobS3DataSource, } /// <p>Provides summary information for a work team.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct LabelingJobForWorkteamSummary { /// <p>The date and time that the labeling job was created.</p> #[serde(rename = "CreationTime")] pub creation_time: f64, /// <p>A unique identifier for a labeling job. You can use this to refer to a specific labeling job.</p> #[serde(rename = "JobReferenceCode")] pub job_reference_code: String, /// <p>Provides information about the progress of a labeling job.</p> #[serde(rename = "LabelCounters")] #[serde(skip_serializing_if = "Option::is_none")] pub label_counters: Option<LabelCountersForWorkteam>, /// <p>The name of the labeling job that the work team is assigned to.</p> #[serde(rename = "LabelingJobName")] #[serde(skip_serializing_if = "Option::is_none")] pub labeling_job_name: Option<String>, /// <p>The configured number of workers per data object.</p> #[serde(rename = "NumberOfHumanWorkersPerDataObject")] #[serde(skip_serializing_if = "Option::is_none")] pub number_of_human_workers_per_data_object: Option<i64>, /// <p><p/></p> #[serde(rename = "WorkRequesterAccountId")] pub work_requester_account_id: String, } /// <p>Input configuration information for a labeling job.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq, Serialize)] pub struct LabelingJobInputConfig { /// <p>Attributes of the data specified by the customer.</p> #[serde(rename = "DataAttributes")] #[serde(skip_serializing_if = "Option::is_none")] pub data_attributes: Option<LabelingJobDataAttributes>, /// <p>The location of the input data.</p> #[serde(rename = "DataSource")] pub data_source: LabelingJobDataSource, } /// <p>Specifies the location of the output produced by the labeling job. </p> #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct LabelingJobOutput { /// <p>The Amazon Resource Name (ARN) for the most recent Amazon SageMaker model trained as part of automated data labeling. </p> #[serde(rename = "FinalActiveLearningModelArn")] #[serde(skip_serializing_if = "Option::is_none")] pub final_active_learning_model_arn: Option<String>, /// <p>The Amazon S3 bucket location of the manifest file for labeled data. </p> #[serde(rename = "OutputDatasetS3Uri")] pub output_dataset_s3_uri: String, } /// <p>Output configuration information for a labeling job.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq, Serialize)] pub struct LabelingJobOutputConfig { /// <p>The AWS Key Management Service ID of the key used to encrypt the output data, if any.</p> <p>If you use a KMS key ID or an alias of your master key, the Amazon SageMaker execution role must include permissions to call <code>kms:Encrypt</code>. If you don't provide a KMS key ID, Amazon SageMaker uses the default KMS key for Amazon S3 for your role's account. Amazon SageMaker uses server-side encryption with KMS-managed keys for <code>LabelingJobOutputConfig</code>. If you use a bucket policy with an <code>s3:PutObject</code> permission that only allows objects with server-side encryption, set the condition key of <code>s3:x-amz-server-side-encryption</code> to <code>"aws:kms"</code>. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingKMSEncryption.html">KMS-Managed Encryption Keys</a> in the <i>Amazon Simple Storage Service Developer Guide.</i> </p> <p>The KMS key policy must grant permission to the IAM role that you specify in your <code>CreateLabelingJob</code> request. For more information, see <a href="http://docs.aws.amazon.com/kms/latest/developerguide/key-policies.html">Using Key Policies in AWS KMS</a> in the <i>AWS Key Management Service Developer Guide</i>.</p> #[serde(rename = "KmsKeyId")] #[serde(skip_serializing_if = "Option::is_none")] pub kms_key_id: Option<String>, /// <p>The Amazon S3 location to write output data.</p> #[serde(rename = "S3OutputPath")] pub s3_output_path: String, } /// <p>Provides configuration information for labeling jobs.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq, Serialize)] pub struct LabelingJobResourceConfig { /// <p><p>The AWS Key Management Service (AWS KMS) key that Amazon SageMaker uses to encrypt data on the storage volume attached to the ML compute instance(s) that run the training job. The <code>VolumeKmsKeyId</code> can be any of the following formats:</p> <ul> <li> <p>// KMS Key ID</p> <p> <code>"1234abcd-12ab-34cd-56ef-1234567890ab"</code> </p> </li> <li> <p>// Amazon Resource Name (ARN) of a KMS Key</p> <p> <code>"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"</code> </p> </li> </ul></p> #[serde(rename = "VolumeKmsKeyId")] #[serde(skip_serializing_if = "Option::is_none")] pub volume_kms_key_id: Option<String>, } /// <p>The Amazon S3 location of the input data objects.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq, Serialize)] pub struct LabelingJobS3DataSource { /// <p>The Amazon S3 location of the manifest file that describes the input data objects.</p> #[serde(rename = "ManifestS3Uri")] pub manifest_s3_uri: String, } /// <p><p>A set of conditions for stopping a labeling job. If any of the conditions are met, the job is automatically stopped. You can use these conditions to control the cost of data labeling.</p> <note> <p>Labeling jobs fail after 30 days with an appropriate client error message.</p> </note></p> #[derive(Clone, Debug, Default, Deserialize, PartialEq, Serialize)] pub struct LabelingJobStoppingConditions { /// <p>The maximum number of objects that can be labeled by human workers.</p> #[serde(rename = "MaxHumanLabeledObjectCount")] #[serde(skip_serializing_if = "Option::is_none")] pub max_human_labeled_object_count: Option<i64>, /// <p>The maximum number of input data objects that should be labeled.</p> #[serde(rename = "MaxPercentageOfInputDatasetLabeled")] #[serde(skip_serializing_if = "Option::is_none")] pub max_percentage_of_input_dataset_labeled: Option<i64>, } /// <p>Provides summary information about a labeling job.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct LabelingJobSummary { /// <p>The Amazon Resource Name (ARN) of the Lambda function used to consolidate the annotations from individual workers into a label for a data object. For more information, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/sms-annotation-consolidation.html">Annotation Consolidation</a>.</p> #[serde(rename = "AnnotationConsolidationLambdaArn")] #[serde(skip_serializing_if = "Option::is_none")] pub annotation_consolidation_lambda_arn: Option<String>, /// <p>The date and time that the job was created (timestamp).</p> #[serde(rename = "CreationTime")] pub creation_time: f64, /// <p>If the <code>LabelingJobStatus</code> field is <code>Failed</code>, this field contains a description of the error.</p> #[serde(rename = "FailureReason")] #[serde(skip_serializing_if = "Option::is_none")] pub failure_reason: Option<String>, /// <p>Input configuration for the labeling job.</p> #[serde(rename = "InputConfig")] #[serde(skip_serializing_if = "Option::is_none")] pub input_config: Option<LabelingJobInputConfig>, /// <p>Counts showing the progress of the labeling job.</p> #[serde(rename = "LabelCounters")] pub label_counters: LabelCounters, /// <p>The Amazon Resource Name (ARN) assigned to the labeling job when it was created.</p> #[serde(rename = "LabelingJobArn")] pub labeling_job_arn: String, /// <p>The name of the labeling job.</p> #[serde(rename = "LabelingJobName")] pub labeling_job_name: String, /// <p>The location of the output produced by the labeling job.</p> #[serde(rename = "LabelingJobOutput")] #[serde(skip_serializing_if = "Option::is_none")] pub labeling_job_output: Option<LabelingJobOutput>, /// <p>The current status of the labeling job. </p> #[serde(rename = "LabelingJobStatus")] pub labeling_job_status: String, /// <p>The date and time that the job was last modified (timestamp).</p> #[serde(rename = "LastModifiedTime")] pub last_modified_time: f64, /// <p>The Amazon Resource Name (ARN) of a Lambda function. The function is run before each data object is sent to a worker.</p> #[serde(rename = "PreHumanTaskLambdaArn")] pub pre_human_task_lambda_arn: String, /// <p>The Amazon Resource Name (ARN) of the work team assigned to the job.</p> #[serde(rename = "WorkteamArn")] pub workteam_arn: String, } #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct ListAlgorithmsInput { /// <p>A filter that returns only algorithms created after the specified time (timestamp).</p> #[serde(rename = "CreationTimeAfter")] #[serde(skip_serializing_if = "Option::is_none")] pub creation_time_after: Option<f64>, /// <p>A filter that returns only algorithms created before the specified time (timestamp).</p> #[serde(rename = "CreationTimeBefore")] #[serde(skip_serializing_if = "Option::is_none")] pub creation_time_before: Option<f64>, /// <p>The maximum number of algorithms to return in the response.</p> #[serde(rename = "MaxResults")] #[serde(skip_serializing_if = "Option::is_none")] pub max_results: Option<i64>, /// <p>A string in the algorithm name. This filter returns only algorithms whose name contains the specified string.</p> #[serde(rename = "NameContains")] #[serde(skip_serializing_if = "Option::is_none")] pub name_contains: Option<String>, /// <p>If the response to a previous <code>ListAlgorithms</code> request was truncated, the response includes a <code>NextToken</code>. To retrieve the next set of algorithms, use the token in the next request.</p> #[serde(rename = "NextToken")] #[serde(skip_serializing_if = "Option::is_none")] pub next_token: Option<String>, /// <p>The parameter by which to sort the results. The default is <code>CreationTime</code>.</p> #[serde(rename = "SortBy")] #[serde(skip_serializing_if = "Option::is_none")] pub sort_by: Option<String>, /// <p>The sort order for the results. The default is <code>Ascending</code>.</p> #[serde(rename = "SortOrder")] #[serde(skip_serializing_if = "Option::is_none")] pub sort_order: Option<String>, } #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct ListAlgorithmsOutput { /// <p>>An array of <code>AlgorithmSummary</code> objects, each of which lists an algorithm.</p> #[serde(rename = "AlgorithmSummaryList")] pub algorithm_summary_list: Vec<AlgorithmSummary>, /// <p>If the response is truncated, Amazon SageMaker returns this token. To retrieve the next set of algorithms, use it in the subsequent request.</p> #[serde(rename = "NextToken")] #[serde(skip_serializing_if = "Option::is_none")] pub next_token: Option<String>, } #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct ListAppsRequest { /// <p>A parameter to search for the domain ID.</p> #[serde(rename = "DomainIdEquals")] #[serde(skip_serializing_if = "Option::is_none")] pub domain_id_equals: Option<String>, /// <p>Returns a list up to a specified limit.</p> #[serde(rename = "MaxResults")] #[serde(skip_serializing_if = "Option::is_none")] pub max_results: Option<i64>, /// <p>If the previous response was truncated, you will receive this token. Use it in your next request to receive the next set of results.</p> #[serde(rename = "NextToken")] #[serde(skip_serializing_if = "Option::is_none")] pub next_token: Option<String>, /// <p>The parameter by which to sort the results. The default is CreationTime.</p> #[serde(rename = "SortBy")] #[serde(skip_serializing_if = "Option::is_none")] pub sort_by: Option<String>, /// <p>The sort order for the results. The default is Ascending.</p> #[serde(rename = "SortOrder")] #[serde(skip_serializing_if = "Option::is_none")] pub sort_order: Option<String>, /// <p>A parameter to search by user profile name.</p> #[serde(rename = "UserProfileNameEquals")] #[serde(skip_serializing_if = "Option::is_none")] pub user_profile_name_equals: Option<String>, } #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct ListAppsResponse { /// <p>The list of apps.</p> #[serde(rename = "Apps")] #[serde(skip_serializing_if = "Option::is_none")] pub apps: Option<Vec<AppDetails>>, /// <p>If the previous response was truncated, you will receive this token. Use it in your next request to receive the next set of results.</p> #[serde(rename = "NextToken")] #[serde(skip_serializing_if = "Option::is_none")] pub next_token: Option<String>, } #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct ListAutoMLJobsRequest { /// <p>Request a list of jobs, using a filter for time.</p> #[serde(rename = "CreationTimeAfter")] #[serde(skip_serializing_if = "Option::is_none")] pub creation_time_after: Option<f64>, /// <p>Request a list of jobs, using a filter for time.</p> #[serde(rename = "CreationTimeBefore")] #[serde(skip_serializing_if = "Option::is_none")] pub creation_time_before: Option<f64>, /// <p>Request a list of jobs, using a filter for time.</p> #[serde(rename = "LastModifiedTimeAfter")] #[serde(skip_serializing_if = "Option::is_none")] pub last_modified_time_after: Option<f64>, /// <p>Request a list of jobs, using a filter for time.</p> #[serde(rename = "LastModifiedTimeBefore")] #[serde(skip_serializing_if = "Option::is_none")] pub last_modified_time_before: Option<f64>, /// <p>Request a list of jobs up to a specified limit.</p> #[serde(rename = "MaxResults")] #[serde(skip_serializing_if = "Option::is_none")] pub max_results: Option<i64>, /// <p>Request a list of jobs, using a search filter for name.</p> #[serde(rename = "NameContains")] #[serde(skip_serializing_if = "Option::is_none")] pub name_contains: Option<String>, /// <p>If the previous response was truncated, you will receive this token. Use it in your next request to receive the next set of results.</p> #[serde(rename = "NextToken")] #[serde(skip_serializing_if = "Option::is_none")] pub next_token: Option<String>, /// <p>The parameter by which to sort the results. The default is AutoMLJobName.</p> #[serde(rename = "SortBy")] #[serde(skip_serializing_if = "Option::is_none")] pub sort_by: Option<String>, /// <p>The sort order for the results. The default is Descending.</p> #[serde(rename = "SortOrder")] #[serde(skip_serializing_if = "Option::is_none")] pub sort_order: Option<String>, /// <p>Request a list of jobs, using a filter for status.</p> #[serde(rename = "StatusEquals")] #[serde(skip_serializing_if = "Option::is_none")] pub status_equals: Option<String>, } #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct ListAutoMLJobsResponse { /// <p>Returns a summary list of jobs.</p> #[serde(rename = "AutoMLJobSummaries")] pub auto_ml_job_summaries: Vec<AutoMLJobSummary>, /// <p>If the previous response was truncated, you will receive this token. Use it in your next request to receive the next set of results.</p> #[serde(rename = "NextToken")] #[serde(skip_serializing_if = "Option::is_none")] pub next_token: Option<String>, } #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct ListCandidatesForAutoMLJobRequest { /// <p>List the Candidates created for the job by providing the job's name.</p> #[serde(rename = "AutoMLJobName")] pub auto_ml_job_name: String, /// <p>List the Candidates for the job and filter by candidate name.</p> #[serde(rename = "CandidateNameEquals")] #[serde(skip_serializing_if = "Option::is_none")] pub candidate_name_equals: Option<String>, /// <p>List the job's Candidates up to a specified limit.</p> #[serde(rename = "MaxResults")] #[serde(skip_serializing_if = "Option::is_none")] pub max_results: Option<i64>, /// <p>If the previous response was truncated, you will receive this token. Use it in your next request to receive the next set of results.</p> #[serde(rename = "NextToken")] #[serde(skip_serializing_if = "Option::is_none")] pub next_token: Option<String>, /// <p>The parameter by which to sort the results. The default is Descending.</p> #[serde(rename = "SortBy")] #[serde(skip_serializing_if = "Option::is_none")] pub sort_by: Option<String>, /// <p>The sort order for the results. The default is Ascending.</p> #[serde(rename = "SortOrder")] #[serde(skip_serializing_if = "Option::is_none")] pub sort_order: Option<String>, /// <p>List the Candidates for the job and filter by status.</p> #[serde(rename = "StatusEquals")] #[serde(skip_serializing_if = "Option::is_none")] pub status_equals: Option<String>, } #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct ListCandidatesForAutoMLJobResponse { /// <p>Summaries about the Candidates.</p> #[serde(rename = "Candidates")] pub candidates: Vec<AutoMLCandidate>, /// <p>If the previous response was truncated, you will receive this token. Use it in your next request to receive the next set of results.</p> #[serde(rename = "NextToken")] #[serde(skip_serializing_if = "Option::is_none")] pub next_token: Option<String>, } #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct ListCodeRepositoriesInput { /// <p>A filter that returns only Git repositories that were created after the specified time.</p> #[serde(rename = "CreationTimeAfter")] #[serde(skip_serializing_if = "Option::is_none")] pub creation_time_after: Option<f64>, /// <p>A filter that returns only Git repositories that were created before the specified time.</p> #[serde(rename = "CreationTimeBefore")] #[serde(skip_serializing_if = "Option::is_none")] pub creation_time_before: Option<f64>, /// <p>A filter that returns only Git repositories that were last modified after the specified time.</p> #[serde(rename = "LastModifiedTimeAfter")] #[serde(skip_serializing_if = "Option::is_none")] pub last_modified_time_after: Option<f64>, /// <p>A filter that returns only Git repositories that were last modified before the specified time.</p> #[serde(rename = "LastModifiedTimeBefore")] #[serde(skip_serializing_if = "Option::is_none")] pub last_modified_time_before: Option<f64>, /// <p>The maximum number of Git repositories to return in the response.</p> #[serde(rename = "MaxResults")] #[serde(skip_serializing_if = "Option::is_none")] pub max_results: Option<i64>, /// <p>A string in the Git repositories name. This filter returns only repositories whose name contains the specified string.</p> #[serde(rename = "NameContains")] #[serde(skip_serializing_if = "Option::is_none")] pub name_contains: Option<String>, /// <p>If the result of a <code>ListCodeRepositoriesOutput</code> request was truncated, the response includes a <code>NextToken</code>. To get the next set of Git repositories, use the token in the next request.</p> #[serde(rename = "NextToken")] #[serde(skip_serializing_if = "Option::is_none")] pub next_token: Option<String>, /// <p>The field to sort results by. The default is <code>Name</code>.</p> #[serde(rename = "SortBy")] #[serde(skip_serializing_if = "Option::is_none")] pub sort_by: Option<String>, /// <p>The sort order for results. The default is <code>Ascending</code>.</p> #[serde(rename = "SortOrder")] #[serde(skip_serializing_if = "Option::is_none")] pub sort_order: Option<String>, } #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct ListCodeRepositoriesOutput { /// <p><p>Gets a list of summaries of the Git repositories. Each summary specifies the following values for the repository: </p> <ul> <li> <p>Name</p> </li> <li> <p>Amazon Resource Name (ARN)</p> </li> <li> <p>Creation time</p> </li> <li> <p>Last modified time</p> </li> <li> <p>Configuration information, including the URL location of the repository and the ARN of the AWS Secrets Manager secret that contains the credentials used to access the repository.</p> </li> </ul></p> #[serde(rename = "CodeRepositorySummaryList")] pub code_repository_summary_list: Vec<CodeRepositorySummary>, /// <p>If the result of a <code>ListCodeRepositoriesOutput</code> request was truncated, the response includes a <code>NextToken</code>. To get the next set of Git repositories, use the token in the next request.</p> #[serde(rename = "NextToken")] #[serde(skip_serializing_if = "Option::is_none")] pub next_token: Option<String>, } #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct ListCompilationJobsRequest { /// <p>A filter that returns the model compilation jobs that were created after a specified time. </p> #[serde(rename = "CreationTimeAfter")] #[serde(skip_serializing_if = "Option::is_none")] pub creation_time_after: Option<f64>, /// <p>A filter that returns the model compilation jobs that were created before a specified time.</p> #[serde(rename = "CreationTimeBefore")] #[serde(skip_serializing_if = "Option::is_none")] pub creation_time_before: Option<f64>, /// <p>A filter that returns the model compilation jobs that were modified after a specified time.</p> #[serde(rename = "LastModifiedTimeAfter")] #[serde(skip_serializing_if = "Option::is_none")] pub last_modified_time_after: Option<f64>, /// <p>A filter that returns the model compilation jobs that were modified before a specified time.</p> #[serde(rename = "LastModifiedTimeBefore")] #[serde(skip_serializing_if = "Option::is_none")] pub last_modified_time_before: Option<f64>, /// <p>The maximum number of model compilation jobs to return in the response.</p> #[serde(rename = "MaxResults")] #[serde(skip_serializing_if = "Option::is_none")] pub max_results: Option<i64>, /// <p>A filter that returns the model compilation jobs whose name contains a specified string.</p> #[serde(rename = "NameContains")] #[serde(skip_serializing_if = "Option::is_none")] pub name_contains: Option<String>, /// <p>If the result of the previous <code>ListCompilationJobs</code> request was truncated, the response includes a <code>NextToken</code>. To retrieve the next set of model compilation jobs, use the token in the next request.</p> #[serde(rename = "NextToken")] #[serde(skip_serializing_if = "Option::is_none")] pub next_token: Option<String>, /// <p>The field by which to sort results. The default is <code>CreationTime</code>.</p> #[serde(rename = "SortBy")] #[serde(skip_serializing_if = "Option::is_none")] pub sort_by: Option<String>, /// <p>The sort order for results. The default is <code>Ascending</code>.</p> #[serde(rename = "SortOrder")] #[serde(skip_serializing_if = "Option::is_none")] pub sort_order: Option<String>, /// <p>A filter that retrieves model compilation jobs with a specific <a>DescribeCompilationJobResponse$CompilationJobStatus</a> status.</p> #[serde(rename = "StatusEquals")] #[serde(skip_serializing_if = "Option::is_none")] pub status_equals: Option<String>, } #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct ListCompilationJobsResponse { /// <p>An array of <a>CompilationJobSummary</a> objects, each describing a model compilation job. </p> #[serde(rename = "CompilationJobSummaries")] pub compilation_job_summaries: Vec<CompilationJobSummary>, /// <p>If the response is truncated, Amazon SageMaker returns this <code>NextToken</code>. To retrieve the next set of model compilation jobs, use this token in the next request.</p> #[serde(rename = "NextToken")] #[serde(skip_serializing_if = "Option::is_none")] pub next_token: Option<String>, } #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct ListDomainsRequest { /// <p>Returns a list up to a specified limit.</p> #[serde(rename = "MaxResults")] #[serde(skip_serializing_if = "Option::is_none")] pub max_results: Option<i64>, /// <p>If the previous response was truncated, you will receive this token. Use it in your next request to receive the next set of results.</p> #[serde(rename = "NextToken")] #[serde(skip_serializing_if = "Option::is_none")] pub next_token: Option<String>, } #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct ListDomainsResponse { /// <p>The list of domains.</p> #[serde(rename = "Domains")] #[serde(skip_serializing_if = "Option::is_none")] pub domains: Option<Vec<DomainDetails>>, /// <p>If the previous response was truncated, you will receive this token. Use it in your next request to receive the next set of results.</p> #[serde(rename = "NextToken")] #[serde(skip_serializing_if = "Option::is_none")] pub next_token: Option<String>, } #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct ListEndpointConfigsInput { /// <p>A filter that returns only endpoint configurations with a creation time greater than or equal to the specified time (timestamp).</p> #[serde(rename = "CreationTimeAfter")] #[serde(skip_serializing_if = "Option::is_none")] pub creation_time_after: Option<f64>, /// <p>A filter that returns only endpoint configurations created before the specified time (timestamp).</p> #[serde(rename = "CreationTimeBefore")] #[serde(skip_serializing_if = "Option::is_none")] pub creation_time_before: Option<f64>, /// <p>The maximum number of training jobs to return in the response.</p> #[serde(rename = "MaxResults")] #[serde(skip_serializing_if = "Option::is_none")] pub max_results: Option<i64>, /// <p>A string in the endpoint configuration name. This filter returns only endpoint configurations whose name contains the specified string. </p> #[serde(rename = "NameContains")] #[serde(skip_serializing_if = "Option::is_none")] pub name_contains: Option<String>, /// <p>If the result of the previous <code>ListEndpointConfig</code> request was truncated, the response includes a <code>NextToken</code>. To retrieve the next set of endpoint configurations, use the token in the next request. </p> #[serde(rename = "NextToken")] #[serde(skip_serializing_if = "Option::is_none")] pub next_token: Option<String>, /// <p>The field to sort results by. The default is <code>CreationTime</code>.</p> #[serde(rename = "SortBy")] #[serde(skip_serializing_if = "Option::is_none")] pub sort_by: Option<String>, /// <p>The sort order for results. The default is <code>Descending</code>.</p> #[serde(rename = "SortOrder")] #[serde(skip_serializing_if = "Option::is_none")] pub sort_order: Option<String>, } #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct ListEndpointConfigsOutput { /// <p>An array of endpoint configurations.</p> #[serde(rename = "EndpointConfigs")] pub endpoint_configs: Vec<EndpointConfigSummary>, /// <p> If the response is truncated, Amazon SageMaker returns this token. To retrieve the next set of endpoint configurations, use it in the subsequent request </p> #[serde(rename = "NextToken")] #[serde(skip_serializing_if = "Option::is_none")] pub next_token: Option<String>, } #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct ListEndpointsInput { /// <p>A filter that returns only endpoints with a creation time greater than or equal to the specified time (timestamp).</p> #[serde(rename = "CreationTimeAfter")] #[serde(skip_serializing_if = "Option::is_none")] pub creation_time_after: Option<f64>, /// <p>A filter that returns only endpoints that were created before the specified time (timestamp).</p> #[serde(rename = "CreationTimeBefore")] #[serde(skip_serializing_if = "Option::is_none")] pub creation_time_before: Option<f64>, /// <p> A filter that returns only endpoints that were modified after the specified timestamp. </p> #[serde(rename = "LastModifiedTimeAfter")] #[serde(skip_serializing_if = "Option::is_none")] pub last_modified_time_after: Option<f64>, /// <p> A filter that returns only endpoints that were modified before the specified timestamp. </p> #[serde(rename = "LastModifiedTimeBefore")] #[serde(skip_serializing_if = "Option::is_none")] pub last_modified_time_before: Option<f64>, /// <p>The maximum number of endpoints to return in the response.</p> #[serde(rename = "MaxResults")] #[serde(skip_serializing_if = "Option::is_none")] pub max_results: Option<i64>, /// <p>A string in endpoint names. This filter returns only endpoints whose name contains the specified string.</p> #[serde(rename = "NameContains")] #[serde(skip_serializing_if = "Option::is_none")] pub name_contains: Option<String>, /// <p>If the result of a <code>ListEndpoints</code> request was truncated, the response includes a <code>NextToken</code>. To retrieve the next set of endpoints, use the token in the next request.</p> #[serde(rename = "NextToken")] #[serde(skip_serializing_if = "Option::is_none")] pub next_token: Option<String>, /// <p>Sorts the list of results. The default is <code>CreationTime</code>.</p> #[serde(rename = "SortBy")] #[serde(skip_serializing_if = "Option::is_none")] pub sort_by: Option<String>, /// <p>The sort order for results. The default is <code>Descending</code>.</p> #[serde(rename = "SortOrder")] #[serde(skip_serializing_if = "Option::is_none")] pub sort_order: Option<String>, /// <p> A filter that returns only endpoints with the specified status.</p> #[serde(rename = "StatusEquals")] #[serde(skip_serializing_if = "Option::is_none")] pub status_equals: Option<String>, } #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct ListEndpointsOutput { /// <p> An array or endpoint objects. </p> #[serde(rename = "Endpoints")] pub endpoints: Vec<EndpointSummary>, /// <p> If the response is truncated, Amazon SageMaker returns this token. To retrieve the next set of training jobs, use it in the subsequent request. </p> #[serde(rename = "NextToken")] #[serde(skip_serializing_if = "Option::is_none")] pub next_token: Option<String>, } #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct ListExperimentsRequest { /// <p>A filter that returns only experiments created after the specified time.</p> #[serde(rename = "CreatedAfter")] #[serde(skip_serializing_if = "Option::is_none")] pub created_after: Option<f64>, /// <p>A filter that returns only experiments created before the specified time.</p> #[serde(rename = "CreatedBefore")] #[serde(skip_serializing_if = "Option::is_none")] pub created_before: Option<f64>, /// <p>The maximum number of experiments to return in the response. The default value is 10.</p> #[serde(rename = "MaxResults")] #[serde(skip_serializing_if = "Option::is_none")] pub max_results: Option<i64>, /// <p>If the previous call to <code>ListExperiments</code> didn't return the full set of experiments, the call returns a token for getting the next set of experiments.</p> #[serde(rename = "NextToken")] #[serde(skip_serializing_if = "Option::is_none")] pub next_token: Option<String>, /// <p>The property used to sort results. The default value is <code>CreationTime</code>.</p> #[serde(rename = "SortBy")] #[serde(skip_serializing_if = "Option::is_none")] pub sort_by: Option<String>, /// <p>The sort order. The default value is <code>Descending</code>.</p> #[serde(rename = "SortOrder")] #[serde(skip_serializing_if = "Option::is_none")] pub sort_order: Option<String>, } #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct ListExperimentsResponse { /// <p>A list of the summaries of your experiments.</p> #[serde(rename = "ExperimentSummaries")] #[serde(skip_serializing_if = "Option::is_none")] pub experiment_summaries: Option<Vec<ExperimentSummary>>, /// <p>A token for getting the next set of experiments, if there are any.</p> #[serde(rename = "NextToken")] #[serde(skip_serializing_if = "Option::is_none")] pub next_token: Option<String>, } #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct ListFlowDefinitionsRequest { /// <p>A filter that returns only flow definitions with a creation time greater than or equal to the specified timestamp.</p> #[serde(rename = "CreationTimeAfter")] #[serde(skip_serializing_if = "Option::is_none")] pub creation_time_after: Option<f64>, /// <p>A filter that returns only flow definitions that were created before the specified timestamp.</p> #[serde(rename = "CreationTimeBefore")] #[serde(skip_serializing_if = "Option::is_none")] pub creation_time_before: Option<f64>, /// <p>The total number of items to return. If the total number of available items is more than the value specified in <code>MaxResults</code>, then a <code>NextToken</code> will be provided in the output that you can use to resume pagination.</p> #[serde(rename = "MaxResults")] #[serde(skip_serializing_if = "Option::is_none")] pub max_results: Option<i64>, /// <p>A token to resume pagination.</p> #[serde(rename = "NextToken")] #[serde(skip_serializing_if = "Option::is_none")] pub next_token: Option<String>, /// <p>An optional value that specifies whether you want the results sorted in <code>Ascending</code> or <code>Descending</code> order.</p> #[serde(rename = "SortOrder")] #[serde(skip_serializing_if = "Option::is_none")] pub sort_order: Option<String>, } #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct ListFlowDefinitionsResponse { /// <p>An array of objects describing the flow definitions.</p> #[serde(rename = "FlowDefinitionSummaries")] pub flow_definition_summaries: Vec<FlowDefinitionSummary>, /// <p>A token to resume pagination.</p> #[serde(rename = "NextToken")] #[serde(skip_serializing_if = "Option::is_none")] pub next_token: Option<String>, } #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct ListHumanTaskUisRequest { /// <p>A filter that returns only human task user interfaces with a creation time greater than or equal to the specified timestamp.</p> #[serde(rename = "CreationTimeAfter")] #[serde(skip_serializing_if = "Option::is_none")] pub creation_time_after: Option<f64>, /// <p>A filter that returns only human task user interfaces that were created before the specified timestamp.</p> #[serde(rename = "CreationTimeBefore")] #[serde(skip_serializing_if = "Option::is_none")] pub creation_time_before: Option<f64>, /// <p>The total number of items to return. If the total number of available items is more than the value specified in <code>MaxResults</code>, then a <code>NextToken</code> will be provided in the output that you can use to resume pagination.</p> #[serde(rename = "MaxResults")] #[serde(skip_serializing_if = "Option::is_none")] pub max_results: Option<i64>, /// <p>A token to resume pagination.</p> #[serde(rename = "NextToken")] #[serde(skip_serializing_if = "Option::is_none")] pub next_token: Option<String>, /// <p>An optional value that specifies whether you want the results sorted in <code>Ascending</code> or <code>Descending</code> order.</p> #[serde(rename = "SortOrder")] #[serde(skip_serializing_if = "Option::is_none")] pub sort_order: Option<String>, } #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct ListHumanTaskUisResponse { /// <p>An array of objects describing the human task user interfaces.</p> #[serde(rename = "HumanTaskUiSummaries")] pub human_task_ui_summaries: Vec<HumanTaskUiSummary>, /// <p>A token to resume pagination.</p> #[serde(rename = "NextToken")] #[serde(skip_serializing_if = "Option::is_none")] pub next_token: Option<String>, } #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct ListHyperParameterTuningJobsRequest { /// <p>A filter that returns only tuning jobs that were created after the specified time.</p> #[serde(rename = "CreationTimeAfter")] #[serde(skip_serializing_if = "Option::is_none")] pub creation_time_after: Option<f64>, /// <p>A filter that returns only tuning jobs that were created before the specified time.</p> #[serde(rename = "CreationTimeBefore")] #[serde(skip_serializing_if = "Option::is_none")] pub creation_time_before: Option<f64>, /// <p>A filter that returns only tuning jobs that were modified after the specified time.</p> #[serde(rename = "LastModifiedTimeAfter")] #[serde(skip_serializing_if = "Option::is_none")] pub last_modified_time_after: Option<f64>, /// <p>A filter that returns only tuning jobs that were modified before the specified time.</p> #[serde(rename = "LastModifiedTimeBefore")] #[serde(skip_serializing_if = "Option::is_none")] pub last_modified_time_before: Option<f64>, /// <p>The maximum number of tuning jobs to return. The default value is 10.</p> #[serde(rename = "MaxResults")] #[serde(skip_serializing_if = "Option::is_none")] pub max_results: Option<i64>, /// <p>A string in the tuning job name. This filter returns only tuning jobs whose name contains the specified string.</p> #[serde(rename = "NameContains")] #[serde(skip_serializing_if = "Option::is_none")] pub name_contains: Option<String>, /// <p>If the result of the previous <code>ListHyperParameterTuningJobs</code> request was truncated, the response includes a <code>NextToken</code>. To retrieve the next set of tuning jobs, use the token in the next request.</p> #[serde(rename = "NextToken")] #[serde(skip_serializing_if = "Option::is_none")] pub next_token: Option<String>, /// <p>The field to sort results by. The default is <code>Name</code>.</p> #[serde(rename = "SortBy")] #[serde(skip_serializing_if = "Option::is_none")] pub sort_by: Option<String>, /// <p>The sort order for results. The default is <code>Ascending</code>.</p> #[serde(rename = "SortOrder")] #[serde(skip_serializing_if = "Option::is_none")] pub sort_order: Option<String>, /// <p>A filter that returns only tuning jobs with the specified status.</p> #[serde(rename = "StatusEquals")] #[serde(skip_serializing_if = "Option::is_none")] pub status_equals: Option<String>, } #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct ListHyperParameterTuningJobsResponse { /// <p>A list of <a>HyperParameterTuningJobSummary</a> objects that describe the tuning jobs that the <code>ListHyperParameterTuningJobs</code> request returned.</p> #[serde(rename = "HyperParameterTuningJobSummaries")] pub hyper_parameter_tuning_job_summaries: Vec<HyperParameterTuningJobSummary>, /// <p>If the result of this <code>ListHyperParameterTuningJobs</code> request was truncated, the response includes a <code>NextToken</code>. To retrieve the next set of tuning jobs, use the token in the next request.</p> #[serde(rename = "NextToken")] #[serde(skip_serializing_if = "Option::is_none")] pub next_token: Option<String>, } #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct ListLabelingJobsForWorkteamRequest { /// <p>A filter that returns only labeling jobs created after the specified time (timestamp).</p> #[serde(rename = "CreationTimeAfter")] #[serde(skip_serializing_if = "Option::is_none")] pub creation_time_after: Option<f64>, /// <p>A filter that returns only labeling jobs created before the specified time (timestamp).</p> #[serde(rename = "CreationTimeBefore")] #[serde(skip_serializing_if = "Option::is_none")] pub creation_time_before: Option<f64>, /// <p>A filter the limits jobs to only the ones whose job reference code contains the specified string.</p> #[serde(rename = "JobReferenceCodeContains")] #[serde(skip_serializing_if = "Option::is_none")] pub job_reference_code_contains: Option<String>, /// <p>The maximum number of labeling jobs to return in each page of the response.</p> #[serde(rename = "MaxResults")] #[serde(skip_serializing_if = "Option::is_none")] pub max_results: Option<i64>, /// <p>If the result of the previous <code>ListLabelingJobsForWorkteam</code> request was truncated, the response includes a <code>NextToken</code>. To retrieve the next set of labeling jobs, use the token in the next request.</p> #[serde(rename = "NextToken")] #[serde(skip_serializing_if = "Option::is_none")] pub next_token: Option<String>, /// <p>The field to sort results by. The default is <code>CreationTime</code>.</p> #[serde(rename = "SortBy")] #[serde(skip_serializing_if = "Option::is_none")] pub sort_by: Option<String>, /// <p>The sort order for results. The default is <code>Ascending</code>.</p> #[serde(rename = "SortOrder")] #[serde(skip_serializing_if = "Option::is_none")] pub sort_order: Option<String>, /// <p>The Amazon Resource Name (ARN) of the work team for which you want to see labeling jobs for.</p> #[serde(rename = "WorkteamArn")] pub workteam_arn: String, } #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct ListLabelingJobsForWorkteamResponse { /// <p>An array of <code>LabelingJobSummary</code> objects, each describing a labeling job.</p> #[serde(rename = "LabelingJobSummaryList")] pub labeling_job_summary_list: Vec<LabelingJobForWorkteamSummary>, /// <p>If the response is truncated, Amazon SageMaker returns this token. To retrieve the next set of labeling jobs, use it in the subsequent request.</p> #[serde(rename = "NextToken")] #[serde(skip_serializing_if = "Option::is_none")] pub next_token: Option<String>, } #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct ListLabelingJobsRequest { /// <p>A filter that returns only labeling jobs created after the specified time (timestamp).</p> #[serde(rename = "CreationTimeAfter")] #[serde(skip_serializing_if = "Option::is_none")] pub creation_time_after: Option<f64>, /// <p>A filter that returns only labeling jobs created before the specified time (timestamp).</p> #[serde(rename = "CreationTimeBefore")] #[serde(skip_serializing_if = "Option::is_none")] pub creation_time_before: Option<f64>, /// <p>A filter that returns only labeling jobs modified after the specified time (timestamp).</p> #[serde(rename = "LastModifiedTimeAfter")] #[serde(skip_serializing_if = "Option::is_none")] pub last_modified_time_after: Option<f64>, /// <p>A filter that returns only labeling jobs modified before the specified time (timestamp).</p> #[serde(rename = "LastModifiedTimeBefore")] #[serde(skip_serializing_if = "Option::is_none")] pub last_modified_time_before: Option<f64>, /// <p>The maximum number of labeling jobs to return in each page of the response.</p> #[serde(rename = "MaxResults")] #[serde(skip_serializing_if = "Option::is_none")] pub max_results: Option<i64>, /// <p>A string in the labeling job name. This filter returns only labeling jobs whose name contains the specified string.</p> #[serde(rename = "NameContains")] #[serde(skip_serializing_if = "Option::is_none")] pub name_contains: Option<String>, /// <p>If the result of the previous <code>ListLabelingJobs</code> request was truncated, the response includes a <code>NextToken</code>. To retrieve the next set of labeling jobs, use the token in the next request.</p> #[serde(rename = "NextToken")] #[serde(skip_serializing_if = "Option::is_none")] pub next_token: Option<String>, /// <p>The field to sort results by. The default is <code>CreationTime</code>.</p> #[serde(rename = "SortBy")] #[serde(skip_serializing_if = "Option::is_none")] pub sort_by: Option<String>, /// <p>The sort order for results. The default is <code>Ascending</code>.</p> #[serde(rename = "SortOrder")] #[serde(skip_serializing_if = "Option::is_none")] pub sort_order: Option<String>, /// <p>A filter that retrieves only labeling jobs with a specific status.</p> #[serde(rename = "StatusEquals")] #[serde(skip_serializing_if = "Option::is_none")] pub status_equals: Option<String>, } #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct ListLabelingJobsResponse { /// <p>An array of <code>LabelingJobSummary</code> objects, each describing a labeling job.</p> #[serde(rename = "LabelingJobSummaryList")] #[serde(skip_serializing_if = "Option::is_none")] pub labeling_job_summary_list: Option<Vec<LabelingJobSummary>>, /// <p>If the response is truncated, Amazon SageMaker returns this token. To retrieve the next set of labeling jobs, use it in the subsequent request.</p> #[serde(rename = "NextToken")] #[serde(skip_serializing_if = "Option::is_none")] pub next_token: Option<String>, } #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct ListModelPackagesInput { /// <p>A filter that returns only model packages created after the specified time (timestamp).</p> #[serde(rename = "CreationTimeAfter")] #[serde(skip_serializing_if = "Option::is_none")] pub creation_time_after: Option<f64>, /// <p>A filter that returns only model packages created before the specified time (timestamp).</p> #[serde(rename = "CreationTimeBefore")] #[serde(skip_serializing_if = "Option::is_none")] pub creation_time_before: Option<f64>, /// <p>The maximum number of model packages to return in the response.</p> #[serde(rename = "MaxResults")] #[serde(skip_serializing_if = "Option::is_none")] pub max_results: Option<i64>, /// <p>A string in the model package name. This filter returns only model packages whose name contains the specified string.</p> #[serde(rename = "NameContains")] #[serde(skip_serializing_if = "Option::is_none")] pub name_contains: Option<String>, /// <p>If the response to a previous <code>ListModelPackages</code> request was truncated, the response includes a <code>NextToken</code>. To retrieve the next set of model packages, use the token in the next request.</p> #[serde(rename = "NextToken")] #[serde(skip_serializing_if = "Option::is_none")] pub next_token: Option<String>, /// <p>The parameter by which to sort the results. The default is <code>CreationTime</code>.</p> #[serde(rename = "SortBy")] #[serde(skip_serializing_if = "Option::is_none")] pub sort_by: Option<String>, /// <p>The sort order for the results. The default is <code>Ascending</code>.</p> #[serde(rename = "SortOrder")] #[serde(skip_serializing_if = "Option::is_none")] pub sort_order: Option<String>, } #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct ListModelPackagesOutput { /// <p>An array of <code>ModelPackageSummary</code> objects, each of which lists a model package.</p> #[serde(rename = "ModelPackageSummaryList")] pub model_package_summary_list: Vec<ModelPackageSummary>, /// <p>If the response is truncated, Amazon SageMaker returns this token. To retrieve the next set of model packages, use it in the subsequent request.</p> #[serde(rename = "NextToken")] #[serde(skip_serializing_if = "Option::is_none")] pub next_token: Option<String>, } #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct ListModelsInput { /// <p>A filter that returns only models with a creation time greater than or equal to the specified time (timestamp).</p> #[serde(rename = "CreationTimeAfter")] #[serde(skip_serializing_if = "Option::is_none")] pub creation_time_after: Option<f64>, /// <p>A filter that returns only models created before the specified time (timestamp).</p> #[serde(rename = "CreationTimeBefore")] #[serde(skip_serializing_if = "Option::is_none")] pub creation_time_before: Option<f64>, /// <p>The maximum number of models to return in the response.</p> #[serde(rename = "MaxResults")] #[serde(skip_serializing_if = "Option::is_none")] pub max_results: Option<i64>, /// <p>A string in the training job name. This filter returns only models in the training job whose name contains the specified string.</p> #[serde(rename = "NameContains")] #[serde(skip_serializing_if = "Option::is_none")] pub name_contains: Option<String>, /// <p>If the response to a previous <code>ListModels</code> request was truncated, the response includes a <code>NextToken</code>. To retrieve the next set of models, use the token in the next request.</p> #[serde(rename = "NextToken")] #[serde(skip_serializing_if = "Option::is_none")] pub next_token: Option<String>, /// <p>Sorts the list of results. The default is <code>CreationTime</code>.</p> #[serde(rename = "SortBy")] #[serde(skip_serializing_if = "Option::is_none")] pub sort_by: Option<String>, /// <p>The sort order for results. The default is <code>Descending</code>.</p> #[serde(rename = "SortOrder")] #[serde(skip_serializing_if = "Option::is_none")] pub sort_order: Option<String>, } #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct ListModelsOutput { /// <p>An array of <code>ModelSummary</code> objects, each of which lists a model.</p> #[serde(rename = "Models")] pub models: Vec<ModelSummary>, /// <p> If the response is truncated, Amazon SageMaker returns this token. To retrieve the next set of models, use it in the subsequent request. </p> #[serde(rename = "NextToken")] #[serde(skip_serializing_if = "Option::is_none")] pub next_token: Option<String>, } #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct ListMonitoringExecutionsRequest { /// <p>A filter that returns only jobs created after a specified time.</p> #[serde(rename = "CreationTimeAfter")] #[serde(skip_serializing_if = "Option::is_none")] pub creation_time_after: Option<f64>, /// <p>A filter that returns only jobs created before a specified time.</p> #[serde(rename = "CreationTimeBefore")] #[serde(skip_serializing_if = "Option::is_none")] pub creation_time_before: Option<f64>, /// <p>Name of a specific endpoint to fetch jobs for.</p> #[serde(rename = "EndpointName")] #[serde(skip_serializing_if = "Option::is_none")] pub endpoint_name: Option<String>, /// <p>A filter that returns only jobs modified before a specified time.</p> #[serde(rename = "LastModifiedTimeAfter")] #[serde(skip_serializing_if = "Option::is_none")] pub last_modified_time_after: Option<f64>, /// <p>A filter that returns only jobs modified after a specified time.</p> #[serde(rename = "LastModifiedTimeBefore")] #[serde(skip_serializing_if = "Option::is_none")] pub last_modified_time_before: Option<f64>, /// <p>The maximum number of jobs to return in the response. The default value is 10.</p> #[serde(rename = "MaxResults")] #[serde(skip_serializing_if = "Option::is_none")] pub max_results: Option<i64>, /// <p>Name of a specific schedule to fetch jobs for.</p> #[serde(rename = "MonitoringScheduleName")] #[serde(skip_serializing_if = "Option::is_none")] pub monitoring_schedule_name: Option<String>, /// <p>The token returned if the response is truncated. To retrieve the next set of job executions, use it in the next request.</p> #[serde(rename = "NextToken")] #[serde(skip_serializing_if = "Option::is_none")] pub next_token: Option<String>, /// <p>Filter for jobs scheduled after a specified time.</p> #[serde(rename = "ScheduledTimeAfter")] #[serde(skip_serializing_if = "Option::is_none")] pub scheduled_time_after: Option<f64>, /// <p>Filter for jobs scheduled before a specified time.</p> #[serde(rename = "ScheduledTimeBefore")] #[serde(skip_serializing_if = "Option::is_none")] pub scheduled_time_before: Option<f64>, /// <p>Whether to sort results by <code>Status</code>, <code>CreationTime</code>, <code>ScheduledTime</code> field. The default is <code>CreationTime</code>.</p> #[serde(rename = "SortBy")] #[serde(skip_serializing_if = "Option::is_none")] pub sort_by: Option<String>, /// <p>Whether to sort the results in <code>Ascending</code> or <code>Descending</code> order. The default is <code>Descending</code>.</p> #[serde(rename = "SortOrder")] #[serde(skip_serializing_if = "Option::is_none")] pub sort_order: Option<String>, /// <p>A filter that retrieves only jobs with a specific status.</p> #[serde(rename = "StatusEquals")] #[serde(skip_serializing_if = "Option::is_none")] pub status_equals: Option<String>, } #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct ListMonitoringExecutionsResponse { /// <p>A JSON array in which each element is a summary for a monitoring execution.</p> #[serde(rename = "MonitoringExecutionSummaries")] pub monitoring_execution_summaries: Vec<MonitoringExecutionSummary>, /// <p>If the response is truncated, Amazon SageMaker returns this token. To retrieve the next set of jobs, use it in the subsequent reques</p> #[serde(rename = "NextToken")] #[serde(skip_serializing_if = "Option::is_none")] pub next_token: Option<String>, } #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct ListMonitoringSchedulesRequest { /// <p>A filter that returns only monitoring schedules created after a specified time.</p> #[serde(rename = "CreationTimeAfter")] #[serde(skip_serializing_if = "Option::is_none")] pub creation_time_after: Option<f64>, /// <p>A filter that returns only monitoring schedules created before a specified time.</p> #[serde(rename = "CreationTimeBefore")] #[serde(skip_serializing_if = "Option::is_none")] pub creation_time_before: Option<f64>, /// <p>Name of a specific endpoint to fetch schedules for.</p> #[serde(rename = "EndpointName")] #[serde(skip_serializing_if = "Option::is_none")] pub endpoint_name: Option<String>, /// <p>A filter that returns only monitoring schedules modified after a specified time.</p> #[serde(rename = "LastModifiedTimeAfter")] #[serde(skip_serializing_if = "Option::is_none")] pub last_modified_time_after: Option<f64>, /// <p>A filter that returns only monitoring schedules modified before a specified time.</p> #[serde(rename = "LastModifiedTimeBefore")] #[serde(skip_serializing_if = "Option::is_none")] pub last_modified_time_before: Option<f64>, /// <p>The maximum number of jobs to return in the response. The default value is 10.</p> #[serde(rename = "MaxResults")] #[serde(skip_serializing_if = "Option::is_none")] pub max_results: Option<i64>, /// <p>Filter for monitoring schedules whose name contains a specified string.</p> #[serde(rename = "NameContains")] #[serde(skip_serializing_if = "Option::is_none")] pub name_contains: Option<String>, /// <p>The token returned if the response is truncated. To retrieve the next set of job executions, use it in the next request.</p> #[serde(rename = "NextToken")] #[serde(skip_serializing_if = "Option::is_none")] pub next_token: Option<String>, /// <p>Whether to sort results by <code>Status</code>, <code>CreationTime</code>, <code>ScheduledTime</code> field. The default is <code>CreationTime</code>.</p> #[serde(rename = "SortBy")] #[serde(skip_serializing_if = "Option::is_none")] pub sort_by: Option<String>, /// <p>Whether to sort the results in <code>Ascending</code> or <code>Descending</code> order. The default is <code>Descending</code>.</p> #[serde(rename = "SortOrder")] #[serde(skip_serializing_if = "Option::is_none")] pub sort_order: Option<String>, /// <p>A filter that returns only monitoring schedules modified before a specified time.</p> #[serde(rename = "StatusEquals")] #[serde(skip_serializing_if = "Option::is_none")] pub status_equals: Option<String>, } #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct ListMonitoringSchedulesResponse { /// <p>A JSON array in which each element is a summary for a monitoring schedule.</p> #[serde(rename = "MonitoringScheduleSummaries")] pub monitoring_schedule_summaries: Vec<MonitoringScheduleSummary>, /// <p>If the response is truncated, Amazon SageMaker returns this token. To retrieve the next set of jobs, use it in the subsequent reques</p> #[serde(rename = "NextToken")] #[serde(skip_serializing_if = "Option::is_none")] pub next_token: Option<String>, } #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct ListNotebookInstanceLifecycleConfigsInput { /// <p>A filter that returns only lifecycle configurations that were created after the specified time (timestamp).</p> #[serde(rename = "CreationTimeAfter")] #[serde(skip_serializing_if = "Option::is_none")] pub creation_time_after: Option<f64>, /// <p>A filter that returns only lifecycle configurations that were created before the specified time (timestamp).</p> #[serde(rename = "CreationTimeBefore")] #[serde(skip_serializing_if = "Option::is_none")] pub creation_time_before: Option<f64>, /// <p>A filter that returns only lifecycle configurations that were modified after the specified time (timestamp).</p> #[serde(rename = "LastModifiedTimeAfter")] #[serde(skip_serializing_if = "Option::is_none")] pub last_modified_time_after: Option<f64>, /// <p>A filter that returns only lifecycle configurations that were modified before the specified time (timestamp).</p> #[serde(rename = "LastModifiedTimeBefore")] #[serde(skip_serializing_if = "Option::is_none")] pub last_modified_time_before: Option<f64>, /// <p>The maximum number of lifecycle configurations to return in the response.</p> #[serde(rename = "MaxResults")] #[serde(skip_serializing_if = "Option::is_none")] pub max_results: Option<i64>, /// <p>A string in the lifecycle configuration name. This filter returns only lifecycle configurations whose name contains the specified string.</p> #[serde(rename = "NameContains")] #[serde(skip_serializing_if = "Option::is_none")] pub name_contains: Option<String>, /// <p>If the result of a <code>ListNotebookInstanceLifecycleConfigs</code> request was truncated, the response includes a <code>NextToken</code>. To get the next set of lifecycle configurations, use the token in the next request.</p> #[serde(rename = "NextToken")] #[serde(skip_serializing_if = "Option::is_none")] pub next_token: Option<String>, /// <p>Sorts the list of results. The default is <code>CreationTime</code>.</p> #[serde(rename = "SortBy")] #[serde(skip_serializing_if = "Option::is_none")] pub sort_by: Option<String>, /// <p>The sort order for results.</p> #[serde(rename = "SortOrder")] #[serde(skip_serializing_if = "Option::is_none")] pub sort_order: Option<String>, } #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct ListNotebookInstanceLifecycleConfigsOutput { /// <p>If the response is truncated, Amazon SageMaker returns this token. To get the next set of lifecycle configurations, use it in the next request. </p> #[serde(rename = "NextToken")] #[serde(skip_serializing_if = "Option::is_none")] pub next_token: Option<String>, /// <p>An array of <code>NotebookInstanceLifecycleConfiguration</code> objects, each listing a lifecycle configuration.</p> #[serde(rename = "NotebookInstanceLifecycleConfigs")] #[serde(skip_serializing_if = "Option::is_none")] pub notebook_instance_lifecycle_configs: Option<Vec<NotebookInstanceLifecycleConfigSummary>>, } #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct ListNotebookInstancesInput { /// <p>A filter that returns only notebook instances with associated with the specified git repository.</p> #[serde(rename = "AdditionalCodeRepositoryEquals")] #[serde(skip_serializing_if = "Option::is_none")] pub additional_code_repository_equals: Option<String>, /// <p>A filter that returns only notebook instances that were created after the specified time (timestamp).</p> #[serde(rename = "CreationTimeAfter")] #[serde(skip_serializing_if = "Option::is_none")] pub creation_time_after: Option<f64>, /// <p>A filter that returns only notebook instances that were created before the specified time (timestamp). </p> #[serde(rename = "CreationTimeBefore")] #[serde(skip_serializing_if = "Option::is_none")] pub creation_time_before: Option<f64>, /// <p>A string in the name or URL of a Git repository associated with this notebook instance. This filter returns only notebook instances associated with a git repository with a name that contains the specified string.</p> #[serde(rename = "DefaultCodeRepositoryContains")] #[serde(skip_serializing_if = "Option::is_none")] pub default_code_repository_contains: Option<String>, /// <p>A filter that returns only notebook instances that were modified after the specified time (timestamp).</p> #[serde(rename = "LastModifiedTimeAfter")] #[serde(skip_serializing_if = "Option::is_none")] pub last_modified_time_after: Option<f64>, /// <p>A filter that returns only notebook instances that were modified before the specified time (timestamp).</p> #[serde(rename = "LastModifiedTimeBefore")] #[serde(skip_serializing_if = "Option::is_none")] pub last_modified_time_before: Option<f64>, /// <p>The maximum number of notebook instances to return.</p> #[serde(rename = "MaxResults")] #[serde(skip_serializing_if = "Option::is_none")] pub max_results: Option<i64>, /// <p>A string in the notebook instances' name. This filter returns only notebook instances whose name contains the specified string.</p> #[serde(rename = "NameContains")] #[serde(skip_serializing_if = "Option::is_none")] pub name_contains: Option<String>, /// <p><p> If the previous call to the <code>ListNotebookInstances</code> is truncated, the response includes a <code>NextToken</code>. You can use this token in your subsequent <code>ListNotebookInstances</code> request to fetch the next set of notebook instances. </p> <note> <p>You might specify a filter or a sort order in your request. When response is truncated, you must use the same values for the filer and sort order in the next request. </p> </note></p> #[serde(rename = "NextToken")] #[serde(skip_serializing_if = "Option::is_none")] pub next_token: Option<String>, /// <p>A string in the name of a notebook instances lifecycle configuration associated with this notebook instance. This filter returns only notebook instances associated with a lifecycle configuration with a name that contains the specified string.</p> #[serde(rename = "NotebookInstanceLifecycleConfigNameContains")] #[serde(skip_serializing_if = "Option::is_none")] pub notebook_instance_lifecycle_config_name_contains: Option<String>, /// <p>The field to sort results by. The default is <code>Name</code>.</p> #[serde(rename = "SortBy")] #[serde(skip_serializing_if = "Option::is_none")] pub sort_by: Option<String>, /// <p>The sort order for results. </p> #[serde(rename = "SortOrder")] #[serde(skip_serializing_if = "Option::is_none")] pub sort_order: Option<String>, /// <p>A filter that returns only notebook instances with the specified status.</p> #[serde(rename = "StatusEquals")] #[serde(skip_serializing_if = "Option::is_none")] pub status_equals: Option<String>, } #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct ListNotebookInstancesOutput { /// <p>If the response to the previous <code>ListNotebookInstances</code> request was truncated, Amazon SageMaker returns this token. To retrieve the next set of notebook instances, use the token in the next request.</p> #[serde(rename = "NextToken")] #[serde(skip_serializing_if = "Option::is_none")] pub next_token: Option<String>, /// <p>An array of <code>NotebookInstanceSummary</code> objects, one for each notebook instance.</p> #[serde(rename = "NotebookInstances")] #[serde(skip_serializing_if = "Option::is_none")] pub notebook_instances: Option<Vec<NotebookInstanceSummary>>, } #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct ListProcessingJobsRequest { /// <p>A filter that returns only processing jobs created after the specified time.</p> #[serde(rename = "CreationTimeAfter")] #[serde(skip_serializing_if = "Option::is_none")] pub creation_time_after: Option<f64>, /// <p>A filter that returns only processing jobs created after the specified time.</p> #[serde(rename = "CreationTimeBefore")] #[serde(skip_serializing_if = "Option::is_none")] pub creation_time_before: Option<f64>, /// <p>A filter that returns only processing jobs modified after the specified time.</p> #[serde(rename = "LastModifiedTimeAfter")] #[serde(skip_serializing_if = "Option::is_none")] pub last_modified_time_after: Option<f64>, /// <p>A filter that returns only processing jobs modified before the specified time.</p> #[serde(rename = "LastModifiedTimeBefore")] #[serde(skip_serializing_if = "Option::is_none")] pub last_modified_time_before: Option<f64>, /// <p>The maximum number of processing jobs to return in the response.</p> #[serde(rename = "MaxResults")] #[serde(skip_serializing_if = "Option::is_none")] pub max_results: Option<i64>, /// <p>A string in the processing job name. This filter returns only processing jobs whose name contains the specified string.</p> #[serde(rename = "NameContains")] #[serde(skip_serializing_if = "Option::is_none")] pub name_contains: Option<String>, /// <p>If the result of the previous <code>ListProcessingJobs</code> request was truncated, the response includes a <code>NextToken</code>. To retrieve the next set of processing jobs, use the token in the next request.</p> #[serde(rename = "NextToken")] #[serde(skip_serializing_if = "Option::is_none")] pub next_token: Option<String>, /// <p>The field to sort results by. The default is <code>CreationTime</code>.</p> #[serde(rename = "SortBy")] #[serde(skip_serializing_if = "Option::is_none")] pub sort_by: Option<String>, /// <p>The sort order for results. The default is <code>Ascending</code>.</p> #[serde(rename = "SortOrder")] #[serde(skip_serializing_if = "Option::is_none")] pub sort_order: Option<String>, /// <p>A filter that retrieves only processing jobs with a specific status.</p> #[serde(rename = "StatusEquals")] #[serde(skip_serializing_if = "Option::is_none")] pub status_equals: Option<String>, } #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct ListProcessingJobsResponse { /// <p>If the response is truncated, Amazon SageMaker returns this token. To retrieve the next set of processing jobs, use it in the subsequent request.</p> #[serde(rename = "NextToken")] #[serde(skip_serializing_if = "Option::is_none")] pub next_token: Option<String>, /// <p>An array of <code>ProcessingJobSummary</code> objects, each listing a processing job.</p> #[serde(rename = "ProcessingJobSummaries")] pub processing_job_summaries: Vec<ProcessingJobSummary>, } #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct ListSubscribedWorkteamsRequest { /// <p>The maximum number of work teams to return in each page of the response.</p> #[serde(rename = "MaxResults")] #[serde(skip_serializing_if = "Option::is_none")] pub max_results: Option<i64>, /// <p>A string in the work team name. This filter returns only work teams whose name contains the specified string.</p> #[serde(rename = "NameContains")] #[serde(skip_serializing_if = "Option::is_none")] pub name_contains: Option<String>, /// <p>If the result of the previous <code>ListSubscribedWorkteams</code> request was truncated, the response includes a <code>NextToken</code>. To retrieve the next set of labeling jobs, use the token in the next request.</p> #[serde(rename = "NextToken")] #[serde(skip_serializing_if = "Option::is_none")] pub next_token: Option<String>, } #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct ListSubscribedWorkteamsResponse { /// <p>If the response is truncated, Amazon SageMaker returns this token. To retrieve the next set of work teams, use it in the subsequent request.</p> #[serde(rename = "NextToken")] #[serde(skip_serializing_if = "Option::is_none")] pub next_token: Option<String>, /// <p>An array of <code>Workteam</code> objects, each describing a work team.</p> #[serde(rename = "SubscribedWorkteams")] pub subscribed_workteams: Vec<SubscribedWorkteam>, } #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct ListTagsInput { /// <p>Maximum number of tags to return.</p> #[serde(rename = "MaxResults")] #[serde(skip_serializing_if = "Option::is_none")] pub max_results: Option<i64>, /// <p> If the response to the previous <code>ListTags</code> request is truncated, Amazon SageMaker returns this token. To retrieve the next set of tags, use it in the subsequent request. </p> #[serde(rename = "NextToken")] #[serde(skip_serializing_if = "Option::is_none")] pub next_token: Option<String>, /// <p>The Amazon Resource Name (ARN) of the resource whose tags you want to retrieve.</p> #[serde(rename = "ResourceArn")] pub resource_arn: String, } #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct ListTagsOutput { /// <p> If response is truncated, Amazon SageMaker includes a token in the response. You can use this token in your subsequent request to fetch next set of tokens. </p> #[serde(rename = "NextToken")] #[serde(skip_serializing_if = "Option::is_none")] pub next_token: Option<String>, /// <p>An array of <code>Tag</code> objects, each with a tag key and a value.</p> #[serde(rename = "Tags")] #[serde(skip_serializing_if = "Option::is_none")] pub tags: Option<Vec<Tag>>, } #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct ListTrainingJobsForHyperParameterTuningJobRequest { /// <p>The name of the tuning job whose training jobs you want to list.</p> #[serde(rename = "HyperParameterTuningJobName")] pub hyper_parameter_tuning_job_name: String, /// <p>The maximum number of training jobs to return. The default value is 10.</p> #[serde(rename = "MaxResults")] #[serde(skip_serializing_if = "Option::is_none")] pub max_results: Option<i64>, /// <p>If the result of the previous <code>ListTrainingJobsForHyperParameterTuningJob</code> request was truncated, the response includes a <code>NextToken</code>. To retrieve the next set of training jobs, use the token in the next request.</p> #[serde(rename = "NextToken")] #[serde(skip_serializing_if = "Option::is_none")] pub next_token: Option<String>, /// <p>The field to sort results by. The default is <code>Name</code>.</p> <p>If the value of this field is <code>FinalObjectiveMetricValue</code>, any training jobs that did not return an objective metric are not listed.</p> #[serde(rename = "SortBy")] #[serde(skip_serializing_if = "Option::is_none")] pub sort_by: Option<String>, /// <p>The sort order for results. The default is <code>Ascending</code>.</p> #[serde(rename = "SortOrder")] #[serde(skip_serializing_if = "Option::is_none")] pub sort_order: Option<String>, /// <p>A filter that returns only training jobs with the specified status.</p> #[serde(rename = "StatusEquals")] #[serde(skip_serializing_if = "Option::is_none")] pub status_equals: Option<String>, } #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct ListTrainingJobsForHyperParameterTuningJobResponse { /// <p>If the result of this <code>ListTrainingJobsForHyperParameterTuningJob</code> request was truncated, the response includes a <code>NextToken</code>. To retrieve the next set of training jobs, use the token in the next request.</p> #[serde(rename = "NextToken")] #[serde(skip_serializing_if = "Option::is_none")] pub next_token: Option<String>, /// <p>A list of <a>TrainingJobSummary</a> objects that describe the training jobs that the <code>ListTrainingJobsForHyperParameterTuningJob</code> request returned.</p> #[serde(rename = "TrainingJobSummaries")] pub training_job_summaries: Vec<HyperParameterTrainingJobSummary>, } #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct ListTrainingJobsRequest { /// <p>A filter that returns only training jobs created after the specified time (timestamp).</p> #[serde(rename = "CreationTimeAfter")] #[serde(skip_serializing_if = "Option::is_none")] pub creation_time_after: Option<f64>, /// <p>A filter that returns only training jobs created before the specified time (timestamp).</p> #[serde(rename = "CreationTimeBefore")] #[serde(skip_serializing_if = "Option::is_none")] pub creation_time_before: Option<f64>, /// <p>A filter that returns only training jobs modified after the specified time (timestamp).</p> #[serde(rename = "LastModifiedTimeAfter")] #[serde(skip_serializing_if = "Option::is_none")] pub last_modified_time_after: Option<f64>, /// <p>A filter that returns only training jobs modified before the specified time (timestamp).</p> #[serde(rename = "LastModifiedTimeBefore")] #[serde(skip_serializing_if = "Option::is_none")] pub last_modified_time_before: Option<f64>, /// <p>The maximum number of training jobs to return in the response.</p> #[serde(rename = "MaxResults")] #[serde(skip_serializing_if = "Option::is_none")] pub max_results: Option<i64>, /// <p>A string in the training job name. This filter returns only training jobs whose name contains the specified string.</p> #[serde(rename = "NameContains")] #[serde(skip_serializing_if = "Option::is_none")] pub name_contains: Option<String>, /// <p>If the result of the previous <code>ListTrainingJobs</code> request was truncated, the response includes a <code>NextToken</code>. To retrieve the next set of training jobs, use the token in the next request. </p> #[serde(rename = "NextToken")] #[serde(skip_serializing_if = "Option::is_none")] pub next_token: Option<String>, /// <p>The field to sort results by. The default is <code>CreationTime</code>.</p> #[serde(rename = "SortBy")] #[serde(skip_serializing_if = "Option::is_none")] pub sort_by: Option<String>, /// <p>The sort order for results. The default is <code>Ascending</code>.</p> #[serde(rename = "SortOrder")] #[serde(skip_serializing_if = "Option::is_none")] pub sort_order: Option<String>, /// <p>A filter that retrieves only training jobs with a specific status.</p> #[serde(rename = "StatusEquals")] #[serde(skip_serializing_if = "Option::is_none")] pub status_equals: Option<String>, } #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct ListTrainingJobsResponse { /// <p>If the response is truncated, Amazon SageMaker returns this token. To retrieve the next set of training jobs, use it in the subsequent request.</p> #[serde(rename = "NextToken")] #[serde(skip_serializing_if = "Option::is_none")] pub next_token: Option<String>, /// <p>An array of <code>TrainingJobSummary</code> objects, each listing a training job.</p> #[serde(rename = "TrainingJobSummaries")] pub training_job_summaries: Vec<TrainingJobSummary>, } #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct ListTransformJobsRequest { /// <p>A filter that returns only transform jobs created after the specified time.</p> #[serde(rename = "CreationTimeAfter")] #[serde(skip_serializing_if = "Option::is_none")] pub creation_time_after: Option<f64>, /// <p>A filter that returns only transform jobs created before the specified time.</p> #[serde(rename = "CreationTimeBefore")] #[serde(skip_serializing_if = "Option::is_none")] pub creation_time_before: Option<f64>, /// <p>A filter that returns only transform jobs modified after the specified time.</p> #[serde(rename = "LastModifiedTimeAfter")] #[serde(skip_serializing_if = "Option::is_none")] pub last_modified_time_after: Option<f64>, /// <p>A filter that returns only transform jobs modified before the specified time.</p> #[serde(rename = "LastModifiedTimeBefore")] #[serde(skip_serializing_if = "Option::is_none")] pub last_modified_time_before: Option<f64>, /// <p>The maximum number of transform jobs to return in the response. The default value is <code>10</code>.</p> #[serde(rename = "MaxResults")] #[serde(skip_serializing_if = "Option::is_none")] pub max_results: Option<i64>, /// <p>A string in the transform job name. This filter returns only transform jobs whose name contains the specified string.</p> #[serde(rename = "NameContains")] #[serde(skip_serializing_if = "Option::is_none")] pub name_contains: Option<String>, /// <p>If the result of the previous <code>ListTransformJobs</code> request was truncated, the response includes a <code>NextToken</code>. To retrieve the next set of transform jobs, use the token in the next request.</p> #[serde(rename = "NextToken")] #[serde(skip_serializing_if = "Option::is_none")] pub next_token: Option<String>, /// <p>The field to sort results by. The default is <code>CreationTime</code>.</p> #[serde(rename = "SortBy")] #[serde(skip_serializing_if = "Option::is_none")] pub sort_by: Option<String>, /// <p>The sort order for results. The default is <code>Descending</code>.</p> #[serde(rename = "SortOrder")] #[serde(skip_serializing_if = "Option::is_none")] pub sort_order: Option<String>, /// <p>A filter that retrieves only transform jobs with a specific status.</p> #[serde(rename = "StatusEquals")] #[serde(skip_serializing_if = "Option::is_none")] pub status_equals: Option<String>, } #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct ListTransformJobsResponse { /// <p>If the response is truncated, Amazon SageMaker returns this token. To retrieve the next set of transform jobs, use it in the next request.</p> #[serde(rename = "NextToken")] #[serde(skip_serializing_if = "Option::is_none")] pub next_token: Option<String>, /// <p>An array of <code>TransformJobSummary</code> objects.</p> #[serde(rename = "TransformJobSummaries")] pub transform_job_summaries: Vec<TransformJobSummary>, } #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct ListTrialComponentsRequest { /// <p>A filter that returns only components created after the specified time.</p> #[serde(rename = "CreatedAfter")] #[serde(skip_serializing_if = "Option::is_none")] pub created_after: Option<f64>, /// <p>A filter that returns only components created before the specified time.</p> #[serde(rename = "CreatedBefore")] #[serde(skip_serializing_if = "Option::is_none")] pub created_before: Option<f64>, /// <p>A filter that returns only components that are part of the specified experiment. If you specify <code>ExperimentName</code>, you can't filter by <code>SourceArn</code> or <code>TrialName</code>.</p> #[serde(rename = "ExperimentName")] #[serde(skip_serializing_if = "Option::is_none")] pub experiment_name: Option<String>, /// <p>The maximum number of components to return in the response. The default value is 10.</p> #[serde(rename = "MaxResults")] #[serde(skip_serializing_if = "Option::is_none")] pub max_results: Option<i64>, /// <p>If the previous call to <code>ListTrialComponents</code> didn't return the full set of components, the call returns a token for getting the next set of components.</p> #[serde(rename = "NextToken")] #[serde(skip_serializing_if = "Option::is_none")] pub next_token: Option<String>, /// <p>The property used to sort results. The default value is <code>CreationTime</code>.</p> #[serde(rename = "SortBy")] #[serde(skip_serializing_if = "Option::is_none")] pub sort_by: Option<String>, /// <p>The sort order. The default value is <code>Descending</code>.</p> #[serde(rename = "SortOrder")] #[serde(skip_serializing_if = "Option::is_none")] pub sort_order: Option<String>, /// <p>A filter that returns only components that have the specified source Amazon Resource Name (ARN). If you specify <code>SourceArn</code>, you can't filter by <code>ExperimentName</code> or <code>TrialName</code>.</p> #[serde(rename = "SourceArn")] #[serde(skip_serializing_if = "Option::is_none")] pub source_arn: Option<String>, /// <p>A filter that returns only components that are part of the specified trial. If you specify <code>TrialName</code>, you can't filter by <code>ExperimentName</code> or <code>SourceArn</code>.</p> #[serde(rename = "TrialName")] #[serde(skip_serializing_if = "Option::is_none")] pub trial_name: Option<String>, } #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct ListTrialComponentsResponse { /// <p>A token for getting the next set of components, if there are any.</p> #[serde(rename = "NextToken")] #[serde(skip_serializing_if = "Option::is_none")] pub next_token: Option<String>, /// <p>A list of the summaries of your trial components.</p> #[serde(rename = "TrialComponentSummaries")] #[serde(skip_serializing_if = "Option::is_none")] pub trial_component_summaries: Option<Vec<TrialComponentSummary>>, } #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct ListTrialsRequest { /// <p>A filter that returns only trials created after the specified time.</p> #[serde(rename = "CreatedAfter")] #[serde(skip_serializing_if = "Option::is_none")] pub created_after: Option<f64>, /// <p>A filter that returns only trials created before the specified time.</p> #[serde(rename = "CreatedBefore")] #[serde(skip_serializing_if = "Option::is_none")] pub created_before: Option<f64>, /// <p>A filter that returns only trials that are part of the specified experiment.</p> #[serde(rename = "ExperimentName")] #[serde(skip_serializing_if = "Option::is_none")] pub experiment_name: Option<String>, /// <p>The maximum number of trials to return in the response. The default value is 10.</p> #[serde(rename = "MaxResults")] #[serde(skip_serializing_if = "Option::is_none")] pub max_results: Option<i64>, /// <p>If the previous call to <code>ListTrials</code> didn't return the full set of trials, the call returns a token for getting the next set of trials.</p> #[serde(rename = "NextToken")] #[serde(skip_serializing_if = "Option::is_none")] pub next_token: Option<String>, /// <p>The property used to sort results. The default value is <code>CreationTime</code>.</p> #[serde(rename = "SortBy")] #[serde(skip_serializing_if = "Option::is_none")] pub sort_by: Option<String>, /// <p>The sort order. The default value is <code>Descending</code>.</p> #[serde(rename = "SortOrder")] #[serde(skip_serializing_if = "Option::is_none")] pub sort_order: Option<String>, /// <p>A filter that returns only trials that are associated with the specified trial component.</p> #[serde(rename = "TrialComponentName")] #[serde(skip_serializing_if = "Option::is_none")] pub trial_component_name: Option<String>, } #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct ListTrialsResponse { /// <p>A token for getting the next set of trials, if there are any.</p> #[serde(rename = "NextToken")] #[serde(skip_serializing_if = "Option::is_none")] pub next_token: Option<String>, /// <p>A list of the summaries of your trials.</p> #[serde(rename = "TrialSummaries")] #[serde(skip_serializing_if = "Option::is_none")] pub trial_summaries: Option<Vec<TrialSummary>>, } #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct ListUserProfilesRequest { /// <p>A parameter by which to filter the results.</p> #[serde(rename = "DomainIdEquals")] #[serde(skip_serializing_if = "Option::is_none")] pub domain_id_equals: Option<String>, /// <p>Returns a list up to a specified limit.</p> #[serde(rename = "MaxResults")] #[serde(skip_serializing_if = "Option::is_none")] pub max_results: Option<i64>, /// <p>If the previous response was truncated, you will receive this token. Use it in your next request to receive the next set of results.</p> #[serde(rename = "NextToken")] #[serde(skip_serializing_if = "Option::is_none")] pub next_token: Option<String>, /// <p>The parameter by which to sort the results. The default is CreationTime.</p> #[serde(rename = "SortBy")] #[serde(skip_serializing_if = "Option::is_none")] pub sort_by: Option<String>, /// <p>The sort order for the results. The default is Ascending.</p> #[serde(rename = "SortOrder")] #[serde(skip_serializing_if = "Option::is_none")] pub sort_order: Option<String>, /// <p>A parameter by which to filter the results.</p> #[serde(rename = "UserProfileNameContains")] #[serde(skip_serializing_if = "Option::is_none")] pub user_profile_name_contains: Option<String>, } #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct ListUserProfilesResponse { /// <p>If the previous response was truncated, you will receive this token. Use it in your next request to receive the next set of results.</p> #[serde(rename = "NextToken")] #[serde(skip_serializing_if = "Option::is_none")] pub next_token: Option<String>, /// <p>The list of user profiles.</p> #[serde(rename = "UserProfiles")] #[serde(skip_serializing_if = "Option::is_none")] pub user_profiles: Option<Vec<UserProfileDetails>>, } #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct ListWorkteamsRequest { /// <p>The maximum number of work teams to return in each page of the response.</p> #[serde(rename = "MaxResults")] #[serde(skip_serializing_if = "Option::is_none")] pub max_results: Option<i64>, /// <p>A string in the work team's name. This filter returns only work teams whose name contains the specified string.</p> #[serde(rename = "NameContains")] #[serde(skip_serializing_if = "Option::is_none")] pub name_contains: Option<String>, /// <p>If the result of the previous <code>ListWorkteams</code> request was truncated, the response includes a <code>NextToken</code>. To retrieve the next set of labeling jobs, use the token in the next request.</p> #[serde(rename = "NextToken")] #[serde(skip_serializing_if = "Option::is_none")] pub next_token: Option<String>, /// <p>The field to sort results by. The default is <code>CreationTime</code>.</p> #[serde(rename = "SortBy")] #[serde(skip_serializing_if = "Option::is_none")] pub sort_by: Option<String>, /// <p>The sort order for results. The default is <code>Ascending</code>.</p> #[serde(rename = "SortOrder")] #[serde(skip_serializing_if = "Option::is_none")] pub sort_order: Option<String>, } #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct ListWorkteamsResponse { /// <p>If the response is truncated, Amazon SageMaker returns this token. To retrieve the next set of work teams, use it in the subsequent request.</p> #[serde(rename = "NextToken")] #[serde(skip_serializing_if = "Option::is_none")] pub next_token: Option<String>, /// <p>An array of <code>Workteam</code> objects, each describing a work team.</p> #[serde(rename = "Workteams")] pub workteams: Vec<Workteam>, } /// <p>Defines the Amazon Cognito user group that is part of a work team.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq, Serialize)] pub struct MemberDefinition { /// <p>The Amazon Cognito user group that is part of the work team.</p> #[serde(rename = "CognitoMemberDefinition")] #[serde(skip_serializing_if = "Option::is_none")] pub cognito_member_definition: Option<CognitoMemberDefinition>, } /// <p>The name, value, and date and time of a metric that was emitted to Amazon CloudWatch.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct MetricData { /// <p>The name of the metric.</p> #[serde(rename = "MetricName")] #[serde(skip_serializing_if = "Option::is_none")] pub metric_name: Option<String>, /// <p>The date and time that the algorithm emitted the metric.</p> #[serde(rename = "Timestamp")] #[serde(skip_serializing_if = "Option::is_none")] pub timestamp: Option<f64>, /// <p>The value of the metric.</p> #[serde(rename = "Value")] #[serde(skip_serializing_if = "Option::is_none")] pub value: Option<f32>, } /// <p>Specifies a metric that the training algorithm writes to <code>stderr</code> or <code>stdout</code> . Amazon SageMakerhyperparameter tuning captures all defined metrics. You specify one metric that a hyperparameter tuning job uses as its objective metric to choose the best training job.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq, Serialize)] pub struct MetricDefinition { /// <p>The name of the metric.</p> #[serde(rename = "Name")] pub name: String, /// <p>A regular expression that searches the output of a training job and gets the value of the metric. For more information about using regular expressions to define metrics, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/automatic-model-tuning-define-metrics.html">Defining Objective Metrics</a>.</p> #[serde(rename = "Regex")] pub regex: String, } /// <p>Provides information about the location that is configured for storing model artifacts. </p> <p>Model artifacts are the output that results from training a model, and typically consist of trained parameters, a model defintion that desribes how to compute inferences, and other metadata.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct ModelArtifacts { /// <p>The path of the S3 object that contains the model artifacts. For example, <code>s3://bucket-name/keynameprefix/model.tar.gz</code>.</p> #[serde(rename = "S3ModelArtifacts")] pub s3_model_artifacts: String, } /// <p>Configures the timeout and maximum number of retries for processing a transform job invocation.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq, Serialize)] pub struct ModelClientConfig { /// <p>The maximum number of retries when invocation requests are failing.</p> #[serde(rename = "InvocationsMaxRetries")] #[serde(skip_serializing_if = "Option::is_none")] pub invocations_max_retries: Option<i64>, /// <p>The timeout value in seconds for an invocation request.</p> #[serde(rename = "InvocationsTimeoutInSeconds")] #[serde(skip_serializing_if = "Option::is_none")] pub invocations_timeout_in_seconds: Option<i64>, } /// <p>Describes the Docker container for the model package.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq, Serialize)] pub struct ModelPackageContainerDefinition { /// <p>The DNS host name for the Docker container.</p> #[serde(rename = "ContainerHostname")] #[serde(skip_serializing_if = "Option::is_none")] pub container_hostname: Option<String>, /// <p>The Amazon EC2 Container Registry (Amazon ECR) path where inference code is stored.</p> <p>If you are using your own custom algorithm instead of an algorithm provided by Amazon SageMaker, the inference code must meet Amazon SageMaker requirements. Amazon SageMaker supports both <code>registry/repository[:tag]</code> and <code>registry/repository[@digest]</code> image path formats. For more information, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/your-algorithms.html">Using Your Own Algorithms with Amazon SageMaker</a>.</p> #[serde(rename = "Image")] pub image: String, /// <p>An MD5 hash of the training algorithm that identifies the Docker image used for training.</p> #[serde(rename = "ImageDigest")] #[serde(skip_serializing_if = "Option::is_none")] pub image_digest: Option<String>, /// <p>The Amazon S3 path where the model artifacts, which result from model training, are stored. This path must point to a single <code>gzip</code> compressed tar archive (<code>.tar.gz</code> suffix).</p> #[serde(rename = "ModelDataUrl")] #[serde(skip_serializing_if = "Option::is_none")] pub model_data_url: Option<String>, /// <p>The AWS Marketplace product ID of the model package.</p> #[serde(rename = "ProductId")] #[serde(skip_serializing_if = "Option::is_none")] pub product_id: Option<String>, } /// <p>Specifies the validation and image scan statuses of the model package.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct ModelPackageStatusDetails { /// <p>The status of the scan of the Docker image container for the model package.</p> #[serde(rename = "ImageScanStatuses")] #[serde(skip_serializing_if = "Option::is_none")] pub image_scan_statuses: Option<Vec<ModelPackageStatusItem>>, /// <p>The validation status of the model package.</p> #[serde(rename = "ValidationStatuses")] pub validation_statuses: Vec<ModelPackageStatusItem>, } /// <p>Represents the overall status of a model package.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct ModelPackageStatusItem { /// <p>if the overall status is <code>Failed</code>, the reason for the failure.</p> #[serde(rename = "FailureReason")] #[serde(skip_serializing_if = "Option::is_none")] pub failure_reason: Option<String>, /// <p>The name of the model package for which the overall status is being reported.</p> #[serde(rename = "Name")] pub name: String, /// <p>The current status.</p> #[serde(rename = "Status")] pub status: String, } /// <p>Provides summary information about a model package.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct ModelPackageSummary { /// <p>A timestamp that shows when the model package was created.</p> #[serde(rename = "CreationTime")] pub creation_time: f64, /// <p>The Amazon Resource Name (ARN) of the model package.</p> #[serde(rename = "ModelPackageArn")] pub model_package_arn: String, /// <p>A brief description of the model package.</p> #[serde(rename = "ModelPackageDescription")] #[serde(skip_serializing_if = "Option::is_none")] pub model_package_description: Option<String>, /// <p>The name of the model package.</p> #[serde(rename = "ModelPackageName")] pub model_package_name: String, /// <p>The overall status of the model package.</p> #[serde(rename = "ModelPackageStatus")] pub model_package_status: String, } /// <p>Contains data, such as the inputs and targeted instance types that are used in the process of validating the model package.</p> <p>The data provided in the validation profile is made available to your buyers on AWS Marketplace.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq, Serialize)] pub struct ModelPackageValidationProfile { /// <p>The name of the profile for the model package.</p> #[serde(rename = "ProfileName")] pub profile_name: String, /// <p>The <code>TransformJobDefinition</code> object that describes the transform job used for the validation of the model package.</p> #[serde(rename = "TransformJobDefinition")] pub transform_job_definition: TransformJobDefinition, } /// <p>Specifies batch transform jobs that Amazon SageMaker runs to validate your model package.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq, Serialize)] pub struct ModelPackageValidationSpecification { /// <p>An array of <code>ModelPackageValidationProfile</code> objects, each of which specifies a batch transform job that Amazon SageMaker runs to validate your model package.</p> #[serde(rename = "ValidationProfiles")] pub validation_profiles: Vec<ModelPackageValidationProfile>, /// <p>The IAM roles to be used for the validation of the model package.</p> #[serde(rename = "ValidationRole")] pub validation_role: String, } /// <p>Provides summary information about a model.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct ModelSummary { /// <p>A timestamp that indicates when the model was created.</p> #[serde(rename = "CreationTime")] pub creation_time: f64, /// <p>The Amazon Resource Name (ARN) of the model.</p> #[serde(rename = "ModelArn")] pub model_arn: String, /// <p>The name of the model that you want a summary for.</p> #[serde(rename = "ModelName")] pub model_name: String, } /// <p>Container image configuration object for the monitoring job.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq, Serialize)] pub struct MonitoringAppSpecification { /// <p>An array of arguments for the container used to run the monitoring job.</p> #[serde(rename = "ContainerArguments")] #[serde(skip_serializing_if = "Option::is_none")] pub container_arguments: Option<Vec<String>>, /// <p>Specifies the entrypoint for a container used to run the monitoring job.</p> #[serde(rename = "ContainerEntrypoint")] #[serde(skip_serializing_if = "Option::is_none")] pub container_entrypoint: Option<Vec<String>>, /// <p>The container image to be run by the monitoring job.</p> #[serde(rename = "ImageUri")] pub image_uri: String, /// <p>An Amazon S3 URI to a script that is called after analysis has been performed. Applicable only for the built-in (first party) containers.</p> #[serde(rename = "PostAnalyticsProcessorSourceUri")] #[serde(skip_serializing_if = "Option::is_none")] pub post_analytics_processor_source_uri: Option<String>, /// <p>An Amazon S3 URI to a script that is called per row prior to running analysis. It can base64 decode the payload and convert it into a flatted json so that the built-in container can use the converted data. Applicable only for the built-in (first party) containers.</p> #[serde(rename = "RecordPreprocessorSourceUri")] #[serde(skip_serializing_if = "Option::is_none")] pub record_preprocessor_source_uri: Option<String>, } /// <p>Configuration for monitoring constraints and monitoring statistics. These baseline resources are compared against the results of the current job from the series of jobs scheduled to collect data periodically.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq, Serialize)] pub struct MonitoringBaselineConfig { /// <p>The baseline constraint file in Amazon S3 that the current monitoring job should validated against.</p> #[serde(rename = "ConstraintsResource")] #[serde(skip_serializing_if = "Option::is_none")] pub constraints_resource: Option<MonitoringConstraintsResource>, /// <p>The baseline statistics file in Amazon S3 that the current monitoring job should be validated against.</p> #[serde(rename = "StatisticsResource")] #[serde(skip_serializing_if = "Option::is_none")] pub statistics_resource: Option<MonitoringStatisticsResource>, } /// <p>Configuration for the cluster used to run model monitoring jobs.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq, Serialize)] pub struct MonitoringClusterConfig { /// <p>The number of ML compute instances to use in the model monitoring job. For distributed processing jobs, specify a value greater than 1. The default value is 1.</p> #[serde(rename = "InstanceCount")] pub instance_count: i64, /// <p>The ML compute instance type for the processing job.</p> #[serde(rename = "InstanceType")] pub instance_type: String, /// <p>The AWS Key Management Service (AWS KMS) key that Amazon SageMaker uses to encrypt data on the storage volume attached to the ML compute instance(s) that run the model monitoring job.</p> #[serde(rename = "VolumeKmsKeyId")] #[serde(skip_serializing_if = "Option::is_none")] pub volume_kms_key_id: Option<String>, /// <p>The size of the ML storage volume, in gigabytes, that you want to provision. You must specify sufficient ML storage for your scenario.</p> #[serde(rename = "VolumeSizeInGB")] pub volume_size_in_gb: i64, } /// <p>The constraints resource for a monitoring job.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq, Serialize)] pub struct MonitoringConstraintsResource { /// <p>The Amazon S3 URI for the constraints resource.</p> #[serde(rename = "S3Uri")] #[serde(skip_serializing_if = "Option::is_none")] pub s3_uri: Option<String>, } /// <p>Summary of information about the last monitoring job to run.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct MonitoringExecutionSummary { /// <p>The time at which the monitoring job was created.</p> #[serde(rename = "CreationTime")] pub creation_time: f64, /// <p>The name of teh endpoint used to run the monitoring job.</p> #[serde(rename = "EndpointName")] #[serde(skip_serializing_if = "Option::is_none")] pub endpoint_name: Option<String>, /// <p>Contains the reason a monitoring job failed, if it failed.</p> #[serde(rename = "FailureReason")] #[serde(skip_serializing_if = "Option::is_none")] pub failure_reason: Option<String>, /// <p>A timestamp that indicates the last time the monitoring job was modified.</p> #[serde(rename = "LastModifiedTime")] pub last_modified_time: f64, /// <p>The status of the monitoring job.</p> #[serde(rename = "MonitoringExecutionStatus")] pub monitoring_execution_status: String, /// <p>The name of the monitoring schedule.</p> #[serde(rename = "MonitoringScheduleName")] pub monitoring_schedule_name: String, /// <p>The Amazon Resource Name (ARN) of the monitoring job.</p> #[serde(rename = "ProcessingJobArn")] #[serde(skip_serializing_if = "Option::is_none")] pub processing_job_arn: Option<String>, /// <p>The time the monitoring job was scheduled.</p> #[serde(rename = "ScheduledTime")] pub scheduled_time: f64, } /// <p>The inputs for a monitoring job.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq, Serialize)] pub struct MonitoringInput { /// <p>The endpoint for a monitoring job.</p> #[serde(rename = "EndpointInput")] pub endpoint_input: EndpointInput, } /// <p>Defines the monitoring job.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq, Serialize)] pub struct MonitoringJobDefinition { /// <p>Baseline configuration used to validate that the data conforms to the specified constraints and statistics</p> #[serde(rename = "BaselineConfig")] #[serde(skip_serializing_if = "Option::is_none")] pub baseline_config: Option<MonitoringBaselineConfig>, /// <p>Sets the environment variables in the Docker container.</p> #[serde(rename = "Environment")] #[serde(skip_serializing_if = "Option::is_none")] pub environment: Option<::std::collections::HashMap<String, String>>, /// <p>Configures the monitoring job to run a specified Docker container image.</p> #[serde(rename = "MonitoringAppSpecification")] pub monitoring_app_specification: MonitoringAppSpecification, /// <p>The array of inputs for the monitoring job. Currently we support monitoring an Amazon SageMaker Endpoint.</p> #[serde(rename = "MonitoringInputs")] pub monitoring_inputs: Vec<MonitoringInput>, /// <p>The array of outputs from the monitoring job to be uploaded to Amazon Simple Storage Service (Amazon S3).</p> #[serde(rename = "MonitoringOutputConfig")] pub monitoring_output_config: MonitoringOutputConfig, /// <p>Identifies the resources, ML compute instances, and ML storage volumes to deploy for a monitoring job. In distributed processing, you specify more than one instance.</p> #[serde(rename = "MonitoringResources")] pub monitoring_resources: MonitoringResources, /// <p>Specifies networking options for an monitoring job.</p> #[serde(rename = "NetworkConfig")] #[serde(skip_serializing_if = "Option::is_none")] pub network_config: Option<NetworkConfig>, /// <p>The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker can assume to perform tasks on your behalf.</p> #[serde(rename = "RoleArn")] pub role_arn: String, /// <p>Specifies a time limit for how long the monitoring job is allowed to run.</p> #[serde(rename = "StoppingCondition")] #[serde(skip_serializing_if = "Option::is_none")] pub stopping_condition: Option<MonitoringStoppingCondition>, } /// <p>The output object for a monitoring job.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq, Serialize)] pub struct MonitoringOutput { /// <p>The Amazon S3 storage location where the results of a monitoring job are saved.</p> #[serde(rename = "S3Output")] pub s3_output: MonitoringS3Output, } /// <p>The output configuration for monitoring jobs.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq, Serialize)] pub struct MonitoringOutputConfig { /// <p>The AWS Key Management Service (AWS KMS) key that Amazon SageMaker uses to encrypt the model artifacts at rest using Amazon S3 server-side encryption.</p> #[serde(rename = "KmsKeyId")] #[serde(skip_serializing_if = "Option::is_none")] pub kms_key_id: Option<String>, /// <p>Monitoring outputs for monitoring jobs. This is where the output of the periodic monitoring jobs is uploaded.</p> #[serde(rename = "MonitoringOutputs")] pub monitoring_outputs: Vec<MonitoringOutput>, } /// <p>Identifies the resources to deploy for a monitoring job.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq, Serialize)] pub struct MonitoringResources { /// <p>The configuration for the cluster resources used to run the processing job.</p> #[serde(rename = "ClusterConfig")] pub cluster_config: MonitoringClusterConfig, } /// <p>Information about where and how you want to store the results of a monitoring job.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq, Serialize)] pub struct MonitoringS3Output { /// <p>The local path to the Amazon S3 storage location where Amazon SageMaker saves the results of a monitoring job. LocalPath is an absolute path for the output data.</p> #[serde(rename = "LocalPath")] pub local_path: String, /// <p>Whether to upload the results of the monitoring job continuously or after the job completes.</p> #[serde(rename = "S3UploadMode")] #[serde(skip_serializing_if = "Option::is_none")] pub s3_upload_mode: Option<String>, /// <p>A URI that identifies the Amazon S3 storage location where Amazon SageMaker saves the results of a monitoring job.</p> #[serde(rename = "S3Uri")] pub s3_uri: String, } /// <p>Configures the monitoring schedule and defines the monitoring job.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq, Serialize)] pub struct MonitoringScheduleConfig { /// <p>Defines the monitoring job.</p> #[serde(rename = "MonitoringJobDefinition")] pub monitoring_job_definition: MonitoringJobDefinition, /// <p>Configures the monitoring schedule.</p> #[serde(rename = "ScheduleConfig")] #[serde(skip_serializing_if = "Option::is_none")] pub schedule_config: Option<ScheduleConfig>, } /// <p>Summarizes the monitoring schedule.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct MonitoringScheduleSummary { /// <p>The creation time of the monitoring schedule.</p> #[serde(rename = "CreationTime")] pub creation_time: f64, /// <p>The name of the endpoint using the monitoring schedule.</p> #[serde(rename = "EndpointName")] #[serde(skip_serializing_if = "Option::is_none")] pub endpoint_name: Option<String>, /// <p>The last time the monitoring schedule was modified.</p> #[serde(rename = "LastModifiedTime")] pub last_modified_time: f64, /// <p>The Amazon Resource Name (ARN) of the monitoring schedule.</p> #[serde(rename = "MonitoringScheduleArn")] pub monitoring_schedule_arn: String, /// <p>The name of the monitoring schedule.</p> #[serde(rename = "MonitoringScheduleName")] pub monitoring_schedule_name: String, /// <p>The status of the monitoring schedule.</p> #[serde(rename = "MonitoringScheduleStatus")] pub monitoring_schedule_status: String, } /// <p>The statistics resource for a monitoring job.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq, Serialize)] pub struct MonitoringStatisticsResource { /// <p>The Amazon S3 URI for the statistics resource.</p> #[serde(rename = "S3Uri")] #[serde(skip_serializing_if = "Option::is_none")] pub s3_uri: Option<String>, } /// <p>A time limit for how long the monitoring job is allowed to run before stopping.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq, Serialize)] pub struct MonitoringStoppingCondition { /// <p>The maximum runtime allowed in seconds.</p> #[serde(rename = "MaxRuntimeInSeconds")] pub max_runtime_in_seconds: i64, } /// <p><p>A list of nested <a>Filter</a> objects. A resource must satisfy the conditions of all filters to be included in the results returned from the <a>Search</a> API.</p> <p>For example, to filter on a training job's <code>InputDataConfig</code> property with a specific channel name and <code>S3Uri</code> prefix, define the following filters:</p> <ul> <li> <p> <code>'{Name:"InputDataConfig.ChannelName", "Operator":"Equals", "Value":"train"}',</code> </p> </li> <li> <p> <code>'{Name:"InputDataConfig.DataSource.S3DataSource.S3Uri", "Operator":"Contains", "Value":"mybucket/catdata"}'</code> </p> </li> </ul></p> #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct NestedFilters { /// <p>A list of filters. Each filter acts on a property. Filters must contain at least one <code>Filters</code> value. For example, a <code>NestedFilters</code> call might include a filter on the <code>PropertyName</code> parameter of the <code>InputDataConfig</code> property: <code>InputDataConfig.DataSource.S3DataSource.S3Uri</code>.</p> #[serde(rename = "Filters")] pub filters: Vec<Filter>, /// <p>The name of the property to use in the nested filters. The value must match a listed property name, such as <code>InputDataConfig</code>.</p> #[serde(rename = "NestedPropertyName")] pub nested_property_name: String, } /// <p>Networking options for a job, such as network traffic encryption between containers, whether to allow inbound and outbound network calls to and from containers, and the VPC subnets and security groups to use for VPC-enabled jobs.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq, Serialize)] pub struct NetworkConfig { /// <p>Whether to encrypt all communications between distributed processing jobs. Choose <code>True</code> to encrypt communications. Encryption provides greater security for distributed processing jobs, but the processing might take longer.</p> #[serde(rename = "EnableInterContainerTrafficEncryption")] #[serde(skip_serializing_if = "Option::is_none")] pub enable_inter_container_traffic_encryption: Option<bool>, /// <p>Whether to allow inbound and outbound network calls to and from the containers used for the processing job.</p> #[serde(rename = "EnableNetworkIsolation")] #[serde(skip_serializing_if = "Option::is_none")] pub enable_network_isolation: Option<bool>, #[serde(rename = "VpcConfig")] #[serde(skip_serializing_if = "Option::is_none")] pub vpc_config: Option<VpcConfig>, } /// <p>Provides a summary of a notebook instance lifecycle configuration.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct NotebookInstanceLifecycleConfigSummary { /// <p>A timestamp that tells when the lifecycle configuration was created.</p> #[serde(rename = "CreationTime")] #[serde(skip_serializing_if = "Option::is_none")] pub creation_time: Option<f64>, /// <p>A timestamp that tells when the lifecycle configuration was last modified.</p> #[serde(rename = "LastModifiedTime")] #[serde(skip_serializing_if = "Option::is_none")] pub last_modified_time: Option<f64>, /// <p>The Amazon Resource Name (ARN) of the lifecycle configuration.</p> #[serde(rename = "NotebookInstanceLifecycleConfigArn")] pub notebook_instance_lifecycle_config_arn: String, /// <p>The name of the lifecycle configuration.</p> #[serde(rename = "NotebookInstanceLifecycleConfigName")] pub notebook_instance_lifecycle_config_name: String, } /// <p>Contains the notebook instance lifecycle configuration script.</p> <p>Each lifecycle configuration script has a limit of 16384 characters.</p> <p>The value of the <code>$PATH</code> environment variable that is available to both scripts is <code>/sbin:bin:/usr/sbin:/usr/bin</code>.</p> <p>View CloudWatch Logs for notebook instance lifecycle configurations in log group <code>/aws/sagemaker/NotebookInstances</code> in log stream <code>[notebook-instance-name]/[LifecycleConfigHook]</code>.</p> <p>Lifecycle configuration scripts cannot run for longer than 5 minutes. If a script runs for longer than 5 minutes, it fails and the notebook instance is not created or started.</p> <p>For information about notebook instance lifestyle configurations, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/notebook-lifecycle-config.html">Step 2.1: (Optional) Customize a Notebook Instance</a>.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq, Serialize)] pub struct NotebookInstanceLifecycleHook { /// <p>A base64-encoded string that contains a shell script for a notebook instance lifecycle configuration.</p> #[serde(rename = "Content")] #[serde(skip_serializing_if = "Option::is_none")] pub content: Option<String>, } /// <p>Provides summary information for an Amazon SageMaker notebook instance.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct NotebookInstanceSummary { /// <p>An array of up to three Git repositories associated with the notebook instance. These can be either the names of Git repositories stored as resources in your account, or the URL of Git repositories in <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html">AWS CodeCommit</a> or in any other Git repository. These repositories are cloned at the same level as the default repository of your notebook instance. For more information, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/nbi-git-repo.html">Associating Git Repositories with Amazon SageMaker Notebook Instances</a>.</p> #[serde(rename = "AdditionalCodeRepositories")] #[serde(skip_serializing_if = "Option::is_none")] pub additional_code_repositories: Option<Vec<String>>, /// <p>A timestamp that shows when the notebook instance was created.</p> #[serde(rename = "CreationTime")] #[serde(skip_serializing_if = "Option::is_none")] pub creation_time: Option<f64>, /// <p>The Git repository associated with the notebook instance as its default code repository. This can be either the name of a Git repository stored as a resource in your account, or the URL of a Git repository in <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html">AWS CodeCommit</a> or in any other Git repository. When you open a notebook instance, it opens in the directory that contains this repository. For more information, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/nbi-git-repo.html">Associating Git Repositories with Amazon SageMaker Notebook Instances</a>.</p> #[serde(rename = "DefaultCodeRepository")] #[serde(skip_serializing_if = "Option::is_none")] pub default_code_repository: Option<String>, /// <p>The type of ML compute instance that the notebook instance is running on.</p> #[serde(rename = "InstanceType")] #[serde(skip_serializing_if = "Option::is_none")] pub instance_type: Option<String>, /// <p>A timestamp that shows when the notebook instance was last modified.</p> #[serde(rename = "LastModifiedTime")] #[serde(skip_serializing_if = "Option::is_none")] pub last_modified_time: Option<f64>, /// <p>The Amazon Resource Name (ARN) of the notebook instance.</p> #[serde(rename = "NotebookInstanceArn")] pub notebook_instance_arn: String, /// <p>The name of a notebook instance lifecycle configuration associated with this notebook instance.</p> <p>For information about notebook instance lifestyle configurations, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/notebook-lifecycle-config.html">Step 2.1: (Optional) Customize a Notebook Instance</a>.</p> #[serde(rename = "NotebookInstanceLifecycleConfigName")] #[serde(skip_serializing_if = "Option::is_none")] pub notebook_instance_lifecycle_config_name: Option<String>, /// <p>The name of the notebook instance that you want a summary for.</p> #[serde(rename = "NotebookInstanceName")] pub notebook_instance_name: String, /// <p>The status of the notebook instance.</p> #[serde(rename = "NotebookInstanceStatus")] #[serde(skip_serializing_if = "Option::is_none")] pub notebook_instance_status: Option<String>, /// <p>The URL that you use to connect to the Jupyter instance running in your notebook instance. </p> #[serde(rename = "Url")] #[serde(skip_serializing_if = "Option::is_none")] pub url: Option<String>, } /// <p>Configures SNS notifications of available or expiring work items for work teams.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq, Serialize)] pub struct NotificationConfiguration { /// <p>The ARN for the SNS topic to which notifications should be published.</p> #[serde(rename = "NotificationTopicArn")] #[serde(skip_serializing_if = "Option::is_none")] pub notification_topic_arn: Option<String>, } /// <p>Specifies the number of training jobs that this hyperparameter tuning job launched, categorized by the status of their objective metric. The objective metric status shows whether the final objective metric for the training job has been evaluated by the tuning job and used in the hyperparameter tuning process.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct ObjectiveStatusCounters { /// <p>The number of training jobs whose final objective metric was not evaluated and used in the hyperparameter tuning process. This typically occurs when the training job failed or did not emit an objective metric.</p> #[serde(rename = "Failed")] #[serde(skip_serializing_if = "Option::is_none")] pub failed: Option<i64>, /// <p>The number of training jobs that are in progress and pending evaluation of their final objective metric.</p> #[serde(rename = "Pending")] #[serde(skip_serializing_if = "Option::is_none")] pub pending: Option<i64>, /// <p>The number of training jobs whose final objective metric was evaluated by the hyperparameter tuning job and used in the hyperparameter tuning process.</p> #[serde(rename = "Succeeded")] #[serde(skip_serializing_if = "Option::is_none")] pub succeeded: Option<i64>, } /// <p>Contains information about the output location for the compiled model and the device (target) that the model runs on.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq, Serialize)] pub struct OutputConfig { /// <p>Identifies the S3 path where you want Amazon SageMaker to store the model artifacts. For example, s3://bucket-name/key-name-prefix.</p> #[serde(rename = "S3OutputLocation")] pub s3_output_location: String, /// <p>Identifies the device that you want to run your model on after it has been compiled. For example: ml_c5.</p> #[serde(rename = "TargetDevice")] pub target_device: String, } /// <p>Provides information about how to store model training results (model artifacts).</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq, Serialize)] pub struct OutputDataConfig { /// <p>The AWS Key Management Service (AWS KMS) key that Amazon SageMaker uses to encrypt the model artifacts at rest using Amazon S3 server-side encryption. The <code>KmsKeyId</code> can be any of the following formats: </p> <ul> <li> <p>// KMS Key ID</p> <p> <code>"1234abcd-12ab-34cd-56ef-1234567890ab"</code> </p> </li> <li> <p>// Amazon Resource Name (ARN) of a KMS Key</p> <p> <code>"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"</code> </p> </li> <li> <p>// KMS Key Alias</p> <p> <code>"alias/ExampleAlias"</code> </p> </li> <li> <p>// Amazon Resource Name (ARN) of a KMS Key Alias</p> <p> <code>"arn:aws:kms:us-west-2:111122223333:alias/ExampleAlias"</code> </p> </li> </ul> <p>If you use a KMS key ID or an alias of your master key, the Amazon SageMaker execution role must include permissions to call <code>kms:Encrypt</code>. If you don't provide a KMS key ID, Amazon SageMaker uses the default KMS key for Amazon S3 for your role's account. Amazon SageMaker uses server-side encryption with KMS-managed keys for <code>OutputDataConfig</code>. If you use a bucket policy with an <code>s3:PutObject</code> permission that only allows objects with server-side encryption, set the condition key of <code>s3:x-amz-server-side-encryption</code> to <code>"aws:kms"</code>. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingKMSEncryption.html">KMS-Managed Encryption Keys</a> in the <i>Amazon Simple Storage Service Developer Guide.</i> </p> <p>The KMS key policy must grant permission to the IAM role that you specify in your <code>CreateTrainingJob</code>, <code>CreateTransformJob</code>, or <code>CreateHyperParameterTuningJob</code> requests. For more information, see <a href="http://docs.aws.amazon.com/kms/latest/developerguide/key-policies.html">Using Key Policies in AWS KMS</a> in the <i>AWS Key Management Service Developer Guide</i>.</p> #[serde(rename = "KmsKeyId")] #[serde(skip_serializing_if = "Option::is_none")] pub kms_key_id: Option<String>, /// <p>Identifies the S3 path where you want Amazon SageMaker to store the model artifacts. For example, <code>s3://bucket-name/key-name-prefix</code>. </p> #[serde(rename = "S3OutputPath")] pub s3_output_path: String, } /// <p>Defines the possible values for categorical, continuous, and integer hyperparameters to be used by an algorithm.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq, Serialize)] pub struct ParameterRange { /// <p>A <code>CategoricalParameterRangeSpecification</code> object that defines the possible values for a categorical hyperparameter.</p> #[serde(rename = "CategoricalParameterRangeSpecification")] #[serde(skip_serializing_if = "Option::is_none")] pub categorical_parameter_range_specification: Option<CategoricalParameterRangeSpecification>, /// <p>A <code>ContinuousParameterRangeSpecification</code> object that defines the possible values for a continuous hyperparameter.</p> #[serde(rename = "ContinuousParameterRangeSpecification")] #[serde(skip_serializing_if = "Option::is_none")] pub continuous_parameter_range_specification: Option<ContinuousParameterRangeSpecification>, /// <p>A <code>IntegerParameterRangeSpecification</code> object that defines the possible values for an integer hyperparameter.</p> #[serde(rename = "IntegerParameterRangeSpecification")] #[serde(skip_serializing_if = "Option::is_none")] pub integer_parameter_range_specification: Option<IntegerParameterRangeSpecification>, } /// <p><p>Specifies ranges of integer, continuous, and categorical hyperparameters that a hyperparameter tuning job searches. The hyperparameter tuning job launches training jobs with hyperparameter values within these ranges to find the combination of values that result in the training job with the best performance as measured by the objective metric of the hyperparameter tuning job.</p> <note> <p>You can specify a maximum of 20 hyperparameters that a hyperparameter tuning job can search over. Every possible value of a categorical parameter range counts against this limit.</p> </note></p> #[derive(Clone, Debug, Default, Deserialize, PartialEq, Serialize)] pub struct ParameterRanges { /// <p>The array of <a>CategoricalParameterRange</a> objects that specify ranges of categorical hyperparameters that a hyperparameter tuning job searches.</p> #[serde(rename = "CategoricalParameterRanges")] #[serde(skip_serializing_if = "Option::is_none")] pub categorical_parameter_ranges: Option<Vec<CategoricalParameterRange>>, /// <p>The array of <a>ContinuousParameterRange</a> objects that specify ranges of continuous hyperparameters that a hyperparameter tuning job searches.</p> #[serde(rename = "ContinuousParameterRanges")] #[serde(skip_serializing_if = "Option::is_none")] pub continuous_parameter_ranges: Option<Vec<ContinuousParameterRange>>, /// <p>The array of <a>IntegerParameterRange</a> objects that specify ranges of integer hyperparameters that a hyperparameter tuning job searches.</p> #[serde(rename = "IntegerParameterRanges")] #[serde(skip_serializing_if = "Option::is_none")] pub integer_parameter_ranges: Option<Vec<IntegerParameterRange>>, } /// <p>The trial that a trial component is associated with and the experiment the trial is part of. A component might not be associated with a trial. A component can be associated with multiple trials.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct Parent { /// <p>The name of the experiment.</p> #[serde(rename = "ExperimentName")] #[serde(skip_serializing_if = "Option::is_none")] pub experiment_name: Option<String>, /// <p>The name of the trial.</p> #[serde(rename = "TrialName")] #[serde(skip_serializing_if = "Option::is_none")] pub trial_name: Option<String>, } /// <p>A previously completed or stopped hyperparameter tuning job to be used as a starting point for a new hyperparameter tuning job.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq, Serialize)] pub struct ParentHyperParameterTuningJob { /// <p>The name of the hyperparameter tuning job to be used as a starting point for a new hyperparameter tuning job.</p> #[serde(rename = "HyperParameterTuningJobName")] #[serde(skip_serializing_if = "Option::is_none")] pub hyper_parameter_tuning_job_name: Option<String>, } /// <p>Configuration for the cluster used to run a processing job.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq, Serialize)] pub struct ProcessingClusterConfig { /// <p>The number of ML compute instances to use in the processing job. For distributed processing jobs, specify a value greater than 1. The default value is 1.</p> #[serde(rename = "InstanceCount")] pub instance_count: i64, /// <p>The ML compute instance type for the processing job.</p> #[serde(rename = "InstanceType")] pub instance_type: String, /// <p>The AWS Key Management Service (AWS KMS) key that Amazon SageMaker uses to encrypt data on the storage volume attached to the ML compute instance(s) that run the processing job. </p> #[serde(rename = "VolumeKmsKeyId")] #[serde(skip_serializing_if = "Option::is_none")] pub volume_kms_key_id: Option<String>, /// <p>The size of the ML storage volume in gigabytes that you want to provision. You must specify sufficient ML storage for your scenario.</p> #[serde(rename = "VolumeSizeInGB")] pub volume_size_in_gb: i64, } /// <p>The inputs for a processing job.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq, Serialize)] pub struct ProcessingInput { /// <p>The name of the inputs for the processing job.</p> #[serde(rename = "InputName")] pub input_name: String, /// <p>The S3 inputs for the processing job. </p> #[serde(rename = "S3Input")] pub s3_input: ProcessingS3Input, } /// <p>An Amazon SageMaker processing job that is used to analyze data and evaluate models. For more information, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/processing-job.html">Process Data and Evaluate Models</a>.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct ProcessingJob { #[serde(rename = "AppSpecification")] #[serde(skip_serializing_if = "Option::is_none")] pub app_specification: Option<AppSpecification>, /// <p>The Amazon Resource Name (ARN) of the AutoML job associated with this processing job.</p> #[serde(rename = "AutoMLJobArn")] #[serde(skip_serializing_if = "Option::is_none")] pub auto_ml_job_arn: Option<String>, /// <p>The time the processing job was created.</p> #[serde(rename = "CreationTime")] #[serde(skip_serializing_if = "Option::is_none")] pub creation_time: Option<f64>, /// <p>Sets the environment variables in the Docker container.</p> #[serde(rename = "Environment")] #[serde(skip_serializing_if = "Option::is_none")] pub environment: Option<::std::collections::HashMap<String, String>>, /// <p>A string, up to one KB in size, that contains metadata from the processing container when the processing job exits.</p> #[serde(rename = "ExitMessage")] #[serde(skip_serializing_if = "Option::is_none")] pub exit_message: Option<String>, #[serde(rename = "ExperimentConfig")] #[serde(skip_serializing_if = "Option::is_none")] pub experiment_config: Option<ExperimentConfig>, /// <p>A string, up to one KB in size, that contains the reason a processing job failed, if it failed.</p> #[serde(rename = "FailureReason")] #[serde(skip_serializing_if = "Option::is_none")] pub failure_reason: Option<String>, /// <p>The time the processing job was last modified.</p> #[serde(rename = "LastModifiedTime")] #[serde(skip_serializing_if = "Option::is_none")] pub last_modified_time: Option<f64>, /// <p>The ARN of a monitoring schedule for an endpoint associated with this processing job.</p> #[serde(rename = "MonitoringScheduleArn")] #[serde(skip_serializing_if = "Option::is_none")] pub monitoring_schedule_arn: Option<String>, #[serde(rename = "NetworkConfig")] #[serde(skip_serializing_if = "Option::is_none")] pub network_config: Option<NetworkConfig>, /// <p>The time that the processing job ended.</p> #[serde(rename = "ProcessingEndTime")] #[serde(skip_serializing_if = "Option::is_none")] pub processing_end_time: Option<f64>, /// <p>For each input, data is downloaded from S3 into the processing container before the processing job begins running if "S3InputMode" is set to <code>File</code>.</p> #[serde(rename = "ProcessingInputs")] #[serde(skip_serializing_if = "Option::is_none")] pub processing_inputs: Option<Vec<ProcessingInput>>, /// <p>The ARN of the processing job.</p> #[serde(rename = "ProcessingJobArn")] #[serde(skip_serializing_if = "Option::is_none")] pub processing_job_arn: Option<String>, /// <p>The name of the processing job.</p> #[serde(rename = "ProcessingJobName")] #[serde(skip_serializing_if = "Option::is_none")] pub processing_job_name: Option<String>, /// <p>The status of the processing job.</p> #[serde(rename = "ProcessingJobStatus")] #[serde(skip_serializing_if = "Option::is_none")] pub processing_job_status: Option<String>, #[serde(rename = "ProcessingOutputConfig")] #[serde(skip_serializing_if = "Option::is_none")] pub processing_output_config: Option<ProcessingOutputConfig>, #[serde(rename = "ProcessingResources")] #[serde(skip_serializing_if = "Option::is_none")] pub processing_resources: Option<ProcessingResources>, /// <p>The time that the processing job started.</p> #[serde(rename = "ProcessingStartTime")] #[serde(skip_serializing_if = "Option::is_none")] pub processing_start_time: Option<f64>, /// <p>The ARN of the role used to create the processing job.</p> #[serde(rename = "RoleArn")] #[serde(skip_serializing_if = "Option::is_none")] pub role_arn: Option<String>, #[serde(rename = "StoppingCondition")] #[serde(skip_serializing_if = "Option::is_none")] pub stopping_condition: Option<ProcessingStoppingCondition>, /// <p>An array of key-value pairs. For more information, see <a href="https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html#allocation-whatURL">Using Cost Allocation Tags</a> in the <i>AWS Billing and Cost Management User Guide</i>.</p> #[serde(rename = "Tags")] #[serde(skip_serializing_if = "Option::is_none")] pub tags: Option<Vec<Tag>>, /// <p>The ARN of the training job associated with this processing job.</p> #[serde(rename = "TrainingJobArn")] #[serde(skip_serializing_if = "Option::is_none")] pub training_job_arn: Option<String>, } /// <p>Summary of information about a processing job.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct ProcessingJobSummary { /// <p>The time at which the processing job was created.</p> #[serde(rename = "CreationTime")] pub creation_time: f64, /// <p>An optional string, up to one KB in size, that contains metadata from the processing container when the processing job exits.</p> #[serde(rename = "ExitMessage")] #[serde(skip_serializing_if = "Option::is_none")] pub exit_message: Option<String>, /// <p>A string, up to one KB in size, that contains the reason a processing job failed, if it failed.</p> #[serde(rename = "FailureReason")] #[serde(skip_serializing_if = "Option::is_none")] pub failure_reason: Option<String>, /// <p>A timestamp that indicates the last time the processing job was modified.</p> #[serde(rename = "LastModifiedTime")] #[serde(skip_serializing_if = "Option::is_none")] pub last_modified_time: Option<f64>, /// <p>The time at which the processing job completed.</p> #[serde(rename = "ProcessingEndTime")] #[serde(skip_serializing_if = "Option::is_none")] pub processing_end_time: Option<f64>, /// <p>The Amazon Resource Name (ARN) of the processing job..</p> #[serde(rename = "ProcessingJobArn")] pub processing_job_arn: String, /// <p>The name of the processing job.</p> #[serde(rename = "ProcessingJobName")] pub processing_job_name: String, /// <p>The status of the processing job.</p> #[serde(rename = "ProcessingJobStatus")] pub processing_job_status: String, } /// <p>Describes the results of a processing job.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq, Serialize)] pub struct ProcessingOutput { /// <p>The name for the processing job output.</p> #[serde(rename = "OutputName")] pub output_name: String, /// <p>Configuration for processing job outputs in Amazon S3.</p> #[serde(rename = "S3Output")] pub s3_output: ProcessingS3Output, } /// <p>The output configuration for the processing job.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq, Serialize)] pub struct ProcessingOutputConfig { /// <p>The AWS Key Management Service (AWS KMS) key that Amazon SageMaker uses to encrypt the processing job output. <code>KmsKeyId</code> can be an ID of a KMS key, ARN of a KMS key, alias of a KMS key, or alias of a KMS key. The <code>KmsKeyId</code> is applied to all outputs.</p> #[serde(rename = "KmsKeyId")] #[serde(skip_serializing_if = "Option::is_none")] pub kms_key_id: Option<String>, /// <p>Output configuration information for a processing job.</p> #[serde(rename = "Outputs")] pub outputs: Vec<ProcessingOutput>, } /// <p>Identifies the resources, ML compute instances, and ML storage volumes to deploy for a processing job. In distributed training, you specify more than one instance.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq, Serialize)] pub struct ProcessingResources { /// <p>The configuration for the resources in a cluster used to run the processing job.</p> #[serde(rename = "ClusterConfig")] pub cluster_config: ProcessingClusterConfig, } /// <p>Information about where and how you want to obtain the inputs for an processing job.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq, Serialize)] pub struct ProcessingS3Input { /// <p>The local path to the Amazon S3 bucket where you want Amazon SageMaker to download the inputs to run a processing job. <code>LocalPath</code> is an absolute path to the input data.</p> #[serde(rename = "LocalPath")] pub local_path: String, /// <p>Whether to use <code>Gzip</code> compression for Amazon S3 storage.</p> #[serde(rename = "S3CompressionType")] #[serde(skip_serializing_if = "Option::is_none")] pub s3_compression_type: Option<String>, /// <p>Whether the data stored in Amazon S3 is <code>FullyReplicated</code> or <code>ShardedByS3Key</code>.</p> #[serde(rename = "S3DataDistributionType")] #[serde(skip_serializing_if = "Option::is_none")] pub s3_data_distribution_type: Option<String>, /// <p>Whether you use an <code>S3Prefix</code> or a <code>ManifestFile</code> for the data type. If you choose <code>S3Prefix</code>, <code>S3Uri</code> identifies a key name prefix. Amazon SageMaker uses all objects with the specified key name prefix for the processing job. If you choose <code>ManifestFile</code>, <code>S3Uri</code> identifies an object that is a manifest file containing a list of object keys that you want Amazon SageMaker to use for the processing job.</p> #[serde(rename = "S3DataType")] pub s3_data_type: String, /// <p>Whether to use <code>File</code> or <code>Pipe</code> input mode. In <code>File</code> mode, Amazon SageMaker copies the data from the input source onto the local Amazon Elastic Block Store (Amazon EBS) volumes before starting your training algorithm. This is the most commonly used input mode. In <code>Pipe</code> mode, Amazon SageMaker streams input data from the source directly to your algorithm without using the EBS volume.</p> #[serde(rename = "S3InputMode")] pub s3_input_mode: String, /// <p>The URI for the Amazon S3 storage where you want Amazon SageMaker to download the artifacts needed to run a processing job.</p> #[serde(rename = "S3Uri")] pub s3_uri: String, } /// <p>Information about where and how you want to store the results of an processing job.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq, Serialize)] pub struct ProcessingS3Output { /// <p>The local path to the Amazon S3 bucket where you want Amazon SageMaker to save the results of an processing job. <code>LocalPath</code> is an absolute path to the input data.</p> #[serde(rename = "LocalPath")] pub local_path: String, /// <p>Whether to upload the results of the processing job continuously or after the job completes.</p> #[serde(rename = "S3UploadMode")] pub s3_upload_mode: String, /// <p>A URI that identifies the Amazon S3 bucket where you want Amazon SageMaker to save the results of a processing job.</p> #[serde(rename = "S3Uri")] pub s3_uri: String, } /// <p>Specifies a time limit for how long the processing job is allowed to run.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq, Serialize)] pub struct ProcessingStoppingCondition { /// <p>Specifies the maximum runtime in seconds.</p> #[serde(rename = "MaxRuntimeInSeconds")] pub max_runtime_in_seconds: i64, } /// <p>Identifies a model that you want to host and the resources to deploy for hosting it. If you are deploying multiple models, tell Amazon SageMaker how to distribute traffic among the models by specifying variant weights. </p> #[derive(Clone, Debug, Default, Deserialize, PartialEq, Serialize)] pub struct ProductionVariant { /// <p>The size of the Elastic Inference (EI) instance to use for the production variant. EI instances provide on-demand GPU computing for inference. For more information, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/ei.html">Using Elastic Inference in Amazon SageMaker</a>.</p> #[serde(rename = "AcceleratorType")] #[serde(skip_serializing_if = "Option::is_none")] pub accelerator_type: Option<String>, /// <p>Number of instances to launch initially.</p> #[serde(rename = "InitialInstanceCount")] pub initial_instance_count: i64, /// <p>Determines initial traffic distribution among all of the models that you specify in the endpoint configuration. The traffic to a production variant is determined by the ratio of the <code>VariantWeight</code> to the sum of all <code>VariantWeight</code> values across all ProductionVariants. If unspecified, it defaults to 1.0. </p> #[serde(rename = "InitialVariantWeight")] #[serde(skip_serializing_if = "Option::is_none")] pub initial_variant_weight: Option<f32>, /// <p>The ML compute instance type.</p> #[serde(rename = "InstanceType")] pub instance_type: String, /// <p>The name of the model that you want to host. This is the name that you specified when creating the model.</p> #[serde(rename = "ModelName")] pub model_name: String, /// <p>The name of the production variant.</p> #[serde(rename = "VariantName")] pub variant_name: String, } /// <p>Describes weight and capacities for a production variant associated with an endpoint. If you sent a request to the <code>UpdateEndpointWeightsAndCapacities</code> API and the endpoint status is <code>Updating</code>, you get different desired and current values. </p> #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct ProductionVariantSummary { /// <p>The number of instances associated with the variant.</p> #[serde(rename = "CurrentInstanceCount")] #[serde(skip_serializing_if = "Option::is_none")] pub current_instance_count: Option<i64>, /// <p>The weight associated with the variant.</p> #[serde(rename = "CurrentWeight")] #[serde(skip_serializing_if = "Option::is_none")] pub current_weight: Option<f32>, /// <p>An array of <code>DeployedImage</code> objects that specify the Amazon EC2 Container Registry paths of the inference images deployed on instances of this <code>ProductionVariant</code>.</p> #[serde(rename = "DeployedImages")] #[serde(skip_serializing_if = "Option::is_none")] pub deployed_images: Option<Vec<DeployedImage>>, /// <p>The number of instances requested in the <code>UpdateEndpointWeightsAndCapacities</code> request. </p> #[serde(rename = "DesiredInstanceCount")] #[serde(skip_serializing_if = "Option::is_none")] pub desired_instance_count: Option<i64>, /// <p>The requested weight, as specified in the <code>UpdateEndpointWeightsAndCapacities</code> request. </p> #[serde(rename = "DesiredWeight")] #[serde(skip_serializing_if = "Option::is_none")] pub desired_weight: Option<f32>, /// <p>The name of the variant.</p> #[serde(rename = "VariantName")] pub variant_name: String, } /// <p>Part of the <code>SuggestionQuery</code> type. Specifies a hint for retrieving property names that begin with the specified text.</p> #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct PropertyNameQuery { /// <p>Text that begins a property's name.</p> #[serde(rename = "PropertyNameHint")] pub property_name_hint: String, } /// <p>A property name returned from a <code>GetSearchSuggestions</code> call that specifies a value in the <code>PropertyNameQuery</code> field.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct PropertyNameSuggestion { /// <p>A suggested property name based on what you entered in the search textbox in the Amazon SageMaker console.</p> #[serde(rename = "PropertyName")] #[serde(skip_serializing_if = "Option::is_none")] pub property_name: Option<String>, } /// <p><p>Defines the amount of money paid to an Amazon Mechanical Turk worker for each task performed. </p> <p>Use one of the following prices for bounding box tasks. Prices are in US dollars and should be based on the complexity of the task; the longer it takes in your initial testing, the more you should offer.</p> <ul> <li> <p>0.036</p> </li> <li> <p>0.048</p> </li> <li> <p>0.060</p> </li> <li> <p>0.072</p> </li> <li> <p>0.120</p> </li> <li> <p>0.240</p> </li> <li> <p>0.360</p> </li> <li> <p>0.480</p> </li> <li> <p>0.600</p> </li> <li> <p>0.720</p> </li> <li> <p>0.840</p> </li> <li> <p>0.960</p> </li> <li> <p>1.080</p> </li> <li> <p>1.200</p> </li> </ul> <p>Use one of the following prices for image classification, text classification, and custom tasks. Prices are in US dollars.</p> <ul> <li> <p>0.012</p> </li> <li> <p>0.024</p> </li> <li> <p>0.036</p> </li> <li> <p>0.048</p> </li> <li> <p>0.060</p> </li> <li> <p>0.072</p> </li> <li> <p>0.120</p> </li> <li> <p>0.240</p> </li> <li> <p>0.360</p> </li> <li> <p>0.480</p> </li> <li> <p>0.600</p> </li> <li> <p>0.720</p> </li> <li> <p>0.840</p> </li> <li> <p>0.960</p> </li> <li> <p>1.080</p> </li> <li> <p>1.200</p> </li> </ul> <p>Use one of the following prices for semantic segmentation tasks. Prices are in US dollars.</p> <ul> <li> <p>0.840</p> </li> <li> <p>0.960</p> </li> <li> <p>1.080</p> </li> <li> <p>1.200</p> </li> </ul> <p>Use one of the following prices for Textract AnalyzeDocument Important Form Key Amazon Augmented AI review tasks. Prices are in US dollars.</p> <ul> <li> <p>2.400 </p> </li> <li> <p>2.280 </p> </li> <li> <p>2.160 </p> </li> <li> <p>2.040 </p> </li> <li> <p>1.920 </p> </li> <li> <p>1.800 </p> </li> <li> <p>1.680 </p> </li> <li> <p>1.560 </p> </li> <li> <p>1.440 </p> </li> <li> <p>1.320 </p> </li> <li> <p>1.200 </p> </li> <li> <p>1.080 </p> </li> <li> <p>0.960 </p> </li> <li> <p>0.840 </p> </li> <li> <p>0.720 </p> </li> <li> <p>0.600 </p> </li> <li> <p>0.480 </p> </li> <li> <p>0.360 </p> </li> <li> <p>0.240 </p> </li> <li> <p>0.120 </p> </li> <li> <p>0.072 </p> </li> <li> <p>0.060 </p> </li> <li> <p>0.048 </p> </li> <li> <p>0.036 </p> </li> <li> <p>0.024 </p> </li> <li> <p>0.012 </p> </li> </ul> <p>Use one of the following prices for Rekognition DetectModerationLabels Amazon Augmented AI review tasks. Prices are in US dollars.</p> <ul> <li> <p>1.200 </p> </li> <li> <p>1.080 </p> </li> <li> <p>0.960 </p> </li> <li> <p>0.840 </p> </li> <li> <p>0.720 </p> </li> <li> <p>0.600 </p> </li> <li> <p>0.480 </p> </li> <li> <p>0.360 </p> </li> <li> <p>0.240 </p> </li> <li> <p>0.120 </p> </li> <li> <p>0.072 </p> </li> <li> <p>0.060 </p> </li> <li> <p>0.048 </p> </li> <li> <p>0.036 </p> </li> <li> <p>0.024 </p> </li> <li> <p>0.012 </p> </li> </ul> <p>Use one of the following prices for Amazon Augmented AI custom human review tasks. Prices are in US dollars.</p> <ul> <li> <p>1.200 </p> </li> <li> <p>1.080 </p> </li> <li> <p>0.960 </p> </li> <li> <p>0.840 </p> </li> <li> <p>0.720 </p> </li> <li> <p>0.600 </p> </li> <li> <p>0.480 </p> </li> <li> <p>0.360 </p> </li> <li> <p>0.240 </p> </li> <li> <p>0.120 </p> </li> <li> <p>0.072 </p> </li> <li> <p>0.060 </p> </li> <li> <p>0.048 </p> </li> <li> <p>0.036 </p> </li> <li> <p>0.024 </p> </li> <li> <p>0.012 </p> </li> </ul></p> #[derive(Clone, Debug, Default, Deserialize, PartialEq, Serialize)] pub struct PublicWorkforceTaskPrice { /// <p>Defines the amount of money paid to an Amazon Mechanical Turk worker in United States dollars.</p> #[serde(rename = "AmountInUsd")] #[serde(skip_serializing_if = "Option::is_none")] pub amount_in_usd: Option<USD>, } #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct RenderUiTemplateRequest { /// <p>The <code>HumanTaskUiArn</code> of the worker UI that you want to render. Do not provide a <code>HumanTaskUiArn</code> if you use the <code>UiTemplate</code> parameter.</p> <p>See a list of available Human Ui Amazon Resource Names (ARNs) in <a>UiConfig</a>.</p> #[serde(rename = "HumanTaskUiArn")] #[serde(skip_serializing_if = "Option::is_none")] pub human_task_ui_arn: Option<String>, /// <p>The Amazon Resource Name (ARN) that has access to the S3 objects that are used by the template.</p> #[serde(rename = "RoleArn")] pub role_arn: String, /// <p>A <code>RenderableTask</code> object containing a representative task to render.</p> #[serde(rename = "Task")] pub task: RenderableTask, /// <p>A <code>Template</code> object containing the worker UI template to render.</p> #[serde(rename = "UiTemplate")] #[serde(skip_serializing_if = "Option::is_none")] pub ui_template: Option<UiTemplate>, } #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct RenderUiTemplateResponse { /// <p>A list of one or more <code>RenderingError</code> objects if any were encountered while rendering the template. If there were no errors, the list is empty.</p> #[serde(rename = "Errors")] pub errors: Vec<RenderingError>, /// <p>A Liquid template that renders the HTML for the worker UI.</p> #[serde(rename = "RenderedContent")] pub rendered_content: String, } /// <p>Contains input values for a task.</p> #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct RenderableTask { /// <p>A JSON object that contains values for the variables defined in the template. It is made available to the template under the substitution variable <code>task.input</code>. For example, if you define a variable <code>task.input.text</code> in your template, you can supply the variable in the JSON object as <code>"text": "sample text"</code>.</p> #[serde(rename = "Input")] pub input: String, } /// <p>A description of an error that occurred while rendering the template.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct RenderingError { /// <p>A unique identifier for a specific class of errors.</p> #[serde(rename = "Code")] pub code: String, /// <p>A human-readable message describing the error.</p> #[serde(rename = "Message")] pub message: String, } /// <p>The resolved attributes.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct ResolvedAttributes { #[serde(rename = "AutoMLJobObjective")] #[serde(skip_serializing_if = "Option::is_none")] pub auto_ml_job_objective: Option<AutoMLJobObjective>, #[serde(rename = "CompletionCriteria")] #[serde(skip_serializing_if = "Option::is_none")] pub completion_criteria: Option<AutoMLJobCompletionCriteria>, /// <p>The problem type.</p> #[serde(rename = "ProblemType")] #[serde(skip_serializing_if = "Option::is_none")] pub problem_type: Option<String>, } /// <p>Describes the resources, including ML compute instances and ML storage volumes, to use for model training. </p> #[derive(Clone, Debug, Default, Deserialize, PartialEq, Serialize)] pub struct ResourceConfig { /// <p>The number of ML compute instances to use. For distributed training, provide a value greater than 1. </p> #[serde(rename = "InstanceCount")] pub instance_count: i64, /// <p>The ML compute instance type. </p> #[serde(rename = "InstanceType")] pub instance_type: String, /// <p><p>The AWS KMS key that Amazon SageMaker uses to encrypt data on the storage volume attached to the ML compute instance(s) that run the training job.</p> <note> <p>Certain Nitro-based instances include local storage, dependent on the instance type. Local storage volumes are encrypted using a hardware module on the instance. You can't request a <code>VolumeKmsKeyId</code> when using an instance type with local storage.</p> <p>For a list of instance types that support local instance storage, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/InstanceStorage.html#instance-store-volumes">Instance Store Volumes</a>.</p> <p>For more information about local instance storage encryption, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ssd-instance-store.html">SSD Instance Store Volumes</a>.</p> </note> <p>The <code>VolumeKmsKeyId</code> can be in any of the following formats:</p> <ul> <li> <p>// KMS Key ID</p> <p> <code>"1234abcd-12ab-34cd-56ef-1234567890ab"</code> </p> </li> <li> <p>// Amazon Resource Name (ARN) of a KMS Key</p> <p> <code>"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"</code> </p> </li> </ul></p> #[serde(rename = "VolumeKmsKeyId")] #[serde(skip_serializing_if = "Option::is_none")] pub volume_kms_key_id: Option<String>, /// <p><p>The size of the ML storage volume that you want to provision. </p> <p>ML storage volumes store model artifacts and incremental states. Training algorithms might also use the ML storage volume for scratch space. If you want to store the training data in the ML storage volume, choose <code>File</code> as the <code>TrainingInputMode</code> in the algorithm specification. </p> <p>You must specify sufficient ML storage for your scenario. </p> <note> <p> Amazon SageMaker supports only the General Purpose SSD (gp2) ML storage volume type. </p> </note> <note> <p>Certain Nitro-based instances include local storage with a fixed total size, dependent on the instance type. When using these instances for training, Amazon SageMaker mounts the local instance storage instead of Amazon EBS gp2 storage. You can't request a <code>VolumeSizeInGB</code> greater than the total size of the local instance storage.</p> <p>For a list of instance types that support local instance storage, including the total size per instance type, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/InstanceStorage.html#instance-store-volumes">Instance Store Volumes</a>.</p> </note></p> #[serde(rename = "VolumeSizeInGB")] pub volume_size_in_gb: i64, } /// <p>Specifies the maximum number of training jobs and parallel training jobs that a hyperparameter tuning job can launch.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq, Serialize)] pub struct ResourceLimits { /// <p>The maximum number of training jobs that a hyperparameter tuning job can launch.</p> #[serde(rename = "MaxNumberOfTrainingJobs")] pub max_number_of_training_jobs: i64, /// <p>The maximum number of concurrent training jobs that a hyperparameter tuning job can launch.</p> #[serde(rename = "MaxParallelTrainingJobs")] pub max_parallel_training_jobs: i64, } /// <p>The instance type and the Amazon Resource Name (ARN) of the SageMaker image created on the instance. The ARN is stored as metadata in SageMaker Studio notebooks.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq, Serialize)] pub struct ResourceSpec { /// <p>The instance type.</p> #[serde(rename = "InstanceType")] #[serde(skip_serializing_if = "Option::is_none")] pub instance_type: Option<String>, /// <p>The Amazon Resource Name (ARN) of the SageMaker image created on the instance.</p> #[serde(rename = "SageMakerImageArn")] #[serde(skip_serializing_if = "Option::is_none")] pub sage_maker_image_arn: Option<String>, } /// <p>The retention policy for data stored on an Amazon Elastic File System (EFS) volume.</p> #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct RetentionPolicy { /// <p>The default is <code>Retain</code>, which specifies to keep the data stored on the EFS volume.</p> <p>Specify <code>Delete</code> to delete the data stored on the EFS volume.</p> #[serde(rename = "HomeEfsFileSystem")] #[serde(skip_serializing_if = "Option::is_none")] pub home_efs_file_system: Option<String>, } /// <p>Describes the S3 data source.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq, Serialize)] pub struct S3DataSource { /// <p>A list of one or more attribute names to use that are found in a specified augmented manifest file.</p> #[serde(rename = "AttributeNames")] #[serde(skip_serializing_if = "Option::is_none")] pub attribute_names: Option<Vec<String>>, /// <p>If you want Amazon SageMaker to replicate the entire dataset on each ML compute instance that is launched for model training, specify <code>FullyReplicated</code>. </p> <p>If you want Amazon SageMaker to replicate a subset of data on each ML compute instance that is launched for model training, specify <code>ShardedByS3Key</code>. If there are <i>n</i> ML compute instances launched for a training job, each instance gets approximately 1/<i>n</i> of the number of S3 objects. In this case, model training on each machine uses only the subset of training data. </p> <p>Don't choose more ML compute instances for training than available S3 objects. If you do, some nodes won't get any data and you will pay for nodes that aren't getting any training data. This applies in both File and Pipe modes. Keep this in mind when developing algorithms. </p> <p>In distributed training, where you use multiple ML compute EC2 instances, you might choose <code>ShardedByS3Key</code>. If the algorithm requires copying training data to the ML storage volume (when <code>TrainingInputMode</code> is set to <code>File</code>), this copies 1/<i>n</i> of the number of objects. </p> #[serde(rename = "S3DataDistributionType")] #[serde(skip_serializing_if = "Option::is_none")] pub s3_data_distribution_type: Option<String>, /// <p>If you choose <code>S3Prefix</code>, <code>S3Uri</code> identifies a key name prefix. Amazon SageMaker uses all objects that match the specified key name prefix for model training. </p> <p>If you choose <code>ManifestFile</code>, <code>S3Uri</code> identifies an object that is a manifest file containing a list of object keys that you want Amazon SageMaker to use for model training. </p> <p>If you choose <code>AugmentedManifestFile</code>, S3Uri identifies an object that is an augmented manifest file in JSON lines format. This file contains the data you want to use for model training. <code>AugmentedManifestFile</code> can only be used if the Channel's input mode is <code>Pipe</code>.</p> #[serde(rename = "S3DataType")] pub s3_data_type: String, /// <p><p>Depending on the value specified for the <code>S3DataType</code>, identifies either a key name prefix or a manifest. For example: </p> <ul> <li> <p> A key name prefix might look like this: <code>s3://bucketname/exampleprefix</code> </p> </li> <li> <p> A manifest might look like this: <code>s3://bucketname/example.manifest</code> </p> <p> A manifest is an S3 object which is a JSON file consisting of an array of elements. The first element is a prefix which is followed by one or more suffixes. SageMaker appends the suffix elements to the prefix to get a full set of <code>S3Uri</code>. Note that the prefix must be a valid non-empty <code>S3Uri</code> that precludes users from specifying a manifest whose individual <code>S3Uri</code> is sourced from different S3 buckets.</p> <p> The following code example shows a valid manifest format: </p> <p> <code>[ {"prefix": "s3://customer<em>bucket/some/prefix/"},</code> </p> <p> <code> "relative/path/to/custdata-1",</code> </p> <p> <code> "relative/path/custdata-2",</code> </p> <p> <code> ...</code> </p> <p> <code> "relative/path/custdata-N"</code> </p> <p> <code>]</code> </p> <p> This JSON is equivalent to the following <code>S3Uri</code> list:</p> <p> <code>s3://customer</em>bucket/some/prefix/relative/path/to/custdata-1</code> </p> <p> <code>s3://customer<em>bucket/some/prefix/relative/path/custdata-2</code> </p> <p> <code>...</code> </p> <p> <code>s3://customer</em>bucket/some/prefix/relative/path/custdata-N</code> </p> <p>The complete set of <code>S3Uri</code> in this manifest is the input data for the channel for this data source. The object that each <code>S3Uri</code> points to must be readable by the IAM role that Amazon SageMaker uses to perform tasks on your behalf. </p> </li> </ul></p> #[serde(rename = "S3Uri")] pub s3_uri: String, } /// <p>Configuration details about the monitoring schedule.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq, Serialize)] pub struct ScheduleConfig { /// <p><p>A cron expression that describes details about the monitoring schedule.</p> <p>Currently the only supported cron expressions are:</p> <ul> <li> <p>If you want to set the job to start every hour, please use the following:</p> <p> <code>Hourly: cron(0 * ? * * *)</code> </p> </li> <li> <p>If you want to start the job daily:</p> <p> <code>cron(0 [00-23] ? * * *)</code> </p> </li> </ul> <p>For example, the following are valid cron expressions:</p> <ul> <li> <p>Daily at noon UTC: <code>cron(0 12 ? * * *)</code> </p> </li> <li> <p>Daily at midnight UTC: <code>cron(0 0 ? * * *)</code> </p> </li> </ul> <p>To support running every 6, 12 hours, the following are also supported:</p> <p> <code>cron(0 [00-23]/[01-24] ? * * *)</code> </p> <p>For example, the following are valid cron expressions:</p> <ul> <li> <p>Every 12 hours, starting at 5pm UTC: <code>cron(0 17/12 ? * * *)</code> </p> </li> <li> <p>Every two hours starting at midnight: <code>cron(0 0/2 ? * * *)</code> </p> </li> </ul> <note> <ul> <li> <p>Even though the cron expression is set to start at 5PM UTC, note that there could be a delay of 0-20 minutes from the actual requested time to run the execution. </p> </li> <li> <p>We recommend that if you would like a daily schedule, you do not provide this parameter. Amazon SageMaker will pick a time for running every day.</p> </li> </ul> </note></p> #[serde(rename = "ScheduleExpression")] pub schedule_expression: String, } /// <p><p>A multi-expression that searches for the specified resource or resources in a search. All resource objects that satisfy the expression's condition are included in the search results. You must specify at least one subexpression, filter, or nested filter. A <code>SearchExpression</code> can contain up to twenty elements.</p> <p>A <code>SearchExpression</code> contains the following components:</p> <ul> <li> <p>A list of <code>Filter</code> objects. Each filter defines a simple Boolean expression comprised of a resource property name, Boolean operator, and value.</p> </li> <li> <p>A list of <code>NestedFilter</code> objects. Each nested filter defines a list of Boolean expressions using a list of resource properties. A nested filter is satisfied if a single object in the list satisfies all Boolean expressions.</p> </li> <li> <p>A list of <code>SearchExpression</code> objects. A search expression object can be nested in a list of search expression objects.</p> </li> <li> <p>A Boolean operator: <code>And</code> or <code>Or</code>.</p> </li> </ul></p> #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct SearchExpression { /// <p>A list of filter objects.</p> #[serde(rename = "Filters")] #[serde(skip_serializing_if = "Option::is_none")] pub filters: Option<Vec<Filter>>, /// <p>A list of nested filter objects.</p> #[serde(rename = "NestedFilters")] #[serde(skip_serializing_if = "Option::is_none")] pub nested_filters: Option<Vec<NestedFilters>>, /// <p>A Boolean operator used to evaluate the search expression. If you want every conditional statement in all lists to be satisfied for the entire search expression to be true, specify <code>And</code>. If only a single conditional statement needs to be true for the entire search expression to be true, specify <code>Or</code>. The default value is <code>And</code>.</p> #[serde(rename = "Operator")] #[serde(skip_serializing_if = "Option::is_none")] pub operator: Option<String>, /// <p>A list of search expression objects.</p> #[serde(rename = "SubExpressions")] #[serde(skip_serializing_if = "Option::is_none")] pub sub_expressions: Option<Vec<SearchExpression>>, } /// <p>A single resource returned as part of the <a>Search</a> API response.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct SearchRecord { /// <p>The properties of an experiment.</p> #[serde(rename = "Experiment")] #[serde(skip_serializing_if = "Option::is_none")] pub experiment: Option<Experiment>, /// <p>The properties of a training job.</p> #[serde(rename = "TrainingJob")] #[serde(skip_serializing_if = "Option::is_none")] pub training_job: Option<TrainingJob>, /// <p>The properties of a trial.</p> #[serde(rename = "Trial")] #[serde(skip_serializing_if = "Option::is_none")] pub trial: Option<Trial>, /// <p>The properties of a trial component.</p> #[serde(rename = "TrialComponent")] #[serde(skip_serializing_if = "Option::is_none")] pub trial_component: Option<TrialComponent>, } #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct SearchRequest { /// <p>The maximum number of results to return.</p> #[serde(rename = "MaxResults")] #[serde(skip_serializing_if = "Option::is_none")] pub max_results: Option<i64>, /// <p>If more than <code>MaxResults</code> resources match the specified <code>SearchExpression</code>, the response includes a <code>NextToken</code>. The <code>NextToken</code> can be passed to the next <code>SearchRequest</code> to continue retrieving results.</p> #[serde(rename = "NextToken")] #[serde(skip_serializing_if = "Option::is_none")] pub next_token: Option<String>, /// <p>The name of the Amazon SageMaker resource to search for.</p> #[serde(rename = "Resource")] pub resource: String, /// <p>A Boolean conditional statement. Resources must satisfy this condition to be included in search results. You must provide at least one subexpression, filter, or nested filter. The maximum number of recursive <code>SubExpressions</code>, <code>NestedFilters</code>, and <code>Filters</code> that can be included in a <code>SearchExpression</code> object is 50.</p> #[serde(rename = "SearchExpression")] #[serde(skip_serializing_if = "Option::is_none")] pub search_expression: Option<SearchExpression>, /// <p>The name of the resource property used to sort the <code>SearchResults</code>. The default is <code>LastModifiedTime</code>.</p> #[serde(rename = "SortBy")] #[serde(skip_serializing_if = "Option::is_none")] pub sort_by: Option<String>, /// <p>How <code>SearchResults</code> are ordered. Valid values are <code>Ascending</code> or <code>Descending</code>. The default is <code>Descending</code>.</p> #[serde(rename = "SortOrder")] #[serde(skip_serializing_if = "Option::is_none")] pub sort_order: Option<String>, } #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct SearchResponse { /// <p>If the result of the previous <code>Search</code> request was truncated, the response includes a NextToken. To retrieve the next set of results, use the token in the next request.</p> #[serde(rename = "NextToken")] #[serde(skip_serializing_if = "Option::is_none")] pub next_token: Option<String>, /// <p>A list of <code>SearchRecord</code> objects.</p> #[serde(rename = "Results")] #[serde(skip_serializing_if = "Option::is_none")] pub results: Option<Vec<SearchRecord>>, } /// <p><p>An array element of <a>DescribeTrainingJobResponse$SecondaryStatusTransitions</a>. It provides additional details about a status that the training job has transitioned through. A training job can be in one of several states, for example, starting, downloading, training, or uploading. Within each state, there are a number of intermediate states. For example, within the starting state, Amazon SageMaker could be starting the training job or launching the ML instances. These transitional states are referred to as the job's secondary status. </p> <p/></p> #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct SecondaryStatusTransition { /// <p>A timestamp that shows when the training job transitioned out of this secondary status state into another secondary status state or when the training job has ended.</p> #[serde(rename = "EndTime")] #[serde(skip_serializing_if = "Option::is_none")] pub end_time: Option<f64>, /// <p>A timestamp that shows when the training job transitioned to the current secondary status state.</p> #[serde(rename = "StartTime")] pub start_time: f64, /// <p><p>Contains a secondary status information from a training job.</p> <p>Status might be one of the following secondary statuses:</p> <dl> <dt>InProgress</dt> <dd> <ul> <li> <p> <code>Starting</code> - Starting the training job.</p> </li> <li> <p> <code>Downloading</code> - An optional stage for algorithms that support <code>File</code> training input mode. It indicates that data is being downloaded to the ML storage volumes.</p> </li> <li> <p> <code>Training</code> - Training is in progress.</p> </li> <li> <p> <code>Uploading</code> - Training is complete and the model artifacts are being uploaded to the S3 location.</p> </li> </ul> </dd> <dt>Completed</dt> <dd> <ul> <li> <p> <code>Completed</code> - The training job has completed.</p> </li> </ul> </dd> <dt>Failed</dt> <dd> <ul> <li> <p> <code>Failed</code> - The training job has failed. The reason for the failure is returned in the <code>FailureReason</code> field of <code>DescribeTrainingJobResponse</code>.</p> </li> </ul> </dd> <dt>Stopped</dt> <dd> <ul> <li> <p> <code>MaxRuntimeExceeded</code> - The job stopped because it exceeded the maximum allowed runtime.</p> </li> <li> <p> <code>Stopped</code> - The training job has stopped.</p> </li> </ul> </dd> <dt>Stopping</dt> <dd> <ul> <li> <p> <code>Stopping</code> - Stopping the training job.</p> </li> </ul> </dd> </dl> <p>We no longer support the following secondary statuses:</p> <ul> <li> <p> <code>LaunchingMLInstances</code> </p> </li> <li> <p> <code>PreparingTrainingStack</code> </p> </li> <li> <p> <code>DownloadingTrainingImage</code> </p> </li> </ul></p> #[serde(rename = "Status")] pub status: String, /// <p><p>A detailed description of the progress within a secondary status. </p> <p>Amazon SageMaker provides secondary statuses and status messages that apply to each of them:</p> <dl> <dt>Starting</dt> <dd> <ul> <li> <p>Starting the training job.</p> </li> <li> <p>Launching requested ML instances.</p> </li> <li> <p>Insufficient capacity error from EC2 while launching instances, retrying!</p> </li> <li> <p>Launched instance was unhealthy, replacing it!</p> </li> <li> <p>Preparing the instances for training.</p> </li> </ul> </dd> <dt>Training</dt> <dd> <ul> <li> <p>Downloading the training image.</p> </li> <li> <p>Training image download completed. Training in progress.</p> </li> </ul> </dd> </dl> <important> <p>Status messages are subject to change. Therefore, we recommend not including them in code that programmatically initiates actions. For examples, don't use status messages in if statements.</p> </important> <p>To have an overview of your training job's progress, view <code>TrainingJobStatus</code> and <code>SecondaryStatus</code> in <a>DescribeTrainingJob</a>, and <code>StatusMessage</code> together. For example, at the start of a training job, you might see the following:</p> <ul> <li> <p> <code>TrainingJobStatus</code> - InProgress</p> </li> <li> <p> <code>SecondaryStatus</code> - Training</p> </li> <li> <p> <code>StatusMessage</code> - Downloading the training image</p> </li> </ul></p> #[serde(rename = "StatusMessage")] #[serde(skip_serializing_if = "Option::is_none")] pub status_message: Option<String>, } /// <p>Specifies options when sharing an Amazon SageMaker Studio notebook. These settings are specified as part of <code>DefaultUserSettings</code> when the <a>CreateDomain</a> API is called, and as part of <code>UserSettings</code> when the <a>CreateUserProfile</a> API is called.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq, Serialize)] pub struct SharingSettings { /// <p>Whether to include the notebook cell output when sharing the notebook. The default is <code>Disabled</code>.</p> #[serde(rename = "NotebookOutputOption")] #[serde(skip_serializing_if = "Option::is_none")] pub notebook_output_option: Option<String>, /// <p>When <code>NotebookOutputOption</code> is <code>Allowed</code>, the AWS Key Management Service (KMS) encryption key ID used to encrypt the notebook cell output in the Amazon S3 bucket.</p> #[serde(rename = "S3KmsKeyId")] #[serde(skip_serializing_if = "Option::is_none")] pub s3_kms_key_id: Option<String>, /// <p>When <code>NotebookOutputOption</code> is <code>Allowed</code>, the Amazon S3 bucket used to save the notebook cell output. If <code>S3OutputPath</code> isn't specified, a default bucket is used.</p> #[serde(rename = "S3OutputPath")] #[serde(skip_serializing_if = "Option::is_none")] pub s3_output_path: Option<String>, } /// <p>A configuration for a shuffle option for input data in a channel. If you use <code>S3Prefix</code> for <code>S3DataType</code>, the results of the S3 key prefix matches are shuffled. If you use <code>ManifestFile</code>, the order of the S3 object references in the <code>ManifestFile</code> is shuffled. If you use <code>AugmentedManifestFile</code>, the order of the JSON lines in the <code>AugmentedManifestFile</code> is shuffled. The shuffling order is determined using the <code>Seed</code> value.</p> <p>For Pipe input mode, when <code>ShuffleConfig</code> is specified shuffling is done at the start of every epoch. With large datasets, this ensures that the order of the training data is different for each epoch, and it helps reduce bias and possible overfitting. In a multi-node training job when <code>ShuffleConfig</code> is combined with <code>S3DataDistributionType</code> of <code>ShardedByS3Key</code>, the data is shuffled across nodes so that the content sent to a particular node on the first epoch might be sent to a different node on the second epoch.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq, Serialize)] pub struct ShuffleConfig { /// <p>Determines the shuffling order in <code>ShuffleConfig</code> value.</p> #[serde(rename = "Seed")] pub seed: i64, } /// <p>Specifies an algorithm that was used to create the model package. The algorithm must be either an algorithm resource in your Amazon SageMaker account or an algorithm in AWS Marketplace that you are subscribed to.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq, Serialize)] pub struct SourceAlgorithm { /// <p>The name of an algorithm that was used to create the model package. The algorithm must be either an algorithm resource in your Amazon SageMaker account or an algorithm in AWS Marketplace that you are subscribed to.</p> #[serde(rename = "AlgorithmName")] pub algorithm_name: String, /// <p>The Amazon S3 path where the model artifacts, which result from model training, are stored. This path must point to a single <code>gzip</code> compressed tar archive (<code>.tar.gz</code> suffix).</p> #[serde(rename = "ModelDataUrl")] #[serde(skip_serializing_if = "Option::is_none")] pub model_data_url: Option<String>, } /// <p>A list of algorithms that were used to create a model package.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq, Serialize)] pub struct SourceAlgorithmSpecification { /// <p>A list of the algorithms that were used to create a model package.</p> #[serde(rename = "SourceAlgorithms")] pub source_algorithms: Vec<SourceAlgorithm>, } /// <p>A list of IP address ranges (<a href="https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Subnets.html">CIDRs</a>). Used to create an allow list of IP addresses for a private workforce. For more information, see .</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq, Serialize)] pub struct SourceIpConfig { /// <p><p>A list of one to ten <a href="https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Subnets.html">Classless Inter-Domain Routing</a> (CIDR) values.</p> <p>Maximum: Ten CIDR values</p> <note> <p>The following Length Constraints apply to individual CIDR values in the CIDR value list.</p> </note></p> #[serde(rename = "Cidrs")] pub cidrs: Vec<String>, } #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct StartMonitoringScheduleRequest { /// <p>The name of the schedule to start.</p> #[serde(rename = "MonitoringScheduleName")] pub monitoring_schedule_name: String, } #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct StartNotebookInstanceInput { /// <p>The name of the notebook instance to start.</p> #[serde(rename = "NotebookInstanceName")] pub notebook_instance_name: String, } #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct StopAutoMLJobRequest { /// <p>The name of the object you are requesting.</p> #[serde(rename = "AutoMLJobName")] pub auto_ml_job_name: String, } #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct StopCompilationJobRequest { /// <p>The name of the model compilation job to stop.</p> #[serde(rename = "CompilationJobName")] pub compilation_job_name: String, } #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct StopHyperParameterTuningJobRequest { /// <p>The name of the tuning job to stop.</p> #[serde(rename = "HyperParameterTuningJobName")] pub hyper_parameter_tuning_job_name: String, } #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct StopLabelingJobRequest { /// <p>The name of the labeling job to stop.</p> #[serde(rename = "LabelingJobName")] pub labeling_job_name: String, } #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct StopMonitoringScheduleRequest { /// <p>The name of the schedule to stop.</p> #[serde(rename = "MonitoringScheduleName")] pub monitoring_schedule_name: String, } #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct StopNotebookInstanceInput { /// <p>The name of the notebook instance to terminate.</p> #[serde(rename = "NotebookInstanceName")] pub notebook_instance_name: String, } #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct StopProcessingJobRequest { /// <p>The name of the processing job to stop.</p> #[serde(rename = "ProcessingJobName")] pub processing_job_name: String, } #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct StopTrainingJobRequest { /// <p>The name of the training job to stop.</p> #[serde(rename = "TrainingJobName")] pub training_job_name: String, } #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct StopTransformJobRequest { /// <p>The name of the transform job to stop.</p> #[serde(rename = "TransformJobName")] pub transform_job_name: String, } /// <p><p>Specifies a limit to how long a model training or compilation job can run. It also specifies how long you are willing to wait for a managed spot training job to complete. When the job reaches the time limit, Amazon SageMaker ends the training or compilation job. Use this API to cap model training costs.</p> <p>To stop a job, Amazon SageMaker sends the algorithm the <code>SIGTERM</code> signal, which delays job termination for 120 seconds. Algorithms can use this 120-second window to save the model artifacts, so the results of training are not lost. </p> <p>The training algorithms provided by Amazon SageMaker automatically save the intermediate results of a model training job when possible. This attempt to save artifacts is only a best effort case as model might not be in a state from which it can be saved. For example, if training has just started, the model might not be ready to save. When saved, this intermediate data is a valid model artifact. You can use it to create a model with <code>CreateModel</code>.</p> <note> <p>The Neural Topic Model (NTM) currently does not support saving intermediate model artifacts. When training NTMs, make sure that the maximum runtime is sufficient for the training job to complete.</p> </note></p> #[derive(Clone, Debug, Default, Deserialize, PartialEq, Serialize)] pub struct StoppingCondition { /// <p>The maximum length of time, in seconds, that the training or compilation job can run. If job does not complete during this time, Amazon SageMaker ends the job. If value is not specified, default value is 1 day. The maximum value is 28 days.</p> #[serde(rename = "MaxRuntimeInSeconds")] #[serde(skip_serializing_if = "Option::is_none")] pub max_runtime_in_seconds: Option<i64>, /// <p>The maximum length of time, in seconds, how long you are willing to wait for a managed spot training job to complete. It is the amount of time spent waiting for Spot capacity plus the amount of time the training job runs. It must be equal to or greater than <code>MaxRuntimeInSeconds</code>. </p> #[serde(rename = "MaxWaitTimeInSeconds")] #[serde(skip_serializing_if = "Option::is_none")] pub max_wait_time_in_seconds: Option<i64>, } /// <p>Describes a work team of a vendor that does the a labelling job.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct SubscribedWorkteam { /// <p>Marketplace product listing ID.</p> #[serde(rename = "ListingId")] #[serde(skip_serializing_if = "Option::is_none")] pub listing_id: Option<String>, /// <p>The description of the vendor from the Amazon Marketplace.</p> #[serde(rename = "MarketplaceDescription")] #[serde(skip_serializing_if = "Option::is_none")] pub marketplace_description: Option<String>, /// <p>The title of the service provided by the vendor in the Amazon Marketplace.</p> #[serde(rename = "MarketplaceTitle")] #[serde(skip_serializing_if = "Option::is_none")] pub marketplace_title: Option<String>, /// <p>The name of the vendor in the Amazon Marketplace.</p> #[serde(rename = "SellerName")] #[serde(skip_serializing_if = "Option::is_none")] pub seller_name: Option<String>, /// <p>The Amazon Resource Name (ARN) of the vendor that you have subscribed.</p> #[serde(rename = "WorkteamArn")] pub workteam_arn: String, } /// <p>Specified in the <a>GetSearchSuggestions</a> request. Limits the property names that are included in the response.</p> #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct SuggestionQuery { /// <p>Defines a property name hint. Only property names that begin with the specified hint are included in the response.</p> #[serde(rename = "PropertyNameQuery")] #[serde(skip_serializing_if = "Option::is_none")] pub property_name_query: Option<PropertyNameQuery>, } /// <p>Describes a tag. </p> #[derive(Clone, Debug, Default, Deserialize, PartialEq, Serialize)] pub struct Tag { /// <p>The tag key.</p> #[serde(rename = "Key")] pub key: String, /// <p>The tag value.</p> #[serde(rename = "Value")] pub value: String, } /// <p>The TensorBoard app settings.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq, Serialize)] pub struct TensorBoardAppSettings { /// <p>The default instance type and the Amazon Resource Name (ARN) of the SageMaker image created on the instance.</p> #[serde(rename = "DefaultResourceSpec")] #[serde(skip_serializing_if = "Option::is_none")] pub default_resource_spec: Option<ResourceSpec>, } /// <p>Configuration of storage locations for TensorBoard output.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq, Serialize)] pub struct TensorBoardOutputConfig { /// <p>Path to local storage location for tensorBoard output. Defaults to <code>/opt/ml/output/tensorboard</code>.</p> #[serde(rename = "LocalPath")] #[serde(skip_serializing_if = "Option::is_none")] pub local_path: Option<String>, /// <p>Path to Amazon S3 storage location for TensorBoard output.</p> #[serde(rename = "S3OutputPath")] pub s3_output_path: String, } /// <p>Contains information about a training job.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct TrainingJob { /// <p>Information about the algorithm used for training, and algorithm metadata.</p> #[serde(rename = "AlgorithmSpecification")] #[serde(skip_serializing_if = "Option::is_none")] pub algorithm_specification: Option<AlgorithmSpecification>, /// <p>The Amazon Resource Name (ARN) of the job.</p> #[serde(rename = "AutoMLJobArn")] #[serde(skip_serializing_if = "Option::is_none")] pub auto_ml_job_arn: Option<String>, /// <p>The billable time in seconds.</p> #[serde(rename = "BillableTimeInSeconds")] #[serde(skip_serializing_if = "Option::is_none")] pub billable_time_in_seconds: Option<i64>, #[serde(rename = "CheckpointConfig")] #[serde(skip_serializing_if = "Option::is_none")] pub checkpoint_config: Option<CheckpointConfig>, /// <p>A timestamp that indicates when the training job was created.</p> #[serde(rename = "CreationTime")] #[serde(skip_serializing_if = "Option::is_none")] pub creation_time: Option<f64>, #[serde(rename = "DebugHookConfig")] #[serde(skip_serializing_if = "Option::is_none")] pub debug_hook_config: Option<DebugHookConfig>, /// <p>Information about the debug rule configuration.</p> #[serde(rename = "DebugRuleConfigurations")] #[serde(skip_serializing_if = "Option::is_none")] pub debug_rule_configurations: Option<Vec<DebugRuleConfiguration>>, /// <p>Information about the evaluation status of the rules for the training job.</p> #[serde(rename = "DebugRuleEvaluationStatuses")] #[serde(skip_serializing_if = "Option::is_none")] pub debug_rule_evaluation_statuses: Option<Vec<DebugRuleEvaluationStatus>>, /// <p>To encrypt all communications between ML compute instances in distributed training, choose <code>True</code>. Encryption provides greater security for distributed training, but training might take longer. How long it takes depends on the amount of communication between compute instances, especially if you use a deep learning algorithm in distributed training.</p> #[serde(rename = "EnableInterContainerTrafficEncryption")] #[serde(skip_serializing_if = "Option::is_none")] pub enable_inter_container_traffic_encryption: Option<bool>, /// <p>When true, enables managed spot training using Amazon EC2 Spot instances to run training jobs instead of on-demand instances. For more information, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/model-managed-spot-training.html">Managed Spot Training</a>.</p> #[serde(rename = "EnableManagedSpotTraining")] #[serde(skip_serializing_if = "Option::is_none")] pub enable_managed_spot_training: Option<bool>, /// <p>If the <code>TrainingJob</code> was created with network isolation, the value is set to <code>true</code>. If network isolation is enabled, nodes can't communicate beyond the VPC they run in.</p> #[serde(rename = "EnableNetworkIsolation")] #[serde(skip_serializing_if = "Option::is_none")] pub enable_network_isolation: Option<bool>, #[serde(rename = "ExperimentConfig")] #[serde(skip_serializing_if = "Option::is_none")] pub experiment_config: Option<ExperimentConfig>, /// <p>If the training job failed, the reason it failed.</p> #[serde(rename = "FailureReason")] #[serde(skip_serializing_if = "Option::is_none")] pub failure_reason: Option<String>, /// <p>A list of final metric values that are set when the training job completes. Used only if the training job was configured to use metrics.</p> #[serde(rename = "FinalMetricDataList")] #[serde(skip_serializing_if = "Option::is_none")] pub final_metric_data_list: Option<Vec<MetricData>>, /// <p>Algorithm-specific parameters.</p> #[serde(rename = "HyperParameters")] #[serde(skip_serializing_if = "Option::is_none")] pub hyper_parameters: Option<::std::collections::HashMap<String, String>>, /// <p>An array of <code>Channel</code> objects that describes each data input channel.</p> #[serde(rename = "InputDataConfig")] #[serde(skip_serializing_if = "Option::is_none")] pub input_data_config: Option<Vec<Channel>>, /// <p>The Amazon Resource Name (ARN) of the labeling job.</p> #[serde(rename = "LabelingJobArn")] #[serde(skip_serializing_if = "Option::is_none")] pub labeling_job_arn: Option<String>, /// <p>A timestamp that indicates when the status of the training job was last modified.</p> #[serde(rename = "LastModifiedTime")] #[serde(skip_serializing_if = "Option::is_none")] pub last_modified_time: Option<f64>, /// <p>Information about the Amazon S3 location that is configured for storing model artifacts.</p> #[serde(rename = "ModelArtifacts")] #[serde(skip_serializing_if = "Option::is_none")] pub model_artifacts: Option<ModelArtifacts>, /// <p>The S3 path where model artifacts that you configured when creating the job are stored. Amazon SageMaker creates subfolders for model artifacts.</p> #[serde(rename = "OutputDataConfig")] #[serde(skip_serializing_if = "Option::is_none")] pub output_data_config: Option<OutputDataConfig>, /// <p>Resources, including ML compute instances and ML storage volumes, that are configured for model training.</p> #[serde(rename = "ResourceConfig")] #[serde(skip_serializing_if = "Option::is_none")] pub resource_config: Option<ResourceConfig>, /// <p>The AWS Identity and Access Management (IAM) role configured for the training job.</p> #[serde(rename = "RoleArn")] #[serde(skip_serializing_if = "Option::is_none")] pub role_arn: Option<String>, /// <p><p> Provides detailed information about the state of the training job. For detailed information about the secondary status of the training job, see <code>StatusMessage</code> under <a>SecondaryStatusTransition</a>.</p> <p>Amazon SageMaker provides primary statuses and secondary statuses that apply to each of them:</p> <dl> <dt>InProgress</dt> <dd> <ul> <li> <p> <code>Starting</code> - Starting the training job.</p> </li> <li> <p> <code>Downloading</code> - An optional stage for algorithms that support <code>File</code> training input mode. It indicates that data is being downloaded to the ML storage volumes.</p> </li> <li> <p> <code>Training</code> - Training is in progress.</p> </li> <li> <p> <code>Uploading</code> - Training is complete and the model artifacts are being uploaded to the S3 location.</p> </li> </ul> </dd> <dt>Completed</dt> <dd> <ul> <li> <p> <code>Completed</code> - The training job has completed.</p> </li> </ul> </dd> <dt>Failed</dt> <dd> <ul> <li> <p> <code>Failed</code> - The training job has failed. The reason for the failure is returned in the <code>FailureReason</code> field of <code>DescribeTrainingJobResponse</code>.</p> </li> </ul> </dd> <dt>Stopped</dt> <dd> <ul> <li> <p> <code>MaxRuntimeExceeded</code> - The job stopped because it exceeded the maximum allowed runtime.</p> </li> <li> <p> <code>Stopped</code> - The training job has stopped.</p> </li> </ul> </dd> <dt>Stopping</dt> <dd> <ul> <li> <p> <code>Stopping</code> - Stopping the training job.</p> </li> </ul> </dd> </dl> <important> <p>Valid values for <code>SecondaryStatus</code> are subject to change. </p> </important> <p>We no longer support the following secondary statuses:</p> <ul> <li> <p> <code>LaunchingMLInstances</code> </p> </li> <li> <p> <code>PreparingTrainingStack</code> </p> </li> <li> <p> <code>DownloadingTrainingImage</code> </p> </li> </ul></p> #[serde(rename = "SecondaryStatus")] #[serde(skip_serializing_if = "Option::is_none")] pub secondary_status: Option<String>, /// <p>A history of all of the secondary statuses that the training job has transitioned through.</p> #[serde(rename = "SecondaryStatusTransitions")] #[serde(skip_serializing_if = "Option::is_none")] pub secondary_status_transitions: Option<Vec<SecondaryStatusTransition>>, /// <p>Specifies a limit to how long a model training job can run. When the job reaches the time limit, Amazon SageMaker ends the training job. Use this API to cap model training costs.</p> <p>To stop a job, Amazon SageMaker sends the algorithm the <code>SIGTERM</code> signal, which delays job termination for 120 seconds. Algorithms can use this 120-second window to save the model artifacts, so the results of training are not lost. </p> #[serde(rename = "StoppingCondition")] #[serde(skip_serializing_if = "Option::is_none")] pub stopping_condition: Option<StoppingCondition>, /// <p>An array of key-value pairs. For more information, see <a href="https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html#allocation-what">Using Cost Allocation Tags</a> in the <i>AWS Billing and Cost Management User Guide</i>.</p> #[serde(rename = "Tags")] #[serde(skip_serializing_if = "Option::is_none")] pub tags: Option<Vec<Tag>>, #[serde(rename = "TensorBoardOutputConfig")] #[serde(skip_serializing_if = "Option::is_none")] pub tensor_board_output_config: Option<TensorBoardOutputConfig>, /// <p>Indicates the time when the training job ends on training instances. You are billed for the time interval between the value of <code>TrainingStartTime</code> and this time. For successful jobs and stopped jobs, this is the time after model artifacts are uploaded. For failed jobs, this is the time when Amazon SageMaker detects a job failure.</p> #[serde(rename = "TrainingEndTime")] #[serde(skip_serializing_if = "Option::is_none")] pub training_end_time: Option<f64>, /// <p>The Amazon Resource Name (ARN) of the training job.</p> #[serde(rename = "TrainingJobArn")] #[serde(skip_serializing_if = "Option::is_none")] pub training_job_arn: Option<String>, /// <p>The name of the training job.</p> #[serde(rename = "TrainingJobName")] #[serde(skip_serializing_if = "Option::is_none")] pub training_job_name: Option<String>, /// <p>The status of the training job.</p> <p>Training job statuses are:</p> <ul> <li> <p> <code>InProgress</code> - The training is in progress.</p> </li> <li> <p> <code>Completed</code> - The training job has completed.</p> </li> <li> <p> <code>Failed</code> - The training job has failed. To see the reason for the failure, see the <code>FailureReason</code> field in the response to a <code>DescribeTrainingJobResponse</code> call.</p> </li> <li> <p> <code>Stopping</code> - The training job is stopping.</p> </li> <li> <p> <code>Stopped</code> - The training job has stopped.</p> </li> </ul> <p>For more detailed information, see <code>SecondaryStatus</code>. </p> #[serde(rename = "TrainingJobStatus")] #[serde(skip_serializing_if = "Option::is_none")] pub training_job_status: Option<String>, /// <p>Indicates the time when the training job starts on training instances. You are billed for the time interval between this time and the value of <code>TrainingEndTime</code>. The start time in CloudWatch Logs might be later than this time. The difference is due to the time it takes to download the training data and to the size of the training container.</p> #[serde(rename = "TrainingStartTime")] #[serde(skip_serializing_if = "Option::is_none")] pub training_start_time: Option<f64>, /// <p>The training time in seconds.</p> #[serde(rename = "TrainingTimeInSeconds")] #[serde(skip_serializing_if = "Option::is_none")] pub training_time_in_seconds: Option<i64>, /// <p>The Amazon Resource Name (ARN) of the associated hyperparameter tuning job if the training job was launched by a hyperparameter tuning job.</p> #[serde(rename = "TuningJobArn")] #[serde(skip_serializing_if = "Option::is_none")] pub tuning_job_arn: Option<String>, /// <p>A <a>VpcConfig</a> object that specifies the VPC that this training job has access to. For more information, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/train-vpc.html">Protect Training Jobs by Using an Amazon Virtual Private Cloud</a>.</p> #[serde(rename = "VpcConfig")] #[serde(skip_serializing_if = "Option::is_none")] pub vpc_config: Option<VpcConfig>, } /// <p>Defines the input needed to run a training job using the algorithm.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq, Serialize)] pub struct TrainingJobDefinition { /// <p>The hyperparameters used for the training job.</p> #[serde(rename = "HyperParameters")] #[serde(skip_serializing_if = "Option::is_none")] pub hyper_parameters: Option<::std::collections::HashMap<String, String>>, /// <p>An array of <code>Channel</code> objects, each of which specifies an input source.</p> #[serde(rename = "InputDataConfig")] pub input_data_config: Vec<Channel>, /// <p>the path to the S3 bucket where you want to store model artifacts. Amazon SageMaker creates subfolders for the artifacts.</p> #[serde(rename = "OutputDataConfig")] pub output_data_config: OutputDataConfig, /// <p>The resources, including the ML compute instances and ML storage volumes, to use for model training.</p> #[serde(rename = "ResourceConfig")] pub resource_config: ResourceConfig, /// <p>Specifies a limit to how long a model training job can run. When the job reaches the time limit, Amazon SageMaker ends the training job. Use this API to cap model training costs.</p> <p>To stop a job, Amazon SageMaker sends the algorithm the SIGTERM signal, which delays job termination for 120 seconds. Algorithms can use this 120-second window to save the model artifacts.</p> #[serde(rename = "StoppingCondition")] pub stopping_condition: StoppingCondition, /// <p>The input mode used by the algorithm for the training job. For the input modes that Amazon SageMaker algorithms support, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/algos.html">Algorithms</a>.</p> <p>If an algorithm supports the <code>File</code> input mode, Amazon SageMaker downloads the training data from S3 to the provisioned ML storage Volume, and mounts the directory to docker volume for training container. If an algorithm supports the <code>Pipe</code> input mode, Amazon SageMaker streams data directly from S3 to the container.</p> #[serde(rename = "TrainingInputMode")] pub training_input_mode: String, } /// <p>The numbers of training jobs launched by a hyperparameter tuning job, categorized by status.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct TrainingJobStatusCounters { /// <p>The number of completed training jobs launched by the hyperparameter tuning job.</p> #[serde(rename = "Completed")] #[serde(skip_serializing_if = "Option::is_none")] pub completed: Option<i64>, /// <p>The number of in-progress training jobs launched by a hyperparameter tuning job.</p> #[serde(rename = "InProgress")] #[serde(skip_serializing_if = "Option::is_none")] pub in_progress: Option<i64>, /// <p>The number of training jobs that failed and can't be retried. A failed training job can't be retried if it failed because a client error occurred.</p> #[serde(rename = "NonRetryableError")] #[serde(skip_serializing_if = "Option::is_none")] pub non_retryable_error: Option<i64>, /// <p>The number of training jobs that failed, but can be retried. A failed training job can be retried only if it failed because an internal service error occurred.</p> #[serde(rename = "RetryableError")] #[serde(skip_serializing_if = "Option::is_none")] pub retryable_error: Option<i64>, /// <p>The number of training jobs launched by a hyperparameter tuning job that were manually stopped.</p> #[serde(rename = "Stopped")] #[serde(skip_serializing_if = "Option::is_none")] pub stopped: Option<i64>, } /// <p>Provides summary information about a training job.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct TrainingJobSummary { /// <p>A timestamp that shows when the training job was created.</p> #[serde(rename = "CreationTime")] pub creation_time: f64, /// <p> Timestamp when the training job was last modified. </p> #[serde(rename = "LastModifiedTime")] #[serde(skip_serializing_if = "Option::is_none")] pub last_modified_time: Option<f64>, /// <p>A timestamp that shows when the training job ended. This field is set only if the training job has one of the terminal statuses (<code>Completed</code>, <code>Failed</code>, or <code>Stopped</code>). </p> #[serde(rename = "TrainingEndTime")] #[serde(skip_serializing_if = "Option::is_none")] pub training_end_time: Option<f64>, /// <p>The Amazon Resource Name (ARN) of the training job.</p> #[serde(rename = "TrainingJobArn")] pub training_job_arn: String, /// <p>The name of the training job that you want a summary for.</p> #[serde(rename = "TrainingJobName")] pub training_job_name: String, /// <p>The status of the training job.</p> #[serde(rename = "TrainingJobStatus")] pub training_job_status: String, } /// <p>Defines how the algorithm is used for a training job.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq, Serialize)] pub struct TrainingSpecification { /// <p>A list of <code>MetricDefinition</code> objects, which are used for parsing metrics generated by the algorithm.</p> #[serde(rename = "MetricDefinitions")] #[serde(skip_serializing_if = "Option::is_none")] pub metric_definitions: Option<Vec<MetricDefinition>>, /// <p>A list of the <code>HyperParameterSpecification</code> objects, that define the supported hyperparameters. This is required if the algorithm supports automatic model tuning.></p> #[serde(rename = "SupportedHyperParameters")] #[serde(skip_serializing_if = "Option::is_none")] pub supported_hyper_parameters: Option<Vec<HyperParameterSpecification>>, /// <p>A list of the instance types that this algorithm can use for training.</p> #[serde(rename = "SupportedTrainingInstanceTypes")] pub supported_training_instance_types: Vec<String>, /// <p>A list of the metrics that the algorithm emits that can be used as the objective metric in a hyperparameter tuning job.</p> #[serde(rename = "SupportedTuningJobObjectiveMetrics")] #[serde(skip_serializing_if = "Option::is_none")] pub supported_tuning_job_objective_metrics: Option<Vec<HyperParameterTuningJobObjective>>, /// <p>Indicates whether the algorithm supports distributed training. If set to false, buyers can't request more than one instance during training.</p> #[serde(rename = "SupportsDistributedTraining")] #[serde(skip_serializing_if = "Option::is_none")] pub supports_distributed_training: Option<bool>, /// <p>A list of <code>ChannelSpecification</code> objects, which specify the input sources to be used by the algorithm.</p> #[serde(rename = "TrainingChannels")] pub training_channels: Vec<ChannelSpecification>, /// <p>The Amazon ECR registry path of the Docker image that contains the training algorithm.</p> #[serde(rename = "TrainingImage")] pub training_image: String, /// <p>An MD5 hash of the training algorithm that identifies the Docker image used for training.</p> #[serde(rename = "TrainingImageDigest")] #[serde(skip_serializing_if = "Option::is_none")] pub training_image_digest: Option<String>, } /// <p>Describes the location of the channel data.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq, Serialize)] pub struct TransformDataSource { /// <p>The S3 location of the data source that is associated with a channel.</p> #[serde(rename = "S3DataSource")] pub s3_data_source: TransformS3DataSource, } /// <p>Describes the input source of a transform job and the way the transform job consumes it.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq, Serialize)] pub struct TransformInput { /// <p>If your transform data is compressed, specify the compression type. Amazon SageMaker automatically decompresses the data for the transform job accordingly. The default value is <code>None</code>.</p> #[serde(rename = "CompressionType")] #[serde(skip_serializing_if = "Option::is_none")] pub compression_type: Option<String>, /// <p>The multipurpose internet mail extension (MIME) type of the data. Amazon SageMaker uses the MIME type with each http call to transfer data to the transform job.</p> #[serde(rename = "ContentType")] #[serde(skip_serializing_if = "Option::is_none")] pub content_type: Option<String>, /// <p>Describes the location of the channel data, which is, the S3 location of the input data that the model can consume.</p> #[serde(rename = "DataSource")] pub data_source: TransformDataSource, /// <p><p>The method to use to split the transform job's data files into smaller batches. Splitting is necessary when the total size of each object is too large to fit in a single request. You can also use data splitting to improve performance by processing multiple concurrent mini-batches. The default value for <code>SplitType</code> is <code>None</code>, which indicates that input data files are not split, and request payloads contain the entire contents of an input object. Set the value of this parameter to <code>Line</code> to split records on a newline character boundary. <code>SplitType</code> also supports a number of record-oriented binary data formats.</p> <p>When splitting is enabled, the size of a mini-batch depends on the values of the <code>BatchStrategy</code> and <code>MaxPayloadInMB</code> parameters. When the value of <code>BatchStrategy</code> is <code>MultiRecord</code>, Amazon SageMaker sends the maximum number of records in each request, up to the <code>MaxPayloadInMB</code> limit. If the value of <code>BatchStrategy</code> is <code>SingleRecord</code>, Amazon SageMaker sends individual records in each request.</p> <note> <p>Some data formats represent a record as a binary payload wrapped with extra padding bytes. When splitting is applied to a binary data format, padding is removed if the value of <code>BatchStrategy</code> is set to <code>SingleRecord</code>. Padding is not removed if the value of <code>BatchStrategy</code> is set to <code>MultiRecord</code>.</p> <p>For more information about <code>RecordIO</code>, see <a href="https://mxnet.apache.org/api/faq/recordio">Create a Dataset Using RecordIO</a> in the MXNet documentation. For more information about <code>TFRecord</code>, see <a href="https://www.tensorflow.org/guide/datasets#consuming_tfrecord_data">Consuming TFRecord data</a> in the TensorFlow documentation.</p> </note></p> #[serde(rename = "SplitType")] #[serde(skip_serializing_if = "Option::is_none")] pub split_type: Option<String>, } /// <p>Defines the input needed to run a transform job using the inference specification specified in the algorithm.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq, Serialize)] pub struct TransformJobDefinition { /// <p>A string that determines the number of records included in a single mini-batch.</p> <p> <code>SingleRecord</code> means only one record is used per mini-batch. <code>MultiRecord</code> means a mini-batch is set to contain as many records that can fit within the <code>MaxPayloadInMB</code> limit.</p> #[serde(rename = "BatchStrategy")] #[serde(skip_serializing_if = "Option::is_none")] pub batch_strategy: Option<String>, /// <p>The environment variables to set in the Docker container. We support up to 16 key and values entries in the map.</p> #[serde(rename = "Environment")] #[serde(skip_serializing_if = "Option::is_none")] pub environment: Option<::std::collections::HashMap<String, String>>, /// <p>The maximum number of parallel requests that can be sent to each instance in a transform job. The default value is 1.</p> #[serde(rename = "MaxConcurrentTransforms")] #[serde(skip_serializing_if = "Option::is_none")] pub max_concurrent_transforms: Option<i64>, /// <p>The maximum payload size allowed, in MB. A payload is the data portion of a record (without metadata).</p> #[serde(rename = "MaxPayloadInMB")] #[serde(skip_serializing_if = "Option::is_none")] pub max_payload_in_mb: Option<i64>, /// <p>A description of the input source and the way the transform job consumes it.</p> #[serde(rename = "TransformInput")] pub transform_input: TransformInput, /// <p>Identifies the Amazon S3 location where you want Amazon SageMaker to save the results from the transform job.</p> #[serde(rename = "TransformOutput")] pub transform_output: TransformOutput, /// <p>Identifies the ML compute instances for the transform job.</p> #[serde(rename = "TransformResources")] pub transform_resources: TransformResources, } /// <p>Provides a summary of a transform job. Multiple <code>TransformJobSummary</code> objects are returned as a list after in response to a <a>ListTransformJobs</a> call.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct TransformJobSummary { /// <p>A timestamp that shows when the transform Job was created.</p> #[serde(rename = "CreationTime")] pub creation_time: f64, /// <p>If the transform job failed, the reason it failed.</p> #[serde(rename = "FailureReason")] #[serde(skip_serializing_if = "Option::is_none")] pub failure_reason: Option<String>, /// <p>Indicates when the transform job was last modified.</p> #[serde(rename = "LastModifiedTime")] #[serde(skip_serializing_if = "Option::is_none")] pub last_modified_time: Option<f64>, /// <p>Indicates when the transform job ends on compute instances. For successful jobs and stopped jobs, this is the exact time recorded after the results are uploaded. For failed jobs, this is when Amazon SageMaker detected that the job failed.</p> #[serde(rename = "TransformEndTime")] #[serde(skip_serializing_if = "Option::is_none")] pub transform_end_time: Option<f64>, /// <p>The Amazon Resource Name (ARN) of the transform job.</p> #[serde(rename = "TransformJobArn")] pub transform_job_arn: String, /// <p>The name of the transform job.</p> #[serde(rename = "TransformJobName")] pub transform_job_name: String, /// <p>The status of the transform job.</p> #[serde(rename = "TransformJobStatus")] pub transform_job_status: String, } /// <p>Describes the results of a transform job.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq, Serialize)] pub struct TransformOutput { /// <p>The MIME type used to specify the output data. Amazon SageMaker uses the MIME type with each http call to transfer data from the transform job.</p> #[serde(rename = "Accept")] #[serde(skip_serializing_if = "Option::is_none")] pub accept: Option<String>, /// <p>Defines how to assemble the results of the transform job as a single S3 object. Choose a format that is most convenient to you. To concatenate the results in binary format, specify <code>None</code>. To add a newline character at the end of every transformed record, specify <code>Line</code>.</p> #[serde(rename = "AssembleWith")] #[serde(skip_serializing_if = "Option::is_none")] pub assemble_with: Option<String>, /// <p>The AWS Key Management Service (AWS KMS) key that Amazon SageMaker uses to encrypt the model artifacts at rest using Amazon S3 server-side encryption. The <code>KmsKeyId</code> can be any of the following formats: </p> <ul> <li> <p>Key ID: <code>1234abcd-12ab-34cd-56ef-1234567890ab</code> </p> </li> <li> <p>Key ARN: <code>arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab</code> </p> </li> <li> <p>Alias name: <code>alias/ExampleAlias</code> </p> </li> <li> <p>Alias name ARN: <code>arn:aws:kms:us-west-2:111122223333:alias/ExampleAlias</code> </p> </li> </ul> <p>If you don't provide a KMS key ID, Amazon SageMaker uses the default KMS key for Amazon S3 for your role's account. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingKMSEncryption.html">KMS-Managed Encryption Keys</a> in the <i>Amazon Simple Storage Service Developer Guide.</i> </p> <p>The KMS key policy must grant permission to the IAM role that you specify in your <a>CreateModel</a> request. For more information, see <a href="http://docs.aws.amazon.com/kms/latest/developerguide/key-policies.html">Using Key Policies in AWS KMS</a> in the <i>AWS Key Management Service Developer Guide</i>.</p> #[serde(rename = "KmsKeyId")] #[serde(skip_serializing_if = "Option::is_none")] pub kms_key_id: Option<String>, /// <p>The Amazon S3 path where you want Amazon SageMaker to store the results of the transform job. For example, <code>s3://bucket-name/key-name-prefix</code>.</p> <p>For every S3 object used as input for the transform job, batch transform stores the transformed data with an .<code>out</code> suffix in a corresponding subfolder in the location in the output prefix. For example, for the input data stored at <code>s3://bucket-name/input-name-prefix/dataset01/data.csv</code>, batch transform stores the transformed data at <code>s3://bucket-name/output-name-prefix/input-name-prefix/data.csv.out</code>. Batch transform doesn't upload partially processed objects. For an input S3 object that contains multiple records, it creates an .<code>out</code> file only if the transform job succeeds on the entire file. When the input contains multiple S3 objects, the batch transform job processes the listed S3 objects and uploads only the output for successfully processed objects. If any object fails in the transform job batch transform marks the job as failed to prompt investigation.</p> #[serde(rename = "S3OutputPath")] pub s3_output_path: String, } /// <p>Describes the resources, including ML instance types and ML instance count, to use for transform job.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq, Serialize)] pub struct TransformResources { /// <p>The number of ML compute instances to use in the transform job. For distributed transform jobs, specify a value greater than 1. The default value is <code>1</code>.</p> #[serde(rename = "InstanceCount")] pub instance_count: i64, /// <p>The ML compute instance type for the transform job. If you are using built-in algorithms to transform moderately sized datasets, we recommend using ml.m4.xlarge or <code>ml.m5.large</code> instance types.</p> #[serde(rename = "InstanceType")] pub instance_type: String, /// <p><p>The AWS Key Management Service (AWS KMS) key that Amazon SageMaker uses to encrypt model data on the storage volume attached to the ML compute instance(s) that run the batch transform job. The <code>VolumeKmsKeyId</code> can be any of the following formats:</p> <ul> <li> <p>Key ID: <code>1234abcd-12ab-34cd-56ef-1234567890ab</code> </p> </li> <li> <p>Key ARN: <code>arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab</code> </p> </li> <li> <p>Alias name: <code>alias/ExampleAlias</code> </p> </li> <li> <p>Alias name ARN: <code>arn:aws:kms:us-west-2:111122223333:alias/ExampleAlias</code> </p> </li> </ul></p> #[serde(rename = "VolumeKmsKeyId")] #[serde(skip_serializing_if = "Option::is_none")] pub volume_kms_key_id: Option<String>, } /// <p>Describes the S3 data source.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq, Serialize)] pub struct TransformS3DataSource { /// <p>If you choose <code>S3Prefix</code>, <code>S3Uri</code> identifies a key name prefix. Amazon SageMaker uses all objects with the specified key name prefix for batch transform. </p> <p>If you choose <code>ManifestFile</code>, <code>S3Uri</code> identifies an object that is a manifest file containing a list of object keys that you want Amazon SageMaker to use for batch transform. </p> <p>The following values are compatible: <code>ManifestFile</code>, <code>S3Prefix</code> </p> <p>The following value is not compatible: <code>AugmentedManifestFile</code> </p> #[serde(rename = "S3DataType")] pub s3_data_type: String, /// <p><p>Depending on the value specified for the <code>S3DataType</code>, identifies either a key name prefix or a manifest. For example:</p> <ul> <li> <p> A key name prefix might look like this: <code>s3://bucketname/exampleprefix</code>. </p> </li> <li> <p> A manifest might look like this: <code>s3://bucketname/example.manifest</code> </p> <p> The manifest is an S3 object which is a JSON file with the following format: </p> <p> <code>[ {"prefix": "s3://customer<em>bucket/some/prefix/"},</code> </p> <p> <code>"relative/path/to/custdata-1",</code> </p> <p> <code>"relative/path/custdata-2",</code> </p> <p> <code>...</code> </p> <p> <code>"relative/path/custdata-N"</code> </p> <p> <code>]</code> </p> <p> The preceding JSON matches the following <code>s3Uris</code>: </p> <p> <code>s3://customer</em>bucket/some/prefix/relative/path/to/custdata-1</code> </p> <p> <code>s3://customer<em>bucket/some/prefix/relative/path/custdata-2</code> </p> <p> <code>...</code> </p> <p> <code>s3://customer</em>bucket/some/prefix/relative/path/custdata-N</code> </p> <p> The complete set of <code>S3Uris</code> in this manifest constitutes the input data for the channel for this datasource. The object that each <code>S3Uris</code> points to must be readable by the IAM role that Amazon SageMaker uses to perform tasks on your behalf.</p> </li> </ul></p> #[serde(rename = "S3Uri")] pub s3_uri: String, } /// <p>The properties of a trial as returned by the <a>Search</a> API.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct Trial { #[serde(rename = "CreatedBy")] #[serde(skip_serializing_if = "Option::is_none")] pub created_by: Option<UserContext>, /// <p>When the trial was created.</p> #[serde(rename = "CreationTime")] #[serde(skip_serializing_if = "Option::is_none")] pub creation_time: Option<f64>, /// <p>The name of the trial as displayed. If <code>DisplayName</code> isn't specified, <code>TrialName</code> is displayed.</p> #[serde(rename = "DisplayName")] #[serde(skip_serializing_if = "Option::is_none")] pub display_name: Option<String>, /// <p>The name of the experiment the trial is part of.</p> #[serde(rename = "ExperimentName")] #[serde(skip_serializing_if = "Option::is_none")] pub experiment_name: Option<String>, #[serde(rename = "LastModifiedBy")] #[serde(skip_serializing_if = "Option::is_none")] pub last_modified_by: Option<UserContext>, /// <p>Who last modified the trial.</p> #[serde(rename = "LastModifiedTime")] #[serde(skip_serializing_if = "Option::is_none")] pub last_modified_time: Option<f64>, #[serde(rename = "Source")] #[serde(skip_serializing_if = "Option::is_none")] pub source: Option<TrialSource>, /// <p>The list of tags that are associated with the trial. You can use <a>Search</a> API to search on the tags.</p> #[serde(rename = "Tags")] #[serde(skip_serializing_if = "Option::is_none")] pub tags: Option<Vec<Tag>>, /// <p>The Amazon Resource Name (ARN) of the trial.</p> #[serde(rename = "TrialArn")] #[serde(skip_serializing_if = "Option::is_none")] pub trial_arn: Option<String>, /// <p>A list of the components associated with the trial. For each component, a summary of the component's properties is included.</p> #[serde(rename = "TrialComponentSummaries")] #[serde(skip_serializing_if = "Option::is_none")] pub trial_component_summaries: Option<Vec<TrialComponentSimpleSummary>>, /// <p>The name of the trial.</p> #[serde(rename = "TrialName")] #[serde(skip_serializing_if = "Option::is_none")] pub trial_name: Option<String>, } /// <p>The properties of a trial component as returned by the <a>Search</a> API.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct TrialComponent { #[serde(rename = "CreatedBy")] #[serde(skip_serializing_if = "Option::is_none")] pub created_by: Option<UserContext>, /// <p>When the component was created.</p> #[serde(rename = "CreationTime")] #[serde(skip_serializing_if = "Option::is_none")] pub creation_time: Option<f64>, /// <p>The name of the component as displayed. If <code>DisplayName</code> isn't specified, <code>TrialComponentName</code> is displayed.</p> #[serde(rename = "DisplayName")] #[serde(skip_serializing_if = "Option::is_none")] pub display_name: Option<String>, /// <p>When the component ended.</p> #[serde(rename = "EndTime")] #[serde(skip_serializing_if = "Option::is_none")] pub end_time: Option<f64>, /// <p>The input artifacts of the component.</p> #[serde(rename = "InputArtifacts")] #[serde(skip_serializing_if = "Option::is_none")] pub input_artifacts: Option<::std::collections::HashMap<String, TrialComponentArtifact>>, #[serde(rename = "LastModifiedBy")] #[serde(skip_serializing_if = "Option::is_none")] pub last_modified_by: Option<UserContext>, /// <p>When the component was last modified.</p> #[serde(rename = "LastModifiedTime")] #[serde(skip_serializing_if = "Option::is_none")] pub last_modified_time: Option<f64>, /// <p>The metrics for the component.</p> #[serde(rename = "Metrics")] #[serde(skip_serializing_if = "Option::is_none")] pub metrics: Option<Vec<TrialComponentMetricSummary>>, /// <p>The output artifacts of the component.</p> #[serde(rename = "OutputArtifacts")] #[serde(skip_serializing_if = "Option::is_none")] pub output_artifacts: Option<::std::collections::HashMap<String, TrialComponentArtifact>>, /// <p>The hyperparameters of the component.</p> #[serde(rename = "Parameters")] #[serde(skip_serializing_if = "Option::is_none")] pub parameters: Option<::std::collections::HashMap<String, TrialComponentParameterValue>>, /// <p>An array of the parents of the component. A parent is a trial the component is associated with and the experiment the trial is part of. A component might not have any parents.</p> #[serde(rename = "Parents")] #[serde(skip_serializing_if = "Option::is_none")] pub parents: Option<Vec<Parent>>, /// <p>The Amazon Resource Name (ARN) and job type of the source of the component.</p> #[serde(rename = "Source")] #[serde(skip_serializing_if = "Option::is_none")] pub source: Option<TrialComponentSource>, /// <p>Details of the source of the component.</p> #[serde(rename = "SourceDetail")] #[serde(skip_serializing_if = "Option::is_none")] pub source_detail: Option<TrialComponentSourceDetail>, /// <p>When the component started.</p> #[serde(rename = "StartTime")] #[serde(skip_serializing_if = "Option::is_none")] pub start_time: Option<f64>, #[serde(rename = "Status")] #[serde(skip_serializing_if = "Option::is_none")] pub status: Option<TrialComponentStatus>, /// <p>The list of tags that are associated with the component. You can use <a>Search</a> API to search on the tags.</p> #[serde(rename = "Tags")] #[serde(skip_serializing_if = "Option::is_none")] pub tags: Option<Vec<Tag>>, /// <p>The Amazon Resource Name (ARN) of the trial component.</p> #[serde(rename = "TrialComponentArn")] #[serde(skip_serializing_if = "Option::is_none")] pub trial_component_arn: Option<String>, /// <p>The name of the trial component.</p> #[serde(rename = "TrialComponentName")] #[serde(skip_serializing_if = "Option::is_none")] pub trial_component_name: Option<String>, } /// <p>Represents an input or output artifact of a trial component. You specify <code>TrialComponentArtifact</code> as part of the <code>InputArtifacts</code> and <code>OutputArtifacts</code> parameters in the <a>CreateTrialComponent</a> request.</p> <p>Examples of input artifacts are datasets, algorithms, hyperparameters, source code, and instance types. Examples of output artifacts are metrics, snapshots, logs, and images.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq, Serialize)] pub struct TrialComponentArtifact { /// <p>The media type of the artifact, which indicates the type of data in the artifact file. The media type consists of a <i>type</i> and a <i>subtype</i> concatenated with a slash (/) character, for example, text/csv, image/jpeg, and s3/uri. The type specifies the category of the media. The subtype specifies the kind of data.</p> #[serde(rename = "MediaType")] #[serde(skip_serializing_if = "Option::is_none")] pub media_type: Option<String>, /// <p>The location of the artifact.</p> #[serde(rename = "Value")] pub value: String, } /// <p>A summary of the metrics of a trial component.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct TrialComponentMetricSummary { /// <p>The average value of the metric.</p> #[serde(rename = "Avg")] #[serde(skip_serializing_if = "Option::is_none")] pub avg: Option<f64>, /// <p>The number of samples used to generate the metric.</p> #[serde(rename = "Count")] #[serde(skip_serializing_if = "Option::is_none")] pub count: Option<i64>, /// <p>The most recent value of the metric.</p> #[serde(rename = "Last")] #[serde(skip_serializing_if = "Option::is_none")] pub last: Option<f64>, /// <p>The maximum value of the metric.</p> #[serde(rename = "Max")] #[serde(skip_serializing_if = "Option::is_none")] pub max: Option<f64>, /// <p>The name of the metric.</p> #[serde(rename = "MetricName")] #[serde(skip_serializing_if = "Option::is_none")] pub metric_name: Option<String>, /// <p>The minimum value of the metric.</p> #[serde(rename = "Min")] #[serde(skip_serializing_if = "Option::is_none")] pub min: Option<f64>, /// <p>The Amazon Resource Name (ARN) of the source.</p> #[serde(rename = "SourceArn")] #[serde(skip_serializing_if = "Option::is_none")] pub source_arn: Option<String>, /// <p>The standard deviation of the metric.</p> #[serde(rename = "StdDev")] #[serde(skip_serializing_if = "Option::is_none")] pub std_dev: Option<f64>, /// <p>When the metric was last updated.</p> #[serde(rename = "TimeStamp")] #[serde(skip_serializing_if = "Option::is_none")] pub time_stamp: Option<f64>, } /// <p>The value of a hyperparameter. Only one of <code>NumberValue</code> or <code>StringValue</code> can be specified.</p> <p>This object is specified in the <a>CreateTrialComponent</a> request.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq, Serialize)] pub struct TrialComponentParameterValue { /// <p>The numeric value of a numeric hyperparameter. If you specify a value for this parameter, you can't specify the <code>StringValue</code> parameter.</p> #[serde(rename = "NumberValue")] #[serde(skip_serializing_if = "Option::is_none")] pub number_value: Option<f64>, /// <p>The string value of a categorical hyperparameter. If you specify a value for this parameter, you can't specify the <code>NumberValue</code> parameter.</p> #[serde(rename = "StringValue")] #[serde(skip_serializing_if = "Option::is_none")] pub string_value: Option<String>, } /// <p>A short summary of a trial component.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct TrialComponentSimpleSummary { #[serde(rename = "CreatedBy")] #[serde(skip_serializing_if = "Option::is_none")] pub created_by: Option<UserContext>, /// <p>When the component was created.</p> #[serde(rename = "CreationTime")] #[serde(skip_serializing_if = "Option::is_none")] pub creation_time: Option<f64>, /// <p>The Amazon Resource Name (ARN) of the trial component.</p> #[serde(rename = "TrialComponentArn")] #[serde(skip_serializing_if = "Option::is_none")] pub trial_component_arn: Option<String>, /// <p>The name of the trial component.</p> #[serde(rename = "TrialComponentName")] #[serde(skip_serializing_if = "Option::is_none")] pub trial_component_name: Option<String>, #[serde(rename = "TrialComponentSource")] #[serde(skip_serializing_if = "Option::is_none")] pub trial_component_source: Option<TrialComponentSource>, } /// <p>The Amazon Resource Name (ARN) and job type of the source of a trial component.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct TrialComponentSource { /// <p>The source ARN.</p> #[serde(rename = "SourceArn")] pub source_arn: String, /// <p>The source job type.</p> #[serde(rename = "SourceType")] #[serde(skip_serializing_if = "Option::is_none")] pub source_type: Option<String>, } /// <p>Detailed information about the source of a trial component. Either <code>ProcessingJob</code> or <code>TrainingJob</code> is returned.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct TrialComponentSourceDetail { /// <p>Information about a processing job that's the source of a trial component.</p> #[serde(rename = "ProcessingJob")] #[serde(skip_serializing_if = "Option::is_none")] pub processing_job: Option<ProcessingJob>, /// <p>The Amazon Resource Name (ARN) of the source.</p> #[serde(rename = "SourceArn")] #[serde(skip_serializing_if = "Option::is_none")] pub source_arn: Option<String>, /// <p>Information about a training job that's the source of a trial component.</p> #[serde(rename = "TrainingJob")] #[serde(skip_serializing_if = "Option::is_none")] pub training_job: Option<TrainingJob>, } /// <p>The status of the trial component.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq, Serialize)] pub struct TrialComponentStatus { /// <p>If the component failed, a message describing why.</p> #[serde(rename = "Message")] #[serde(skip_serializing_if = "Option::is_none")] pub message: Option<String>, /// <p>The status of the trial component.</p> #[serde(rename = "PrimaryStatus")] #[serde(skip_serializing_if = "Option::is_none")] pub primary_status: Option<String>, } /// <p>A summary of the properties of a trial component. To get all the properties, call the <a>DescribeTrialComponent</a> API and provide the <code>TrialComponentName</code>.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct TrialComponentSummary { /// <p>Who created the component.</p> #[serde(rename = "CreatedBy")] #[serde(skip_serializing_if = "Option::is_none")] pub created_by: Option<UserContext>, /// <p>When the component was created.</p> #[serde(rename = "CreationTime")] #[serde(skip_serializing_if = "Option::is_none")] pub creation_time: Option<f64>, /// <p>The name of the component as displayed. If <code>DisplayName</code> isn't specified, <code>TrialComponentName</code> is displayed.</p> #[serde(rename = "DisplayName")] #[serde(skip_serializing_if = "Option::is_none")] pub display_name: Option<String>, /// <p>When the component ended.</p> #[serde(rename = "EndTime")] #[serde(skip_serializing_if = "Option::is_none")] pub end_time: Option<f64>, /// <p>Who last modified the component.</p> #[serde(rename = "LastModifiedBy")] #[serde(skip_serializing_if = "Option::is_none")] pub last_modified_by: Option<UserContext>, /// <p>When the component was last modified.</p> #[serde(rename = "LastModifiedTime")] #[serde(skip_serializing_if = "Option::is_none")] pub last_modified_time: Option<f64>, /// <p>When the component started.</p> #[serde(rename = "StartTime")] #[serde(skip_serializing_if = "Option::is_none")] pub start_time: Option<f64>, /// <p><p>The status of the component. States include:</p> <ul> <li> <p>InProgress</p> </li> <li> <p>Completed</p> </li> <li> <p>Failed</p> </li> </ul></p> #[serde(rename = "Status")] #[serde(skip_serializing_if = "Option::is_none")] pub status: Option<TrialComponentStatus>, /// <p>The ARN of the trial component.</p> #[serde(rename = "TrialComponentArn")] #[serde(skip_serializing_if = "Option::is_none")] pub trial_component_arn: Option<String>, /// <p>The name of the trial component.</p> #[serde(rename = "TrialComponentName")] #[serde(skip_serializing_if = "Option::is_none")] pub trial_component_name: Option<String>, #[serde(rename = "TrialComponentSource")] #[serde(skip_serializing_if = "Option::is_none")] pub trial_component_source: Option<TrialComponentSource>, } /// <p>The source of the trial.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct TrialSource { /// <p>The Amazon Resource Name (ARN) of the source.</p> #[serde(rename = "SourceArn")] pub source_arn: String, /// <p>The source job type.</p> #[serde(rename = "SourceType")] #[serde(skip_serializing_if = "Option::is_none")] pub source_type: Option<String>, } /// <p>A summary of the properties of a trial. To get the complete set of properties, call the <a>DescribeTrial</a> API and provide the <code>TrialName</code>.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct TrialSummary { /// <p>When the trial was created.</p> #[serde(rename = "CreationTime")] #[serde(skip_serializing_if = "Option::is_none")] pub creation_time: Option<f64>, /// <p>The name of the trial as displayed. If <code>DisplayName</code> isn't specified, <code>TrialName</code> is displayed.</p> #[serde(rename = "DisplayName")] #[serde(skip_serializing_if = "Option::is_none")] pub display_name: Option<String>, /// <p>When the trial was last modified.</p> #[serde(rename = "LastModifiedTime")] #[serde(skip_serializing_if = "Option::is_none")] pub last_modified_time: Option<f64>, /// <p>The Amazon Resource Name (ARN) of the trial.</p> #[serde(rename = "TrialArn")] #[serde(skip_serializing_if = "Option::is_none")] pub trial_arn: Option<String>, /// <p>The name of the trial.</p> #[serde(rename = "TrialName")] #[serde(skip_serializing_if = "Option::is_none")] pub trial_name: Option<String>, #[serde(rename = "TrialSource")] #[serde(skip_serializing_if = "Option::is_none")] pub trial_source: Option<TrialSource>, } /// <p>The job completion criteria.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq, Serialize)] pub struct TuningJobCompletionCriteria { /// <p>The objective metric's value.</p> #[serde(rename = "TargetObjectiveMetricValue")] pub target_objective_metric_value: f32, } /// <p>Represents an amount of money in United States dollars/</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq, Serialize)] pub struct USD { /// <p>The fractional portion, in cents, of the amount. </p> #[serde(rename = "Cents")] #[serde(skip_serializing_if = "Option::is_none")] pub cents: Option<i64>, /// <p>The whole number of dollars in the amount.</p> #[serde(rename = "Dollars")] #[serde(skip_serializing_if = "Option::is_none")] pub dollars: Option<i64>, /// <p>Fractions of a cent, in tenths.</p> #[serde(rename = "TenthFractionsOfACent")] #[serde(skip_serializing_if = "Option::is_none")] pub tenth_fractions_of_a_cent: Option<i64>, } /// <p>Provided configuration information for the worker UI for a labeling job. </p> #[derive(Clone, Debug, Default, Deserialize, PartialEq, Serialize)] pub struct UiConfig { /// <p><p>The ARN of the worker task template used to render the worker UI and tools for labeling job tasks.</p> <p>Use this parameter when you are creating a labeling job for 3D point cloud labeling modalities. Use your labeling job task type to select one of the following ARN's and use it with this parameter when you create a labeling job. Replace <code>aws-region</code> with the AWS region you are creating your labeling job in.</p> <p>Use this <code>HumanTaskUiArn</code> for 3D point cloud object detection and 3D point cloud object detection adjustment labeling jobs. </p> <ul> <li> <p> <code>arn:aws:sagemaker:aws-region:394669845002:human-task-ui/PointCloudObjectDetection</code> </p> </li> </ul> <p> Use this <code>HumanTaskUiArn</code> for 3D point cloud object tracking and 3D point cloud object tracking adjustment labeling jobs. </p> <ul> <li> <p> <code>arn:aws:sagemaker:aws-region:394669845002:human-task-ui/PointCloudObjectTracking</code> </p> </li> </ul> <p> Use this <code>HumanTaskUiArn</code> for 3D point cloud semantic segmentation and 3D point cloud semantic segmentation adjustment labeling jobs.</p> <ul> <li> <p> <code>arn:aws:sagemaker:aws-region:394669845002:human-task-ui/PointCloudSemanticSegmentation</code> </p> </li> </ul></p> #[serde(rename = "HumanTaskUiArn")] #[serde(skip_serializing_if = "Option::is_none")] pub human_task_ui_arn: Option<String>, /// <p>The Amazon S3 bucket location of the UI template, or worker task template. This is the template used to render the worker UI and tools for labeling job tasks. For more information about the contents of a UI template, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/sms-custom-templates-step2.html"> Creating Your Custom Labeling Task Template</a>.</p> #[serde(rename = "UiTemplateS3Uri")] #[serde(skip_serializing_if = "Option::is_none")] pub ui_template_s3_uri: Option<String>, } /// <p>The Liquid template for the worker user interface.</p> #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct UiTemplate { /// <p>The content of the Liquid template for the worker user interface.</p> #[serde(rename = "Content")] pub content: String, } /// <p>Container for user interface template information.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct UiTemplateInfo { /// <p>The SHA-256 digest of the contents of the template.</p> #[serde(rename = "ContentSha256")] #[serde(skip_serializing_if = "Option::is_none")] pub content_sha_256: Option<String>, /// <p>The URL for the user interface template.</p> #[serde(rename = "Url")] #[serde(skip_serializing_if = "Option::is_none")] pub url: Option<String>, } #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct UpdateCodeRepositoryInput { /// <p>The name of the Git repository to update.</p> #[serde(rename = "CodeRepositoryName")] pub code_repository_name: String, /// <p>The configuration of the git repository, including the URL and the Amazon Resource Name (ARN) of the AWS Secrets Manager secret that contains the credentials used to access the repository. The secret must have a staging label of <code>AWSCURRENT</code> and must be in the following format:</p> <p> <code>{"username": <i>UserName</i>, "password": <i>Password</i>}</code> </p> #[serde(rename = "GitConfig")] #[serde(skip_serializing_if = "Option::is_none")] pub git_config: Option<GitConfigForUpdate>, } #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct UpdateCodeRepositoryOutput { /// <p>The ARN of the Git repository.</p> #[serde(rename = "CodeRepositoryArn")] pub code_repository_arn: String, } #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct UpdateDomainRequest { /// <p>A collection of settings.</p> #[serde(rename = "DefaultUserSettings")] #[serde(skip_serializing_if = "Option::is_none")] pub default_user_settings: Option<UserSettings>, /// <p>The ID of the domain to be updated.</p> #[serde(rename = "DomainId")] pub domain_id: String, } #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct UpdateDomainResponse { /// <p>The Amazon Resource Name (ARN) of the domain.</p> #[serde(rename = "DomainArn")] #[serde(skip_serializing_if = "Option::is_none")] pub domain_arn: Option<String>, } #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct UpdateEndpointInput { /// <p>The name of the new endpoint configuration.</p> #[serde(rename = "EndpointConfigName")] pub endpoint_config_name: String, /// <p>The name of the endpoint whose configuration you want to update.</p> #[serde(rename = "EndpointName")] pub endpoint_name: String, /// <p>When you are updating endpoint resources with <a>UpdateEndpointInput$RetainAllVariantProperties</a>, whose value is set to <code>true</code>, <code>ExcludeRetainedVariantProperties</code> specifies the list of type <a>VariantProperty</a> to override with the values provided by <code>EndpointConfig</code>. If you don't specify a value for <code>ExcludeAllVariantProperties</code>, no variant properties are overridden. </p> #[serde(rename = "ExcludeRetainedVariantProperties")] #[serde(skip_serializing_if = "Option::is_none")] pub exclude_retained_variant_properties: Option<Vec<VariantProperty>>, /// <p>When updating endpoint resources, enables or disables the retention of variant properties, such as the instance count or the variant weight. To retain the variant properties of an endpoint when updating it, set <code>RetainAllVariantProperties</code> to <code>true</code>. To use the variant properties specified in a new <code>EndpointConfig</code> call when updating an endpoint, set <code>RetainAllVariantProperties</code> to <code>false</code>.</p> #[serde(rename = "RetainAllVariantProperties")] #[serde(skip_serializing_if = "Option::is_none")] pub retain_all_variant_properties: Option<bool>, } #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct UpdateEndpointOutput { /// <p>The Amazon Resource Name (ARN) of the endpoint.</p> #[serde(rename = "EndpointArn")] pub endpoint_arn: String, } #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct UpdateEndpointWeightsAndCapacitiesInput { /// <p>An object that provides new capacity and weight values for a variant.</p> #[serde(rename = "DesiredWeightsAndCapacities")] pub desired_weights_and_capacities: Vec<DesiredWeightAndCapacity>, /// <p>The name of an existing Amazon SageMaker endpoint.</p> #[serde(rename = "EndpointName")] pub endpoint_name: String, } #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct UpdateEndpointWeightsAndCapacitiesOutput { /// <p>The Amazon Resource Name (ARN) of the updated endpoint.</p> #[serde(rename = "EndpointArn")] pub endpoint_arn: String, } #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct UpdateExperimentRequest { /// <p>The description of the experiment.</p> #[serde(rename = "Description")] #[serde(skip_serializing_if = "Option::is_none")] pub description: Option<String>, /// <p>The name of the experiment as displayed. The name doesn't need to be unique. If <code>DisplayName</code> isn't specified, <code>ExperimentName</code> is displayed.</p> #[serde(rename = "DisplayName")] #[serde(skip_serializing_if = "Option::is_none")] pub display_name: Option<String>, /// <p>The name of the experiment to update.</p> #[serde(rename = "ExperimentName")] pub experiment_name: String, } #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct UpdateExperimentResponse { /// <p>The Amazon Resource Name (ARN) of the experiment.</p> #[serde(rename = "ExperimentArn")] #[serde(skip_serializing_if = "Option::is_none")] pub experiment_arn: Option<String>, } #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct UpdateMonitoringScheduleRequest { /// <p>The configuration object that specifies the monitoring schedule and defines the monitoring job.</p> #[serde(rename = "MonitoringScheduleConfig")] pub monitoring_schedule_config: MonitoringScheduleConfig, /// <p>The name of the monitoring schedule. The name must be unique within an AWS Region within an AWS account.</p> #[serde(rename = "MonitoringScheduleName")] pub monitoring_schedule_name: String, } #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct UpdateMonitoringScheduleResponse { /// <p>The Amazon Resource Name (ARN) of the monitoring schedule.</p> #[serde(rename = "MonitoringScheduleArn")] pub monitoring_schedule_arn: String, } #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct UpdateNotebookInstanceInput { /// <p>A list of the Elastic Inference (EI) instance types to associate with this notebook instance. Currently only one EI instance type can be associated with a notebook instance. For more information, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/ei.html">Using Elastic Inference in Amazon SageMaker</a>.</p> #[serde(rename = "AcceleratorTypes")] #[serde(skip_serializing_if = "Option::is_none")] pub accelerator_types: Option<Vec<String>>, /// <p>An array of up to three Git repositories to associate with the notebook instance. These can be either the names of Git repositories stored as resources in your account, or the URL of Git repositories in <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html">AWS CodeCommit</a> or in any other Git repository. These repositories are cloned at the same level as the default repository of your notebook instance. For more information, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/nbi-git-repo.html">Associating Git Repositories with Amazon SageMaker Notebook Instances</a>.</p> #[serde(rename = "AdditionalCodeRepositories")] #[serde(skip_serializing_if = "Option::is_none")] pub additional_code_repositories: Option<Vec<String>>, /// <p>The Git repository to associate with the notebook instance as its default code repository. This can be either the name of a Git repository stored as a resource in your account, or the URL of a Git repository in <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html">AWS CodeCommit</a> or in any other Git repository. When you open a notebook instance, it opens in the directory that contains this repository. For more information, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/nbi-git-repo.html">Associating Git Repositories with Amazon SageMaker Notebook Instances</a>.</p> #[serde(rename = "DefaultCodeRepository")] #[serde(skip_serializing_if = "Option::is_none")] pub default_code_repository: Option<String>, /// <p>A list of the Elastic Inference (EI) instance types to remove from this notebook instance. This operation is idempotent. If you specify an accelerator type that is not associated with the notebook instance when you call this method, it does not throw an error.</p> #[serde(rename = "DisassociateAcceleratorTypes")] #[serde(skip_serializing_if = "Option::is_none")] pub disassociate_accelerator_types: Option<bool>, /// <p>A list of names or URLs of the default Git repositories to remove from this notebook instance. This operation is idempotent. If you specify a Git repository that is not associated with the notebook instance when you call this method, it does not throw an error.</p> #[serde(rename = "DisassociateAdditionalCodeRepositories")] #[serde(skip_serializing_if = "Option::is_none")] pub disassociate_additional_code_repositories: Option<bool>, /// <p>The name or URL of the default Git repository to remove from this notebook instance. This operation is idempotent. If you specify a Git repository that is not associated with the notebook instance when you call this method, it does not throw an error.</p> #[serde(rename = "DisassociateDefaultCodeRepository")] #[serde(skip_serializing_if = "Option::is_none")] pub disassociate_default_code_repository: Option<bool>, /// <p>Set to <code>true</code> to remove the notebook instance lifecycle configuration currently associated with the notebook instance. This operation is idempotent. If you specify a lifecycle configuration that is not associated with the notebook instance when you call this method, it does not throw an error.</p> #[serde(rename = "DisassociateLifecycleConfig")] #[serde(skip_serializing_if = "Option::is_none")] pub disassociate_lifecycle_config: Option<bool>, /// <p>The Amazon ML compute instance type.</p> #[serde(rename = "InstanceType")] #[serde(skip_serializing_if = "Option::is_none")] pub instance_type: Option<String>, /// <p>The name of a lifecycle configuration to associate with the notebook instance. For information about lifestyle configurations, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/notebook-lifecycle-config.html">Step 2.1: (Optional) Customize a Notebook Instance</a>.</p> #[serde(rename = "LifecycleConfigName")] #[serde(skip_serializing_if = "Option::is_none")] pub lifecycle_config_name: Option<String>, /// <p>The name of the notebook instance to update.</p> #[serde(rename = "NotebookInstanceName")] pub notebook_instance_name: String, /// <p><p>The Amazon Resource Name (ARN) of the IAM role that Amazon SageMaker can assume to access the notebook instance. For more information, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/sagemaker-roles.html">Amazon SageMaker Roles</a>. </p> <note> <p>To be able to pass this role to Amazon SageMaker, the caller of this API must have the <code>iam:PassRole</code> permission.</p> </note></p> #[serde(rename = "RoleArn")] #[serde(skip_serializing_if = "Option::is_none")] pub role_arn: Option<String>, /// <p><p>Whether root access is enabled or disabled for users of the notebook instance. The default value is <code>Enabled</code>.</p> <note> <p>If you set this to <code>Disabled</code>, users don't have root access on the notebook instance, but lifecycle configuration scripts still run with root permissions.</p> </note></p> #[serde(rename = "RootAccess")] #[serde(skip_serializing_if = "Option::is_none")] pub root_access: Option<String>, /// <p>The size, in GB, of the ML storage volume to attach to the notebook instance. The default value is 5 GB. ML storage volumes are encrypted, so Amazon SageMaker can't determine the amount of available free space on the volume. Because of this, you can increase the volume size when you update a notebook instance, but you can't decrease the volume size. If you want to decrease the size of the ML storage volume in use, create a new notebook instance with the desired size.</p> #[serde(rename = "VolumeSizeInGB")] #[serde(skip_serializing_if = "Option::is_none")] pub volume_size_in_gb: Option<i64>, } #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct UpdateNotebookInstanceLifecycleConfigInput { /// <p>The name of the lifecycle configuration.</p> #[serde(rename = "NotebookInstanceLifecycleConfigName")] pub notebook_instance_lifecycle_config_name: String, /// <p>The shell script that runs only once, when you create a notebook instance. The shell script must be a base64-encoded string.</p> #[serde(rename = "OnCreate")] #[serde(skip_serializing_if = "Option::is_none")] pub on_create: Option<Vec<NotebookInstanceLifecycleHook>>, /// <p>The shell script that runs every time you start a notebook instance, including when you create the notebook instance. The shell script must be a base64-encoded string.</p> #[serde(rename = "OnStart")] #[serde(skip_serializing_if = "Option::is_none")] pub on_start: Option<Vec<NotebookInstanceLifecycleHook>>, } #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct UpdateNotebookInstanceLifecycleConfigOutput {} #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct UpdateNotebookInstanceOutput {} #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct UpdateTrialComponentRequest { /// <p>The name of the component as displayed. The name doesn't need to be unique. If <code>DisplayName</code> isn't specified, <code>TrialComponentName</code> is displayed.</p> #[serde(rename = "DisplayName")] #[serde(skip_serializing_if = "Option::is_none")] pub display_name: Option<String>, /// <p>When the component ended.</p> #[serde(rename = "EndTime")] #[serde(skip_serializing_if = "Option::is_none")] pub end_time: Option<f64>, /// <p>Replaces all of the component's input artifacts with the specified artifacts.</p> #[serde(rename = "InputArtifacts")] #[serde(skip_serializing_if = "Option::is_none")] pub input_artifacts: Option<::std::collections::HashMap<String, TrialComponentArtifact>>, /// <p>The input artifacts to remove from the component.</p> #[serde(rename = "InputArtifactsToRemove")] #[serde(skip_serializing_if = "Option::is_none")] pub input_artifacts_to_remove: Option<Vec<String>>, /// <p>Replaces all of the component's output artifacts with the specified artifacts.</p> #[serde(rename = "OutputArtifacts")] #[serde(skip_serializing_if = "Option::is_none")] pub output_artifacts: Option<::std::collections::HashMap<String, TrialComponentArtifact>>, /// <p>The output artifacts to remove from the component.</p> #[serde(rename = "OutputArtifactsToRemove")] #[serde(skip_serializing_if = "Option::is_none")] pub output_artifacts_to_remove: Option<Vec<String>>, /// <p>Replaces all of the component's hyperparameters with the specified hyperparameters.</p> #[serde(rename = "Parameters")] #[serde(skip_serializing_if = "Option::is_none")] pub parameters: Option<::std::collections::HashMap<String, TrialComponentParameterValue>>, /// <p>The hyperparameters to remove from the component.</p> #[serde(rename = "ParametersToRemove")] #[serde(skip_serializing_if = "Option::is_none")] pub parameters_to_remove: Option<Vec<String>>, /// <p>When the component started.</p> #[serde(rename = "StartTime")] #[serde(skip_serializing_if = "Option::is_none")] pub start_time: Option<f64>, /// <p>The new status of the component.</p> #[serde(rename = "Status")] #[serde(skip_serializing_if = "Option::is_none")] pub status: Option<TrialComponentStatus>, /// <p>The name of the component to update.</p> #[serde(rename = "TrialComponentName")] pub trial_component_name: String, } #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct UpdateTrialComponentResponse { /// <p>The Amazon Resource Name (ARN) of the trial component.</p> #[serde(rename = "TrialComponentArn")] #[serde(skip_serializing_if = "Option::is_none")] pub trial_component_arn: Option<String>, } #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct UpdateTrialRequest { /// <p>The name of the trial as displayed. The name doesn't need to be unique. If <code>DisplayName</code> isn't specified, <code>TrialName</code> is displayed.</p> #[serde(rename = "DisplayName")] #[serde(skip_serializing_if = "Option::is_none")] pub display_name: Option<String>, /// <p>The name of the trial to update.</p> #[serde(rename = "TrialName")] pub trial_name: String, } #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct UpdateTrialResponse { /// <p>The Amazon Resource Name (ARN) of the trial.</p> #[serde(rename = "TrialArn")] #[serde(skip_serializing_if = "Option::is_none")] pub trial_arn: Option<String>, } #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct UpdateUserProfileRequest { /// <p>The domain ID.</p> #[serde(rename = "DomainId")] pub domain_id: String, /// <p>The user profile name.</p> #[serde(rename = "UserProfileName")] pub user_profile_name: String, /// <p>A collection of settings.</p> #[serde(rename = "UserSettings")] #[serde(skip_serializing_if = "Option::is_none")] pub user_settings: Option<UserSettings>, } #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct UpdateUserProfileResponse { /// <p>The user profile Amazon Resource Name (ARN).</p> #[serde(rename = "UserProfileArn")] #[serde(skip_serializing_if = "Option::is_none")] pub user_profile_arn: Option<String>, } #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct UpdateWorkforceRequest { /// <p>A list of one to ten worker IP address ranges (<a href="https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Subnets.html">CIDRs</a>) that can be used to access tasks assigned to this workforce.</p> <p>Maximum: Ten CIDR values</p> #[serde(rename = "SourceIpConfig")] #[serde(skip_serializing_if = "Option::is_none")] pub source_ip_config: Option<SourceIpConfig>, /// <p>The name of the private workforce whose access you want to restrict. <code>WorkforceName</code> is automatically set to <code>default</code> when a workforce is created and cannot be modified. </p> #[serde(rename = "WorkforceName")] pub workforce_name: String, } #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct UpdateWorkforceResponse { /// <p>A single private workforce, which is automatically created when you create your first private work team. You can create one private work force in each AWS Region. By default, any workforce-related API operation used in a specific region will apply to the workforce created in that region. To learn how to create a private workforce, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/sms-workforce-create-private.html">Create a Private Workforce</a>.</p> #[serde(rename = "Workforce")] pub workforce: Workforce, } #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct UpdateWorkteamRequest { /// <p>An updated description for the work team.</p> #[serde(rename = "Description")] #[serde(skip_serializing_if = "Option::is_none")] pub description: Option<String>, /// <p>A list of <code>MemberDefinition</code> objects that contain the updated work team members.</p> #[serde(rename = "MemberDefinitions")] #[serde(skip_serializing_if = "Option::is_none")] pub member_definitions: Option<Vec<MemberDefinition>>, /// <p>Configures SNS topic notifications for available or expiring work items</p> #[serde(rename = "NotificationConfiguration")] #[serde(skip_serializing_if = "Option::is_none")] pub notification_configuration: Option<NotificationConfiguration>, /// <p>The name of the work team to update.</p> #[serde(rename = "WorkteamName")] pub workteam_name: String, } #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct UpdateWorkteamResponse { /// <p>A <code>Workteam</code> object that describes the updated work team.</p> #[serde(rename = "Workteam")] pub workteam: Workteam, } /// <p>Information about the user who created or modified an experiment, trial, or trial component.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct UserContext { /// <p>The domain associated with the user.</p> #[serde(rename = "DomainId")] #[serde(skip_serializing_if = "Option::is_none")] pub domain_id: Option<String>, /// <p>The Amazon Resource Name (ARN) of the user's profile.</p> #[serde(rename = "UserProfileArn")] #[serde(skip_serializing_if = "Option::is_none")] pub user_profile_arn: Option<String>, /// <p>The name of the user's profile.</p> #[serde(rename = "UserProfileName")] #[serde(skip_serializing_if = "Option::is_none")] pub user_profile_name: Option<String>, } /// <p>The user profile details.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct UserProfileDetails { /// <p>The creation time.</p> #[serde(rename = "CreationTime")] #[serde(skip_serializing_if = "Option::is_none")] pub creation_time: Option<f64>, /// <p>The domain ID.</p> #[serde(rename = "DomainId")] #[serde(skip_serializing_if = "Option::is_none")] pub domain_id: Option<String>, /// <p>The last modified time.</p> #[serde(rename = "LastModifiedTime")] #[serde(skip_serializing_if = "Option::is_none")] pub last_modified_time: Option<f64>, /// <p>The status.</p> #[serde(rename = "Status")] #[serde(skip_serializing_if = "Option::is_none")] pub status: Option<String>, /// <p>The user profile name.</p> #[serde(rename = "UserProfileName")] #[serde(skip_serializing_if = "Option::is_none")] pub user_profile_name: Option<String>, } /// <p>A collection of settings.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq, Serialize)] pub struct UserSettings { /// <p>The execution role for the user.</p> #[serde(rename = "ExecutionRole")] #[serde(skip_serializing_if = "Option::is_none")] pub execution_role: Option<String>, /// <p>The Jupyter server's app settings.</p> #[serde(rename = "JupyterServerAppSettings")] #[serde(skip_serializing_if = "Option::is_none")] pub jupyter_server_app_settings: Option<JupyterServerAppSettings>, /// <p>The kernel gateway app settings.</p> #[serde(rename = "KernelGatewayAppSettings")] #[serde(skip_serializing_if = "Option::is_none")] pub kernel_gateway_app_settings: Option<KernelGatewayAppSettings>, /// <p>The security groups.</p> #[serde(rename = "SecurityGroups")] #[serde(skip_serializing_if = "Option::is_none")] pub security_groups: Option<Vec<String>>, /// <p>The sharing settings.</p> #[serde(rename = "SharingSettings")] #[serde(skip_serializing_if = "Option::is_none")] pub sharing_settings: Option<SharingSettings>, /// <p>The TensorBoard app settings.</p> #[serde(rename = "TensorBoardAppSettings")] #[serde(skip_serializing_if = "Option::is_none")] pub tensor_board_app_settings: Option<TensorBoardAppSettings>, } /// <p>Specifies a production variant property type for an Endpoint.</p> <p>If you are updating an endpoint with the <a>UpdateEndpointInput$RetainAllVariantProperties</a> option set to <code>true</code>, the <code>VariantProperty</code> objects listed in <a>UpdateEndpointInput$ExcludeRetainedVariantProperties</a> override the existing variant properties of the endpoint.</p> #[derive(Clone, Debug, Default, PartialEq, Serialize)] #[cfg_attr(feature = "deserialize_structs", derive(Deserialize))] pub struct VariantProperty { /// <p><p>The type of variant property. The supported values are:</p> <ul> <li> <p> <code>DesiredInstanceCount</code>: Overrides the existing variant instance counts using the <a>ProductionVariant$InitialInstanceCount</a> values in the <a>CreateEndpointConfigInput$ProductionVariants</a>.</p> </li> <li> <p> <code>DesiredWeight</code>: Overrides the existing variant weights using the <a>ProductionVariant$InitialVariantWeight</a> values in the <a>CreateEndpointConfigInput$ProductionVariants</a>.</p> </li> <li> <p> <code>DataCaptureConfig</code>: (Not currently supported.)</p> </li> </ul></p> #[serde(rename = "VariantPropertyType")] pub variant_property_type: String, } /// <p>Specifies a VPC that your training jobs and hosted models have access to. Control access to and from your training and model containers by configuring the VPC. For more information, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/host-vpc.html">Protect Endpoints by Using an Amazon Virtual Private Cloud</a> and <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/train-vpc.html">Protect Training Jobs by Using an Amazon Virtual Private Cloud</a>. </p> #[derive(Clone, Debug, Default, Deserialize, PartialEq, Serialize)] pub struct VpcConfig { /// <p>The VPC security group IDs, in the form sg-xxxxxxxx. Specify the security groups for the VPC that is specified in the <code>Subnets</code> field.</p> #[serde(rename = "SecurityGroupIds")] pub security_group_ids: Vec<String>, /// <p>The ID of the subnets in the VPC to which you want to connect your training job or model. For information about the availability of specific instance types, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/instance-types-az.html">Supported Instance Types and Availability Zones</a>.</p> #[serde(rename = "Subnets")] pub subnets: Vec<String>, } /// <p>A single private workforce, which is automatically created when you create your first private work team. You can create one private work force in each AWS Region. By default, any workforce-related API operation used in a specific region will apply to the workforce created in that region. To learn how to create a private workforce, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/sms-workforce-create-private.html">Create a Private Workforce</a>.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct Workforce { /// <p>The most recent date that was used to successfully add one or more IP address ranges (<a href="https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Subnets.html">CIDRs</a>) to a private workforce's allow list.</p> #[serde(rename = "LastUpdatedDate")] #[serde(skip_serializing_if = "Option::is_none")] pub last_updated_date: Option<f64>, /// <p>A list of one to ten IP address ranges (<a href="https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Subnets.html">CIDRs</a>) to be added to the workforce allow list.</p> #[serde(rename = "SourceIpConfig")] #[serde(skip_serializing_if = "Option::is_none")] pub source_ip_config: Option<SourceIpConfig>, /// <p>The Amazon Resource Name (ARN) of the private workforce.</p> #[serde(rename = "WorkforceArn")] pub workforce_arn: String, /// <p>The name of the private workforce whose access you want to restrict. <code>WorkforceName</code> is automatically set to <code>default</code> when a workforce is created and cannot be modified. </p> #[serde(rename = "WorkforceName")] pub workforce_name: String, } /// <p>Provides details about a labeling work team.</p> #[derive(Clone, Debug, Default, Deserialize, PartialEq)] #[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))] pub struct Workteam { /// <p>The date and time that the work team was created (timestamp).</p> #[serde(rename = "CreateDate")] #[serde(skip_serializing_if = "Option::is_none")] pub create_date: Option<f64>, /// <p>A description of the work team.</p> #[serde(rename = "Description")] pub description: String, /// <p>The date and time that the work team was last updated (timestamp).</p> #[serde(rename = "LastUpdatedDate")] #[serde(skip_serializing_if = "Option::is_none")] pub last_updated_date: Option<f64>, /// <p>The Amazon Cognito user groups that make up the work team.</p> #[serde(rename = "MemberDefinitions")] pub member_definitions: Vec<MemberDefinition>, /// <p>Configures SNS notifications of available or expiring work items for work teams.</p> #[serde(rename = "NotificationConfiguration")] #[serde(skip_serializing_if = "Option::is_none")] pub notification_configuration: Option<NotificationConfiguration>, /// <p>The Amazon Marketplace identifier for a vendor's work team.</p> #[serde(rename = "ProductListingIds")] #[serde(skip_serializing_if = "Option::is_none")] pub product_listing_ids: Option<Vec<String>>, /// <p>The URI of the labeling job's user interface. Workers open this URI to start labeling your data objects.</p> #[serde(rename = "SubDomain")] #[serde(skip_serializing_if = "Option::is_none")] pub sub_domain: Option<String>, /// <p>The Amazon Resource Name (ARN) that identifies the work team.</p> #[serde(rename = "WorkteamArn")] pub workteam_arn: String, /// <p>The name of the work team.</p> #[serde(rename = "WorkteamName")] pub workteam_name: String, } /// Errors returned by AddTags #[derive(Debug, PartialEq)] pub enum AddTagsError {} impl AddTagsError { pub fn from_response(res: BufferedHttpResponse) -> RusotoError<AddTagsError> { if let Some(err) = proto::json::Error::parse(&res) { match err.typ.as_str() { "ValidationException" => return RusotoError::Validation(err.msg), _ => {} } } RusotoError::Unknown(res) } } impl fmt::Display for AddTagsError { #[allow(unused_variables)] fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match *self {} } } impl Error for AddTagsError {} /// Errors returned by AssociateTrialComponent #[derive(Debug, PartialEq)] pub enum AssociateTrialComponentError { /// <p> You have exceeded an Amazon SageMaker resource limit. For example, you might have too many training jobs created. </p> ResourceLimitExceeded(String), /// <p>Resource being access is not found.</p> ResourceNotFound(String), } impl AssociateTrialComponentError { pub fn from_response(res: BufferedHttpResponse) -> RusotoError<AssociateTrialComponentError> { if let Some(err) = proto::json::Error::parse(&res) { match err.typ.as_str() { "ResourceLimitExceeded" => { return RusotoError::Service( AssociateTrialComponentError::ResourceLimitExceeded(err.msg), ) } "ResourceNotFound" => { return RusotoError::Service(AssociateTrialComponentError::ResourceNotFound( err.msg, )) } "ValidationException" => return RusotoError::Validation(err.msg), _ => {} } } RusotoError::Unknown(res) } } impl fmt::Display for AssociateTrialComponentError { #[allow(unused_variables)] fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match *self { AssociateTrialComponentError::ResourceLimitExceeded(ref cause) => { write!(f, "{}", cause) } AssociateTrialComponentError::ResourceNotFound(ref cause) => write!(f, "{}", cause), } } } impl Error for AssociateTrialComponentError {} /// Errors returned by CreateAlgorithm #[derive(Debug, PartialEq)] pub enum CreateAlgorithmError {} impl CreateAlgorithmError { pub fn from_response(res: BufferedHttpResponse) -> RusotoError<CreateAlgorithmError> { if let Some(err) = proto::json::Error::parse(&res) { match err.typ.as_str() { "ValidationException" => return RusotoError::Validation(err.msg), _ => {} } } RusotoError::Unknown(res) } } impl fmt::Display for CreateAlgorithmError { #[allow(unused_variables)] fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match *self {} } } impl Error for CreateAlgorithmError {} /// Errors returned by CreateApp #[derive(Debug, PartialEq)] pub enum CreateAppError { /// <p>Resource being accessed is in use.</p> ResourceInUse(String), /// <p> You have exceeded an Amazon SageMaker resource limit. For example, you might have too many training jobs created. </p> ResourceLimitExceeded(String), } impl CreateAppError { pub fn from_response(res: BufferedHttpResponse) -> RusotoError<CreateAppError> { if let Some(err) = proto::json::Error::parse(&res) { match err.typ.as_str() { "ResourceInUse" => { return RusotoError::Service(CreateAppError::ResourceInUse(err.msg)) } "ResourceLimitExceeded" => { return RusotoError::Service(CreateAppError::ResourceLimitExceeded(err.msg)) } "ValidationException" => return RusotoError::Validation(err.msg), _ => {} } } RusotoError::Unknown(res) } } impl fmt::Display for CreateAppError { #[allow(unused_variables)] fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match *self { CreateAppError::ResourceInUse(ref cause) => write!(f, "{}", cause), CreateAppError::ResourceLimitExceeded(ref cause) => write!(f, "{}", cause), } } } impl Error for CreateAppError {} /// Errors returned by CreateAutoMLJob #[derive(Debug, PartialEq)] pub enum CreateAutoMLJobError { /// <p>Resource being accessed is in use.</p> ResourceInUse(String), /// <p> You have exceeded an Amazon SageMaker resource limit. For example, you might have too many training jobs created. </p> ResourceLimitExceeded(String), } impl CreateAutoMLJobError { pub fn from_response(res: BufferedHttpResponse) -> RusotoError<CreateAutoMLJobError> { if let Some(err) = proto::json::Error::parse(&res) { match err.typ.as_str() { "ResourceInUse" => { return RusotoError::Service(CreateAutoMLJobError::ResourceInUse(err.msg)) } "ResourceLimitExceeded" => { return RusotoError::Service(CreateAutoMLJobError::ResourceLimitExceeded( err.msg, )) } "ValidationException" => return RusotoError::Validation(err.msg), _ => {} } } RusotoError::Unknown(res) } } impl fmt::Display for CreateAutoMLJobError { #[allow(unused_variables)] fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match *self { CreateAutoMLJobError::ResourceInUse(ref cause) => write!(f, "{}", cause), CreateAutoMLJobError::ResourceLimitExceeded(ref cause) => write!(f, "{}", cause), } } } impl Error for CreateAutoMLJobError {} /// Errors returned by CreateCodeRepository #[derive(Debug, PartialEq)] pub enum CreateCodeRepositoryError {} impl CreateCodeRepositoryError { pub fn from_response(res: BufferedHttpResponse) -> RusotoError<CreateCodeRepositoryError> { if let Some(err) = proto::json::Error::parse(&res) { match err.typ.as_str() { "ValidationException" => return RusotoError::Validation(err.msg), _ => {} } } RusotoError::Unknown(res) } } impl fmt::Display for CreateCodeRepositoryError { #[allow(unused_variables)] fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match *self {} } } impl Error for CreateCodeRepositoryError {} /// Errors returned by CreateCompilationJob #[derive(Debug, PartialEq)] pub enum CreateCompilationJobError { /// <p>Resource being accessed is in use.</p> ResourceInUse(String), /// <p> You have exceeded an Amazon SageMaker resource limit. For example, you might have too many training jobs created. </p> ResourceLimitExceeded(String), } impl CreateCompilationJobError { pub fn from_response(res: BufferedHttpResponse) -> RusotoError<CreateCompilationJobError> { if let Some(err) = proto::json::Error::parse(&res) { match err.typ.as_str() { "ResourceInUse" => { return RusotoError::Service(CreateCompilationJobError::ResourceInUse(err.msg)) } "ResourceLimitExceeded" => { return RusotoError::Service(CreateCompilationJobError::ResourceLimitExceeded( err.msg, )) } "ValidationException" => return RusotoError::Validation(err.msg), _ => {} } } RusotoError::Unknown(res) } } impl fmt::Display for CreateCompilationJobError { #[allow(unused_variables)] fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match *self { CreateCompilationJobError::ResourceInUse(ref cause) => write!(f, "{}", cause), CreateCompilationJobError::ResourceLimitExceeded(ref cause) => write!(f, "{}", cause), } } } impl Error for CreateCompilationJobError {} /// Errors returned by CreateDomain #[derive(Debug, PartialEq)] pub enum CreateDomainError { /// <p>Resource being accessed is in use.</p> ResourceInUse(String), /// <p> You have exceeded an Amazon SageMaker resource limit. For example, you might have too many training jobs created. </p> ResourceLimitExceeded(String), } impl CreateDomainError { pub fn from_response(res: BufferedHttpResponse) -> RusotoError<CreateDomainError> { if let Some(err) = proto::json::Error::parse(&res) { match err.typ.as_str() { "ResourceInUse" => { return RusotoError::Service(CreateDomainError::ResourceInUse(err.msg)) } "ResourceLimitExceeded" => { return RusotoError::Service(CreateDomainError::ResourceLimitExceeded(err.msg)) } "ValidationException" => return RusotoError::Validation(err.msg), _ => {} } } RusotoError::Unknown(res) } } impl fmt::Display for CreateDomainError { #[allow(unused_variables)] fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match *self { CreateDomainError::ResourceInUse(ref cause) => write!(f, "{}", cause), CreateDomainError::ResourceLimitExceeded(ref cause) => write!(f, "{}", cause), } } } impl Error for CreateDomainError {} /// Errors returned by CreateEndpoint #[derive(Debug, PartialEq)] pub enum CreateEndpointError { /// <p> You have exceeded an Amazon SageMaker resource limit. For example, you might have too many training jobs created. </p> ResourceLimitExceeded(String), } impl CreateEndpointError { pub fn from_response(res: BufferedHttpResponse) -> RusotoError<CreateEndpointError> { if let Some(err) = proto::json::Error::parse(&res) { match err.typ.as_str() { "ResourceLimitExceeded" => { return RusotoError::Service(CreateEndpointError::ResourceLimitExceeded( err.msg, )) } "ValidationException" => return RusotoError::Validation(err.msg), _ => {} } } RusotoError::Unknown(res) } } impl fmt::Display for CreateEndpointError { #[allow(unused_variables)] fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match *self { CreateEndpointError::ResourceLimitExceeded(ref cause) => write!(f, "{}", cause), } } } impl Error for CreateEndpointError {} /// Errors returned by CreateEndpointConfig #[derive(Debug, PartialEq)] pub enum CreateEndpointConfigError { /// <p> You have exceeded an Amazon SageMaker resource limit. For example, you might have too many training jobs created. </p> ResourceLimitExceeded(String), } impl CreateEndpointConfigError { pub fn from_response(res: BufferedHttpResponse) -> RusotoError<CreateEndpointConfigError> { if let Some(err) = proto::json::Error::parse(&res) { match err.typ.as_str() { "ResourceLimitExceeded" => { return RusotoError::Service(CreateEndpointConfigError::ResourceLimitExceeded( err.msg, )) } "ValidationException" => return RusotoError::Validation(err.msg), _ => {} } } RusotoError::Unknown(res) } } impl fmt::Display for CreateEndpointConfigError { #[allow(unused_variables)] fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match *self { CreateEndpointConfigError::ResourceLimitExceeded(ref cause) => write!(f, "{}", cause), } } } impl Error for CreateEndpointConfigError {} /// Errors returned by CreateExperiment #[derive(Debug, PartialEq)] pub enum CreateExperimentError { /// <p> You have exceeded an Amazon SageMaker resource limit. For example, you might have too many training jobs created. </p> ResourceLimitExceeded(String), } impl CreateExperimentError { pub fn from_response(res: BufferedHttpResponse) -> RusotoError<CreateExperimentError> { if let Some(err) = proto::json::Error::parse(&res) { match err.typ.as_str() { "ResourceLimitExceeded" => { return RusotoError::Service(CreateExperimentError::ResourceLimitExceeded( err.msg, )) } "ValidationException" => return RusotoError::Validation(err.msg), _ => {} } } RusotoError::Unknown(res) } } impl fmt::Display for CreateExperimentError { #[allow(unused_variables)] fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match *self { CreateExperimentError::ResourceLimitExceeded(ref cause) => write!(f, "{}", cause), } } } impl Error for CreateExperimentError {} /// Errors returned by CreateFlowDefinition #[derive(Debug, PartialEq)] pub enum CreateFlowDefinitionError { /// <p>Resource being accessed is in use.</p> ResourceInUse(String), /// <p> You have exceeded an Amazon SageMaker resource limit. For example, you might have too many training jobs created. </p> ResourceLimitExceeded(String), } impl CreateFlowDefinitionError { pub fn from_response(res: BufferedHttpResponse) -> RusotoError<CreateFlowDefinitionError> { if let Some(err) = proto::json::Error::parse(&res) { match err.typ.as_str() { "ResourceInUse" => { return RusotoError::Service(CreateFlowDefinitionError::ResourceInUse(err.msg)) } "ResourceLimitExceeded" => { return RusotoError::Service(CreateFlowDefinitionError::ResourceLimitExceeded( err.msg, )) } "ValidationException" => return RusotoError::Validation(err.msg), _ => {} } } RusotoError::Unknown(res) } } impl fmt::Display for CreateFlowDefinitionError { #[allow(unused_variables)] fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match *self { CreateFlowDefinitionError::ResourceInUse(ref cause) => write!(f, "{}", cause), CreateFlowDefinitionError::ResourceLimitExceeded(ref cause) => write!(f, "{}", cause), } } } impl Error for CreateFlowDefinitionError {} /// Errors returned by CreateHumanTaskUi #[derive(Debug, PartialEq)] pub enum CreateHumanTaskUiError { /// <p>Resource being accessed is in use.</p> ResourceInUse(String), /// <p> You have exceeded an Amazon SageMaker resource limit. For example, you might have too many training jobs created. </p> ResourceLimitExceeded(String), } impl CreateHumanTaskUiError { pub fn from_response(res: BufferedHttpResponse) -> RusotoError<CreateHumanTaskUiError> { if let Some(err) = proto::json::Error::parse(&res) { match err.typ.as_str() { "ResourceInUse" => { return RusotoError::Service(CreateHumanTaskUiError::ResourceInUse(err.msg)) } "ResourceLimitExceeded" => { return RusotoError::Service(CreateHumanTaskUiError::ResourceLimitExceeded( err.msg, )) } "ValidationException" => return RusotoError::Validation(err.msg), _ => {} } } RusotoError::Unknown(res) } } impl fmt::Display for CreateHumanTaskUiError { #[allow(unused_variables)] fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match *self { CreateHumanTaskUiError::ResourceInUse(ref cause) => write!(f, "{}", cause), CreateHumanTaskUiError::ResourceLimitExceeded(ref cause) => write!(f, "{}", cause), } } } impl Error for CreateHumanTaskUiError {} /// Errors returned by CreateHyperParameterTuningJob #[derive(Debug, PartialEq)] pub enum CreateHyperParameterTuningJobError { /// <p>Resource being accessed is in use.</p> ResourceInUse(String), /// <p> You have exceeded an Amazon SageMaker resource limit. For example, you might have too many training jobs created. </p> ResourceLimitExceeded(String), } impl CreateHyperParameterTuningJobError { pub fn from_response( res: BufferedHttpResponse, ) -> RusotoError<CreateHyperParameterTuningJobError> { if let Some(err) = proto::json::Error::parse(&res) { match err.typ.as_str() { "ResourceInUse" => { return RusotoError::Service(CreateHyperParameterTuningJobError::ResourceInUse( err.msg, )) } "ResourceLimitExceeded" => { return RusotoError::Service( CreateHyperParameterTuningJobError::ResourceLimitExceeded(err.msg), ) } "ValidationException" => return RusotoError::Validation(err.msg), _ => {} } } RusotoError::Unknown(res) } } impl fmt::Display for CreateHyperParameterTuningJobError { #[allow(unused_variables)] fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match *self { CreateHyperParameterTuningJobError::ResourceInUse(ref cause) => write!(f, "{}", cause), CreateHyperParameterTuningJobError::ResourceLimitExceeded(ref cause) => { write!(f, "{}", cause) } } } } impl Error for CreateHyperParameterTuningJobError {} /// Errors returned by CreateLabelingJob #[derive(Debug, PartialEq)] pub enum CreateLabelingJobError { /// <p>Resource being accessed is in use.</p> ResourceInUse(String), /// <p> You have exceeded an Amazon SageMaker resource limit. For example, you might have too many training jobs created. </p> ResourceLimitExceeded(String), } impl CreateLabelingJobError { pub fn from_response(res: BufferedHttpResponse) -> RusotoError<CreateLabelingJobError> { if let Some(err) = proto::json::Error::parse(&res) { match err.typ.as_str() { "ResourceInUse" => { return RusotoError::Service(CreateLabelingJobError::ResourceInUse(err.msg)) } "ResourceLimitExceeded" => { return RusotoError::Service(CreateLabelingJobError::ResourceLimitExceeded( err.msg, )) } "ValidationException" => return RusotoError::Validation(err.msg), _ => {} } } RusotoError::Unknown(res) } } impl fmt::Display for CreateLabelingJobError { #[allow(unused_variables)] fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match *self { CreateLabelingJobError::ResourceInUse(ref cause) => write!(f, "{}", cause), CreateLabelingJobError::ResourceLimitExceeded(ref cause) => write!(f, "{}", cause), } } } impl Error for CreateLabelingJobError {} /// Errors returned by CreateModel #[derive(Debug, PartialEq)] pub enum CreateModelError { /// <p> You have exceeded an Amazon SageMaker resource limit. For example, you might have too many training jobs created. </p> ResourceLimitExceeded(String), } impl CreateModelError { pub fn from_response(res: BufferedHttpResponse) -> RusotoError<CreateModelError> { if let Some(err) = proto::json::Error::parse(&res) { match err.typ.as_str() { "ResourceLimitExceeded" => { return RusotoError::Service(CreateModelError::ResourceLimitExceeded(err.msg)) } "ValidationException" => return RusotoError::Validation(err.msg), _ => {} } } RusotoError::Unknown(res) } } impl fmt::Display for CreateModelError { #[allow(unused_variables)] fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match *self { CreateModelError::ResourceLimitExceeded(ref cause) => write!(f, "{}", cause), } } } impl Error for CreateModelError {} /// Errors returned by CreateModelPackage #[derive(Debug, PartialEq)] pub enum CreateModelPackageError {} impl CreateModelPackageError { pub fn from_response(res: BufferedHttpResponse) -> RusotoError<CreateModelPackageError> { if let Some(err) = proto::json::Error::parse(&res) { match err.typ.as_str() { "ValidationException" => return RusotoError::Validation(err.msg), _ => {} } } RusotoError::Unknown(res) } } impl fmt::Display for CreateModelPackageError { #[allow(unused_variables)] fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match *self {} } } impl Error for CreateModelPackageError {} /// Errors returned by CreateMonitoringSchedule #[derive(Debug, PartialEq)] pub enum CreateMonitoringScheduleError { /// <p>Resource being accessed is in use.</p> ResourceInUse(String), /// <p> You have exceeded an Amazon SageMaker resource limit. For example, you might have too many training jobs created. </p> ResourceLimitExceeded(String), } impl CreateMonitoringScheduleError { pub fn from_response(res: BufferedHttpResponse) -> RusotoError<CreateMonitoringScheduleError> { if let Some(err) = proto::json::Error::parse(&res) { match err.typ.as_str() { "ResourceInUse" => { return RusotoError::Service(CreateMonitoringScheduleError::ResourceInUse( err.msg, )) } "ResourceLimitExceeded" => { return RusotoError::Service( CreateMonitoringScheduleError::ResourceLimitExceeded(err.msg), ) } "ValidationException" => return RusotoError::Validation(err.msg), _ => {} } } RusotoError::Unknown(res) } } impl fmt::Display for CreateMonitoringScheduleError { #[allow(unused_variables)] fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match *self { CreateMonitoringScheduleError::ResourceInUse(ref cause) => write!(f, "{}", cause), CreateMonitoringScheduleError::ResourceLimitExceeded(ref cause) => { write!(f, "{}", cause) } } } } impl Error for CreateMonitoringScheduleError {} /// Errors returned by CreateNotebookInstance #[derive(Debug, PartialEq)] pub enum CreateNotebookInstanceError { /// <p> You have exceeded an Amazon SageMaker resource limit. For example, you might have too many training jobs created. </p> ResourceLimitExceeded(String), } impl CreateNotebookInstanceError { pub fn from_response(res: BufferedHttpResponse) -> RusotoError<CreateNotebookInstanceError> { if let Some(err) = proto::json::Error::parse(&res) { match err.typ.as_str() { "ResourceLimitExceeded" => { return RusotoError::Service( CreateNotebookInstanceError::ResourceLimitExceeded(err.msg), ) } "ValidationException" => return RusotoError::Validation(err.msg), _ => {} } } RusotoError::Unknown(res) } } impl fmt::Display for CreateNotebookInstanceError { #[allow(unused_variables)] fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match *self { CreateNotebookInstanceError::ResourceLimitExceeded(ref cause) => write!(f, "{}", cause), } } } impl Error for CreateNotebookInstanceError {} /// Errors returned by CreateNotebookInstanceLifecycleConfig #[derive(Debug, PartialEq)] pub enum CreateNotebookInstanceLifecycleConfigError { /// <p> You have exceeded an Amazon SageMaker resource limit. For example, you might have too many training jobs created. </p> ResourceLimitExceeded(String), } impl CreateNotebookInstanceLifecycleConfigError { pub fn from_response( res: BufferedHttpResponse, ) -> RusotoError<CreateNotebookInstanceLifecycleConfigError> { if let Some(err) = proto::json::Error::parse(&res) { match err.typ.as_str() { "ResourceLimitExceeded" => { return RusotoError::Service( CreateNotebookInstanceLifecycleConfigError::ResourceLimitExceeded(err.msg), ) } "ValidationException" => return RusotoError::Validation(err.msg), _ => {} } } RusotoError::Unknown(res) } } impl fmt::Display for CreateNotebookInstanceLifecycleConfigError { #[allow(unused_variables)] fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match *self { CreateNotebookInstanceLifecycleConfigError::ResourceLimitExceeded(ref cause) => { write!(f, "{}", cause) } } } } impl Error for CreateNotebookInstanceLifecycleConfigError {} /// Errors returned by CreatePresignedDomainUrl #[derive(Debug, PartialEq)] pub enum CreatePresignedDomainUrlError { /// <p>Resource being access is not found.</p> ResourceNotFound(String), } impl CreatePresignedDomainUrlError { pub fn from_response(res: BufferedHttpResponse) -> RusotoError<CreatePresignedDomainUrlError> { if let Some(err) = proto::json::Error::parse(&res) { match err.typ.as_str() { "ResourceNotFound" => { return RusotoError::Service(CreatePresignedDomainUrlError::ResourceNotFound( err.msg, )) } "ValidationException" => return RusotoError::Validation(err.msg), _ => {} } } RusotoError::Unknown(res) } } impl fmt::Display for CreatePresignedDomainUrlError { #[allow(unused_variables)] fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match *self { CreatePresignedDomainUrlError::ResourceNotFound(ref cause) => write!(f, "{}", cause), } } } impl Error for CreatePresignedDomainUrlError {} /// Errors returned by CreatePresignedNotebookInstanceUrl #[derive(Debug, PartialEq)] pub enum CreatePresignedNotebookInstanceUrlError {} impl CreatePresignedNotebookInstanceUrlError { pub fn from_response( res: BufferedHttpResponse, ) -> RusotoError<CreatePresignedNotebookInstanceUrlError> { if let Some(err) = proto::json::Error::parse(&res) { match err.typ.as_str() { "ValidationException" => return RusotoError::Validation(err.msg), _ => {} } } RusotoError::Unknown(res) } } impl fmt::Display for CreatePresignedNotebookInstanceUrlError { #[allow(unused_variables)] fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match *self {} } } impl Error for CreatePresignedNotebookInstanceUrlError {} /// Errors returned by CreateProcessingJob #[derive(Debug, PartialEq)] pub enum CreateProcessingJobError { /// <p>Resource being accessed is in use.</p> ResourceInUse(String), /// <p> You have exceeded an Amazon SageMaker resource limit. For example, you might have too many training jobs created. </p> ResourceLimitExceeded(String), /// <p>Resource being access is not found.</p> ResourceNotFound(String), } impl CreateProcessingJobError { pub fn from_response(res: BufferedHttpResponse) -> RusotoError<CreateProcessingJobError> { if let Some(err) = proto::json::Error::parse(&res) { match err.typ.as_str() { "ResourceInUse" => { return RusotoError::Service(CreateProcessingJobError::ResourceInUse(err.msg)) } "ResourceLimitExceeded" => { return RusotoError::Service(CreateProcessingJobError::ResourceLimitExceeded( err.msg, )) } "ResourceNotFound" => { return RusotoError::Service(CreateProcessingJobError::ResourceNotFound( err.msg, )) } "ValidationException" => return RusotoError::Validation(err.msg), _ => {} } } RusotoError::Unknown(res) } } impl fmt::Display for CreateProcessingJobError { #[allow(unused_variables)] fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match *self { CreateProcessingJobError::ResourceInUse(ref cause) => write!(f, "{}", cause), CreateProcessingJobError::ResourceLimitExceeded(ref cause) => write!(f, "{}", cause), CreateProcessingJobError::ResourceNotFound(ref cause) => write!(f, "{}", cause), } } } impl Error for CreateProcessingJobError {} /// Errors returned by CreateTrainingJob #[derive(Debug, PartialEq)] pub enum CreateTrainingJobError { /// <p>Resource being accessed is in use.</p> ResourceInUse(String), /// <p> You have exceeded an Amazon SageMaker resource limit. For example, you might have too many training jobs created. </p> ResourceLimitExceeded(String), /// <p>Resource being access is not found.</p> ResourceNotFound(String), } impl CreateTrainingJobError { pub fn from_response(res: BufferedHttpResponse) -> RusotoError<CreateTrainingJobError> { if let Some(err) = proto::json::Error::parse(&res) { match err.typ.as_str() { "ResourceInUse" => { return RusotoError::Service(CreateTrainingJobError::ResourceInUse(err.msg)) } "ResourceLimitExceeded" => { return RusotoError::Service(CreateTrainingJobError::ResourceLimitExceeded( err.msg, )) } "ResourceNotFound" => { return RusotoError::Service(CreateTrainingJobError::ResourceNotFound(err.msg)) } "ValidationException" => return RusotoError::Validation(err.msg), _ => {} } } RusotoError::Unknown(res) } } impl fmt::Display for CreateTrainingJobError { #[allow(unused_variables)] fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match *self { CreateTrainingJobError::ResourceInUse(ref cause) => write!(f, "{}", cause), CreateTrainingJobError::ResourceLimitExceeded(ref cause) => write!(f, "{}", cause), CreateTrainingJobError::ResourceNotFound(ref cause) => write!(f, "{}", cause), } } } impl Error for CreateTrainingJobError {} /// Errors returned by CreateTransformJob #[derive(Debug, PartialEq)] pub enum CreateTransformJobError { /// <p>Resource being accessed is in use.</p> ResourceInUse(String), /// <p> You have exceeded an Amazon SageMaker resource limit. For example, you might have too many training jobs created. </p> ResourceLimitExceeded(String), /// <p>Resource being access is not found.</p> ResourceNotFound(String), } impl CreateTransformJobError { pub fn from_response(res: BufferedHttpResponse) -> RusotoError<CreateTransformJobError> { if let Some(err) = proto::json::Error::parse(&res) { match err.typ.as_str() { "ResourceInUse" => { return RusotoError::Service(CreateTransformJobError::ResourceInUse(err.msg)) } "ResourceLimitExceeded" => { return RusotoError::Service(CreateTransformJobError::ResourceLimitExceeded( err.msg, )) } "ResourceNotFound" => { return RusotoError::Service(CreateTransformJobError::ResourceNotFound(err.msg)) } "ValidationException" => return RusotoError::Validation(err.msg), _ => {} } } RusotoError::Unknown(res) } } impl fmt::Display for CreateTransformJobError { #[allow(unused_variables)] fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match *self { CreateTransformJobError::ResourceInUse(ref cause) => write!(f, "{}", cause), CreateTransformJobError::ResourceLimitExceeded(ref cause) => write!(f, "{}", cause), CreateTransformJobError::ResourceNotFound(ref cause) => write!(f, "{}", cause), } } } impl Error for CreateTransformJobError {} /// Errors returned by CreateTrial #[derive(Debug, PartialEq)] pub enum CreateTrialError { /// <p> You have exceeded an Amazon SageMaker resource limit. For example, you might have too many training jobs created. </p> ResourceLimitExceeded(String), /// <p>Resource being access is not found.</p> ResourceNotFound(String), } impl CreateTrialError { pub fn from_response(res: BufferedHttpResponse) -> RusotoError<CreateTrialError> { if let Some(err) = proto::json::Error::parse(&res) { match err.typ.as_str() { "ResourceLimitExceeded" => { return RusotoError::Service(CreateTrialError::ResourceLimitExceeded(err.msg)) } "ResourceNotFound" => { return RusotoError::Service(CreateTrialError::ResourceNotFound(err.msg)) } "ValidationException" => return RusotoError::Validation(err.msg), _ => {} } } RusotoError::Unknown(res) } } impl fmt::Display for CreateTrialError { #[allow(unused_variables)] fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match *self { CreateTrialError::ResourceLimitExceeded(ref cause) => write!(f, "{}", cause), CreateTrialError::ResourceNotFound(ref cause) => write!(f, "{}", cause), } } } impl Error for CreateTrialError {} /// Errors returned by CreateTrialComponent #[derive(Debug, PartialEq)] pub enum CreateTrialComponentError { /// <p> You have exceeded an Amazon SageMaker resource limit. For example, you might have too many training jobs created. </p> ResourceLimitExceeded(String), } impl CreateTrialComponentError { pub fn from_response(res: BufferedHttpResponse) -> RusotoError<CreateTrialComponentError> { if let Some(err) = proto::json::Error::parse(&res) { match err.typ.as_str() { "ResourceLimitExceeded" => { return RusotoError::Service(CreateTrialComponentError::ResourceLimitExceeded( err.msg, )) } "ValidationException" => return RusotoError::Validation(err.msg), _ => {} } } RusotoError::Unknown(res) } } impl fmt::Display for CreateTrialComponentError { #[allow(unused_variables)] fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match *self { CreateTrialComponentError::ResourceLimitExceeded(ref cause) => write!(f, "{}", cause), } } } impl Error for CreateTrialComponentError {} /// Errors returned by CreateUserProfile #[derive(Debug, PartialEq)] pub enum CreateUserProfileError { /// <p>Resource being accessed is in use.</p> ResourceInUse(String), /// <p> You have exceeded an Amazon SageMaker resource limit. For example, you might have too many training jobs created. </p> ResourceLimitExceeded(String), } impl CreateUserProfileError { pub fn from_response(res: BufferedHttpResponse) -> RusotoError<CreateUserProfileError> { if let Some(err) = proto::json::Error::parse(&res) { match err.typ.as_str() { "ResourceInUse" => { return RusotoError::Service(CreateUserProfileError::ResourceInUse(err.msg)) } "ResourceLimitExceeded" => { return RusotoError::Service(CreateUserProfileError::ResourceLimitExceeded( err.msg, )) } "ValidationException" => return RusotoError::Validation(err.msg), _ => {} } } RusotoError::Unknown(res) } } impl fmt::Display for CreateUserProfileError { #[allow(unused_variables)] fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match *self { CreateUserProfileError::ResourceInUse(ref cause) => write!(f, "{}", cause), CreateUserProfileError::ResourceLimitExceeded(ref cause) => write!(f, "{}", cause), } } } impl Error for CreateUserProfileError {} /// Errors returned by CreateWorkteam #[derive(Debug, PartialEq)] pub enum CreateWorkteamError { /// <p>Resource being accessed is in use.</p> ResourceInUse(String), /// <p> You have exceeded an Amazon SageMaker resource limit. For example, you might have too many training jobs created. </p> ResourceLimitExceeded(String), } impl CreateWorkteamError { pub fn from_response(res: BufferedHttpResponse) -> RusotoError<CreateWorkteamError> { if let Some(err) = proto::json::Error::parse(&res) { match err.typ.as_str() { "ResourceInUse" => { return RusotoError::Service(CreateWorkteamError::ResourceInUse(err.msg)) } "ResourceLimitExceeded" => { return RusotoError::Service(CreateWorkteamError::ResourceLimitExceeded( err.msg, )) } "ValidationException" => return RusotoError::Validation(err.msg), _ => {} } } RusotoError::Unknown(res) } } impl fmt::Display for CreateWorkteamError { #[allow(unused_variables)] fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match *self { CreateWorkteamError::ResourceInUse(ref cause) => write!(f, "{}", cause), CreateWorkteamError::ResourceLimitExceeded(ref cause) => write!(f, "{}", cause), } } } impl Error for CreateWorkteamError {} /// Errors returned by DeleteAlgorithm #[derive(Debug, PartialEq)] pub enum DeleteAlgorithmError {} impl DeleteAlgorithmError { pub fn from_response(res: BufferedHttpResponse) -> RusotoError<DeleteAlgorithmError> { if let Some(err) = proto::json::Error::parse(&res) { match err.typ.as_str() { "ValidationException" => return RusotoError::Validation(err.msg), _ => {} } } RusotoError::Unknown(res) } } impl fmt::Display for DeleteAlgorithmError { #[allow(unused_variables)] fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match *self {} } } impl Error for DeleteAlgorithmError {} /// Errors returned by DeleteApp #[derive(Debug, PartialEq)] pub enum DeleteAppError { /// <p>Resource being accessed is in use.</p> ResourceInUse(String), /// <p>Resource being access is not found.</p> ResourceNotFound(String), } impl DeleteAppError { pub fn from_response(res: BufferedHttpResponse) -> RusotoError<DeleteAppError> { if let Some(err) = proto::json::Error::parse(&res) { match err.typ.as_str() { "ResourceInUse" => { return RusotoError::Service(DeleteAppError::ResourceInUse(err.msg)) } "ResourceNotFound" => { return RusotoError::Service(DeleteAppError::ResourceNotFound(err.msg)) } "ValidationException" => return RusotoError::Validation(err.msg), _ => {} } } RusotoError::Unknown(res) } } impl fmt::Display for DeleteAppError { #[allow(unused_variables)] fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match *self { DeleteAppError::ResourceInUse(ref cause) => write!(f, "{}", cause), DeleteAppError::ResourceNotFound(ref cause) => write!(f, "{}", cause), } } } impl Error for DeleteAppError {} /// Errors returned by DeleteCodeRepository #[derive(Debug, PartialEq)] pub enum DeleteCodeRepositoryError {} impl DeleteCodeRepositoryError { pub fn from_response(res: BufferedHttpResponse) -> RusotoError<DeleteCodeRepositoryError> { if let Some(err) = proto::json::Error::parse(&res) { match err.typ.as_str() { "ValidationException" => return RusotoError::Validation(err.msg), _ => {} } } RusotoError::Unknown(res) } } impl fmt::Display for DeleteCodeRepositoryError { #[allow(unused_variables)] fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match *self {} } } impl Error for DeleteCodeRepositoryError {} /// Errors returned by DeleteDomain #[derive(Debug, PartialEq)] pub enum DeleteDomainError { /// <p>Resource being accessed is in use.</p> ResourceInUse(String), /// <p>Resource being access is not found.</p> ResourceNotFound(String), } impl DeleteDomainError { pub fn from_response(res: BufferedHttpResponse) -> RusotoError<DeleteDomainError> { if let Some(err) = proto::json::Error::parse(&res) { match err.typ.as_str() { "ResourceInUse" => { return RusotoError::Service(DeleteDomainError::ResourceInUse(err.msg)) } "ResourceNotFound" => { return RusotoError::Service(DeleteDomainError::ResourceNotFound(err.msg)) } "ValidationException" => return RusotoError::Validation(err.msg), _ => {} } } RusotoError::Unknown(res) } } impl fmt::Display for DeleteDomainError { #[allow(unused_variables)] fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match *self { DeleteDomainError::ResourceInUse(ref cause) => write!(f, "{}", cause), DeleteDomainError::ResourceNotFound(ref cause) => write!(f, "{}", cause), } } } impl Error for DeleteDomainError {} /// Errors returned by DeleteEndpoint #[derive(Debug, PartialEq)] pub enum DeleteEndpointError {} impl DeleteEndpointError { pub fn from_response(res: BufferedHttpResponse) -> RusotoError<DeleteEndpointError> { if let Some(err) = proto::json::Error::parse(&res) { match err.typ.as_str() { "ValidationException" => return RusotoError::Validation(err.msg), _ => {} } } RusotoError::Unknown(res) } } impl fmt::Display for DeleteEndpointError { #[allow(unused_variables)] fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match *self {} } } impl Error for DeleteEndpointError {} /// Errors returned by DeleteEndpointConfig #[derive(Debug, PartialEq)] pub enum DeleteEndpointConfigError {} impl DeleteEndpointConfigError { pub fn from_response(res: BufferedHttpResponse) -> RusotoError<DeleteEndpointConfigError> { if let Some(err) = proto::json::Error::parse(&res) { match err.typ.as_str() { "ValidationException" => return RusotoError::Validation(err.msg), _ => {} } } RusotoError::Unknown(res) } } impl fmt::Display for DeleteEndpointConfigError { #[allow(unused_variables)] fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match *self {} } } impl Error for DeleteEndpointConfigError {} /// Errors returned by DeleteExperiment #[derive(Debug, PartialEq)] pub enum DeleteExperimentError { /// <p>Resource being access is not found.</p> ResourceNotFound(String), } impl DeleteExperimentError { pub fn from_response(res: BufferedHttpResponse) -> RusotoError<DeleteExperimentError> { if let Some(err) = proto::json::Error::parse(&res) { match err.typ.as_str() { "ResourceNotFound" => { return RusotoError::Service(DeleteExperimentError::ResourceNotFound(err.msg)) } "ValidationException" => return RusotoError::Validation(err.msg), _ => {} } } RusotoError::Unknown(res) } } impl fmt::Display for DeleteExperimentError { #[allow(unused_variables)] fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match *self { DeleteExperimentError::ResourceNotFound(ref cause) => write!(f, "{}", cause), } } } impl Error for DeleteExperimentError {} /// Errors returned by DeleteFlowDefinition #[derive(Debug, PartialEq)] pub enum DeleteFlowDefinitionError { /// <p>Resource being access is not found.</p> ResourceNotFound(String), } impl DeleteFlowDefinitionError { pub fn from_response(res: BufferedHttpResponse) -> RusotoError<DeleteFlowDefinitionError> { if let Some(err) = proto::json::Error::parse(&res) { match err.typ.as_str() { "ResourceNotFound" => { return RusotoError::Service(DeleteFlowDefinitionError::ResourceNotFound( err.msg, )) } "ValidationException" => return RusotoError::Validation(err.msg), _ => {} } } RusotoError::Unknown(res) } } impl fmt::Display for DeleteFlowDefinitionError { #[allow(unused_variables)] fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match *self { DeleteFlowDefinitionError::ResourceNotFound(ref cause) => write!(f, "{}", cause), } } } impl Error for DeleteFlowDefinitionError {} /// Errors returned by DeleteHumanTaskUi #[derive(Debug, PartialEq)] pub enum DeleteHumanTaskUiError { /// <p>Resource being access is not found.</p> ResourceNotFound(String), } impl DeleteHumanTaskUiError { pub fn from_response(res: BufferedHttpResponse) -> RusotoError<DeleteHumanTaskUiError> { if let Some(err) = proto::json::Error::parse(&res) { match err.typ.as_str() { "ResourceNotFound" => { return RusotoError::Service(DeleteHumanTaskUiError::ResourceNotFound(err.msg)) } "ValidationException" => return RusotoError::Validation(err.msg), _ => {} } } RusotoError::Unknown(res) } } impl fmt::Display for DeleteHumanTaskUiError { #[allow(unused_variables)] fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match *self { DeleteHumanTaskUiError::ResourceNotFound(ref cause) => write!(f, "{}", cause), } } } impl Error for DeleteHumanTaskUiError {} /// Errors returned by DeleteModel #[derive(Debug, PartialEq)] pub enum DeleteModelError {} impl DeleteModelError { pub fn from_response(res: BufferedHttpResponse) -> RusotoError<DeleteModelError> { if let Some(err) = proto::json::Error::parse(&res) { match err.typ.as_str() { "ValidationException" => return RusotoError::Validation(err.msg), _ => {} } } RusotoError::Unknown(res) } } impl fmt::Display for DeleteModelError { #[allow(unused_variables)] fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match *self {} } } impl Error for DeleteModelError {} /// Errors returned by DeleteModelPackage #[derive(Debug, PartialEq)] pub enum DeleteModelPackageError {} impl DeleteModelPackageError { pub fn from_response(res: BufferedHttpResponse) -> RusotoError<DeleteModelPackageError> { if let Some(err) = proto::json::Error::parse(&res) { match err.typ.as_str() { "ValidationException" => return RusotoError::Validation(err.msg), _ => {} } } RusotoError::Unknown(res) } } impl fmt::Display for DeleteModelPackageError { #[allow(unused_variables)] fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match *self {} } } impl Error for DeleteModelPackageError {} /// Errors returned by DeleteMonitoringSchedule #[derive(Debug, PartialEq)] pub enum DeleteMonitoringScheduleError { /// <p>Resource being access is not found.</p> ResourceNotFound(String), } impl DeleteMonitoringScheduleError { pub fn from_response(res: BufferedHttpResponse) -> RusotoError<DeleteMonitoringScheduleError> { if let Some(err) = proto::json::Error::parse(&res) { match err.typ.as_str() { "ResourceNotFound" => { return RusotoError::Service(DeleteMonitoringScheduleError::ResourceNotFound( err.msg, )) } "ValidationException" => return RusotoError::Validation(err.msg), _ => {} } } RusotoError::Unknown(res) } } impl fmt::Display for DeleteMonitoringScheduleError { #[allow(unused_variables)] fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match *self { DeleteMonitoringScheduleError::ResourceNotFound(ref cause) => write!(f, "{}", cause), } } } impl Error for DeleteMonitoringScheduleError {} /// Errors returned by DeleteNotebookInstance #[derive(Debug, PartialEq)] pub enum DeleteNotebookInstanceError {} impl DeleteNotebookInstanceError { pub fn from_response(res: BufferedHttpResponse) -> RusotoError<DeleteNotebookInstanceError> { if let Some(err) = proto::json::Error::parse(&res) { match err.typ.as_str() { "ValidationException" => return RusotoError::Validation(err.msg), _ => {} } } RusotoError::Unknown(res) } } impl fmt::Display for DeleteNotebookInstanceError { #[allow(unused_variables)] fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match *self {} } } impl Error for DeleteNotebookInstanceError {} /// Errors returned by DeleteNotebookInstanceLifecycleConfig #[derive(Debug, PartialEq)] pub enum DeleteNotebookInstanceLifecycleConfigError {} impl DeleteNotebookInstanceLifecycleConfigError { pub fn from_response( res: BufferedHttpResponse, ) -> RusotoError<DeleteNotebookInstanceLifecycleConfigError> { if let Some(err) = proto::json::Error::parse(&res) { match err.typ.as_str() { "ValidationException" => return RusotoError::Validation(err.msg), _ => {} } } RusotoError::Unknown(res) } } impl fmt::Display for DeleteNotebookInstanceLifecycleConfigError { #[allow(unused_variables)] fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match *self {} } } impl Error for DeleteNotebookInstanceLifecycleConfigError {} /// Errors returned by DeleteTags #[derive(Debug, PartialEq)] pub enum DeleteTagsError {} impl DeleteTagsError { pub fn from_response(res: BufferedHttpResponse) -> RusotoError<DeleteTagsError> { if let Some(err) = proto::json::Error::parse(&res) { match err.typ.as_str() { "ValidationException" => return RusotoError::Validation(err.msg), _ => {} } } RusotoError::Unknown(res) } } impl fmt::Display for DeleteTagsError { #[allow(unused_variables)] fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match *self {} } } impl Error for DeleteTagsError {} /// Errors returned by DeleteTrial #[derive(Debug, PartialEq)] pub enum DeleteTrialError { /// <p>Resource being access is not found.</p> ResourceNotFound(String), } impl DeleteTrialError { pub fn from_response(res: BufferedHttpResponse) -> RusotoError<DeleteTrialError> { if let Some(err) = proto::json::Error::parse(&res) { match err.typ.as_str() { "ResourceNotFound" => { return RusotoError::Service(DeleteTrialError::ResourceNotFound(err.msg)) } "ValidationException" => return RusotoError::Validation(err.msg), _ => {} } } RusotoError::Unknown(res) } } impl fmt::Display for DeleteTrialError { #[allow(unused_variables)] fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match *self { DeleteTrialError::ResourceNotFound(ref cause) => write!(f, "{}", cause), } } } impl Error for DeleteTrialError {} /// Errors returned by DeleteTrialComponent #[derive(Debug, PartialEq)] pub enum DeleteTrialComponentError { /// <p>Resource being access is not found.</p> ResourceNotFound(String), } impl DeleteTrialComponentError { pub fn from_response(res: BufferedHttpResponse) -> RusotoError<DeleteTrialComponentError> { if let Some(err) = proto::json::Error::parse(&res) { match err.typ.as_str() { "ResourceNotFound" => { return RusotoError::Service(DeleteTrialComponentError::ResourceNotFound( err.msg, )) } "ValidationException" => return RusotoError::Validation(err.msg), _ => {} } } RusotoError::Unknown(res) } } impl fmt::Display for DeleteTrialComponentError { #[allow(unused_variables)] fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match *self { DeleteTrialComponentError::ResourceNotFound(ref cause) => write!(f, "{}", cause), } } } impl Error for DeleteTrialComponentError {} /// Errors returned by DeleteUserProfile #[derive(Debug, PartialEq)] pub enum DeleteUserProfileError { /// <p>Resource being accessed is in use.</p> ResourceInUse(String), /// <p>Resource being access is not found.</p> ResourceNotFound(String), } impl DeleteUserProfileError { pub fn from_response(res: BufferedHttpResponse) -> RusotoError<DeleteUserProfileError> { if let Some(err) = proto::json::Error::parse(&res) { match err.typ.as_str() { "ResourceInUse" => { return RusotoError::Service(DeleteUserProfileError::ResourceInUse(err.msg)) } "ResourceNotFound" => { return RusotoError::Service(DeleteUserProfileError::ResourceNotFound(err.msg)) } "ValidationException" => return RusotoError::Validation(err.msg), _ => {} } } RusotoError::Unknown(res) } } impl fmt::Display for DeleteUserProfileError { #[allow(unused_variables)] fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match *self { DeleteUserProfileError::ResourceInUse(ref cause) => write!(f, "{}", cause), DeleteUserProfileError::ResourceNotFound(ref cause) => write!(f, "{}", cause), } } } impl Error for DeleteUserProfileError {} /// Errors returned by DeleteWorkteam #[derive(Debug, PartialEq)] pub enum DeleteWorkteamError { /// <p> You have exceeded an Amazon SageMaker resource limit. For example, you might have too many training jobs created. </p> ResourceLimitExceeded(String), } impl DeleteWorkteamError { pub fn from_response(res: BufferedHttpResponse) -> RusotoError<DeleteWorkteamError> { if let Some(err) = proto::json::Error::parse(&res) { match err.typ.as_str() { "ResourceLimitExceeded" => { return RusotoError::Service(DeleteWorkteamError::ResourceLimitExceeded( err.msg, )) } "ValidationException" => return RusotoError::Validation(err.msg), _ => {} } } RusotoError::Unknown(res) } } impl fmt::Display for DeleteWorkteamError { #[allow(unused_variables)] fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match *self { DeleteWorkteamError::ResourceLimitExceeded(ref cause) => write!(f, "{}", cause), } } } impl Error for DeleteWorkteamError {} /// Errors returned by DescribeAlgorithm #[derive(Debug, PartialEq)] pub enum DescribeAlgorithmError {} impl DescribeAlgorithmError { pub fn from_response(res: BufferedHttpResponse) -> RusotoError<DescribeAlgorithmError> { if let Some(err) = proto::json::Error::parse(&res) { match err.typ.as_str() { "ValidationException" => return RusotoError::Validation(err.msg), _ => {} } } RusotoError::Unknown(res) } } impl fmt::Display for DescribeAlgorithmError { #[allow(unused_variables)] fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match *self {} } } impl Error for DescribeAlgorithmError {} /// Errors returned by DescribeApp #[derive(Debug, PartialEq)] pub enum DescribeAppError { /// <p>Resource being access is not found.</p> ResourceNotFound(String), } impl DescribeAppError { pub fn from_response(res: BufferedHttpResponse) -> RusotoError<DescribeAppError> { if let Some(err) = proto::json::Error::parse(&res) { match err.typ.as_str() { "ResourceNotFound" => { return RusotoError::Service(DescribeAppError::ResourceNotFound(err.msg)) } "ValidationException" => return RusotoError::Validation(err.msg), _ => {} } } RusotoError::Unknown(res) } } impl fmt::Display for DescribeAppError { #[allow(unused_variables)] fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match *self { DescribeAppError::ResourceNotFound(ref cause) => write!(f, "{}", cause), } } } impl Error for DescribeAppError {} /// Errors returned by DescribeAutoMLJob #[derive(Debug, PartialEq)] pub enum DescribeAutoMLJobError { /// <p>Resource being access is not found.</p> ResourceNotFound(String), } impl DescribeAutoMLJobError { pub fn from_response(res: BufferedHttpResponse) -> RusotoError<DescribeAutoMLJobError> { if let Some(err) = proto::json::Error::parse(&res) { match err.typ.as_str() { "ResourceNotFound" => { return RusotoError::Service(DescribeAutoMLJobError::ResourceNotFound(err.msg)) } "ValidationException" => return RusotoError::Validation(err.msg), _ => {} } } RusotoError::Unknown(res) } } impl fmt::Display for DescribeAutoMLJobError { #[allow(unused_variables)] fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match *self { DescribeAutoMLJobError::ResourceNotFound(ref cause) => write!(f, "{}", cause), } } } impl Error for DescribeAutoMLJobError {} /// Errors returned by DescribeCodeRepository #[derive(Debug, PartialEq)] pub enum DescribeCodeRepositoryError {} impl DescribeCodeRepositoryError { pub fn from_response(res: BufferedHttpResponse) -> RusotoError<DescribeCodeRepositoryError> { if let Some(err) = proto::json::Error::parse(&res) { match err.typ.as_str() { "ValidationException" => return RusotoError::Validation(err.msg), _ => {} } } RusotoError::Unknown(res) } } impl fmt::Display for DescribeCodeRepositoryError { #[allow(unused_variables)] fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match *self {} } } impl Error for DescribeCodeRepositoryError {} /// Errors returned by DescribeCompilationJob #[derive(Debug, PartialEq)] pub enum DescribeCompilationJobError { /// <p>Resource being access is not found.</p> ResourceNotFound(String), } impl DescribeCompilationJobError { pub fn from_response(res: BufferedHttpResponse) -> RusotoError<DescribeCompilationJobError> { if let Some(err) = proto::json::Error::parse(&res) { match err.typ.as_str() { "ResourceNotFound" => { return RusotoError::Service(DescribeCompilationJobError::ResourceNotFound( err.msg, )) } "ValidationException" => return RusotoError::Validation(err.msg), _ => {} } } RusotoError::Unknown(res) } } impl fmt::Display for DescribeCompilationJobError { #[allow(unused_variables)] fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match *self { DescribeCompilationJobError::ResourceNotFound(ref cause) => write!(f, "{}", cause), } } } impl Error for DescribeCompilationJobError {} /// Errors returned by DescribeDomain #[derive(Debug, PartialEq)] pub enum DescribeDomainError { /// <p>Resource being access is not found.</p> ResourceNotFound(String), } impl DescribeDomainError { pub fn from_response(res: BufferedHttpResponse) -> RusotoError<DescribeDomainError> { if let Some(err) = proto::json::Error::parse(&res) { match err.typ.as_str() { "ResourceNotFound" => { return RusotoError::Service(DescribeDomainError::ResourceNotFound(err.msg)) } "ValidationException" => return RusotoError::Validation(err.msg), _ => {} } } RusotoError::Unknown(res) } } impl fmt::Display for DescribeDomainError { #[allow(unused_variables)] fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match *self { DescribeDomainError::ResourceNotFound(ref cause) => write!(f, "{}", cause), } } } impl Error for DescribeDomainError {} /// Errors returned by DescribeEndpoint #[derive(Debug, PartialEq)] pub enum DescribeEndpointError {} impl DescribeEndpointError { pub fn from_response(res: BufferedHttpResponse) -> RusotoError<DescribeEndpointError> { if let Some(err) = proto::json::Error::parse(&res) { match err.typ.as_str() { "ValidationException" => return RusotoError::Validation(err.msg), _ => {} } } RusotoError::Unknown(res) } } impl fmt::Display for DescribeEndpointError { #[allow(unused_variables)] fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match *self {} } } impl Error for DescribeEndpointError {} /// Errors returned by DescribeEndpointConfig #[derive(Debug, PartialEq)] pub enum DescribeEndpointConfigError {} impl DescribeEndpointConfigError { pub fn from_response(res: BufferedHttpResponse) -> RusotoError<DescribeEndpointConfigError> { if let Some(err) = proto::json::Error::parse(&res) { match err.typ.as_str() { "ValidationException" => return RusotoError::Validation(err.msg), _ => {} } } RusotoError::Unknown(res) } } impl fmt::Display for DescribeEndpointConfigError { #[allow(unused_variables)] fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match *self {} } } impl Error for DescribeEndpointConfigError {} /// Errors returned by DescribeExperiment #[derive(Debug, PartialEq)] pub enum DescribeExperimentError { /// <p>Resource being access is not found.</p> ResourceNotFound(String), } impl DescribeExperimentError { pub fn from_response(res: BufferedHttpResponse) -> RusotoError<DescribeExperimentError> { if let Some(err) = proto::json::Error::parse(&res) { match err.typ.as_str() { "ResourceNotFound" => { return RusotoError::Service(DescribeExperimentError::ResourceNotFound(err.msg)) } "ValidationException" => return RusotoError::Validation(err.msg), _ => {} } } RusotoError::Unknown(res) } } impl fmt::Display for DescribeExperimentError { #[allow(unused_variables)] fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match *self { DescribeExperimentError::ResourceNotFound(ref cause) => write!(f, "{}", cause), } } } impl Error for DescribeExperimentError {} /// Errors returned by DescribeFlowDefinition #[derive(Debug, PartialEq)] pub enum DescribeFlowDefinitionError { /// <p>Resource being access is not found.</p> ResourceNotFound(String), } impl DescribeFlowDefinitionError { pub fn from_response(res: BufferedHttpResponse) -> RusotoError<DescribeFlowDefinitionError> { if let Some(err) = proto::json::Error::parse(&res) { match err.typ.as_str() { "ResourceNotFound" => { return RusotoError::Service(DescribeFlowDefinitionError::ResourceNotFound( err.msg, )) } "ValidationException" => return RusotoError::Validation(err.msg), _ => {} } } RusotoError::Unknown(res) } } impl fmt::Display for DescribeFlowDefinitionError { #[allow(unused_variables)] fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match *self { DescribeFlowDefinitionError::ResourceNotFound(ref cause) => write!(f, "{}", cause), } } } impl Error for DescribeFlowDefinitionError {} /// Errors returned by DescribeHumanTaskUi #[derive(Debug, PartialEq)] pub enum DescribeHumanTaskUiError { /// <p>Resource being access is not found.</p> ResourceNotFound(String), } impl DescribeHumanTaskUiError { pub fn from_response(res: BufferedHttpResponse) -> RusotoError<DescribeHumanTaskUiError> { if let Some(err) = proto::json::Error::parse(&res) { match err.typ.as_str() { "ResourceNotFound" => { return RusotoError::Service(DescribeHumanTaskUiError::ResourceNotFound( err.msg, )) } "ValidationException" => return RusotoError::Validation(err.msg), _ => {} } } RusotoError::Unknown(res) } } impl fmt::Display for DescribeHumanTaskUiError { #[allow(unused_variables)] fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match *self { DescribeHumanTaskUiError::ResourceNotFound(ref cause) => write!(f, "{}", cause), } } } impl Error for DescribeHumanTaskUiError {} /// Errors returned by DescribeHyperParameterTuningJob #[derive(Debug, PartialEq)] pub enum DescribeHyperParameterTuningJobError { /// <p>Resource being access is not found.</p> ResourceNotFound(String), } impl DescribeHyperParameterTuningJobError { pub fn from_response( res: BufferedHttpResponse, ) -> RusotoError<DescribeHyperParameterTuningJobError> { if let Some(err) = proto::json::Error::parse(&res) { match err.typ.as_str() { "ResourceNotFound" => { return RusotoError::Service( DescribeHyperParameterTuningJobError::ResourceNotFound(err.msg), ) } "ValidationException" => return RusotoError::Validation(err.msg), _ => {} } } RusotoError::Unknown(res) } } impl fmt::Display for DescribeHyperParameterTuningJobError { #[allow(unused_variables)] fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match *self { DescribeHyperParameterTuningJobError::ResourceNotFound(ref cause) => { write!(f, "{}", cause) } } } } impl Error for DescribeHyperParameterTuningJobError {} /// Errors returned by DescribeLabelingJob #[derive(Debug, PartialEq)] pub enum DescribeLabelingJobError { /// <p>Resource being access is not found.</p> ResourceNotFound(String), } impl DescribeLabelingJobError { pub fn from_response(res: BufferedHttpResponse) -> RusotoError<DescribeLabelingJobError> { if let Some(err) = proto::json::Error::parse(&res) { match err.typ.as_str() { "ResourceNotFound" => { return RusotoError::Service(DescribeLabelingJobError::ResourceNotFound( err.msg, )) } "ValidationException" => return RusotoError::Validation(err.msg), _ => {} } } RusotoError::Unknown(res) } } impl fmt::Display for DescribeLabelingJobError { #[allow(unused_variables)] fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match *self { DescribeLabelingJobError::ResourceNotFound(ref cause) => write!(f, "{}", cause), } } } impl Error for DescribeLabelingJobError {} /// Errors returned by DescribeModel #[derive(Debug, PartialEq)] pub enum DescribeModelError {} impl DescribeModelError { pub fn from_response(res: BufferedHttpResponse) -> RusotoError<DescribeModelError> { if let Some(err) = proto::json::Error::parse(&res) { match err.typ.as_str() { "ValidationException" => return RusotoError::Validation(err.msg), _ => {} } } RusotoError::Unknown(res) } } impl fmt::Display for DescribeModelError { #[allow(unused_variables)] fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match *self {} } } impl Error for DescribeModelError {} /// Errors returned by DescribeModelPackage #[derive(Debug, PartialEq)] pub enum DescribeModelPackageError {} impl DescribeModelPackageError { pub fn from_response(res: BufferedHttpResponse) -> RusotoError<DescribeModelPackageError> { if let Some(err) = proto::json::Error::parse(&res) { match err.typ.as_str() { "ValidationException" => return RusotoError::Validation(err.msg), _ => {} } } RusotoError::Unknown(res) } } impl fmt::Display for DescribeModelPackageError { #[allow(unused_variables)] fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match *self {} } } impl Error for DescribeModelPackageError {} /// Errors returned by DescribeMonitoringSchedule #[derive(Debug, PartialEq)] pub enum DescribeMonitoringScheduleError { /// <p>Resource being access is not found.</p> ResourceNotFound(String), } impl DescribeMonitoringScheduleError { pub fn from_response( res: BufferedHttpResponse, ) -> RusotoError<DescribeMonitoringScheduleError> { if let Some(err) = proto::json::Error::parse(&res) { match err.typ.as_str() { "ResourceNotFound" => { return RusotoError::Service(DescribeMonitoringScheduleError::ResourceNotFound( err.msg, )) } "ValidationException" => return RusotoError::Validation(err.msg), _ => {} } } RusotoError::Unknown(res) } } impl fmt::Display for DescribeMonitoringScheduleError { #[allow(unused_variables)] fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match *self { DescribeMonitoringScheduleError::ResourceNotFound(ref cause) => write!(f, "{}", cause), } } } impl Error for DescribeMonitoringScheduleError {} /// Errors returned by DescribeNotebookInstance #[derive(Debug, PartialEq)] pub enum DescribeNotebookInstanceError {} impl DescribeNotebookInstanceError { pub fn from_response(res: BufferedHttpResponse) -> RusotoError<DescribeNotebookInstanceError> { if let Some(err) = proto::json::Error::parse(&res) { match err.typ.as_str() { "ValidationException" => return RusotoError::Validation(err.msg), _ => {} } } RusotoError::Unknown(res) } } impl fmt::Display for DescribeNotebookInstanceError { #[allow(unused_variables)] fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match *self {} } } impl Error for DescribeNotebookInstanceError {} /// Errors returned by DescribeNotebookInstanceLifecycleConfig #[derive(Debug, PartialEq)] pub enum DescribeNotebookInstanceLifecycleConfigError {} impl DescribeNotebookInstanceLifecycleConfigError { pub fn from_response( res: BufferedHttpResponse, ) -> RusotoError<DescribeNotebookInstanceLifecycleConfigError> { if let Some(err) = proto::json::Error::parse(&res) { match err.typ.as_str() { "ValidationException" => return RusotoError::Validation(err.msg), _ => {} } } RusotoError::Unknown(res) } } impl fmt::Display for DescribeNotebookInstanceLifecycleConfigError { #[allow(unused_variables)] fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match *self {} } } impl Error for DescribeNotebookInstanceLifecycleConfigError {} /// Errors returned by DescribeProcessingJob #[derive(Debug, PartialEq)] pub enum DescribeProcessingJobError { /// <p>Resource being access is not found.</p> ResourceNotFound(String), } impl DescribeProcessingJobError { pub fn from_response(res: BufferedHttpResponse) -> RusotoError<DescribeProcessingJobError> { if let Some(err) = proto::json::Error::parse(&res) { match err.typ.as_str() { "ResourceNotFound" => { return RusotoError::Service(DescribeProcessingJobError::ResourceNotFound( err.msg, )) } "ValidationException" => return RusotoError::Validation(err.msg), _ => {} } } RusotoError::Unknown(res) } } impl fmt::Display for DescribeProcessingJobError { #[allow(unused_variables)] fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match *self { DescribeProcessingJobError::ResourceNotFound(ref cause) => write!(f, "{}", cause), } } } impl Error for DescribeProcessingJobError {} /// Errors returned by DescribeSubscribedWorkteam #[derive(Debug, PartialEq)] pub enum DescribeSubscribedWorkteamError {} impl DescribeSubscribedWorkteamError { pub fn from_response( res: BufferedHttpResponse, ) -> RusotoError<DescribeSubscribedWorkteamError> { if let Some(err) = proto::json::Error::parse(&res) { match err.typ.as_str() { "ValidationException" => return RusotoError::Validation(err.msg), _ => {} } } RusotoError::Unknown(res) } } impl fmt::Display for DescribeSubscribedWorkteamError { #[allow(unused_variables)] fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match *self {} } } impl Error for DescribeSubscribedWorkteamError {} /// Errors returned by DescribeTrainingJob #[derive(Debug, PartialEq)] pub enum DescribeTrainingJobError { /// <p>Resource being access is not found.</p> ResourceNotFound(String), } impl DescribeTrainingJobError { pub fn from_response(res: BufferedHttpResponse) -> RusotoError<DescribeTrainingJobError> { if let Some(err) = proto::json::Error::parse(&res) { match err.typ.as_str() { "ResourceNotFound" => { return RusotoError::Service(DescribeTrainingJobError::ResourceNotFound( err.msg, )) } "ValidationException" => return RusotoError::Validation(err.msg), _ => {} } } RusotoError::Unknown(res) } } impl fmt::Display for DescribeTrainingJobError { #[allow(unused_variables)] fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match *self { DescribeTrainingJobError::ResourceNotFound(ref cause) => write!(f, "{}", cause), } } } impl Error for DescribeTrainingJobError {} /// Errors returned by DescribeTransformJob #[derive(Debug, PartialEq)] pub enum DescribeTransformJobError { /// <p>Resource being access is not found.</p> ResourceNotFound(String), } impl DescribeTransformJobError { pub fn from_response(res: BufferedHttpResponse) -> RusotoError<DescribeTransformJobError> { if let Some(err) = proto::json::Error::parse(&res) { match err.typ.as_str() { "ResourceNotFound" => { return RusotoError::Service(DescribeTransformJobError::ResourceNotFound( err.msg, )) } "ValidationException" => return RusotoError::Validation(err.msg), _ => {} } } RusotoError::Unknown(res) } } impl fmt::Display for DescribeTransformJobError { #[allow(unused_variables)] fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match *self { DescribeTransformJobError::ResourceNotFound(ref cause) => write!(f, "{}", cause), } } } impl Error for DescribeTransformJobError {} /// Errors returned by DescribeTrial #[derive(Debug, PartialEq)] pub enum DescribeTrialError { /// <p>Resource being access is not found.</p> ResourceNotFound(String), } impl DescribeTrialError { pub fn from_response(res: BufferedHttpResponse) -> RusotoError<DescribeTrialError> { if let Some(err) = proto::json::Error::parse(&res) { match err.typ.as_str() { "ResourceNotFound" => { return RusotoError::Service(DescribeTrialError::ResourceNotFound(err.msg)) } "ValidationException" => return RusotoError::Validation(err.msg), _ => {} } } RusotoError::Unknown(res) } } impl fmt::Display for DescribeTrialError { #[allow(unused_variables)] fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match *self { DescribeTrialError::ResourceNotFound(ref cause) => write!(f, "{}", cause), } } } impl Error for DescribeTrialError {} /// Errors returned by DescribeTrialComponent #[derive(Debug, PartialEq)] pub enum DescribeTrialComponentError { /// <p>Resource being access is not found.</p> ResourceNotFound(String), } impl DescribeTrialComponentError { pub fn from_response(res: BufferedHttpResponse) -> RusotoError<DescribeTrialComponentError> { if let Some(err) = proto::json::Error::parse(&res) { match err.typ.as_str() { "ResourceNotFound" => { return RusotoError::Service(DescribeTrialComponentError::ResourceNotFound( err.msg, )) } "ValidationException" => return RusotoError::Validation(err.msg), _ => {} } } RusotoError::Unknown(res) } } impl fmt::Display for DescribeTrialComponentError { #[allow(unused_variables)] fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match *self { DescribeTrialComponentError::ResourceNotFound(ref cause) => write!(f, "{}", cause), } } } impl Error for DescribeTrialComponentError {} /// Errors returned by DescribeUserProfile #[derive(Debug, PartialEq)] pub enum DescribeUserProfileError { /// <p>Resource being access is not found.</p> ResourceNotFound(String), } impl DescribeUserProfileError { pub fn from_response(res: BufferedHttpResponse) -> RusotoError<DescribeUserProfileError> { if let Some(err) = proto::json::Error::parse(&res) { match err.typ.as_str() { "ResourceNotFound" => { return RusotoError::Service(DescribeUserProfileError::ResourceNotFound( err.msg, )) } "ValidationException" => return RusotoError::Validation(err.msg), _ => {} } } RusotoError::Unknown(res) } } impl fmt::Display for DescribeUserProfileError { #[allow(unused_variables)] fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match *self { DescribeUserProfileError::ResourceNotFound(ref cause) => write!(f, "{}", cause), } } } impl Error for DescribeUserProfileError {} /// Errors returned by DescribeWorkforce #[derive(Debug, PartialEq)] pub enum DescribeWorkforceError {} impl DescribeWorkforceError { pub fn from_response(res: BufferedHttpResponse) -> RusotoError<DescribeWorkforceError> { if let Some(err) = proto::json::Error::parse(&res) { match err.typ.as_str() { "ValidationException" => return RusotoError::Validation(err.msg), _ => {} } } RusotoError::Unknown(res) } } impl fmt::Display for DescribeWorkforceError { #[allow(unused_variables)] fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match *self {} } } impl Error for DescribeWorkforceError {} /// Errors returned by DescribeWorkteam #[derive(Debug, PartialEq)] pub enum DescribeWorkteamError {} impl DescribeWorkteamError { pub fn from_response(res: BufferedHttpResponse) -> RusotoError<DescribeWorkteamError> { if let Some(err) = proto::json::Error::parse(&res) { match err.typ.as_str() { "ValidationException" => return RusotoError::Validation(err.msg), _ => {} } } RusotoError::Unknown(res) } } impl fmt::Display for DescribeWorkteamError { #[allow(unused_variables)] fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match *self {} } } impl Error for DescribeWorkteamError {} /// Errors returned by DisassociateTrialComponent #[derive(Debug, PartialEq)] pub enum DisassociateTrialComponentError { /// <p>Resource being access is not found.</p> ResourceNotFound(String), } impl DisassociateTrialComponentError { pub fn from_response( res: BufferedHttpResponse, ) -> RusotoError<DisassociateTrialComponentError> { if let Some(err) = proto::json::Error::parse(&res) { match err.typ.as_str() { "ResourceNotFound" => { return RusotoError::Service(DisassociateTrialComponentError::ResourceNotFound( err.msg, )) } "ValidationException" => return RusotoError::Validation(err.msg), _ => {} } } RusotoError::Unknown(res) } } impl fmt::Display for DisassociateTrialComponentError { #[allow(unused_variables)] fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match *self { DisassociateTrialComponentError::ResourceNotFound(ref cause) => write!(f, "{}", cause), } } } impl Error for DisassociateTrialComponentError {} /// Errors returned by GetSearchSuggestions #[derive(Debug, PartialEq)] pub enum GetSearchSuggestionsError {} impl GetSearchSuggestionsError { pub fn from_response(res: BufferedHttpResponse) -> RusotoError<GetSearchSuggestionsError> { if let Some(err) = proto::json::Error::parse(&res) { match err.typ.as_str() { "ValidationException" => return RusotoError::Validation(err.msg), _ => {} } } RusotoError::Unknown(res) } } impl fmt::Display for GetSearchSuggestionsError { #[allow(unused_variables)] fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match *self {} } } impl Error for GetSearchSuggestionsError {} /// Errors returned by ListAlgorithms #[derive(Debug, PartialEq)] pub enum ListAlgorithmsError {} impl ListAlgorithmsError { pub fn from_response(res: BufferedHttpResponse) -> RusotoError<ListAlgorithmsError> { if let Some(err) = proto::json::Error::parse(&res) { match err.typ.as_str() { "ValidationException" => return RusotoError::Validation(err.msg), _ => {} } } RusotoError::Unknown(res) } } impl fmt::Display for ListAlgorithmsError { #[allow(unused_variables)] fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match *self {} } } impl Error for ListAlgorithmsError {} /// Errors returned by ListApps #[derive(Debug, PartialEq)] pub enum ListAppsError {} impl ListAppsError { pub fn from_response(res: BufferedHttpResponse) -> RusotoError<ListAppsError> { if let Some(err) = proto::json::Error::parse(&res) { match err.typ.as_str() { "ValidationException" => return RusotoError::Validation(err.msg), _ => {} } } RusotoError::Unknown(res) } } impl fmt::Display for ListAppsError { #[allow(unused_variables)] fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match *self {} } } impl Error for ListAppsError {} /// Errors returned by ListAutoMLJobs #[derive(Debug, PartialEq)] pub enum ListAutoMLJobsError {} impl ListAutoMLJobsError { pub fn from_response(res: BufferedHttpResponse) -> RusotoError<ListAutoMLJobsError> { if let Some(err) = proto::json::Error::parse(&res) { match err.typ.as_str() { "ValidationException" => return RusotoError::Validation(err.msg), _ => {} } } RusotoError::Unknown(res) } } impl fmt::Display for ListAutoMLJobsError { #[allow(unused_variables)] fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match *self {} } } impl Error for ListAutoMLJobsError {} /// Errors returned by ListCandidatesForAutoMLJob #[derive(Debug, PartialEq)] pub enum ListCandidatesForAutoMLJobError { /// <p>Resource being access is not found.</p> ResourceNotFound(String), } impl ListCandidatesForAutoMLJobError { pub fn from_response( res: BufferedHttpResponse, ) -> RusotoError<ListCandidatesForAutoMLJobError> { if let Some(err) = proto::json::Error::parse(&res) { match err.typ.as_str() { "ResourceNotFound" => { return RusotoError::Service(ListCandidatesForAutoMLJobError::ResourceNotFound( err.msg, )) } "ValidationException" => return RusotoError::Validation(err.msg), _ => {} } } RusotoError::Unknown(res) } } impl fmt::Display for ListCandidatesForAutoMLJobError { #[allow(unused_variables)] fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match *self { ListCandidatesForAutoMLJobError::ResourceNotFound(ref cause) => write!(f, "{}", cause), } } } impl Error for ListCandidatesForAutoMLJobError {} /// Errors returned by ListCodeRepositories #[derive(Debug, PartialEq)] pub enum ListCodeRepositoriesError {} impl ListCodeRepositoriesError { pub fn from_response(res: BufferedHttpResponse) -> RusotoError<ListCodeRepositoriesError> { if let Some(err) = proto::json::Error::parse(&res) { match err.typ.as_str() { "ValidationException" => return RusotoError::Validation(err.msg), _ => {} } } RusotoError::Unknown(res) } } impl fmt::Display for ListCodeRepositoriesError { #[allow(unused_variables)] fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match *self {} } } impl Error for ListCodeRepositoriesError {} /// Errors returned by ListCompilationJobs #[derive(Debug, PartialEq)] pub enum ListCompilationJobsError {} impl ListCompilationJobsError { pub fn from_response(res: BufferedHttpResponse) -> RusotoError<ListCompilationJobsError> { if let Some(err) = proto::json::Error::parse(&res) { match err.typ.as_str() { "ValidationException" => return RusotoError::Validation(err.msg), _ => {} } } RusotoError::Unknown(res) } } impl fmt::Display for ListCompilationJobsError { #[allow(unused_variables)] fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match *self {} } } impl Error for ListCompilationJobsError {} /// Errors returned by ListDomains #[derive(Debug, PartialEq)] pub enum ListDomainsError {} impl ListDomainsError { pub fn from_response(res: BufferedHttpResponse) -> RusotoError<ListDomainsError> { if let Some(err) = proto::json::Error::parse(&res) { match err.typ.as_str() { "ValidationException" => return RusotoError::Validation(err.msg), _ => {} } } RusotoError::Unknown(res) } } impl fmt::Display for ListDomainsError { #[allow(unused_variables)] fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match *self {} } } impl Error for ListDomainsError {} /// Errors returned by ListEndpointConfigs #[derive(Debug, PartialEq)] pub enum ListEndpointConfigsError {} impl ListEndpointConfigsError { pub fn from_response(res: BufferedHttpResponse) -> RusotoError<ListEndpointConfigsError> { if let Some(err) = proto::json::Error::parse(&res) { match err.typ.as_str() { "ValidationException" => return RusotoError::Validation(err.msg), _ => {} } } RusotoError::Unknown(res) } } impl fmt::Display for ListEndpointConfigsError { #[allow(unused_variables)] fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match *self {} } } impl Error for ListEndpointConfigsError {} /// Errors returned by ListEndpoints #[derive(Debug, PartialEq)] pub enum ListEndpointsError {} impl ListEndpointsError { pub fn from_response(res: BufferedHttpResponse) -> RusotoError<ListEndpointsError> { if let Some(err) = proto::json::Error::parse(&res) { match err.typ.as_str() { "ValidationException" => return RusotoError::Validation(err.msg), _ => {} } } RusotoError::Unknown(res) } } impl fmt::Display for ListEndpointsError { #[allow(unused_variables)] fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match *self {} } } impl Error for ListEndpointsError {} /// Errors returned by ListExperiments #[derive(Debug, PartialEq)] pub enum ListExperimentsError {} impl ListExperimentsError { pub fn from_response(res: BufferedHttpResponse) -> RusotoError<ListExperimentsError> { if let Some(err) = proto::json::Error::parse(&res) { match err.typ.as_str() { "ValidationException" => return RusotoError::Validation(err.msg), _ => {} } } RusotoError::Unknown(res) } } impl fmt::Display for ListExperimentsError { #[allow(unused_variables)] fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match *self {} } } impl Error for ListExperimentsError {} /// Errors returned by ListFlowDefinitions #[derive(Debug, PartialEq)] pub enum ListFlowDefinitionsError {} impl ListFlowDefinitionsError { pub fn from_response(res: BufferedHttpResponse) -> RusotoError<ListFlowDefinitionsError> { if let Some(err) = proto::json::Error::parse(&res) { match err.typ.as_str() { "ValidationException" => return RusotoError::Validation(err.msg), _ => {} } } RusotoError::Unknown(res) } } impl fmt::Display for ListFlowDefinitionsError { #[allow(unused_variables)] fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match *self {} } } impl Error for ListFlowDefinitionsError {} /// Errors returned by ListHumanTaskUis #[derive(Debug, PartialEq)] pub enum ListHumanTaskUisError {} impl ListHumanTaskUisError { pub fn from_response(res: BufferedHttpResponse) -> RusotoError<ListHumanTaskUisError> { if let Some(err) = proto::json::Error::parse(&res) { match err.typ.as_str() { "ValidationException" => return RusotoError::Validation(err.msg), _ => {} } } RusotoError::Unknown(res) } } impl fmt::Display for ListHumanTaskUisError { #[allow(unused_variables)] fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match *self {} } } impl Error for ListHumanTaskUisError {} /// Errors returned by ListHyperParameterTuningJobs #[derive(Debug, PartialEq)] pub enum ListHyperParameterTuningJobsError {} impl ListHyperParameterTuningJobsError { pub fn from_response( res: BufferedHttpResponse, ) -> RusotoError<ListHyperParameterTuningJobsError> { if let Some(err) = proto::json::Error::parse(&res) { match err.typ.as_str() { "ValidationException" => return RusotoError::Validation(err.msg), _ => {} } } RusotoError::Unknown(res) } } impl fmt::Display for ListHyperParameterTuningJobsError { #[allow(unused_variables)] fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match *self {} } } impl Error for ListHyperParameterTuningJobsError {} /// Errors returned by ListLabelingJobs #[derive(Debug, PartialEq)] pub enum ListLabelingJobsError {} impl ListLabelingJobsError { pub fn from_response(res: BufferedHttpResponse) -> RusotoError<ListLabelingJobsError> { if let Some(err) = proto::json::Error::parse(&res) { match err.typ.as_str() { "ValidationException" => return RusotoError::Validation(err.msg), _ => {} } } RusotoError::Unknown(res) } } impl fmt::Display for ListLabelingJobsError { #[allow(unused_variables)] fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match *self {} } } impl Error for ListLabelingJobsError {} /// Errors returned by ListLabelingJobsForWorkteam #[derive(Debug, PartialEq)] pub enum ListLabelingJobsForWorkteamError { /// <p>Resource being access is not found.</p> ResourceNotFound(String), } impl ListLabelingJobsForWorkteamError { pub fn from_response( res: BufferedHttpResponse, ) -> RusotoError<ListLabelingJobsForWorkteamError> { if let Some(err) = proto::json::Error::parse(&res) { match err.typ.as_str() { "ResourceNotFound" => { return RusotoError::Service( ListLabelingJobsForWorkteamError::ResourceNotFound(err.msg), ) } "ValidationException" => return RusotoError::Validation(err.msg), _ => {} } } RusotoError::Unknown(res) } } impl fmt::Display for ListLabelingJobsForWorkteamError { #[allow(unused_variables)] fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match *self { ListLabelingJobsForWorkteamError::ResourceNotFound(ref cause) => write!(f, "{}", cause), } } } impl Error for ListLabelingJobsForWorkteamError {} /// Errors returned by ListModelPackages #[derive(Debug, PartialEq)] pub enum ListModelPackagesError {} impl ListModelPackagesError { pub fn from_response(res: BufferedHttpResponse) -> RusotoError<ListModelPackagesError> { if let Some(err) = proto::json::Error::parse(&res) { match err.typ.as_str() { "ValidationException" => return RusotoError::Validation(err.msg), _ => {} } } RusotoError::Unknown(res) } } impl fmt::Display for ListModelPackagesError { #[allow(unused_variables)] fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match *self {} } } impl Error for ListModelPackagesError {} /// Errors returned by ListModels #[derive(Debug, PartialEq)] pub enum ListModelsError {} impl ListModelsError { pub fn from_response(res: BufferedHttpResponse) -> RusotoError<ListModelsError> { if let Some(err) = proto::json::Error::parse(&res) { match err.typ.as_str() { "ValidationException" => return RusotoError::Validation(err.msg), _ => {} } } RusotoError::Unknown(res) } } impl fmt::Display for ListModelsError { #[allow(unused_variables)] fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match *self {} } } impl Error for ListModelsError {} /// Errors returned by ListMonitoringExecutions #[derive(Debug, PartialEq)] pub enum ListMonitoringExecutionsError {} impl ListMonitoringExecutionsError { pub fn from_response(res: BufferedHttpResponse) -> RusotoError<ListMonitoringExecutionsError> { if let Some(err) = proto::json::Error::parse(&res) { match err.typ.as_str() { "ValidationException" => return RusotoError::Validation(err.msg), _ => {} } } RusotoError::Unknown(res) } } impl fmt::Display for ListMonitoringExecutionsError { #[allow(unused_variables)] fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match *self {} } } impl Error for ListMonitoringExecutionsError {} /// Errors returned by ListMonitoringSchedules #[derive(Debug, PartialEq)] pub enum ListMonitoringSchedulesError {} impl ListMonitoringSchedulesError { pub fn from_response(res: BufferedHttpResponse) -> RusotoError<ListMonitoringSchedulesError> { if let Some(err) = proto::json::Error::parse(&res) { match err.typ.as_str() { "ValidationException" => return RusotoError::Validation(err.msg), _ => {} } } RusotoError::Unknown(res) } } impl fmt::Display for ListMonitoringSchedulesError { #[allow(unused_variables)] fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match *self {} } } impl Error for ListMonitoringSchedulesError {} /// Errors returned by ListNotebookInstanceLifecycleConfigs #[derive(Debug, PartialEq)] pub enum ListNotebookInstanceLifecycleConfigsError {} impl ListNotebookInstanceLifecycleConfigsError { pub fn from_response( res: BufferedHttpResponse, ) -> RusotoError<ListNotebookInstanceLifecycleConfigsError> { if let Some(err) = proto::json::Error::parse(&res) { match err.typ.as_str() { "ValidationException" => return RusotoError::Validation(err.msg), _ => {} } } RusotoError::Unknown(res) } } impl fmt::Display for ListNotebookInstanceLifecycleConfigsError { #[allow(unused_variables)] fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match *self {} } } impl Error for ListNotebookInstanceLifecycleConfigsError {} /// Errors returned by ListNotebookInstances #[derive(Debug, PartialEq)] pub enum ListNotebookInstancesError {} impl ListNotebookInstancesError { pub fn from_response(res: BufferedHttpResponse) -> RusotoError<ListNotebookInstancesError> { if let Some(err) = proto::json::Error::parse(&res) { match err.typ.as_str() { "ValidationException" => return RusotoError::Validation(err.msg), _ => {} } } RusotoError::Unknown(res) } } impl fmt::Display for ListNotebookInstancesError { #[allow(unused_variables)] fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match *self {} } } impl Error for ListNotebookInstancesError {} /// Errors returned by ListProcessingJobs #[derive(Debug, PartialEq)] pub enum ListProcessingJobsError {} impl ListProcessingJobsError { pub fn from_response(res: BufferedHttpResponse) -> RusotoError<ListProcessingJobsError> { if let Some(err) = proto::json::Error::parse(&res) { match err.typ.as_str() { "ValidationException" => return RusotoError::Validation(err.msg), _ => {} } } RusotoError::Unknown(res) } } impl fmt::Display for ListProcessingJobsError { #[allow(unused_variables)] fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match *self {} } } impl Error for ListProcessingJobsError {} /// Errors returned by ListSubscribedWorkteams #[derive(Debug, PartialEq)] pub enum ListSubscribedWorkteamsError {} impl ListSubscribedWorkteamsError { pub fn from_response(res: BufferedHttpResponse) -> RusotoError<ListSubscribedWorkteamsError> { if let Some(err) = proto::json::Error::parse(&res) { match err.typ.as_str() { "ValidationException" => return RusotoError::Validation(err.msg), _ => {} } } RusotoError::Unknown(res) } } impl fmt::Display for ListSubscribedWorkteamsError { #[allow(unused_variables)] fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match *self {} } } impl Error for ListSubscribedWorkteamsError {} /// Errors returned by ListTags #[derive(Debug, PartialEq)] pub enum ListTagsError {} impl ListTagsError { pub fn from_response(res: BufferedHttpResponse) -> RusotoError<ListTagsError> { if let Some(err) = proto::json::Error::parse(&res) { match err.typ.as_str() { "ValidationException" => return RusotoError::Validation(err.msg), _ => {} } } RusotoError::Unknown(res) } } impl fmt::Display for ListTagsError { #[allow(unused_variables)] fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match *self {} } } impl Error for ListTagsError {} /// Errors returned by ListTrainingJobs #[derive(Debug, PartialEq)] pub enum ListTrainingJobsError {} impl ListTrainingJobsError { pub fn from_response(res: BufferedHttpResponse) -> RusotoError<ListTrainingJobsError> { if let Some(err) = proto::json::Error::parse(&res) { match err.typ.as_str() { "ValidationException" => return RusotoError::Validation(err.msg), _ => {} } } RusotoError::Unknown(res) } } impl fmt::Display for ListTrainingJobsError { #[allow(unused_variables)] fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match *self {} } } impl Error for ListTrainingJobsError {} /// Errors returned by ListTrainingJobsForHyperParameterTuningJob #[derive(Debug, PartialEq)] pub enum ListTrainingJobsForHyperParameterTuningJobError { /// <p>Resource being access is not found.</p> ResourceNotFound(String), } impl ListTrainingJobsForHyperParameterTuningJobError { pub fn from_response( res: BufferedHttpResponse, ) -> RusotoError<ListTrainingJobsForHyperParameterTuningJobError> { if let Some(err) = proto::json::Error::parse(&res) { match err.typ.as_str() { "ResourceNotFound" => { return RusotoError::Service( ListTrainingJobsForHyperParameterTuningJobError::ResourceNotFound(err.msg), ) } "ValidationException" => return RusotoError::Validation(err.msg), _ => {} } } RusotoError::Unknown(res) } } impl fmt::Display for ListTrainingJobsForHyperParameterTuningJobError { #[allow(unused_variables)] fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match *self { ListTrainingJobsForHyperParameterTuningJobError::ResourceNotFound(ref cause) => { write!(f, "{}", cause) } } } } impl Error for ListTrainingJobsForHyperParameterTuningJobError {} /// Errors returned by ListTransformJobs #[derive(Debug, PartialEq)] pub enum ListTransformJobsError {} impl ListTransformJobsError { pub fn from_response(res: BufferedHttpResponse) -> RusotoError<ListTransformJobsError> { if let Some(err) = proto::json::Error::parse(&res) { match err.typ.as_str() { "ValidationException" => return RusotoError::Validation(err.msg), _ => {} } } RusotoError::Unknown(res) } } impl fmt::Display for ListTransformJobsError { #[allow(unused_variables)] fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match *self {} } } impl Error for ListTransformJobsError {} /// Errors returned by ListTrialComponents #[derive(Debug, PartialEq)] pub enum ListTrialComponentsError { /// <p>Resource being access is not found.</p> ResourceNotFound(String), } impl ListTrialComponentsError { pub fn from_response(res: BufferedHttpResponse) -> RusotoError<ListTrialComponentsError> { if let Some(err) = proto::json::Error::parse(&res) { match err.typ.as_str() { "ResourceNotFound" => { return RusotoError::Service(ListTrialComponentsError::ResourceNotFound( err.msg, )) } "ValidationException" => return RusotoError::Validation(err.msg), _ => {} } } RusotoError::Unknown(res) } } impl fmt::Display for ListTrialComponentsError { #[allow(unused_variables)] fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match *self { ListTrialComponentsError::ResourceNotFound(ref cause) => write!(f, "{}", cause), } } } impl Error for ListTrialComponentsError {} /// Errors returned by ListTrials #[derive(Debug, PartialEq)] pub enum ListTrialsError { /// <p>Resource being access is not found.</p> ResourceNotFound(String), } impl ListTrialsError { pub fn from_response(res: BufferedHttpResponse) -> RusotoError<ListTrialsError> { if let Some(err) = proto::json::Error::parse(&res) { match err.typ.as_str() { "ResourceNotFound" => { return RusotoError::Service(ListTrialsError::ResourceNotFound(err.msg)) } "ValidationException" => return RusotoError::Validation(err.msg), _ => {} } } RusotoError::Unknown(res) } } impl fmt::Display for ListTrialsError { #[allow(unused_variables)] fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match *self { ListTrialsError::ResourceNotFound(ref cause) => write!(f, "{}", cause), } } } impl Error for ListTrialsError {} /// Errors returned by ListUserProfiles #[derive(Debug, PartialEq)] pub enum ListUserProfilesError {} impl ListUserProfilesError { pub fn from_response(res: BufferedHttpResponse) -> RusotoError<ListUserProfilesError> { if let Some(err) = proto::json::Error::parse(&res) { match err.typ.as_str() { "ValidationException" => return RusotoError::Validation(err.msg), _ => {} } } RusotoError::Unknown(res) } } impl fmt::Display for ListUserProfilesError { #[allow(unused_variables)] fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match *self {} } } impl Error for ListUserProfilesError {} /// Errors returned by ListWorkteams #[derive(Debug, PartialEq)] pub enum ListWorkteamsError {} impl ListWorkteamsError { pub fn from_response(res: BufferedHttpResponse) -> RusotoError<ListWorkteamsError> { if let Some(err) = proto::json::Error::parse(&res) { match err.typ.as_str() { "ValidationException" => return RusotoError::Validation(err.msg), _ => {} } } RusotoError::Unknown(res) } } impl fmt::Display for ListWorkteamsError { #[allow(unused_variables)] fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match *self {} } } impl Error for ListWorkteamsError {} /// Errors returned by RenderUiTemplate #[derive(Debug, PartialEq)] pub enum RenderUiTemplateError {} impl RenderUiTemplateError { pub fn from_response(res: BufferedHttpResponse) -> RusotoError<RenderUiTemplateError> { if let Some(err) = proto::json::Error::parse(&res) { match err.typ.as_str() { "ValidationException" => return RusotoError::Validation(err.msg), _ => {} } } RusotoError::Unknown(res) } } impl fmt::Display for RenderUiTemplateError { #[allow(unused_variables)] fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match *self {} } } impl Error for RenderUiTemplateError {} /// Errors returned by Search #[derive(Debug, PartialEq)] pub enum SearchError {} impl SearchError { pub fn from_response(res: BufferedHttpResponse) -> RusotoError<SearchError> { if let Some(err) = proto::json::Error::parse(&res) { match err.typ.as_str() { "ValidationException" => return RusotoError::Validation(err.msg), _ => {} } } RusotoError::Unknown(res) } } impl fmt::Display for SearchError { #[allow(unused_variables)] fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match *self {} } } impl Error for SearchError {} /// Errors returned by StartMonitoringSchedule #[derive(Debug, PartialEq)] pub enum StartMonitoringScheduleError { /// <p>Resource being access is not found.</p> ResourceNotFound(String), } impl StartMonitoringScheduleError { pub fn from_response(res: BufferedHttpResponse) -> RusotoError<StartMonitoringScheduleError> { if let Some(err) = proto::json::Error::parse(&res) { match err.typ.as_str() { "ResourceNotFound" => { return RusotoError::Service(StartMonitoringScheduleError::ResourceNotFound( err.msg, )) } "ValidationException" => return RusotoError::Validation(err.msg), _ => {} } } RusotoError::Unknown(res) } } impl fmt::Display for StartMonitoringScheduleError { #[allow(unused_variables)] fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match *self { StartMonitoringScheduleError::ResourceNotFound(ref cause) => write!(f, "{}", cause), } } } impl Error for StartMonitoringScheduleError {} /// Errors returned by StartNotebookInstance #[derive(Debug, PartialEq)] pub enum StartNotebookInstanceError { /// <p> You have exceeded an Amazon SageMaker resource limit. For example, you might have too many training jobs created. </p> ResourceLimitExceeded(String), } impl StartNotebookInstanceError { pub fn from_response(res: BufferedHttpResponse) -> RusotoError<StartNotebookInstanceError> { if let Some(err) = proto::json::Error::parse(&res) { match err.typ.as_str() { "ResourceLimitExceeded" => { return RusotoError::Service(StartNotebookInstanceError::ResourceLimitExceeded( err.msg, )) } "ValidationException" => return RusotoError::Validation(err.msg), _ => {} } } RusotoError::Unknown(res) } } impl fmt::Display for StartNotebookInstanceError { #[allow(unused_variables)] fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match *self { StartNotebookInstanceError::ResourceLimitExceeded(ref cause) => write!(f, "{}", cause), } } } impl Error for StartNotebookInstanceError {} /// Errors returned by StopAutoMLJob #[derive(Debug, PartialEq)] pub enum StopAutoMLJobError { /// <p>Resource being access is not found.</p> ResourceNotFound(String), } impl StopAutoMLJobError { pub fn from_response(res: BufferedHttpResponse) -> RusotoError<StopAutoMLJobError> { if let Some(err) = proto::json::Error::parse(&res) { match err.typ.as_str() { "ResourceNotFound" => { return RusotoError::Service(StopAutoMLJobError::ResourceNotFound(err.msg)) } "ValidationException" => return RusotoError::Validation(err.msg), _ => {} } } RusotoError::Unknown(res) } } impl fmt::Display for StopAutoMLJobError { #[allow(unused_variables)] fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match *self { StopAutoMLJobError::ResourceNotFound(ref cause) => write!(f, "{}", cause), } } } impl Error for StopAutoMLJobError {} /// Errors returned by StopCompilationJob #[derive(Debug, PartialEq)] pub enum StopCompilationJobError { /// <p>Resource being access is not found.</p> ResourceNotFound(String), } impl StopCompilationJobError { pub fn from_response(res: BufferedHttpResponse) -> RusotoError<StopCompilationJobError> { if let Some(err) = proto::json::Error::parse(&res) { match err.typ.as_str() { "ResourceNotFound" => { return RusotoError::Service(StopCompilationJobError::ResourceNotFound(err.msg)) } "ValidationException" => return RusotoError::Validation(err.msg), _ => {} } } RusotoError::Unknown(res) } } impl fmt::Display for StopCompilationJobError { #[allow(unused_variables)] fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match *self { StopCompilationJobError::ResourceNotFound(ref cause) => write!(f, "{}", cause), } } } impl Error for StopCompilationJobError {} /// Errors returned by StopHyperParameterTuningJob #[derive(Debug, PartialEq)] pub enum StopHyperParameterTuningJobError { /// <p>Resource being access is not found.</p> ResourceNotFound(String), } impl StopHyperParameterTuningJobError { pub fn from_response( res: BufferedHttpResponse, ) -> RusotoError<StopHyperParameterTuningJobError> { if let Some(err) = proto::json::Error::parse(&res) { match err.typ.as_str() { "ResourceNotFound" => { return RusotoError::Service( StopHyperParameterTuningJobError::ResourceNotFound(err.msg), ) } "ValidationException" => return RusotoError::Validation(err.msg), _ => {} } } RusotoError::Unknown(res) } } impl fmt::Display for StopHyperParameterTuningJobError { #[allow(unused_variables)] fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match *self { StopHyperParameterTuningJobError::ResourceNotFound(ref cause) => write!(f, "{}", cause), } } } impl Error for StopHyperParameterTuningJobError {} /// Errors returned by StopLabelingJob #[derive(Debug, PartialEq)] pub enum StopLabelingJobError { /// <p>Resource being access is not found.</p> ResourceNotFound(String), } impl StopLabelingJobError { pub fn from_response(res: BufferedHttpResponse) -> RusotoError<StopLabelingJobError> { if let Some(err) = proto::json::Error::parse(&res) { match err.typ.as_str() { "ResourceNotFound" => { return RusotoError::Service(StopLabelingJobError::ResourceNotFound(err.msg)) } "ValidationException" => return RusotoError::Validation(err.msg), _ => {} } } RusotoError::Unknown(res) } } impl fmt::Display for StopLabelingJobError { #[allow(unused_variables)] fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match *self { StopLabelingJobError::ResourceNotFound(ref cause) => write!(f, "{}", cause), } } } impl Error for StopLabelingJobError {} /// Errors returned by StopMonitoringSchedule #[derive(Debug, PartialEq)] pub enum StopMonitoringScheduleError { /// <p>Resource being access is not found.</p> ResourceNotFound(String), } impl StopMonitoringScheduleError { pub fn from_response(res: BufferedHttpResponse) -> RusotoError<StopMonitoringScheduleError> { if let Some(err) = proto::json::Error::parse(&res) { match err.typ.as_str() { "ResourceNotFound" => { return RusotoError::Service(StopMonitoringScheduleError::ResourceNotFound( err.msg, )) } "ValidationException" => return RusotoError::Validation(err.msg), _ => {} } } RusotoError::Unknown(res) } } impl fmt::Display for StopMonitoringScheduleError { #[allow(unused_variables)] fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match *self { StopMonitoringScheduleError::ResourceNotFound(ref cause) => write!(f, "{}", cause), } } } impl Error for StopMonitoringScheduleError {} /// Errors returned by StopNotebookInstance #[derive(Debug, PartialEq)] pub enum StopNotebookInstanceError {} impl StopNotebookInstanceError { pub fn from_response(res: BufferedHttpResponse) -> RusotoError<StopNotebookInstanceError> { if let Some(err) = proto::json::Error::parse(&res) { match err.typ.as_str() { "ValidationException" => return RusotoError::Validation(err.msg), _ => {} } } RusotoError::Unknown(res) } } impl fmt::Display for StopNotebookInstanceError { #[allow(unused_variables)] fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match *self {} } } impl Error for StopNotebookInstanceError {} /// Errors returned by StopProcessingJob #[derive(Debug, PartialEq)] pub enum StopProcessingJobError { /// <p>Resource being access is not found.</p> ResourceNotFound(String), } impl StopProcessingJobError { pub fn from_response(res: BufferedHttpResponse) -> RusotoError<StopProcessingJobError> { if let Some(err) = proto::json::Error::parse(&res) { match err.typ.as_str() { "ResourceNotFound" => { return RusotoError::Service(StopProcessingJobError::ResourceNotFound(err.msg)) } "ValidationException" => return RusotoError::Validation(err.msg), _ => {} } } RusotoError::Unknown(res) } } impl fmt::Display for StopProcessingJobError { #[allow(unused_variables)] fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match *self { StopProcessingJobError::ResourceNotFound(ref cause) => write!(f, "{}", cause), } } } impl Error for StopProcessingJobError {} /// Errors returned by StopTrainingJob #[derive(Debug, PartialEq)] pub enum StopTrainingJobError { /// <p>Resource being access is not found.</p> ResourceNotFound(String), } impl StopTrainingJobError { pub fn from_response(res: BufferedHttpResponse) -> RusotoError<StopTrainingJobError> { if let Some(err) = proto::json::Error::parse(&res) { match err.typ.as_str() { "ResourceNotFound" => { return RusotoError::Service(StopTrainingJobError::ResourceNotFound(err.msg)) } "ValidationException" => return RusotoError::Validation(err.msg), _ => {} } } RusotoError::Unknown(res) } } impl fmt::Display for StopTrainingJobError { #[allow(unused_variables)] fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match *self { StopTrainingJobError::ResourceNotFound(ref cause) => write!(f, "{}", cause), } } } impl Error for StopTrainingJobError {} /// Errors returned by StopTransformJob #[derive(Debug, PartialEq)] pub enum StopTransformJobError { /// <p>Resource being access is not found.</p> ResourceNotFound(String), } impl StopTransformJobError { pub fn from_response(res: BufferedHttpResponse) -> RusotoError<StopTransformJobError> { if let Some(err) = proto::json::Error::parse(&res) { match err.typ.as_str() { "ResourceNotFound" => { return RusotoError::Service(StopTransformJobError::ResourceNotFound(err.msg)) } "ValidationException" => return RusotoError::Validation(err.msg), _ => {} } } RusotoError::Unknown(res) } } impl fmt::Display for StopTransformJobError { #[allow(unused_variables)] fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match *self { StopTransformJobError::ResourceNotFound(ref cause) => write!(f, "{}", cause), } } } impl Error for StopTransformJobError {} /// Errors returned by UpdateCodeRepository #[derive(Debug, PartialEq)] pub enum UpdateCodeRepositoryError {} impl UpdateCodeRepositoryError { pub fn from_response(res: BufferedHttpResponse) -> RusotoError<UpdateCodeRepositoryError> { if let Some(err) = proto::json::Error::parse(&res) { match err.typ.as_str() { "ValidationException" => return RusotoError::Validation(err.msg), _ => {} } } RusotoError::Unknown(res) } } impl fmt::Display for UpdateCodeRepositoryError { #[allow(unused_variables)] fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match *self {} } } impl Error for UpdateCodeRepositoryError {} /// Errors returned by UpdateDomain #[derive(Debug, PartialEq)] pub enum UpdateDomainError { /// <p>Resource being accessed is in use.</p> ResourceInUse(String), /// <p> You have exceeded an Amazon SageMaker resource limit. For example, you might have too many training jobs created. </p> ResourceLimitExceeded(String), /// <p>Resource being access is not found.</p> ResourceNotFound(String), } impl UpdateDomainError { pub fn from_response(res: BufferedHttpResponse) -> RusotoError<UpdateDomainError> { if let Some(err) = proto::json::Error::parse(&res) { match err.typ.as_str() { "ResourceInUse" => { return RusotoError::Service(UpdateDomainError::ResourceInUse(err.msg)) } "ResourceLimitExceeded" => { return RusotoError::Service(UpdateDomainError::ResourceLimitExceeded(err.msg)) } "ResourceNotFound" => { return RusotoError::Service(UpdateDomainError::ResourceNotFound(err.msg)) } "ValidationException" => return RusotoError::Validation(err.msg), _ => {} } } RusotoError::Unknown(res) } } impl fmt::Display for UpdateDomainError { #[allow(unused_variables)] fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match *self { UpdateDomainError::ResourceInUse(ref cause) => write!(f, "{}", cause), UpdateDomainError::ResourceLimitExceeded(ref cause) => write!(f, "{}", cause), UpdateDomainError::ResourceNotFound(ref cause) => write!(f, "{}", cause), } } } impl Error for UpdateDomainError {} /// Errors returned by UpdateEndpoint #[derive(Debug, PartialEq)] pub enum UpdateEndpointError { /// <p> You have exceeded an Amazon SageMaker resource limit. For example, you might have too many training jobs created. </p> ResourceLimitExceeded(String), } impl UpdateEndpointError { pub fn from_response(res: BufferedHttpResponse) -> RusotoError<UpdateEndpointError> { if let Some(err) = proto::json::Error::parse(&res) { match err.typ.as_str() { "ResourceLimitExceeded" => { return RusotoError::Service(UpdateEndpointError::ResourceLimitExceeded( err.msg, )) } "ValidationException" => return RusotoError::Validation(err.msg), _ => {} } } RusotoError::Unknown(res) } } impl fmt::Display for UpdateEndpointError { #[allow(unused_variables)] fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match *self { UpdateEndpointError::ResourceLimitExceeded(ref cause) => write!(f, "{}", cause), } } } impl Error for UpdateEndpointError {} /// Errors returned by UpdateEndpointWeightsAndCapacities #[derive(Debug, PartialEq)] pub enum UpdateEndpointWeightsAndCapacitiesError { /// <p> You have exceeded an Amazon SageMaker resource limit. For example, you might have too many training jobs created. </p> ResourceLimitExceeded(String), } impl UpdateEndpointWeightsAndCapacitiesError { pub fn from_response( res: BufferedHttpResponse, ) -> RusotoError<UpdateEndpointWeightsAndCapacitiesError> { if let Some(err) = proto::json::Error::parse(&res) { match err.typ.as_str() { "ResourceLimitExceeded" => { return RusotoError::Service( UpdateEndpointWeightsAndCapacitiesError::ResourceLimitExceeded(err.msg), ) } "ValidationException" => return RusotoError::Validation(err.msg), _ => {} } } RusotoError::Unknown(res) } } impl fmt::Display for UpdateEndpointWeightsAndCapacitiesError { #[allow(unused_variables)] fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match *self { UpdateEndpointWeightsAndCapacitiesError::ResourceLimitExceeded(ref cause) => { write!(f, "{}", cause) } } } } impl Error for UpdateEndpointWeightsAndCapacitiesError {} /// Errors returned by UpdateExperiment #[derive(Debug, PartialEq)] pub enum UpdateExperimentError { /// <p>There was a conflict when you attempted to modify an experiment, trial, or trial component.</p> Conflict(String), /// <p>Resource being access is not found.</p> ResourceNotFound(String), } impl UpdateExperimentError { pub fn from_response(res: BufferedHttpResponse) -> RusotoError<UpdateExperimentError> { if let Some(err) = proto::json::Error::parse(&res) { match err.typ.as_str() { "ConflictException" => { return RusotoError::Service(UpdateExperimentError::Conflict(err.msg)) } "ResourceNotFound" => { return RusotoError::Service(UpdateExperimentError::ResourceNotFound(err.msg)) } "ValidationException" => return RusotoError::Validation(err.msg), _ => {} } } RusotoError::Unknown(res) } } impl fmt::Display for UpdateExperimentError { #[allow(unused_variables)] fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match *self { UpdateExperimentError::Conflict(ref cause) => write!(f, "{}", cause), UpdateExperimentError::ResourceNotFound(ref cause) => write!(f, "{}", cause), } } } impl Error for UpdateExperimentError {} /// Errors returned by UpdateMonitoringSchedule #[derive(Debug, PartialEq)] pub enum UpdateMonitoringScheduleError { /// <p> You have exceeded an Amazon SageMaker resource limit. For example, you might have too many training jobs created. </p> ResourceLimitExceeded(String), /// <p>Resource being access is not found.</p> ResourceNotFound(String), } impl UpdateMonitoringScheduleError { pub fn from_response(res: BufferedHttpResponse) -> RusotoError<UpdateMonitoringScheduleError> { if let Some(err) = proto::json::Error::parse(&res) { match err.typ.as_str() { "ResourceLimitExceeded" => { return RusotoError::Service( UpdateMonitoringScheduleError::ResourceLimitExceeded(err.msg), ) } "ResourceNotFound" => { return RusotoError::Service(UpdateMonitoringScheduleError::ResourceNotFound( err.msg, )) } "ValidationException" => return RusotoError::Validation(err.msg), _ => {} } } RusotoError::Unknown(res) } } impl fmt::Display for UpdateMonitoringScheduleError { #[allow(unused_variables)] fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match *self { UpdateMonitoringScheduleError::ResourceLimitExceeded(ref cause) => { write!(f, "{}", cause) } UpdateMonitoringScheduleError::ResourceNotFound(ref cause) => write!(f, "{}", cause), } } } impl Error for UpdateMonitoringScheduleError {} /// Errors returned by UpdateNotebookInstance #[derive(Debug, PartialEq)] pub enum UpdateNotebookInstanceError { /// <p> You have exceeded an Amazon SageMaker resource limit. For example, you might have too many training jobs created. </p> ResourceLimitExceeded(String), } impl UpdateNotebookInstanceError { pub fn from_response(res: BufferedHttpResponse) -> RusotoError<UpdateNotebookInstanceError> { if let Some(err) = proto::json::Error::parse(&res) { match err.typ.as_str() { "ResourceLimitExceeded" => { return RusotoError::Service( UpdateNotebookInstanceError::ResourceLimitExceeded(err.msg), ) } "ValidationException" => return RusotoError::Validation(err.msg), _ => {} } } RusotoError::Unknown(res) } } impl fmt::Display for UpdateNotebookInstanceError { #[allow(unused_variables)] fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match *self { UpdateNotebookInstanceError::ResourceLimitExceeded(ref cause) => write!(f, "{}", cause), } } } impl Error for UpdateNotebookInstanceError {} /// Errors returned by UpdateNotebookInstanceLifecycleConfig #[derive(Debug, PartialEq)] pub enum UpdateNotebookInstanceLifecycleConfigError { /// <p> You have exceeded an Amazon SageMaker resource limit. For example, you might have too many training jobs created. </p> ResourceLimitExceeded(String), } impl UpdateNotebookInstanceLifecycleConfigError { pub fn from_response( res: BufferedHttpResponse, ) -> RusotoError<UpdateNotebookInstanceLifecycleConfigError> { if let Some(err) = proto::json::Error::parse(&res) { match err.typ.as_str() { "ResourceLimitExceeded" => { return RusotoError::Service( UpdateNotebookInstanceLifecycleConfigError::ResourceLimitExceeded(err.msg), ) } "ValidationException" => return RusotoError::Validation(err.msg), _ => {} } } RusotoError::Unknown(res) } } impl fmt::Display for UpdateNotebookInstanceLifecycleConfigError { #[allow(unused_variables)] fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match *self { UpdateNotebookInstanceLifecycleConfigError::ResourceLimitExceeded(ref cause) => { write!(f, "{}", cause) } } } } impl Error for UpdateNotebookInstanceLifecycleConfigError {} /// Errors returned by UpdateTrial #[derive(Debug, PartialEq)] pub enum UpdateTrialError { /// <p>There was a conflict when you attempted to modify an experiment, trial, or trial component.</p> Conflict(String), /// <p>Resource being access is not found.</p> ResourceNotFound(String), } impl UpdateTrialError { pub fn from_response(res: BufferedHttpResponse) -> RusotoError<UpdateTrialError> { if let Some(err) = proto::json::Error::parse(&res) { match err.typ.as_str() { "ConflictException" => { return RusotoError::Service(UpdateTrialError::Conflict(err.msg)) } "ResourceNotFound" => { return RusotoError::Service(UpdateTrialError::ResourceNotFound(err.msg)) } "ValidationException" => return RusotoError::Validation(err.msg), _ => {} } } RusotoError::Unknown(res) } } impl fmt::Display for UpdateTrialError { #[allow(unused_variables)] fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match *self { UpdateTrialError::Conflict(ref cause) => write!(f, "{}", cause), UpdateTrialError::ResourceNotFound(ref cause) => write!(f, "{}", cause), } } } impl Error for UpdateTrialError {} /// Errors returned by UpdateTrialComponent #[derive(Debug, PartialEq)] pub enum UpdateTrialComponentError { /// <p>There was a conflict when you attempted to modify an experiment, trial, or trial component.</p> Conflict(String), /// <p>Resource being access is not found.</p> ResourceNotFound(String), } impl UpdateTrialComponentError { pub fn from_response(res: BufferedHttpResponse) -> RusotoError<UpdateTrialComponentError> { if let Some(err) = proto::json::Error::parse(&res) { match err.typ.as_str() { "ConflictException" => { return RusotoError::Service(UpdateTrialComponentError::Conflict(err.msg)) } "ResourceNotFound" => { return RusotoError::Service(UpdateTrialComponentError::ResourceNotFound( err.msg, )) } "ValidationException" => return RusotoError::Validation(err.msg), _ => {} } } RusotoError::Unknown(res) } } impl fmt::Display for UpdateTrialComponentError { #[allow(unused_variables)] fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match *self { UpdateTrialComponentError::Conflict(ref cause) => write!(f, "{}", cause), UpdateTrialComponentError::ResourceNotFound(ref cause) => write!(f, "{}", cause), } } } impl Error for UpdateTrialComponentError {} /// Errors returned by UpdateUserProfile #[derive(Debug, PartialEq)] pub enum UpdateUserProfileError { /// <p>Resource being accessed is in use.</p> ResourceInUse(String), /// <p> You have exceeded an Amazon SageMaker resource limit. For example, you might have too many training jobs created. </p> ResourceLimitExceeded(String), /// <p>Resource being access is not found.</p> ResourceNotFound(String), } impl UpdateUserProfileError { pub fn from_response(res: BufferedHttpResponse) -> RusotoError<UpdateUserProfileError> { if let Some(err) = proto::json::Error::parse(&res) { match err.typ.as_str() { "ResourceInUse" => { return RusotoError::Service(UpdateUserProfileError::ResourceInUse(err.msg)) } "ResourceLimitExceeded" => { return RusotoError::Service(UpdateUserProfileError::ResourceLimitExceeded( err.msg, )) } "ResourceNotFound" => { return RusotoError::Service(UpdateUserProfileError::ResourceNotFound(err.msg)) } "ValidationException" => return RusotoError::Validation(err.msg), _ => {} } } RusotoError::Unknown(res) } } impl fmt::Display for UpdateUserProfileError { #[allow(unused_variables)] fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match *self { UpdateUserProfileError::ResourceInUse(ref cause) => write!(f, "{}", cause), UpdateUserProfileError::ResourceLimitExceeded(ref cause) => write!(f, "{}", cause), UpdateUserProfileError::ResourceNotFound(ref cause) => write!(f, "{}", cause), } } } impl Error for UpdateUserProfileError {} /// Errors returned by UpdateWorkforce #[derive(Debug, PartialEq)] pub enum UpdateWorkforceError {} impl UpdateWorkforceError { pub fn from_response(res: BufferedHttpResponse) -> RusotoError<UpdateWorkforceError> { if let Some(err) = proto::json::Error::parse(&res) { match err.typ.as_str() { "ValidationException" => return RusotoError::Validation(err.msg), _ => {} } } RusotoError::Unknown(res) } } impl fmt::Display for UpdateWorkforceError { #[allow(unused_variables)] fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match *self {} } } impl Error for UpdateWorkforceError {} /// Errors returned by UpdateWorkteam #[derive(Debug, PartialEq)] pub enum UpdateWorkteamError { /// <p> You have exceeded an Amazon SageMaker resource limit. For example, you might have too many training jobs created. </p> ResourceLimitExceeded(String), } impl UpdateWorkteamError { pub fn from_response(res: BufferedHttpResponse) -> RusotoError<UpdateWorkteamError> { if let Some(err) = proto::json::Error::parse(&res) { match err.typ.as_str() { "ResourceLimitExceeded" => { return RusotoError::Service(UpdateWorkteamError::ResourceLimitExceeded( err.msg, )) } "ValidationException" => return RusotoError::Validation(err.msg), _ => {} } } RusotoError::Unknown(res) } } impl fmt::Display for UpdateWorkteamError { #[allow(unused_variables)] fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match *self { UpdateWorkteamError::ResourceLimitExceeded(ref cause) => write!(f, "{}", cause), } } } impl Error for UpdateWorkteamError {} /// Trait representing the capabilities of the SageMaker API. SageMaker clients implement this trait. #[async_trait] pub trait SageMaker { /// <p><p>Adds or overwrites one or more tags for the specified Amazon SageMaker resource. You can add tags to notebook instances, training jobs, hyperparameter tuning jobs, batch transform jobs, models, labeling jobs, work teams, endpoint configurations, and endpoints.</p> <p>Each tag consists of a key and an optional value. Tag keys must be unique per resource. For more information about tags, see For more information, see <a href="https://aws.amazon.com/answers/account-management/aws-tagging-strategies/">AWS Tagging Strategies</a>.</p> <note> <p>Tags that you add to a hyperparameter tuning job by calling this API are also added to any training jobs that the hyperparameter tuning job launches after you call this API, but not to training jobs that the hyperparameter tuning job launched before you called this API. To make sure that the tags associated with a hyperparameter tuning job are also added to all training jobs that the hyperparameter tuning job launches, add the tags when you first create the tuning job by specifying them in the <code>Tags</code> parameter of <a>CreateHyperParameterTuningJob</a> </p> </note></p> async fn add_tags( &self, input: AddTagsInput, ) -> Result<AddTagsOutput, RusotoError<AddTagsError>>; /// <p>Associates a trial component with a trial. A trial component can be associated with multiple trials. To disassociate a trial component from a trial, call the <a>DisassociateTrialComponent</a> API.</p> async fn associate_trial_component( &self, input: AssociateTrialComponentRequest, ) -> Result<AssociateTrialComponentResponse, RusotoError<AssociateTrialComponentError>>; /// <p>Create a machine learning algorithm that you can use in Amazon SageMaker and list in the AWS Marketplace.</p> async fn create_algorithm( &self, input: CreateAlgorithmInput, ) -> Result<CreateAlgorithmOutput, RusotoError<CreateAlgorithmError>>; /// <p>Creates a running App for the specified UserProfile. Supported Apps are JupyterServer and KernelGateway. This operation is automatically invoked by Amazon SageMaker Studio upon access to the associated Domain, and when new kernel configurations are selected by the user. A user may have multiple Apps active simultaneously.</p> async fn create_app( &self, input: CreateAppRequest, ) -> Result<CreateAppResponse, RusotoError<CreateAppError>>; /// <p>Creates an AutoPilot job.</p> <p>After you run an AutoPilot job, you can find the best performing model by calling , and then deploy that model by following the steps described in <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/ex1-deploy-model.html">Step 6.1: Deploy the Model to Amazon SageMaker Hosting Services</a>.</p> <p>For information about how to use AutoPilot, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/autopilot-automate-model-development.html">Use AutoPilot to Automate Model Development</a>.</p> async fn create_auto_ml_job( &self, input: CreateAutoMLJobRequest, ) -> Result<CreateAutoMLJobResponse, RusotoError<CreateAutoMLJobError>>; /// <p>Creates a Git repository as a resource in your Amazon SageMaker account. You can associate the repository with notebook instances so that you can use Git source control for the notebooks you create. The Git repository is a resource in your Amazon SageMaker account, so it can be associated with more than one notebook instance, and it persists independently from the lifecycle of any notebook instances it is associated with.</p> <p>The repository can be hosted either in <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html">AWS CodeCommit</a> or in any other Git repository.</p> async fn create_code_repository( &self, input: CreateCodeRepositoryInput, ) -> Result<CreateCodeRepositoryOutput, RusotoError<CreateCodeRepositoryError>>; /// <p>Starts a model compilation job. After the model has been compiled, Amazon SageMaker saves the resulting model artifacts to an Amazon Simple Storage Service (Amazon S3) bucket that you specify. </p> <p>If you choose to host your model using Amazon SageMaker hosting services, you can use the resulting model artifacts as part of the model. You can also use the artifacts with AWS IoT Greengrass. In that case, deploy them as an ML resource.</p> <p>In the request body, you provide the following:</p> <ul> <li> <p>A name for the compilation job</p> </li> <li> <p> Information about the input model artifacts </p> </li> <li> <p>The output location for the compiled model and the device (target) that the model runs on </p> </li> <li> <p> <code>The Amazon Resource Name (ARN) of the IAM role that Amazon SageMaker assumes to perform the model compilation job</code> </p> </li> </ul> <p>You can also provide a <code>Tag</code> to track the model compilation job's resource use and costs. The response body contains the <code>CompilationJobArn</code> for the compiled job.</p> <p>To stop a model compilation job, use <a>StopCompilationJob</a>. To get information about a particular model compilation job, use <a>DescribeCompilationJob</a>. To get information about multiple model compilation jobs, use <a>ListCompilationJobs</a>.</p> async fn create_compilation_job( &self, input: CreateCompilationJobRequest, ) -> Result<CreateCompilationJobResponse, RusotoError<CreateCompilationJobError>>; /// <p><p>Creates a <code>Domain</code> used by SageMaker Studio. A domain consists of an associated directory, a list of authorized users, and a variety of security, application, policy, and Amazon Virtual Private Cloud (VPC) configurations. An AWS account is limited to one domain per region. Users within a domain can share notebook files and other artifacts with each other.</p> <p>When a domain is created, an Amazon Elastic File System (EFS) volume is also created for use by all of the users within the domain. Each user receives a private home directory within the EFS for notebooks, Git repositories, and data files.</p> <p>All traffic between the domain and the EFS volume is communicated through the specified subnet IDs. All other traffic goes over the Internet through an Amazon SageMaker system VPC. The EFS traffic uses the NFS/TCP protocol over port 2049.</p> <important> <p>NFS traffic over TCP on port 2049 needs to be allowed in both inbound and outbound rules in order to launch a SageMaker Studio app successfully.</p> </important></p> async fn create_domain( &self, input: CreateDomainRequest, ) -> Result<CreateDomainResponse, RusotoError<CreateDomainError>>; /// <p>Creates an endpoint using the endpoint configuration specified in the request. Amazon SageMaker uses the endpoint to provision resources and deploy models. You create the endpoint configuration with the <a>CreateEndpointConfig</a> API. </p> <p> Use this API to deploy models using Amazon SageMaker hosting services. </p> <p>For an example that calls this method when deploying a model to Amazon SageMaker hosting services, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/ex1-deploy-model.html#ex1-deploy-model-boto">Deploy the Model to Amazon SageMaker Hosting Services (AWS SDK for Python (Boto 3)).</a> </p> <note> <p> You must not delete an <code>EndpointConfig</code> that is in use by an endpoint that is live or while the <code>UpdateEndpoint</code> or <code>CreateEndpoint</code> operations are being performed on the endpoint. To update an endpoint, you must create a new <code>EndpointConfig</code>.</p> </note> <p>The endpoint name must be unique within an AWS Region in your AWS account. </p> <p>When it receives the request, Amazon SageMaker creates the endpoint, launches the resources (ML compute instances), and deploys the model(s) on them. </p> <note> <p>When you call <a>CreateEndpoint</a>, a load call is made to DynamoDB to verify that your endpoint configuration exists. When you read data from a DynamoDB table supporting <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/HowItWorks.ReadConsistency.html"> <code>Eventually Consistent Reads</code> </a>, the response might not reflect the results of a recently completed write operation. The response might include some stale data. If the dependent entities are not yet in DynamoDB, this causes a validation error. If you repeat your read request after a short time, the response should return the latest data. So retry logic is recommended to handle these possible issues. We also recommend that customers call <a>DescribeEndpointConfig</a> before calling <a>CreateEndpoint</a> to minimize the potential impact of a DynamoDB eventually consistent read.</p> </note> <p>When Amazon SageMaker receives the request, it sets the endpoint status to <code>Creating</code>. After it creates the endpoint, it sets the status to <code>InService</code>. Amazon SageMaker can then process incoming requests for inferences. To check the status of an endpoint, use the <a>DescribeEndpoint</a> API.</p> <p>If any of the models hosted at this endpoint get model data from an Amazon S3 location, Amazon SageMaker uses AWS Security Token Service to download model artifacts from the S3 path you provided. AWS STS is activated in your IAM user account by default. If you previously deactivated AWS STS for a region, you need to reactivate AWS STS for that region. For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_enable-regions.html">Activating and Deactivating AWS STS in an AWS Region</a> in the <i>AWS Identity and Access Management User Guide</i>.</p> async fn create_endpoint( &self, input: CreateEndpointInput, ) -> Result<CreateEndpointOutput, RusotoError<CreateEndpointError>>; /// <p><p>Creates an endpoint configuration that Amazon SageMaker hosting services uses to deploy models. In the configuration, you identify one or more models, created using the <code>CreateModel</code> API, to deploy and the resources that you want Amazon SageMaker to provision. Then you call the <a>CreateEndpoint</a> API.</p> <note> <p> Use this API if you want to use Amazon SageMaker hosting services to deploy models into production. </p> </note> <p>In the request, you define a <code>ProductionVariant</code>, for each model that you want to deploy. Each <code>ProductionVariant</code> parameter also describes the resources that you want Amazon SageMaker to provision. This includes the number and type of ML compute instances to deploy. </p> <p>If you are hosting multiple models, you also assign a <code>VariantWeight</code> to specify how much traffic you want to allocate to each model. For example, suppose that you want to host two models, A and B, and you assign traffic weight 2 for model A and 1 for model B. Amazon SageMaker distributes two-thirds of the traffic to Model A, and one-third to model B. </p> <p>For an example that calls this method when deploying a model to Amazon SageMaker hosting services, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/ex1-deploy-model.html#ex1-deploy-model-boto">Deploy the Model to Amazon SageMaker Hosting Services (AWS SDK for Python (Boto 3)).</a> </p> <note> <p>When you call <a>CreateEndpoint</a>, a load call is made to DynamoDB to verify that your endpoint configuration exists. When you read data from a DynamoDB table supporting <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/HowItWorks.ReadConsistency.html"> <code>Eventually Consistent Reads</code> </a>, the response might not reflect the results of a recently completed write operation. The response might include some stale data. If the dependent entities are not yet in DynamoDB, this causes a validation error. If you repeat your read request after a short time, the response should return the latest data. So retry logic is recommended to handle these possible issues. We also recommend that customers call <a>DescribeEndpointConfig</a> before calling <a>CreateEndpoint</a> to minimize the potential impact of a DynamoDB eventually consistent read.</p> </note></p> async fn create_endpoint_config( &self, input: CreateEndpointConfigInput, ) -> Result<CreateEndpointConfigOutput, RusotoError<CreateEndpointConfigError>>; /// <p>Creates an Amazon SageMaker <i>experiment</i>. An experiment is a collection of <i>trials</i> that are observed, compared and evaluated as a group. A trial is a set of steps, called <i>trial components</i>, that produce a machine learning model.</p> <p>The goal of an experiment is to determine the components that produce the best model. Multiple trials are performed, each one isolating and measuring the impact of a change to one or more inputs, while keeping the remaining inputs constant.</p> <p>When you use Amazon SageMaker Studio or the Amazon SageMaker Python SDK, all experiments, trials, and trial components are automatically tracked, logged, and indexed. When you use the AWS SDK for Python (Boto), you must use the logging APIs provided by the SDK.</p> <p>You can add tags to experiments, trials, trial components and then use the <a>Search</a> API to search for the tags.</p> <p>To add a description to an experiment, specify the optional <code>Description</code> parameter. To add a description later, or to change the description, call the <a>UpdateExperiment</a> API.</p> <p>To get a list of all your experiments, call the <a>ListExperiments</a> API. To view an experiment's properties, call the <a>DescribeExperiment</a> API. To get a list of all the trials associated with an experiment, call the <a>ListTrials</a> API. To create a trial call the <a>CreateTrial</a> API.</p> async fn create_experiment( &self, input: CreateExperimentRequest, ) -> Result<CreateExperimentResponse, RusotoError<CreateExperimentError>>; /// <p>Creates a flow definition.</p> async fn create_flow_definition( &self, input: CreateFlowDefinitionRequest, ) -> Result<CreateFlowDefinitionResponse, RusotoError<CreateFlowDefinitionError>>; /// <p>Defines the settings you will use for the human review workflow user interface. Reviewers will see a three-panel interface with an instruction area, the item to review, and an input area.</p> async fn create_human_task_ui( &self, input: CreateHumanTaskUiRequest, ) -> Result<CreateHumanTaskUiResponse, RusotoError<CreateHumanTaskUiError>>; /// <p>Starts a hyperparameter tuning job. A hyperparameter tuning job finds the best version of a model by running many training jobs on your dataset using the algorithm you choose and values for hyperparameters within ranges that you specify. It then chooses the hyperparameter values that result in a model that performs the best, as measured by an objective metric that you choose.</p> async fn create_hyper_parameter_tuning_job( &self, input: CreateHyperParameterTuningJobRequest, ) -> Result< CreateHyperParameterTuningJobResponse, RusotoError<CreateHyperParameterTuningJobError>, >; /// <p>Creates a job that uses workers to label the data objects in your input dataset. You can use the labeled data to train machine learning models.</p> <p>You can select your workforce from one of three providers:</p> <ul> <li> <p>A private workforce that you create. It can include employees, contractors, and outside experts. Use a private workforce when want the data to stay within your organization or when a specific set of skills is required.</p> </li> <li> <p>One or more vendors that you select from the AWS Marketplace. Vendors provide expertise in specific areas. </p> </li> <li> <p>The Amazon Mechanical Turk workforce. This is the largest workforce, but it should only be used for public data or data that has been stripped of any personally identifiable information.</p> </li> </ul> <p>You can also use <i>automated data labeling</i> to reduce the number of data objects that need to be labeled by a human. Automated data labeling uses <i>active learning</i> to determine if a data object can be labeled by machine or if it needs to be sent to a human worker. For more information, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/sms-automated-labeling.html">Using Automated Data Labeling</a>.</p> <p>The data objects to be labeled are contained in an Amazon S3 bucket. You create a <i>manifest file</i> that describes the location of each object. For more information, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/sms-data.html">Using Input and Output Data</a>.</p> <p>The output can be used as the manifest file for another labeling job or as training data for your machine learning models.</p> async fn create_labeling_job( &self, input: CreateLabelingJobRequest, ) -> Result<CreateLabelingJobResponse, RusotoError<CreateLabelingJobError>>; /// <p>Creates a model in Amazon SageMaker. In the request, you name the model and describe a primary container. For the primary container, you specify the Docker image that contains inference code, artifacts (from prior training), and a custom environment map that the inference code uses when you deploy the model for predictions.</p> <p>Use this API to create a model if you want to use Amazon SageMaker hosting services or run a batch transform job.</p> <p>To host your model, you create an endpoint configuration with the <code>CreateEndpointConfig</code> API, and then create an endpoint with the <code>CreateEndpoint</code> API. Amazon SageMaker then deploys all of the containers that you defined for the model in the hosting environment. </p> <p>For an example that calls this method when deploying a model to Amazon SageMaker hosting services, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/ex1-deploy-model.html#ex1-deploy-model-boto">Deploy the Model to Amazon SageMaker Hosting Services (AWS SDK for Python (Boto 3)).</a> </p> <p>To run a batch transform using your model, you start a job with the <code>CreateTransformJob</code> API. Amazon SageMaker uses your model and your dataset to get inferences which are then saved to a specified S3 location.</p> <p>In the <code>CreateModel</code> request, you must define a container with the <code>PrimaryContainer</code> parameter.</p> <p>In the request, you also provide an IAM role that Amazon SageMaker can assume to access model artifacts and docker image for deployment on ML compute hosting instances or for batch transform jobs. In addition, you also use the IAM role to manage permissions the inference code needs. For example, if the inference code access any other AWS resources, you grant necessary permissions via this role.</p> async fn create_model( &self, input: CreateModelInput, ) -> Result<CreateModelOutput, RusotoError<CreateModelError>>; /// <p>Creates a model package that you can use to create Amazon SageMaker models or list on AWS Marketplace. Buyers can subscribe to model packages listed on AWS Marketplace to create models in Amazon SageMaker.</p> <p>To create a model package by specifying a Docker container that contains your inference code and the Amazon S3 location of your model artifacts, provide values for <code>InferenceSpecification</code>. To create a model from an algorithm resource that you created or subscribed to in AWS Marketplace, provide a value for <code>SourceAlgorithmSpecification</code>.</p> async fn create_model_package( &self, input: CreateModelPackageInput, ) -> Result<CreateModelPackageOutput, RusotoError<CreateModelPackageError>>; /// <p>Creates a schedule that regularly starts Amazon SageMaker Processing Jobs to monitor the data captured for an Amazon SageMaker Endoint.</p> async fn create_monitoring_schedule( &self, input: CreateMonitoringScheduleRequest, ) -> Result<CreateMonitoringScheduleResponse, RusotoError<CreateMonitoringScheduleError>>; /// <p>Creates an Amazon SageMaker notebook instance. A notebook instance is a machine learning (ML) compute instance running on a Jupyter notebook. </p> <p>In a <code>CreateNotebookInstance</code> request, specify the type of ML compute instance that you want to run. Amazon SageMaker launches the instance, installs common libraries that you can use to explore datasets for model training, and attaches an ML storage volume to the notebook instance. </p> <p>Amazon SageMaker also provides a set of example notebooks. Each notebook demonstrates how to use Amazon SageMaker with a specific algorithm or with a machine learning framework. </p> <p>After receiving the request, Amazon SageMaker does the following:</p> <ol> <li> <p>Creates a network interface in the Amazon SageMaker VPC.</p> </li> <li> <p>(Option) If you specified <code>SubnetId</code>, Amazon SageMaker creates a network interface in your own VPC, which is inferred from the subnet ID that you provide in the input. When creating this network interface, Amazon SageMaker attaches the security group that you specified in the request to the network interface that it creates in your VPC.</p> </li> <li> <p>Launches an EC2 instance of the type specified in the request in the Amazon SageMaker VPC. If you specified <code>SubnetId</code> of your VPC, Amazon SageMaker specifies both network interfaces when launching this instance. This enables inbound traffic from your own VPC to the notebook instance, assuming that the security groups allow it.</p> </li> </ol> <p>After creating the notebook instance, Amazon SageMaker returns its Amazon Resource Name (ARN). You can't change the name of a notebook instance after you create it.</p> <p>After Amazon SageMaker creates the notebook instance, you can connect to the Jupyter server and work in Jupyter notebooks. For example, you can write code to explore a dataset that you can use for model training, train a model, host models by creating Amazon SageMaker endpoints, and validate hosted models. </p> <p>For more information, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/how-it-works.html">How It Works</a>. </p> async fn create_notebook_instance( &self, input: CreateNotebookInstanceInput, ) -> Result<CreateNotebookInstanceOutput, RusotoError<CreateNotebookInstanceError>>; /// <p>Creates a lifecycle configuration that you can associate with a notebook instance. A <i>lifecycle configuration</i> is a collection of shell scripts that run when you create or start a notebook instance.</p> <p>Each lifecycle configuration script has a limit of 16384 characters.</p> <p>The value of the <code>$PATH</code> environment variable that is available to both scripts is <code>/sbin:bin:/usr/sbin:/usr/bin</code>.</p> <p>View CloudWatch Logs for notebook instance lifecycle configurations in log group <code>/aws/sagemaker/NotebookInstances</code> in log stream <code>[notebook-instance-name]/[LifecycleConfigHook]</code>.</p> <p>Lifecycle configuration scripts cannot run for longer than 5 minutes. If a script runs for longer than 5 minutes, it fails and the notebook instance is not created or started.</p> <p>For information about notebook instance lifestyle configurations, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/notebook-lifecycle-config.html">Step 2.1: (Optional) Customize a Notebook Instance</a>.</p> async fn create_notebook_instance_lifecycle_config( &self, input: CreateNotebookInstanceLifecycleConfigInput, ) -> Result< CreateNotebookInstanceLifecycleConfigOutput, RusotoError<CreateNotebookInstanceLifecycleConfigError>, >; /// <p>Creates a URL for a specified UserProfile in a Domain. When accessed in a web browser, the user will be automatically signed in to Amazon SageMaker Studio, and granted access to all of the Apps and files associated with the Domain's Amazon Elastic File System (EFS) volume. This operation can only be called when the authentication mode equals IAM. </p> async fn create_presigned_domain_url( &self, input: CreatePresignedDomainUrlRequest, ) -> Result<CreatePresignedDomainUrlResponse, RusotoError<CreatePresignedDomainUrlError>>; /// <p><p>Returns a URL that you can use to connect to the Jupyter server from a notebook instance. In the Amazon SageMaker console, when you choose <code>Open</code> next to a notebook instance, Amazon SageMaker opens a new tab showing the Jupyter server home page from the notebook instance. The console uses this API to get the URL and show the page.</p> <p> The IAM role or user used to call this API defines the permissions to access the notebook instance. Once the presigned URL is created, no additional permission is required to access this URL. IAM authorization policies for this API are also enforced for every HTTP request and WebSocket frame that attempts to connect to the notebook instance.</p> <p>You can restrict access to this API and to the URL that it returns to a list of IP addresses that you specify. Use the <code>NotIpAddress</code> condition operator and the <code>aws:SourceIP</code> condition context key to specify the list of IP addresses that you want to have access to the notebook instance. For more information, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/security_iam_id-based-policy-examples.html#nbi-ip-filter">Limit Access to a Notebook Instance by IP Address</a>.</p> <note> <p>The URL that you get from a call to <a>CreatePresignedNotebookInstanceUrl</a> is valid only for 5 minutes. If you try to use the URL after the 5-minute limit expires, you are directed to the AWS console sign-in page.</p> </note></p> async fn create_presigned_notebook_instance_url( &self, input: CreatePresignedNotebookInstanceUrlInput, ) -> Result< CreatePresignedNotebookInstanceUrlOutput, RusotoError<CreatePresignedNotebookInstanceUrlError>, >; /// <p>Creates a processing job.</p> async fn create_processing_job( &self, input: CreateProcessingJobRequest, ) -> Result<CreateProcessingJobResponse, RusotoError<CreateProcessingJobError>>; /// <p>Starts a model training job. After training completes, Amazon SageMaker saves the resulting model artifacts to an Amazon S3 location that you specify. </p> <p>If you choose to host your model using Amazon SageMaker hosting services, you can use the resulting model artifacts as part of the model. You can also use the artifacts in a machine learning service other than Amazon SageMaker, provided that you know how to use them for inferences. </p> <p>In the request body, you provide the following: </p> <ul> <li> <p> <code>AlgorithmSpecification</code> - Identifies the training algorithm to use. </p> </li> <li> <p> <code>HyperParameters</code> - Specify these algorithm-specific parameters to enable the estimation of model parameters during training. Hyperparameters can be tuned to optimize this learning process. For a list of hyperparameters for each training algorithm provided by Amazon SageMaker, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/algos.html">Algorithms</a>. </p> </li> <li> <p> <code>InputDataConfig</code> - Describes the training dataset and the Amazon S3, EFS, or FSx location where it is stored.</p> </li> <li> <p> <code>OutputDataConfig</code> - Identifies the Amazon S3 bucket where you want Amazon SageMaker to save the results of model training. </p> <p/> </li> <li> <p> <code>ResourceConfig</code> - Identifies the resources, ML compute instances, and ML storage volumes to deploy for model training. In distributed training, you specify more than one instance. </p> </li> <li> <p> <code>EnableManagedSpotTraining</code> - Optimize the cost of training machine learning models by up to 80% by using Amazon EC2 Spot instances. For more information, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/model-managed-spot-training.html">Managed Spot Training</a>. </p> </li> <li> <p> <code>RoleARN</code> - The Amazon Resource Number (ARN) that Amazon SageMaker assumes to perform tasks on your behalf during model training. You must grant this role the necessary permissions so that Amazon SageMaker can successfully complete model training. </p> </li> <li> <p> <code>StoppingCondition</code> - To help cap training costs, use <code>MaxRuntimeInSeconds</code> to set a time limit for training. Use <code>MaxWaitTimeInSeconds</code> to specify how long you are willing to wait for a managed spot training job to complete. </p> </li> </ul> <p> For more information about Amazon SageMaker, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/how-it-works.html">How It Works</a>. </p> async fn create_training_job( &self, input: CreateTrainingJobRequest, ) -> Result<CreateTrainingJobResponse, RusotoError<CreateTrainingJobError>>; /// <p>Starts a transform job. A transform job uses a trained model to get inferences on a dataset and saves these results to an Amazon S3 location that you specify.</p> <p>To perform batch transformations, you create a transform job and use the data that you have readily available.</p> <p>In the request body, you provide the following:</p> <ul> <li> <p> <code>TransformJobName</code> - Identifies the transform job. The name must be unique within an AWS Region in an AWS account.</p> </li> <li> <p> <code>ModelName</code> - Identifies the model to use. <code>ModelName</code> must be the name of an existing Amazon SageMaker model in the same AWS Region and AWS account. For information on creating a model, see <a>CreateModel</a>.</p> </li> <li> <p> <code>TransformInput</code> - Describes the dataset to be transformed and the Amazon S3 location where it is stored.</p> </li> <li> <p> <code>TransformOutput</code> - Identifies the Amazon S3 location where you want Amazon SageMaker to save the results from the transform job.</p> </li> <li> <p> <code>TransformResources</code> - Identifies the ML compute instances for the transform job.</p> </li> </ul> <p>For more information about how batch transformation works, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/batch-transform.html">Batch Transform</a>.</p> async fn create_transform_job( &self, input: CreateTransformJobRequest, ) -> Result<CreateTransformJobResponse, RusotoError<CreateTransformJobError>>; /// <p>Creates an Amazon SageMaker <i>trial</i>. A trial is a set of steps called <i>trial components</i> that produce a machine learning model. A trial is part of a single Amazon SageMaker <i>experiment</i>.</p> <p>When you use Amazon SageMaker Studio or the Amazon SageMaker Python SDK, all experiments, trials, and trial components are automatically tracked, logged, and indexed. When you use the AWS SDK for Python (Boto), you must use the logging APIs provided by the SDK.</p> <p>You can add tags to a trial and then use the <a>Search</a> API to search for the tags.</p> <p>To get a list of all your trials, call the <a>ListTrials</a> API. To view a trial's properties, call the <a>DescribeTrial</a> API. To create a trial component, call the <a>CreateTrialComponent</a> API.</p> async fn create_trial( &self, input: CreateTrialRequest, ) -> Result<CreateTrialResponse, RusotoError<CreateTrialError>>; /// <p><p>Creates a <i>trial component</i>, which is a stage of a machine learning <i>trial</i>. A trial is composed of one or more trial components. A trial component can be used in multiple trials.</p> <p>Trial components include pre-processing jobs, training jobs, and batch transform jobs.</p> <p>When you use Amazon SageMaker Studio or the Amazon SageMaker Python SDK, all experiments, trials, and trial components are automatically tracked, logged, and indexed. When you use the AWS SDK for Python (Boto), you must use the logging APIs provided by the SDK.</p> <p>You can add tags to a trial component and then use the <a>Search</a> API to search for the tags.</p> <note> <p> <code>CreateTrialComponent</code> can only be invoked from within an Amazon SageMaker managed environment. This includes Amazon SageMaker training jobs, processing jobs, transform jobs, and Amazon SageMaker notebooks. A call to <code>CreateTrialComponent</code> from outside one of these environments results in an error.</p> </note></p> async fn create_trial_component( &self, input: CreateTrialComponentRequest, ) -> Result<CreateTrialComponentResponse, RusotoError<CreateTrialComponentError>>; /// <p>Creates a user profile. A user profile represents a single user within a domain, and is the main way to reference a "person" for the purposes of sharing, reporting, and other user-oriented features. This entity is created when a user onboards to Amazon SageMaker Studio. If an administrator invites a person by email or imports them from SSO, a user profile is automatically created. A user profile is the primary holder of settings for an individual user and has a reference to the user's private Amazon Elastic File System (EFS) home directory. </p> async fn create_user_profile( &self, input: CreateUserProfileRequest, ) -> Result<CreateUserProfileResponse, RusotoError<CreateUserProfileError>>; /// <p>Creates a new work team for labeling your data. A work team is defined by one or more Amazon Cognito user pools. You must first create the user pools before you can create a work team.</p> <p>You cannot create more than 25 work teams in an account and region.</p> async fn create_workteam( &self, input: CreateWorkteamRequest, ) -> Result<CreateWorkteamResponse, RusotoError<CreateWorkteamError>>; /// <p>Removes the specified algorithm from your account.</p> async fn delete_algorithm( &self, input: DeleteAlgorithmInput, ) -> Result<(), RusotoError<DeleteAlgorithmError>>; /// <p>Used to stop and delete an app.</p> async fn delete_app(&self, input: DeleteAppRequest) -> Result<(), RusotoError<DeleteAppError>>; /// <p>Deletes the specified Git repository from your account.</p> async fn delete_code_repository( &self, input: DeleteCodeRepositoryInput, ) -> Result<(), RusotoError<DeleteCodeRepositoryError>>; /// <p>Used to delete a domain. If you onboarded with IAM mode, you will need to delete your domain to onboard again using SSO. Use with caution. All of the members of the domain will lose access to their EFS volume, including data, notebooks, and other artifacts. </p> async fn delete_domain( &self, input: DeleteDomainRequest, ) -> Result<(), RusotoError<DeleteDomainError>>; /// <p>Deletes an endpoint. Amazon SageMaker frees up all of the resources that were deployed when the endpoint was created. </p> <p>Amazon SageMaker retires any custom KMS key grants associated with the endpoint, meaning you don't need to use the <a href="http://docs.aws.amazon.com/kms/latest/APIReference/API_RevokeGrant.html">RevokeGrant</a> API call.</p> async fn delete_endpoint( &self, input: DeleteEndpointInput, ) -> Result<(), RusotoError<DeleteEndpointError>>; /// <p>Deletes an endpoint configuration. The <code>DeleteEndpointConfig</code> API deletes only the specified configuration. It does not delete endpoints created using the configuration. </p> <p>You must not delete an <code>EndpointConfig</code> in use by an endpoint that is live or while the <code>UpdateEndpoint</code> or <code>CreateEndpoint</code> operations are being performed on the endpoint. If you delete the <code>EndpointConfig</code> of an endpoint that is active or being created or updated you may lose visibility into the instance type the endpoint is using. The endpoint must be deleted in order to stop incurring charges.</p> async fn delete_endpoint_config( &self, input: DeleteEndpointConfigInput, ) -> Result<(), RusotoError<DeleteEndpointConfigError>>; /// <p>Deletes an Amazon SageMaker experiment. All trials associated with the experiment must be deleted first. Use the <a>ListTrials</a> API to get a list of the trials associated with the experiment.</p> async fn delete_experiment( &self, input: DeleteExperimentRequest, ) -> Result<DeleteExperimentResponse, RusotoError<DeleteExperimentError>>; /// <p>Deletes the specified flow definition.</p> async fn delete_flow_definition( &self, input: DeleteFlowDefinitionRequest, ) -> Result<DeleteFlowDefinitionResponse, RusotoError<DeleteFlowDefinitionError>>; /// <p>Use this operation to delete a worker task template (<code>HumanTaskUi</code>).</p> <p> To see a list of human task user interfaces (work task templates) in your account, use . When you delete a worker task template, it no longer appears when you call <code>ListHumanTaskUis</code>.</p> async fn delete_human_task_ui( &self, input: DeleteHumanTaskUiRequest, ) -> Result<DeleteHumanTaskUiResponse, RusotoError<DeleteHumanTaskUiError>>; /// <p>Deletes a model. The <code>DeleteModel</code> API deletes only the model entry that was created in Amazon SageMaker when you called the <a>CreateModel</a> API. It does not delete model artifacts, inference code, or the IAM role that you specified when creating the model. </p> async fn delete_model( &self, input: DeleteModelInput, ) -> Result<(), RusotoError<DeleteModelError>>; /// <p>Deletes a model package.</p> <p>A model package is used to create Amazon SageMaker models or list on AWS Marketplace. Buyers can subscribe to model packages listed on AWS Marketplace to create models in Amazon SageMaker.</p> async fn delete_model_package( &self, input: DeleteModelPackageInput, ) -> Result<(), RusotoError<DeleteModelPackageError>>; /// <p>Deletes a monitoring schedule. Also stops the schedule had not already been stopped. This does not delete the job execution history of the monitoring schedule. </p> async fn delete_monitoring_schedule( &self, input: DeleteMonitoringScheduleRequest, ) -> Result<(), RusotoError<DeleteMonitoringScheduleError>>; /// <p><p> Deletes an Amazon SageMaker notebook instance. Before you can delete a notebook instance, you must call the <code>StopNotebookInstance</code> API. </p> <important> <p>When you delete a notebook instance, you lose all of your data. Amazon SageMaker removes the ML compute instance, and deletes the ML storage volume and the network interface associated with the notebook instance. </p> </important></p> async fn delete_notebook_instance( &self, input: DeleteNotebookInstanceInput, ) -> Result<(), RusotoError<DeleteNotebookInstanceError>>; /// <p>Deletes a notebook instance lifecycle configuration.</p> async fn delete_notebook_instance_lifecycle_config( &self, input: DeleteNotebookInstanceLifecycleConfigInput, ) -> Result<(), RusotoError<DeleteNotebookInstanceLifecycleConfigError>>; /// <p><p>Deletes the specified tags from an Amazon SageMaker resource.</p> <p>To list a resource's tags, use the <code>ListTags</code> API. </p> <note> <p>When you call this API to delete tags from a hyperparameter tuning job, the deleted tags are not removed from training jobs that the hyperparameter tuning job launched before you called this API.</p> </note></p> async fn delete_tags( &self, input: DeleteTagsInput, ) -> Result<DeleteTagsOutput, RusotoError<DeleteTagsError>>; /// <p>Deletes the specified trial. All trial components that make up the trial must be deleted first. Use the <a>DescribeTrialComponent</a> API to get the list of trial components.</p> async fn delete_trial( &self, input: DeleteTrialRequest, ) -> Result<DeleteTrialResponse, RusotoError<DeleteTrialError>>; /// <p>Deletes the specified trial component. A trial component must be disassociated from all trials before the trial component can be deleted. To disassociate a trial component from a trial, call the <a>DisassociateTrialComponent</a> API.</p> async fn delete_trial_component( &self, input: DeleteTrialComponentRequest, ) -> Result<DeleteTrialComponentResponse, RusotoError<DeleteTrialComponentError>>; /// <p>Deletes a user profile. When a user profile is deleted, the user loses access to their EFS volume, including data, notebooks, and other artifacts.</p> async fn delete_user_profile( &self, input: DeleteUserProfileRequest, ) -> Result<(), RusotoError<DeleteUserProfileError>>; /// <p>Deletes an existing work team. This operation can't be undone.</p> async fn delete_workteam( &self, input: DeleteWorkteamRequest, ) -> Result<DeleteWorkteamResponse, RusotoError<DeleteWorkteamError>>; /// <p>Returns a description of the specified algorithm that is in your account.</p> async fn describe_algorithm( &self, input: DescribeAlgorithmInput, ) -> Result<DescribeAlgorithmOutput, RusotoError<DescribeAlgorithmError>>; /// <p>Describes the app.</p> async fn describe_app( &self, input: DescribeAppRequest, ) -> Result<DescribeAppResponse, RusotoError<DescribeAppError>>; /// <p>Returns information about an Amazon SageMaker job.</p> async fn describe_auto_ml_job( &self, input: DescribeAutoMLJobRequest, ) -> Result<DescribeAutoMLJobResponse, RusotoError<DescribeAutoMLJobError>>; /// <p>Gets details about the specified Git repository.</p> async fn describe_code_repository( &self, input: DescribeCodeRepositoryInput, ) -> Result<DescribeCodeRepositoryOutput, RusotoError<DescribeCodeRepositoryError>>; /// <p>Returns information about a model compilation job.</p> <p>To create a model compilation job, use <a>CreateCompilationJob</a>. To get information about multiple model compilation jobs, use <a>ListCompilationJobs</a>.</p> async fn describe_compilation_job( &self, input: DescribeCompilationJobRequest, ) -> Result<DescribeCompilationJobResponse, RusotoError<DescribeCompilationJobError>>; /// <p>The description of the domain.</p> async fn describe_domain( &self, input: DescribeDomainRequest, ) -> Result<DescribeDomainResponse, RusotoError<DescribeDomainError>>; /// <p>Returns the description of an endpoint.</p> async fn describe_endpoint( &self, input: DescribeEndpointInput, ) -> Result<DescribeEndpointOutput, RusotoError<DescribeEndpointError>>; /// <p>Returns the description of an endpoint configuration created using the <code>CreateEndpointConfig</code> API.</p> async fn describe_endpoint_config( &self, input: DescribeEndpointConfigInput, ) -> Result<DescribeEndpointConfigOutput, RusotoError<DescribeEndpointConfigError>>; /// <p>Provides a list of an experiment's properties.</p> async fn describe_experiment( &self, input: DescribeExperimentRequest, ) -> Result<DescribeExperimentResponse, RusotoError<DescribeExperimentError>>; /// <p>Returns information about the specified flow definition.</p> async fn describe_flow_definition( &self, input: DescribeFlowDefinitionRequest, ) -> Result<DescribeFlowDefinitionResponse, RusotoError<DescribeFlowDefinitionError>>; /// <p>Returns information about the requested human task user interface (worker task template).</p> async fn describe_human_task_ui( &self, input: DescribeHumanTaskUiRequest, ) -> Result<DescribeHumanTaskUiResponse, RusotoError<DescribeHumanTaskUiError>>; /// <p>Gets a description of a hyperparameter tuning job.</p> async fn describe_hyper_parameter_tuning_job( &self, input: DescribeHyperParameterTuningJobRequest, ) -> Result< DescribeHyperParameterTuningJobResponse, RusotoError<DescribeHyperParameterTuningJobError>, >; /// <p>Gets information about a labeling job.</p> async fn describe_labeling_job( &self, input: DescribeLabelingJobRequest, ) -> Result<DescribeLabelingJobResponse, RusotoError<DescribeLabelingJobError>>; /// <p>Describes a model that you created using the <code>CreateModel</code> API.</p> async fn describe_model( &self, input: DescribeModelInput, ) -> Result<DescribeModelOutput, RusotoError<DescribeModelError>>; /// <p>Returns a description of the specified model package, which is used to create Amazon SageMaker models or list them on AWS Marketplace.</p> <p>To create models in Amazon SageMaker, buyers can subscribe to model packages listed on AWS Marketplace.</p> async fn describe_model_package( &self, input: DescribeModelPackageInput, ) -> Result<DescribeModelPackageOutput, RusotoError<DescribeModelPackageError>>; /// <p>Describes the schedule for a monitoring job.</p> async fn describe_monitoring_schedule( &self, input: DescribeMonitoringScheduleRequest, ) -> Result<DescribeMonitoringScheduleResponse, RusotoError<DescribeMonitoringScheduleError>>; /// <p>Returns information about a notebook instance.</p> async fn describe_notebook_instance( &self, input: DescribeNotebookInstanceInput, ) -> Result<DescribeNotebookInstanceOutput, RusotoError<DescribeNotebookInstanceError>>; /// <p>Returns a description of a notebook instance lifecycle configuration.</p> <p>For information about notebook instance lifestyle configurations, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/notebook-lifecycle-config.html">Step 2.1: (Optional) Customize a Notebook Instance</a>.</p> async fn describe_notebook_instance_lifecycle_config( &self, input: DescribeNotebookInstanceLifecycleConfigInput, ) -> Result< DescribeNotebookInstanceLifecycleConfigOutput, RusotoError<DescribeNotebookInstanceLifecycleConfigError>, >; /// <p>Returns a description of a processing job.</p> async fn describe_processing_job( &self, input: DescribeProcessingJobRequest, ) -> Result<DescribeProcessingJobResponse, RusotoError<DescribeProcessingJobError>>; /// <p>Gets information about a work team provided by a vendor. It returns details about the subscription with a vendor in the AWS Marketplace.</p> async fn describe_subscribed_workteam( &self, input: DescribeSubscribedWorkteamRequest, ) -> Result<DescribeSubscribedWorkteamResponse, RusotoError<DescribeSubscribedWorkteamError>>; /// <p>Returns information about a training job.</p> async fn describe_training_job( &self, input: DescribeTrainingJobRequest, ) -> Result<DescribeTrainingJobResponse, RusotoError<DescribeTrainingJobError>>; /// <p>Returns information about a transform job.</p> async fn describe_transform_job( &self, input: DescribeTransformJobRequest, ) -> Result<DescribeTransformJobResponse, RusotoError<DescribeTransformJobError>>; /// <p>Provides a list of a trial's properties.</p> async fn describe_trial( &self, input: DescribeTrialRequest, ) -> Result<DescribeTrialResponse, RusotoError<DescribeTrialError>>; /// <p>Provides a list of a trials component's properties.</p> async fn describe_trial_component( &self, input: DescribeTrialComponentRequest, ) -> Result<DescribeTrialComponentResponse, RusotoError<DescribeTrialComponentError>>; /// <p>Describes a user profile. For more information, see <code>CreateUserProfile</code>.</p> async fn describe_user_profile( &self, input: DescribeUserProfileRequest, ) -> Result<DescribeUserProfileResponse, RusotoError<DescribeUserProfileError>>; /// <p><p>Lists private workforce information, including workforce name, Amazon Resource Name (ARN), and, if applicable, allowed IP address ranges (<a href="https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Subnets.html">CIDRs</a>). Allowable IP address ranges are the IP addresses that workers can use to access tasks. </p> <important> <p>This operation applies only to private workforces.</p> </important></p> async fn describe_workforce( &self, input: DescribeWorkforceRequest, ) -> Result<DescribeWorkforceResponse, RusotoError<DescribeWorkforceError>>; /// <p>Gets information about a specific work team. You can see information such as the create date, the last updated date, membership information, and the work team's Amazon Resource Name (ARN).</p> async fn describe_workteam( &self, input: DescribeWorkteamRequest, ) -> Result<DescribeWorkteamResponse, RusotoError<DescribeWorkteamError>>; /// <p>Disassociates a trial component from a trial. This doesn't effect other trials the component is associated with. Before you can delete a component, you must disassociate the component from all trials it is associated with. To associate a trial component with a trial, call the <a>AssociateTrialComponent</a> API.</p> <p>To get a list of the trials a component is associated with, use the <a>Search</a> API. Specify <code>ExperimentTrialComponent</code> for the <code>Resource</code> parameter. The list appears in the response under <code>Results.TrialComponent.Parents</code>.</p> async fn disassociate_trial_component( &self, input: DisassociateTrialComponentRequest, ) -> Result<DisassociateTrialComponentResponse, RusotoError<DisassociateTrialComponentError>>; /// <p>An auto-complete API for the search functionality in the Amazon SageMaker console. It returns suggestions of possible matches for the property name to use in <code>Search</code> queries. Provides suggestions for <code>HyperParameters</code>, <code>Tags</code>, and <code>Metrics</code>.</p> async fn get_search_suggestions( &self, input: GetSearchSuggestionsRequest, ) -> Result<GetSearchSuggestionsResponse, RusotoError<GetSearchSuggestionsError>>; /// <p>Lists the machine learning algorithms that have been created.</p> async fn list_algorithms( &self, input: ListAlgorithmsInput, ) -> Result<ListAlgorithmsOutput, RusotoError<ListAlgorithmsError>>; /// <p>Lists apps.</p> async fn list_apps( &self, input: ListAppsRequest, ) -> Result<ListAppsResponse, RusotoError<ListAppsError>>; /// <p>Request a list of jobs.</p> async fn list_auto_ml_jobs( &self, input: ListAutoMLJobsRequest, ) -> Result<ListAutoMLJobsResponse, RusotoError<ListAutoMLJobsError>>; /// <p>List the Candidates created for the job.</p> async fn list_candidates_for_auto_ml_job( &self, input: ListCandidatesForAutoMLJobRequest, ) -> Result<ListCandidatesForAutoMLJobResponse, RusotoError<ListCandidatesForAutoMLJobError>>; /// <p>Gets a list of the Git repositories in your account.</p> async fn list_code_repositories( &self, input: ListCodeRepositoriesInput, ) -> Result<ListCodeRepositoriesOutput, RusotoError<ListCodeRepositoriesError>>; /// <p>Lists model compilation jobs that satisfy various filters.</p> <p>To create a model compilation job, use <a>CreateCompilationJob</a>. To get information about a particular model compilation job you have created, use <a>DescribeCompilationJob</a>.</p> async fn list_compilation_jobs( &self, input: ListCompilationJobsRequest, ) -> Result<ListCompilationJobsResponse, RusotoError<ListCompilationJobsError>>; /// <p>Lists the domains.</p> async fn list_domains( &self, input: ListDomainsRequest, ) -> Result<ListDomainsResponse, RusotoError<ListDomainsError>>; /// <p>Lists endpoint configurations.</p> async fn list_endpoint_configs( &self, input: ListEndpointConfigsInput, ) -> Result<ListEndpointConfigsOutput, RusotoError<ListEndpointConfigsError>>; /// <p>Lists endpoints.</p> async fn list_endpoints( &self, input: ListEndpointsInput, ) -> Result<ListEndpointsOutput, RusotoError<ListEndpointsError>>; /// <p>Lists all the experiments in your account. The list can be filtered to show only experiments that were created in a specific time range. The list can be sorted by experiment name or creation time.</p> async fn list_experiments( &self, input: ListExperimentsRequest, ) -> Result<ListExperimentsResponse, RusotoError<ListExperimentsError>>; /// <p>Returns information about the flow definitions in your account.</p> async fn list_flow_definitions( &self, input: ListFlowDefinitionsRequest, ) -> Result<ListFlowDefinitionsResponse, RusotoError<ListFlowDefinitionsError>>; /// <p>Returns information about the human task user interfaces in your account.</p> async fn list_human_task_uis( &self, input: ListHumanTaskUisRequest, ) -> Result<ListHumanTaskUisResponse, RusotoError<ListHumanTaskUisError>>; /// <p>Gets a list of <a>HyperParameterTuningJobSummary</a> objects that describe the hyperparameter tuning jobs launched in your account.</p> async fn list_hyper_parameter_tuning_jobs( &self, input: ListHyperParameterTuningJobsRequest, ) -> Result<ListHyperParameterTuningJobsResponse, RusotoError<ListHyperParameterTuningJobsError>>; /// <p>Gets a list of labeling jobs.</p> async fn list_labeling_jobs( &self, input: ListLabelingJobsRequest, ) -> Result<ListLabelingJobsResponse, RusotoError<ListLabelingJobsError>>; /// <p>Gets a list of labeling jobs assigned to a specified work team.</p> async fn list_labeling_jobs_for_workteam( &self, input: ListLabelingJobsForWorkteamRequest, ) -> Result<ListLabelingJobsForWorkteamResponse, RusotoError<ListLabelingJobsForWorkteamError>>; /// <p>Lists the model packages that have been created.</p> async fn list_model_packages( &self, input: ListModelPackagesInput, ) -> Result<ListModelPackagesOutput, RusotoError<ListModelPackagesError>>; /// <p>Lists models created with the <a>CreateModel</a> API.</p> async fn list_models( &self, input: ListModelsInput, ) -> Result<ListModelsOutput, RusotoError<ListModelsError>>; /// <p>Returns list of all monitoring job executions.</p> async fn list_monitoring_executions( &self, input: ListMonitoringExecutionsRequest, ) -> Result<ListMonitoringExecutionsResponse, RusotoError<ListMonitoringExecutionsError>>; /// <p>Returns list of all monitoring schedules.</p> async fn list_monitoring_schedules( &self, input: ListMonitoringSchedulesRequest, ) -> Result<ListMonitoringSchedulesResponse, RusotoError<ListMonitoringSchedulesError>>; /// <p>Lists notebook instance lifestyle configurations created with the <a>CreateNotebookInstanceLifecycleConfig</a> API.</p> async fn list_notebook_instance_lifecycle_configs( &self, input: ListNotebookInstanceLifecycleConfigsInput, ) -> Result< ListNotebookInstanceLifecycleConfigsOutput, RusotoError<ListNotebookInstanceLifecycleConfigsError>, >; /// <p>Returns a list of the Amazon SageMaker notebook instances in the requester's account in an AWS Region. </p> async fn list_notebook_instances( &self, input: ListNotebookInstancesInput, ) -> Result<ListNotebookInstancesOutput, RusotoError<ListNotebookInstancesError>>; /// <p>Lists processing jobs that satisfy various filters.</p> async fn list_processing_jobs( &self, input: ListProcessingJobsRequest, ) -> Result<ListProcessingJobsResponse, RusotoError<ListProcessingJobsError>>; /// <p>Gets a list of the work teams that you are subscribed to in the AWS Marketplace. The list may be empty if no work team satisfies the filter specified in the <code>NameContains</code> parameter.</p> async fn list_subscribed_workteams( &self, input: ListSubscribedWorkteamsRequest, ) -> Result<ListSubscribedWorkteamsResponse, RusotoError<ListSubscribedWorkteamsError>>; /// <p>Returns the tags for the specified Amazon SageMaker resource.</p> async fn list_tags( &self, input: ListTagsInput, ) -> Result<ListTagsOutput, RusotoError<ListTagsError>>; /// <p>Lists training jobs.</p> async fn list_training_jobs( &self, input: ListTrainingJobsRequest, ) -> Result<ListTrainingJobsResponse, RusotoError<ListTrainingJobsError>>; /// <p>Gets a list of <a>TrainingJobSummary</a> objects that describe the training jobs that a hyperparameter tuning job launched.</p> async fn list_training_jobs_for_hyper_parameter_tuning_job( &self, input: ListTrainingJobsForHyperParameterTuningJobRequest, ) -> Result< ListTrainingJobsForHyperParameterTuningJobResponse, RusotoError<ListTrainingJobsForHyperParameterTuningJobError>, >; /// <p>Lists transform jobs.</p> async fn list_transform_jobs( &self, input: ListTransformJobsRequest, ) -> Result<ListTransformJobsResponse, RusotoError<ListTransformJobsError>>; /// <p><p>Lists the trial components in your account. You can sort the list by trial component name or creation time. You can filter the list to show only components that were created in a specific time range. You can also filter on one of the following:</p> <ul> <li> <p> <code>ExperimentName</code> </p> </li> <li> <p> <code>SourceArn</code> </p> </li> <li> <p> <code>TrialName</code> </p> </li> </ul></p> async fn list_trial_components( &self, input: ListTrialComponentsRequest, ) -> Result<ListTrialComponentsResponse, RusotoError<ListTrialComponentsError>>; /// <p>Lists the trials in your account. Specify an experiment name to limit the list to the trials that are part of that experiment. Specify a trial component name to limit the list to the trials that associated with that trial component. The list can be filtered to show only trials that were created in a specific time range. The list can be sorted by trial name or creation time.</p> async fn list_trials( &self, input: ListTrialsRequest, ) -> Result<ListTrialsResponse, RusotoError<ListTrialsError>>; /// <p>Lists user profiles.</p> async fn list_user_profiles( &self, input: ListUserProfilesRequest, ) -> Result<ListUserProfilesResponse, RusotoError<ListUserProfilesError>>; /// <p>Gets a list of work teams that you have defined in a region. The list may be empty if no work team satisfies the filter specified in the <code>NameContains</code> parameter.</p> async fn list_workteams( &self, input: ListWorkteamsRequest, ) -> Result<ListWorkteamsResponse, RusotoError<ListWorkteamsError>>; /// <p>Renders the UI template so that you can preview the worker's experience. </p> async fn render_ui_template( &self, input: RenderUiTemplateRequest, ) -> Result<RenderUiTemplateResponse, RusotoError<RenderUiTemplateError>>; /// <p>Finds Amazon SageMaker resources that match a search query. Matching resources are returned as a list of <code>SearchRecord</code> objects in the response. You can sort the search results by any resource property in a ascending or descending order.</p> <p>You can query against the following value types: numeric, text, Boolean, and timestamp.</p> async fn search( &self, input: SearchRequest, ) -> Result<SearchResponse, RusotoError<SearchError>>; /// <p><p>Starts a previously stopped monitoring schedule.</p> <note> <p>New monitoring schedules are immediately started after creation.</p> </note></p> async fn start_monitoring_schedule( &self, input: StartMonitoringScheduleRequest, ) -> Result<(), RusotoError<StartMonitoringScheduleError>>; /// <p>Launches an ML compute instance with the latest version of the libraries and attaches your ML storage volume. After configuring the notebook instance, Amazon SageMaker sets the notebook instance status to <code>InService</code>. A notebook instance's status must be <code>InService</code> before you can connect to your Jupyter notebook. </p> async fn start_notebook_instance( &self, input: StartNotebookInstanceInput, ) -> Result<(), RusotoError<StartNotebookInstanceError>>; /// <p>A method for forcing the termination of a running job.</p> async fn stop_auto_ml_job( &self, input: StopAutoMLJobRequest, ) -> Result<(), RusotoError<StopAutoMLJobError>>; /// <p>Stops a model compilation job.</p> <p> To stop a job, Amazon SageMaker sends the algorithm the SIGTERM signal. This gracefully shuts the job down. If the job hasn't stopped, it sends the SIGKILL signal.</p> <p>When it receives a <code>StopCompilationJob</code> request, Amazon SageMaker changes the <a>CompilationJobSummary$CompilationJobStatus</a> of the job to <code>Stopping</code>. After Amazon SageMaker stops the job, it sets the <a>CompilationJobSummary$CompilationJobStatus</a> to <code>Stopped</code>. </p> async fn stop_compilation_job( &self, input: StopCompilationJobRequest, ) -> Result<(), RusotoError<StopCompilationJobError>>; /// <p>Stops a running hyperparameter tuning job and all running training jobs that the tuning job launched.</p> <p>All model artifacts output from the training jobs are stored in Amazon Simple Storage Service (Amazon S3). All data that the training jobs write to Amazon CloudWatch Logs are still available in CloudWatch. After the tuning job moves to the <code>Stopped</code> state, it releases all reserved resources for the tuning job.</p> async fn stop_hyper_parameter_tuning_job( &self, input: StopHyperParameterTuningJobRequest, ) -> Result<(), RusotoError<StopHyperParameterTuningJobError>>; /// <p>Stops a running labeling job. A job that is stopped cannot be restarted. Any results obtained before the job is stopped are placed in the Amazon S3 output bucket.</p> async fn stop_labeling_job( &self, input: StopLabelingJobRequest, ) -> Result<(), RusotoError<StopLabelingJobError>>; /// <p>Stops a previously started monitoring schedule.</p> async fn stop_monitoring_schedule( &self, input: StopMonitoringScheduleRequest, ) -> Result<(), RusotoError<StopMonitoringScheduleError>>; /// <p>Terminates the ML compute instance. Before terminating the instance, Amazon SageMaker disconnects the ML storage volume from it. Amazon SageMaker preserves the ML storage volume. Amazon SageMaker stops charging you for the ML compute instance when you call <code>StopNotebookInstance</code>.</p> <p>To access data on the ML storage volume for a notebook instance that has been terminated, call the <code>StartNotebookInstance</code> API. <code>StartNotebookInstance</code> launches another ML compute instance, configures it, and attaches the preserved ML storage volume so you can continue your work. </p> async fn stop_notebook_instance( &self, input: StopNotebookInstanceInput, ) -> Result<(), RusotoError<StopNotebookInstanceError>>; /// <p>Stops a processing job.</p> async fn stop_processing_job( &self, input: StopProcessingJobRequest, ) -> Result<(), RusotoError<StopProcessingJobError>>; /// <p>Stops a training job. To stop a job, Amazon SageMaker sends the algorithm the <code>SIGTERM</code> signal, which delays job termination for 120 seconds. Algorithms might use this 120-second window to save the model artifacts, so the results of the training is not lost. </p> <p>When it receives a <code>StopTrainingJob</code> request, Amazon SageMaker changes the status of the job to <code>Stopping</code>. After Amazon SageMaker stops the job, it sets the status to <code>Stopped</code>.</p> async fn stop_training_job( &self, input: StopTrainingJobRequest, ) -> Result<(), RusotoError<StopTrainingJobError>>; /// <p>Stops a transform job.</p> <p>When Amazon SageMaker receives a <code>StopTransformJob</code> request, the status of the job changes to <code>Stopping</code>. After Amazon SageMaker stops the job, the status is set to <code>Stopped</code>. When you stop a transform job before it is completed, Amazon SageMaker doesn't store the job's output in Amazon S3.</p> async fn stop_transform_job( &self, input: StopTransformJobRequest, ) -> Result<(), RusotoError<StopTransformJobError>>; /// <p>Updates the specified Git repository with the specified values.</p> async fn update_code_repository( &self, input: UpdateCodeRepositoryInput, ) -> Result<UpdateCodeRepositoryOutput, RusotoError<UpdateCodeRepositoryError>>; /// <p>Updates the default settings for new user profiles in the domain.</p> async fn update_domain( &self, input: UpdateDomainRequest, ) -> Result<UpdateDomainResponse, RusotoError<UpdateDomainError>>; /// <p><p>Deploys the new <code>EndpointConfig</code> specified in the request, switches to using newly created endpoint, and then deletes resources provisioned for the endpoint using the previous <code>EndpointConfig</code> (there is no availability loss). </p> <p>When Amazon SageMaker receives the request, it sets the endpoint status to <code>Updating</code>. After updating the endpoint, it sets the status to <code>InService</code>. To check the status of an endpoint, use the <a>DescribeEndpoint</a> API. </p> <note> <p>You must not delete an <code>EndpointConfig</code> in use by an endpoint that is live or while the <code>UpdateEndpoint</code> or <code>CreateEndpoint</code> operations are being performed on the endpoint. To update an endpoint, you must create a new <code>EndpointConfig</code>.</p> <p>If you delete the <code>EndpointConfig</code> of an endpoint that is active or being created or updated you may lose visibility into the instance type the endpoint is using. The endpoint must be deleted in order to stop incurring charges.</p> </note></p> async fn update_endpoint( &self, input: UpdateEndpointInput, ) -> Result<UpdateEndpointOutput, RusotoError<UpdateEndpointError>>; /// <p>Updates variant weight of one or more variants associated with an existing endpoint, or capacity of one variant associated with an existing endpoint. When it receives the request, Amazon SageMaker sets the endpoint status to <code>Updating</code>. After updating the endpoint, it sets the status to <code>InService</code>. To check the status of an endpoint, use the <a>DescribeEndpoint</a> API. </p> async fn update_endpoint_weights_and_capacities( &self, input: UpdateEndpointWeightsAndCapacitiesInput, ) -> Result< UpdateEndpointWeightsAndCapacitiesOutput, RusotoError<UpdateEndpointWeightsAndCapacitiesError>, >; /// <p>Adds, updates, or removes the description of an experiment. Updates the display name of an experiment.</p> async fn update_experiment( &self, input: UpdateExperimentRequest, ) -> Result<UpdateExperimentResponse, RusotoError<UpdateExperimentError>>; /// <p>Updates a previously created schedule.</p> async fn update_monitoring_schedule( &self, input: UpdateMonitoringScheduleRequest, ) -> Result<UpdateMonitoringScheduleResponse, RusotoError<UpdateMonitoringScheduleError>>; /// <p>Updates a notebook instance. NotebookInstance updates include upgrading or downgrading the ML compute instance used for your notebook instance to accommodate changes in your workload requirements.</p> async fn update_notebook_instance( &self, input: UpdateNotebookInstanceInput, ) -> Result<UpdateNotebookInstanceOutput, RusotoError<UpdateNotebookInstanceError>>; /// <p>Updates a notebook instance lifecycle configuration created with the <a>CreateNotebookInstanceLifecycleConfig</a> API.</p> async fn update_notebook_instance_lifecycle_config( &self, input: UpdateNotebookInstanceLifecycleConfigInput, ) -> Result< UpdateNotebookInstanceLifecycleConfigOutput, RusotoError<UpdateNotebookInstanceLifecycleConfigError>, >; /// <p>Updates the display name of a trial.</p> async fn update_trial( &self, input: UpdateTrialRequest, ) -> Result<UpdateTrialResponse, RusotoError<UpdateTrialError>>; /// <p>Updates one or more properties of a trial component.</p> async fn update_trial_component( &self, input: UpdateTrialComponentRequest, ) -> Result<UpdateTrialComponentResponse, RusotoError<UpdateTrialComponentError>>; /// <p>Updates a user profile.</p> async fn update_user_profile( &self, input: UpdateUserProfileRequest, ) -> Result<UpdateUserProfileResponse, RusotoError<UpdateUserProfileError>>; /// <p><p>Restricts access to tasks assigned to workers in the specified workforce to those within specific ranges of IP addresses. You specify allowed IP addresses by creating a list of up to ten <a href="https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Subnets.html">CIDRs</a>.</p> <p>By default, a workforce isn't restricted to specific IP addresses. If you specify a range of IP addresses, workers who attempt to access tasks using any IP address outside the specified range are denied access and get a <code>Not Found</code> error message on the worker portal. After restricting access with this operation, you can see the allowed IP values for a private workforce with the operation.</p> <important> <p>This operation applies only to private workforces.</p> </important></p> async fn update_workforce( &self, input: UpdateWorkforceRequest, ) -> Result<UpdateWorkforceResponse, RusotoError<UpdateWorkforceError>>; /// <p>Updates an existing work team with new member definitions or description.</p> async fn update_workteam( &self, input: UpdateWorkteamRequest, ) -> Result<UpdateWorkteamResponse, RusotoError<UpdateWorkteamError>>; } /// A client for the SageMaker API. #[derive(Clone)] pub struct SageMakerClient { client: Client, region: region::Region, } impl SageMakerClient { /// Creates a client backed by the default tokio event loop. /// /// The client will use the default credentials provider and tls client. pub fn new(region: region::Region) -> SageMakerClient { SageMakerClient { client: Client::shared(), region, } } pub fn new_with<P, D>( request_dispatcher: D, credentials_provider: P, region: region::Region, ) -> SageMakerClient where P: ProvideAwsCredentials + Send + Sync + 'static, D: DispatchSignedRequest + Send + Sync + 'static, { SageMakerClient { client: Client::new_with(credentials_provider, request_dispatcher), region, } } pub fn new_with_client(client: Client, region: region::Region) -> SageMakerClient { SageMakerClient { client, region } } } #[async_trait] impl SageMaker for SageMakerClient { /// <p><p>Adds or overwrites one or more tags for the specified Amazon SageMaker resource. You can add tags to notebook instances, training jobs, hyperparameter tuning jobs, batch transform jobs, models, labeling jobs, work teams, endpoint configurations, and endpoints.</p> <p>Each tag consists of a key and an optional value. Tag keys must be unique per resource. For more information about tags, see For more information, see <a href="https://aws.amazon.com/answers/account-management/aws-tagging-strategies/">AWS Tagging Strategies</a>.</p> <note> <p>Tags that you add to a hyperparameter tuning job by calling this API are also added to any training jobs that the hyperparameter tuning job launches after you call this API, but not to training jobs that the hyperparameter tuning job launched before you called this API. To make sure that the tags associated with a hyperparameter tuning job are also added to all training jobs that the hyperparameter tuning job launches, add the tags when you first create the tuning job by specifying them in the <code>Tags</code> parameter of <a>CreateHyperParameterTuningJob</a> </p> </note></p> async fn add_tags( &self, input: AddTagsInput, ) -> Result<AddTagsOutput, RusotoError<AddTagsError>> { let mut request = self.new_signed_request("POST", "/"); request.add_header("x-amz-target", "SageMaker.AddTags"); let encoded = serde_json::to_string(&input).unwrap(); request.set_payload(Some(encoded)); let response = self .sign_and_dispatch(request, AddTagsError::from_response) .await?; let mut response = response; let response = response.buffer().await.map_err(RusotoError::HttpDispatch)?; proto::json::ResponsePayload::new(&response).deserialize::<AddTagsOutput, _>() } /// <p>Associates a trial component with a trial. A trial component can be associated with multiple trials. To disassociate a trial component from a trial, call the <a>DisassociateTrialComponent</a> API.</p> async fn associate_trial_component( &self, input: AssociateTrialComponentRequest, ) -> Result<AssociateTrialComponentResponse, RusotoError<AssociateTrialComponentError>> { let mut request = self.new_signed_request("POST", "/"); request.add_header("x-amz-target", "SageMaker.AssociateTrialComponent"); let encoded = serde_json::to_string(&input).unwrap(); request.set_payload(Some(encoded)); let response = self .sign_and_dispatch(request, AssociateTrialComponentError::from_response) .await?; let mut response = response; let response = response.buffer().await.map_err(RusotoError::HttpDispatch)?; proto::json::ResponsePayload::new(&response) .deserialize::<AssociateTrialComponentResponse, _>() } /// <p>Create a machine learning algorithm that you can use in Amazon SageMaker and list in the AWS Marketplace.</p> async fn create_algorithm( &self, input: CreateAlgorithmInput, ) -> Result<CreateAlgorithmOutput, RusotoError<CreateAlgorithmError>> { let mut request = self.new_signed_request("POST", "/"); request.add_header("x-amz-target", "SageMaker.CreateAlgorithm"); let encoded = serde_json::to_string(&input).unwrap(); request.set_payload(Some(encoded)); let response = self .sign_and_dispatch(request, CreateAlgorithmError::from_response) .await?; let mut response = response; let response = response.buffer().await.map_err(RusotoError::HttpDispatch)?; proto::json::ResponsePayload::new(&response).deserialize::<CreateAlgorithmOutput, _>() } /// <p>Creates a running App for the specified UserProfile. Supported Apps are JupyterServer and KernelGateway. This operation is automatically invoked by Amazon SageMaker Studio upon access to the associated Domain, and when new kernel configurations are selected by the user. A user may have multiple Apps active simultaneously.</p> async fn create_app( &self, input: CreateAppRequest, ) -> Result<CreateAppResponse, RusotoError<CreateAppError>> { let mut request = self.new_signed_request("POST", "/"); request.add_header("x-amz-target", "SageMaker.CreateApp"); let encoded = serde_json::to_string(&input).unwrap(); request.set_payload(Some(encoded)); let response = self .sign_and_dispatch(request, CreateAppError::from_response) .await?; let mut response = response; let response = response.buffer().await.map_err(RusotoError::HttpDispatch)?; proto::json::ResponsePayload::new(&response).deserialize::<CreateAppResponse, _>() } /// <p>Creates an AutoPilot job.</p> <p>After you run an AutoPilot job, you can find the best performing model by calling , and then deploy that model by following the steps described in <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/ex1-deploy-model.html">Step 6.1: Deploy the Model to Amazon SageMaker Hosting Services</a>.</p> <p>For information about how to use AutoPilot, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/autopilot-automate-model-development.html">Use AutoPilot to Automate Model Development</a>.</p> async fn create_auto_ml_job( &self, input: CreateAutoMLJobRequest, ) -> Result<CreateAutoMLJobResponse, RusotoError<CreateAutoMLJobError>> { let mut request = self.new_signed_request("POST", "/"); request.add_header("x-amz-target", "SageMaker.CreateAutoMLJob"); let encoded = serde_json::to_string(&input).unwrap(); request.set_payload(Some(encoded)); let response = self .sign_and_dispatch(request, CreateAutoMLJobError::from_response) .await?; let mut response = response; let response = response.buffer().await.map_err(RusotoError::HttpDispatch)?; proto::json::ResponsePayload::new(&response).deserialize::<CreateAutoMLJobResponse, _>() } /// <p>Creates a Git repository as a resource in your Amazon SageMaker account. You can associate the repository with notebook instances so that you can use Git source control for the notebooks you create. The Git repository is a resource in your Amazon SageMaker account, so it can be associated with more than one notebook instance, and it persists independently from the lifecycle of any notebook instances it is associated with.</p> <p>The repository can be hosted either in <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html">AWS CodeCommit</a> or in any other Git repository.</p> async fn create_code_repository( &self, input: CreateCodeRepositoryInput, ) -> Result<CreateCodeRepositoryOutput, RusotoError<CreateCodeRepositoryError>> { let mut request = self.new_signed_request("POST", "/"); request.add_header("x-amz-target", "SageMaker.CreateCodeRepository"); let encoded = serde_json::to_string(&input).unwrap(); request.set_payload(Some(encoded)); let response = self .sign_and_dispatch(request, CreateCodeRepositoryError::from_response) .await?; let mut response = response; let response = response.buffer().await.map_err(RusotoError::HttpDispatch)?; proto::json::ResponsePayload::new(&response).deserialize::<CreateCodeRepositoryOutput, _>() } /// <p>Starts a model compilation job. After the model has been compiled, Amazon SageMaker saves the resulting model artifacts to an Amazon Simple Storage Service (Amazon S3) bucket that you specify. </p> <p>If you choose to host your model using Amazon SageMaker hosting services, you can use the resulting model artifacts as part of the model. You can also use the artifacts with AWS IoT Greengrass. In that case, deploy them as an ML resource.</p> <p>In the request body, you provide the following:</p> <ul> <li> <p>A name for the compilation job</p> </li> <li> <p> Information about the input model artifacts </p> </li> <li> <p>The output location for the compiled model and the device (target) that the model runs on </p> </li> <li> <p> <code>The Amazon Resource Name (ARN) of the IAM role that Amazon SageMaker assumes to perform the model compilation job</code> </p> </li> </ul> <p>You can also provide a <code>Tag</code> to track the model compilation job's resource use and costs. The response body contains the <code>CompilationJobArn</code> for the compiled job.</p> <p>To stop a model compilation job, use <a>StopCompilationJob</a>. To get information about a particular model compilation job, use <a>DescribeCompilationJob</a>. To get information about multiple model compilation jobs, use <a>ListCompilationJobs</a>.</p> async fn create_compilation_job( &self, input: CreateCompilationJobRequest, ) -> Result<CreateCompilationJobResponse, RusotoError<CreateCompilationJobError>> { let mut request = self.new_signed_request("POST", "/"); request.add_header("x-amz-target", "SageMaker.CreateCompilationJob"); let encoded = serde_json::to_string(&input).unwrap(); request.set_payload(Some(encoded)); let response = self .sign_and_dispatch(request, CreateCompilationJobError::from_response) .await?; let mut response = response; let response = response.buffer().await.map_err(RusotoError::HttpDispatch)?; proto::json::ResponsePayload::new(&response) .deserialize::<CreateCompilationJobResponse, _>() } /// <p><p>Creates a <code>Domain</code> used by SageMaker Studio. A domain consists of an associated directory, a list of authorized users, and a variety of security, application, policy, and Amazon Virtual Private Cloud (VPC) configurations. An AWS account is limited to one domain per region. Users within a domain can share notebook files and other artifacts with each other.</p> <p>When a domain is created, an Amazon Elastic File System (EFS) volume is also created for use by all of the users within the domain. Each user receives a private home directory within the EFS for notebooks, Git repositories, and data files.</p> <p>All traffic between the domain and the EFS volume is communicated through the specified subnet IDs. All other traffic goes over the Internet through an Amazon SageMaker system VPC. The EFS traffic uses the NFS/TCP protocol over port 2049.</p> <important> <p>NFS traffic over TCP on port 2049 needs to be allowed in both inbound and outbound rules in order to launch a SageMaker Studio app successfully.</p> </important></p> async fn create_domain( &self, input: CreateDomainRequest, ) -> Result<CreateDomainResponse, RusotoError<CreateDomainError>> { let mut request = self.new_signed_request("POST", "/"); request.add_header("x-amz-target", "SageMaker.CreateDomain"); let encoded = serde_json::to_string(&input).unwrap(); request.set_payload(Some(encoded)); let response = self .sign_and_dispatch(request, CreateDomainError::from_response) .await?; let mut response = response; let response = response.buffer().await.map_err(RusotoError::HttpDispatch)?; proto::json::ResponsePayload::new(&response).deserialize::<CreateDomainResponse, _>() } /// <p>Creates an endpoint using the endpoint configuration specified in the request. Amazon SageMaker uses the endpoint to provision resources and deploy models. You create the endpoint configuration with the <a>CreateEndpointConfig</a> API. </p> <p> Use this API to deploy models using Amazon SageMaker hosting services. </p> <p>For an example that calls this method when deploying a model to Amazon SageMaker hosting services, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/ex1-deploy-model.html#ex1-deploy-model-boto">Deploy the Model to Amazon SageMaker Hosting Services (AWS SDK for Python (Boto 3)).</a> </p> <note> <p> You must not delete an <code>EndpointConfig</code> that is in use by an endpoint that is live or while the <code>UpdateEndpoint</code> or <code>CreateEndpoint</code> operations are being performed on the endpoint. To update an endpoint, you must create a new <code>EndpointConfig</code>.</p> </note> <p>The endpoint name must be unique within an AWS Region in your AWS account. </p> <p>When it receives the request, Amazon SageMaker creates the endpoint, launches the resources (ML compute instances), and deploys the model(s) on them. </p> <note> <p>When you call <a>CreateEndpoint</a>, a load call is made to DynamoDB to verify that your endpoint configuration exists. When you read data from a DynamoDB table supporting <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/HowItWorks.ReadConsistency.html"> <code>Eventually Consistent Reads</code> </a>, the response might not reflect the results of a recently completed write operation. The response might include some stale data. If the dependent entities are not yet in DynamoDB, this causes a validation error. If you repeat your read request after a short time, the response should return the latest data. So retry logic is recommended to handle these possible issues. We also recommend that customers call <a>DescribeEndpointConfig</a> before calling <a>CreateEndpoint</a> to minimize the potential impact of a DynamoDB eventually consistent read.</p> </note> <p>When Amazon SageMaker receives the request, it sets the endpoint status to <code>Creating</code>. After it creates the endpoint, it sets the status to <code>InService</code>. Amazon SageMaker can then process incoming requests for inferences. To check the status of an endpoint, use the <a>DescribeEndpoint</a> API.</p> <p>If any of the models hosted at this endpoint get model data from an Amazon S3 location, Amazon SageMaker uses AWS Security Token Service to download model artifacts from the S3 path you provided. AWS STS is activated in your IAM user account by default. If you previously deactivated AWS STS for a region, you need to reactivate AWS STS for that region. For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_enable-regions.html">Activating and Deactivating AWS STS in an AWS Region</a> in the <i>AWS Identity and Access Management User Guide</i>.</p> async fn create_endpoint( &self, input: CreateEndpointInput, ) -> Result<CreateEndpointOutput, RusotoError<CreateEndpointError>> { let mut request = self.new_signed_request("POST", "/"); request.add_header("x-amz-target", "SageMaker.CreateEndpoint"); let encoded = serde_json::to_string(&input).unwrap(); request.set_payload(Some(encoded)); let response = self .sign_and_dispatch(request, CreateEndpointError::from_response) .await?; let mut response = response; let response = response.buffer().await.map_err(RusotoError::HttpDispatch)?; proto::json::ResponsePayload::new(&response).deserialize::<CreateEndpointOutput, _>() } /// <p><p>Creates an endpoint configuration that Amazon SageMaker hosting services uses to deploy models. In the configuration, you identify one or more models, created using the <code>CreateModel</code> API, to deploy and the resources that you want Amazon SageMaker to provision. Then you call the <a>CreateEndpoint</a> API.</p> <note> <p> Use this API if you want to use Amazon SageMaker hosting services to deploy models into production. </p> </note> <p>In the request, you define a <code>ProductionVariant</code>, for each model that you want to deploy. Each <code>ProductionVariant</code> parameter also describes the resources that you want Amazon SageMaker to provision. This includes the number and type of ML compute instances to deploy. </p> <p>If you are hosting multiple models, you also assign a <code>VariantWeight</code> to specify how much traffic you want to allocate to each model. For example, suppose that you want to host two models, A and B, and you assign traffic weight 2 for model A and 1 for model B. Amazon SageMaker distributes two-thirds of the traffic to Model A, and one-third to model B. </p> <p>For an example that calls this method when deploying a model to Amazon SageMaker hosting services, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/ex1-deploy-model.html#ex1-deploy-model-boto">Deploy the Model to Amazon SageMaker Hosting Services (AWS SDK for Python (Boto 3)).</a> </p> <note> <p>When you call <a>CreateEndpoint</a>, a load call is made to DynamoDB to verify that your endpoint configuration exists. When you read data from a DynamoDB table supporting <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/HowItWorks.ReadConsistency.html"> <code>Eventually Consistent Reads</code> </a>, the response might not reflect the results of a recently completed write operation. The response might include some stale data. If the dependent entities are not yet in DynamoDB, this causes a validation error. If you repeat your read request after a short time, the response should return the latest data. So retry logic is recommended to handle these possible issues. We also recommend that customers call <a>DescribeEndpointConfig</a> before calling <a>CreateEndpoint</a> to minimize the potential impact of a DynamoDB eventually consistent read.</p> </note></p> async fn create_endpoint_config( &self, input: CreateEndpointConfigInput, ) -> Result<CreateEndpointConfigOutput, RusotoError<CreateEndpointConfigError>> { let mut request = self.new_signed_request("POST", "/"); request.add_header("x-amz-target", "SageMaker.CreateEndpointConfig"); let encoded = serde_json::to_string(&input).unwrap(); request.set_payload(Some(encoded)); let response = self .sign_and_dispatch(request, CreateEndpointConfigError::from_response) .await?; let mut response = response; let response = response.buffer().await.map_err(RusotoError::HttpDispatch)?; proto::json::ResponsePayload::new(&response).deserialize::<CreateEndpointConfigOutput, _>() } /// <p>Creates an Amazon SageMaker <i>experiment</i>. An experiment is a collection of <i>trials</i> that are observed, compared and evaluated as a group. A trial is a set of steps, called <i>trial components</i>, that produce a machine learning model.</p> <p>The goal of an experiment is to determine the components that produce the best model. Multiple trials are performed, each one isolating and measuring the impact of a change to one or more inputs, while keeping the remaining inputs constant.</p> <p>When you use Amazon SageMaker Studio or the Amazon SageMaker Python SDK, all experiments, trials, and trial components are automatically tracked, logged, and indexed. When you use the AWS SDK for Python (Boto), you must use the logging APIs provided by the SDK.</p> <p>You can add tags to experiments, trials, trial components and then use the <a>Search</a> API to search for the tags.</p> <p>To add a description to an experiment, specify the optional <code>Description</code> parameter. To add a description later, or to change the description, call the <a>UpdateExperiment</a> API.</p> <p>To get a list of all your experiments, call the <a>ListExperiments</a> API. To view an experiment's properties, call the <a>DescribeExperiment</a> API. To get a list of all the trials associated with an experiment, call the <a>ListTrials</a> API. To create a trial call the <a>CreateTrial</a> API.</p> async fn create_experiment( &self, input: CreateExperimentRequest, ) -> Result<CreateExperimentResponse, RusotoError<CreateExperimentError>> { let mut request = self.new_signed_request("POST", "/"); request.add_header("x-amz-target", "SageMaker.CreateExperiment"); let encoded = serde_json::to_string(&input).unwrap(); request.set_payload(Some(encoded)); let response = self .sign_and_dispatch(request, CreateExperimentError::from_response) .await?; let mut response = response; let response = response.buffer().await.map_err(RusotoError::HttpDispatch)?; proto::json::ResponsePayload::new(&response).deserialize::<CreateExperimentResponse, _>() } /// <p>Creates a flow definition.</p> async fn create_flow_definition( &self, input: CreateFlowDefinitionRequest, ) -> Result<CreateFlowDefinitionResponse, RusotoError<CreateFlowDefinitionError>> { let mut request = self.new_signed_request("POST", "/"); request.add_header("x-amz-target", "SageMaker.CreateFlowDefinition"); let encoded = serde_json::to_string(&input).unwrap(); request.set_payload(Some(encoded)); let response = self .sign_and_dispatch(request, CreateFlowDefinitionError::from_response) .await?; let mut response = response; let response = response.buffer().await.map_err(RusotoError::HttpDispatch)?; proto::json::ResponsePayload::new(&response) .deserialize::<CreateFlowDefinitionResponse, _>() } /// <p>Defines the settings you will use for the human review workflow user interface. Reviewers will see a three-panel interface with an instruction area, the item to review, and an input area.</p> async fn create_human_task_ui( &self, input: CreateHumanTaskUiRequest, ) -> Result<CreateHumanTaskUiResponse, RusotoError<CreateHumanTaskUiError>> { let mut request = self.new_signed_request("POST", "/"); request.add_header("x-amz-target", "SageMaker.CreateHumanTaskUi"); let encoded = serde_json::to_string(&input).unwrap(); request.set_payload(Some(encoded)); let response = self .sign_and_dispatch(request, CreateHumanTaskUiError::from_response) .await?; let mut response = response; let response = response.buffer().await.map_err(RusotoError::HttpDispatch)?; proto::json::ResponsePayload::new(&response).deserialize::<CreateHumanTaskUiResponse, _>() } /// <p>Starts a hyperparameter tuning job. A hyperparameter tuning job finds the best version of a model by running many training jobs on your dataset using the algorithm you choose and values for hyperparameters within ranges that you specify. It then chooses the hyperparameter values that result in a model that performs the best, as measured by an objective metric that you choose.</p> async fn create_hyper_parameter_tuning_job( &self, input: CreateHyperParameterTuningJobRequest, ) -> Result< CreateHyperParameterTuningJobResponse, RusotoError<CreateHyperParameterTuningJobError>, > { let mut request = self.new_signed_request("POST", "/"); request.add_header("x-amz-target", "SageMaker.CreateHyperParameterTuningJob"); let encoded = serde_json::to_string(&input).unwrap(); request.set_payload(Some(encoded)); let response = self .sign_and_dispatch(request, CreateHyperParameterTuningJobError::from_response) .await?; let mut response = response; let response = response.buffer().await.map_err(RusotoError::HttpDispatch)?; proto::json::ResponsePayload::new(&response) .deserialize::<CreateHyperParameterTuningJobResponse, _>() } /// <p>Creates a job that uses workers to label the data objects in your input dataset. You can use the labeled data to train machine learning models.</p> <p>You can select your workforce from one of three providers:</p> <ul> <li> <p>A private workforce that you create. It can include employees, contractors, and outside experts. Use a private workforce when want the data to stay within your organization or when a specific set of skills is required.</p> </li> <li> <p>One or more vendors that you select from the AWS Marketplace. Vendors provide expertise in specific areas. </p> </li> <li> <p>The Amazon Mechanical Turk workforce. This is the largest workforce, but it should only be used for public data or data that has been stripped of any personally identifiable information.</p> </li> </ul> <p>You can also use <i>automated data labeling</i> to reduce the number of data objects that need to be labeled by a human. Automated data labeling uses <i>active learning</i> to determine if a data object can be labeled by machine or if it needs to be sent to a human worker. For more information, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/sms-automated-labeling.html">Using Automated Data Labeling</a>.</p> <p>The data objects to be labeled are contained in an Amazon S3 bucket. You create a <i>manifest file</i> that describes the location of each object. For more information, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/sms-data.html">Using Input and Output Data</a>.</p> <p>The output can be used as the manifest file for another labeling job or as training data for your machine learning models.</p> async fn create_labeling_job( &self, input: CreateLabelingJobRequest, ) -> Result<CreateLabelingJobResponse, RusotoError<CreateLabelingJobError>> { let mut request = self.new_signed_request("POST", "/"); request.add_header("x-amz-target", "SageMaker.CreateLabelingJob"); let encoded = serde_json::to_string(&input).unwrap(); request.set_payload(Some(encoded)); let response = self .sign_and_dispatch(request, CreateLabelingJobError::from_response) .await?; let mut response = response; let response = response.buffer().await.map_err(RusotoError::HttpDispatch)?; proto::json::ResponsePayload::new(&response).deserialize::<CreateLabelingJobResponse, _>() } /// <p>Creates a model in Amazon SageMaker. In the request, you name the model and describe a primary container. For the primary container, you specify the Docker image that contains inference code, artifacts (from prior training), and a custom environment map that the inference code uses when you deploy the model for predictions.</p> <p>Use this API to create a model if you want to use Amazon SageMaker hosting services or run a batch transform job.</p> <p>To host your model, you create an endpoint configuration with the <code>CreateEndpointConfig</code> API, and then create an endpoint with the <code>CreateEndpoint</code> API. Amazon SageMaker then deploys all of the containers that you defined for the model in the hosting environment. </p> <p>For an example that calls this method when deploying a model to Amazon SageMaker hosting services, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/ex1-deploy-model.html#ex1-deploy-model-boto">Deploy the Model to Amazon SageMaker Hosting Services (AWS SDK for Python (Boto 3)).</a> </p> <p>To run a batch transform using your model, you start a job with the <code>CreateTransformJob</code> API. Amazon SageMaker uses your model and your dataset to get inferences which are then saved to a specified S3 location.</p> <p>In the <code>CreateModel</code> request, you must define a container with the <code>PrimaryContainer</code> parameter.</p> <p>In the request, you also provide an IAM role that Amazon SageMaker can assume to access model artifacts and docker image for deployment on ML compute hosting instances or for batch transform jobs. In addition, you also use the IAM role to manage permissions the inference code needs. For example, if the inference code access any other AWS resources, you grant necessary permissions via this role.</p> async fn create_model( &self, input: CreateModelInput, ) -> Result<CreateModelOutput, RusotoError<CreateModelError>> { let mut request = self.new_signed_request("POST", "/"); request.add_header("x-amz-target", "SageMaker.CreateModel"); let encoded = serde_json::to_string(&input).unwrap(); request.set_payload(Some(encoded)); let response = self .sign_and_dispatch(request, CreateModelError::from_response) .await?; let mut response = response; let response = response.buffer().await.map_err(RusotoError::HttpDispatch)?; proto::json::ResponsePayload::new(&response).deserialize::<CreateModelOutput, _>() } /// <p>Creates a model package that you can use to create Amazon SageMaker models or list on AWS Marketplace. Buyers can subscribe to model packages listed on AWS Marketplace to create models in Amazon SageMaker.</p> <p>To create a model package by specifying a Docker container that contains your inference code and the Amazon S3 location of your model artifacts, provide values for <code>InferenceSpecification</code>. To create a model from an algorithm resource that you created or subscribed to in AWS Marketplace, provide a value for <code>SourceAlgorithmSpecification</code>.</p> async fn create_model_package( &self, input: CreateModelPackageInput, ) -> Result<CreateModelPackageOutput, RusotoError<CreateModelPackageError>> { let mut request = self.new_signed_request("POST", "/"); request.add_header("x-amz-target", "SageMaker.CreateModelPackage"); let encoded = serde_json::to_string(&input).unwrap(); request.set_payload(Some(encoded)); let response = self .sign_and_dispatch(request, CreateModelPackageError::from_response) .await?; let mut response = response; let response = response.buffer().await.map_err(RusotoError::HttpDispatch)?; proto::json::ResponsePayload::new(&response).deserialize::<CreateModelPackageOutput, _>() } /// <p>Creates a schedule that regularly starts Amazon SageMaker Processing Jobs to monitor the data captured for an Amazon SageMaker Endoint.</p> async fn create_monitoring_schedule( &self, input: CreateMonitoringScheduleRequest, ) -> Result<CreateMonitoringScheduleResponse, RusotoError<CreateMonitoringScheduleError>> { let mut request = self.new_signed_request("POST", "/"); request.add_header("x-amz-target", "SageMaker.CreateMonitoringSchedule"); let encoded = serde_json::to_string(&input).unwrap(); request.set_payload(Some(encoded)); let response = self .sign_and_dispatch(request, CreateMonitoringScheduleError::from_response) .await?; let mut response = response; let response = response.buffer().await.map_err(RusotoError::HttpDispatch)?; proto::json::ResponsePayload::new(&response) .deserialize::<CreateMonitoringScheduleResponse, _>() } /// <p>Creates an Amazon SageMaker notebook instance. A notebook instance is a machine learning (ML) compute instance running on a Jupyter notebook. </p> <p>In a <code>CreateNotebookInstance</code> request, specify the type of ML compute instance that you want to run. Amazon SageMaker launches the instance, installs common libraries that you can use to explore datasets for model training, and attaches an ML storage volume to the notebook instance. </p> <p>Amazon SageMaker also provides a set of example notebooks. Each notebook demonstrates how to use Amazon SageMaker with a specific algorithm or with a machine learning framework. </p> <p>After receiving the request, Amazon SageMaker does the following:</p> <ol> <li> <p>Creates a network interface in the Amazon SageMaker VPC.</p> </li> <li> <p>(Option) If you specified <code>SubnetId</code>, Amazon SageMaker creates a network interface in your own VPC, which is inferred from the subnet ID that you provide in the input. When creating this network interface, Amazon SageMaker attaches the security group that you specified in the request to the network interface that it creates in your VPC.</p> </li> <li> <p>Launches an EC2 instance of the type specified in the request in the Amazon SageMaker VPC. If you specified <code>SubnetId</code> of your VPC, Amazon SageMaker specifies both network interfaces when launching this instance. This enables inbound traffic from your own VPC to the notebook instance, assuming that the security groups allow it.</p> </li> </ol> <p>After creating the notebook instance, Amazon SageMaker returns its Amazon Resource Name (ARN). You can't change the name of a notebook instance after you create it.</p> <p>After Amazon SageMaker creates the notebook instance, you can connect to the Jupyter server and work in Jupyter notebooks. For example, you can write code to explore a dataset that you can use for model training, train a model, host models by creating Amazon SageMaker endpoints, and validate hosted models. </p> <p>For more information, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/how-it-works.html">How It Works</a>. </p> async fn create_notebook_instance( &self, input: CreateNotebookInstanceInput, ) -> Result<CreateNotebookInstanceOutput, RusotoError<CreateNotebookInstanceError>> { let mut request = self.new_signed_request("POST", "/"); request.add_header("x-amz-target", "SageMaker.CreateNotebookInstance"); let encoded = serde_json::to_string(&input).unwrap(); request.set_payload(Some(encoded)); let response = self .sign_and_dispatch(request, CreateNotebookInstanceError::from_response) .await?; let mut response = response; let response = response.buffer().await.map_err(RusotoError::HttpDispatch)?; proto::json::ResponsePayload::new(&response) .deserialize::<CreateNotebookInstanceOutput, _>() } /// <p>Creates a lifecycle configuration that you can associate with a notebook instance. A <i>lifecycle configuration</i> is a collection of shell scripts that run when you create or start a notebook instance.</p> <p>Each lifecycle configuration script has a limit of 16384 characters.</p> <p>The value of the <code>$PATH</code> environment variable that is available to both scripts is <code>/sbin:bin:/usr/sbin:/usr/bin</code>.</p> <p>View CloudWatch Logs for notebook instance lifecycle configurations in log group <code>/aws/sagemaker/NotebookInstances</code> in log stream <code>[notebook-instance-name]/[LifecycleConfigHook]</code>.</p> <p>Lifecycle configuration scripts cannot run for longer than 5 minutes. If a script runs for longer than 5 minutes, it fails and the notebook instance is not created or started.</p> <p>For information about notebook instance lifestyle configurations, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/notebook-lifecycle-config.html">Step 2.1: (Optional) Customize a Notebook Instance</a>.</p> async fn create_notebook_instance_lifecycle_config( &self, input: CreateNotebookInstanceLifecycleConfigInput, ) -> Result< CreateNotebookInstanceLifecycleConfigOutput, RusotoError<CreateNotebookInstanceLifecycleConfigError>, > { let mut request = self.new_signed_request("POST", "/"); request.add_header( "x-amz-target", "SageMaker.CreateNotebookInstanceLifecycleConfig", ); let encoded = serde_json::to_string(&input).unwrap(); request.set_payload(Some(encoded)); let response = self .sign_and_dispatch( request, CreateNotebookInstanceLifecycleConfigError::from_response, ) .await?; let mut response = response; let response = response.buffer().await.map_err(RusotoError::HttpDispatch)?; proto::json::ResponsePayload::new(&response) .deserialize::<CreateNotebookInstanceLifecycleConfigOutput, _>() } /// <p>Creates a URL for a specified UserProfile in a Domain. When accessed in a web browser, the user will be automatically signed in to Amazon SageMaker Studio, and granted access to all of the Apps and files associated with the Domain's Amazon Elastic File System (EFS) volume. This operation can only be called when the authentication mode equals IAM. </p> async fn create_presigned_domain_url( &self, input: CreatePresignedDomainUrlRequest, ) -> Result<CreatePresignedDomainUrlResponse, RusotoError<CreatePresignedDomainUrlError>> { let mut request = self.new_signed_request("POST", "/"); request.add_header("x-amz-target", "SageMaker.CreatePresignedDomainUrl"); let encoded = serde_json::to_string(&input).unwrap(); request.set_payload(Some(encoded)); let response = self .sign_and_dispatch(request, CreatePresignedDomainUrlError::from_response) .await?; let mut response = response; let response = response.buffer().await.map_err(RusotoError::HttpDispatch)?; proto::json::ResponsePayload::new(&response) .deserialize::<CreatePresignedDomainUrlResponse, _>() } /// <p><p>Returns a URL that you can use to connect to the Jupyter server from a notebook instance. In the Amazon SageMaker console, when you choose <code>Open</code> next to a notebook instance, Amazon SageMaker opens a new tab showing the Jupyter server home page from the notebook instance. The console uses this API to get the URL and show the page.</p> <p> The IAM role or user used to call this API defines the permissions to access the notebook instance. Once the presigned URL is created, no additional permission is required to access this URL. IAM authorization policies for this API are also enforced for every HTTP request and WebSocket frame that attempts to connect to the notebook instance.</p> <p>You can restrict access to this API and to the URL that it returns to a list of IP addresses that you specify. Use the <code>NotIpAddress</code> condition operator and the <code>aws:SourceIP</code> condition context key to specify the list of IP addresses that you want to have access to the notebook instance. For more information, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/security_iam_id-based-policy-examples.html#nbi-ip-filter">Limit Access to a Notebook Instance by IP Address</a>.</p> <note> <p>The URL that you get from a call to <a>CreatePresignedNotebookInstanceUrl</a> is valid only for 5 minutes. If you try to use the URL after the 5-minute limit expires, you are directed to the AWS console sign-in page.</p> </note></p> async fn create_presigned_notebook_instance_url( &self, input: CreatePresignedNotebookInstanceUrlInput, ) -> Result< CreatePresignedNotebookInstanceUrlOutput, RusotoError<CreatePresignedNotebookInstanceUrlError>, > { let mut request = self.new_signed_request("POST", "/"); request.add_header( "x-amz-target", "SageMaker.CreatePresignedNotebookInstanceUrl", ); let encoded = serde_json::to_string(&input).unwrap(); request.set_payload(Some(encoded)); let response = self .sign_and_dispatch( request, CreatePresignedNotebookInstanceUrlError::from_response, ) .await?; let mut response = response; let response = response.buffer().await.map_err(RusotoError::HttpDispatch)?; proto::json::ResponsePayload::new(&response) .deserialize::<CreatePresignedNotebookInstanceUrlOutput, _>() } /// <p>Creates a processing job.</p> async fn create_processing_job( &self, input: CreateProcessingJobRequest, ) -> Result<CreateProcessingJobResponse, RusotoError<CreateProcessingJobError>> { let mut request = self.new_signed_request("POST", "/"); request.add_header("x-amz-target", "SageMaker.CreateProcessingJob"); let encoded = serde_json::to_string(&input).unwrap(); request.set_payload(Some(encoded)); let response = self .sign_and_dispatch(request, CreateProcessingJobError::from_response) .await?; let mut response = response; let response = response.buffer().await.map_err(RusotoError::HttpDispatch)?; proto::json::ResponsePayload::new(&response).deserialize::<CreateProcessingJobResponse, _>() } /// <p>Starts a model training job. After training completes, Amazon SageMaker saves the resulting model artifacts to an Amazon S3 location that you specify. </p> <p>If you choose to host your model using Amazon SageMaker hosting services, you can use the resulting model artifacts as part of the model. You can also use the artifacts in a machine learning service other than Amazon SageMaker, provided that you know how to use them for inferences. </p> <p>In the request body, you provide the following: </p> <ul> <li> <p> <code>AlgorithmSpecification</code> - Identifies the training algorithm to use. </p> </li> <li> <p> <code>HyperParameters</code> - Specify these algorithm-specific parameters to enable the estimation of model parameters during training. Hyperparameters can be tuned to optimize this learning process. For a list of hyperparameters for each training algorithm provided by Amazon SageMaker, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/algos.html">Algorithms</a>. </p> </li> <li> <p> <code>InputDataConfig</code> - Describes the training dataset and the Amazon S3, EFS, or FSx location where it is stored.</p> </li> <li> <p> <code>OutputDataConfig</code> - Identifies the Amazon S3 bucket where you want Amazon SageMaker to save the results of model training. </p> <p/> </li> <li> <p> <code>ResourceConfig</code> - Identifies the resources, ML compute instances, and ML storage volumes to deploy for model training. In distributed training, you specify more than one instance. </p> </li> <li> <p> <code>EnableManagedSpotTraining</code> - Optimize the cost of training machine learning models by up to 80% by using Amazon EC2 Spot instances. For more information, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/model-managed-spot-training.html">Managed Spot Training</a>. </p> </li> <li> <p> <code>RoleARN</code> - The Amazon Resource Number (ARN) that Amazon SageMaker assumes to perform tasks on your behalf during model training. You must grant this role the necessary permissions so that Amazon SageMaker can successfully complete model training. </p> </li> <li> <p> <code>StoppingCondition</code> - To help cap training costs, use <code>MaxRuntimeInSeconds</code> to set a time limit for training. Use <code>MaxWaitTimeInSeconds</code> to specify how long you are willing to wait for a managed spot training job to complete. </p> </li> </ul> <p> For more information about Amazon SageMaker, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/how-it-works.html">How It Works</a>. </p> async fn create_training_job( &self, input: CreateTrainingJobRequest, ) -> Result<CreateTrainingJobResponse, RusotoError<CreateTrainingJobError>> { let mut request = self.new_signed_request("POST", "/"); request.add_header("x-amz-target", "SageMaker.CreateTrainingJob"); let encoded = serde_json::to_string(&input).unwrap(); request.set_payload(Some(encoded)); let response = self .sign_and_dispatch(request, CreateTrainingJobError::from_response) .await?; let mut response = response; let response = response.buffer().await.map_err(RusotoError::HttpDispatch)?; proto::json::ResponsePayload::new(&response).deserialize::<CreateTrainingJobResponse, _>() } /// <p>Starts a transform job. A transform job uses a trained model to get inferences on a dataset and saves these results to an Amazon S3 location that you specify.</p> <p>To perform batch transformations, you create a transform job and use the data that you have readily available.</p> <p>In the request body, you provide the following:</p> <ul> <li> <p> <code>TransformJobName</code> - Identifies the transform job. The name must be unique within an AWS Region in an AWS account.</p> </li> <li> <p> <code>ModelName</code> - Identifies the model to use. <code>ModelName</code> must be the name of an existing Amazon SageMaker model in the same AWS Region and AWS account. For information on creating a model, see <a>CreateModel</a>.</p> </li> <li> <p> <code>TransformInput</code> - Describes the dataset to be transformed and the Amazon S3 location where it is stored.</p> </li> <li> <p> <code>TransformOutput</code> - Identifies the Amazon S3 location where you want Amazon SageMaker to save the results from the transform job.</p> </li> <li> <p> <code>TransformResources</code> - Identifies the ML compute instances for the transform job.</p> </li> </ul> <p>For more information about how batch transformation works, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/batch-transform.html">Batch Transform</a>.</p> async fn create_transform_job( &self, input: CreateTransformJobRequest, ) -> Result<CreateTransformJobResponse, RusotoError<CreateTransformJobError>> { let mut request = self.new_signed_request("POST", "/"); request.add_header("x-amz-target", "SageMaker.CreateTransformJob"); let encoded = serde_json::to_string(&input).unwrap(); request.set_payload(Some(encoded)); let response = self .sign_and_dispatch(request, CreateTransformJobError::from_response) .await?; let mut response = response; let response = response.buffer().await.map_err(RusotoError::HttpDispatch)?; proto::json::ResponsePayload::new(&response).deserialize::<CreateTransformJobResponse, _>() } /// <p>Creates an Amazon SageMaker <i>trial</i>. A trial is a set of steps called <i>trial components</i> that produce a machine learning model. A trial is part of a single Amazon SageMaker <i>experiment</i>.</p> <p>When you use Amazon SageMaker Studio or the Amazon SageMaker Python SDK, all experiments, trials, and trial components are automatically tracked, logged, and indexed. When you use the AWS SDK for Python (Boto), you must use the logging APIs provided by the SDK.</p> <p>You can add tags to a trial and then use the <a>Search</a> API to search for the tags.</p> <p>To get a list of all your trials, call the <a>ListTrials</a> API. To view a trial's properties, call the <a>DescribeTrial</a> API. To create a trial component, call the <a>CreateTrialComponent</a> API.</p> async fn create_trial( &self, input: CreateTrialRequest, ) -> Result<CreateTrialResponse, RusotoError<CreateTrialError>> { let mut request = self.new_signed_request("POST", "/"); request.add_header("x-amz-target", "SageMaker.CreateTrial"); let encoded = serde_json::to_string(&input).unwrap(); request.set_payload(Some(encoded)); let response = self .sign_and_dispatch(request, CreateTrialError::from_response) .await?; let mut response = response; let response = response.buffer().await.map_err(RusotoError::HttpDispatch)?; proto::json::ResponsePayload::new(&response).deserialize::<CreateTrialResponse, _>() } /// <p><p>Creates a <i>trial component</i>, which is a stage of a machine learning <i>trial</i>. A trial is composed of one or more trial components. A trial component can be used in multiple trials.</p> <p>Trial components include pre-processing jobs, training jobs, and batch transform jobs.</p> <p>When you use Amazon SageMaker Studio or the Amazon SageMaker Python SDK, all experiments, trials, and trial components are automatically tracked, logged, and indexed. When you use the AWS SDK for Python (Boto), you must use the logging APIs provided by the SDK.</p> <p>You can add tags to a trial component and then use the <a>Search</a> API to search for the tags.</p> <note> <p> <code>CreateTrialComponent</code> can only be invoked from within an Amazon SageMaker managed environment. This includes Amazon SageMaker training jobs, processing jobs, transform jobs, and Amazon SageMaker notebooks. A call to <code>CreateTrialComponent</code> from outside one of these environments results in an error.</p> </note></p> async fn create_trial_component( &self, input: CreateTrialComponentRequest, ) -> Result<CreateTrialComponentResponse, RusotoError<CreateTrialComponentError>> { let mut request = self.new_signed_request("POST", "/"); request.add_header("x-amz-target", "SageMaker.CreateTrialComponent"); let encoded = serde_json::to_string(&input).unwrap(); request.set_payload(Some(encoded)); let response = self .sign_and_dispatch(request, CreateTrialComponentError::from_response) .await?; let mut response = response; let response = response.buffer().await.map_err(RusotoError::HttpDispatch)?; proto::json::ResponsePayload::new(&response) .deserialize::<CreateTrialComponentResponse, _>() } /// <p>Creates a user profile. A user profile represents a single user within a domain, and is the main way to reference a "person" for the purposes of sharing, reporting, and other user-oriented features. This entity is created when a user onboards to Amazon SageMaker Studio. If an administrator invites a person by email or imports them from SSO, a user profile is automatically created. A user profile is the primary holder of settings for an individual user and has a reference to the user's private Amazon Elastic File System (EFS) home directory. </p> async fn create_user_profile( &self, input: CreateUserProfileRequest, ) -> Result<CreateUserProfileResponse, RusotoError<CreateUserProfileError>> { let mut request = self.new_signed_request("POST", "/"); request.add_header("x-amz-target", "SageMaker.CreateUserProfile"); let encoded = serde_json::to_string(&input).unwrap(); request.set_payload(Some(encoded)); let response = self .sign_and_dispatch(request, CreateUserProfileError::from_response) .await?; let mut response = response; let response = response.buffer().await.map_err(RusotoError::HttpDispatch)?; proto::json::ResponsePayload::new(&response).deserialize::<CreateUserProfileResponse, _>() } /// <p>Creates a new work team for labeling your data. A work team is defined by one or more Amazon Cognito user pools. You must first create the user pools before you can create a work team.</p> <p>You cannot create more than 25 work teams in an account and region.</p> async fn create_workteam( &self, input: CreateWorkteamRequest, ) -> Result<CreateWorkteamResponse, RusotoError<CreateWorkteamError>> { let mut request = self.new_signed_request("POST", "/"); request.add_header("x-amz-target", "SageMaker.CreateWorkteam"); let encoded = serde_json::to_string(&input).unwrap(); request.set_payload(Some(encoded)); let response = self .sign_and_dispatch(request, CreateWorkteamError::from_response) .await?; let mut response = response; let response = response.buffer().await.map_err(RusotoError::HttpDispatch)?; proto::json::ResponsePayload::new(&response).deserialize::<CreateWorkteamResponse, _>() } /// <p>Removes the specified algorithm from your account.</p> async fn delete_algorithm( &self, input: DeleteAlgorithmInput, ) -> Result<(), RusotoError<DeleteAlgorithmError>> { let mut request = self.new_signed_request("POST", "/"); request.add_header("x-amz-target", "SageMaker.DeleteAlgorithm"); let encoded = serde_json::to_string(&input).unwrap(); request.set_payload(Some(encoded)); let response = self .sign_and_dispatch(request, DeleteAlgorithmError::from_response) .await?; std::mem::drop(response); Ok(()) } /// <p>Used to stop and delete an app.</p> async fn delete_app(&self, input: DeleteAppRequest) -> Result<(), RusotoError<DeleteAppError>> { let mut request = self.new_signed_request("POST", "/"); request.add_header("x-amz-target", "SageMaker.DeleteApp"); let encoded = serde_json::to_string(&input).unwrap(); request.set_payload(Some(encoded)); let response = self .sign_and_dispatch(request, DeleteAppError::from_response) .await?; std::mem::drop(response); Ok(()) } /// <p>Deletes the specified Git repository from your account.</p> async fn delete_code_repository( &self, input: DeleteCodeRepositoryInput, ) -> Result<(), RusotoError<DeleteCodeRepositoryError>> { let mut request = self.new_signed_request("POST", "/"); request.add_header("x-amz-target", "SageMaker.DeleteCodeRepository"); let encoded = serde_json::to_string(&input).unwrap(); request.set_payload(Some(encoded)); let response = self .sign_and_dispatch(request, DeleteCodeRepositoryError::from_response) .await?; std::mem::drop(response); Ok(()) } /// <p>Used to delete a domain. If you onboarded with IAM mode, you will need to delete your domain to onboard again using SSO. Use with caution. All of the members of the domain will lose access to their EFS volume, including data, notebooks, and other artifacts. </p> async fn delete_domain( &self, input: DeleteDomainRequest, ) -> Result<(), RusotoError<DeleteDomainError>> { let mut request = self.new_signed_request("POST", "/"); request.add_header("x-amz-target", "SageMaker.DeleteDomain"); let encoded = serde_json::to_string(&input).unwrap(); request.set_payload(Some(encoded)); let response = self .sign_and_dispatch(request, DeleteDomainError::from_response) .await?; std::mem::drop(response); Ok(()) } /// <p>Deletes an endpoint. Amazon SageMaker frees up all of the resources that were deployed when the endpoint was created. </p> <p>Amazon SageMaker retires any custom KMS key grants associated with the endpoint, meaning you don't need to use the <a href="http://docs.aws.amazon.com/kms/latest/APIReference/API_RevokeGrant.html">RevokeGrant</a> API call.</p> async fn delete_endpoint( &self, input: DeleteEndpointInput, ) -> Result<(), RusotoError<DeleteEndpointError>> { let mut request = self.new_signed_request("POST", "/"); request.add_header("x-amz-target", "SageMaker.DeleteEndpoint"); let encoded = serde_json::to_string(&input).unwrap(); request.set_payload(Some(encoded)); let response = self .sign_and_dispatch(request, DeleteEndpointError::from_response) .await?; std::mem::drop(response); Ok(()) } /// <p>Deletes an endpoint configuration. The <code>DeleteEndpointConfig</code> API deletes only the specified configuration. It does not delete endpoints created using the configuration. </p> <p>You must not delete an <code>EndpointConfig</code> in use by an endpoint that is live or while the <code>UpdateEndpoint</code> or <code>CreateEndpoint</code> operations are being performed on the endpoint. If you delete the <code>EndpointConfig</code> of an endpoint that is active or being created or updated you may lose visibility into the instance type the endpoint is using. The endpoint must be deleted in order to stop incurring charges.</p> async fn delete_endpoint_config( &self, input: DeleteEndpointConfigInput, ) -> Result<(), RusotoError<DeleteEndpointConfigError>> { let mut request = self.new_signed_request("POST", "/"); request.add_header("x-amz-target", "SageMaker.DeleteEndpointConfig"); let encoded = serde_json::to_string(&input).unwrap(); request.set_payload(Some(encoded)); let response = self .sign_and_dispatch(request, DeleteEndpointConfigError::from_response) .await?; std::mem::drop(response); Ok(()) } /// <p>Deletes an Amazon SageMaker experiment. All trials associated with the experiment must be deleted first. Use the <a>ListTrials</a> API to get a list of the trials associated with the experiment.</p> async fn delete_experiment( &self, input: DeleteExperimentRequest, ) -> Result<DeleteExperimentResponse, RusotoError<DeleteExperimentError>> { let mut request = self.new_signed_request("POST", "/"); request.add_header("x-amz-target", "SageMaker.DeleteExperiment"); let encoded = serde_json::to_string(&input).unwrap(); request.set_payload(Some(encoded)); let response = self .sign_and_dispatch(request, DeleteExperimentError::from_response) .await?; let mut response = response; let response = response.buffer().await.map_err(RusotoError::HttpDispatch)?; proto::json::ResponsePayload::new(&response).deserialize::<DeleteExperimentResponse, _>() } /// <p>Deletes the specified flow definition.</p> async fn delete_flow_definition( &self, input: DeleteFlowDefinitionRequest, ) -> Result<DeleteFlowDefinitionResponse, RusotoError<DeleteFlowDefinitionError>> { let mut request = self.new_signed_request("POST", "/"); request.add_header("x-amz-target", "SageMaker.DeleteFlowDefinition"); let encoded = serde_json::to_string(&input).unwrap(); request.set_payload(Some(encoded)); let response = self .sign_and_dispatch(request, DeleteFlowDefinitionError::from_response) .await?; let mut response = response; let response = response.buffer().await.map_err(RusotoError::HttpDispatch)?; proto::json::ResponsePayload::new(&response) .deserialize::<DeleteFlowDefinitionResponse, _>() } /// <p>Use this operation to delete a worker task template (<code>HumanTaskUi</code>).</p> <p> To see a list of human task user interfaces (work task templates) in your account, use . When you delete a worker task template, it no longer appears when you call <code>ListHumanTaskUis</code>.</p> async fn delete_human_task_ui( &self, input: DeleteHumanTaskUiRequest, ) -> Result<DeleteHumanTaskUiResponse, RusotoError<DeleteHumanTaskUiError>> { let mut request = self.new_signed_request("POST", "/"); request.add_header("x-amz-target", "SageMaker.DeleteHumanTaskUi"); let encoded = serde_json::to_string(&input).unwrap(); request.set_payload(Some(encoded)); let response = self .sign_and_dispatch(request, DeleteHumanTaskUiError::from_response) .await?; let mut response = response; let response = response.buffer().await.map_err(RusotoError::HttpDispatch)?; proto::json::ResponsePayload::new(&response).deserialize::<DeleteHumanTaskUiResponse, _>() } /// <p>Deletes a model. The <code>DeleteModel</code> API deletes only the model entry that was created in Amazon SageMaker when you called the <a>CreateModel</a> API. It does not delete model artifacts, inference code, or the IAM role that you specified when creating the model. </p> async fn delete_model( &self, input: DeleteModelInput, ) -> Result<(), RusotoError<DeleteModelError>> { let mut request = self.new_signed_request("POST", "/"); request.add_header("x-amz-target", "SageMaker.DeleteModel"); let encoded = serde_json::to_string(&input).unwrap(); request.set_payload(Some(encoded)); let response = self .sign_and_dispatch(request, DeleteModelError::from_response) .await?; std::mem::drop(response); Ok(()) } /// <p>Deletes a model package.</p> <p>A model package is used to create Amazon SageMaker models or list on AWS Marketplace. Buyers can subscribe to model packages listed on AWS Marketplace to create models in Amazon SageMaker.</p> async fn delete_model_package( &self, input: DeleteModelPackageInput, ) -> Result<(), RusotoError<DeleteModelPackageError>> { let mut request = self.new_signed_request("POST", "/"); request.add_header("x-amz-target", "SageMaker.DeleteModelPackage"); let encoded = serde_json::to_string(&input).unwrap(); request.set_payload(Some(encoded)); let response = self .sign_and_dispatch(request, DeleteModelPackageError::from_response) .await?; std::mem::drop(response); Ok(()) } /// <p>Deletes a monitoring schedule. Also stops the schedule had not already been stopped. This does not delete the job execution history of the monitoring schedule. </p> async fn delete_monitoring_schedule( &self, input: DeleteMonitoringScheduleRequest, ) -> Result<(), RusotoError<DeleteMonitoringScheduleError>> { let mut request = self.new_signed_request("POST", "/"); request.add_header("x-amz-target", "SageMaker.DeleteMonitoringSchedule"); let encoded = serde_json::to_string(&input).unwrap(); request.set_payload(Some(encoded)); let response = self .sign_and_dispatch(request, DeleteMonitoringScheduleError::from_response) .await?; std::mem::drop(response); Ok(()) } /// <p><p> Deletes an Amazon SageMaker notebook instance. Before you can delete a notebook instance, you must call the <code>StopNotebookInstance</code> API. </p> <important> <p>When you delete a notebook instance, you lose all of your data. Amazon SageMaker removes the ML compute instance, and deletes the ML storage volume and the network interface associated with the notebook instance. </p> </important></p> async fn delete_notebook_instance( &self, input: DeleteNotebookInstanceInput, ) -> Result<(), RusotoError<DeleteNotebookInstanceError>> { let mut request = self.new_signed_request("POST", "/"); request.add_header("x-amz-target", "SageMaker.DeleteNotebookInstance"); let encoded = serde_json::to_string(&input).unwrap(); request.set_payload(Some(encoded)); let response = self .sign_and_dispatch(request, DeleteNotebookInstanceError::from_response) .await?; std::mem::drop(response); Ok(()) } /// <p>Deletes a notebook instance lifecycle configuration.</p> async fn delete_notebook_instance_lifecycle_config( &self, input: DeleteNotebookInstanceLifecycleConfigInput, ) -> Result<(), RusotoError<DeleteNotebookInstanceLifecycleConfigError>> { let mut request = self.new_signed_request("POST", "/"); request.add_header( "x-amz-target", "SageMaker.DeleteNotebookInstanceLifecycleConfig", ); let encoded = serde_json::to_string(&input).unwrap(); request.set_payload(Some(encoded)); let response = self .sign_and_dispatch( request, DeleteNotebookInstanceLifecycleConfigError::from_response, ) .await?; std::mem::drop(response); Ok(()) } /// <p><p>Deletes the specified tags from an Amazon SageMaker resource.</p> <p>To list a resource's tags, use the <code>ListTags</code> API. </p> <note> <p>When you call this API to delete tags from a hyperparameter tuning job, the deleted tags are not removed from training jobs that the hyperparameter tuning job launched before you called this API.</p> </note></p> async fn delete_tags( &self, input: DeleteTagsInput, ) -> Result<DeleteTagsOutput, RusotoError<DeleteTagsError>> { let mut request = self.new_signed_request("POST", "/"); request.add_header("x-amz-target", "SageMaker.DeleteTags"); let encoded = serde_json::to_string(&input).unwrap(); request.set_payload(Some(encoded)); let response = self .sign_and_dispatch(request, DeleteTagsError::from_response) .await?; let mut response = response; let response = response.buffer().await.map_err(RusotoError::HttpDispatch)?; proto::json::ResponsePayload::new(&response).deserialize::<DeleteTagsOutput, _>() } /// <p>Deletes the specified trial. All trial components that make up the trial must be deleted first. Use the <a>DescribeTrialComponent</a> API to get the list of trial components.</p> async fn delete_trial( &self, input: DeleteTrialRequest, ) -> Result<DeleteTrialResponse, RusotoError<DeleteTrialError>> { let mut request = self.new_signed_request("POST", "/"); request.add_header("x-amz-target", "SageMaker.DeleteTrial"); let encoded = serde_json::to_string(&input).unwrap(); request.set_payload(Some(encoded)); let response = self .sign_and_dispatch(request, DeleteTrialError::from_response) .await?; let mut response = response; let response = response.buffer().await.map_err(RusotoError::HttpDispatch)?; proto::json::ResponsePayload::new(&response).deserialize::<DeleteTrialResponse, _>() } /// <p>Deletes the specified trial component. A trial component must be disassociated from all trials before the trial component can be deleted. To disassociate a trial component from a trial, call the <a>DisassociateTrialComponent</a> API.</p> async fn delete_trial_component( &self, input: DeleteTrialComponentRequest, ) -> Result<DeleteTrialComponentResponse, RusotoError<DeleteTrialComponentError>> { let mut request = self.new_signed_request("POST", "/"); request.add_header("x-amz-target", "SageMaker.DeleteTrialComponent"); let encoded = serde_json::to_string(&input).unwrap(); request.set_payload(Some(encoded)); let response = self .sign_and_dispatch(request, DeleteTrialComponentError::from_response) .await?; let mut response = response; let response = response.buffer().await.map_err(RusotoError::HttpDispatch)?; proto::json::ResponsePayload::new(&response) .deserialize::<DeleteTrialComponentResponse, _>() } /// <p>Deletes a user profile. When a user profile is deleted, the user loses access to their EFS volume, including data, notebooks, and other artifacts.</p> async fn delete_user_profile( &self, input: DeleteUserProfileRequest, ) -> Result<(), RusotoError<DeleteUserProfileError>> { let mut request = self.new_signed_request("POST", "/"); request.add_header("x-amz-target", "SageMaker.DeleteUserProfile"); let encoded = serde_json::to_string(&input).unwrap(); request.set_payload(Some(encoded)); let response = self .sign_and_dispatch(request, DeleteUserProfileError::from_response) .await?; std::mem::drop(response); Ok(()) } /// <p>Deletes an existing work team. This operation can't be undone.</p> async fn delete_workteam( &self, input: DeleteWorkteamRequest, ) -> Result<DeleteWorkteamResponse, RusotoError<DeleteWorkteamError>> { let mut request = self.new_signed_request("POST", "/"); request.add_header("x-amz-target", "SageMaker.DeleteWorkteam"); let encoded = serde_json::to_string(&input).unwrap(); request.set_payload(Some(encoded)); let response = self .sign_and_dispatch(request, DeleteWorkteamError::from_response) .await?; let mut response = response; let response = response.buffer().await.map_err(RusotoError::HttpDispatch)?; proto::json::ResponsePayload::new(&response).deserialize::<DeleteWorkteamResponse, _>() } /// <p>Returns a description of the specified algorithm that is in your account.</p> async fn describe_algorithm( &self, input: DescribeAlgorithmInput, ) -> Result<DescribeAlgorithmOutput, RusotoError<DescribeAlgorithmError>> { let mut request = self.new_signed_request("POST", "/"); request.add_header("x-amz-target", "SageMaker.DescribeAlgorithm"); let encoded = serde_json::to_string(&input).unwrap(); request.set_payload(Some(encoded)); let response = self .sign_and_dispatch(request, DescribeAlgorithmError::from_response) .await?; let mut response = response; let response = response.buffer().await.map_err(RusotoError::HttpDispatch)?; proto::json::ResponsePayload::new(&response).deserialize::<DescribeAlgorithmOutput, _>() } /// <p>Describes the app.</p> async fn describe_app( &self, input: DescribeAppRequest, ) -> Result<DescribeAppResponse, RusotoError<DescribeAppError>> { let mut request = self.new_signed_request("POST", "/"); request.add_header("x-amz-target", "SageMaker.DescribeApp"); let encoded = serde_json::to_string(&input).unwrap(); request.set_payload(Some(encoded)); let response = self .sign_and_dispatch(request, DescribeAppError::from_response) .await?; let mut response = response; let response = response.buffer().await.map_err(RusotoError::HttpDispatch)?; proto::json::ResponsePayload::new(&response).deserialize::<DescribeAppResponse, _>() } /// <p>Returns information about an Amazon SageMaker job.</p> async fn describe_auto_ml_job( &self, input: DescribeAutoMLJobRequest, ) -> Result<DescribeAutoMLJobResponse, RusotoError<DescribeAutoMLJobError>> { let mut request = self.new_signed_request("POST", "/"); request.add_header("x-amz-target", "SageMaker.DescribeAutoMLJob"); let encoded = serde_json::to_string(&input).unwrap(); request.set_payload(Some(encoded)); let response = self .sign_and_dispatch(request, DescribeAutoMLJobError::from_response) .await?; let mut response = response; let response = response.buffer().await.map_err(RusotoError::HttpDispatch)?; proto::json::ResponsePayload::new(&response).deserialize::<DescribeAutoMLJobResponse, _>() } /// <p>Gets details about the specified Git repository.</p> async fn describe_code_repository( &self, input: DescribeCodeRepositoryInput, ) -> Result<DescribeCodeRepositoryOutput, RusotoError<DescribeCodeRepositoryError>> { let mut request = self.new_signed_request("POST", "/"); request.add_header("x-amz-target", "SageMaker.DescribeCodeRepository"); let encoded = serde_json::to_string(&input).unwrap(); request.set_payload(Some(encoded)); let response = self .sign_and_dispatch(request, DescribeCodeRepositoryError::from_response) .await?; let mut response = response; let response = response.buffer().await.map_err(RusotoError::HttpDispatch)?; proto::json::ResponsePayload::new(&response) .deserialize::<DescribeCodeRepositoryOutput, _>() } /// <p>Returns information about a model compilation job.</p> <p>To create a model compilation job, use <a>CreateCompilationJob</a>. To get information about multiple model compilation jobs, use <a>ListCompilationJobs</a>.</p> async fn describe_compilation_job( &self, input: DescribeCompilationJobRequest, ) -> Result<DescribeCompilationJobResponse, RusotoError<DescribeCompilationJobError>> { let mut request = self.new_signed_request("POST", "/"); request.add_header("x-amz-target", "SageMaker.DescribeCompilationJob"); let encoded = serde_json::to_string(&input).unwrap(); request.set_payload(Some(encoded)); let response = self .sign_and_dispatch(request, DescribeCompilationJobError::from_response) .await?; let mut response = response; let response = response.buffer().await.map_err(RusotoError::HttpDispatch)?; proto::json::ResponsePayload::new(&response) .deserialize::<DescribeCompilationJobResponse, _>() } /// <p>The description of the domain.</p> async fn describe_domain( &self, input: DescribeDomainRequest, ) -> Result<DescribeDomainResponse, RusotoError<DescribeDomainError>> { let mut request = self.new_signed_request("POST", "/"); request.add_header("x-amz-target", "SageMaker.DescribeDomain"); let encoded = serde_json::to_string(&input).unwrap(); request.set_payload(Some(encoded)); let response = self .sign_and_dispatch(request, DescribeDomainError::from_response) .await?; let mut response = response; let response = response.buffer().await.map_err(RusotoError::HttpDispatch)?; proto::json::ResponsePayload::new(&response).deserialize::<DescribeDomainResponse, _>() } /// <p>Returns the description of an endpoint.</p> async fn describe_endpoint( &self, input: DescribeEndpointInput, ) -> Result<DescribeEndpointOutput, RusotoError<DescribeEndpointError>> { let mut request = self.new_signed_request("POST", "/"); request.add_header("x-amz-target", "SageMaker.DescribeEndpoint"); let encoded = serde_json::to_string(&input).unwrap(); request.set_payload(Some(encoded)); let response = self .sign_and_dispatch(request, DescribeEndpointError::from_response) .await?; let mut response = response; let response = response.buffer().await.map_err(RusotoError::HttpDispatch)?; proto::json::ResponsePayload::new(&response).deserialize::<DescribeEndpointOutput, _>() } /// <p>Returns the description of an endpoint configuration created using the <code>CreateEndpointConfig</code> API.</p> async fn describe_endpoint_config( &self, input: DescribeEndpointConfigInput, ) -> Result<DescribeEndpointConfigOutput, RusotoError<DescribeEndpointConfigError>> { let mut request = self.new_signed_request("POST", "/"); request.add_header("x-amz-target", "SageMaker.DescribeEndpointConfig"); let encoded = serde_json::to_string(&input).unwrap(); request.set_payload(Some(encoded)); let response = self .sign_and_dispatch(request, DescribeEndpointConfigError::from_response) .await?; let mut response = response; let response = response.buffer().await.map_err(RusotoError::HttpDispatch)?; proto::json::ResponsePayload::new(&response) .deserialize::<DescribeEndpointConfigOutput, _>() } /// <p>Provides a list of an experiment's properties.</p> async fn describe_experiment( &self, input: DescribeExperimentRequest, ) -> Result<DescribeExperimentResponse, RusotoError<DescribeExperimentError>> { let mut request = self.new_signed_request("POST", "/"); request.add_header("x-amz-target", "SageMaker.DescribeExperiment"); let encoded = serde_json::to_string(&input).unwrap(); request.set_payload(Some(encoded)); let response = self .sign_and_dispatch(request, DescribeExperimentError::from_response) .await?; let mut response = response; let response = response.buffer().await.map_err(RusotoError::HttpDispatch)?; proto::json::ResponsePayload::new(&response).deserialize::<DescribeExperimentResponse, _>() } /// <p>Returns information about the specified flow definition.</p> async fn describe_flow_definition( &self, input: DescribeFlowDefinitionRequest, ) -> Result<DescribeFlowDefinitionResponse, RusotoError<DescribeFlowDefinitionError>> { let mut request = self.new_signed_request("POST", "/"); request.add_header("x-amz-target", "SageMaker.DescribeFlowDefinition"); let encoded = serde_json::to_string(&input).unwrap(); request.set_payload(Some(encoded)); let response = self .sign_and_dispatch(request, DescribeFlowDefinitionError::from_response) .await?; let mut response = response; let response = response.buffer().await.map_err(RusotoError::HttpDispatch)?; proto::json::ResponsePayload::new(&response) .deserialize::<DescribeFlowDefinitionResponse, _>() } /// <p>Returns information about the requested human task user interface (worker task template).</p> async fn describe_human_task_ui( &self, input: DescribeHumanTaskUiRequest, ) -> Result<DescribeHumanTaskUiResponse, RusotoError<DescribeHumanTaskUiError>> { let mut request = self.new_signed_request("POST", "/"); request.add_header("x-amz-target", "SageMaker.DescribeHumanTaskUi"); let encoded = serde_json::to_string(&input).unwrap(); request.set_payload(Some(encoded)); let response = self .sign_and_dispatch(request, DescribeHumanTaskUiError::from_response) .await?; let mut response = response; let response = response.buffer().await.map_err(RusotoError::HttpDispatch)?; proto::json::ResponsePayload::new(&response).deserialize::<DescribeHumanTaskUiResponse, _>() } /// <p>Gets a description of a hyperparameter tuning job.</p> async fn describe_hyper_parameter_tuning_job( &self, input: DescribeHyperParameterTuningJobRequest, ) -> Result< DescribeHyperParameterTuningJobResponse, RusotoError<DescribeHyperParameterTuningJobError>, > { let mut request = self.new_signed_request("POST", "/"); request.add_header("x-amz-target", "SageMaker.DescribeHyperParameterTuningJob"); let encoded = serde_json::to_string(&input).unwrap(); request.set_payload(Some(encoded)); let response = self .sign_and_dispatch(request, DescribeHyperParameterTuningJobError::from_response) .await?; let mut response = response; let response = response.buffer().await.map_err(RusotoError::HttpDispatch)?; proto::json::ResponsePayload::new(&response) .deserialize::<DescribeHyperParameterTuningJobResponse, _>() } /// <p>Gets information about a labeling job.</p> async fn describe_labeling_job( &self, input: DescribeLabelingJobRequest, ) -> Result<DescribeLabelingJobResponse, RusotoError<DescribeLabelingJobError>> { let mut request = self.new_signed_request("POST", "/"); request.add_header("x-amz-target", "SageMaker.DescribeLabelingJob"); let encoded = serde_json::to_string(&input).unwrap(); request.set_payload(Some(encoded)); let response = self .sign_and_dispatch(request, DescribeLabelingJobError::from_response) .await?; let mut response = response; let response = response.buffer().await.map_err(RusotoError::HttpDispatch)?; proto::json::ResponsePayload::new(&response).deserialize::<DescribeLabelingJobResponse, _>() } /// <p>Describes a model that you created using the <code>CreateModel</code> API.</p> async fn describe_model( &self, input: DescribeModelInput, ) -> Result<DescribeModelOutput, RusotoError<DescribeModelError>> { let mut request = self.new_signed_request("POST", "/"); request.add_header("x-amz-target", "SageMaker.DescribeModel"); let encoded = serde_json::to_string(&input).unwrap(); request.set_payload(Some(encoded)); let response = self .sign_and_dispatch(request, DescribeModelError::from_response) .await?; let mut response = response; let response = response.buffer().await.map_err(RusotoError::HttpDispatch)?; proto::json::ResponsePayload::new(&response).deserialize::<DescribeModelOutput, _>() } /// <p>Returns a description of the specified model package, which is used to create Amazon SageMaker models or list them on AWS Marketplace.</p> <p>To create models in Amazon SageMaker, buyers can subscribe to model packages listed on AWS Marketplace.</p> async fn describe_model_package( &self, input: DescribeModelPackageInput, ) -> Result<DescribeModelPackageOutput, RusotoError<DescribeModelPackageError>> { let mut request = self.new_signed_request("POST", "/"); request.add_header("x-amz-target", "SageMaker.DescribeModelPackage"); let encoded = serde_json::to_string(&input).unwrap(); request.set_payload(Some(encoded)); let response = self .sign_and_dispatch(request, DescribeModelPackageError::from_response) .await?; let mut response = response; let response = response.buffer().await.map_err(RusotoError::HttpDispatch)?; proto::json::ResponsePayload::new(&response).deserialize::<DescribeModelPackageOutput, _>() } /// <p>Describes the schedule for a monitoring job.</p> async fn describe_monitoring_schedule( &self, input: DescribeMonitoringScheduleRequest, ) -> Result<DescribeMonitoringScheduleResponse, RusotoError<DescribeMonitoringScheduleError>> { let mut request = self.new_signed_request("POST", "/"); request.add_header("x-amz-target", "SageMaker.DescribeMonitoringSchedule"); let encoded = serde_json::to_string(&input).unwrap(); request.set_payload(Some(encoded)); let response = self .sign_and_dispatch(request, DescribeMonitoringScheduleError::from_response) .await?; let mut response = response; let response = response.buffer().await.map_err(RusotoError::HttpDispatch)?; proto::json::ResponsePayload::new(&response) .deserialize::<DescribeMonitoringScheduleResponse, _>() } /// <p>Returns information about a notebook instance.</p> async fn describe_notebook_instance( &self, input: DescribeNotebookInstanceInput, ) -> Result<DescribeNotebookInstanceOutput, RusotoError<DescribeNotebookInstanceError>> { let mut request = self.new_signed_request("POST", "/"); request.add_header("x-amz-target", "SageMaker.DescribeNotebookInstance"); let encoded = serde_json::to_string(&input).unwrap(); request.set_payload(Some(encoded)); let response = self .sign_and_dispatch(request, DescribeNotebookInstanceError::from_response) .await?; let mut response = response; let response = response.buffer().await.map_err(RusotoError::HttpDispatch)?; proto::json::ResponsePayload::new(&response) .deserialize::<DescribeNotebookInstanceOutput, _>() } /// <p>Returns a description of a notebook instance lifecycle configuration.</p> <p>For information about notebook instance lifestyle configurations, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/notebook-lifecycle-config.html">Step 2.1: (Optional) Customize a Notebook Instance</a>.</p> async fn describe_notebook_instance_lifecycle_config( &self, input: DescribeNotebookInstanceLifecycleConfigInput, ) -> Result< DescribeNotebookInstanceLifecycleConfigOutput, RusotoError<DescribeNotebookInstanceLifecycleConfigError>, > { let mut request = self.new_signed_request("POST", "/"); request.add_header( "x-amz-target", "SageMaker.DescribeNotebookInstanceLifecycleConfig", ); let encoded = serde_json::to_string(&input).unwrap(); request.set_payload(Some(encoded)); let response = self .sign_and_dispatch( request, DescribeNotebookInstanceLifecycleConfigError::from_response, ) .await?; let mut response = response; let response = response.buffer().await.map_err(RusotoError::HttpDispatch)?; proto::json::ResponsePayload::new(&response) .deserialize::<DescribeNotebookInstanceLifecycleConfigOutput, _>() } /// <p>Returns a description of a processing job.</p> async fn describe_processing_job( &self, input: DescribeProcessingJobRequest, ) -> Result<DescribeProcessingJobResponse, RusotoError<DescribeProcessingJobError>> { let mut request = self.new_signed_request("POST", "/"); request.add_header("x-amz-target", "SageMaker.DescribeProcessingJob"); let encoded = serde_json::to_string(&input).unwrap(); request.set_payload(Some(encoded)); let response = self .sign_and_dispatch(request, DescribeProcessingJobError::from_response) .await?; let mut response = response; let response = response.buffer().await.map_err(RusotoError::HttpDispatch)?; proto::json::ResponsePayload::new(&response) .deserialize::<DescribeProcessingJobResponse, _>() } /// <p>Gets information about a work team provided by a vendor. It returns details about the subscription with a vendor in the AWS Marketplace.</p> async fn describe_subscribed_workteam( &self, input: DescribeSubscribedWorkteamRequest, ) -> Result<DescribeSubscribedWorkteamResponse, RusotoError<DescribeSubscribedWorkteamError>> { let mut request = self.new_signed_request("POST", "/"); request.add_header("x-amz-target", "SageMaker.DescribeSubscribedWorkteam"); let encoded = serde_json::to_string(&input).unwrap(); request.set_payload(Some(encoded)); let response = self .sign_and_dispatch(request, DescribeSubscribedWorkteamError::from_response) .await?; let mut response = response; let response = response.buffer().await.map_err(RusotoError::HttpDispatch)?; proto::json::ResponsePayload::new(&response) .deserialize::<DescribeSubscribedWorkteamResponse, _>() } /// <p>Returns information about a training job.</p> async fn describe_training_job( &self, input: DescribeTrainingJobRequest, ) -> Result<DescribeTrainingJobResponse, RusotoError<DescribeTrainingJobError>> { let mut request = self.new_signed_request("POST", "/"); request.add_header("x-amz-target", "SageMaker.DescribeTrainingJob"); let encoded = serde_json::to_string(&input).unwrap(); request.set_payload(Some(encoded)); let response = self .sign_and_dispatch(request, DescribeTrainingJobError::from_response) .await?; let mut response = response; let response = response.buffer().await.map_err(RusotoError::HttpDispatch)?; proto::json::ResponsePayload::new(&response).deserialize::<DescribeTrainingJobResponse, _>() } /// <p>Returns information about a transform job.</p> async fn describe_transform_job( &self, input: DescribeTransformJobRequest, ) -> Result<DescribeTransformJobResponse, RusotoError<DescribeTransformJobError>> { let mut request = self.new_signed_request("POST", "/"); request.add_header("x-amz-target", "SageMaker.DescribeTransformJob"); let encoded = serde_json::to_string(&input).unwrap(); request.set_payload(Some(encoded)); let response = self .sign_and_dispatch(request, DescribeTransformJobError::from_response) .await?; let mut response = response; let response = response.buffer().await.map_err(RusotoError::HttpDispatch)?; proto::json::ResponsePayload::new(&response) .deserialize::<DescribeTransformJobResponse, _>() } /// <p>Provides a list of a trial's properties.</p> async fn describe_trial( &self, input: DescribeTrialRequest, ) -> Result<DescribeTrialResponse, RusotoError<DescribeTrialError>> { let mut request = self.new_signed_request("POST", "/"); request.add_header("x-amz-target", "SageMaker.DescribeTrial"); let encoded = serde_json::to_string(&input).unwrap(); request.set_payload(Some(encoded)); let response = self .sign_and_dispatch(request, DescribeTrialError::from_response) .await?; let mut response = response; let response = response.buffer().await.map_err(RusotoError::HttpDispatch)?; proto::json::ResponsePayload::new(&response).deserialize::<DescribeTrialResponse, _>() } /// <p>Provides a list of a trials component's properties.</p> async fn describe_trial_component( &self, input: DescribeTrialComponentRequest, ) -> Result<DescribeTrialComponentResponse, RusotoError<DescribeTrialComponentError>> { let mut request = self.new_signed_request("POST", "/"); request.add_header("x-amz-target", "SageMaker.DescribeTrialComponent"); let encoded = serde_json::to_string(&input).unwrap(); request.set_payload(Some(encoded)); let response = self .sign_and_dispatch(request, DescribeTrialComponentError::from_response) .await?; let mut response = response; let response = response.buffer().await.map_err(RusotoError::HttpDispatch)?; proto::json::ResponsePayload::new(&response) .deserialize::<DescribeTrialComponentResponse, _>() } /// <p>Describes a user profile. For more information, see <code>CreateUserProfile</code>.</p> async fn describe_user_profile( &self, input: DescribeUserProfileRequest, ) -> Result<DescribeUserProfileResponse, RusotoError<DescribeUserProfileError>> { let mut request = self.new_signed_request("POST", "/"); request.add_header("x-amz-target", "SageMaker.DescribeUserProfile"); let encoded = serde_json::to_string(&input).unwrap(); request.set_payload(Some(encoded)); let response = self .sign_and_dispatch(request, DescribeUserProfileError::from_response) .await?; let mut response = response; let response = response.buffer().await.map_err(RusotoError::HttpDispatch)?; proto::json::ResponsePayload::new(&response).deserialize::<DescribeUserProfileResponse, _>() } /// <p><p>Lists private workforce information, including workforce name, Amazon Resource Name (ARN), and, if applicable, allowed IP address ranges (<a href="https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Subnets.html">CIDRs</a>). Allowable IP address ranges are the IP addresses that workers can use to access tasks. </p> <important> <p>This operation applies only to private workforces.</p> </important></p> async fn describe_workforce( &self, input: DescribeWorkforceRequest, ) -> Result<DescribeWorkforceResponse, RusotoError<DescribeWorkforceError>> { let mut request = self.new_signed_request("POST", "/"); request.add_header("x-amz-target", "SageMaker.DescribeWorkforce"); let encoded = serde_json::to_string(&input).unwrap(); request.set_payload(Some(encoded)); let response = self .sign_and_dispatch(request, DescribeWorkforceError::from_response) .await?; let mut response = response; let response = response.buffer().await.map_err(RusotoError::HttpDispatch)?; proto::json::ResponsePayload::new(&response).deserialize::<DescribeWorkforceResponse, _>() } /// <p>Gets information about a specific work team. You can see information such as the create date, the last updated date, membership information, and the work team's Amazon Resource Name (ARN).</p> async fn describe_workteam( &self, input: DescribeWorkteamRequest, ) -> Result<DescribeWorkteamResponse, RusotoError<DescribeWorkteamError>> { let mut request = self.new_signed_request("POST", "/"); request.add_header("x-amz-target", "SageMaker.DescribeWorkteam"); let encoded = serde_json::to_string(&input).unwrap(); request.set_payload(Some(encoded)); let response = self .sign_and_dispatch(request, DescribeWorkteamError::from_response) .await?; let mut response = response; let response = response.buffer().await.map_err(RusotoError::HttpDispatch)?; proto::json::ResponsePayload::new(&response).deserialize::<DescribeWorkteamResponse, _>() } /// <p>Disassociates a trial component from a trial. This doesn't effect other trials the component is associated with. Before you can delete a component, you must disassociate the component from all trials it is associated with. To associate a trial component with a trial, call the <a>AssociateTrialComponent</a> API.</p> <p>To get a list of the trials a component is associated with, use the <a>Search</a> API. Specify <code>ExperimentTrialComponent</code> for the <code>Resource</code> parameter. The list appears in the response under <code>Results.TrialComponent.Parents</code>.</p> async fn disassociate_trial_component( &self, input: DisassociateTrialComponentRequest, ) -> Result<DisassociateTrialComponentResponse, RusotoError<DisassociateTrialComponentError>> { let mut request = self.new_signed_request("POST", "/"); request.add_header("x-amz-target", "SageMaker.DisassociateTrialComponent"); let encoded = serde_json::to_string(&input).unwrap(); request.set_payload(Some(encoded)); let response = self .sign_and_dispatch(request, DisassociateTrialComponentError::from_response) .await?; let mut response = response; let response = response.buffer().await.map_err(RusotoError::HttpDispatch)?; proto::json::ResponsePayload::new(&response) .deserialize::<DisassociateTrialComponentResponse, _>() } /// <p>An auto-complete API for the search functionality in the Amazon SageMaker console. It returns suggestions of possible matches for the property name to use in <code>Search</code> queries. Provides suggestions for <code>HyperParameters</code>, <code>Tags</code>, and <code>Metrics</code>.</p> async fn get_search_suggestions( &self, input: GetSearchSuggestionsRequest, ) -> Result<GetSearchSuggestionsResponse, RusotoError<GetSearchSuggestionsError>> { let mut request = self.new_signed_request("POST", "/"); request.add_header("x-amz-target", "SageMaker.GetSearchSuggestions"); let encoded = serde_json::to_string(&input).unwrap(); request.set_payload(Some(encoded)); let response = self .sign_and_dispatch(request, GetSearchSuggestionsError::from_response) .await?; let mut response = response; let response = response.buffer().await.map_err(RusotoError::HttpDispatch)?; proto::json::ResponsePayload::new(&response) .deserialize::<GetSearchSuggestionsResponse, _>() } /// <p>Lists the machine learning algorithms that have been created.</p> async fn list_algorithms( &self, input: ListAlgorithmsInput, ) -> Result<ListAlgorithmsOutput, RusotoError<ListAlgorithmsError>> { let mut request = self.new_signed_request("POST", "/"); request.add_header("x-amz-target", "SageMaker.ListAlgorithms"); let encoded = serde_json::to_string(&input).unwrap(); request.set_payload(Some(encoded)); let response = self .sign_and_dispatch(request, ListAlgorithmsError::from_response) .await?; let mut response = response; let response = response.buffer().await.map_err(RusotoError::HttpDispatch)?; proto::json::ResponsePayload::new(&response).deserialize::<ListAlgorithmsOutput, _>() } /// <p>Lists apps.</p> async fn list_apps( &self, input: ListAppsRequest, ) -> Result<ListAppsResponse, RusotoError<ListAppsError>> { let mut request = self.new_signed_request("POST", "/"); request.add_header("x-amz-target", "SageMaker.ListApps"); let encoded = serde_json::to_string(&input).unwrap(); request.set_payload(Some(encoded)); let response = self .sign_and_dispatch(request, ListAppsError::from_response) .await?; let mut response = response; let response = response.buffer().await.map_err(RusotoError::HttpDispatch)?; proto::json::ResponsePayload::new(&response).deserialize::<ListAppsResponse, _>() } /// <p>Request a list of jobs.</p> async fn list_auto_ml_jobs( &self, input: ListAutoMLJobsRequest, ) -> Result<ListAutoMLJobsResponse, RusotoError<ListAutoMLJobsError>> { let mut request = self.new_signed_request("POST", "/"); request.add_header("x-amz-target", "SageMaker.ListAutoMLJobs"); let encoded = serde_json::to_string(&input).unwrap(); request.set_payload(Some(encoded)); let response = self .sign_and_dispatch(request, ListAutoMLJobsError::from_response) .await?; let mut response = response; let response = response.buffer().await.map_err(RusotoError::HttpDispatch)?; proto::json::ResponsePayload::new(&response).deserialize::<ListAutoMLJobsResponse, _>() } /// <p>List the Candidates created for the job.</p> async fn list_candidates_for_auto_ml_job( &self, input: ListCandidatesForAutoMLJobRequest, ) -> Result<ListCandidatesForAutoMLJobResponse, RusotoError<ListCandidatesForAutoMLJobError>> { let mut request = self.new_signed_request("POST", "/"); request.add_header("x-amz-target", "SageMaker.ListCandidatesForAutoMLJob"); let encoded = serde_json::to_string(&input).unwrap(); request.set_payload(Some(encoded)); let response = self .sign_and_dispatch(request, ListCandidatesForAutoMLJobError::from_response) .await?; let mut response = response; let response = response.buffer().await.map_err(RusotoError::HttpDispatch)?; proto::json::ResponsePayload::new(&response) .deserialize::<ListCandidatesForAutoMLJobResponse, _>() } /// <p>Gets a list of the Git repositories in your account.</p> async fn list_code_repositories( &self, input: ListCodeRepositoriesInput, ) -> Result<ListCodeRepositoriesOutput, RusotoError<ListCodeRepositoriesError>> { let mut request = self.new_signed_request("POST", "/"); request.add_header("x-amz-target", "SageMaker.ListCodeRepositories"); let encoded = serde_json::to_string(&input).unwrap(); request.set_payload(Some(encoded)); let response = self .sign_and_dispatch(request, ListCodeRepositoriesError::from_response) .await?; let mut response = response; let response = response.buffer().await.map_err(RusotoError::HttpDispatch)?; proto::json::ResponsePayload::new(&response).deserialize::<ListCodeRepositoriesOutput, _>() } /// <p>Lists model compilation jobs that satisfy various filters.</p> <p>To create a model compilation job, use <a>CreateCompilationJob</a>. To get information about a particular model compilation job you have created, use <a>DescribeCompilationJob</a>.</p> async fn list_compilation_jobs( &self, input: ListCompilationJobsRequest, ) -> Result<ListCompilationJobsResponse, RusotoError<ListCompilationJobsError>> { let mut request = self.new_signed_request("POST", "/"); request.add_header("x-amz-target", "SageMaker.ListCompilationJobs"); let encoded = serde_json::to_string(&input).unwrap(); request.set_payload(Some(encoded)); let response = self .sign_and_dispatch(request, ListCompilationJobsError::from_response) .await?; let mut response = response; let response = response.buffer().await.map_err(RusotoError::HttpDispatch)?; proto::json::ResponsePayload::new(&response).deserialize::<ListCompilationJobsResponse, _>() } /// <p>Lists the domains.</p> async fn list_domains( &self, input: ListDomainsRequest, ) -> Result<ListDomainsResponse, RusotoError<ListDomainsError>> { let mut request = self.new_signed_request("POST", "/"); request.add_header("x-amz-target", "SageMaker.ListDomains"); let encoded = serde_json::to_string(&input).unwrap(); request.set_payload(Some(encoded)); let response = self .sign_and_dispatch(request, ListDomainsError::from_response) .await?; let mut response = response; let response = response.buffer().await.map_err(RusotoError::HttpDispatch)?; proto::json::ResponsePayload::new(&response).deserialize::<ListDomainsResponse, _>() } /// <p>Lists endpoint configurations.</p> async fn list_endpoint_configs( &self, input: ListEndpointConfigsInput, ) -> Result<ListEndpointConfigsOutput, RusotoError<ListEndpointConfigsError>> { let mut request = self.new_signed_request("POST", "/"); request.add_header("x-amz-target", "SageMaker.ListEndpointConfigs"); let encoded = serde_json::to_string(&input).unwrap(); request.set_payload(Some(encoded)); let response = self .sign_and_dispatch(request, ListEndpointConfigsError::from_response) .await?; let mut response = response; let response = response.buffer().await.map_err(RusotoError::HttpDispatch)?; proto::json::ResponsePayload::new(&response).deserialize::<ListEndpointConfigsOutput, _>() } /// <p>Lists endpoints.</p> async fn list_endpoints( &self, input: ListEndpointsInput, ) -> Result<ListEndpointsOutput, RusotoError<ListEndpointsError>> { let mut request = self.new_signed_request("POST", "/"); request.add_header("x-amz-target", "SageMaker.ListEndpoints"); let encoded = serde_json::to_string(&input).unwrap(); request.set_payload(Some(encoded)); let response = self .sign_and_dispatch(request, ListEndpointsError::from_response) .await?; let mut response = response; let response = response.buffer().await.map_err(RusotoError::HttpDispatch)?; proto::json::ResponsePayload::new(&response).deserialize::<ListEndpointsOutput, _>() } /// <p>Lists all the experiments in your account. The list can be filtered to show only experiments that were created in a specific time range. The list can be sorted by experiment name or creation time.</p> async fn list_experiments( &self, input: ListExperimentsRequest, ) -> Result<ListExperimentsResponse, RusotoError<ListExperimentsError>> { let mut request = self.new_signed_request("POST", "/"); request.add_header("x-amz-target", "SageMaker.ListExperiments"); let encoded = serde_json::to_string(&input).unwrap(); request.set_payload(Some(encoded)); let response = self .sign_and_dispatch(request, ListExperimentsError::from_response) .await?; let mut response = response; let response = response.buffer().await.map_err(RusotoError::HttpDispatch)?; proto::json::ResponsePayload::new(&response).deserialize::<ListExperimentsResponse, _>() } /// <p>Returns information about the flow definitions in your account.</p> async fn list_flow_definitions( &self, input: ListFlowDefinitionsRequest, ) -> Result<ListFlowDefinitionsResponse, RusotoError<ListFlowDefinitionsError>> { let mut request = self.new_signed_request("POST", "/"); request.add_header("x-amz-target", "SageMaker.ListFlowDefinitions"); let encoded = serde_json::to_string(&input).unwrap(); request.set_payload(Some(encoded)); let response = self .sign_and_dispatch(request, ListFlowDefinitionsError::from_response) .await?; let mut response = response; let response = response.buffer().await.map_err(RusotoError::HttpDispatch)?; proto::json::ResponsePayload::new(&response).deserialize::<ListFlowDefinitionsResponse, _>() } /// <p>Returns information about the human task user interfaces in your account.</p> async fn list_human_task_uis( &self, input: ListHumanTaskUisRequest, ) -> Result<ListHumanTaskUisResponse, RusotoError<ListHumanTaskUisError>> { let mut request = self.new_signed_request("POST", "/"); request.add_header("x-amz-target", "SageMaker.ListHumanTaskUis"); let encoded = serde_json::to_string(&input).unwrap(); request.set_payload(Some(encoded)); let response = self .sign_and_dispatch(request, ListHumanTaskUisError::from_response) .await?; let mut response = response; let response = response.buffer().await.map_err(RusotoError::HttpDispatch)?; proto::json::ResponsePayload::new(&response).deserialize::<ListHumanTaskUisResponse, _>() } /// <p>Gets a list of <a>HyperParameterTuningJobSummary</a> objects that describe the hyperparameter tuning jobs launched in your account.</p> async fn list_hyper_parameter_tuning_jobs( &self, input: ListHyperParameterTuningJobsRequest, ) -> Result<ListHyperParameterTuningJobsResponse, RusotoError<ListHyperParameterTuningJobsError>> { let mut request = self.new_signed_request("POST", "/"); request.add_header("x-amz-target", "SageMaker.ListHyperParameterTuningJobs"); let encoded = serde_json::to_string(&input).unwrap(); request.set_payload(Some(encoded)); let response = self .sign_and_dispatch(request, ListHyperParameterTuningJobsError::from_response) .await?; let mut response = response; let response = response.buffer().await.map_err(RusotoError::HttpDispatch)?; proto::json::ResponsePayload::new(&response) .deserialize::<ListHyperParameterTuningJobsResponse, _>() } /// <p>Gets a list of labeling jobs.</p> async fn list_labeling_jobs( &self, input: ListLabelingJobsRequest, ) -> Result<ListLabelingJobsResponse, RusotoError<ListLabelingJobsError>> { let mut request = self.new_signed_request("POST", "/"); request.add_header("x-amz-target", "SageMaker.ListLabelingJobs"); let encoded = serde_json::to_string(&input).unwrap(); request.set_payload(Some(encoded)); let response = self .sign_and_dispatch(request, ListLabelingJobsError::from_response) .await?; let mut response = response; let response = response.buffer().await.map_err(RusotoError::HttpDispatch)?; proto::json::ResponsePayload::new(&response).deserialize::<ListLabelingJobsResponse, _>() } /// <p>Gets a list of labeling jobs assigned to a specified work team.</p> async fn list_labeling_jobs_for_workteam( &self, input: ListLabelingJobsForWorkteamRequest, ) -> Result<ListLabelingJobsForWorkteamResponse, RusotoError<ListLabelingJobsForWorkteamError>> { let mut request = self.new_signed_request("POST", "/"); request.add_header("x-amz-target", "SageMaker.ListLabelingJobsForWorkteam"); let encoded = serde_json::to_string(&input).unwrap(); request.set_payload(Some(encoded)); let response = self .sign_and_dispatch(request, ListLabelingJobsForWorkteamError::from_response) .await?; let mut response = response; let response = response.buffer().await.map_err(RusotoError::HttpDispatch)?; proto::json::ResponsePayload::new(&response) .deserialize::<ListLabelingJobsForWorkteamResponse, _>() } /// <p>Lists the model packages that have been created.</p> async fn list_model_packages( &self, input: ListModelPackagesInput, ) -> Result<ListModelPackagesOutput, RusotoError<ListModelPackagesError>> { let mut request = self.new_signed_request("POST", "/"); request.add_header("x-amz-target", "SageMaker.ListModelPackages"); let encoded = serde_json::to_string(&input).unwrap(); request.set_payload(Some(encoded)); let response = self .sign_and_dispatch(request, ListModelPackagesError::from_response) .await?; let mut response = response; let response = response.buffer().await.map_err(RusotoError::HttpDispatch)?; proto::json::ResponsePayload::new(&response).deserialize::<ListModelPackagesOutput, _>() } /// <p>Lists models created with the <a>CreateModel</a> API.</p> async fn list_models( &self, input: ListModelsInput, ) -> Result<ListModelsOutput, RusotoError<ListModelsError>> { let mut request = self.new_signed_request("POST", "/"); request.add_header("x-amz-target", "SageMaker.ListModels"); let encoded = serde_json::to_string(&input).unwrap(); request.set_payload(Some(encoded)); let response = self .sign_and_dispatch(request, ListModelsError::from_response) .await?; let mut response = response; let response = response.buffer().await.map_err(RusotoError::HttpDispatch)?; proto::json::ResponsePayload::new(&response).deserialize::<ListModelsOutput, _>() } /// <p>Returns list of all monitoring job executions.</p> async fn list_monitoring_executions( &self, input: ListMonitoringExecutionsRequest, ) -> Result<ListMonitoringExecutionsResponse, RusotoError<ListMonitoringExecutionsError>> { let mut request = self.new_signed_request("POST", "/"); request.add_header("x-amz-target", "SageMaker.ListMonitoringExecutions"); let encoded = serde_json::to_string(&input).unwrap(); request.set_payload(Some(encoded)); let response = self .sign_and_dispatch(request, ListMonitoringExecutionsError::from_response) .await?; let mut response = response; let response = response.buffer().await.map_err(RusotoError::HttpDispatch)?; proto::json::ResponsePayload::new(&response) .deserialize::<ListMonitoringExecutionsResponse, _>() } /// <p>Returns list of all monitoring schedules.</p> async fn list_monitoring_schedules( &self, input: ListMonitoringSchedulesRequest, ) -> Result<ListMonitoringSchedulesResponse, RusotoError<ListMonitoringSchedulesError>> { let mut request = self.new_signed_request("POST", "/"); request.add_header("x-amz-target", "SageMaker.ListMonitoringSchedules"); let encoded = serde_json::to_string(&input).unwrap(); request.set_payload(Some(encoded)); let response = self .sign_and_dispatch(request, ListMonitoringSchedulesError::from_response) .await?; let mut response = response; let response = response.buffer().await.map_err(RusotoError::HttpDispatch)?; proto::json::ResponsePayload::new(&response) .deserialize::<ListMonitoringSchedulesResponse, _>() } /// <p>Lists notebook instance lifestyle configurations created with the <a>CreateNotebookInstanceLifecycleConfig</a> API.</p> async fn list_notebook_instance_lifecycle_configs( &self, input: ListNotebookInstanceLifecycleConfigsInput, ) -> Result< ListNotebookInstanceLifecycleConfigsOutput, RusotoError<ListNotebookInstanceLifecycleConfigsError>, > { let mut request = self.new_signed_request("POST", "/"); request.add_header( "x-amz-target", "SageMaker.ListNotebookInstanceLifecycleConfigs", ); let encoded = serde_json::to_string(&input).unwrap(); request.set_payload(Some(encoded)); let response = self .sign_and_dispatch( request, ListNotebookInstanceLifecycleConfigsError::from_response, ) .await?; let mut response = response; let response = response.buffer().await.map_err(RusotoError::HttpDispatch)?; proto::json::ResponsePayload::new(&response) .deserialize::<ListNotebookInstanceLifecycleConfigsOutput, _>() } /// <p>Returns a list of the Amazon SageMaker notebook instances in the requester's account in an AWS Region. </p> async fn list_notebook_instances( &self, input: ListNotebookInstancesInput, ) -> Result<ListNotebookInstancesOutput, RusotoError<ListNotebookInstancesError>> { let mut request = self.new_signed_request("POST", "/"); request.add_header("x-amz-target", "SageMaker.ListNotebookInstances"); let encoded = serde_json::to_string(&input).unwrap(); request.set_payload(Some(encoded)); let response = self .sign_and_dispatch(request, ListNotebookInstancesError::from_response) .await?; let mut response = response; let response = response.buffer().await.map_err(RusotoError::HttpDispatch)?; proto::json::ResponsePayload::new(&response).deserialize::<ListNotebookInstancesOutput, _>() } /// <p>Lists processing jobs that satisfy various filters.</p> async fn list_processing_jobs( &self, input: ListProcessingJobsRequest, ) -> Result<ListProcessingJobsResponse, RusotoError<ListProcessingJobsError>> { let mut request = self.new_signed_request("POST", "/"); request.add_header("x-amz-target", "SageMaker.ListProcessingJobs"); let encoded = serde_json::to_string(&input).unwrap(); request.set_payload(Some(encoded)); let response = self .sign_and_dispatch(request, ListProcessingJobsError::from_response) .await?; let mut response = response; let response = response.buffer().await.map_err(RusotoError::HttpDispatch)?; proto::json::ResponsePayload::new(&response).deserialize::<ListProcessingJobsResponse, _>() } /// <p>Gets a list of the work teams that you are subscribed to in the AWS Marketplace. The list may be empty if no work team satisfies the filter specified in the <code>NameContains</code> parameter.</p> async fn list_subscribed_workteams( &self, input: ListSubscribedWorkteamsRequest, ) -> Result<ListSubscribedWorkteamsResponse, RusotoError<ListSubscribedWorkteamsError>> { let mut request = self.new_signed_request("POST", "/"); request.add_header("x-amz-target", "SageMaker.ListSubscribedWorkteams"); let encoded = serde_json::to_string(&input).unwrap(); request.set_payload(Some(encoded)); let response = self .sign_and_dispatch(request, ListSubscribedWorkteamsError::from_response) .await?; let mut response = response; let response = response.buffer().await.map_err(RusotoError::HttpDispatch)?; proto::json::ResponsePayload::new(&response) .deserialize::<ListSubscribedWorkteamsResponse, _>() } /// <p>Returns the tags for the specified Amazon SageMaker resource.</p> async fn list_tags( &self, input: ListTagsInput, ) -> Result<ListTagsOutput, RusotoError<ListTagsError>> { let mut request = self.new_signed_request("POST", "/"); request.add_header("x-amz-target", "SageMaker.ListTags"); let encoded = serde_json::to_string(&input).unwrap(); request.set_payload(Some(encoded)); let response = self .sign_and_dispatch(request, ListTagsError::from_response) .await?; let mut response = response; let response = response.buffer().await.map_err(RusotoError::HttpDispatch)?; proto::json::ResponsePayload::new(&response).deserialize::<ListTagsOutput, _>() } /// <p>Lists training jobs.</p> async fn list_training_jobs( &self, input: ListTrainingJobsRequest, ) -> Result<ListTrainingJobsResponse, RusotoError<ListTrainingJobsError>> { let mut request = self.new_signed_request("POST", "/"); request.add_header("x-amz-target", "SageMaker.ListTrainingJobs"); let encoded = serde_json::to_string(&input).unwrap(); request.set_payload(Some(encoded)); let response = self .sign_and_dispatch(request, ListTrainingJobsError::from_response) .await?; let mut response = response; let response = response.buffer().await.map_err(RusotoError::HttpDispatch)?; proto::json::ResponsePayload::new(&response).deserialize::<ListTrainingJobsResponse, _>() } /// <p>Gets a list of <a>TrainingJobSummary</a> objects that describe the training jobs that a hyperparameter tuning job launched.</p> async fn list_training_jobs_for_hyper_parameter_tuning_job( &self, input: ListTrainingJobsForHyperParameterTuningJobRequest, ) -> Result< ListTrainingJobsForHyperParameterTuningJobResponse, RusotoError<ListTrainingJobsForHyperParameterTuningJobError>, > { let mut request = self.new_signed_request("POST", "/"); request.add_header( "x-amz-target", "SageMaker.ListTrainingJobsForHyperParameterTuningJob", ); let encoded = serde_json::to_string(&input).unwrap(); request.set_payload(Some(encoded)); let response = self .sign_and_dispatch( request, ListTrainingJobsForHyperParameterTuningJobError::from_response, ) .await?; let mut response = response; let response = response.buffer().await.map_err(RusotoError::HttpDispatch)?; proto::json::ResponsePayload::new(&response) .deserialize::<ListTrainingJobsForHyperParameterTuningJobResponse, _>() } /// <p>Lists transform jobs.</p> async fn list_transform_jobs( &self, input: ListTransformJobsRequest, ) -> Result<ListTransformJobsResponse, RusotoError<ListTransformJobsError>> { let mut request = self.new_signed_request("POST", "/"); request.add_header("x-amz-target", "SageMaker.ListTransformJobs"); let encoded = serde_json::to_string(&input).unwrap(); request.set_payload(Some(encoded)); let response = self .sign_and_dispatch(request, ListTransformJobsError::from_response) .await?; let mut response = response; let response = response.buffer().await.map_err(RusotoError::HttpDispatch)?; proto::json::ResponsePayload::new(&response).deserialize::<ListTransformJobsResponse, _>() } /// <p><p>Lists the trial components in your account. You can sort the list by trial component name or creation time. You can filter the list to show only components that were created in a specific time range. You can also filter on one of the following:</p> <ul> <li> <p> <code>ExperimentName</code> </p> </li> <li> <p> <code>SourceArn</code> </p> </li> <li> <p> <code>TrialName</code> </p> </li> </ul></p> async fn list_trial_components( &self, input: ListTrialComponentsRequest, ) -> Result<ListTrialComponentsResponse, RusotoError<ListTrialComponentsError>> { let mut request = self.new_signed_request("POST", "/"); request.add_header("x-amz-target", "SageMaker.ListTrialComponents"); let encoded = serde_json::to_string(&input).unwrap(); request.set_payload(Some(encoded)); let response = self .sign_and_dispatch(request, ListTrialComponentsError::from_response) .await?; let mut response = response; let response = response.buffer().await.map_err(RusotoError::HttpDispatch)?; proto::json::ResponsePayload::new(&response).deserialize::<ListTrialComponentsResponse, _>() } /// <p>Lists the trials in your account. Specify an experiment name to limit the list to the trials that are part of that experiment. Specify a trial component name to limit the list to the trials that associated with that trial component. The list can be filtered to show only trials that were created in a specific time range. The list can be sorted by trial name or creation time.</p> async fn list_trials( &self, input: ListTrialsRequest, ) -> Result<ListTrialsResponse, RusotoError<ListTrialsError>> { let mut request = self.new_signed_request("POST", "/"); request.add_header("x-amz-target", "SageMaker.ListTrials"); let encoded = serde_json::to_string(&input).unwrap(); request.set_payload(Some(encoded)); let response = self .sign_and_dispatch(request, ListTrialsError::from_response) .await?; let mut response = response; let response = response.buffer().await.map_err(RusotoError::HttpDispatch)?; proto::json::ResponsePayload::new(&response).deserialize::<ListTrialsResponse, _>() } /// <p>Lists user profiles.</p> async fn list_user_profiles( &self, input: ListUserProfilesRequest, ) -> Result<ListUserProfilesResponse, RusotoError<ListUserProfilesError>> { let mut request = self.new_signed_request("POST", "/"); request.add_header("x-amz-target", "SageMaker.ListUserProfiles"); let encoded = serde_json::to_string(&input).unwrap(); request.set_payload(Some(encoded)); let response = self .sign_and_dispatch(request, ListUserProfilesError::from_response) .await?; let mut response = response; let response = response.buffer().await.map_err(RusotoError::HttpDispatch)?; proto::json::ResponsePayload::new(&response).deserialize::<ListUserProfilesResponse, _>() } /// <p>Gets a list of work teams that you have defined in a region. The list may be empty if no work team satisfies the filter specified in the <code>NameContains</code> parameter.</p> async fn list_workteams( &self, input: ListWorkteamsRequest, ) -> Result<ListWorkteamsResponse, RusotoError<ListWorkteamsError>> { let mut request = self.new_signed_request("POST", "/"); request.add_header("x-amz-target", "SageMaker.ListWorkteams"); let encoded = serde_json::to_string(&input).unwrap(); request.set_payload(Some(encoded)); let response = self .sign_and_dispatch(request, ListWorkteamsError::from_response) .await?; let mut response = response; let response = response.buffer().await.map_err(RusotoError::HttpDispatch)?; proto::json::ResponsePayload::new(&response).deserialize::<ListWorkteamsResponse, _>() } /// <p>Renders the UI template so that you can preview the worker's experience. </p> async fn render_ui_template( &self, input: RenderUiTemplateRequest, ) -> Result<RenderUiTemplateResponse, RusotoError<RenderUiTemplateError>> { let mut request = self.new_signed_request("POST", "/"); request.add_header("x-amz-target", "SageMaker.RenderUiTemplate"); let encoded = serde_json::to_string(&input).unwrap(); request.set_payload(Some(encoded)); let response = self .sign_and_dispatch(request, RenderUiTemplateError::from_response) .await?; let mut response = response; let response = response.buffer().await.map_err(RusotoError::HttpDispatch)?; proto::json::ResponsePayload::new(&response).deserialize::<RenderUiTemplateResponse, _>() } /// <p>Finds Amazon SageMaker resources that match a search query. Matching resources are returned as a list of <code>SearchRecord</code> objects in the response. You can sort the search results by any resource property in a ascending or descending order.</p> <p>You can query against the following value types: numeric, text, Boolean, and timestamp.</p> async fn search( &self, input: SearchRequest, ) -> Result<SearchResponse, RusotoError<SearchError>> { let mut request = self.new_signed_request("POST", "/"); request.add_header("x-amz-target", "SageMaker.Search"); let encoded = serde_json::to_string(&input).unwrap(); request.set_payload(Some(encoded)); let response = self .sign_and_dispatch(request, SearchError::from_response) .await?; let mut response = response; let response = response.buffer().await.map_err(RusotoError::HttpDispatch)?; proto::json::ResponsePayload::new(&response).deserialize::<SearchResponse, _>() } /// <p><p>Starts a previously stopped monitoring schedule.</p> <note> <p>New monitoring schedules are immediately started after creation.</p> </note></p> async fn start_monitoring_schedule( &self, input: StartMonitoringScheduleRequest, ) -> Result<(), RusotoError<StartMonitoringScheduleError>> { let mut request = self.new_signed_request("POST", "/"); request.add_header("x-amz-target", "SageMaker.StartMonitoringSchedule"); let encoded = serde_json::to_string(&input).unwrap(); request.set_payload(Some(encoded)); let response = self .sign_and_dispatch(request, StartMonitoringScheduleError::from_response) .await?; std::mem::drop(response); Ok(()) } /// <p>Launches an ML compute instance with the latest version of the libraries and attaches your ML storage volume. After configuring the notebook instance, Amazon SageMaker sets the notebook instance status to <code>InService</code>. A notebook instance's status must be <code>InService</code> before you can connect to your Jupyter notebook. </p> async fn start_notebook_instance( &self, input: StartNotebookInstanceInput, ) -> Result<(), RusotoError<StartNotebookInstanceError>> { let mut request = self.new_signed_request("POST", "/"); request.add_header("x-amz-target", "SageMaker.StartNotebookInstance"); let encoded = serde_json::to_string(&input).unwrap(); request.set_payload(Some(encoded)); let response = self .sign_and_dispatch(request, StartNotebookInstanceError::from_response) .await?; std::mem::drop(response); Ok(()) } /// <p>A method for forcing the termination of a running job.</p> async fn stop_auto_ml_job( &self, input: StopAutoMLJobRequest, ) -> Result<(), RusotoError<StopAutoMLJobError>> { let mut request = self.new_signed_request("POST", "/"); request.add_header("x-amz-target", "SageMaker.StopAutoMLJob"); let encoded = serde_json::to_string(&input).unwrap(); request.set_payload(Some(encoded)); let response = self .sign_and_dispatch(request, StopAutoMLJobError::from_response) .await?; std::mem::drop(response); Ok(()) } /// <p>Stops a model compilation job.</p> <p> To stop a job, Amazon SageMaker sends the algorithm the SIGTERM signal. This gracefully shuts the job down. If the job hasn't stopped, it sends the SIGKILL signal.</p> <p>When it receives a <code>StopCompilationJob</code> request, Amazon SageMaker changes the <a>CompilationJobSummary$CompilationJobStatus</a> of the job to <code>Stopping</code>. After Amazon SageMaker stops the job, it sets the <a>CompilationJobSummary$CompilationJobStatus</a> to <code>Stopped</code>. </p> async fn stop_compilation_job( &self, input: StopCompilationJobRequest, ) -> Result<(), RusotoError<StopCompilationJobError>> { let mut request = self.new_signed_request("POST", "/"); request.add_header("x-amz-target", "SageMaker.StopCompilationJob"); let encoded = serde_json::to_string(&input).unwrap(); request.set_payload(Some(encoded)); let response = self .sign_and_dispatch(request, StopCompilationJobError::from_response) .await?; std::mem::drop(response); Ok(()) } /// <p>Stops a running hyperparameter tuning job and all running training jobs that the tuning job launched.</p> <p>All model artifacts output from the training jobs are stored in Amazon Simple Storage Service (Amazon S3). All data that the training jobs write to Amazon CloudWatch Logs are still available in CloudWatch. After the tuning job moves to the <code>Stopped</code> state, it releases all reserved resources for the tuning job.</p> async fn stop_hyper_parameter_tuning_job( &self, input: StopHyperParameterTuningJobRequest, ) -> Result<(), RusotoError<StopHyperParameterTuningJobError>> { let mut request = self.new_signed_request("POST", "/"); request.add_header("x-amz-target", "SageMaker.StopHyperParameterTuningJob"); let encoded = serde_json::to_string(&input).unwrap(); request.set_payload(Some(encoded)); let response = self .sign_and_dispatch(request, StopHyperParameterTuningJobError::from_response) .await?; std::mem::drop(response); Ok(()) } /// <p>Stops a running labeling job. A job that is stopped cannot be restarted. Any results obtained before the job is stopped are placed in the Amazon S3 output bucket.</p> async fn stop_labeling_job( &self, input: StopLabelingJobRequest, ) -> Result<(), RusotoError<StopLabelingJobError>> { let mut request = self.new_signed_request("POST", "/"); request.add_header("x-amz-target", "SageMaker.StopLabelingJob"); let encoded = serde_json::to_string(&input).unwrap(); request.set_payload(Some(encoded)); let response = self .sign_and_dispatch(request, StopLabelingJobError::from_response) .await?; std::mem::drop(response); Ok(()) } /// <p>Stops a previously started monitoring schedule.</p> async fn stop_monitoring_schedule( &self, input: StopMonitoringScheduleRequest, ) -> Result<(), RusotoError<StopMonitoringScheduleError>> { let mut request = self.new_signed_request("POST", "/"); request.add_header("x-amz-target", "SageMaker.StopMonitoringSchedule"); let encoded = serde_json::to_string(&input).unwrap(); request.set_payload(Some(encoded)); let response = self .sign_and_dispatch(request, StopMonitoringScheduleError::from_response) .await?; std::mem::drop(response); Ok(()) } /// <p>Terminates the ML compute instance. Before terminating the instance, Amazon SageMaker disconnects the ML storage volume from it. Amazon SageMaker preserves the ML storage volume. Amazon SageMaker stops charging you for the ML compute instance when you call <code>StopNotebookInstance</code>.</p> <p>To access data on the ML storage volume for a notebook instance that has been terminated, call the <code>StartNotebookInstance</code> API. <code>StartNotebookInstance</code> launches another ML compute instance, configures it, and attaches the preserved ML storage volume so you can continue your work. </p> async fn stop_notebook_instance( &self, input: StopNotebookInstanceInput, ) -> Result<(), RusotoError<StopNotebookInstanceError>> { let mut request = self.new_signed_request("POST", "/"); request.add_header("x-amz-target", "SageMaker.StopNotebookInstance"); let encoded = serde_json::to_string(&input).unwrap(); request.set_payload(Some(encoded)); let response = self .sign_and_dispatch(request, StopNotebookInstanceError::from_response) .await?; std::mem::drop(response); Ok(()) } /// <p>Stops a processing job.</p> async fn stop_processing_job( &self, input: StopProcessingJobRequest, ) -> Result<(), RusotoError<StopProcessingJobError>> { let mut request = self.new_signed_request("POST", "/"); request.add_header("x-amz-target", "SageMaker.StopProcessingJob"); let encoded = serde_json::to_string(&input).unwrap(); request.set_payload(Some(encoded)); let response = self .sign_and_dispatch(request, StopProcessingJobError::from_response) .await?; std::mem::drop(response); Ok(()) } /// <p>Stops a training job. To stop a job, Amazon SageMaker sends the algorithm the <code>SIGTERM</code> signal, which delays job termination for 120 seconds. Algorithms might use this 120-second window to save the model artifacts, so the results of the training is not lost. </p> <p>When it receives a <code>StopTrainingJob</code> request, Amazon SageMaker changes the status of the job to <code>Stopping</code>. After Amazon SageMaker stops the job, it sets the status to <code>Stopped</code>.</p> async fn stop_training_job( &self, input: StopTrainingJobRequest, ) -> Result<(), RusotoError<StopTrainingJobError>> { let mut request = self.new_signed_request("POST", "/"); request.add_header("x-amz-target", "SageMaker.StopTrainingJob"); let encoded = serde_json::to_string(&input).unwrap(); request.set_payload(Some(encoded)); let response = self .sign_and_dispatch(request, StopTrainingJobError::from_response) .await?; std::mem::drop(response); Ok(()) } /// <p>Stops a transform job.</p> <p>When Amazon SageMaker receives a <code>StopTransformJob</code> request, the status of the job changes to <code>Stopping</code>. After Amazon SageMaker stops the job, the status is set to <code>Stopped</code>. When you stop a transform job before it is completed, Amazon SageMaker doesn't store the job's output in Amazon S3.</p> async fn stop_transform_job( &self, input: StopTransformJobRequest, ) -> Result<(), RusotoError<StopTransformJobError>> { let mut request = self.new_signed_request("POST", "/"); request.add_header("x-amz-target", "SageMaker.StopTransformJob"); let encoded = serde_json::to_string(&input).unwrap(); request.set_payload(Some(encoded)); let response = self .sign_and_dispatch(request, StopTransformJobError::from_response) .await?; std::mem::drop(response); Ok(()) } /// <p>Updates the specified Git repository with the specified values.</p> async fn update_code_repository( &self, input: UpdateCodeRepositoryInput, ) -> Result<UpdateCodeRepositoryOutput, RusotoError<UpdateCodeRepositoryError>> { let mut request = self.new_signed_request("POST", "/"); request.add_header("x-amz-target", "SageMaker.UpdateCodeRepository"); let encoded = serde_json::to_string(&input).unwrap(); request.set_payload(Some(encoded)); let response = self .sign_and_dispatch(request, UpdateCodeRepositoryError::from_response) .await?; let mut response = response; let response = response.buffer().await.map_err(RusotoError::HttpDispatch)?; proto::json::ResponsePayload::new(&response).deserialize::<UpdateCodeRepositoryOutput, _>() } /// <p>Updates the default settings for new user profiles in the domain.</p> async fn update_domain( &self, input: UpdateDomainRequest, ) -> Result<UpdateDomainResponse, RusotoError<UpdateDomainError>> { let mut request = self.new_signed_request("POST", "/"); request.add_header("x-amz-target", "SageMaker.UpdateDomain"); let encoded = serde_json::to_string(&input).unwrap(); request.set_payload(Some(encoded)); let response = self .sign_and_dispatch(request, UpdateDomainError::from_response) .await?; let mut response = response; let response = response.buffer().await.map_err(RusotoError::HttpDispatch)?; proto::json::ResponsePayload::new(&response).deserialize::<UpdateDomainResponse, _>() } /// <p><p>Deploys the new <code>EndpointConfig</code> specified in the request, switches to using newly created endpoint, and then deletes resources provisioned for the endpoint using the previous <code>EndpointConfig</code> (there is no availability loss). </p> <p>When Amazon SageMaker receives the request, it sets the endpoint status to <code>Updating</code>. After updating the endpoint, it sets the status to <code>InService</code>. To check the status of an endpoint, use the <a>DescribeEndpoint</a> API. </p> <note> <p>You must not delete an <code>EndpointConfig</code> in use by an endpoint that is live or while the <code>UpdateEndpoint</code> or <code>CreateEndpoint</code> operations are being performed on the endpoint. To update an endpoint, you must create a new <code>EndpointConfig</code>.</p> <p>If you delete the <code>EndpointConfig</code> of an endpoint that is active or being created or updated you may lose visibility into the instance type the endpoint is using. The endpoint must be deleted in order to stop incurring charges.</p> </note></p> async fn update_endpoint( &self, input: UpdateEndpointInput, ) -> Result<UpdateEndpointOutput, RusotoError<UpdateEndpointError>> { let mut request = self.new_signed_request("POST", "/"); request.add_header("x-amz-target", "SageMaker.UpdateEndpoint"); let encoded = serde_json::to_string(&input).unwrap(); request.set_payload(Some(encoded)); let response = self .sign_and_dispatch(request, UpdateEndpointError::from_response) .await?; let mut response = response; let response = response.buffer().await.map_err(RusotoError::HttpDispatch)?; proto::json::ResponsePayload::new(&response).deserialize::<UpdateEndpointOutput, _>() } /// <p>Updates variant weight of one or more variants associated with an existing endpoint, or capacity of one variant associated with an existing endpoint. When it receives the request, Amazon SageMaker sets the endpoint status to <code>Updating</code>. After updating the endpoint, it sets the status to <code>InService</code>. To check the status of an endpoint, use the <a>DescribeEndpoint</a> API. </p> async fn update_endpoint_weights_and_capacities( &self, input: UpdateEndpointWeightsAndCapacitiesInput, ) -> Result< UpdateEndpointWeightsAndCapacitiesOutput, RusotoError<UpdateEndpointWeightsAndCapacitiesError>, > { let mut request = self.new_signed_request("POST", "/"); request.add_header( "x-amz-target", "SageMaker.UpdateEndpointWeightsAndCapacities", ); let encoded = serde_json::to_string(&input).unwrap(); request.set_payload(Some(encoded)); let response = self .sign_and_dispatch( request, UpdateEndpointWeightsAndCapacitiesError::from_response, ) .await?; let mut response = response; let response = response.buffer().await.map_err(RusotoError::HttpDispatch)?; proto::json::ResponsePayload::new(&response) .deserialize::<UpdateEndpointWeightsAndCapacitiesOutput, _>() } /// <p>Adds, updates, or removes the description of an experiment. Updates the display name of an experiment.</p> async fn update_experiment( &self, input: UpdateExperimentRequest, ) -> Result<UpdateExperimentResponse, RusotoError<UpdateExperimentError>> { let mut request = self.new_signed_request("POST", "/"); request.add_header("x-amz-target", "SageMaker.UpdateExperiment"); let encoded = serde_json::to_string(&input).unwrap(); request.set_payload(Some(encoded)); let response = self .sign_and_dispatch(request, UpdateExperimentError::from_response) .await?; let mut response = response; let response = response.buffer().await.map_err(RusotoError::HttpDispatch)?; proto::json::ResponsePayload::new(&response).deserialize::<UpdateExperimentResponse, _>() } /// <p>Updates a previously created schedule.</p> async fn update_monitoring_schedule( &self, input: UpdateMonitoringScheduleRequest, ) -> Result<UpdateMonitoringScheduleResponse, RusotoError<UpdateMonitoringScheduleError>> { let mut request = self.new_signed_request("POST", "/"); request.add_header("x-amz-target", "SageMaker.UpdateMonitoringSchedule"); let encoded = serde_json::to_string(&input).unwrap(); request.set_payload(Some(encoded)); let response = self .sign_and_dispatch(request, UpdateMonitoringScheduleError::from_response) .await?; let mut response = response; let response = response.buffer().await.map_err(RusotoError::HttpDispatch)?; proto::json::ResponsePayload::new(&response) .deserialize::<UpdateMonitoringScheduleResponse, _>() } /// <p>Updates a notebook instance. NotebookInstance updates include upgrading or downgrading the ML compute instance used for your notebook instance to accommodate changes in your workload requirements.</p> async fn update_notebook_instance( &self, input: UpdateNotebookInstanceInput, ) -> Result<UpdateNotebookInstanceOutput, RusotoError<UpdateNotebookInstanceError>> { let mut request = self.new_signed_request("POST", "/"); request.add_header("x-amz-target", "SageMaker.UpdateNotebookInstance"); let encoded = serde_json::to_string(&input).unwrap(); request.set_payload(Some(encoded)); let response = self .sign_and_dispatch(request, UpdateNotebookInstanceError::from_response) .await?; let mut response = response; let response = response.buffer().await.map_err(RusotoError::HttpDispatch)?; proto::json::ResponsePayload::new(&response) .deserialize::<UpdateNotebookInstanceOutput, _>() } /// <p>Updates a notebook instance lifecycle configuration created with the <a>CreateNotebookInstanceLifecycleConfig</a> API.</p> async fn update_notebook_instance_lifecycle_config( &self, input: UpdateNotebookInstanceLifecycleConfigInput, ) -> Result< UpdateNotebookInstanceLifecycleConfigOutput, RusotoError<UpdateNotebookInstanceLifecycleConfigError>, > { let mut request = self.new_signed_request("POST", "/"); request.add_header( "x-amz-target", "SageMaker.UpdateNotebookInstanceLifecycleConfig", ); let encoded = serde_json::to_string(&input).unwrap(); request.set_payload(Some(encoded)); let response = self .sign_and_dispatch( request, UpdateNotebookInstanceLifecycleConfigError::from_response, ) .await?; let mut response = response; let response = response.buffer().await.map_err(RusotoError::HttpDispatch)?; proto::json::ResponsePayload::new(&response) .deserialize::<UpdateNotebookInstanceLifecycleConfigOutput, _>() } /// <p>Updates the display name of a trial.</p> async fn update_trial( &self, input: UpdateTrialRequest, ) -> Result<UpdateTrialResponse, RusotoError<UpdateTrialError>> { let mut request = self.new_signed_request("POST", "/"); request.add_header("x-amz-target", "SageMaker.UpdateTrial"); let encoded = serde_json::to_string(&input).unwrap(); request.set_payload(Some(encoded)); let response = self .sign_and_dispatch(request, UpdateTrialError::from_response) .await?; let mut response = response; let response = response.buffer().await.map_err(RusotoError::HttpDispatch)?; proto::json::ResponsePayload::new(&response).deserialize::<UpdateTrialResponse, _>() } /// <p>Updates one or more properties of a trial component.</p> async fn update_trial_component( &self, input: UpdateTrialComponentRequest, ) -> Result<UpdateTrialComponentResponse, RusotoError<UpdateTrialComponentError>> { let mut request = self.new_signed_request("POST", "/"); request.add_header("x-amz-target", "SageMaker.UpdateTrialComponent"); let encoded = serde_json::to_string(&input).unwrap(); request.set_payload(Some(encoded)); let response = self .sign_and_dispatch(request, UpdateTrialComponentError::from_response) .await?; let mut response = response; let response = response.buffer().await.map_err(RusotoError::HttpDispatch)?; proto::json::ResponsePayload::new(&response) .deserialize::<UpdateTrialComponentResponse, _>() } /// <p>Updates a user profile.</p> async fn update_user_profile( &self, input: UpdateUserProfileRequest, ) -> Result<UpdateUserProfileResponse, RusotoError<UpdateUserProfileError>> { let mut request = self.new_signed_request("POST", "/"); request.add_header("x-amz-target", "SageMaker.UpdateUserProfile"); let encoded = serde_json::to_string(&input).unwrap(); request.set_payload(Some(encoded)); let response = self .sign_and_dispatch(request, UpdateUserProfileError::from_response) .await?; let mut response = response; let response = response.buffer().await.map_err(RusotoError::HttpDispatch)?; proto::json::ResponsePayload::new(&response).deserialize::<UpdateUserProfileResponse, _>() } /// <p><p>Restricts access to tasks assigned to workers in the specified workforce to those within specific ranges of IP addresses. You specify allowed IP addresses by creating a list of up to ten <a href="https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Subnets.html">CIDRs</a>.</p> <p>By default, a workforce isn't restricted to specific IP addresses. If you specify a range of IP addresses, workers who attempt to access tasks using any IP address outside the specified range are denied access and get a <code>Not Found</code> error message on the worker portal. After restricting access with this operation, you can see the allowed IP values for a private workforce with the operation.</p> <important> <p>This operation applies only to private workforces.</p> </important></p> async fn update_workforce( &self, input: UpdateWorkforceRequest, ) -> Result<UpdateWorkforceResponse, RusotoError<UpdateWorkforceError>> { let mut request = self.new_signed_request("POST", "/"); request.add_header("x-amz-target", "SageMaker.UpdateWorkforce"); let encoded = serde_json::to_string(&input).unwrap(); request.set_payload(Some(encoded)); let response = self .sign_and_dispatch(request, UpdateWorkforceError::from_response) .await?; let mut response = response; let response = response.buffer().await.map_err(RusotoError::HttpDispatch)?; proto::json::ResponsePayload::new(&response).deserialize::<UpdateWorkforceResponse, _>() } /// <p>Updates an existing work team with new member definitions or description.</p> async fn update_workteam( &self, input: UpdateWorkteamRequest, ) -> Result<UpdateWorkteamResponse, RusotoError<UpdateWorkteamError>> { let mut request = self.new_signed_request("POST", "/"); request.add_header("x-amz-target", "SageMaker.UpdateWorkteam"); let encoded = serde_json::to_string(&input).unwrap(); request.set_payload(Some(encoded)); let response = self .sign_and_dispatch(request, UpdateWorkteamError::from_response) .await?; let mut response = response; let response = response.buffer().await.map_err(RusotoError::HttpDispatch)?; proto::json::ResponsePayload::new(&response).deserialize::<UpdateWorkteamResponse, _>() } }