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
|
// Code generated by smithy-go-codegen DO NOT EDIT.
package types
import (
smithydocument "github.com/aws/smithy-go/document"
"time"
)
// Defines an action to be initiated by a trigger.
type Action struct {
// The job arguments used when this trigger fires. For this job run, they replace
// the default arguments set in the job definition itself. You can specify
// arguments here that your own job-execution script consumes, as well as arguments
// that Glue itself consumes. For information about how to specify and consume your
// own Job arguments, see the Calling Glue APIs in Python (https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-python-calling.html)
// topic in the developer guide. For information about the key-value pairs that
// Glue consumes to set up your job, see the Special Parameters Used by Glue (https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-etl-glue-arguments.html)
// topic in the developer guide.
Arguments map[string]string
// The name of the crawler to be used with this action.
CrawlerName *string
// The name of a job to be run.
JobName *string
// Specifies configuration properties of a job run notification.
NotificationProperty *NotificationProperty
// The name of the SecurityConfiguration structure to be used with this action.
SecurityConfiguration *string
// The JobRun timeout in minutes. This is the maximum time that a job run can
// consume resources before it is terminated and enters TIMEOUT status. The
// default is 2,880 minutes (48 hours). This overrides the timeout value set in the
// parent job.
Timeout *int32
noSmithyDocumentSerde
}
// Specifies a transform that groups rows by chosen fields and computes the
// aggregated value by specified function.
type Aggregate struct {
// Specifies the aggregate functions to be performed on specified fields.
//
// This member is required.
Aggs []AggregateOperation
// Specifies the fields to group by.
//
// This member is required.
Groups [][]string
// Specifies the fields and rows to use as inputs for the aggregate transform.
//
// This member is required.
Inputs []string
// The name of the transform node.
//
// This member is required.
Name *string
noSmithyDocumentSerde
}
// Specifies the set of parameters needed to perform aggregation in the aggregate
// transform.
type AggregateOperation struct {
// Specifies the aggregation function to apply. Possible aggregation functions
// include: avg countDistinct, count, first, last, kurtosis, max, min, skewness,
// stddev_samp, stddev_pop, sum, sumDistinct, var_samp, var_pop
//
// This member is required.
AggFunc AggFunction
// Specifies the column on the data set on which the aggregation function will be
// applied.
//
// This member is required.
Column []string
noSmithyDocumentSerde
}
// Specifies an optional value when connecting to the Redshift cluster.
type AmazonRedshiftAdvancedOption struct {
// The key for the additional connection option.
Key *string
// The value for the additional connection option.
Value *string
noSmithyDocumentSerde
}
// Specifies an Amazon Redshift node.
type AmazonRedshiftNodeData struct {
// The access type for the Redshift connection. Can be a direct connection or
// catalog connections.
AccessType *string
// Specifies how writing to a Redshift cluser will occur.
Action *string
// Optional values when connecting to the Redshift cluster.
AdvancedOptions []AmazonRedshiftAdvancedOption
// The name of the Glue Data Catalog database when working with a data catalog.
CatalogDatabase *Option
// The Redshift schema name when working with a data catalog.
CatalogRedshiftSchema *string
// The database table to read from.
CatalogRedshiftTable *string
// The Glue Data Catalog table name when working with a data catalog.
CatalogTable *Option
// The Glue connection to the Redshift cluster.
Connection *Option
// Specifies the name of the connection that is associated with the catalog table
// used.
CrawlerConnection *string
// Optional. The role name use when connection to S3. The IAM role ill default to
// the role on the job when left blank.
IamRole *Option
// The action used when to detemine how a MERGE in a Redshift sink will be handled.
MergeAction *string
// The SQL used in a custom merge to deal with matching records.
MergeClause *string
// The action used when to detemine how a MERGE in a Redshift sink will be handled
// when an existing record matches a new record.
MergeWhenMatched *string
// The action used when to detemine how a MERGE in a Redshift sink will be handled
// when an existing record doesn't match a new record.
MergeWhenNotMatched *string
// The SQL used before a MERGE or APPEND with upsert is run.
PostAction *string
// The SQL used before a MERGE or APPEND with upsert is run.
PreAction *string
// The SQL used to fetch the data from a Redshift sources when the SourceType is
// 'query'.
SampleQuery *string
// The Redshift schema name when working with a direct connection.
Schema *Option
// The list of column names used to determine a matching record when doing a MERGE
// or APPEND with upsert.
SelectedColumns []Option
// The source type to specify whether a specific table is the source or a custom
// query.
SourceType *string
// The name of the temporary staging table that is used when doing a MERGE or
// APPEND with upsert.
StagingTable *string
// The Redshift table name when working with a direct connection.
Table *Option
// Specifies the prefix to a table.
TablePrefix *string
// The array of schema output for a given node.
TableSchema []Option
// The Amazon S3 path where temporary data can be staged when copying out of the
// database.
TempDir *string
// The action used on Redshift sinks when doing an APPEND.
Upsert bool
noSmithyDocumentSerde
}
// Specifies an Amazon Redshift source.
type AmazonRedshiftSource struct {
// Specifies the data of the Amazon Reshift source node.
Data *AmazonRedshiftNodeData
// The name of the Amazon Redshift source.
Name *string
noSmithyDocumentSerde
}
// Specifies an Amazon Redshift target.
type AmazonRedshiftTarget struct {
// Specifies the data of the Amazon Redshift target node.
Data *AmazonRedshiftNodeData
// The nodes that are inputs to the data target.
Inputs []string
// The name of the Amazon Redshift target.
Name *string
noSmithyDocumentSerde
}
// Specifies a transform that maps data property keys in the data source to data
// property keys in the data target. You can rename keys, modify the data types for
// keys, and choose which keys to drop from the dataset.
type ApplyMapping struct {
// The data inputs identified by their node names.
//
// This member is required.
Inputs []string
// Specifies the mapping of data property keys in the data source to data property
// keys in the data target.
//
// This member is required.
Mapping []Mapping
// The name of the transform node.
//
// This member is required.
Name *string
noSmithyDocumentSerde
}
// Specifies a connector to an Amazon Athena data source.
type AthenaConnectorSource struct {
// The name of the connection that is associated with the connector.
//
// This member is required.
ConnectionName *string
// The type of connection, such as marketplace.athena or custom.athena,
// designating a connection to an Amazon Athena data store.
//
// This member is required.
ConnectionType *string
// The name of a connector that assists with accessing the data store in Glue
// Studio.
//
// This member is required.
ConnectorName *string
// The name of the data source.
//
// This member is required.
Name *string
// The name of the Cloudwatch log group to read from. For example,
// /aws-glue/jobs/output .
//
// This member is required.
SchemaName *string
// The name of the table in the data source.
ConnectionTable *string
// Specifies the data schema for the custom Athena source.
OutputSchemas []GlueSchema
noSmithyDocumentSerde
}
// A structure containing the Lake Formation audit context.
type AuditContext struct {
// A string containing the additional audit context information.
AdditionalAuditContext *string
// All columns request for audit.
AllColumnsRequested *bool
// The requested columns for audit.
RequestedColumns []string
noSmithyDocumentSerde
}
// A list of errors that can occur when registering partition indexes for an
// existing table. These errors give the details about why an index registration
// failed and provide a limited number of partitions in the response, so that you
// can fix the partitions at fault and try registering the index again. The most
// common set of errors that can occur are categorized as follows:
// - EncryptedPartitionError: The partitions are encrypted.
// - InvalidPartitionTypeDataError: The partition value doesn't match the data
// type for that partition column.
// - MissingPartitionValueError: The partitions are encrypted.
// - UnsupportedPartitionCharacterError: Characters inside the partition value
// are not supported. For example: U+0000 , U+0001, U+0002.
// - InternalError: Any error which does not belong to other error codes.
type BackfillError struct {
// The error code for an error that occurred when registering partition indexes
// for an existing table.
Code BackfillErrorCode
// A list of a limited number of partitions in the response.
Partitions []PartitionValueList
noSmithyDocumentSerde
}
// Specifies a target that uses a Glue Data Catalog table.
type BasicCatalogTarget struct {
// The database that contains the table you want to use as the target. This
// database must already exist in the Data Catalog.
//
// This member is required.
Database *string
// The nodes that are inputs to the data target.
//
// This member is required.
Inputs []string
// The name of your data target.
//
// This member is required.
Name *string
// The table that defines the schema of your output data. This table must already
// exist in the Data Catalog.
//
// This member is required.
Table *string
noSmithyDocumentSerde
}
// Represents a table optimizer to retrieve in the BatchGetTableOptimizer
// operation.
type BatchGetTableOptimizerEntry struct {
// The Catalog ID of the table.
CatalogId *string
// The name of the database in the catalog in which the table resides.
DatabaseName *string
// The name of the table.
TableName *string
// The type of table optimizer.
Type TableOptimizerType
noSmithyDocumentSerde
}
// Contains details on one of the errors in the error list returned by the
// BatchGetTableOptimizer operation.
type BatchGetTableOptimizerError struct {
// The Catalog ID of the table.
CatalogId *string
// The name of the database in the catalog in which the table resides.
DatabaseName *string
// An ErrorDetail object containing code and message details about the error.
Error *ErrorDetail
// The name of the table.
TableName *string
// The type of table optimizer.
Type TableOptimizerType
noSmithyDocumentSerde
}
// Records an error that occurred when attempting to stop a specified job run.
type BatchStopJobRunError struct {
// Specifies details about the error that was encountered.
ErrorDetail *ErrorDetail
// The name of the job definition that is used in the job run in question.
JobName *string
// The JobRunId of the job run in question.
JobRunId *string
noSmithyDocumentSerde
}
// Records a successful request to stop a specified JobRun .
type BatchStopJobRunSuccessfulSubmission struct {
// The name of the job definition used in the job run that was stopped.
JobName *string
// The JobRunId of the job run that was stopped.
JobRunId *string
noSmithyDocumentSerde
}
// Contains details for one of the table optimizers returned by the
// BatchGetTableOptimizer operation.
type BatchTableOptimizer struct {
// The Catalog ID of the table.
CatalogId *string
// The name of the database in the catalog in which the table resides.
DatabaseName *string
// The name of the table.
TableName *string
// A TableOptimizer object that contains details on the configuration and last run
// of a table optimzer.
TableOptimizer *TableOptimizer
noSmithyDocumentSerde
}
// Contains information about a batch update partition error.
type BatchUpdatePartitionFailureEntry struct {
// The details about the batch update partition error.
ErrorDetail *ErrorDetail
// A list of values defining the partitions.
PartitionValueList []string
noSmithyDocumentSerde
}
// A structure that contains the values and structure used to update a partition.
type BatchUpdatePartitionRequestEntry struct {
// The structure used to update a partition.
//
// This member is required.
PartitionInput *PartitionInput
// A list of values defining the partitions.
//
// This member is required.
PartitionValueList []string
noSmithyDocumentSerde
}
// Defines column statistics supported for bit sequence data values.
type BinaryColumnStatisticsData struct {
// The average bit sequence length in the column.
//
// This member is required.
AverageLength float64
// The size of the longest bit sequence in the column.
//
// This member is required.
MaximumLength int64
// The number of null values in the column.
//
// This member is required.
NumberOfNulls int64
noSmithyDocumentSerde
}
// The details of a blueprint.
type Blueprint struct {
// Specifies the path in Amazon S3 where the blueprint is published.
BlueprintLocation *string
// Specifies a path in Amazon S3 where the blueprint is copied when you call
// CreateBlueprint/UpdateBlueprint to register the blueprint in Glue.
BlueprintServiceLocation *string
// The date and time the blueprint was registered.
CreatedOn *time.Time
// The description of the blueprint.
Description *string
// An error message.
ErrorMessage *string
// When there are multiple versions of a blueprint and the latest version has some
// errors, this attribute indicates the last successful blueprint definition that
// is available with the service.
LastActiveDefinition *LastActiveDefinition
// The date and time the blueprint was last modified.
LastModifiedOn *time.Time
// The name of the blueprint.
Name *string
// A JSON string that indicates the list of parameter specifications for the
// blueprint.
ParameterSpec *string
// The status of the blueprint registration.
// - Creating — The blueprint registration is in progress.
// - Active — The blueprint has been successfully registered.
// - Updating — An update to the blueprint registration is in progress.
// - Failed — The blueprint registration failed.
Status BlueprintStatus
noSmithyDocumentSerde
}
// The details of a blueprint.
type BlueprintDetails struct {
// The name of the blueprint.
BlueprintName *string
// The run ID for this blueprint.
RunId *string
noSmithyDocumentSerde
}
// The details of a blueprint run.
type BlueprintRun struct {
// The name of the blueprint.
BlueprintName *string
// The date and time that the blueprint run completed.
CompletedOn *time.Time
// Indicates any errors that are seen while running the blueprint.
ErrorMessage *string
// The blueprint parameters as a string. You will have to provide a value for each
// key that is required from the parameter spec that is defined in the
// Blueprint$ParameterSpec .
Parameters *string
// The role ARN. This role will be assumed by the Glue service and will be used to
// create the workflow and other entities of a workflow.
RoleArn *string
// If there are any errors while creating the entities of a workflow, we try to
// roll back the created entities until that point and delete them. This attribute
// indicates the errors seen while trying to delete the entities that are created.
RollbackErrorMessage *string
// The run ID for this blueprint run.
RunId *string
// The date and time that the blueprint run started.
StartedOn *time.Time
// The state of the blueprint run. Possible values are:
// - Running — The blueprint run is in progress.
// - Succeeded — The blueprint run completed successfully.
// - Failed — The blueprint run failed and rollback is complete.
// - Rolling Back — The blueprint run failed and rollback is in progress.
State BlueprintRunState
// The name of a workflow that is created as a result of a successful blueprint
// run. If a blueprint run has an error, there will not be a workflow created.
WorkflowName *string
noSmithyDocumentSerde
}
// Defines column statistics supported for Boolean data columns.
type BooleanColumnStatisticsData struct {
// The number of false values in the column.
//
// This member is required.
NumberOfFalses int64
// The number of null values in the column.
//
// This member is required.
NumberOfNulls int64
// The number of true values in the column.
//
// This member is required.
NumberOfTrues int64
noSmithyDocumentSerde
}
// Specifies a Delta Lake data source that is registered in the Glue Data Catalog.
type CatalogDeltaSource struct {
// The name of the database to read from.
//
// This member is required.
Database *string
// The name of the Delta Lake data source.
//
// This member is required.
Name *string
// The name of the table in the database to read from.
//
// This member is required.
Table *string
// Specifies additional connection options.
AdditionalDeltaOptions map[string]string
// Specifies the data schema for the Delta Lake source.
OutputSchemas []GlueSchema
noSmithyDocumentSerde
}
// Specifies a table definition in the Glue Data Catalog.
type CatalogEntry struct {
// The database in which the table metadata resides.
//
// This member is required.
DatabaseName *string
// The name of the table in question.
//
// This member is required.
TableName *string
noSmithyDocumentSerde
}
// Specifies a Hudi data source that is registered in the Glue Data Catalog.
type CatalogHudiSource struct {
// The name of the database to read from.
//
// This member is required.
Database *string
// The name of the Hudi data source.
//
// This member is required.
Name *string
// The name of the table in the database to read from.
//
// This member is required.
Table *string
// Specifies additional connection options.
AdditionalHudiOptions map[string]string
// Specifies the data schema for the Hudi source.
OutputSchemas []GlueSchema
noSmithyDocumentSerde
}
// A structure containing migration status information.
type CatalogImportStatus struct {
// True if the migration has completed, or False otherwise.
ImportCompleted bool
// The time that the migration was started.
ImportTime *time.Time
// The name of the person who initiated the migration.
ImportedBy *string
noSmithyDocumentSerde
}
// Specifies an Apache Kafka data store in the Data Catalog.
type CatalogKafkaSource struct {
// The name of the database to read from.
//
// This member is required.
Database *string
// The name of the data store.
//
// This member is required.
Name *string
// The name of the table in the database to read from.
//
// This member is required.
Table *string
// Specifies options related to data preview for viewing a sample of your data.
DataPreviewOptions *StreamingDataPreviewOptions
// Whether to automatically determine the schema from the incoming data.
DetectSchema *bool
// Specifies the streaming options.
StreamingOptions *KafkaStreamingSourceOptions
// The amount of time to spend processing each micro batch.
WindowSize *int32
noSmithyDocumentSerde
}
// Specifies a Kinesis data source in the Glue Data Catalog.
type CatalogKinesisSource struct {
// The name of the database to read from.
//
// This member is required.
Database *string
// The name of the data source.
//
// This member is required.
Name *string
// The name of the table in the database to read from.
//
// This member is required.
Table *string
// Additional options for data preview.
DataPreviewOptions *StreamingDataPreviewOptions
// Whether to automatically determine the schema from the incoming data.
DetectSchema *bool
// Additional options for the Kinesis streaming data source.
StreamingOptions *KinesisStreamingSourceOptions
// The amount of time to spend processing each micro batch.
WindowSize *int32
noSmithyDocumentSerde
}
// A policy that specifies update behavior for the crawler.
type CatalogSchemaChangePolicy struct {
// Whether to use the specified update behavior when the crawler finds a changed
// schema.
EnableUpdateCatalog *bool
// The update behavior when the crawler finds a changed schema.
UpdateBehavior UpdateCatalogBehavior
noSmithyDocumentSerde
}
// Specifies a data store in the Glue Data Catalog.
type CatalogSource struct {
// The name of the database to read from.
//
// This member is required.
Database *string
// The name of the data store.
//
// This member is required.
Name *string
// The name of the table in the database to read from.
//
// This member is required.
Table *string
noSmithyDocumentSerde
}
// Specifies an Glue Data Catalog target.
type CatalogTarget struct {
// The name of the database to be synchronized.
//
// This member is required.
DatabaseName *string
// A list of the tables to be synchronized.
//
// This member is required.
Tables []string
// The name of the connection for an Amazon S3-backed Data Catalog table to be a
// target of the crawl when using a Catalog connection type paired with a NETWORK
// Connection type.
ConnectionName *string
// A valid Amazon dead-letter SQS ARN. For example,
// arn:aws:sqs:region:account:deadLetterQueue .
DlqEventQueueArn *string
// A valid Amazon SQS ARN. For example, arn:aws:sqs:region:account:sqs .
EventQueueArn *string
noSmithyDocumentSerde
}
// Classifiers are triggered during a crawl task. A classifier checks whether a
// given file is in a format it can handle. If it is, the classifier creates a
// schema in the form of a StructType object that matches that data format. You
// can use the standard classifiers that Glue provides, or you can write your own
// classifiers to best categorize your data sources and specify the appropriate
// schemas to use for them. A classifier can be a grok classifier, an XML
// classifier, a JSON classifier, or a custom CSV classifier, as specified in one
// of the fields in the Classifier object.
type Classifier struct {
// A classifier for comma-separated values (CSV).
CsvClassifier *CsvClassifier
// A classifier that uses grok .
GrokClassifier *GrokClassifier
// A classifier for JSON content.
JsonClassifier *JsonClassifier
// A classifier for XML content.
XMLClassifier *XMLClassifier
noSmithyDocumentSerde
}
// Specifies how Amazon CloudWatch data should be encrypted.
type CloudWatchEncryption struct {
// The encryption mode to use for CloudWatch data.
CloudWatchEncryptionMode CloudWatchEncryptionMode
// The Amazon Resource Name (ARN) of the KMS key to be used to encrypt the data.
KmsKeyArn *string
noSmithyDocumentSerde
}
// CodeGenConfigurationNode enumerates all valid Node types. One and only one of
// its member variables can be populated.
type CodeGenConfigurationNode struct {
// Specifies a transform that groups rows by chosen fields and computes the
// aggregated value by specified function.
Aggregate *Aggregate
// Specifies a target that writes to a data source in Amazon Redshift.
AmazonRedshiftSource *AmazonRedshiftSource
// Specifies a target that writes to a data target in Amazon Redshift.
AmazonRedshiftTarget *AmazonRedshiftTarget
// Specifies a transform that maps data property keys in the data source to data
// property keys in the data target. You can rename keys, modify the data types for
// keys, and choose which keys to drop from the dataset.
ApplyMapping *ApplyMapping
// Specifies a connector to an Amazon Athena data source.
AthenaConnectorSource *AthenaConnectorSource
// Specifies a Delta Lake data source that is registered in the Glue Data Catalog.
CatalogDeltaSource *CatalogDeltaSource
// Specifies a Hudi data source that is registered in the Glue Data Catalog.
CatalogHudiSource *CatalogHudiSource
// Specifies an Apache Kafka data store in the Data Catalog.
CatalogKafkaSource *CatalogKafkaSource
// Specifies a Kinesis data source in the Glue Data Catalog.
CatalogKinesisSource *CatalogKinesisSource
// Specifies a data store in the Glue Data Catalog.
CatalogSource *CatalogSource
// Specifies a target that uses a Glue Data Catalog table.
CatalogTarget *BasicCatalogTarget
// Specifies a source generated with standard connection options.
ConnectorDataSource *ConnectorDataSource
// Specifies a target generated with standard connection options.
ConnectorDataTarget *ConnectorDataTarget
// Specifies a transform that uses custom code you provide to perform the data
// transformation. The output is a collection of DynamicFrames.
CustomCode *CustomCode
// Specifies the direct JDBC source connection.
DirectJDBCSource *DirectJDBCSource
// Specifies an Apache Kafka data store.
DirectKafkaSource *DirectKafkaSource
// Specifies a direct Amazon Kinesis data source.
DirectKinesisSource *DirectKinesisSource
// Specifies a transform that removes rows of repeating data from a data set.
DropDuplicates *DropDuplicates
// Specifies a transform that chooses the data property keys that you want to drop.
DropFields *DropFields
// Specifies a transform that removes columns from the dataset if all values in
// the column are 'null'. By default, Glue Studio will recognize null objects, but
// some values such as empty strings, strings that are "null", -1 integers or other
// placeholders such as zeros, are not automatically recognized as nulls.
DropNullFields *DropNullFields
// Specifies a custom visual transform created by a user.
DynamicTransform *DynamicTransform
// Specifies a DynamoDBC Catalog data store in the Glue Data Catalog.
DynamoDBCatalogSource *DynamoDBCatalogSource
// Specifies your data quality evaluation criteria.
EvaluateDataQuality *EvaluateDataQuality
// Specifies your data quality evaluation criteria. Allows multiple input data and
// returns a collection of Dynamic Frames.
EvaluateDataQualityMultiFrame *EvaluateDataQualityMultiFrame
// Specifies a transform that locates records in the dataset that have missing
// values and adds a new field with a value determined by imputation. The input
// data set is used to train the machine learning model that determines what the
// missing value should be.
FillMissingValues *FillMissingValues
// Specifies a transform that splits a dataset into two, based on a filter
// condition.
Filter *Filter
// Specifies a data source in a goverened Data Catalog.
GovernedCatalogSource *GovernedCatalogSource
// Specifies a data target that writes to a goverened catalog.
GovernedCatalogTarget *GovernedCatalogTarget
// Specifies a connector to a JDBC data source.
JDBCConnectorSource *JDBCConnectorSource
// Specifies a data target that writes to Amazon S3 in Apache Parquet columnar
// storage.
JDBCConnectorTarget *JDBCConnectorTarget
// Specifies a transform that joins two datasets into one dataset using a
// comparison phrase on the specified data property keys. You can use inner, outer,
// left, right, left semi, and left anti joins.
Join *Join
// Specifies a transform that merges a DynamicFrame with a staging DynamicFrame
// based on the specified primary keys to identify records. Duplicate records
// (records with the same primary keys) are not de-duplicated.
Merge *Merge
// Specifies a Microsoft SQL server data source in the Glue Data Catalog.
MicrosoftSQLServerCatalogSource *MicrosoftSQLServerCatalogSource
// Specifies a target that uses Microsoft SQL.
MicrosoftSQLServerCatalogTarget *MicrosoftSQLServerCatalogTarget
// Specifies a MySQL data source in the Glue Data Catalog.
MySQLCatalogSource *MySQLCatalogSource
// Specifies a target that uses MySQL.
MySQLCatalogTarget *MySQLCatalogTarget
// Specifies an Oracle data source in the Glue Data Catalog.
OracleSQLCatalogSource *OracleSQLCatalogSource
// Specifies a target that uses Oracle SQL.
OracleSQLCatalogTarget *OracleSQLCatalogTarget
// Specifies a transform that identifies, removes or masks PII data.
PIIDetection *PIIDetection
// Specifies a PostgresSQL data source in the Glue Data Catalog.
PostgreSQLCatalogSource *PostgreSQLCatalogSource
// Specifies a target that uses Postgres SQL.
PostgreSQLCatalogTarget *PostgreSQLCatalogTarget
// Specifies a Glue DataBrew recipe node.
Recipe *Recipe
// Specifies an Amazon Redshift data store.
RedshiftSource *RedshiftSource
// Specifies a target that uses Amazon Redshift.
RedshiftTarget *RedshiftTarget
// Specifies a relational catalog data store in the Glue Data Catalog.
RelationalCatalogSource *RelationalCatalogSource
// Specifies a transform that renames a single data property key.
RenameField *RenameField
// Specifies a Delta Lake data source that is registered in the Glue Data Catalog.
// The data source must be stored in Amazon S3.
S3CatalogDeltaSource *S3CatalogDeltaSource
// Specifies a Hudi data source that is registered in the Glue Data Catalog. The
// data source must be stored in Amazon S3.
S3CatalogHudiSource *S3CatalogHudiSource
// Specifies an Amazon S3 data store in the Glue Data Catalog.
S3CatalogSource *S3CatalogSource
// Specifies a data target that writes to Amazon S3 using the Glue Data Catalog.
S3CatalogTarget *S3CatalogTarget
// Specifies a command-separated value (CSV) data store stored in Amazon S3.
S3CsvSource *S3CsvSource
// Specifies a target that writes to a Delta Lake data source in the Glue Data
// Catalog.
S3DeltaCatalogTarget *S3DeltaCatalogTarget
// Specifies a target that writes to a Delta Lake data source in Amazon S3.
S3DeltaDirectTarget *S3DeltaDirectTarget
// Specifies a Delta Lake data source stored in Amazon S3.
S3DeltaSource *S3DeltaSource
// Specifies a data target that writes to Amazon S3.
S3DirectTarget *S3DirectTarget
// Specifies a data target that writes to Amazon S3 in Apache Parquet columnar
// storage.
S3GlueParquetTarget *S3GlueParquetTarget
// Specifies a target that writes to a Hudi data source in the Glue Data Catalog.
S3HudiCatalogTarget *S3HudiCatalogTarget
// Specifies a target that writes to a Hudi data source in Amazon S3.
S3HudiDirectTarget *S3HudiDirectTarget
// Specifies a Hudi data source stored in Amazon S3.
S3HudiSource *S3HudiSource
// Specifies a JSON data store stored in Amazon S3.
S3JsonSource *S3JsonSource
// Specifies an Apache Parquet data store stored in Amazon S3.
S3ParquetSource *S3ParquetSource
// Specifies a transform that chooses the data property keys that you want to keep.
SelectFields *SelectFields
// Specifies a transform that chooses one DynamicFrame from a collection of
// DynamicFrames . The output is the selected DynamicFrame
SelectFromCollection *SelectFromCollection
// Specifies a Snowflake data source.
SnowflakeSource *SnowflakeSource
// Specifies a target that writes to a Snowflake data source.
SnowflakeTarget *SnowflakeTarget
// Specifies a connector to an Apache Spark data source.
SparkConnectorSource *SparkConnectorSource
// Specifies a target that uses an Apache Spark connector.
SparkConnectorTarget *SparkConnectorTarget
// Specifies a transform where you enter a SQL query using Spark SQL syntax to
// transform the data. The output is a single DynamicFrame .
SparkSQL *SparkSQL
// Specifies a transform that writes samples of the data to an Amazon S3 bucket.
Spigot *Spigot
// Specifies a transform that splits data property keys into two DynamicFrames .
// The output is a collection of DynamicFrames : one with selected data property
// keys, and one with the remaining data property keys.
SplitFields *SplitFields
// Specifies a transform that combines the rows from two or more datasets into a
// single result.
Union *Union
noSmithyDocumentSerde
}
// Represents a directional edge in a directed acyclic graph (DAG).
type CodeGenEdge struct {
// The ID of the node at which the edge starts.
//
// This member is required.
Source *string
// The ID of the node at which the edge ends.
//
// This member is required.
Target *string
// The target of the edge.
TargetParameter *string
noSmithyDocumentSerde
}
// Represents a node in a directed acyclic graph (DAG)
type CodeGenNode struct {
// Properties of the node, in the form of name-value pairs.
//
// This member is required.
Args []CodeGenNodeArg
// A node identifier that is unique within the node's graph.
//
// This member is required.
Id *string
// The type of node that this is.
//
// This member is required.
NodeType *string
// The line number of the node.
LineNumber int32
noSmithyDocumentSerde
}
// An argument or property of a node.
type CodeGenNodeArg struct {
// The name of the argument or property.
//
// This member is required.
Name *string
// The value of the argument or property.
//
// This member is required.
Value *string
// True if the value is used as a parameter.
Param bool
noSmithyDocumentSerde
}
// A column in a Table .
type Column struct {
// The name of the Column .
//
// This member is required.
Name *string
// A free-form text comment.
Comment *string
// These key-value pairs define properties associated with the column.
Parameters map[string]string
// The data type of the Column .
Type *string
noSmithyDocumentSerde
}
// Encapsulates a column name that failed and the reason for failure.
type ColumnError struct {
// The name of the column that failed.
ColumnName *string
// An error message with the reason for the failure of an operation.
Error *ErrorDetail
noSmithyDocumentSerde
}
// A structure containing the column name and column importance score for a
// column. Column importance helps you understand how columns contribute to your
// model, by identifying which columns in your records are more important than
// others.
type ColumnImportance struct {
// The name of a column.
ColumnName *string
// The column importance score for the column, as a decimal.
Importance *float64
noSmithyDocumentSerde
}
// A filter that uses both column-level and row-level filtering.
type ColumnRowFilter struct {
// A string containing the name of the column.
ColumnName *string
// A string containing the row-level filter expression.
RowFilterExpression *string
noSmithyDocumentSerde
}
// Represents the generated column-level statistics for a table or partition.
type ColumnStatistics struct {
// The timestamp of when column statistics were generated.
//
// This member is required.
AnalyzedTime *time.Time
// Name of column which statistics belong to.
//
// This member is required.
ColumnName *string
// The data type of the column.
//
// This member is required.
ColumnType *string
// A ColumnStatisticData object that contains the statistics data values.
//
// This member is required.
StatisticsData *ColumnStatisticsData
noSmithyDocumentSerde
}
// Contains the individual types of column statistics data. Only one data object
// should be set and indicated by the Type attribute.
type ColumnStatisticsData struct {
// The type of column statistics data.
//
// This member is required.
Type ColumnStatisticsType
// Binary column statistics data.
BinaryColumnStatisticsData *BinaryColumnStatisticsData
// Boolean column statistics data.
BooleanColumnStatisticsData *BooleanColumnStatisticsData
// Date column statistics data.
DateColumnStatisticsData *DateColumnStatisticsData
// Decimal column statistics data. UnscaledValues within are Base64-encoded binary
// objects storing big-endian, two's complement representations of the decimal's
// unscaled value.
DecimalColumnStatisticsData *DecimalColumnStatisticsData
// Double column statistics data.
DoubleColumnStatisticsData *DoubleColumnStatisticsData
// Long column statistics data.
LongColumnStatisticsData *LongColumnStatisticsData
// String column statistics data.
StringColumnStatisticsData *StringColumnStatisticsData
noSmithyDocumentSerde
}
// Encapsulates a ColumnStatistics object that failed and the reason for failure.
type ColumnStatisticsError struct {
// The ColumnStatistics of the column.
ColumnStatistics *ColumnStatistics
// An error message with the reason for the failure of an operation.
Error *ErrorDetail
noSmithyDocumentSerde
}
// The object that shows the details of the column stats run.
type ColumnStatisticsTaskRun struct {
// The ID of the Data Catalog where the table resides. If none is supplied, the
// Amazon Web Services account ID is used by default.
CatalogID *string
// A list of the column names. If none is supplied, all column names for the table
// will be used by default.
ColumnNameList []string
// The identifier for the particular column statistics task run.
ColumnStatisticsTaskRunId *string
// The time that this task was created.
CreationTime *time.Time
// The Amazon Web Services account ID.
CustomerId *string
// The calculated DPU usage in seconds for all autoscaled workers.
DPUSeconds float64
// The database where the table resides.
DatabaseName *string
// The end time of the task.
EndTime *time.Time
// The error message for the job.
ErrorMessage *string
// The last point in time when this task was modified.
LastUpdated *time.Time
// The number of workers used to generate column statistics. The job is
// preconfigured to autoscale up to 25 instances.
NumberOfWorkers int32
// The IAM role that the service assumes to generate statistics.
Role *string
// The percentage of rows used to generate statistics. If none is supplied, the
// entire table will be used to generate stats.
SampleSize float64
// Name of the security configuration that is used to encrypt CloudWatch logs for
// the column stats task run.
SecurityConfiguration *string
// The start time of the task.
StartTime *time.Time
// The status of the task run.
Status ColumnStatisticsState
// The name of the table for which column statistics is generated.
TableName *string
// The type of workers being used for generating stats. The default is g.1x .
WorkerType *string
noSmithyDocumentSerde
}
// Defines a condition under which a trigger fires.
type Condition struct {
// The state of the crawler to which this condition applies.
CrawlState CrawlState
// The name of the crawler to which this condition applies.
CrawlerName *string
// The name of the job whose JobRuns this condition applies to, and on which this
// trigger waits.
JobName *string
// A logical operator.
LogicalOperator LogicalOperator
// The condition state. Currently, the only job states that a trigger can listen
// for are SUCCEEDED , STOPPED , FAILED , and TIMEOUT . The only crawler states
// that a trigger can listen for are SUCCEEDED , FAILED , and CANCELLED .
State JobRunState
noSmithyDocumentSerde
}
// The confusion matrix shows you what your transform is predicting accurately and
// what types of errors it is making. For more information, see Confusion matrix (https://en.wikipedia.org/wiki/Confusion_matrix)
// in Wikipedia.
type ConfusionMatrix struct {
// The number of matches in the data that the transform didn't find, in the
// confusion matrix for your transform.
NumFalseNegatives *int64
// The number of nonmatches in the data that the transform incorrectly classified
// as a match, in the confusion matrix for your transform.
NumFalsePositives *int64
// The number of nonmatches in the data that the transform correctly rejected, in
// the confusion matrix for your transform.
NumTrueNegatives *int64
// The number of matches in the data that the transform correctly found, in the
// confusion matrix for your transform.
NumTruePositives *int64
noSmithyDocumentSerde
}
// Defines a connection to a data source.
type Connection struct {
// These key-value pairs define parameters for the connection:
// - HOST - The host URI: either the fully qualified domain name (FQDN) or the
// IPv4 address of the database host.
// - PORT - The port number, between 1024 and 65535, of the port on which the
// database host is listening for database connections.
// - USER_NAME - The name under which to log in to the database. The value string
// for USER_NAME is " USERNAME ".
// - PASSWORD - A password, if one is used, for the user name.
// - ENCRYPTED_PASSWORD - When you enable connection password protection by
// setting ConnectionPasswordEncryption in the Data Catalog encryption settings,
// this field stores the encrypted password.
// - JDBC_DRIVER_JAR_URI - The Amazon Simple Storage Service (Amazon S3) path of
// the JAR file that contains the JDBC driver to use.
// - JDBC_DRIVER_CLASS_NAME - The class name of the JDBC driver to use.
// - JDBC_ENGINE - The name of the JDBC engine to use.
// - JDBC_ENGINE_VERSION - The version of the JDBC engine to use.
// - CONFIG_FILES - (Reserved for future use.)
// - INSTANCE_ID - The instance ID to use.
// - JDBC_CONNECTION_URL - The URL for connecting to a JDBC data source.
// - JDBC_ENFORCE_SSL - A Boolean string (true, false) specifying whether Secure
// Sockets Layer (SSL) with hostname matching is enforced for the JDBC connection
// on the client. The default is false.
// - CUSTOM_JDBC_CERT - An Amazon S3 location specifying the customer's root
// certificate. Glue uses this root certificate to validate the customer’s
// certificate when connecting to the customer database. Glue only handles X.509
// certificates. The certificate provided must be DER-encoded and supplied in
// Base64 encoding PEM format.
// - SKIP_CUSTOM_JDBC_CERT_VALIDATION - By default, this is false . Glue
// validates the Signature algorithm and Subject Public Key Algorithm for the
// customer certificate. The only permitted algorithms for the Signature algorithm
// are SHA256withRSA, SHA384withRSA or SHA512withRSA. For the Subject Public Key
// Algorithm, the key length must be at least 2048. You can set the value of this
// property to true to skip Glue’s validation of the customer certificate.
// - CUSTOM_JDBC_CERT_STRING - A custom JDBC certificate string which is used for
// domain match or distinguished name match to prevent a man-in-the-middle attack.
// In Oracle database, this is used as the SSL_SERVER_CERT_DN ; in Microsoft SQL
// Server, this is used as the hostNameInCertificate .
// - CONNECTION_URL - The URL for connecting to a general (non-JDBC) data source.
// - SECRET_ID - The secret ID used for the secret manager of credentials.
// - CONNECTOR_URL - The connector URL for a MARKETPLACE or CUSTOM connection.
// - CONNECTOR_TYPE - The connector type for a MARKETPLACE or CUSTOM connection.
// - CONNECTOR_CLASS_NAME - The connector class name for a MARKETPLACE or CUSTOM
// connection.
// - KAFKA_BOOTSTRAP_SERVERS - A comma-separated list of host and port pairs that
// are the addresses of the Apache Kafka brokers in a Kafka cluster to which a
// Kafka client will connect to and bootstrap itself.
// - KAFKA_SSL_ENABLED - Whether to enable or disable SSL on an Apache Kafka
// connection. Default value is "true".
// - KAFKA_CUSTOM_CERT - The Amazon S3 URL for the private CA cert file (.pem
// format). The default is an empty string.
// - KAFKA_SKIP_CUSTOM_CERT_VALIDATION - Whether to skip the validation of the CA
// cert file or not. Glue validates for three algorithms: SHA256withRSA,
// SHA384withRSA and SHA512withRSA. Default value is "false".
// - KAFKA_CLIENT_KEYSTORE - The Amazon S3 location of the client keystore file
// for Kafka client side authentication (Optional).
// - KAFKA_CLIENT_KEYSTORE_PASSWORD - The password to access the provided
// keystore (Optional).
// - KAFKA_CLIENT_KEY_PASSWORD - A keystore can consist of multiple keys, so this
// is the password to access the client key to be used with the Kafka server side
// key (Optional).
// - ENCRYPTED_KAFKA_CLIENT_KEYSTORE_PASSWORD - The encrypted version of the
// Kafka client keystore password (if the user has the Glue encrypt passwords
// setting selected).
// - ENCRYPTED_KAFKA_CLIENT_KEY_PASSWORD - The encrypted version of the Kafka
// client key password (if the user has the Glue encrypt passwords setting
// selected).
// - KAFKA_SASL_MECHANISM - "SCRAM-SHA-512" , "GSSAPI" , or "AWS_MSK_IAM" . These
// are the supported SASL Mechanisms (https://www.iana.org/assignments/sasl-mechanisms/sasl-mechanisms.xhtml)
// .
// - KAFKA_SASL_SCRAM_USERNAME - A plaintext username used to authenticate with
// the "SCRAM-SHA-512" mechanism.
// - KAFKA_SASL_SCRAM_PASSWORD - A plaintext password used to authenticate with
// the "SCRAM-SHA-512" mechanism.
// - ENCRYPTED_KAFKA_SASL_SCRAM_PASSWORD - The encrypted version of the Kafka
// SASL SCRAM password (if the user has the Glue encrypt passwords setting
// selected).
// - KAFKA_SASL_SCRAM_SECRETS_ARN - The Amazon Resource Name of a secret in
// Amazon Web Services Secrets Manager.
// - KAFKA_SASL_GSSAPI_KEYTAB - The S3 location of a Kerberos keytab file. A
// keytab stores long-term keys for one or more principals. For more information,
// see MIT Kerberos Documentation: Keytab (https://web.mit.edu/kerberos/krb5-latest/doc/basic/keytab_def.html)
// .
// - KAFKA_SASL_GSSAPI_KRB5_CONF - The S3 location of a Kerberos krb5.conf file.
// A krb5.conf stores Kerberos configuration information, such as the location of
// the KDC server. For more information, see MIT Kerberos Documentation:
// krb5.conf (https://web.mit.edu/kerberos/krb5-1.12/doc/admin/conf_files/krb5_conf.html)
// .
// - KAFKA_SASL_GSSAPI_SERVICE - The Kerberos service name, as set with
// sasl.kerberos.service.name in your Kafka Configuration (https://kafka.apache.org/documentation/#brokerconfigs_sasl.kerberos.service.name)
// .
// - KAFKA_SASL_GSSAPI_PRINCIPAL - The name of the Kerberos princial used by
// Glue. For more information, see Kafka Documentation: Configuring Kafka Brokers (https://kafka.apache.org/documentation/#security_sasl_kerberos_clientconfig)
// .
ConnectionProperties map[string]string
// The type of the connection. Currently, SFTP is not supported.
ConnectionType ConnectionType
// The time that this connection definition was created.
CreationTime *time.Time
// The description of the connection.
Description *string
// The user, group, or role that last updated this connection definition.
LastUpdatedBy *string
// The last time that this connection definition was updated.
LastUpdatedTime *time.Time
// A list of criteria that can be used in selecting this connection.
MatchCriteria []string
// The name of the connection definition.
Name *string
// A map of physical connection requirements, such as virtual private cloud (VPC)
// and SecurityGroup , that are needed to make this connection successfully.
PhysicalConnectionRequirements *PhysicalConnectionRequirements
noSmithyDocumentSerde
}
// A structure that is used to specify a connection to create or update.
type ConnectionInput struct {
// These key-value pairs define parameters for the connection.
//
// This member is required.
ConnectionProperties map[string]string
// The type of the connection. Currently, these types are supported:
// - JDBC - Designates a connection to a database through Java Database
// Connectivity (JDBC). JDBC Connections use the following ConnectionParameters.
// - Required: All of ( HOST , PORT , JDBC_ENGINE ) or JDBC_CONNECTION_URL .
// - Required: All of ( USERNAME , PASSWORD ) or SECRET_ID .
// - Optional: JDBC_ENFORCE_SSL , CUSTOM_JDBC_CERT , CUSTOM_JDBC_CERT_STRING ,
// SKIP_CUSTOM_JDBC_CERT_VALIDATION . These parameters are used to configure SSL
// with JDBC.
// - KAFKA - Designates a connection to an Apache Kafka streaming platform. KAFKA
// Connections use the following ConnectionParameters.
// - Required: KAFKA_BOOTSTRAP_SERVERS .
// - Optional: KAFKA_SSL_ENABLED , KAFKA_CUSTOM_CERT ,
// KAFKA_SKIP_CUSTOM_CERT_VALIDATION . These parameters are used to configure SSL
// with KAFKA .
// - Optional: KAFKA_CLIENT_KEYSTORE , KAFKA_CLIENT_KEYSTORE_PASSWORD ,
// KAFKA_CLIENT_KEY_PASSWORD , ENCRYPTED_KAFKA_CLIENT_KEYSTORE_PASSWORD ,
// ENCRYPTED_KAFKA_CLIENT_KEY_PASSWORD . These parameters are used to configure
// TLS client configuration with SSL in KAFKA .
// - Optional: KAFKA_SASL_MECHANISM . Can be specified as SCRAM-SHA-512 , GSSAPI
// , or AWS_MSK_IAM .
// - Optional: KAFKA_SASL_SCRAM_USERNAME , KAFKA_SASL_SCRAM_PASSWORD ,
// ENCRYPTED_KAFKA_SASL_SCRAM_PASSWORD . These parameters are used to configure
// SASL/SCRAM-SHA-512 authentication with KAFKA .
// - Optional: KAFKA_SASL_GSSAPI_KEYTAB , KAFKA_SASL_GSSAPI_KRB5_CONF ,
// KAFKA_SASL_GSSAPI_SERVICE , KAFKA_SASL_GSSAPI_PRINCIPAL . These parameters are
// used to configure SASL/GSSAPI authentication with KAFKA .
// - MONGODB - Designates a connection to a MongoDB document database. MONGODB
// Connections use the following ConnectionParameters.
// - Required: CONNECTION_URL .
// - Required: All of ( USERNAME , PASSWORD ) or SECRET_ID .
// - NETWORK - Designates a network connection to a data source within an Amazon
// Virtual Private Cloud environment (Amazon VPC). NETWORK Connections do not
// require ConnectionParameters. Instead, provide a PhysicalConnectionRequirements.
//
// - MARKETPLACE - Uses configuration settings contained in a connector purchased
// from Amazon Web Services Marketplace to read from and write to data stores that
// are not natively supported by Glue. MARKETPLACE Connections use the following
// ConnectionParameters.
// - Required: CONNECTOR_TYPE , CONNECTOR_URL , CONNECTOR_CLASS_NAME ,
// CONNECTION_URL .
// - Required for JDBC CONNECTOR_TYPE connections: All of ( USERNAME , PASSWORD )
// or SECRET_ID .
// - CUSTOM - Uses configuration settings contained in a custom connector to read
// from and write to data stores that are not natively supported by Glue.
// SFTP is not supported. For more information about how optional
// ConnectionProperties are used to configure features in Glue, consult Glue
// connection properties (https://docs.aws.amazon.com/glue/latest/dg/connection-defining.html)
// . For more information about how optional ConnectionProperties are used to
// configure features in Glue Studio, consult Using connectors and connections (https://docs.aws.amazon.com/glue/latest/ug/connectors-chapter.html)
// .
//
// This member is required.
ConnectionType ConnectionType
// The name of the connection. Connection will not function as expected without a
// name.
//
// This member is required.
Name *string
// The description of the connection.
Description *string
// A list of criteria that can be used in selecting this connection.
MatchCriteria []string
// A map of physical connection requirements, such as virtual private cloud (VPC)
// and SecurityGroup , that are needed to successfully make this connection.
PhysicalConnectionRequirements *PhysicalConnectionRequirements
noSmithyDocumentSerde
}
// The data structure used by the Data Catalog to encrypt the password as part of
// CreateConnection or UpdateConnection and store it in the ENCRYPTED_PASSWORD
// field in the connection properties. You can enable catalog encryption or only
// password encryption. When a CreationConnection request arrives containing a
// password, the Data Catalog first encrypts the password using your KMS key. It
// then encrypts the whole connection object again if catalog encryption is also
// enabled. This encryption requires that you set KMS key permissions to enable or
// restrict access on the password key according to your security requirements. For
// example, you might want only administrators to have decrypt permission on the
// password key.
type ConnectionPasswordEncryption struct {
// When the ReturnConnectionPasswordEncrypted flag is set to "true", passwords
// remain encrypted in the responses of GetConnection and GetConnections . This
// encryption takes effect independently from catalog encryption.
//
// This member is required.
ReturnConnectionPasswordEncrypted bool
// An KMS key that is used to encrypt the connection password. If connection
// password protection is enabled, the caller of CreateConnection and
// UpdateConnection needs at least kms:Encrypt permission on the specified KMS
// key, to encrypt passwords before storing them in the Data Catalog. You can set
// the decrypt permission to enable or restrict access on the password key
// according to your security requirements.
AwsKmsKeyId *string
noSmithyDocumentSerde
}
// Specifies the connections used by a job.
type ConnectionsList struct {
// A list of connections used by the job.
Connections []string
noSmithyDocumentSerde
}
// Specifies a source generated with standard connection options.
type ConnectorDataSource struct {
// The connectionType , as provided to the underlying Glue library. This node type
// supports the following connection types:
// - opensearch
// - azuresql
// - azurecosmos
// - bigquery
// - saphana
// - teradata
// - vertica
//
// This member is required.
ConnectionType *string
// A map specifying connection options for the node. You can find standard
// connection options for the corresponding connection type in the Connection
// parameters (https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-etl-connect.html)
// section of the Glue documentation.
//
// This member is required.
Data map[string]string
// The name of this source node.
//
// This member is required.
Name *string
// Specifies the data schema for this source.
OutputSchemas []GlueSchema
noSmithyDocumentSerde
}
// Specifies a target generated with standard connection options.
type ConnectorDataTarget struct {
// The connectionType , as provided to the underlying Glue library. This node type
// supports the following connection types:
// - opensearch
// - azuresql
// - azurecosmos
// - bigquery
// - saphana
// - teradata
// - vertica
//
// This member is required.
ConnectionType *string
// A map specifying connection options for the node. You can find standard
// connection options for the corresponding connection type in the Connection
// parameters (https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-etl-connect.html)
// section of the Glue documentation.
//
// This member is required.
Data map[string]string
// The name of this target node.
//
// This member is required.
Name *string
// The nodes that are inputs to the data target.
Inputs []string
noSmithyDocumentSerde
}
// The details of a crawl in the workflow.
type Crawl struct {
// The date and time on which the crawl completed.
CompletedOn *time.Time
// The error message associated with the crawl.
ErrorMessage *string
// The log group associated with the crawl.
LogGroup *string
// The log stream associated with the crawl.
LogStream *string
// The date and time on which the crawl started.
StartedOn *time.Time
// The state of the crawler.
State CrawlState
noSmithyDocumentSerde
}
// Specifies a crawler program that examines a data source and uses classifiers to
// try to determine its schema. If successful, the crawler records metadata
// concerning the data source in the Glue Data Catalog.
type Crawler struct {
// A list of UTF-8 strings that specify the custom classifiers that are associated
// with the crawler.
Classifiers []string
// Crawler configuration information. This versioned JSON string allows users to
// specify aspects of a crawler's behavior. For more information, see Setting
// crawler configuration options (https://docs.aws.amazon.com/glue/latest/dg/crawler-configuration.html)
// .
Configuration *string
// If the crawler is running, contains the total time elapsed since the last crawl
// began.
CrawlElapsedTime int64
// The name of the SecurityConfiguration structure to be used by this crawler.
CrawlerSecurityConfiguration *string
// The time that the crawler was created.
CreationTime *time.Time
// The name of the database in which the crawler's output is stored.
DatabaseName *string
// A description of the crawler.
Description *string
// Specifies whether the crawler should use Lake Formation credentials for the
// crawler instead of the IAM role credentials.
LakeFormationConfiguration *LakeFormationConfiguration
// The status of the last crawl, and potentially error information if an error
// occurred.
LastCrawl *LastCrawlInfo
// The time that the crawler was last updated.
LastUpdated *time.Time
// A configuration that specifies whether data lineage is enabled for the crawler.
LineageConfiguration *LineageConfiguration
// The name of the crawler.
Name *string
// A policy that specifies whether to crawl the entire dataset again, or to crawl
// only folders that were added since the last crawler run.
RecrawlPolicy *RecrawlPolicy
// The Amazon Resource Name (ARN) of an IAM role that's used to access customer
// resources, such as Amazon Simple Storage Service (Amazon S3) data.
Role *string
// For scheduled crawlers, the schedule when the crawler runs.
Schedule *Schedule
// The policy that specifies update and delete behaviors for the crawler.
SchemaChangePolicy *SchemaChangePolicy
// Indicates whether the crawler is running, or whether a run is pending.
State CrawlerState
// The prefix added to the names of tables that are created.
TablePrefix *string
// A collection of targets to crawl.
Targets *CrawlerTargets
// The version of the crawler.
Version int64
noSmithyDocumentSerde
}
// Contains the information for a run of a crawler.
type CrawlerHistory struct {
// A UUID identifier for each crawl.
CrawlId *string
// The number of data processing units (DPU) used in hours for the crawl.
DPUHour float64
// The date and time on which the crawl ended.
EndTime *time.Time
// If an error occurred, the error message associated with the crawl.
ErrorMessage *string
// The log group associated with the crawl.
LogGroup *string
// The log stream associated with the crawl.
LogStream *string
// The prefix for a CloudWatch message about this crawl.
MessagePrefix *string
// The date and time on which the crawl started.
StartTime *time.Time
// The state of the crawl.
State CrawlerHistoryState
// A run summary for the specific crawl in JSON. Contains the catalog tables and
// partitions that were added, updated, or deleted.
Summary *string
noSmithyDocumentSerde
}
// Metrics for a specified crawler.
type CrawlerMetrics struct {
// The name of the crawler.
CrawlerName *string
// The duration of the crawler's most recent run, in seconds.
LastRuntimeSeconds float64
// The median duration of this crawler's runs, in seconds.
MedianRuntimeSeconds float64
// True if the crawler is still estimating how long it will take to complete this
// run.
StillEstimating bool
// The number of tables created by this crawler.
TablesCreated int32
// The number of tables deleted by this crawler.
TablesDeleted int32
// The number of tables updated by this crawler.
TablesUpdated int32
// The estimated time left to complete a running crawl.
TimeLeftSeconds float64
noSmithyDocumentSerde
}
// The details of a Crawler node present in the workflow.
type CrawlerNodeDetails struct {
// A list of crawls represented by the crawl node.
Crawls []Crawl
noSmithyDocumentSerde
}
// Specifies data stores to crawl.
type CrawlerTargets struct {
// Specifies Glue Data Catalog targets.
CatalogTargets []CatalogTarget
// Specifies Delta data store targets.
DeltaTargets []DeltaTarget
// Specifies Amazon DynamoDB targets.
DynamoDBTargets []DynamoDBTarget
// Specifies Apache Hudi data store targets.
HudiTargets []HudiTarget
// Specifies Apache Iceberg data store targets.
IcebergTargets []IcebergTarget
// Specifies JDBC targets.
JdbcTargets []JdbcTarget
// Specifies Amazon DocumentDB or MongoDB targets.
MongoDBTargets []MongoDBTarget
// Specifies Amazon Simple Storage Service (Amazon S3) targets.
S3Targets []S3Target
noSmithyDocumentSerde
}
// A list of fields, comparators and value that you can use to filter the crawler
// runs for a specified crawler.
type CrawlsFilter struct {
// A key used to filter the crawler runs for a specified crawler. Valid values for
// each of the field names are:
// - CRAWL_ID : A string representing the UUID identifier for a crawl.
// - STATE : A string representing the state of the crawl.
// - START_TIME and END_TIME : The epoch timestamp in milliseconds.
// - DPU_HOUR : The number of data processing unit (DPU) hours used for the
// crawl.
FieldName FieldName
// The value provided for comparison on the crawl field.
FieldValue *string
// A defined comparator that operates on the value. The available operators are:
// - GT : Greater than.
// - GE : Greater than or equal to.
// - LT : Less than.
// - LE : Less than or equal to.
// - EQ : Equal to.
// - NE : Not equal to.
FilterOperator FilterOperator
noSmithyDocumentSerde
}
// Specifies a custom CSV classifier for CreateClassifier to create.
type CreateCsvClassifierRequest struct {
// The name of the classifier.
//
// This member is required.
Name *string
// Enables the processing of files that contain only one column.
AllowSingleColumn *bool
// Indicates whether the CSV file contains a header.
ContainsHeader CsvHeaderOption
// Enables the configuration of custom datatypes.
CustomDatatypeConfigured *bool
// Creates a list of supported custom datatypes.
CustomDatatypes []string
// A custom symbol to denote what separates each column entry in the row.
Delimiter *string
// Specifies not to trim values before identifying the type of column values. The
// default value is true.
DisableValueTrimming *bool
// A list of strings representing column names.
Header []string
// A custom symbol to denote what combines content into a single column value.
// Must be different from the column delimiter.
QuoteSymbol *string
// Sets the SerDe for processing CSV in the classifier, which will be applied in
// the Data Catalog. Valid values are OpenCSVSerDe , LazySimpleSerDe , and None .
// You can specify the None value when you want the crawler to do the detection.
Serde CsvSerdeOption
noSmithyDocumentSerde
}
// Specifies a grok classifier for CreateClassifier to create.
type CreateGrokClassifierRequest struct {
// An identifier of the data format that the classifier matches, such as Twitter,
// JSON, Omniture logs, Amazon CloudWatch Logs, and so on.
//
// This member is required.
Classification *string
// The grok pattern used by this classifier.
//
// This member is required.
GrokPattern *string
// The name of the new classifier.
//
// This member is required.
Name *string
// Optional custom grok patterns used by this classifier.
CustomPatterns *string
noSmithyDocumentSerde
}
// Specifies a JSON classifier for CreateClassifier to create.
type CreateJsonClassifierRequest struct {
// A JsonPath string defining the JSON data for the classifier to classify. Glue
// supports a subset of JsonPath, as described in Writing JsonPath Custom
// Classifiers (https://docs.aws.amazon.com/glue/latest/dg/custom-classifier.html#custom-classifier-json)
// .
//
// This member is required.
JsonPath *string
// The name of the classifier.
//
// This member is required.
Name *string
noSmithyDocumentSerde
}
// Specifies an XML classifier for CreateClassifier to create.
type CreateXMLClassifierRequest struct {
// An identifier of the data format that the classifier matches.
//
// This member is required.
Classification *string
// The name of the classifier.
//
// This member is required.
Name *string
// The XML tag designating the element that contains each record in an XML
// document being parsed. This can't identify a self-closing element (closed by />
// ). An empty row element that contains only attributes can be parsed as long as
// it ends with a closing tag (for example, is okay, but is not).
RowTag *string
noSmithyDocumentSerde
}
// A classifier for custom CSV content.
type CsvClassifier struct {
// The name of the classifier.
//
// This member is required.
Name *string
// Enables the processing of files that contain only one column.
AllowSingleColumn *bool
// Indicates whether the CSV file contains a header.
ContainsHeader CsvHeaderOption
// The time that this classifier was registered.
CreationTime *time.Time
// Enables the custom datatype to be configured.
CustomDatatypeConfigured *bool
// A list of custom datatypes including "BINARY", "BOOLEAN", "DATE", "DECIMAL",
// "DOUBLE", "FLOAT", "INT", "LONG", "SHORT", "STRING", "TIMESTAMP".
CustomDatatypes []string
// A custom symbol to denote what separates each column entry in the row.
Delimiter *string
// Specifies not to trim values before identifying the type of column values. The
// default value is true .
DisableValueTrimming *bool
// A list of strings representing column names.
Header []string
// The time that this classifier was last updated.
LastUpdated *time.Time
// A custom symbol to denote what combines content into a single column value. It
// must be different from the column delimiter.
QuoteSymbol *string
// Sets the SerDe for processing CSV in the classifier, which will be applied in
// the Data Catalog. Valid values are OpenCSVSerDe , LazySimpleSerDe , and None .
// You can specify the None value when you want the crawler to do the detection.
Serde CsvSerdeOption
// The version of this classifier.
Version int64
noSmithyDocumentSerde
}
// Specifies a transform that uses custom code you provide to perform the data
// transformation. The output is a collection of DynamicFrames.
type CustomCode struct {
// The name defined for the custom code node class.
//
// This member is required.
ClassName *string
// The custom code that is used to perform the data transformation.
//
// This member is required.
Code *string
// The data inputs identified by their node names.
//
// This member is required.
Inputs []string
// The name of the transform node.
//
// This member is required.
Name *string
// Specifies the data schema for the custom code transform.
OutputSchemas []GlueSchema
noSmithyDocumentSerde
}
// An object representing a custom pattern for detecting sensitive data across the
// columns and rows of your structured data.
type CustomEntityType struct {
// A name for the custom pattern that allows it to be retrieved or deleted later.
// This name must be unique per Amazon Web Services account.
//
// This member is required.
Name *string
// A regular expression string that is used for detecting sensitive data in a
// custom pattern.
//
// This member is required.
RegexString *string
// A list of context words. If none of these context words are found within the
// vicinity of the regular expression the data will not be detected as sensitive
// data. If no context words are passed only a regular expression is checked.
ContextWords []string
noSmithyDocumentSerde
}
// The Database object represents a logical grouping of tables that might reside
// in a Hive metastore or an RDBMS.
type Database struct {
// The name of the database. For Hive compatibility, this is folded to lowercase
// when it is stored.
//
// This member is required.
Name *string
// The ID of the Data Catalog in which the database resides.
CatalogId *string
// Creates a set of default permissions on the table for principals. Used by Lake
// Formation. Not used in the normal course of Glue operations.
CreateTableDefaultPermissions []PrincipalPermissions
// The time at which the metadata database was created in the catalog.
CreateTime *time.Time
// A description of the database.
Description *string
// A FederatedDatabase structure that references an entity outside the Glue Data
// Catalog.
FederatedDatabase *FederatedDatabase
// The location of the database (for example, an HDFS path).
LocationUri *string
// These key-value pairs define parameters and properties of the database.
Parameters map[string]string
// A DatabaseIdentifier structure that describes a target database for resource
// linking.
TargetDatabase *DatabaseIdentifier
noSmithyDocumentSerde
}
// A structure that describes a target database for resource linking.
type DatabaseIdentifier struct {
// The ID of the Data Catalog in which the database resides.
CatalogId *string
// The name of the catalog database.
DatabaseName *string
// Region of the target database.
Region *string
noSmithyDocumentSerde
}
// The structure used to create or update a database.
type DatabaseInput struct {
// The name of the database. For Hive compatibility, this is folded to lowercase
// when it is stored.
//
// This member is required.
Name *string
// Creates a set of default permissions on the table for principals. Used by Lake
// Formation. Not used in the normal course of Glue operations.
CreateTableDefaultPermissions []PrincipalPermissions
// A description of the database.
Description *string
// A FederatedDatabase structure that references an entity outside the Glue Data
// Catalog.
FederatedDatabase *FederatedDatabase
// The location of the database (for example, an HDFS path).
LocationUri *string
// These key-value pairs define parameters and properties of the database. These
// key-value pairs define parameters and properties of the database.
Parameters map[string]string
// A DatabaseIdentifier structure that describes a target database for resource
// linking.
TargetDatabase *DatabaseIdentifier
noSmithyDocumentSerde
}
// Contains configuration information for maintaining Data Catalog security.
type DataCatalogEncryptionSettings struct {
// When connection password protection is enabled, the Data Catalog uses a
// customer-provided key to encrypt the password as part of CreateConnection or
// UpdateConnection and store it in the ENCRYPTED_PASSWORD field in the connection
// properties. You can enable catalog encryption or only password encryption.
ConnectionPasswordEncryption *ConnectionPasswordEncryption
// Specifies the encryption-at-rest configuration for the Data Catalog.
EncryptionAtRest *EncryptionAtRest
noSmithyDocumentSerde
}
// The Lake Formation principal.
type DataLakePrincipal struct {
// An identifier for the Lake Formation principal.
DataLakePrincipalIdentifier *string
noSmithyDocumentSerde
}
// Describes the result of the evaluation of a data quality analyzer.
type DataQualityAnalyzerResult struct {
// A description of the data quality analyzer.
Description *string
// A map of metrics associated with the evaluation of the analyzer.
EvaluatedMetrics map[string]float64
// An evaluation message.
EvaluationMessage *string
// The name of the data quality analyzer.
Name *string
noSmithyDocumentSerde
}
// Additional run options you can specify for an evaluation run.
type DataQualityEvaluationRunAdditionalRunOptions struct {
// Whether or not to enable CloudWatch metrics.
CloudWatchMetricsEnabled *bool
// Prefix for Amazon S3 to store results.
ResultsS3Prefix *string
noSmithyDocumentSerde
}
// Describes the data quality metric value according to the analysis of historical
// data.
type DataQualityMetricValues struct {
// The actual value of the data quality metric.
ActualValue *float64
// The expected value of the data quality metric according to the analysis of
// historical data.
ExpectedValue *float64
// The lower limit of the data quality metric value according to the analysis of
// historical data.
LowerLimit *float64
// The upper limit of the data quality metric value according to the analysis of
// historical data.
UpperLimit *float64
noSmithyDocumentSerde
}
// Describes the observation generated after evaluating the rules and analyzers.
type DataQualityObservation struct {
// A description of the data quality observation.
Description *string
// An object of type MetricBasedObservation representing the observation that is
// based on evaluated data quality metrics.
MetricBasedObservation *MetricBasedObservation
noSmithyDocumentSerde
}
// Describes a data quality result.
type DataQualityResult struct {
// A list of DataQualityAnalyzerResult objects representing the results for each
// analyzer.
AnalyzerResults []DataQualityAnalyzerResult
// The date and time when this data quality run completed.
CompletedOn *time.Time
// The table associated with the data quality result, if any.
DataSource *DataSource
// In the context of a job in Glue Studio, each node in the canvas is typically
// assigned some sort of name and data quality nodes will have names. In the case
// of multiple nodes, the evaluationContext can differentiate the nodes.
EvaluationContext *string
// The job name associated with the data quality result, if any.
JobName *string
// The job run ID associated with the data quality result, if any.
JobRunId *string
// A list of DataQualityObservation objects representing the observations
// generated after evaluating the rules and analyzers.
Observations []DataQualityObservation
// A unique result ID for the data quality result.
ResultId *string
// A list of DataQualityRuleResult objects representing the results for each rule.
RuleResults []DataQualityRuleResult
// The unique run ID for the ruleset evaluation for this data quality result.
RulesetEvaluationRunId *string
// The name of the ruleset associated with the data quality result.
RulesetName *string
// An aggregate data quality score. Represents the ratio of rules that passed to
// the total number of rules.
Score *float64
// The date and time when this data quality run started.
StartedOn *time.Time
noSmithyDocumentSerde
}
// Describes a data quality result.
type DataQualityResultDescription struct {
// The table name associated with the data quality result.
DataSource *DataSource
// The job name associated with the data quality result.
JobName *string
// The job run ID associated with the data quality result.
JobRunId *string
// The unique result ID for this data quality result.
ResultId *string
// The time that the run started for this data quality result.
StartedOn *time.Time
noSmithyDocumentSerde
}
// Criteria used to return data quality results.
type DataQualityResultFilterCriteria struct {
// Filter results by the specified data source. For example, retrieving all
// results for an Glue table.
DataSource *DataSource
// Filter results by the specified job name.
JobName *string
// Filter results by the specified job run ID.
JobRunId *string
// Filter results by runs that started after this time.
StartedAfter *time.Time
// Filter results by runs that started before this time.
StartedBefore *time.Time
noSmithyDocumentSerde
}
// Describes the result of a data quality rule recommendation run.
type DataQualityRuleRecommendationRunDescription struct {
// The data source (Glue table) associated with the recommendation run.
DataSource *DataSource
// The unique run identifier associated with this run.
RunId *string
// The date and time when this run started.
StartedOn *time.Time
// The status for this run.
Status TaskStatusType
noSmithyDocumentSerde
}
// A filter for listing data quality recommendation runs.
type DataQualityRuleRecommendationRunFilter struct {
// Filter based on a specified data source (Glue table).
//
// This member is required.
DataSource *DataSource
// Filter based on time for results started after provided time.
StartedAfter *time.Time
// Filter based on time for results started before provided time.
StartedBefore *time.Time
noSmithyDocumentSerde
}
// Describes the result of the evaluation of a data quality rule.
type DataQualityRuleResult struct {
// A description of the data quality rule.
Description *string
// A map of metrics associated with the evaluation of the rule.
EvaluatedMetrics map[string]float64
// An evaluation message.
EvaluationMessage *string
// The name of the data quality rule.
Name *string
// A pass or fail status for the rule.
Result DataQualityRuleResultStatus
noSmithyDocumentSerde
}
// Describes the result of a data quality ruleset evaluation run.
type DataQualityRulesetEvaluationRunDescription struct {
// The data source (an Glue table) associated with the run.
DataSource *DataSource
// The unique run identifier associated with this run.
RunId *string
// The date and time when the run started.
StartedOn *time.Time
// The status for this run.
Status TaskStatusType
noSmithyDocumentSerde
}
// The filter criteria.
type DataQualityRulesetEvaluationRunFilter struct {
// Filter based on a data source (an Glue table) associated with the run.
//
// This member is required.
DataSource *DataSource
// Filter results by runs that started after this time.
StartedAfter *time.Time
// Filter results by runs that started before this time.
StartedBefore *time.Time
noSmithyDocumentSerde
}
// The criteria used to filter data quality rulesets.
type DataQualityRulesetFilterCriteria struct {
// Filter on rulesets created after this date.
CreatedAfter *time.Time
// Filter on rulesets created before this date.
CreatedBefore *time.Time
// The description of the ruleset filter criteria.
Description *string
// Filter on rulesets last modified after this date.
LastModifiedAfter *time.Time
// Filter on rulesets last modified before this date.
LastModifiedBefore *time.Time
// The name of the ruleset filter criteria.
Name *string
// The name and database name of the target table.
TargetTable *DataQualityTargetTable
noSmithyDocumentSerde
}
// Describes a data quality ruleset returned by GetDataQualityRuleset .
type DataQualityRulesetListDetails struct {
// The date and time the data quality ruleset was created.
CreatedOn *time.Time
// A description of the data quality ruleset.
Description *string
// The date and time the data quality ruleset was last modified.
LastModifiedOn *time.Time
// The name of the data quality ruleset.
Name *string
// When a ruleset was created from a recommendation run, this run ID is generated
// to link the two together.
RecommendationRunId *string
// The number of rules in the ruleset.
RuleCount *int32
// An object representing an Glue table.
TargetTable *DataQualityTargetTable
noSmithyDocumentSerde
}
// An object representing an Glue table.
type DataQualityTargetTable struct {
// The name of the database where the Glue table exists.
//
// This member is required.
DatabaseName *string
// The name of the Glue table.
//
// This member is required.
TableName *string
// The catalog id where the Glue table exists.
CatalogId *string
noSmithyDocumentSerde
}
// A data source (an Glue table) for which you want data quality results.
type DataSource struct {
// An Glue table.
//
// This member is required.
GlueTable *GlueTable
noSmithyDocumentSerde
}
// A structure representing the datatype of the value.
type Datatype struct {
// The datatype of the value.
//
// This member is required.
Id *string
// A label assigned to the datatype.
//
// This member is required.
Label *string
noSmithyDocumentSerde
}
// Defines column statistics supported for timestamp data columns.
type DateColumnStatisticsData struct {
// The number of distinct values in a column.
//
// This member is required.
NumberOfDistinctValues int64
// The number of null values in the column.
//
// This member is required.
NumberOfNulls int64
// The highest value in the column.
MaximumValue *time.Time
// The lowest value in the column.
MinimumValue *time.Time
noSmithyDocumentSerde
}
// Defines column statistics supported for fixed-point number data columns.
type DecimalColumnStatisticsData struct {
// The number of distinct values in a column.
//
// This member is required.
NumberOfDistinctValues int64
// The number of null values in the column.
//
// This member is required.
NumberOfNulls int64
// The highest value in the column.
MaximumValue *DecimalNumber
// The lowest value in the column.
MinimumValue *DecimalNumber
noSmithyDocumentSerde
}
// Contains a numeric value in decimal format.
type DecimalNumber struct {
// The scale that determines where the decimal point falls in the unscaled value.
//
// This member is required.
Scale int32
// The unscaled numeric value.
//
// This member is required.
UnscaledValue []byte
noSmithyDocumentSerde
}
// Specifies a Delta data store to crawl one or more Delta tables.
type DeltaTarget struct {
// The name of the connection to use to connect to the Delta table target.
ConnectionName *string
// Specifies whether the crawler will create native tables, to allow integration
// with query engines that support querying of the Delta transaction log directly.
CreateNativeDeltaTable *bool
// A list of the Amazon S3 paths to the Delta tables.
DeltaTables []string
// Specifies whether to write the manifest files to the Delta table path.
WriteManifest *bool
noSmithyDocumentSerde
}
// A development endpoint where a developer can remotely debug extract, transform,
// and load (ETL) scripts.
type DevEndpoint struct {
// A map of arguments used to configure the DevEndpoint . Valid arguments are:
// - "--enable-glue-datacatalog": ""
// You can specify a version of Python support for development endpoints by using
// the Arguments parameter in the CreateDevEndpoint or UpdateDevEndpoint APIs. If
// no arguments are provided, the version defaults to Python 2.
Arguments map[string]string
// The Amazon Web Services Availability Zone where this DevEndpoint is located.
AvailabilityZone *string
// The point in time at which this DevEndpoint was created.
CreatedTimestamp *time.Time
// The name of the DevEndpoint .
EndpointName *string
// The path to one or more Java .jar files in an S3 bucket that should be loaded
// in your DevEndpoint . You can only use pure Java/Scala libraries with a
// DevEndpoint .
ExtraJarsS3Path *string
// The paths to one or more Python libraries in an Amazon S3 bucket that should be
// loaded in your DevEndpoint . Multiple values must be complete paths separated by
// a comma. You can only use pure Python libraries with a DevEndpoint . Libraries
// that rely on C extensions, such as the pandas (http://pandas.pydata.org/)
// Python data analysis library, are not currently supported.
ExtraPythonLibsS3Path *string
// The reason for a current failure in this DevEndpoint .
FailureReason *string
// Glue version determines the versions of Apache Spark and Python that Glue
// supports. The Python version indicates the version supported for running your
// ETL scripts on development endpoints. For more information about the available
// Glue versions and corresponding Spark and Python versions, see Glue version (https://docs.aws.amazon.com/glue/latest/dg/add-job.html)
// in the developer guide. Development endpoints that are created without
// specifying a Glue version default to Glue 0.9. You can specify a version of
// Python support for development endpoints by using the Arguments parameter in
// the CreateDevEndpoint or UpdateDevEndpoint APIs. If no arguments are provided,
// the version defaults to Python 2.
GlueVersion *string
// The point in time at which this DevEndpoint was last modified.
LastModifiedTimestamp *time.Time
// The status of the last update.
LastUpdateStatus *string
// The number of Glue Data Processing Units (DPUs) allocated to this DevEndpoint .
NumberOfNodes int32
// The number of workers of a defined workerType that are allocated to the
// development endpoint. The maximum number of workers you can define are 299 for
// G.1X , and 149 for G.2X .
NumberOfWorkers *int32
// A private IP address to access the DevEndpoint within a VPC if the DevEndpoint
// is created within one. The PrivateAddress field is present only when you create
// the DevEndpoint within your VPC.
PrivateAddress *string
// The public IP address used by this DevEndpoint . The PublicAddress field is
// present only when you create a non-virtual private cloud (VPC) DevEndpoint .
PublicAddress *string
// The public key to be used by this DevEndpoint for authentication. This
// attribute is provided for backward compatibility because the recommended
// attribute to use is public keys.
PublicKey *string
// A list of public keys to be used by the DevEndpoints for authentication. Using
// this attribute is preferred over a single public key because the public keys
// allow you to have a different private key per client. If you previously created
// an endpoint with a public key, you must remove that key to be able to set a list
// of public keys. Call the UpdateDevEndpoint API operation with the public key
// content in the deletePublicKeys attribute, and the list of new keys in the
// addPublicKeys attribute.
PublicKeys []string
// The Amazon Resource Name (ARN) of the IAM role used in this DevEndpoint .
RoleArn *string
// The name of the SecurityConfiguration structure to be used with this DevEndpoint
// .
SecurityConfiguration *string
// A list of security group identifiers used in this DevEndpoint .
SecurityGroupIds []string
// The current status of this DevEndpoint .
Status *string
// The subnet ID for this DevEndpoint .
SubnetId *string
// The ID of the virtual private cloud (VPC) used by this DevEndpoint .
VpcId *string
// The type of predefined worker that is allocated to the development endpoint.
// Accepts a value of Standard, G.1X, or G.2X.
// - For the Standard worker type, each worker provides 4 vCPU, 16 GB of memory
// and a 50GB disk, and 2 executors per worker.
// - For the G.1X worker type, each worker maps to 1 DPU (4 vCPU, 16 GB of
// memory, 64 GB disk), and provides 1 executor per worker. We recommend this
// worker type for memory-intensive jobs.
// - For the G.2X worker type, each worker maps to 2 DPU (8 vCPU, 32 GB of
// memory, 128 GB disk), and provides 1 executor per worker. We recommend this
// worker type for memory-intensive jobs.
// Known issue: when a development endpoint is created with the G.2X WorkerType
// configuration, the Spark drivers for the development endpoint will run on 4
// vCPU, 16 GB of memory, and a 64 GB disk.
WorkerType WorkerType
// The YARN endpoint address used by this DevEndpoint .
YarnEndpointAddress *string
// The Apache Zeppelin port for the remote Apache Spark interpreter.
ZeppelinRemoteSparkInterpreterPort int32
noSmithyDocumentSerde
}
// Custom libraries to be loaded into a development endpoint.
type DevEndpointCustomLibraries struct {
// The path to one or more Java .jar files in an S3 bucket that should be loaded
// in your DevEndpoint . You can only use pure Java/Scala libraries with a
// DevEndpoint .
ExtraJarsS3Path *string
// The paths to one or more Python libraries in an Amazon Simple Storage Service
// (Amazon S3) bucket that should be loaded in your DevEndpoint . Multiple values
// must be complete paths separated by a comma. You can only use pure Python
// libraries with a DevEndpoint . Libraries that rely on C extensions, such as the
// pandas (http://pandas.pydata.org/) Python data analysis library, are not
// currently supported.
ExtraPythonLibsS3Path *string
noSmithyDocumentSerde
}
// Specifies the direct JDBC source connection.
type DirectJDBCSource struct {
// The connection name of the JDBC source.
//
// This member is required.
ConnectionName *string
// The connection type of the JDBC source.
//
// This member is required.
ConnectionType JDBCConnectionType
// The database of the JDBC source connection.
//
// This member is required.
Database *string
// The name of the JDBC source connection.
//
// This member is required.
Name *string
// The table of the JDBC source connection.
//
// This member is required.
Table *string
// The temp directory of the JDBC Redshift source.
RedshiftTmpDir *string
noSmithyDocumentSerde
}
// Specifies an Apache Kafka data store.
type DirectKafkaSource struct {
// The name of the data store.
//
// This member is required.
Name *string
// Specifies options related to data preview for viewing a sample of your data.
DataPreviewOptions *StreamingDataPreviewOptions
// Whether to automatically determine the schema from the incoming data.
DetectSchema *bool
// Specifies the streaming options.
StreamingOptions *KafkaStreamingSourceOptions
// The amount of time to spend processing each micro batch.
WindowSize *int32
noSmithyDocumentSerde
}
// Specifies a direct Amazon Kinesis data source.
type DirectKinesisSource struct {
// The name of the data source.
//
// This member is required.
Name *string
// Additional options for data preview.
DataPreviewOptions *StreamingDataPreviewOptions
// Whether to automatically determine the schema from the incoming data.
DetectSchema *bool
// Additional options for the Kinesis streaming data source.
StreamingOptions *KinesisStreamingSourceOptions
// The amount of time to spend processing each micro batch.
WindowSize *int32
noSmithyDocumentSerde
}
// A policy that specifies update behavior for the crawler.
type DirectSchemaChangePolicy struct {
// Specifies the database that the schema change policy applies to.
Database *string
// Whether to use the specified update behavior when the crawler finds a changed
// schema.
EnableUpdateCatalog *bool
// Specifies the table in the database that the schema change policy applies to.
Table *string
// The update behavior when the crawler finds a changed schema.
UpdateBehavior UpdateCatalogBehavior
noSmithyDocumentSerde
}
// Defines column statistics supported for floating-point number data columns.
type DoubleColumnStatisticsData struct {
// The number of distinct values in a column.
//
// This member is required.
NumberOfDistinctValues int64
// The number of null values in the column.
//
// This member is required.
NumberOfNulls int64
// The highest value in the column.
MaximumValue float64
// The lowest value in the column.
MinimumValue float64
noSmithyDocumentSerde
}
// Options to configure how your data quality evaluation results are published.
type DQResultsPublishingOptions struct {
// Enable metrics for your data quality results.
CloudWatchMetricsEnabled *bool
// The context of the evaluation.
EvaluationContext *string
// Enable publishing for your data quality results.
ResultsPublishingEnabled *bool
// The Amazon S3 prefix prepended to the results.
ResultsS3Prefix *string
noSmithyDocumentSerde
}
// Options to configure how your job will stop if your data quality evaluation
// fails.
type DQStopJobOnFailureOptions struct {
// When to stop job if your data quality evaluation fails. Options are Immediate
// or AfterDataLoad.
StopJobOnFailureTiming DQStopJobOnFailureTiming
noSmithyDocumentSerde
}
// Specifies a transform that removes rows of repeating data from a data set.
type DropDuplicates struct {
// The data inputs identified by their node names.
//
// This member is required.
Inputs []string
// The name of the transform node.
//
// This member is required.
Name *string
// The name of the columns to be merged or removed if repeating.
Columns [][]string
noSmithyDocumentSerde
}
// Specifies a transform that chooses the data property keys that you want to drop.
type DropFields struct {
// The data inputs identified by their node names.
//
// This member is required.
Inputs []string
// The name of the transform node.
//
// This member is required.
Name *string
// A JSON path to a variable in the data structure.
//
// This member is required.
Paths [][]string
noSmithyDocumentSerde
}
// Specifies a transform that removes columns from the dataset if all values in
// the column are 'null'. By default, Glue Studio will recognize null objects, but
// some values such as empty strings, strings that are "null", -1 integers or other
// placeholders such as zeros, are not automatically recognized as nulls.
type DropNullFields struct {
// The data inputs identified by their node names.
//
// This member is required.
Inputs []string
// The name of the transform node.
//
// This member is required.
Name *string
// A structure that represents whether certain values are recognized as null
// values for removal.
NullCheckBoxList *NullCheckBoxList
// A structure that specifies a list of NullValueField structures that represent a
// custom null value such as zero or other value being used as a null placeholder
// unique to the dataset. The DropNullFields transform removes custom null values
// only if both the value of the null placeholder and the datatype match the data.
NullTextList []NullValueField
noSmithyDocumentSerde
}
// Specifies the set of parameters needed to perform the dynamic transform.
type DynamicTransform struct {
// Specifies the name of the function of the dynamic transform.
//
// This member is required.
FunctionName *string
// Specifies the inputs for the dynamic transform that are required.
//
// This member is required.
Inputs []string
// Specifies the name of the dynamic transform.
//
// This member is required.
Name *string
// Specifies the path of the dynamic transform source and config files.
//
// This member is required.
Path *string
// Specifies the name of the dynamic transform as it appears in the Glue Studio
// visual editor.
//
// This member is required.
TransformName *string
// Specifies the data schema for the dynamic transform.
OutputSchemas []GlueSchema
// Specifies the parameters of the dynamic transform.
Parameters []TransformConfigParameter
// This field is not used and will be deprecated in future release.
Version *string
noSmithyDocumentSerde
}
// Specifies a DynamoDB data source in the Glue Data Catalog.
type DynamoDBCatalogSource struct {
// The name of the database to read from.
//
// This member is required.
Database *string
// The name of the data source.
//
// This member is required.
Name *string
// The name of the table in the database to read from.
//
// This member is required.
Table *string
noSmithyDocumentSerde
}
// Specifies an Amazon DynamoDB table to crawl.
type DynamoDBTarget struct {
// The name of the DynamoDB table to crawl.
Path *string
// Indicates whether to scan all the records, or to sample rows from the table.
// Scanning all the records can take a long time when the table is not a high
// throughput table. A value of true means to scan all records, while a value of
// false means to sample the records. If no value is specified, the value defaults
// to true .
ScanAll *bool
// The percentage of the configured read capacity units to use by the Glue
// crawler. Read capacity units is a term defined by DynamoDB, and is a numeric
// value that acts as rate limiter for the number of reads that can be performed on
// that table per second. The valid values are null or a value between 0.1 to 1.5.
// A null value is used when user does not provide a value, and defaults to 0.5 of
// the configured Read Capacity Unit (for provisioned tables), or 0.25 of the max
// configured Read Capacity Unit (for tables using on-demand mode).
ScanRate *float64
noSmithyDocumentSerde
}
// An edge represents a directed connection between two Glue components that are
// part of the workflow the edge belongs to.
type Edge struct {
// The unique of the node within the workflow where the edge ends.
DestinationId *string
// The unique of the node within the workflow where the edge starts.
SourceId *string
noSmithyDocumentSerde
}
// Specifies the encryption-at-rest configuration for the Data Catalog.
type EncryptionAtRest struct {
// The encryption-at-rest mode for encrypting Data Catalog data.
//
// This member is required.
CatalogEncryptionMode CatalogEncryptionMode
// The ID of the KMS key to use for encryption at rest.
SseAwsKmsKeyId *string
noSmithyDocumentSerde
}
// Specifies an encryption configuration.
type EncryptionConfiguration struct {
// The encryption configuration for Amazon CloudWatch.
CloudWatchEncryption *CloudWatchEncryption
// The encryption configuration for job bookmarks.
JobBookmarksEncryption *JobBookmarksEncryption
// The encryption configuration for Amazon Simple Storage Service (Amazon S3) data.
S3Encryption []S3Encryption
noSmithyDocumentSerde
}
// Contains details about an error.
type ErrorDetail struct {
// The code associated with this error.
ErrorCode *string
// A message describing the error.
ErrorMessage *string
noSmithyDocumentSerde
}
// An object containing error details.
type ErrorDetails struct {
// The error code for an error.
ErrorCode *string
// The error message for an error.
ErrorMessage *string
noSmithyDocumentSerde
}
// Specifies your data quality evaluation criteria.
type EvaluateDataQuality struct {
// The inputs of your data quality evaluation.
//
// This member is required.
Inputs []string
// The name of the data quality evaluation.
//
// This member is required.
Name *string
// The ruleset for your data quality evaluation.
//
// This member is required.
Ruleset *string
// The output of your data quality evaluation.
Output DQTransformOutput
// Options to configure how your results are published.
PublishingOptions *DQResultsPublishingOptions
// Options to configure how your job will stop if your data quality evaluation
// fails.
StopJobOnFailureOptions *DQStopJobOnFailureOptions
noSmithyDocumentSerde
}
// Specifies your data quality evaluation criteria.
type EvaluateDataQualityMultiFrame struct {
// The inputs of your data quality evaluation. The first input in this list is the
// primary data source.
//
// This member is required.
Inputs []string
// The name of the data quality evaluation.
//
// This member is required.
Name *string
// The ruleset for your data quality evaluation.
//
// This member is required.
Ruleset *string
// The aliases of all data sources except primary.
AdditionalDataSources map[string]string
// Options to configure runtime behavior of the transform.
AdditionalOptions map[string]string
// Options to configure how your results are published.
PublishingOptions *DQResultsPublishingOptions
// Options to configure how your job will stop if your data quality evaluation
// fails.
StopJobOnFailureOptions *DQStopJobOnFailureOptions
noSmithyDocumentSerde
}
// Evaluation metrics provide an estimate of the quality of your machine learning
// transform.
type EvaluationMetrics struct {
// The type of machine learning transform.
//
// This member is required.
TransformType TransformType
// The evaluation metrics for the find matches algorithm.
FindMatchesMetrics *FindMatchesMetrics
noSmithyDocumentSerde
}
// Batch condition that must be met (specified number of events received or batch
// time window expired) before EventBridge event trigger fires.
type EventBatchingCondition struct {
// Number of events that must be received from Amazon EventBridge before
// EventBridge event trigger fires.
//
// This member is required.
BatchSize *int32
// Window of time in seconds after which EventBridge event trigger fires. Window
// starts when first event is received.
BatchWindow *int32
noSmithyDocumentSerde
}
// An execution property of a job.
type ExecutionProperty struct {
// The maximum number of concurrent runs allowed for the job. The default is 1. An
// error is returned when this threshold is reached. The maximum value you can
// specify is controlled by a service limit.
MaxConcurrentRuns int32
noSmithyDocumentSerde
}
// Specifies configuration properties for an exporting labels task run.
type ExportLabelsTaskRunProperties struct {
// The Amazon Simple Storage Service (Amazon S3) path where you will export the
// labels.
OutputS3Path *string
noSmithyDocumentSerde
}
// A database that points to an entity outside the Glue Data Catalog.
type FederatedDatabase struct {
// The name of the connection to the external metastore.
ConnectionName *string
// A unique identifier for the federated database.
Identifier *string
noSmithyDocumentSerde
}
// A table that points to an entity outside the Glue Data Catalog.
type FederatedTable struct {
// The name of the connection to the external metastore.
ConnectionName *string
// A unique identifier for the federated database.
DatabaseIdentifier *string
// A unique identifier for the federated table.
Identifier *string
noSmithyDocumentSerde
}
// Specifies a transform that locates records in the dataset that have missing
// values and adds a new field with a value determined by imputation. The input
// data set is used to train the machine learning model that determines what the
// missing value should be.
type FillMissingValues struct {
// A JSON path to a variable in the data structure for the dataset that is imputed.
//
// This member is required.
ImputedPath *string
// The data inputs identified by their node names.
//
// This member is required.
Inputs []string
// The name of the transform node.
//
// This member is required.
Name *string
// A JSON path to a variable in the data structure for the dataset that is filled.
FilledPath *string
noSmithyDocumentSerde
}
// Specifies a transform that splits a dataset into two, based on a filter
// condition.
type Filter struct {
// Specifies a filter expression.
//
// This member is required.
Filters []FilterExpression
// The data inputs identified by their node names.
//
// This member is required.
Inputs []string
// The operator used to filter rows by comparing the key value to a specified
// value.
//
// This member is required.
LogicalOperator FilterLogicalOperator
// The name of the transform node.
//
// This member is required.
Name *string
noSmithyDocumentSerde
}
// Specifies a filter expression.
type FilterExpression struct {
// The type of operation to perform in the expression.
//
// This member is required.
Operation FilterOperation
// A list of filter values.
//
// This member is required.
Values []FilterValue
// Whether the expression is to be negated.
Negated *bool
noSmithyDocumentSerde
}
// Represents a single entry in the list of values for a FilterExpression .
type FilterValue struct {
// The type of filter value.
//
// This member is required.
Type FilterValueType
// The value to be associated.
//
// This member is required.
Value []string
noSmithyDocumentSerde
}
// The evaluation metrics for the find matches algorithm. The quality of your
// machine learning transform is measured by getting your transform to predict some
// matches and comparing the results to known matches from the same dataset. The
// quality metrics are based on a subset of your data, so they are not precise.
type FindMatchesMetrics struct {
// The area under the precision/recall curve (AUPRC) is a single number measuring
// the overall quality of the transform, that is independent of the choice made for
// precision vs. recall. Higher values indicate that you have a more attractive
// precision vs. recall tradeoff. For more information, see Precision and recall (https://en.wikipedia.org/wiki/Precision_and_recall)
// in Wikipedia.
AreaUnderPRCurve *float64
// A list of ColumnImportance structures containing column importance metrics,
// sorted in order of descending importance.
ColumnImportances []ColumnImportance
// The confusion matrix shows you what your transform is predicting accurately and
// what types of errors it is making. For more information, see Confusion matrix (https://en.wikipedia.org/wiki/Confusion_matrix)
// in Wikipedia.
ConfusionMatrix *ConfusionMatrix
// The maximum F1 metric indicates the transform's accuracy between 0 and 1, where
// 1 is the best accuracy. For more information, see F1 score (https://en.wikipedia.org/wiki/F1_score)
// in Wikipedia.
F1 *float64
// The precision metric indicates when often your transform is correct when it
// predicts a match. Specifically, it measures how well the transform finds true
// positives from the total true positives possible. For more information, see
// Precision and recall (https://en.wikipedia.org/wiki/Precision_and_recall) in
// Wikipedia.
Precision *float64
// The recall metric indicates that for an actual match, how often your transform
// predicts the match. Specifically, it measures how well the transform finds true
// positives from the total records in the source data. For more information, see
// Precision and recall (https://en.wikipedia.org/wiki/Precision_and_recall) in
// Wikipedia.
Recall *float64
noSmithyDocumentSerde
}
// The parameters to configure the find matches transform.
type FindMatchesParameters struct {
// The value that is selected when tuning your transform for a balance between
// accuracy and cost. A value of 0.5 means that the system balances accuracy and
// cost concerns. A value of 1.0 means a bias purely for accuracy, which typically
// results in a higher cost, sometimes substantially higher. A value of 0.0 means a
// bias purely for cost, which results in a less accurate FindMatches transform,
// sometimes with unacceptable accuracy. Accuracy measures how well the transform
// finds true positives and true negatives. Increasing accuracy requires more
// machine resources and cost. But it also results in increased recall. Cost
// measures how many compute resources, and thus money, are consumed to run the
// transform.
AccuracyCostTradeoff *float64
// The value to switch on or off to force the output to match the provided labels
// from users. If the value is True , the find matches transform forces the output
// to match the provided labels. The results override the normal conflation
// results. If the value is False , the find matches transform does not ensure all
// the labels provided are respected, and the results rely on the trained model.
// Note that setting this value to true may increase the conflation execution time.
EnforceProvidedLabels *bool
// The value selected when tuning your transform for a balance between precision
// and recall. A value of 0.5 means no preference; a value of 1.0 means a bias
// purely for precision, and a value of 0.0 means a bias for recall. Because this
// is a tradeoff, choosing values close to 1.0 means very low recall, and choosing
// values close to 0.0 results in very low precision. The precision metric
// indicates how often your model is correct when it predicts a match. The recall
// metric indicates that for an actual match, how often your model predicts the
// match.
PrecisionRecallTradeoff *float64
// The name of a column that uniquely identifies rows in the source table. Used to
// help identify matching records.
PrimaryKeyColumnName *string
noSmithyDocumentSerde
}
// Specifies configuration properties for a Find Matches task run.
type FindMatchesTaskRunProperties struct {
// The job ID for the Find Matches task run.
JobId *string
// The name assigned to the job for the Find Matches task run.
JobName *string
// The job run ID for the Find Matches task run.
JobRunId *string
noSmithyDocumentSerde
}
// Filters the connection definitions that are returned by the GetConnections API
// operation.
type GetConnectionsFilter struct {
// The type of connections to return. Currently, SFTP is not supported.
ConnectionType ConnectionType
// A criteria string that must match the criteria recorded in the connection
// definition for that connection definition to be returned.
MatchCriteria []string
noSmithyDocumentSerde
}
// A structure for returning a resource policy.
type GluePolicy struct {
// The date and time at which the policy was created.
CreateTime *time.Time
// Contains the hash value associated with this policy.
PolicyHash *string
// Contains the requested policy document, in JSON format.
PolicyInJson *string
// The date and time at which the policy was last updated.
UpdateTime *time.Time
noSmithyDocumentSerde
}
// Specifies a user-defined schema when a schema cannot be determined by Glue.
type GlueSchema struct {
// Specifies the column definitions that make up a Glue schema.
Columns []GlueStudioSchemaColumn
noSmithyDocumentSerde
}
// Specifies a single column in a Glue schema definition.
type GlueStudioSchemaColumn struct {
// The name of the column in the Glue Studio schema.
//
// This member is required.
Name *string
// The hive type for this column in the Glue Studio schema.
Type *string
noSmithyDocumentSerde
}
// The database and table in the Glue Data Catalog that is used for input or
// output data.
type GlueTable struct {
// A database name in the Glue Data Catalog.
//
// This member is required.
DatabaseName *string
// A table name in the Glue Data Catalog.
//
// This member is required.
TableName *string
// Additional options for the table. Currently there are two keys supported:
// - pushDownPredicate : to filter on partitions without having to list and read
// all the files in your dataset.
// - catalogPartitionPredicate : to use server-side partition pruning using
// partition indexes in the Glue Data Catalog.
AdditionalOptions map[string]string
// A unique identifier for the Glue Data Catalog.
CatalogId *string
// The name of the connection to the Glue Data Catalog.
ConnectionName *string
noSmithyDocumentSerde
}
// Specifies the data store in the governed Glue Data Catalog.
type GovernedCatalogSource struct {
// The database to read from.
//
// This member is required.
Database *string
// The name of the data store.
//
// This member is required.
Name *string
// The database table to read from.
//
// This member is required.
Table *string
// Specifies additional connection options.
AdditionalOptions *S3SourceAdditionalOptions
// Partitions satisfying this predicate are deleted. Files within the retention
// period in these partitions are not deleted. Set to "" – empty by default.
PartitionPredicate *string
noSmithyDocumentSerde
}
// Specifies a data target that writes to Amazon S3 using the Glue Data Catalog.
type GovernedCatalogTarget struct {
// The name of the database to write to.
//
// This member is required.
Database *string
// The nodes that are inputs to the data target.
//
// This member is required.
Inputs []string
// The name of the data target.
//
// This member is required.
Name *string
// The name of the table in the database to write to.
//
// This member is required.
Table *string
// Specifies native partitioning using a sequence of keys.
PartitionKeys [][]string
// A policy that specifies update behavior for the governed catalog.
SchemaChangePolicy *CatalogSchemaChangePolicy
noSmithyDocumentSerde
}
// A classifier that uses grok patterns.
type GrokClassifier struct {
// An identifier of the data format that the classifier matches, such as Twitter,
// JSON, Omniture logs, and so on.
//
// This member is required.
Classification *string
// The grok pattern applied to a data store by this classifier. For more
// information, see built-in patterns in Writing Custom Classifiers (https://docs.aws.amazon.com/glue/latest/dg/custom-classifier.html)
// .
//
// This member is required.
GrokPattern *string
// The name of the classifier.
//
// This member is required.
Name *string
// The time that this classifier was registered.
CreationTime *time.Time
// Optional custom grok patterns defined by this classifier. For more information,
// see custom patterns in Writing Custom Classifiers (https://docs.aws.amazon.com/glue/latest/dg/custom-classifier.html)
// .
CustomPatterns *string
// The time that this classifier was last updated.
LastUpdated *time.Time
// The version of this classifier.
Version int64
noSmithyDocumentSerde
}
// Specifies an Apache Hudi data source.
type HudiTarget struct {
// The name of the connection to use to connect to the Hudi target. If your Hudi
// files are stored in buckets that require VPC authorization, you can set their
// connection properties here.
ConnectionName *string
// A list of glob patterns used to exclude from the crawl. For more information,
// see Catalog Tables with a Crawler (https://docs.aws.amazon.com/glue/latest/dg/add-crawler.html)
// .
Exclusions []string
// The maximum depth of Amazon S3 paths that the crawler can traverse to discover
// the Hudi metadata folder in your Amazon S3 path. Used to limit the crawler run
// time.
MaximumTraversalDepth *int32
// An array of Amazon S3 location strings for Hudi, each indicating the root
// folder with which the metadata files for a Hudi table resides. The Hudi folder
// may be located in a child folder of the root folder. The crawler will scan all
// folders underneath a path for a Hudi folder.
Paths []string
noSmithyDocumentSerde
}
// A structure that defines an Apache Iceberg metadata table to create in the
// catalog.
type IcebergInput struct {
// A required metadata operation. Can only be set to CREATE .
//
// This member is required.
MetadataOperation MetadataOperation
// The table version for the Iceberg table. Defaults to 2.
Version *string
noSmithyDocumentSerde
}
// Specifies an Apache Iceberg data source where Iceberg tables are stored in
// Amazon S3.
type IcebergTarget struct {
// The name of the connection to use to connect to the Iceberg target.
ConnectionName *string
// A list of glob patterns used to exclude from the crawl. For more information,
// see Catalog Tables with a Crawler (https://docs.aws.amazon.com/glue/latest/dg/add-crawler.html)
// .
Exclusions []string
// The maximum depth of Amazon S3 paths that the crawler can traverse to discover
// the Iceberg metadata folder in your Amazon S3 path. Used to limit the crawler
// run time.
MaximumTraversalDepth *int32
// One or more Amazon S3 paths that contains Iceberg metadata folders as
// s3://bucket/prefix .
Paths []string
noSmithyDocumentSerde
}
// Specifies configuration properties for an importing labels task run.
type ImportLabelsTaskRunProperties struct {
// The Amazon Simple Storage Service (Amazon S3) path from where you will import
// the labels.
InputS3Path *string
// Indicates whether to overwrite your existing labels.
Replace bool
noSmithyDocumentSerde
}
// Additional connection options for the connector.
type JDBCConnectorOptions struct {
// Custom data type mapping that builds a mapping from a JDBC data type to an Glue
// data type. For example, the option "dataTypeMapping":{"FLOAT":"STRING"} maps
// data fields of JDBC type FLOAT into the Java String type by calling the
// ResultSet.getString() method of the driver, and uses it to build the Glue
// record. The ResultSet object is implemented by each driver, so the behavior is
// specific to the driver you use. Refer to the documentation for your JDBC driver
// to understand how the driver performs the conversions.
DataTypeMapping map[string]GlueRecordType
// Extra condition clause to filter data from source. For example:
// BillingCity='Mountain View' When using a query instead of a table name, you
// should validate that the query works with the specified filterPredicate .
FilterPredicate *string
// The name of the job bookmark keys on which to sort.
JobBookmarkKeys []string
// Specifies an ascending or descending sort order.
JobBookmarkKeysSortOrder *string
// The minimum value of partitionColumn that is used to decide partition stride.
LowerBound *int64
// The number of partitions. This value, along with lowerBound (inclusive) and
// upperBound (exclusive), form partition strides for generated WHERE clause
// expressions that are used to split the partitionColumn .
NumPartitions *int64
// The name of an integer column that is used for partitioning. This option works
// only when it's included with lowerBound , upperBound , and numPartitions . This
// option works the same way as in the Spark SQL JDBC reader.
PartitionColumn *string
// The maximum value of partitionColumn that is used to decide partition stride.
UpperBound *int64
noSmithyDocumentSerde
}
// Specifies a connector to a JDBC data source.
type JDBCConnectorSource struct {
// The name of the connection that is associated with the connector.
//
// This member is required.
ConnectionName *string
// The type of connection, such as marketplace.jdbc or custom.jdbc, designating a
// connection to a JDBC data store.
//
// This member is required.
ConnectionType *string
// The name of a connector that assists with accessing the data store in Glue
// Studio.
//
// This member is required.
ConnectorName *string
// The name of the data source.
//
// This member is required.
Name *string
// Additional connection options for the connector.
AdditionalOptions *JDBCConnectorOptions
// The name of the table in the data source.
ConnectionTable *string
// Specifies the data schema for the custom JDBC source.
OutputSchemas []GlueSchema
// The table or SQL query to get the data from. You can specify either
// ConnectionTable or query , but not both.
Query *string
noSmithyDocumentSerde
}
// Specifies a data target that writes to Amazon S3 in Apache Parquet columnar
// storage.
type JDBCConnectorTarget struct {
// The name of the connection that is associated with the connector.
//
// This member is required.
ConnectionName *string
// The name of the table in the data target.
//
// This member is required.
ConnectionTable *string
// The type of connection, such as marketplace.jdbc or custom.jdbc, designating a
// connection to a JDBC data target.
//
// This member is required.
ConnectionType *string
// The name of a connector that will be used.
//
// This member is required.
ConnectorName *string
// The nodes that are inputs to the data target.
//
// This member is required.
Inputs []string
// The name of the data target.
//
// This member is required.
Name *string
// Additional connection options for the connector.
AdditionalOptions map[string]string
// Specifies the data schema for the JDBC target.
OutputSchemas []GlueSchema
noSmithyDocumentSerde
}
// Specifies a JDBC data store to crawl.
type JdbcTarget struct {
// The name of the connection to use to connect to the JDBC target.
ConnectionName *string
// Specify a value of RAWTYPES or COMMENTS to enable additional metadata in table
// responses. RAWTYPES provides the native-level datatype. COMMENTS provides
// comments associated with a column or table in the database. If you do not need
// additional metadata, keep the field empty.
EnableAdditionalMetadata []JdbcMetadataEntry
// A list of glob patterns used to exclude from the crawl. For more information,
// see Catalog Tables with a Crawler (https://docs.aws.amazon.com/glue/latest/dg/add-crawler.html)
// .
Exclusions []string
// The path of the JDBC target.
Path *string
noSmithyDocumentSerde
}
// Specifies a job definition.
type Job struct {
// This field is deprecated. Use MaxCapacity instead. The number of Glue data
// processing units (DPUs) allocated to runs of this job. You can allocate a
// minimum of 2 DPUs; the default is 10. A DPU is a relative measure of processing
// power that consists of 4 vCPUs of compute capacity and 16 GB of memory. For more
// information, see the Glue pricing page (https://aws.amazon.com/glue/pricing/) .
//
// Deprecated: This property is deprecated, use MaxCapacity instead.
AllocatedCapacity int32
// The representation of a directed acyclic graph on which both the Glue Studio
// visual component and Glue Studio code generation is based.
CodeGenConfigurationNodes map[string]CodeGenConfigurationNode
// The JobCommand that runs this job.
Command *JobCommand
// The connections used for this job.
Connections *ConnectionsList
// The time and date that this job definition was created.
CreatedOn *time.Time
// The default arguments for every run of this job, specified as name-value pairs.
// You can specify arguments here that your own job-execution script consumes, as
// well as arguments that Glue itself consumes. Job arguments may be logged. Do not
// pass plaintext secrets as arguments. Retrieve secrets from a Glue Connection,
// Secrets Manager or other secret management mechanism if you intend to keep them
// within the Job. For information about how to specify and consume your own Job
// arguments, see the Calling Glue APIs in Python (https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-python-calling.html)
// topic in the developer guide. For information about the arguments you can
// provide to this field when configuring Spark jobs, see the Special Parameters
// Used by Glue (https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-etl-glue-arguments.html)
// topic in the developer guide. For information about the arguments you can
// provide to this field when configuring Ray jobs, see Using job parameters in
// Ray jobs (https://docs.aws.amazon.com/glue/latest/dg/author-job-ray-job-parameters.html)
// in the developer guide.
DefaultArguments map[string]string
// A description of the job.
Description *string
// Indicates whether the job is run with a standard or flexible execution class.
// The standard execution class is ideal for time-sensitive workloads that require
// fast job startup and dedicated resources. The flexible execution class is
// appropriate for time-insensitive jobs whose start and completion times may vary.
// Only jobs with Glue version 3.0 and above and command type glueetl will be
// allowed to set ExecutionClass to FLEX . The flexible execution class is
// available for Spark jobs.
ExecutionClass ExecutionClass
// An ExecutionProperty specifying the maximum number of concurrent runs allowed
// for this job.
ExecutionProperty *ExecutionProperty
// In Spark jobs, GlueVersion determines the versions of Apache Spark and Python
// that Glue available in a job. The Python version indicates the version supported
// for jobs of type Spark. Ray jobs should set GlueVersion to 4.0 or greater.
// However, the versions of Ray, Python and additional libraries available in your
// Ray job are determined by the Runtime parameter of the Job command. For more
// information about the available Glue versions and corresponding Spark and Python
// versions, see Glue version (https://docs.aws.amazon.com/glue/latest/dg/add-job.html)
// in the developer guide. Jobs that are created without specifying a Glue version
// default to Glue 0.9.
GlueVersion *string
// The last point in time when this job definition was modified.
LastModifiedOn *time.Time
// This field is reserved for future use.
LogUri *string
// For Glue version 1.0 or earlier jobs, using the standard worker type, the
// number of Glue data processing units (DPUs) that can be allocated when this job
// runs. A DPU is a relative measure of processing power that consists of 4 vCPUs
// of compute capacity and 16 GB of memory. For more information, see the Glue
// pricing page (https://aws.amazon.com/glue/pricing/) . For Glue version 2.0 or
// later jobs, you cannot specify a Maximum capacity . Instead, you should specify
// a Worker type and the Number of workers . Do not set MaxCapacity if using
// WorkerType and NumberOfWorkers . The value that can be allocated for MaxCapacity
// depends on whether you are running a Python shell job, an Apache Spark ETL job,
// or an Apache Spark streaming ETL job:
// - When you specify a Python shell job ( JobCommand.Name ="pythonshell"), you
// can allocate either 0.0625 or 1 DPU. The default is 0.0625 DPU.
// - When you specify an Apache Spark ETL job ( JobCommand.Name ="glueetl") or
// Apache Spark streaming ETL job ( JobCommand.Name ="gluestreaming"), you can
// allocate from 2 to 100 DPUs. The default is 10 DPUs. This job type cannot have a
// fractional DPU allocation.
MaxCapacity *float64
// The maximum number of times to retry this job after a JobRun fails.
MaxRetries int32
// The name you assign to this job definition.
Name *string
// Arguments for this job that are not overridden when providing job arguments in
// a job run, specified as name-value pairs.
NonOverridableArguments map[string]string
// Specifies configuration properties of a job notification.
NotificationProperty *NotificationProperty
// The number of workers of a defined workerType that are allocated when a job
// runs.
NumberOfWorkers *int32
// The name or Amazon Resource Name (ARN) of the IAM role associated with this job.
Role *string
// The name of the SecurityConfiguration structure to be used with this job.
SecurityConfiguration *string
// The details for a source control configuration for a job, allowing
// synchronization of job artifacts to or from a remote repository.
SourceControlDetails *SourceControlDetails
// The job timeout in minutes. This is the maximum time that a job run can consume
// resources before it is terminated and enters TIMEOUT status. The default is
// 2,880 minutes (48 hours).
Timeout *int32
// The type of predefined worker that is allocated when a job runs. Accepts a
// value of G.1X, G.2X, G.4X, G.8X or G.025X for Spark jobs. Accepts the value Z.2X
// for Ray jobs.
// - For the G.1X worker type, each worker maps to 1 DPU (4 vCPUs, 16 GB of
// memory) with 84GB disk (approximately 34GB free), and provides 1 executor per
// worker. We recommend this worker type for workloads such as data transforms,
// joins, and queries, to offers a scalable and cost effective way to run most
// jobs.
// - For the G.2X worker type, each worker maps to 2 DPU (8 vCPUs, 32 GB of
// memory) with 128GB disk (approximately 77GB free), and provides 1 executor per
// worker. We recommend this worker type for workloads such as data transforms,
// joins, and queries, to offers a scalable and cost effective way to run most
// jobs.
// - For the G.4X worker type, each worker maps to 4 DPU (16 vCPUs, 64 GB of
// memory) with 256GB disk (approximately 235GB free), and provides 1 executor per
// worker. We recommend this worker type for jobs whose workloads contain your most
// demanding transforms, aggregations, joins, and queries. This worker type is
// available only for Glue version 3.0 or later Spark ETL jobs in the following
// Amazon Web Services Regions: US East (Ohio), US East (N. Virginia), US West
// (Oregon), Asia Pacific (Singapore), Asia Pacific (Sydney), Asia Pacific (Tokyo),
// Canada (Central), Europe (Frankfurt), Europe (Ireland), and Europe (Stockholm).
// - For the G.8X worker type, each worker maps to 8 DPU (32 vCPUs, 128 GB of
// memory) with 512GB disk (approximately 487GB free), and provides 1 executor per
// worker. We recommend this worker type for jobs whose workloads contain your most
// demanding transforms, aggregations, joins, and queries. This worker type is
// available only for Glue version 3.0 or later Spark ETL jobs, in the same Amazon
// Web Services Regions as supported for the G.4X worker type.
// - For the G.025X worker type, each worker maps to 0.25 DPU (2 vCPUs, 4 GB of
// memory) with 84GB disk (approximately 34GB free), and provides 1 executor per
// worker. We recommend this worker type for low volume streaming jobs. This worker
// type is only available for Glue version 3.0 streaming jobs.
// - For the Z.2X worker type, each worker maps to 2 M-DPU (8vCPUs, 64 GB of
// memory) with 128 GB disk (approximately 120GB free), and provides up to 8 Ray
// workers based on the autoscaler.
WorkerType WorkerType
noSmithyDocumentSerde
}
// Defines a point that a job can resume processing.
type JobBookmarkEntry struct {
// The attempt ID number.
Attempt int32
// The bookmark itself.
JobBookmark *string
// The name of the job in question.
JobName *string
// The unique run identifier associated with the previous job run.
PreviousRunId *string
// The run ID number.
Run int32
// The run ID number.
RunId *string
// The version of the job.
Version int32
noSmithyDocumentSerde
}
// Specifies how job bookmark data should be encrypted.
type JobBookmarksEncryption struct {
// The encryption mode to use for job bookmarks data.
JobBookmarksEncryptionMode JobBookmarksEncryptionMode
// The Amazon Resource Name (ARN) of the KMS key to be used to encrypt the data.
KmsKeyArn *string
noSmithyDocumentSerde
}
// Specifies code that runs when a job is run.
type JobCommand struct {
// The name of the job command. For an Apache Spark ETL job, this must be glueetl .
// For a Python shell job, it must be pythonshell . For an Apache Spark streaming
// ETL job, this must be gluestreaming . For a Ray job, this must be glueray .
Name *string
// The Python version being used to run a Python shell job. Allowed values are 2
// or 3.
PythonVersion *string
// In Ray jobs, Runtime is used to specify the versions of Ray, Python and
// additional libraries available in your environment. This field is not used in
// other job types. For supported runtime environment values, see Working with Ray
// jobs (https://docs.aws.amazon.com/glue/latest/dg/author-job-ray-runtimes.html)
// in the Glue Developer Guide.
Runtime *string
// Specifies the Amazon Simple Storage Service (Amazon S3) path to a script that
// runs a job.
ScriptLocation *string
noSmithyDocumentSerde
}
// The details of a Job node present in the workflow.
type JobNodeDetails struct {
// The information for the job runs represented by the job node.
JobRuns []JobRun
noSmithyDocumentSerde
}
// Contains information about a job run.
type JobRun struct {
// This field is deprecated. Use MaxCapacity instead. The number of Glue data
// processing units (DPUs) allocated to this JobRun. From 2 to 100 DPUs can be
// allocated; the default is 10. A DPU is a relative measure of processing power
// that consists of 4 vCPUs of compute capacity and 16 GB of memory. For more
// information, see the Glue pricing page (https://aws.amazon.com/glue/pricing/) .
//
// Deprecated: This property is deprecated, use MaxCapacity instead.
AllocatedCapacity int32
// The job arguments associated with this run. For this job run, they replace the
// default arguments set in the job definition itself. You can specify arguments
// here that your own job-execution script consumes, as well as arguments that Glue
// itself consumes. Job arguments may be logged. Do not pass plaintext secrets as
// arguments. Retrieve secrets from a Glue Connection, Secrets Manager or other
// secret management mechanism if you intend to keep them within the Job. For
// information about how to specify and consume your own Job arguments, see the
// Calling Glue APIs in Python (https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-python-calling.html)
// topic in the developer guide. For information about the arguments you can
// provide to this field when configuring Spark jobs, see the Special Parameters
// Used by Glue (https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-etl-glue-arguments.html)
// topic in the developer guide. For information about the arguments you can
// provide to this field when configuring Ray jobs, see Using job parameters in
// Ray jobs (https://docs.aws.amazon.com/glue/latest/dg/author-job-ray-job-parameters.html)
// in the developer guide.
Arguments map[string]string
// The number of the attempt to run this job.
Attempt int32
// The date and time that this job run completed.
CompletedOn *time.Time
// This field populates only for Auto Scaling job runs, and represents the total
// time each executor ran during the lifecycle of a job run in seconds, multiplied
// by a DPU factor (1 for G.1X , 2 for G.2X , or 0.25 for G.025X workers). This
// value may be different than the executionEngineRuntime * MaxCapacity as in the
// case of Auto Scaling jobs, as the number of executors running at a given time
// may be less than the MaxCapacity . Therefore, it is possible that the value of
// DPUSeconds is less than executionEngineRuntime * MaxCapacity .
DPUSeconds *float64
// An error message associated with this job run.
ErrorMessage *string
// Indicates whether the job is run with a standard or flexible execution class.
// The standard execution-class is ideal for time-sensitive workloads that require
// fast job startup and dedicated resources. The flexible execution class is
// appropriate for time-insensitive jobs whose start and completion times may vary.
// Only jobs with Glue version 3.0 and above and command type glueetl will be
// allowed to set ExecutionClass to FLEX . The flexible execution class is
// available for Spark jobs.
ExecutionClass ExecutionClass
// The amount of time (in seconds) that the job run consumed resources.
ExecutionTime int32
// In Spark jobs, GlueVersion determines the versions of Apache Spark and Python
// that Glue available in a job. The Python version indicates the version supported
// for jobs of type Spark. Ray jobs should set GlueVersion to 4.0 or greater.
// However, the versions of Ray, Python and additional libraries available in your
// Ray job are determined by the Runtime parameter of the Job command. For more
// information about the available Glue versions and corresponding Spark and Python
// versions, see Glue version (https://docs.aws.amazon.com/glue/latest/dg/add-job.html)
// in the developer guide. Jobs that are created without specifying a Glue version
// default to Glue 0.9.
GlueVersion *string
// The ID of this job run.
Id *string
// The name of the job definition being used in this run.
JobName *string
// The current state of the job run. For more information about the statuses of
// jobs that have terminated abnormally, see Glue Job Run Statuses (https://docs.aws.amazon.com/glue/latest/dg/job-run-statuses.html)
// .
JobRunState JobRunState
// The last time that this job run was modified.
LastModifiedOn *time.Time
// The name of the log group for secure logging that can be server-side encrypted
// in Amazon CloudWatch using KMS. This name can be /aws-glue/jobs/ , in which case
// the default encryption is NONE . If you add a role name and
// SecurityConfiguration name (in other words,
// /aws-glue/jobs-yourRoleName-yourSecurityConfigurationName/ ), then that security
// configuration is used to encrypt the log group.
LogGroupName *string
// For Glue version 1.0 or earlier jobs, using the standard worker type, the
// number of Glue data processing units (DPUs) that can be allocated when this job
// runs. A DPU is a relative measure of processing power that consists of 4 vCPUs
// of compute capacity and 16 GB of memory. For more information, see the Glue
// pricing page (https://aws.amazon.com/glue/pricing/) . For Glue version 2.0+
// jobs, you cannot specify a Maximum capacity . Instead, you should specify a
// Worker type and the Number of workers . Do not set MaxCapacity if using
// WorkerType and NumberOfWorkers . The value that can be allocated for MaxCapacity
// depends on whether you are running a Python shell job, an Apache Spark ETL job,
// or an Apache Spark streaming ETL job:
// - When you specify a Python shell job ( JobCommand.Name ="pythonshell"), you
// can allocate either 0.0625 or 1 DPU. The default is 0.0625 DPU.
// - When you specify an Apache Spark ETL job ( JobCommand.Name ="glueetl") or
// Apache Spark streaming ETL job ( JobCommand.Name ="gluestreaming"), you can
// allocate from 2 to 100 DPUs. The default is 10 DPUs. This job type cannot have a
// fractional DPU allocation.
MaxCapacity *float64
// Specifies configuration properties of a job run notification.
NotificationProperty *NotificationProperty
// The number of workers of a defined workerType that are allocated when a job
// runs.
NumberOfWorkers *int32
// A list of predecessors to this job run.
PredecessorRuns []Predecessor
// The ID of the previous run of this job. For example, the JobRunId specified in
// the StartJobRun action.
PreviousRunId *string
// The name of the SecurityConfiguration structure to be used with this job run.
SecurityConfiguration *string
// The date and time at which this job run was started.
StartedOn *time.Time
// The JobRun timeout in minutes. This is the maximum time that a job run can
// consume resources before it is terminated and enters TIMEOUT status. This value
// overrides the timeout value set in the parent job. Streaming jobs do not have a
// timeout. The default for non-streaming jobs is 2,880 minutes (48 hours).
Timeout *int32
// The name of the trigger that started this job run.
TriggerName *string
// The type of predefined worker that is allocated when a job runs. Accepts a
// value of G.1X, G.2X, G.4X, G.8X or G.025X for Spark jobs. Accepts the value Z.2X
// for Ray jobs.
// - For the G.1X worker type, each worker maps to 1 DPU (4 vCPUs, 16 GB of
// memory) with 84GB disk (approximately 34GB free), and provides 1 executor per
// worker. We recommend this worker type for workloads such as data transforms,
// joins, and queries, to offers a scalable and cost effective way to run most
// jobs.
// - For the G.2X worker type, each worker maps to 2 DPU (8 vCPUs, 32 GB of
// memory) with 128GB disk (approximately 77GB free), and provides 1 executor per
// worker. We recommend this worker type for workloads such as data transforms,
// joins, and queries, to offers a scalable and cost effective way to run most
// jobs.
// - For the G.4X worker type, each worker maps to 4 DPU (16 vCPUs, 64 GB of
// memory) with 256GB disk (approximately 235GB free), and provides 1 executor per
// worker. We recommend this worker type for jobs whose workloads contain your most
// demanding transforms, aggregations, joins, and queries. This worker type is
// available only for Glue version 3.0 or later Spark ETL jobs in the following
// Amazon Web Services Regions: US East (Ohio), US East (N. Virginia), US West
// (Oregon), Asia Pacific (Singapore), Asia Pacific (Sydney), Asia Pacific (Tokyo),
// Canada (Central), Europe (Frankfurt), Europe (Ireland), and Europe (Stockholm).
// - For the G.8X worker type, each worker maps to 8 DPU (32 vCPUs, 128 GB of
// memory) with 512GB disk (approximately 487GB free), and provides 1 executor per
// worker. We recommend this worker type for jobs whose workloads contain your most
// demanding transforms, aggregations, joins, and queries. This worker type is
// available only for Glue version 3.0 or later Spark ETL jobs, in the same Amazon
// Web Services Regions as supported for the G.4X worker type.
// - For the G.025X worker type, each worker maps to 0.25 DPU (2 vCPUs, 4 GB of
// memory) with 84GB disk (approximately 34GB free), and provides 1 executor per
// worker. We recommend this worker type for low volume streaming jobs. This worker
// type is only available for Glue version 3.0 streaming jobs.
// - For the Z.2X worker type, each worker maps to 2 M-DPU (8vCPUs, 64 GB of
// memory) with 128 GB disk (approximately 120GB free), and provides up to 8 Ray
// workers based on the autoscaler.
WorkerType WorkerType
noSmithyDocumentSerde
}
// Specifies information used to update an existing job definition. The previous
// job definition is completely overwritten by this information.
type JobUpdate struct {
// This field is deprecated. Use MaxCapacity instead. The number of Glue data
// processing units (DPUs) to allocate to this job. You can allocate a minimum of 2
// DPUs; the default is 10. A DPU is a relative measure of processing power that
// consists of 4 vCPUs of compute capacity and 16 GB of memory. For more
// information, see the Glue pricing page (https://aws.amazon.com/glue/pricing/) .
//
// Deprecated: This property is deprecated, use MaxCapacity instead.
AllocatedCapacity int32
// The representation of a directed acyclic graph on which both the Glue Studio
// visual component and Glue Studio code generation is based.
CodeGenConfigurationNodes map[string]CodeGenConfigurationNode
// The JobCommand that runs this job (required).
Command *JobCommand
// The connections used for this job.
Connections *ConnectionsList
// The default arguments for every run of this job, specified as name-value pairs.
// You can specify arguments here that your own job-execution script consumes, as
// well as arguments that Glue itself consumes. Job arguments may be logged. Do not
// pass plaintext secrets as arguments. Retrieve secrets from a Glue Connection,
// Secrets Manager or other secret management mechanism if you intend to keep them
// within the Job. For information about how to specify and consume your own Job
// arguments, see the Calling Glue APIs in Python (https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-python-calling.html)
// topic in the developer guide. For information about the arguments you can
// provide to this field when configuring Spark jobs, see the Special Parameters
// Used by Glue (https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-etl-glue-arguments.html)
// topic in the developer guide. For information about the arguments you can
// provide to this field when configuring Ray jobs, see Using job parameters in
// Ray jobs (https://docs.aws.amazon.com/glue/latest/dg/author-job-ray-job-parameters.html)
// in the developer guide.
DefaultArguments map[string]string
// Description of the job being defined.
Description *string
// Indicates whether the job is run with a standard or flexible execution class.
// The standard execution-class is ideal for time-sensitive workloads that require
// fast job startup and dedicated resources. The flexible execution class is
// appropriate for time-insensitive jobs whose start and completion times may vary.
// Only jobs with Glue version 3.0 and above and command type glueetl will be
// allowed to set ExecutionClass to FLEX . The flexible execution class is
// available for Spark jobs.
ExecutionClass ExecutionClass
// An ExecutionProperty specifying the maximum number of concurrent runs allowed
// for this job.
ExecutionProperty *ExecutionProperty
// In Spark jobs, GlueVersion determines the versions of Apache Spark and Python
// that Glue available in a job. The Python version indicates the version supported
// for jobs of type Spark. Ray jobs should set GlueVersion to 4.0 or greater.
// However, the versions of Ray, Python and additional libraries available in your
// Ray job are determined by the Runtime parameter of the Job command. For more
// information about the available Glue versions and corresponding Spark and Python
// versions, see Glue version (https://docs.aws.amazon.com/glue/latest/dg/add-job.html)
// in the developer guide. Jobs that are created without specifying a Glue version
// default to Glue 0.9.
GlueVersion *string
// This field is reserved for future use.
LogUri *string
// For Glue version 1.0 or earlier jobs, using the standard worker type, the
// number of Glue data processing units (DPUs) that can be allocated when this job
// runs. A DPU is a relative measure of processing power that consists of 4 vCPUs
// of compute capacity and 16 GB of memory. For more information, see the Glue
// pricing page (https://aws.amazon.com/glue/pricing/) . For Glue version 2.0+
// jobs, you cannot specify a Maximum capacity . Instead, you should specify a
// Worker type and the Number of workers . Do not set MaxCapacity if using
// WorkerType and NumberOfWorkers . The value that can be allocated for MaxCapacity
// depends on whether you are running a Python shell job, an Apache Spark ETL job,
// or an Apache Spark streaming ETL job:
// - When you specify a Python shell job ( JobCommand.Name ="pythonshell"), you
// can allocate either 0.0625 or 1 DPU. The default is 0.0625 DPU.
// - When you specify an Apache Spark ETL job ( JobCommand.Name ="glueetl") or
// Apache Spark streaming ETL job ( JobCommand.Name ="gluestreaming"), you can
// allocate from 2 to 100 DPUs. The default is 10 DPUs. This job type cannot have a
// fractional DPU allocation.
MaxCapacity *float64
// The maximum number of times to retry this job if it fails.
MaxRetries int32
// Arguments for this job that are not overridden when providing job arguments in
// a job run, specified as name-value pairs.
NonOverridableArguments map[string]string
// Specifies the configuration properties of a job notification.
NotificationProperty *NotificationProperty
// The number of workers of a defined workerType that are allocated when a job
// runs.
NumberOfWorkers *int32
// The name or Amazon Resource Name (ARN) of the IAM role associated with this job
// (required).
Role *string
// The name of the SecurityConfiguration structure to be used with this job.
SecurityConfiguration *string
// The details for a source control configuration for a job, allowing
// synchronization of job artifacts to or from a remote repository.
SourceControlDetails *SourceControlDetails
// The job timeout in minutes. This is the maximum time that a job run can consume
// resources before it is terminated and enters TIMEOUT status. The default is
// 2,880 minutes (48 hours).
Timeout *int32
// The type of predefined worker that is allocated when a job runs. Accepts a
// value of G.1X, G.2X, G.4X, G.8X or G.025X for Spark jobs. Accepts the value Z.2X
// for Ray jobs.
// - For the G.1X worker type, each worker maps to 1 DPU (4 vCPUs, 16 GB of
// memory) with 84GB disk (approximately 34GB free), and provides 1 executor per
// worker. We recommend this worker type for workloads such as data transforms,
// joins, and queries, to offers a scalable and cost effective way to run most
// jobs.
// - For the G.2X worker type, each worker maps to 2 DPU (8 vCPUs, 32 GB of
// memory) with 128GB disk (approximately 77GB free), and provides 1 executor per
// worker. We recommend this worker type for workloads such as data transforms,
// joins, and queries, to offers a scalable and cost effective way to run most
// jobs.
// - For the G.4X worker type, each worker maps to 4 DPU (16 vCPUs, 64 GB of
// memory) with 256GB disk (approximately 235GB free), and provides 1 executor per
// worker. We recommend this worker type for jobs whose workloads contain your most
// demanding transforms, aggregations, joins, and queries. This worker type is
// available only for Glue version 3.0 or later Spark ETL jobs in the following
// Amazon Web Services Regions: US East (Ohio), US East (N. Virginia), US West
// (Oregon), Asia Pacific (Singapore), Asia Pacific (Sydney), Asia Pacific (Tokyo),
// Canada (Central), Europe (Frankfurt), Europe (Ireland), and Europe (Stockholm).
// - For the G.8X worker type, each worker maps to 8 DPU (32 vCPUs, 128 GB of
// memory) with 512GB disk (approximately 487GB free), and provides 1 executor per
// worker. We recommend this worker type for jobs whose workloads contain your most
// demanding transforms, aggregations, joins, and queries. This worker type is
// available only for Glue version 3.0 or later Spark ETL jobs, in the same Amazon
// Web Services Regions as supported for the G.4X worker type.
// - For the G.025X worker type, each worker maps to 0.25 DPU (2 vCPUs, 4 GB of
// memory) with 84GB disk (approximately 34GB free), and provides 1 executor per
// worker. We recommend this worker type for low volume streaming jobs. This worker
// type is only available for Glue version 3.0 streaming jobs.
// - For the Z.2X worker type, each worker maps to 2 M-DPU (8vCPUs, 64 GB of
// memory) with 128 GB disk (approximately 120GB free), and provides up to 8 Ray
// workers based on the autoscaler.
WorkerType WorkerType
noSmithyDocumentSerde
}
// Specifies a transform that joins two datasets into one dataset using a
// comparison phrase on the specified data property keys. You can use inner, outer,
// left, right, left semi, and left anti joins.
type Join struct {
// A list of the two columns to be joined.
//
// This member is required.
Columns []JoinColumn
// The data inputs identified by their node names.
//
// This member is required.
Inputs []string
// Specifies the type of join to be performed on the datasets.
//
// This member is required.
JoinType JoinType
// The name of the transform node.
//
// This member is required.
Name *string
noSmithyDocumentSerde
}
// Specifies a column to be joined.
type JoinColumn struct {
// The column to be joined.
//
// This member is required.
From *string
// The key of the column to be joined.
//
// This member is required.
Keys [][]string
noSmithyDocumentSerde
}
// A classifier for JSON content.
type JsonClassifier struct {
// A JsonPath string defining the JSON data for the classifier to classify. Glue
// supports a subset of JsonPath, as described in Writing JsonPath Custom
// Classifiers (https://docs.aws.amazon.com/glue/latest/dg/custom-classifier.html#custom-classifier-json)
// .
//
// This member is required.
JsonPath *string
// The name of the classifier.
//
// This member is required.
Name *string
// The time that this classifier was registered.
CreationTime *time.Time
// The time that this classifier was last updated.
LastUpdated *time.Time
// The version of this classifier.
Version int64
noSmithyDocumentSerde
}
// Additional options for streaming.
type KafkaStreamingSourceOptions struct {
// When this option is set to 'true', the data output will contain an additional
// column named "__src_timestamp" that indicates the time when the corresponding
// record received by the topic. The default value is 'false'. This option is
// supported in Glue version 4.0 or later.
AddRecordTimestamp *string
// The specific TopicPartitions to consume. You must specify at least one of
// "topicName" , "assign" or "subscribePattern" .
Assign *string
// A list of bootstrap server URLs, for example, as
// b-1.vpc-test-2.o4q88o.c6.kafka.us-east-1.amazonaws.com:9094 . This option must
// be specified in the API call or defined in the table metadata in the Data
// Catalog.
BootstrapServers *string
// An optional classification.
Classification *string
// The name of the connection.
ConnectionName *string
// Specifies the delimiter character.
Delimiter *string
// When this option is set to 'true', for each batch, it will emit the metrics for
// the duration between the oldest record received by the topic and the time it
// arrives in Glue to CloudWatch. The metric's name is
// "glue.driver.streaming.maxConsumerLagInMs". The default value is 'false'. This
// option is supported in Glue version 4.0 or later.
EmitConsumerLagMetrics *string
// The end point when a batch query is ended. Possible values are either "latest"
// or a JSON string that specifies an ending offset for each TopicPartition .
EndingOffsets *string
// Whether to include the Kafka headers. When the option is set to "true", the
// data output will contain an additional column named
// "glue_streaming_kafka_headers" with type Array[Struct(key: String, value:
// String)] . The default value is "false". This option is available in Glue
// version 3.0 or later only.
IncludeHeaders *bool
// The rate limit on the maximum number of offsets that are processed per trigger
// interval. The specified total number of offsets is proportionally split across
// topicPartitions of different volumes. The default value is null, which means
// that the consumer reads all offsets until the known latest offset.
MaxOffsetsPerTrigger *int64
// The desired minimum number of partitions to read from Kafka. The default value
// is null, which means that the number of spark partitions is equal to the number
// of Kafka partitions.
MinPartitions *int32
// The number of times to retry before failing to fetch Kafka offsets. The default
// value is 3 .
NumRetries *int32
// The timeout in milliseconds to poll data from Kafka in Spark job executors. The
// default value is 512 .
PollTimeoutMs *int64
// The time in milliseconds to wait before retrying to fetch Kafka offsets. The
// default value is 10 .
RetryIntervalMs *int64
// The protocol used to communicate with brokers. The possible values are "SSL" or
// "PLAINTEXT" .
SecurityProtocol *string
// The starting position in the Kafka topic to read data from. The possible values
// are "earliest" or "latest" . The default value is "latest" .
StartingOffsets *string
// The timestamp of the record in the Kafka topic to start reading data from. The
// possible values are a timestamp string in UTC format of the pattern
// yyyy-mm-ddTHH:MM:SSZ (where Z represents a UTC timezone offset with a +/-. For
// example: "2023-04-04T08:00:00+08:00"). Only one of StartingTimestamp or
// StartingOffsets must be set.
StartingTimestamp *time.Time
// A Java regex string that identifies the topic list to subscribe to. You must
// specify at least one of "topicName" , "assign" or "subscribePattern" .
SubscribePattern *string
// The topic name as specified in Apache Kafka. You must specify at least one of
// "topicName" , "assign" or "subscribePattern" .
TopicName *string
noSmithyDocumentSerde
}
// A partition key pair consisting of a name and a type.
type KeySchemaElement struct {
// The name of a partition key.
//
// This member is required.
Name *string
// The type of a partition key.
//
// This member is required.
Type *string
noSmithyDocumentSerde
}
// Additional options for the Amazon Kinesis streaming data source.
type KinesisStreamingSourceOptions struct {
// Adds a time delay between two consecutive getRecords operations. The default
// value is "False" . This option is only configurable for Glue version 2.0 and
// above.
AddIdleTimeBetweenReads *bool
// When this option is set to 'true', the data output will contain an additional
// column named "__src_timestamp" that indicates the time when the corresponding
// record received by the stream. The default value is 'false'. This option is
// supported in Glue version 4.0 or later.
AddRecordTimestamp *string
// Avoids creating an empty microbatch job by checking for unread data in the
// Kinesis data stream before the batch is started. The default value is "False" .
AvoidEmptyBatches *bool
// An optional classification.
Classification *string
// Specifies the delimiter character.
Delimiter *string
// The minimum time interval between two ListShards API calls for your script to
// consider resharding. The default value is 1s .
DescribeShardInterval *int64
// When this option is set to 'true', for each batch, it will emit the metrics for
// the duration between the oldest record received by the stream and the time it
// arrives in Glue to CloudWatch. The metric's name is
// "glue.driver.streaming.maxConsumerLagInMs". The default value is 'false'. This
// option is supported in Glue version 4.0 or later.
EmitConsumerLagMetrics *string
// The URL of the Kinesis endpoint.
EndpointUrl *string
// The minimum time delay between two consecutive getRecords operations, specified
// in ms. The default value is 1000 . This option is only configurable for Glue
// version 2.0 and above.
IdleTimeBetweenReadsInMs *int64
// The maximum number of records to fetch per shard in the Kinesis data stream.
// The default value is 100000 .
MaxFetchRecordsPerShard *int64
// The maximum time spent in the job executor to fetch a record from the Kinesis
// data stream per shard, specified in milliseconds (ms). The default value is 1000
// .
MaxFetchTimeInMs *int64
// The maximum number of records to fetch from the Kinesis data stream in each
// getRecords operation. The default value is 10000 .
MaxRecordPerRead *int64
// The maximum cool-off time period (specified in ms) between two retries of a
// Kinesis Data Streams API call. The default value is 10000 .
MaxRetryIntervalMs *int64
// The maximum number of retries for Kinesis Data Streams API requests. The
// default value is 3 .
NumRetries *int32
// The cool-off time period (specified in ms) before retrying the Kinesis Data
// Streams API call. The default value is 1000 .
RetryIntervalMs *int64
// The Amazon Resource Name (ARN) of the role to assume using AWS Security Token
// Service (AWS STS). This role must have permissions for describe or read record
// operations for the Kinesis data stream. You must use this parameter when
// accessing a data stream in a different account. Used in conjunction with
// "awsSTSSessionName" .
RoleArn *string
// An identifier for the session assuming the role using AWS STS. You must use
// this parameter when accessing a data stream in a different account. Used in
// conjunction with "awsSTSRoleARN" .
RoleSessionName *string
// The starting position in the Kinesis data stream to read data from. The
// possible values are "latest" , "trim_horizon" , "earliest" , or a timestamp
// string in UTC format in the pattern yyyy-mm-ddTHH:MM:SSZ (where Z represents a
// UTC timezone offset with a +/-. For example: "2023-04-04T08:00:00-04:00"). The
// default value is "latest" . Note: Using a value that is a timestamp string in
// UTC format for "startingPosition" is supported only for Glue version 4.0 or
// later.
StartingPosition StartingPosition
// The timestamp of the record in the Kinesis data stream to start reading data
// from. The possible values are a timestamp string in UTC format of the pattern
// yyyy-mm-ddTHH:MM:SSZ (where Z represents a UTC timezone offset with a +/-. For
// example: "2023-04-04T08:00:00+08:00").
StartingTimestamp *time.Time
// The Amazon Resource Name (ARN) of the Kinesis data stream.
StreamArn *string
// The name of the Kinesis data stream.
StreamName *string
noSmithyDocumentSerde
}
// Specifies configuration properties for a labeling set generation task run.
type LabelingSetGenerationTaskRunProperties struct {
// The Amazon Simple Storage Service (Amazon S3) path where you will generate the
// labeling set.
OutputS3Path *string
noSmithyDocumentSerde
}
// Specifies Lake Formation configuration settings for the crawler.
type LakeFormationConfiguration struct {
// Required for cross account crawls. For same account crawls as the target data,
// this can be left as null.
AccountId *string
// Specifies whether to use Lake Formation credentials for the crawler instead of
// the IAM role credentials.
UseLakeFormationCredentials *bool
noSmithyDocumentSerde
}
// When there are multiple versions of a blueprint and the latest version has some
// errors, this attribute indicates the last successful blueprint definition that
// is available with the service.
type LastActiveDefinition struct {
// Specifies a path in Amazon S3 where the blueprint is published by the Glue
// developer.
BlueprintLocation *string
// Specifies a path in Amazon S3 where the blueprint is copied when you create or
// update the blueprint.
BlueprintServiceLocation *string
// The description of the blueprint.
Description *string
// The date and time the blueprint was last modified.
LastModifiedOn *time.Time
// A JSON string specifying the parameters for the blueprint.
ParameterSpec *string
noSmithyDocumentSerde
}
// Status and error information about the most recent crawl.
type LastCrawlInfo struct {
// If an error occurred, the error information about the last crawl.
ErrorMessage *string
// The log group for the last crawl.
LogGroup *string
// The log stream for the last crawl.
LogStream *string
// The prefix for a message about this crawl.
MessagePrefix *string
// The time at which the crawl started.
StartTime *time.Time
// Status of the last crawl.
Status LastCrawlStatus
noSmithyDocumentSerde
}
// Specifies data lineage configuration settings for the crawler.
type LineageConfiguration struct {
// Specifies whether data lineage is enabled for the crawler. Valid values are:
// - ENABLE: enables data lineage for the crawler
// - DISABLE: disables data lineage for the crawler
CrawlerLineageSettings CrawlerLineageSettings
noSmithyDocumentSerde
}
// The location of resources.
type Location struct {
// An Amazon DynamoDB table location.
DynamoDB []CodeGenNodeArg
// A JDBC location.
Jdbc []CodeGenNodeArg
// An Amazon Simple Storage Service (Amazon S3) location.
S3 []CodeGenNodeArg
noSmithyDocumentSerde
}
// Defines column statistics supported for integer data columns.
type LongColumnStatisticsData struct {
// The number of distinct values in a column.
//
// This member is required.
NumberOfDistinctValues int64
// The number of null values in the column.
//
// This member is required.
NumberOfNulls int64
// The highest value in the column.
MaximumValue int64
// The lowest value in the column.
MinimumValue int64
noSmithyDocumentSerde
}
// Specifies the mapping of data property keys.
type Mapping struct {
// Only applicable to nested data structures. If you want to change the parent
// structure, but also one of its children, you can fill out this data strucutre.
// It is also Mapping , but its FromPath will be the parent's FromPath plus the
// FromPath from this structure. For the children part, suppose you have the
// structure: { "FromPath": "OuterStructure", "ToKey": "OuterStructure", "ToType":
// "Struct", "Dropped": false, "Chidlren": [{ "FromPath": "inner", "ToKey":
// "inner", "ToType": "Double", "Dropped": false, }] } You can specify a Mapping
// that looks like: { "FromPath": "OuterStructure", "ToKey": "OuterStructure",
// "ToType": "Struct", "Dropped": false, "Chidlren": [{ "FromPath": "inner",
// "ToKey": "inner", "ToType": "Double", "Dropped": false, }] }
Children []Mapping
// If true, then the column is removed.
Dropped *bool
// The table or column to be modified.
FromPath []string
// The type of the data to be modified.
FromType *string
// After the apply mapping, what the name of the column should be. Can be the same
// as FromPath .
ToKey *string
// The data type that the data is to be modified to.
ToType *string
noSmithyDocumentSerde
}
// Defines a mapping.
type MappingEntry struct {
// The source path.
SourcePath *string
// The name of the source table.
SourceTable *string
// The source type.
SourceType *string
// The target path.
TargetPath *string
// The target table.
TargetTable *string
// The target type.
TargetType *string
noSmithyDocumentSerde
}
// Specifies a transform that merges a DynamicFrame with a staging DynamicFrame
// based on the specified primary keys to identify records. Duplicate records
// (records with the same primary keys) are not de-duplicated.
type Merge struct {
// The data inputs identified by their node names.
//
// This member is required.
Inputs []string
// The name of the transform node.
//
// This member is required.
Name *string
// The list of primary key fields to match records from the source and staging
// dynamic frames.
//
// This member is required.
PrimaryKeys [][]string
// The source DynamicFrame that will be merged with a staging DynamicFrame .
//
// This member is required.
Source *string
noSmithyDocumentSerde
}
// A structure containing metadata information for a schema version.
type MetadataInfo struct {
// The time at which the entry was created.
CreatedTime *string
// The metadata key’s corresponding value.
MetadataValue *string
// Other metadata belonging to the same metadata key.
OtherMetadataValueList []OtherMetadataValueListItem
noSmithyDocumentSerde
}
// A structure containing a key value pair for metadata.
type MetadataKeyValuePair struct {
// A metadata key.
MetadataKey *string
// A metadata key’s corresponding value.
MetadataValue *string
noSmithyDocumentSerde
}
// Describes the metric based observation generated based on evaluated data
// quality metrics.
type MetricBasedObservation struct {
// The name of the data quality metric used for generating the observation.
MetricName *string
// An object of type DataQualityMetricValues representing the analysis of the data
// quality metric value.
MetricValues *DataQualityMetricValues
// A list of new data quality rules generated as part of the observation based on
// the data quality metric value.
NewRules []string
noSmithyDocumentSerde
}
// Specifies a Microsoft SQL server data source in the Glue Data Catalog.
type MicrosoftSQLServerCatalogSource struct {
// The name of the database to read from.
//
// This member is required.
Database *string
// The name of the data source.
//
// This member is required.
Name *string
// The name of the table in the database to read from.
//
// This member is required.
Table *string
noSmithyDocumentSerde
}
// Specifies a target that uses Microsoft SQL.
type MicrosoftSQLServerCatalogTarget struct {
// The name of the database to write to.
//
// This member is required.
Database *string
// The nodes that are inputs to the data target.
//
// This member is required.
Inputs []string
// The name of the data target.
//
// This member is required.
Name *string
// The name of the table in the database to write to.
//
// This member is required.
Table *string
noSmithyDocumentSerde
}
// A structure for a machine learning transform.
type MLTransform struct {
// A timestamp. The time and date that this machine learning transform was created.
CreatedOn *time.Time
// A user-defined, long-form description text for the machine learning transform.
// Descriptions are not guaranteed to be unique and can be changed at any time.
Description *string
// An EvaluationMetrics object. Evaluation metrics provide an estimate of the
// quality of your machine learning transform.
EvaluationMetrics *EvaluationMetrics
// This value determines which version of Glue this machine learning transform is
// compatible with. Glue 1.0 is recommended for most customers. If the value is not
// set, the Glue compatibility defaults to Glue 0.9. For more information, see
// Glue Versions (https://docs.aws.amazon.com/glue/latest/dg/release-notes.html#release-notes-versions)
// in the developer guide.
GlueVersion *string
// A list of Glue table definitions used by the transform.
InputRecordTables []GlueTable
// A count identifier for the labeling files generated by Glue for this transform.
// As you create a better transform, you can iteratively download, label, and
// upload the labeling file.
LabelCount int32
// A timestamp. The last point in time when this machine learning transform was
// modified.
LastModifiedOn *time.Time
// The number of Glue data processing units (DPUs) that are allocated to task runs
// for this transform. You can allocate from 2 to 100 DPUs; the default is 10. A
// DPU is a relative measure of processing power that consists of 4 vCPUs of
// compute capacity and 16 GB of memory. For more information, see the Glue
// pricing page (http://aws.amazon.com/glue/pricing/) . MaxCapacity is a mutually
// exclusive option with NumberOfWorkers and WorkerType .
// - If either NumberOfWorkers or WorkerType is set, then MaxCapacity cannot be
// set.
// - If MaxCapacity is set then neither NumberOfWorkers or WorkerType can be set.
// - If WorkerType is set, then NumberOfWorkers is required (and vice versa).
// - MaxCapacity and NumberOfWorkers must both be at least 1.
// When the WorkerType field is set to a value other than Standard , the
// MaxCapacity field is set automatically and becomes read-only.
MaxCapacity *float64
// The maximum number of times to retry after an MLTaskRun of the machine learning
// transform fails.
MaxRetries *int32
// A user-defined name for the machine learning transform. Names are not
// guaranteed unique and can be changed at any time.
Name *string
// The number of workers of a defined workerType that are allocated when a task of
// the transform runs. If WorkerType is set, then NumberOfWorkers is required (and
// vice versa).
NumberOfWorkers *int32
// A TransformParameters object. You can use parameters to tune (customize) the
// behavior of the machine learning transform by specifying what data it learns
// from and your preference on various tradeoffs (such as precious vs. recall, or
// accuracy vs. cost).
Parameters *TransformParameters
// The name or Amazon Resource Name (ARN) of the IAM role with the required
// permissions. The required permissions include both Glue service role permissions
// to Glue resources, and Amazon S3 permissions required by the transform.
// - This role needs Glue service role permissions to allow access to resources
// in Glue. See Attach a Policy to IAM Users That Access Glue (https://docs.aws.amazon.com/glue/latest/dg/attach-policy-iam-user.html)
// .
// - This role needs permission to your Amazon Simple Storage Service (Amazon
// S3) sources, targets, temporary directory, scripts, and any libraries used by
// the task run for this transform.
Role *string
// A map of key-value pairs representing the columns and data types that this
// transform can run against. Has an upper bound of 100 columns.
Schema []SchemaColumn
// The current status of the machine learning transform.
Status TransformStatusType
// The timeout in minutes of the machine learning transform.
Timeout *int32
// The encryption-at-rest settings of the transform that apply to accessing user
// data. Machine learning transforms can access user data encrypted in Amazon S3
// using KMS.
TransformEncryption *TransformEncryption
// The unique transform ID that is generated for the machine learning transform.
// The ID is guaranteed to be unique and does not change.
TransformId *string
// The type of predefined worker that is allocated when a task of this transform
// runs. Accepts a value of Standard, G.1X, or G.2X.
// - For the Standard worker type, each worker provides 4 vCPU, 16 GB of memory
// and a 50GB disk, and 2 executors per worker.
// - For the G.1X worker type, each worker provides 4 vCPU, 16 GB of memory and a
// 64GB disk, and 1 executor per worker.
// - For the G.2X worker type, each worker provides 8 vCPU, 32 GB of memory and a
// 128GB disk, and 1 executor per worker.
// MaxCapacity is a mutually exclusive option with NumberOfWorkers and WorkerType .
// - If either NumberOfWorkers or WorkerType is set, then MaxCapacity cannot be
// set.
// - If MaxCapacity is set then neither NumberOfWorkers or WorkerType can be set.
// - If WorkerType is set, then NumberOfWorkers is required (and vice versa).
// - MaxCapacity and NumberOfWorkers must both be at least 1.
WorkerType WorkerType
noSmithyDocumentSerde
}
// The encryption-at-rest settings of the transform that apply to accessing user
// data.
type MLUserDataEncryption struct {
// The encryption mode applied to user data. Valid values are:
// - DISABLED: encryption is disabled
// - SSEKMS: use of server-side encryption with Key Management Service (SSE-KMS)
// for user data stored in Amazon S3.
//
// This member is required.
MlUserDataEncryptionMode MLUserDataEncryptionModeString
// The ID for the customer-provided KMS key.
KmsKeyId *string
noSmithyDocumentSerde
}
// Specifies an Amazon DocumentDB or MongoDB data store to crawl.
type MongoDBTarget struct {
// The name of the connection to use to connect to the Amazon DocumentDB or
// MongoDB target.
ConnectionName *string
// The path of the Amazon DocumentDB or MongoDB target (database/collection).
Path *string
// Indicates whether to scan all the records, or to sample rows from the table.
// Scanning all the records can take a long time when the table is not a high
// throughput table. A value of true means to scan all records, while a value of
// false means to sample the records. If no value is specified, the value defaults
// to true .
ScanAll *bool
noSmithyDocumentSerde
}
// Specifies a MySQL data source in the Glue Data Catalog.
type MySQLCatalogSource struct {
// The name of the database to read from.
//
// This member is required.
Database *string
// The name of the data source.
//
// This member is required.
Name *string
// The name of the table in the database to read from.
//
// This member is required.
Table *string
noSmithyDocumentSerde
}
// Specifies a target that uses MySQL.
type MySQLCatalogTarget struct {
// The name of the database to write to.
//
// This member is required.
Database *string
// The nodes that are inputs to the data target.
//
// This member is required.
Inputs []string
// The name of the data target.
//
// This member is required.
Name *string
// The name of the table in the database to write to.
//
// This member is required.
Table *string
noSmithyDocumentSerde
}
// A node represents an Glue component (trigger, crawler, or job) on a workflow
// graph.
type Node struct {
// Details of the crawler when the node represents a crawler.
CrawlerDetails *CrawlerNodeDetails
// Details of the Job when the node represents a Job.
JobDetails *JobNodeDetails
// The name of the Glue component represented by the node.
Name *string
// Details of the Trigger when the node represents a Trigger.
TriggerDetails *TriggerNodeDetails
// The type of Glue component represented by the node.
Type NodeType
// The unique Id assigned to the node within the workflow.
UniqueId *string
noSmithyDocumentSerde
}
// Specifies configuration properties of a notification.
type NotificationProperty struct {
// After a job run starts, the number of minutes to wait before sending a job run
// delay notification.
NotifyDelayAfter *int32
noSmithyDocumentSerde
}
// Represents whether certain values are recognized as null values for removal.
type NullCheckBoxList struct {
// Specifies that an empty string is considered as a null value.
IsEmpty *bool
// Specifies that an integer value of -1 is considered as a null value.
IsNegOne *bool
// Specifies that a value spelling out the word 'null' is considered as a null
// value.
IsNullString *bool
noSmithyDocumentSerde
}
// Represents a custom null value such as a zeros or other value being used as a
// null placeholder unique to the dataset.
type NullValueField struct {
// The datatype of the value.
//
// This member is required.
Datatype *Datatype
// The value of the null placeholder.
//
// This member is required.
Value *string
noSmithyDocumentSerde
}
// A structure representing an open format table.
type OpenTableFormatInput struct {
// Specifies an IcebergInput structure that defines an Apache Iceberg metadata
// table.
IcebergInput *IcebergInput
noSmithyDocumentSerde
}
// Specifies an option value.
type Option struct {
// Specifies the description of the option.
Description *string
// Specifies the label of the option.
Label *string
// Specifies the value of the option.
Value *string
noSmithyDocumentSerde
}
// Specifies an Oracle data source in the Glue Data Catalog.
type OracleSQLCatalogSource struct {
// The name of the database to read from.
//
// This member is required.
Database *string
// The name of the data source.
//
// This member is required.
Name *string
// The name of the table in the database to read from.
//
// This member is required.
Table *string
noSmithyDocumentSerde
}
// Specifies a target that uses Oracle SQL.
type OracleSQLCatalogTarget struct {
// The name of the database to write to.
//
// This member is required.
Database *string
// The nodes that are inputs to the data target.
//
// This member is required.
Inputs []string
// The name of the data target.
//
// This member is required.
Name *string
// The name of the table in the database to write to.
//
// This member is required.
Table *string
noSmithyDocumentSerde
}
// Specifies the sort order of a sorted column.
type Order struct {
// The name of the column.
//
// This member is required.
Column *string
// Indicates that the column is sorted in ascending order ( == 1 ), or in
// descending order ( ==0 ).
//
// This member is required.
SortOrder int32
noSmithyDocumentSerde
}
// A structure containing other metadata for a schema version belonging to the
// same metadata key.
type OtherMetadataValueListItem struct {
// The time at which the entry was created.
CreatedTime *string
// The metadata key’s corresponding value for the other metadata belonging to the
// same metadata key.
MetadataValue *string
noSmithyDocumentSerde
}
// Represents a slice of table data.
type Partition struct {
// The ID of the Data Catalog in which the partition resides.
CatalogId *string
// The time at which the partition was created.
CreationTime *time.Time
// The name of the catalog database in which to create the partition.
DatabaseName *string
// The last time at which the partition was accessed.
LastAccessTime *time.Time
// The last time at which column statistics were computed for this partition.
LastAnalyzedTime *time.Time
// These key-value pairs define partition parameters.
Parameters map[string]string
// Provides information about the physical location where the partition is stored.
StorageDescriptor *StorageDescriptor
// The name of the database table in which to create the partition.
TableName *string
// The values of the partition.
Values []string
noSmithyDocumentSerde
}
// Contains information about a partition error.
type PartitionError struct {
// The details about the partition error.
ErrorDetail *ErrorDetail
// The values that define the partition.
PartitionValues []string
noSmithyDocumentSerde
}
// A structure for a partition index.
type PartitionIndex struct {
// The name of the partition index.
//
// This member is required.
IndexName *string
// The keys for the partition index.
//
// This member is required.
Keys []string
noSmithyDocumentSerde
}
// A descriptor for a partition index in a table.
type PartitionIndexDescriptor struct {
// The name of the partition index.
//
// This member is required.
IndexName *string
// The status of the partition index. The possible statuses are:
// - CREATING: The index is being created. When an index is in a CREATING state,
// the index or its table cannot be deleted.
// - ACTIVE: The index creation succeeds.
// - FAILED: The index creation fails.
// - DELETING: The index is deleted from the list of indexes.
//
// This member is required.
IndexStatus PartitionIndexStatus
// A list of one or more keys, as KeySchemaElement structures, for the partition
// index.
//
// This member is required.
Keys []KeySchemaElement
// A list of errors that can occur when registering partition indexes for an
// existing table.
BackfillErrors []BackfillError
noSmithyDocumentSerde
}
// The structure used to create and update a partition.
type PartitionInput struct {
// The last time at which the partition was accessed.
LastAccessTime *time.Time
// The last time at which column statistics were computed for this partition.
LastAnalyzedTime *time.Time
// These key-value pairs define partition parameters.
Parameters map[string]string
// Provides information about the physical location where the partition is stored.
StorageDescriptor *StorageDescriptor
// The values of the partition. Although this parameter is not required by the
// SDK, you must specify this parameter for a valid input. The values for the keys
// for the new partition must be passed as an array of String objects that must be
// ordered in the same order as the partition keys appearing in the Amazon S3
// prefix. Otherwise Glue will add the values to the wrong keys.
Values []string
noSmithyDocumentSerde
}
// Contains a list of values defining partitions.
type PartitionValueList struct {
// The list of values.
//
// This member is required.
Values []string
noSmithyDocumentSerde
}
// Specifies the physical requirements for a connection.
type PhysicalConnectionRequirements struct {
// The connection's Availability Zone. This field is redundant because the
// specified subnet implies the Availability Zone to be used. Currently the field
// must be populated, but it will be deprecated in the future.
AvailabilityZone *string
// The security group ID list used by the connection.
SecurityGroupIdList []string
// The subnet ID used by the connection.
SubnetId *string
noSmithyDocumentSerde
}
// Specifies a transform that identifies, removes or masks PII data.
type PIIDetection struct {
// Indicates the types of entities the PIIDetection transform will identify as PII
// data. PII type entities include: PERSON_NAME, DATE, USA_SNN, EMAIL, USA_ITIN,
// USA_PASSPORT_NUMBER, PHONE_NUMBER, BANK_ACCOUNT, IP_ADDRESS, MAC_ADDRESS,
// USA_CPT_CODE, USA_HCPCS_CODE, USA_NATIONAL_DRUG_CODE,
// USA_MEDICARE_BENEFICIARY_IDENTIFIER,
// USA_HEALTH_INSURANCE_CLAIM_NUMBER,CREDIT_CARD,USA_NATIONAL_PROVIDER_IDENTIFIER,USA_DEA_NUMBER,USA_DRIVING_LICENSE
//
// This member is required.
EntityTypesToDetect []string
// The node ID inputs to the transform.
//
// This member is required.
Inputs []string
// The name of the transform node.
//
// This member is required.
Name *string
// Indicates the type of PIIDetection transform.
//
// This member is required.
PiiType PiiType
// Indicates the value that will replace the detected entity.
MaskValue *string
// Indicates the output column name that will contain any entity type detected in
// that row.
OutputColumnName *string
// Indicates the fraction of the data to sample when scanning for PII entities.
SampleFraction *float64
// Indicates the fraction of the data that must be met in order for a column to be
// identified as PII data.
ThresholdFraction *float64
noSmithyDocumentSerde
}
// Specifies a PostgresSQL data source in the Glue Data Catalog.
type PostgreSQLCatalogSource struct {
// The name of the database to read from.
//
// This member is required.
Database *string
// The name of the data source.
//
// This member is required.
Name *string
// The name of the table in the database to read from.
//
// This member is required.
Table *string
noSmithyDocumentSerde
}
// Specifies a target that uses Postgres SQL.
type PostgreSQLCatalogTarget struct {
// The name of the database to write to.
//
// This member is required.
Database *string
// The nodes that are inputs to the data target.
//
// This member is required.
Inputs []string
// The name of the data target.
//
// This member is required.
Name *string
// The name of the table in the database to write to.
//
// This member is required.
Table *string
noSmithyDocumentSerde
}
// A job run that was used in the predicate of a conditional trigger that
// triggered this job run.
type Predecessor struct {
// The name of the job definition used by the predecessor job run.
JobName *string
// The job-run ID of the predecessor job run.
RunId *string
noSmithyDocumentSerde
}
// Defines the predicate of the trigger, which determines when it fires.
type Predicate struct {
// A list of the conditions that determine when the trigger will fire.
Conditions []Condition
// An optional field if only one condition is listed. If multiple conditions are
// listed, then this field is required.
Logical Logical
noSmithyDocumentSerde
}
// Permissions granted to a principal.
type PrincipalPermissions struct {
// The permissions that are granted to the principal.
Permissions []Permission
// The principal who is granted permissions.
Principal *DataLakePrincipal
noSmithyDocumentSerde
}
// Defines a property predicate.
type PropertyPredicate struct {
// The comparator used to compare this property to others.
Comparator Comparator
// The key of the property.
Key *string
// The value of the property.
Value *string
noSmithyDocumentSerde
}
// A structure used as a protocol between query engines and Lake Formation or
// Glue. Contains both a Lake Formation generated authorization identifier and
// information from the request's authorization context.
type QuerySessionContext struct {
// An opaque string-string map passed by the query engine.
AdditionalContext map[string]string
// An identifier string for the consumer cluster.
ClusterId *string
// A cryptographically generated query identifier generated by Glue or Lake
// Formation.
QueryAuthorizationId *string
// A unique identifier generated by the query engine for the query.
QueryId *string
// A timestamp provided by the query engine for when the query started.
QueryStartTime *time.Time
noSmithyDocumentSerde
}
// A Glue Studio node that uses a Glue DataBrew recipe in Glue jobs.
type Recipe struct {
// The nodes that are inputs to the recipe node, identified by id.
//
// This member is required.
Inputs []string
// The name of the Glue Studio node.
//
// This member is required.
Name *string
// A reference to the DataBrew recipe used by the node.
//
// This member is required.
RecipeReference *RecipeReference
noSmithyDocumentSerde
}
// A reference to a Glue DataBrew recipe.
type RecipeReference struct {
// The ARN of the DataBrew recipe.
//
// This member is required.
RecipeArn *string
// The RecipeVersion of the DataBrew recipe.
//
// This member is required.
RecipeVersion *string
noSmithyDocumentSerde
}
// When crawling an Amazon S3 data source after the first crawl is complete,
// specifies whether to crawl the entire dataset again or to crawl only folders
// that were added since the last crawler run. For more information, see
// Incremental Crawls in Glue (https://docs.aws.amazon.com/glue/latest/dg/incremental-crawls.html)
// in the developer guide.
type RecrawlPolicy struct {
// Specifies whether to crawl the entire dataset again or to crawl only folders
// that were added since the last crawler run. A value of CRAWL_EVERYTHING
// specifies crawling the entire dataset again. A value of CRAWL_NEW_FOLDERS_ONLY
// specifies crawling only folders that were added since the last crawler run. A
// value of CRAWL_EVENT_MODE specifies crawling only the changes identified by
// Amazon S3 events.
RecrawlBehavior RecrawlBehavior
noSmithyDocumentSerde
}
// Specifies an Amazon Redshift data store.
type RedshiftSource struct {
// The database to read from.
//
// This member is required.
Database *string
// The name of the Amazon Redshift data store.
//
// This member is required.
Name *string
// The database table to read from.
//
// This member is required.
Table *string
// The Amazon S3 path where temporary data can be staged when copying out of the
// database.
RedshiftTmpDir *string
// The IAM role with permissions.
TmpDirIAMRole *string
noSmithyDocumentSerde
}
// Specifies a target that uses Amazon Redshift.
type RedshiftTarget struct {
// The name of the database to write to.
//
// This member is required.
Database *string
// The nodes that are inputs to the data target.
//
// This member is required.
Inputs []string
// The name of the data target.
//
// This member is required.
Name *string
// The name of the table in the database to write to.
//
// This member is required.
Table *string
// The Amazon S3 path where temporary data can be staged when copying out of the
// database.
RedshiftTmpDir *string
// The IAM role with permissions.
TmpDirIAMRole *string
// The set of options to configure an upsert operation when writing to a Redshift
// target.
UpsertRedshiftOptions *UpsertRedshiftTargetOptions
noSmithyDocumentSerde
}
// A wrapper structure that may contain the registry name and Amazon Resource Name
// (ARN).
type RegistryId struct {
// Arn of the registry to be updated. One of RegistryArn or RegistryName has to be
// provided.
RegistryArn *string
// Name of the registry. Used only for lookup. One of RegistryArn or RegistryName
// has to be provided.
RegistryName *string
noSmithyDocumentSerde
}
// A structure containing the details for a registry.
type RegistryListItem struct {
// The data the registry was created.
CreatedTime *string
// A description of the registry.
Description *string
// The Amazon Resource Name (ARN) of the registry.
RegistryArn *string
// The name of the registry.
RegistryName *string
// The status of the registry.
Status RegistryStatus
// The date the registry was updated.
UpdatedTime *string
noSmithyDocumentSerde
}
// Specifies a Relational database data source in the Glue Data Catalog.
type RelationalCatalogSource struct {
// The name of the database to read from.
//
// This member is required.
Database *string
// The name of the data source.
//
// This member is required.
Name *string
// The name of the table in the database to read from.
//
// This member is required.
Table *string
noSmithyDocumentSerde
}
// Specifies a transform that renames a single data property key.
type RenameField struct {
// The data inputs identified by their node names.
//
// This member is required.
Inputs []string
// The name of the transform node.
//
// This member is required.
Name *string
// A JSON path to a variable in the data structure for the source data.
//
// This member is required.
SourcePath []string
// A JSON path to a variable in the data structure for the target data.
//
// This member is required.
TargetPath []string
noSmithyDocumentSerde
}
// The URIs for function resources.
type ResourceUri struct {
// The type of the resource.
ResourceType ResourceType
// The URI for accessing the resource.
Uri *string
noSmithyDocumentSerde
}
// Metrics for the optimizer run.
type RunMetrics struct {
// The duration of the job in hours.
JobDurationInHour *string
// The number of bytes removed by the compaction job run.
NumberOfBytesCompacted *string
// The number of DPU hours consumed by the job.
NumberOfDpus *string
// The number of files removed by the compaction job run.
NumberOfFilesCompacted *string
noSmithyDocumentSerde
}
// Specifies a Delta Lake data source that is registered in the Glue Data Catalog.
// The data source must be stored in Amazon S3.
type S3CatalogDeltaSource struct {
// The name of the database to read from.
//
// This member is required.
Database *string
// The name of the Delta Lake data source.
//
// This member is required.
Name *string
// The name of the table in the database to read from.
//
// This member is required.
Table *string
// Specifies additional connection options.
AdditionalDeltaOptions map[string]string
// Specifies the data schema for the Delta Lake source.
OutputSchemas []GlueSchema
noSmithyDocumentSerde
}
// Specifies a Hudi data source that is registered in the Glue Data Catalog. The
// Hudi data source must be stored in Amazon S3.
type S3CatalogHudiSource struct {
// The name of the database to read from.
//
// This member is required.
Database *string
// The name of the Hudi data source.
//
// This member is required.
Name *string
// The name of the table in the database to read from.
//
// This member is required.
Table *string
// Specifies additional connection options.
AdditionalHudiOptions map[string]string
// Specifies the data schema for the Hudi source.
OutputSchemas []GlueSchema
noSmithyDocumentSerde
}
// Specifies an Amazon S3 data store in the Glue Data Catalog.
type S3CatalogSource struct {
// The database to read from.
//
// This member is required.
Database *string
// The name of the data store.
//
// This member is required.
Name *string
// The database table to read from.
//
// This member is required.
Table *string
// Specifies additional connection options.
AdditionalOptions *S3SourceAdditionalOptions
// Partitions satisfying this predicate are deleted. Files within the retention
// period in these partitions are not deleted. Set to "" – empty by default.
PartitionPredicate *string
noSmithyDocumentSerde
}
// Specifies a data target that writes to Amazon S3 using the Glue Data Catalog.
type S3CatalogTarget struct {
// The name of the database to write to.
//
// This member is required.
Database *string
// The nodes that are inputs to the data target.
//
// This member is required.
Inputs []string
// The name of the data target.
//
// This member is required.
Name *string
// The name of the table in the database to write to.
//
// This member is required.
Table *string
// Specifies native partitioning using a sequence of keys.
PartitionKeys [][]string
// A policy that specifies update behavior for the crawler.
SchemaChangePolicy *CatalogSchemaChangePolicy
noSmithyDocumentSerde
}
// Specifies a command-separated value (CSV) data store stored in Amazon S3.
type S3CsvSource struct {
// The name of the data store.
//
// This member is required.
Name *string
// A list of the Amazon S3 paths to read from.
//
// This member is required.
Paths []string
// Specifies the character to use for quoting. The default is a double quote: '"' .
// Set this to -1 to turn off quoting entirely.
//
// This member is required.
QuoteChar QuoteChar
// Specifies the delimiter character. The default is a comma: ",", but any other
// character can be specified.
//
// This member is required.
Separator Separator
// Specifies additional connection options.
AdditionalOptions *S3DirectSourceAdditionalOptions
// Specifies how the data is compressed. This is generally not necessary if the
// data has a standard file extension. Possible values are "gzip" and "bzip" ).
CompressionType CompressionType
// Specifies a character to use for escaping. This option is used only when
// reading CSV files. The default value is none . If enabled, the character which
// immediately follows is used as-is, except for a small set of well-known escapes
// ( \n , \r , \t , and \0 ).
Escaper *string
// A string containing a JSON list of Unix-style glob patterns to exclude. For
// example, "[\"**.pdf\"]" excludes all PDF files.
Exclusions []string
// Grouping files is turned on by default when the input contains more than 50,000
// files. To turn on grouping with fewer than 50,000 files, set this parameter to
// "inPartition". To disable grouping when there are more than 50,000 files, set
// this parameter to "none" .
GroupFiles *string
// The target group size in bytes. The default is computed based on the input data
// size and the size of your cluster. When there are fewer than 50,000 input files,
// "groupFiles" must be set to "inPartition" for this to take effect.
GroupSize *string
// This option controls the duration in milliseconds after which the s3 listing is
// likely to be consistent. Files with modification timestamps falling within the
// last maxBand milliseconds are tracked specially when using JobBookmarks to
// account for Amazon S3 eventual consistency. Most users don't need to set this
// option. The default is 900000 milliseconds, or 15 minutes.
MaxBand *int32
// This option specifies the maximum number of files to save from the last maxBand
// seconds. If this number is exceeded, extra files are skipped and only processed
// in the next job run.
MaxFilesInBand *int32
// A Boolean value that specifies whether a single record can span multiple lines.
// This can occur when a field contains a quoted new-line character. You must set
// this option to True if any record spans multiple lines. The default value is
// False , which allows for more aggressive file-splitting during parsing.
Multiline *bool
// A Boolean value that specifies whether to use the advanced SIMD CSV reader
// along with Apache Arrow based columnar memory formats. Only available in Glue
// version 3.0.
OptimizePerformance bool
// Specifies the data schema for the S3 CSV source.
OutputSchemas []GlueSchema
// If set to true, recursively reads files in all subdirectories under the
// specified paths.
Recurse *bool
// A Boolean value that specifies whether to skip the first data line. The default
// value is False .
SkipFirst *bool
// A Boolean value that specifies whether to treat the first line as a header. The
// default value is False .
WithHeader *bool
// A Boolean value that specifies whether to write the header to output. The
// default value is True .
WriteHeader *bool
noSmithyDocumentSerde
}
// Specifies a target that writes to a Delta Lake data source in the Glue Data
// Catalog.
type S3DeltaCatalogTarget struct {
// The name of the database to write to.
//
// This member is required.
Database *string
// The nodes that are inputs to the data target.
//
// This member is required.
Inputs []string
// The name of the data target.
//
// This member is required.
Name *string
// The name of the table in the database to write to.
//
// This member is required.
Table *string
// Specifies additional connection options for the connector.
AdditionalOptions map[string]string
// Specifies native partitioning using a sequence of keys.
PartitionKeys [][]string
// A policy that specifies update behavior for the crawler.
SchemaChangePolicy *CatalogSchemaChangePolicy
noSmithyDocumentSerde
}
// Specifies a target that writes to a Delta Lake data source in Amazon S3.
type S3DeltaDirectTarget struct {
// Specifies how the data is compressed. This is generally not necessary if the
// data has a standard file extension. Possible values are "gzip" and "bzip" ).
//
// This member is required.
Compression DeltaTargetCompressionType
// Specifies the data output format for the target.
//
// This member is required.
Format TargetFormat
// The nodes that are inputs to the data target.
//
// This member is required.
Inputs []string
// The name of the data target.
//
// This member is required.
Name *string
// The Amazon S3 path of your Delta Lake data source to write to.
//
// This member is required.
Path *string
// Specifies additional connection options for the connector.
AdditionalOptions map[string]string
// Specifies native partitioning using a sequence of keys.
PartitionKeys [][]string
// A policy that specifies update behavior for the crawler.
SchemaChangePolicy *DirectSchemaChangePolicy
noSmithyDocumentSerde
}
// Specifies a Delta Lake data source stored in Amazon S3.
type S3DeltaSource struct {
// The name of the Delta Lake source.
//
// This member is required.
Name *string
// A list of the Amazon S3 paths to read from.
//
// This member is required.
Paths []string
// Specifies additional connection options.
AdditionalDeltaOptions map[string]string
// Specifies additional options for the connector.
AdditionalOptions *S3DirectSourceAdditionalOptions
// Specifies the data schema for the Delta Lake source.
OutputSchemas []GlueSchema
noSmithyDocumentSerde
}
// Specifies additional connection options for the Amazon S3 data store.
type S3DirectSourceAdditionalOptions struct {
// Sets the upper limit for the target number of files that will be processed.
BoundedFiles *int64
// Sets the upper limit for the target size of the dataset in bytes that will be
// processed.
BoundedSize *int64
// Sets option to enable a sample path.
EnableSamplePath *bool
// If enabled, specifies the sample path.
SamplePath *string
noSmithyDocumentSerde
}
// Specifies a data target that writes to Amazon S3.
type S3DirectTarget struct {
// Specifies the data output format for the target.
//
// This member is required.
Format TargetFormat
// The nodes that are inputs to the data target.
//
// This member is required.
Inputs []string
// The name of the data target.
//
// This member is required.
Name *string
// A single Amazon S3 path to write to.
//
// This member is required.
Path *string
// Specifies how the data is compressed. This is generally not necessary if the
// data has a standard file extension. Possible values are "gzip" and "bzip" ).
Compression *string
// Specifies native partitioning using a sequence of keys.
PartitionKeys [][]string
// A policy that specifies update behavior for the crawler.
SchemaChangePolicy *DirectSchemaChangePolicy
noSmithyDocumentSerde
}
// Specifies how Amazon Simple Storage Service (Amazon S3) data should be
// encrypted.
type S3Encryption struct {
// The Amazon Resource Name (ARN) of the KMS key to be used to encrypt the data.
KmsKeyArn *string
// The encryption mode to use for Amazon S3 data.
S3EncryptionMode S3EncryptionMode
noSmithyDocumentSerde
}
// Specifies a data target that writes to Amazon S3 in Apache Parquet columnar
// storage.
type S3GlueParquetTarget struct {
// The nodes that are inputs to the data target.
//
// This member is required.
Inputs []string
// The name of the data target.
//
// This member is required.
Name *string
// A single Amazon S3 path to write to.
//
// This member is required.
Path *string
// Specifies how the data is compressed. This is generally not necessary if the
// data has a standard file extension. Possible values are "gzip" and "bzip" ).
Compression ParquetCompressionType
// Specifies native partitioning using a sequence of keys.
PartitionKeys [][]string
// A policy that specifies update behavior for the crawler.
SchemaChangePolicy *DirectSchemaChangePolicy
noSmithyDocumentSerde
}
// Specifies a target that writes to a Hudi data source in the Glue Data Catalog.
type S3HudiCatalogTarget struct {
// Specifies additional connection options for the connector.
//
// This member is required.
AdditionalOptions map[string]string
// The name of the database to write to.
//
// This member is required.
Database *string
// The nodes that are inputs to the data target.
//
// This member is required.
Inputs []string
// The name of the data target.
//
// This member is required.
Name *string
// The name of the table in the database to write to.
//
// This member is required.
Table *string
// Specifies native partitioning using a sequence of keys.
PartitionKeys [][]string
// A policy that specifies update behavior for the crawler.
SchemaChangePolicy *CatalogSchemaChangePolicy
noSmithyDocumentSerde
}
// Specifies a target that writes to a Hudi data source in Amazon S3.
type S3HudiDirectTarget struct {
// Specifies additional connection options for the connector.
//
// This member is required.
AdditionalOptions map[string]string
// Specifies how the data is compressed. This is generally not necessary if the
// data has a standard file extension. Possible values are "gzip" and "bzip" ).
//
// This member is required.
Compression HudiTargetCompressionType
// Specifies the data output format for the target.
//
// This member is required.
Format TargetFormat
// The nodes that are inputs to the data target.
//
// This member is required.
Inputs []string
// The name of the data target.
//
// This member is required.
Name *string
// The Amazon S3 path of your Hudi data source to write to.
//
// This member is required.
Path *string
// Specifies native partitioning using a sequence of keys.
PartitionKeys [][]string
// A policy that specifies update behavior for the crawler.
SchemaChangePolicy *DirectSchemaChangePolicy
noSmithyDocumentSerde
}
// Specifies a Hudi data source stored in Amazon S3.
type S3HudiSource struct {
// The name of the Hudi source.
//
// This member is required.
Name *string
// A list of the Amazon S3 paths to read from.
//
// This member is required.
Paths []string
// Specifies additional connection options.
AdditionalHudiOptions map[string]string
// Specifies additional options for the connector.
AdditionalOptions *S3DirectSourceAdditionalOptions
// Specifies the data schema for the Hudi source.
OutputSchemas []GlueSchema
noSmithyDocumentSerde
}
// Specifies a JSON data store stored in Amazon S3.
type S3JsonSource struct {
// The name of the data store.
//
// This member is required.
Name *string
// A list of the Amazon S3 paths to read from.
//
// This member is required.
Paths []string
// Specifies additional connection options.
AdditionalOptions *S3DirectSourceAdditionalOptions
// Specifies how the data is compressed. This is generally not necessary if the
// data has a standard file extension. Possible values are "gzip" and "bzip" ).
CompressionType CompressionType
// A string containing a JSON list of Unix-style glob patterns to exclude. For
// example, "[\"**.pdf\"]" excludes all PDF files.
Exclusions []string
// Grouping files is turned on by default when the input contains more than 50,000
// files. To turn on grouping with fewer than 50,000 files, set this parameter to
// "inPartition". To disable grouping when there are more than 50,000 files, set
// this parameter to "none" .
GroupFiles *string
// The target group size in bytes. The default is computed based on the input data
// size and the size of your cluster. When there are fewer than 50,000 input files,
// "groupFiles" must be set to "inPartition" for this to take effect.
GroupSize *string
// A JsonPath string defining the JSON data.
JsonPath *string
// This option controls the duration in milliseconds after which the s3 listing is
// likely to be consistent. Files with modification timestamps falling within the
// last maxBand milliseconds are tracked specially when using JobBookmarks to
// account for Amazon S3 eventual consistency. Most users don't need to set this
// option. The default is 900000 milliseconds, or 15 minutes.
MaxBand *int32
// This option specifies the maximum number of files to save from the last maxBand
// seconds. If this number is exceeded, extra files are skipped and only processed
// in the next job run.
MaxFilesInBand *int32
// A Boolean value that specifies whether a single record can span multiple lines.
// This can occur when a field contains a quoted new-line character. You must set
// this option to True if any record spans multiple lines. The default value is
// False , which allows for more aggressive file-splitting during parsing.
Multiline *bool
// Specifies the data schema for the S3 JSON source.
OutputSchemas []GlueSchema
// If set to true, recursively reads files in all subdirectories under the
// specified paths.
Recurse *bool
noSmithyDocumentSerde
}
// Specifies an Apache Parquet data store stored in Amazon S3.
type S3ParquetSource struct {
// The name of the data store.
//
// This member is required.
Name *string
// A list of the Amazon S3 paths to read from.
//
// This member is required.
Paths []string
// Specifies additional connection options.
AdditionalOptions *S3DirectSourceAdditionalOptions
// Specifies how the data is compressed. This is generally not necessary if the
// data has a standard file extension. Possible values are "gzip" and "bzip" ).
CompressionType ParquetCompressionType
// A string containing a JSON list of Unix-style glob patterns to exclude. For
// example, "[\"**.pdf\"]" excludes all PDF files.
Exclusions []string
// Grouping files is turned on by default when the input contains more than 50,000
// files. To turn on grouping with fewer than 50,000 files, set this parameter to
// "inPartition". To disable grouping when there are more than 50,000 files, set
// this parameter to "none" .
GroupFiles *string
// The target group size in bytes. The default is computed based on the input data
// size and the size of your cluster. When there are fewer than 50,000 input files,
// "groupFiles" must be set to "inPartition" for this to take effect.
GroupSize *string
// This option controls the duration in milliseconds after which the s3 listing is
// likely to be consistent. Files with modification timestamps falling within the
// last maxBand milliseconds are tracked specially when using JobBookmarks to
// account for Amazon S3 eventual consistency. Most users don't need to set this
// option. The default is 900000 milliseconds, or 15 minutes.
MaxBand *int32
// This option specifies the maximum number of files to save from the last maxBand
// seconds. If this number is exceeded, extra files are skipped and only processed
// in the next job run.
MaxFilesInBand *int32
// Specifies the data schema for the S3 Parquet source.
OutputSchemas []GlueSchema
// If set to true, recursively reads files in all subdirectories under the
// specified paths.
Recurse *bool
noSmithyDocumentSerde
}
// Specifies additional connection options for the Amazon S3 data store.
type S3SourceAdditionalOptions struct {
// Sets the upper limit for the target number of files that will be processed.
BoundedFiles *int64
// Sets the upper limit for the target size of the dataset in bytes that will be
// processed.
BoundedSize *int64
noSmithyDocumentSerde
}
// Specifies a data store in Amazon Simple Storage Service (Amazon S3).
type S3Target struct {
// The name of a connection which allows a job or crawler to access data in Amazon
// S3 within an Amazon Virtual Private Cloud environment (Amazon VPC).
ConnectionName *string
// A valid Amazon dead-letter SQS ARN. For example,
// arn:aws:sqs:region:account:deadLetterQueue .
DlqEventQueueArn *string
// A valid Amazon SQS ARN. For example, arn:aws:sqs:region:account:sqs .
EventQueueArn *string
// A list of glob patterns used to exclude from the crawl. For more information,
// see Catalog Tables with a Crawler (https://docs.aws.amazon.com/glue/latest/dg/add-crawler.html)
// .
Exclusions []string
// The path to the Amazon S3 target.
Path *string
// Sets the number of files in each leaf folder to be crawled when crawling sample
// files in a dataset. If not set, all the files are crawled. A valid value is an
// integer between 1 and 249.
SampleSize *int32
noSmithyDocumentSerde
}
// A scheduling object using a cron statement to schedule an event.
type Schedule struct {
// A cron expression used to specify the schedule (see Time-Based Schedules for
// Jobs and Crawlers (https://docs.aws.amazon.com/glue/latest/dg/monitor-data-warehouse-schedule.html)
// . For example, to run something every day at 12:15 UTC, you would specify:
// cron(15 12 * * ? *) .
ScheduleExpression *string
// The state of the schedule.
State ScheduleState
noSmithyDocumentSerde
}
// A policy that specifies update and deletion behaviors for the crawler.
type SchemaChangePolicy struct {
// The deletion behavior when the crawler finds a deleted object.
DeleteBehavior DeleteBehavior
// The update behavior when the crawler finds a changed schema.
UpdateBehavior UpdateBehavior
noSmithyDocumentSerde
}
// A key-value pair representing a column and data type that this transform can
// run against. The Schema parameter of the MLTransform may contain up to 100 of
// these structures.
type SchemaColumn struct {
// The type of data in the column.
DataType *string
// The name of the column.
Name *string
noSmithyDocumentSerde
}
// The unique ID of the schema in the Glue schema registry.
type SchemaId struct {
// The name of the schema registry that contains the schema.
RegistryName *string
// The Amazon Resource Name (ARN) of the schema. One of SchemaArn or SchemaName
// has to be provided.
SchemaArn *string
// The name of the schema. One of SchemaArn or SchemaName has to be provided.
SchemaName *string
noSmithyDocumentSerde
}
// An object that contains minimal details for a schema.
type SchemaListItem struct {
// The date and time that a schema was created.
CreatedTime *string
// A description for the schema.
Description *string
// the name of the registry where the schema resides.
RegistryName *string
// The Amazon Resource Name (ARN) for the schema.
SchemaArn *string
// The name of the schema.
SchemaName *string
// The status of the schema.
SchemaStatus SchemaStatus
// The date and time that a schema was updated.
UpdatedTime *string
noSmithyDocumentSerde
}
// An object that references a schema stored in the Glue Schema Registry.
type SchemaReference struct {
// A structure that contains schema identity fields. Either this or the
// SchemaVersionId has to be provided.
SchemaId *SchemaId
// The unique ID assigned to a version of the schema. Either this or the SchemaId
// has to be provided.
SchemaVersionId *string
// The version number of the schema.
SchemaVersionNumber *int64
noSmithyDocumentSerde
}
// An object that contains the error details for an operation on a schema version.
type SchemaVersionErrorItem struct {
// The details of the error for the schema version.
ErrorDetails *ErrorDetails
// The version number of the schema.
VersionNumber *int64
noSmithyDocumentSerde
}
// An object containing the details about a schema version.
type SchemaVersionListItem struct {
// The date and time the schema version was created.
CreatedTime *string
// The Amazon Resource Name (ARN) of the schema.
SchemaArn *string
// The unique identifier of the schema version.
SchemaVersionId *string
// The status of the schema version.
Status SchemaVersionStatus
// The version number of the schema.
VersionNumber *int64
noSmithyDocumentSerde
}
// A structure containing the schema version information.
type SchemaVersionNumber struct {
// The latest version available for the schema.
LatestVersion bool
// The version number of the schema.
VersionNumber *int64
noSmithyDocumentSerde
}
// Specifies a security configuration.
type SecurityConfiguration struct {
// The time at which this security configuration was created.
CreatedTimeStamp *time.Time
// The encryption configuration associated with this security configuration.
EncryptionConfiguration *EncryptionConfiguration
// The name of the security configuration.
Name *string
noSmithyDocumentSerde
}
// Defines a non-overlapping region of a table's partitions, allowing multiple
// requests to be run in parallel.
type Segment struct {
// The zero-based index number of the segment. For example, if the total number of
// segments is 4, SegmentNumber values range from 0 through 3.
//
// This member is required.
SegmentNumber int32
// The total number of segments.
//
// This member is required.
TotalSegments *int32
noSmithyDocumentSerde
}
// Specifies a transform that chooses the data property keys that you want to keep.
type SelectFields struct {
// The data inputs identified by their node names.
//
// This member is required.
Inputs []string
// The name of the transform node.
//
// This member is required.
Name *string
// A JSON path to a variable in the data structure.
//
// This member is required.
Paths [][]string
noSmithyDocumentSerde
}
// Specifies a transform that chooses one DynamicFrame from a collection of
// DynamicFrames . The output is the selected DynamicFrame
type SelectFromCollection struct {
// The index for the DynamicFrame to be selected.
//
// This member is required.
Index int32
// The data inputs identified by their node names.
//
// This member is required.
Inputs []string
// The name of the transform node.
//
// This member is required.
Name *string
noSmithyDocumentSerde
}
// Information about a serialization/deserialization program (SerDe) that serves
// as an extractor and loader.
type SerDeInfo struct {
// Name of the SerDe.
Name *string
// These key-value pairs define initialization parameters for the SerDe.
Parameters map[string]string
// Usually the class that implements the SerDe. An example is
// org.apache.hadoop.hive.serde2.columnar.ColumnarSerDe .
SerializationLibrary *string
noSmithyDocumentSerde
}
// The period in which a remote Spark runtime environment is running.
type Session struct {
// The command object.See SessionCommand.
Command *SessionCommand
// The date and time that this session is completed.
CompletedOn *time.Time
// The number of connections used for the session.
Connections *ConnectionsList
// The time and date when the session was created.
CreatedOn *time.Time
// The DPUs consumed by the session (formula: ExecutionTime * MaxCapacity).
DPUSeconds *float64
// A map array of key-value pairs. Max is 75 pairs.
DefaultArguments map[string]string
// The description of the session.
Description *string
// The error message displayed during the session.
ErrorMessage *string
// The total time the session ran for.
ExecutionTime *float64
// The Glue version determines the versions of Apache Spark and Python that Glue
// supports. The GlueVersion must be greater than 2.0.
GlueVersion *string
// The ID of the session.
Id *string
// The number of minutes when idle before the session times out.
IdleTimeout *int32
// The number of Glue data processing units (DPUs) that can be allocated when the
// job runs. A DPU is a relative measure of processing power that consists of 4
// vCPUs of compute capacity and 16 GB memory.
MaxCapacity *float64
// The number of workers of a defined WorkerType to use for the session.
NumberOfWorkers *int32
// The code execution progress of the session.
Progress float64
// The name or Amazon Resource Name (ARN) of the IAM role associated with the
// Session.
Role *string
// The name of the SecurityConfiguration structure to be used with the session.
SecurityConfiguration *string
// The session status.
Status SessionStatus
// The type of predefined worker that is allocated when a session runs. Accepts a
// value of G.1X , G.2X , G.4X , or G.8X for Spark sessions. Accepts the value Z.2X
// for Ray sessions.
WorkerType WorkerType
noSmithyDocumentSerde
}
// The SessionCommand that runs the job.
type SessionCommand struct {
// Specifies the name of the SessionCommand. Can be 'glueetl' or 'gluestreaming'.
Name *string
// Specifies the Python version. The Python version indicates the version
// supported for jobs of type Spark.
PythonVersion *string
noSmithyDocumentSerde
}
// Specifies skewed values in a table. Skewed values are those that occur with
// very high frequency.
type SkewedInfo struct {
// A list of names of columns that contain skewed values.
SkewedColumnNames []string
// A mapping of skewed values to the columns that contain them.
SkewedColumnValueLocationMaps map[string]string
// A list of values that appear so frequently as to be considered skewed.
SkewedColumnValues []string
noSmithyDocumentSerde
}
// Specifies configuration for Snowflake nodes in Glue Studio.
type SnowflakeNodeData struct {
// Specifies what action to take when writing to a table with preexisting data.
// Valid values: append , merge , truncate , drop .
Action *string
// Specifies additional options passed to the Snowflake connector. If options are
// specified elsewhere in this node, this will take precedence.
AdditionalOptions map[string]string
// Specifies whether automatic query pushdown is enabled. If pushdown is enabled,
// then when a query is run on Spark, if part of the query can be "pushed down" to
// the Snowflake server, it is pushed down. This improves performance of some
// queries.
AutoPushdown bool
// Specifies a Glue Data Catalog Connection to a Snowflake endpoint.
Connection *Option
// Specifies a Snowflake database for your node to use.
Database *string
// Not currently used.
IamRole *Option
// Specifies a merge action. Valid values: simple , custom . If simple, merge
// behavior is defined by MergeWhenMatched and MergeWhenNotMatched . If custom,
// defined by MergeClause .
MergeAction *string
// A SQL statement that specifies a custom merge behavior.
MergeClause *string
// Specifies how to resolve records that match preexisting data when merging.
// Valid values: update , delete .
MergeWhenMatched *string
// Specifies how to process records that do not match preexisting data when
// merging. Valid values: insert , none .
MergeWhenNotMatched *string
// A SQL string run after the Snowflake connector performs its standard actions.
PostAction *string
// A SQL string run before the Snowflake connector performs its standard actions.
PreAction *string
// A SQL string used to retrieve data with the query sourcetype.
SampleQuery *string
// Specifies a Snowflake database schema for your node to use.
Schema *string
// Specifies the columns combined to identify a record when detecting matches for
// merges and upserts. A list of structures with value , label and description
// keys. Each structure describes a column.
SelectedColumns []Option
// Specifies how retrieved data is specified. Valid values: "table" , "query" .
SourceType *string
// The name of a staging table used when performing merge or upsert append
// actions. Data is written to this table, then moved to table by a generated
// postaction.
StagingTable *string
// Specifies a Snowflake table for your node to use.
Table *string
// Manually defines the target schema for the node. A list of structures with value
// , label and description keys. Each structure defines a column.
TableSchema []Option
// Not currently used.
TempDir *string
// Used when Action is append . Specifies the resolution behavior when a row
// already exists. If true, preexisting rows will be updated. If false, those rows
// will be inserted.
Upsert bool
noSmithyDocumentSerde
}
// Specifies a Snowflake data source.
type SnowflakeSource struct {
// Configuration for the Snowflake data source.
//
// This member is required.
Data *SnowflakeNodeData
// The name of the Snowflake data source.
//
// This member is required.
Name *string
// Specifies user-defined schemas for your output data.
OutputSchemas []GlueSchema
noSmithyDocumentSerde
}
// Specifies a Snowflake target.
type SnowflakeTarget struct {
// Specifies the data of the Snowflake target node.
//
// This member is required.
Data *SnowflakeNodeData
// The name of the Snowflake target.
//
// This member is required.
Name *string
// The nodes that are inputs to the data target.
Inputs []string
noSmithyDocumentSerde
}
// Specifies a field to sort by and a sort order.
type SortCriterion struct {
// The name of the field on which to sort.
FieldName *string
// An ascending or descending sort.
Sort Sort
noSmithyDocumentSerde
}
// The details for a source control configuration for a job, allowing
// synchronization of job artifacts to or from a remote repository.
type SourceControlDetails struct {
// The type of authentication, which can be an authentication token stored in
// Amazon Web Services Secrets Manager, or a personal access token.
AuthStrategy SourceControlAuthStrategy
// The value of an authorization token.
AuthToken *string
// An optional branch in the remote repository.
Branch *string
// An optional folder in the remote repository.
Folder *string
// The last commit ID for a commit in the remote repository.
LastCommitId *string
// The owner of the remote repository that contains the job artifacts.
Owner *string
// The provider for the remote repository.
Provider SourceControlProvider
// The name of the remote repository that contains the job artifacts.
Repository *string
noSmithyDocumentSerde
}
// Specifies a connector to an Apache Spark data source.
type SparkConnectorSource struct {
// The name of the connection that is associated with the connector.
//
// This member is required.
ConnectionName *string
// The type of connection, such as marketplace.spark or custom.spark, designating
// a connection to an Apache Spark data store.
//
// This member is required.
ConnectionType *string
// The name of a connector that assists with accessing the data store in Glue
// Studio.
//
// This member is required.
ConnectorName *string
// The name of the data source.
//
// This member is required.
Name *string
// Additional connection options for the connector.
AdditionalOptions map[string]string
// Specifies data schema for the custom spark source.
OutputSchemas []GlueSchema
noSmithyDocumentSerde
}
// Specifies a target that uses an Apache Spark connector.
type SparkConnectorTarget struct {
// The name of a connection for an Apache Spark connector.
//
// This member is required.
ConnectionName *string
// The type of connection, such as marketplace.spark or custom.spark, designating
// a connection to an Apache Spark data store.
//
// This member is required.
ConnectionType *string
// The name of an Apache Spark connector.
//
// This member is required.
ConnectorName *string
// The nodes that are inputs to the data target.
//
// This member is required.
Inputs []string
// The name of the data target.
//
// This member is required.
Name *string
// Additional connection options for the connector.
AdditionalOptions map[string]string
// Specifies the data schema for the custom spark target.
OutputSchemas []GlueSchema
noSmithyDocumentSerde
}
// Specifies a transform where you enter a SQL query using Spark SQL syntax to
// transform the data. The output is a single DynamicFrame .
type SparkSQL struct {
// The data inputs identified by their node names. You can associate a table name
// with each input node to use in the SQL query. The name you choose must meet the
// Spark SQL naming restrictions.
//
// This member is required.
Inputs []string
// The name of the transform node.
//
// This member is required.
Name *string
// A list of aliases. An alias allows you to specify what name to use in the SQL
// for a given input. For example, you have a datasource named "MyDataSource". If
// you specify From as MyDataSource, and Alias as SqlName, then in your SQL you
// can do: select * from SqlName and that gets data from MyDataSource.
//
// This member is required.
SqlAliases []SqlAlias
// A SQL query that must use Spark SQL syntax and return a single data set.
//
// This member is required.
SqlQuery *string
// Specifies the data schema for the SparkSQL transform.
OutputSchemas []GlueSchema
noSmithyDocumentSerde
}
// Specifies a transform that writes samples of the data to an Amazon S3 bucket.
type Spigot struct {
// The data inputs identified by their node names.
//
// This member is required.
Inputs []string
// The name of the transform node.
//
// This member is required.
Name *string
// A path in Amazon S3 where the transform will write a subset of records from the
// dataset to a JSON file in an Amazon S3 bucket.
//
// This member is required.
Path *string
// The probability (a decimal value with a maximum value of 1) of picking any
// given record. A value of 1 indicates that each row read from the dataset should
// be included in the sample output.
Prob *float64
// Specifies a number of records to write starting from the beginning of the
// dataset.
Topk *int32
noSmithyDocumentSerde
}
// Specifies a transform that splits data property keys into two DynamicFrames .
// The output is a collection of DynamicFrames : one with selected data property
// keys, and one with the remaining data property keys.
type SplitFields struct {
// The data inputs identified by their node names.
//
// This member is required.
Inputs []string
// The name of the transform node.
//
// This member is required.
Name *string
// A JSON path to a variable in the data structure.
//
// This member is required.
Paths [][]string
noSmithyDocumentSerde
}
// Represents a single entry in the list of values for SqlAliases .
type SqlAlias struct {
// A temporary name given to a table, or a column in a table.
//
// This member is required.
Alias *string
// A table, or a column in a table.
//
// This member is required.
From *string
noSmithyDocumentSerde
}
// The batch condition that started the workflow run. Either the number of events
// in the batch size arrived, in which case the BatchSize member is non-zero, or
// the batch window expired, in which case the BatchWindow member is non-zero.
type StartingEventBatchCondition struct {
// Number of events in the batch.
BatchSize *int32
// Duration of the batch window in seconds.
BatchWindow *int32
noSmithyDocumentSerde
}
// The statement or request for a particular action to occur in a session.
type Statement struct {
// The execution code of the statement.
Code *string
// The unix time and date that the job definition was completed.
CompletedOn int64
// The ID of the statement.
Id int32
// The output in JSON.
Output *StatementOutput
// The code execution progress.
Progress float64
// The unix time and date that the job definition was started.
StartedOn int64
// The state while request is actioned.
State StatementState
noSmithyDocumentSerde
}
// The code execution output in JSON format.
type StatementOutput struct {
// The code execution output.
Data *StatementOutputData
// The name of the error in the output.
ErrorName *string
// The error value of the output.
ErrorValue *string
// The execution count of the output.
ExecutionCount int32
// The status of the code execution output.
Status StatementState
// The traceback of the output.
Traceback []string
noSmithyDocumentSerde
}
// The code execution output in JSON format.
type StatementOutputData struct {
// The code execution output in text format.
TextPlain *string
noSmithyDocumentSerde
}
// Describes the physical storage of table data.
type StorageDescriptor struct {
// A list of locations that point to the path where a Delta table is located.
AdditionalLocations []string
// A list of reducer grouping columns, clustering columns, and bucketing columns
// in the table.
BucketColumns []string
// A list of the Columns in the table.
Columns []Column
// True if the data in the table is compressed, or False if not.
Compressed bool
// The input format: SequenceFileInputFormat (binary), or TextInputFormat , or a
// custom format.
InputFormat *string
// The physical location of the table. By default, this takes the form of the
// warehouse location, followed by the database location in the warehouse, followed
// by the table name.
Location *string
// Must be specified if the table contains any dimension columns.
NumberOfBuckets int32
// The output format: SequenceFileOutputFormat (binary), or
// IgnoreKeyTextOutputFormat , or a custom format.
OutputFormat *string
// The user-supplied properties in key-value form.
Parameters map[string]string
// An object that references a schema stored in the Glue Schema Registry. When
// creating a table, you can pass an empty list of columns for the schema, and
// instead use a schema reference.
SchemaReference *SchemaReference
// The serialization/deserialization (SerDe) information.
SerdeInfo *SerDeInfo
// The information about values that appear frequently in a column (skewed values).
SkewedInfo *SkewedInfo
// A list specifying the sort order of each bucket in the table.
SortColumns []Order
// True if the table data is stored in subdirectories, or False if not.
StoredAsSubDirectories bool
noSmithyDocumentSerde
}
// Specifies options related to data preview for viewing a sample of your data.
type StreamingDataPreviewOptions struct {
// The polling time in milliseconds.
PollingTime *int64
// The limit to the number of records polled.
RecordPollingLimit *int64
noSmithyDocumentSerde
}
// Defines column statistics supported for character sequence data values.
type StringColumnStatisticsData struct {
// The average string length in the column.
//
// This member is required.
AverageLength float64
// The size of the longest string in the column.
//
// This member is required.
MaximumLength int64
// The number of distinct values in a column.
//
// This member is required.
NumberOfDistinctValues int64
// The number of null values in the column.
//
// This member is required.
NumberOfNulls int64
noSmithyDocumentSerde
}
// A structure specifying the dialect and dialect version used by the query engine.
type SupportedDialect struct {
// The dialect of the query engine.
Dialect ViewDialect
// The version of the dialect of the query engine. For example, 3.0.0.
DialectVersion *string
noSmithyDocumentSerde
}
// Represents a collection of related data organized in columns and rows.
type Table struct {
// The table name. For Hive compatibility, this must be entirely lowercase.
//
// This member is required.
Name *string
// The ID of the Data Catalog in which the table resides.
CatalogId *string
// The time when the table definition was created in the Data Catalog.
CreateTime *time.Time
// The person or entity who created the table.
CreatedBy *string
// The name of the database where the table metadata resides. For Hive
// compatibility, this must be all lowercase.
DatabaseName *string
// A description of the table.
Description *string
// A FederatedTable structure that references an entity outside the Glue Data
// Catalog.
FederatedTable *FederatedTable
// Indicates whether the table has been registered with Lake Formation.
IsRegisteredWithLakeFormation bool
// The last time that the table was accessed. This is usually taken from HDFS, and
// might not be reliable.
LastAccessTime *time.Time
// The last time that column statistics were computed for this table.
LastAnalyzedTime *time.Time
// The owner of the table.
Owner *string
// These key-value pairs define properties associated with the table.
Parameters map[string]string
// A list of columns by which the table is partitioned. Only primitive types are
// supported as partition keys. When you create a table used by Amazon Athena, and
// you do not specify any partitionKeys , you must at least set the value of
// partitionKeys to an empty list. For example: "PartitionKeys": []
PartitionKeys []Column
// The retention time for this table.
Retention int32
// A storage descriptor containing information about the physical storage of this
// table.
StorageDescriptor *StorageDescriptor
// The type of this table. Glue will create tables with the EXTERNAL_TABLE type.
// Other services, such as Athena, may create tables with additional table types.
// Glue related table types: EXTERNAL_TABLE Hive compatible attribute - indicates a
// non-Hive managed table. GOVERNED Used by Lake Formation. The Glue Data Catalog
// understands GOVERNED .
TableType *string
// A TableIdentifier structure that describes a target table for resource linking.
TargetTable *TableIdentifier
// The last time that the table was updated.
UpdateTime *time.Time
// The ID of the table version.
VersionId *string
// Included for Apache Hive compatibility. Not used in the normal course of Glue
// operations.
ViewExpandedText *string
// Included for Apache Hive compatibility. Not used in the normal course of Glue
// operations. If the table is a VIRTUAL_VIEW , certain Athena configuration
// encoded in base64.
ViewOriginalText *string
noSmithyDocumentSerde
}
// An error record for table operations.
type TableError struct {
// The details about the error.
ErrorDetail *ErrorDetail
// The name of the table. For Hive compatibility, this must be entirely lowercase.
TableName *string
noSmithyDocumentSerde
}
// A structure that describes a target table for resource linking.
type TableIdentifier struct {
// The ID of the Data Catalog in which the table resides.
CatalogId *string
// The name of the catalog database that contains the target table.
DatabaseName *string
// The name of the target table.
Name *string
// Region of the target table.
Region *string
noSmithyDocumentSerde
}
// A structure used to define a table.
type TableInput struct {
// The table name. For Hive compatibility, this is folded to lowercase when it is
// stored.
//
// This member is required.
Name *string
// A description of the table.
Description *string
// The last time that the table was accessed.
LastAccessTime *time.Time
// The last time that column statistics were computed for this table.
LastAnalyzedTime *time.Time
// The table owner. Included for Apache Hive compatibility. Not used in the normal
// course of Glue operations.
Owner *string
// These key-value pairs define properties associated with the table.
Parameters map[string]string
// A list of columns by which the table is partitioned. Only primitive types are
// supported as partition keys. When you create a table used by Amazon Athena, and
// you do not specify any partitionKeys , you must at least set the value of
// partitionKeys to an empty list. For example: "PartitionKeys": []
PartitionKeys []Column
// The retention time for this table.
Retention int32
// A storage descriptor containing information about the physical storage of this
// table.
StorageDescriptor *StorageDescriptor
// The type of this table. Glue will create tables with the EXTERNAL_TABLE type.
// Other services, such as Athena, may create tables with additional table types.
// Glue related table types: EXTERNAL_TABLE Hive compatible attribute - indicates a
// non-Hive managed table. GOVERNED Used by Lake Formation. The Glue Data Catalog
// understands GOVERNED .
TableType *string
// A TableIdentifier structure that describes a target table for resource linking.
TargetTable *TableIdentifier
// Included for Apache Hive compatibility. Not used in the normal course of Glue
// operations.
ViewExpandedText *string
// Included for Apache Hive compatibility. Not used in the normal course of Glue
// operations. If the table is a VIRTUAL_VIEW , certain Athena configuration
// encoded in base64.
ViewOriginalText *string
noSmithyDocumentSerde
}
// Contains details about an optimizer associated with a table.
type TableOptimizer struct {
// A TableOptimizerConfiguration object that was specified when creating or
// updating a table optimizer.
Configuration *TableOptimizerConfiguration
// A TableOptimizerRun object representing the last run of the table optimizer.
LastRun *TableOptimizerRun
// The type of table optimizer. Currently, the only valid value is compaction .
Type TableOptimizerType
noSmithyDocumentSerde
}
// Contains details on the configuration of a table optimizer. You pass this
// configuration when creating or updating a table optimizer.
type TableOptimizerConfiguration struct {
// Whether table optimization is enabled.
Enabled *bool
// A role passed by the caller which gives the service permission to update the
// resources associated with the optimizer on the caller's behalf.
RoleArn *string
noSmithyDocumentSerde
}
// Contains details for a table optimizer run.
type TableOptimizerRun struct {
// Represents the epoch timestamp at which the compaction job ended.
EndTimestamp *time.Time
// An error that occured during the optimizer run.
Error *string
// An event type representing the status of the table optimizer run.
EventType TableOptimizerEventType
// A RunMetrics object containing metrics for the optimizer run.
Metrics *RunMetrics
// Represents the epoch timestamp at which the compaction job was started within
// Lake Formation.
StartTimestamp *time.Time
noSmithyDocumentSerde
}
// Specifies a version of a table.
type TableVersion struct {
// The table in question.
Table *Table
// The ID value that identifies this table version. A VersionId is a string
// representation of an integer. Each version is incremented by 1.
VersionId *string
noSmithyDocumentSerde
}
// An error record for table-version operations.
type TableVersionError struct {
// The details about the error.
ErrorDetail *ErrorDetail
// The name of the table in question.
TableName *string
// The ID value of the version in question. A VersionID is a string representation
// of an integer. Each version is incremented by 1.
VersionId *string
noSmithyDocumentSerde
}
// The sampling parameters that are associated with the machine learning transform.
type TaskRun struct {
// The last point in time that the requested task run was completed.
CompletedOn *time.Time
// The list of error strings associated with this task run.
ErrorString *string
// The amount of time (in seconds) that the task run consumed resources.
ExecutionTime int32
// The last point in time that the requested task run was updated.
LastModifiedOn *time.Time
// The names of the log group for secure logging, associated with this task run.
LogGroupName *string
// Specifies configuration properties associated with this task run.
Properties *TaskRunProperties
// The date and time that this task run started.
StartedOn *time.Time
// The current status of the requested task run.
Status TaskStatusType
// The unique identifier for this task run.
TaskRunId *string
// The unique identifier for the transform.
TransformId *string
noSmithyDocumentSerde
}
// The criteria that are used to filter the task runs for the machine learning
// transform.
type TaskRunFilterCriteria struct {
// Filter on task runs started after this date.
StartedAfter *time.Time
// Filter on task runs started before this date.
StartedBefore *time.Time
// The current status of the task run.
Status TaskStatusType
// The type of task run.
TaskRunType TaskType
noSmithyDocumentSerde
}
// The configuration properties for the task run.
type TaskRunProperties struct {
// The configuration properties for an exporting labels task run.
ExportLabelsTaskRunProperties *ExportLabelsTaskRunProperties
// The configuration properties for a find matches task run.
FindMatchesTaskRunProperties *FindMatchesTaskRunProperties
// The configuration properties for an importing labels task run.
ImportLabelsTaskRunProperties *ImportLabelsTaskRunProperties
// The configuration properties for a labeling set generation task run.
LabelingSetGenerationTaskRunProperties *LabelingSetGenerationTaskRunProperties
// The type of task run.
TaskType TaskType
noSmithyDocumentSerde
}
// The sorting criteria that are used to sort the list of task runs for the
// machine learning transform.
type TaskRunSortCriteria struct {
// The column to be used to sort the list of task runs for the machine learning
// transform.
//
// This member is required.
Column TaskRunSortColumnType
// The sort direction to be used to sort the list of task runs for the machine
// learning transform.
//
// This member is required.
SortDirection SortDirectionType
noSmithyDocumentSerde
}
// Specifies the parameters in the config file of the dynamic transform.
type TransformConfigParameter struct {
// Specifies the name of the parameter in the config file of the dynamic transform.
//
// This member is required.
Name *string
// Specifies the parameter type in the config file of the dynamic transform.
//
// This member is required.
Type ParamType
// Specifies whether the parameter is optional or not in the config file of the
// dynamic transform.
IsOptional *bool
// Specifies the list type of the parameter in the config file of the dynamic
// transform.
ListType ParamType
// Specifies the validation message in the config file of the dynamic transform.
ValidationMessage *string
// Specifies the validation rule in the config file of the dynamic transform.
ValidationRule *string
// Specifies the value of the parameter in the config file of the dynamic
// transform.
Value []string
noSmithyDocumentSerde
}
// The encryption-at-rest settings of the transform that apply to accessing user
// data. Machine learning transforms can access user data encrypted in Amazon S3
// using KMS. Additionally, imported labels and trained transforms can now be
// encrypted using a customer provided KMS key.
type TransformEncryption struct {
// An MLUserDataEncryption object containing the encryption mode and
// customer-provided KMS key ID.
MlUserDataEncryption *MLUserDataEncryption
// The name of the security configuration.
TaskRunSecurityConfigurationName *string
noSmithyDocumentSerde
}
// The criteria used to filter the machine learning transforms.
type TransformFilterCriteria struct {
// The time and date after which the transforms were created.
CreatedAfter *time.Time
// The time and date before which the transforms were created.
CreatedBefore *time.Time
// This value determines which version of Glue this machine learning transform is
// compatible with. Glue 1.0 is recommended for most customers. If the value is not
// set, the Glue compatibility defaults to Glue 0.9. For more information, see
// Glue Versions (https://docs.aws.amazon.com/glue/latest/dg/release-notes.html#release-notes-versions)
// in the developer guide.
GlueVersion *string
// Filter on transforms last modified after this date.
LastModifiedAfter *time.Time
// Filter on transforms last modified before this date.
LastModifiedBefore *time.Time
// A unique transform name that is used to filter the machine learning transforms.
Name *string
// Filters on datasets with a specific schema. The Map object is an array of
// key-value pairs representing the schema this transform accepts, where Column is
// the name of a column, and Type is the type of the data such as an integer or
// string. Has an upper bound of 100 columns.
Schema []SchemaColumn
// Filters the list of machine learning transforms by the last known status of the
// transforms (to indicate whether a transform can be used or not). One of
// "NOT_READY", "READY", or "DELETING".
Status TransformStatusType
// The type of machine learning transform that is used to filter the machine
// learning transforms.
TransformType TransformType
noSmithyDocumentSerde
}
// The algorithm-specific parameters that are associated with the machine learning
// transform.
type TransformParameters struct {
// The type of machine learning transform. For information about the types of
// machine learning transforms, see Creating Machine Learning Transforms (https://docs.aws.amazon.com/glue/latest/dg/add-job-machine-learning-transform.html)
// .
//
// This member is required.
TransformType TransformType
// The parameters for the find matches algorithm.
FindMatchesParameters *FindMatchesParameters
noSmithyDocumentSerde
}
// The sorting criteria that are associated with the machine learning transform.
type TransformSortCriteria struct {
// The column to be used in the sorting criteria that are associated with the
// machine learning transform.
//
// This member is required.
Column TransformSortColumnType
// The sort direction to be used in the sorting criteria that are associated with
// the machine learning transform.
//
// This member is required.
SortDirection SortDirectionType
noSmithyDocumentSerde
}
// Information about a specific trigger.
type Trigger struct {
// The actions initiated by this trigger.
Actions []Action
// A description of this trigger.
Description *string
// Batch condition that must be met (specified number of events received or batch
// time window expired) before EventBridge event trigger fires.
EventBatchingCondition *EventBatchingCondition
// Reserved for future use.
Id *string
// The name of the trigger.
Name *string
// The predicate of this trigger, which defines when it will fire.
Predicate *Predicate
// A cron expression used to specify the schedule (see Time-Based Schedules for
// Jobs and Crawlers (https://docs.aws.amazon.com/glue/latest/dg/monitor-data-warehouse-schedule.html)
// . For example, to run something every day at 12:15 UTC, you would specify:
// cron(15 12 * * ? *) .
Schedule *string
// The current state of the trigger.
State TriggerState
// The type of trigger that this is.
Type TriggerType
// The name of the workflow associated with the trigger.
WorkflowName *string
noSmithyDocumentSerde
}
// The details of a Trigger node present in the workflow.
type TriggerNodeDetails struct {
// The information of the trigger represented by the trigger node.
Trigger *Trigger
noSmithyDocumentSerde
}
// A structure used to provide information used to update a trigger. This object
// updates the previous trigger definition by overwriting it completely.
type TriggerUpdate struct {
// The actions initiated by this trigger.
Actions []Action
// A description of this trigger.
Description *string
// Batch condition that must be met (specified number of events received or batch
// time window expired) before EventBridge event trigger fires.
EventBatchingCondition *EventBatchingCondition
// Reserved for future use.
Name *string
// The predicate of this trigger, which defines when it will fire.
Predicate *Predicate
// A cron expression used to specify the schedule (see Time-Based Schedules for
// Jobs and Crawlers (https://docs.aws.amazon.com/glue/latest/dg/monitor-data-warehouse-schedule.html)
// . For example, to run something every day at 12:15 UTC, you would specify:
// cron(15 12 * * ? *) .
Schedule *string
noSmithyDocumentSerde
}
// A partition that contains unfiltered metadata.
type UnfilteredPartition struct {
// The list of columns the user has permissions to access.
AuthorizedColumns []string
// A Boolean value indicating that the partition location is registered with Lake
// Formation.
IsRegisteredWithLakeFormation bool
// The partition object.
Partition *Partition
noSmithyDocumentSerde
}
// Specifies a transform that combines the rows from two or more datasets into a
// single result.
type Union struct {
// The node ID inputs to the transform.
//
// This member is required.
Inputs []string
// The name of the transform node.
//
// This member is required.
Name *string
// Indicates the type of Union transform. Specify ALL to join all rows from data
// sources to the resulting DynamicFrame. The resulting union does not remove
// duplicate rows. Specify DISTINCT to remove duplicate rows in the resulting
// DynamicFrame.
//
// This member is required.
UnionType UnionType
noSmithyDocumentSerde
}
// Specifies a custom CSV classifier to be updated.
type UpdateCsvClassifierRequest struct {
// The name of the classifier.
//
// This member is required.
Name *string
// Enables the processing of files that contain only one column.
AllowSingleColumn *bool
// Indicates whether the CSV file contains a header.
ContainsHeader CsvHeaderOption
// Specifies the configuration of custom datatypes.
CustomDatatypeConfigured *bool
// Specifies a list of supported custom datatypes.
CustomDatatypes []string
// A custom symbol to denote what separates each column entry in the row.
Delimiter *string
// Specifies not to trim values before identifying the type of column values. The
// default value is true.
DisableValueTrimming *bool
// A list of strings representing column names.
Header []string
// A custom symbol to denote what combines content into a single column value. It
// must be different from the column delimiter.
QuoteSymbol *string
// Sets the SerDe for processing CSV in the classifier, which will be applied in
// the Data Catalog. Valid values are OpenCSVSerDe , LazySimpleSerDe , and None .
// You can specify the None value when you want the crawler to do the detection.
Serde CsvSerdeOption
noSmithyDocumentSerde
}
// Specifies a grok classifier to update when passed to UpdateClassifier .
type UpdateGrokClassifierRequest struct {
// The name of the GrokClassifier .
//
// This member is required.
Name *string
// An identifier of the data format that the classifier matches, such as Twitter,
// JSON, Omniture logs, Amazon CloudWatch Logs, and so on.
Classification *string
// Optional custom grok patterns used by this classifier.
CustomPatterns *string
// The grok pattern used by this classifier.
GrokPattern *string
noSmithyDocumentSerde
}
// Specifies a JSON classifier to be updated.
type UpdateJsonClassifierRequest struct {
// The name of the classifier.
//
// This member is required.
Name *string
// A JsonPath string defining the JSON data for the classifier to classify. Glue
// supports a subset of JsonPath, as described in Writing JsonPath Custom
// Classifiers (https://docs.aws.amazon.com/glue/latest/dg/custom-classifier.html#custom-classifier-json)
// .
JsonPath *string
noSmithyDocumentSerde
}
// Specifies an XML classifier to be updated.
type UpdateXMLClassifierRequest struct {
// The name of the classifier.
//
// This member is required.
Name *string
// An identifier of the data format that the classifier matches.
Classification *string
// The XML tag designating the element that contains each record in an XML
// document being parsed. This cannot identify a self-closing element (closed by />
// ). An empty row element that contains only attributes can be parsed as long as
// it ends with a closing tag (for example, is okay, but is not).
RowTag *string
noSmithyDocumentSerde
}
// The options to configure an upsert operation when writing to a Redshift target .
type UpsertRedshiftTargetOptions struct {
// The name of the connection to use to write to Redshift.
ConnectionName *string
// The physical location of the Redshift table.
TableLocation *string
// The keys used to determine whether to perform an update or insert.
UpsertKeys []string
noSmithyDocumentSerde
}
// Represents the equivalent of a Hive user-defined function ( UDF ) definition.
type UserDefinedFunction struct {
// The ID of the Data Catalog in which the function resides.
CatalogId *string
// The Java class that contains the function code.
ClassName *string
// The time at which the function was created.
CreateTime *time.Time
// The name of the catalog database that contains the function.
DatabaseName *string
// The name of the function.
FunctionName *string
// The owner of the function.
OwnerName *string
// The owner type.
OwnerType PrincipalType
// The resource URIs for the function.
ResourceUris []ResourceUri
noSmithyDocumentSerde
}
// A structure used to create or update a user-defined function.
type UserDefinedFunctionInput struct {
// The Java class that contains the function code.
ClassName *string
// The name of the function.
FunctionName *string
// The owner of the function.
OwnerName *string
// The owner type.
OwnerType PrincipalType
// The resource URIs for the function.
ResourceUris []ResourceUri
noSmithyDocumentSerde
}
// A workflow is a collection of multiple dependent Glue jobs and crawlers that
// are run to complete a complex ETL task. A workflow manages the execution and
// monitoring of all its jobs and crawlers.
type Workflow struct {
// This structure indicates the details of the blueprint that this particular
// workflow is created from.
BlueprintDetails *BlueprintDetails
// The date and time when the workflow was created.
CreatedOn *time.Time
// A collection of properties to be used as part of each execution of the
// workflow. The run properties are made available to each job in the workflow. A
// job can modify the properties for the next jobs in the flow.
DefaultRunProperties map[string]string
// A description of the workflow.
Description *string
// The graph representing all the Glue components that belong to the workflow as
// nodes and directed connections between them as edges.
Graph *WorkflowGraph
// The date and time when the workflow was last modified.
LastModifiedOn *time.Time
// The information about the last execution of the workflow.
LastRun *WorkflowRun
// You can use this parameter to prevent unwanted multiple updates to data, to
// control costs, or in some cases, to prevent exceeding the maximum number of
// concurrent runs of any of the component jobs. If you leave this parameter blank,
// there is no limit to the number of concurrent workflow runs.
MaxConcurrentRuns *int32
// The name of the workflow.
Name *string
noSmithyDocumentSerde
}
// A workflow graph represents the complete workflow containing all the Glue
// components present in the workflow and all the directed connections between
// them.
type WorkflowGraph struct {
// A list of all the directed connections between the nodes belonging to the
// workflow.
Edges []Edge
// A list of the the Glue components belong to the workflow represented as nodes.
Nodes []Node
noSmithyDocumentSerde
}
// A workflow run is an execution of a workflow providing all the runtime
// information.
type WorkflowRun struct {
// The date and time when the workflow run completed.
CompletedOn *time.Time
// This error message describes any error that may have occurred in starting the
// workflow run. Currently the only error message is "Concurrent runs exceeded for
// workflow: foo ."
ErrorMessage *string
// The graph representing all the Glue components that belong to the workflow as
// nodes and directed connections between them as edges.
Graph *WorkflowGraph
// Name of the workflow that was run.
Name *string
// The ID of the previous workflow run.
PreviousRunId *string
// The date and time when the workflow run was started.
StartedOn *time.Time
// The batch condition that started the workflow run.
StartingEventBatchCondition *StartingEventBatchCondition
// The statistics of the run.
Statistics *WorkflowRunStatistics
// The status of the workflow run.
Status WorkflowRunStatus
// The ID of this workflow run.
WorkflowRunId *string
// The workflow run properties which were set during the run.
WorkflowRunProperties map[string]string
noSmithyDocumentSerde
}
// Workflow run statistics provides statistics about the workflow run.
type WorkflowRunStatistics struct {
// Indicates the count of job runs in the ERROR state in the workflow run.
ErroredActions int32
// Total number of Actions that have failed.
FailedActions int32
// Total number Actions in running state.
RunningActions int32
// Total number of Actions that have stopped.
StoppedActions int32
// Total number of Actions that have succeeded.
SucceededActions int32
// Total number of Actions that timed out.
TimeoutActions int32
// Total number of Actions in the workflow run.
TotalActions int32
// Indicates the count of job runs in WAITING state in the workflow run.
WaitingActions int32
noSmithyDocumentSerde
}
// A classifier for XML content.
type XMLClassifier struct {
// An identifier of the data format that the classifier matches.
//
// This member is required.
Classification *string
// The name of the classifier.
//
// This member is required.
Name *string
// The time that this classifier was registered.
CreationTime *time.Time
// The time that this classifier was last updated.
LastUpdated *time.Time
// The XML tag designating the element that contains each record in an XML
// document being parsed. This can't identify a self-closing element (closed by />
// ). An empty row element that contains only attributes can be parsed as long as
// it ends with a closing tag (for example, is okay, but is not).
RowTag *string
// The version of this classifier.
Version int64
noSmithyDocumentSerde
}
type noSmithyDocumentSerde = smithydocument.NoSerde
|