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
|
// Code generated by smithy-go-codegen DO NOT EDIT.
package types
import (
smithydocument "github.com/aws/smithy-go/document"
"time"
)
// Describes a quota for an Amazon Web Services account.
//
// The following are account quotas:
//
// - AllocatedStorage - The total allocated storage per account, in GiB. The used
// value is the total allocated storage in the account, in GiB.
//
// - AuthorizationsPerDBSecurityGroup - The number of ingress rules per DB
// security group. The used value is the highest number of ingress rules in a DB
// security group in the account. Other DB security groups in the account might
// have a lower number of ingress rules.
//
// - CustomEndpointsPerDBCluster - The number of custom endpoints per DB cluster.
// The used value is the highest number of custom endpoints in a DB clusters in the
// account. Other DB clusters in the account might have a lower number of custom
// endpoints.
//
// - DBClusterParameterGroups - The number of DB cluster parameter groups per
// account, excluding default parameter groups. The used value is the count of
// nondefault DB cluster parameter groups in the account.
//
// - DBClusterRoles - The number of associated Amazon Web Services Identity and
// Access Management (IAM) roles per DB cluster. The used value is the highest
// number of associated IAM roles for a DB cluster in the account. Other DB
// clusters in the account might have a lower number of associated IAM roles.
//
// - DBClusters - The number of DB clusters per account. The used value is the
// count of DB clusters in the account.
//
// - DBInstanceRoles - The number of associated IAM roles per DB instance. The
// used value is the highest number of associated IAM roles for a DB instance in
// the account. Other DB instances in the account might have a lower number of
// associated IAM roles.
//
// - DBInstances - The number of DB instances per account. The used value is the
// count of the DB instances in the account.
//
// Amazon RDS DB instances, Amazon Aurora DB instances, Amazon Neptune instances,
//
// and Amazon DocumentDB instances apply to this quota.
//
// - DBParameterGroups - The number of DB parameter groups per account, excluding
// default parameter groups. The used value is the count of nondefault DB parameter
// groups in the account.
//
// - DBSecurityGroups - The number of DB security groups (not VPC security
// groups) per account, excluding the default security group. The used value is the
// count of nondefault DB security groups in the account.
//
// - DBSubnetGroups - The number of DB subnet groups per account. The used value
// is the count of the DB subnet groups in the account.
//
// - EventSubscriptions - The number of event subscriptions per account. The used
// value is the count of the event subscriptions in the account.
//
// - ManualClusterSnapshots - The number of manual DB cluster snapshots per
// account. The used value is the count of the manual DB cluster snapshots in the
// account.
//
// - ManualSnapshots - The number of manual DB instance snapshots per account.
// The used value is the count of the manual DB instance snapshots in the account.
//
// - OptionGroups - The number of DB option groups per account, excluding default
// option groups. The used value is the count of nondefault DB option groups in the
// account.
//
// - ReadReplicasPerMaster - The number of read replicas per DB instance. The
// used value is the highest number of read replicas for a DB instance in the
// account. Other DB instances in the account might have a lower number of read
// replicas.
//
// - ReservedDBInstances - The number of reserved DB instances per account. The
// used value is the count of the active reserved DB instances in the account.
//
// - SubnetsPerDBSubnetGroup - The number of subnets per DB subnet group. The
// used value is highest number of subnets for a DB subnet group in the account.
// Other DB subnet groups in the account might have a lower number of subnets.
//
// For more information, see [Quotas for Amazon RDS] in the Amazon RDS User Guide and [Quotas for Amazon Aurora] in the Amazon
// Aurora User Guide.
//
// [Quotas for Amazon RDS]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Limits.html
// [Quotas for Amazon Aurora]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/CHAP_Limits.html
type AccountQuota struct {
// The name of the Amazon RDS quota for this Amazon Web Services account.
AccountQuotaName *string
// The maximum allowed value for the quota.
Max *int64
// The amount currently used toward the quota maximum.
Used *int64
noSmithyDocumentSerde
}
// Contains Availability Zone information.
//
// This data type is used as an element in the OrderableDBInstanceOption data type.
type AvailabilityZone struct {
// The name of the Availability Zone.
Name *string
noSmithyDocumentSerde
}
// Contains the available processor feature information for the DB instance class
// of a DB instance.
//
// For more information, see [Configuring the Processor of the DB Instance Class] in the Amazon RDS User Guide.
//
// [Configuring the Processor of the DB Instance Class]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.DBInstanceClass.html#USER_ConfigureProcessor
type AvailableProcessorFeature struct {
// The allowed values for the processor feature of the DB instance class.
AllowedValues *string
// The default value for the processor feature of the DB instance class.
DefaultValue *string
// The name of the processor feature. Valid names are coreCount and threadsPerCore .
Name *string
noSmithyDocumentSerde
}
// Details about a blue/green deployment.
//
// For more information, see [Using Amazon RDS Blue/Green Deployments for database updates] in the Amazon RDS User Guide and [Using Amazon RDS Blue/Green Deployments for database updates] in the Amazon
// Aurora User Guide.
//
// [Using Amazon RDS Blue/Green Deployments for database updates]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/blue-green-deployments.html
type BlueGreenDeployment struct {
// The unique identifier of the blue/green deployment.
BlueGreenDeploymentIdentifier *string
// The user-supplied name of the blue/green deployment.
BlueGreenDeploymentName *string
// The time when the blue/green deployment was created, in Universal Coordinated
// Time (UTC).
CreateTime *time.Time
// The time when the blue/green deployment was deleted, in Universal Coordinated
// Time (UTC).
DeleteTime *time.Time
// The source database for the blue/green deployment.
//
// Before switchover, the source database is the production database in the blue
// environment.
Source *string
// The status of the blue/green deployment.
//
// Valid Values:
//
// - PROVISIONING - Resources are being created in the green environment.
//
// - AVAILABLE - Resources are available in the green environment.
//
// - SWITCHOVER_IN_PROGRESS - The deployment is being switched from the blue
// environment to the green environment.
//
// - SWITCHOVER_COMPLETED - Switchover from the blue environment to the green
// environment is complete.
//
// - INVALID_CONFIGURATION - Resources in the green environment are invalid, so
// switchover isn't possible.
//
// - SWITCHOVER_FAILED - Switchover was attempted but failed.
//
// - DELETING - The blue/green deployment is being deleted.
Status *string
// Additional information about the status of the blue/green deployment.
StatusDetails *string
// The details about each source and target resource in the blue/green deployment.
SwitchoverDetails []SwitchoverDetail
// A list of tags. For more information, see [Tagging Amazon RDS Resources] in the Amazon RDS User Guide.
//
// [Tagging Amazon RDS Resources]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html
TagList []Tag
// The target database for the blue/green deployment.
//
// Before switchover, the target database is the clone database in the green
// environment.
Target *string
// Either tasks to be performed or tasks that have been completed on the target
// database before switchover.
Tasks []BlueGreenDeploymentTask
noSmithyDocumentSerde
}
// Details about a task for a blue/green deployment.
//
// For more information, see [Using Amazon RDS Blue/Green Deployments for database updates] in the Amazon RDS User Guide and [Using Amazon RDS Blue/Green Deployments for database updates] in the Amazon
// Aurora User Guide.
//
// [Using Amazon RDS Blue/Green Deployments for database updates]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/blue-green-deployments.html
type BlueGreenDeploymentTask struct {
// The name of the blue/green deployment task.
Name *string
// The status of the blue/green deployment task.
//
// Valid Values:
//
// - PENDING - The resource is being prepared for deployment.
//
// - IN_PROGRESS - The resource is being deployed.
//
// - COMPLETED - The resource has been deployed.
//
// - FAILED - Deployment of the resource failed.
Status *string
noSmithyDocumentSerde
}
// A CA certificate for an Amazon Web Services account.
//
// For more information, see [Using SSL/TLS to encrypt a connection to a DB instance] in the Amazon RDS User Guide and [Using SSL/TLS to encrypt a connection to a DB cluster] in the Amazon
// Aurora User Guide.
//
// [Using SSL/TLS to encrypt a connection to a DB cluster]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/UsingWithRDS.SSL.html
// [Using SSL/TLS to encrypt a connection to a DB instance]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.SSL.html
type Certificate struct {
// The Amazon Resource Name (ARN) for the certificate.
CertificateArn *string
// The unique key that identifies a certificate.
CertificateIdentifier *string
// The type of the certificate.
CertificateType *string
// Indicates whether there is an override for the default certificate identifier.
CustomerOverride *bool
// If there is an override for the default certificate identifier, when the
// override expires.
CustomerOverrideValidTill *time.Time
// The thumbprint of the certificate.
Thumbprint *string
// The starting date from which the certificate is valid.
ValidFrom *time.Time
// The final date that the certificate continues to be valid.
ValidTill *time.Time
noSmithyDocumentSerde
}
// The details of the DB instance’s server certificate.
//
// For more information, see [Using SSL/TLS to encrypt a connection to a DB instance] in the Amazon RDS User Guide and [Using SSL/TLS to encrypt a connection to a DB cluster] in the Amazon
// Aurora User Guide.
//
// [Using SSL/TLS to encrypt a connection to a DB cluster]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/UsingWithRDS.SSL.html
// [Using SSL/TLS to encrypt a connection to a DB instance]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.SSL.html
type CertificateDetails struct {
// The CA identifier of the CA certificate used for the DB instance's server
// certificate.
CAIdentifier *string
// The expiration date of the DB instance’s server certificate.
ValidTill *time.Time
noSmithyDocumentSerde
}
// This data type is used as a response element in the action
// DescribeDBEngineVersions .
type CharacterSet struct {
// The description of the character set.
CharacterSetDescription *string
// The name of the character set.
CharacterSetName *string
noSmithyDocumentSerde
}
// The configuration setting for the log types to be enabled for export to
// CloudWatch Logs for a specific DB instance or DB cluster.
//
// The EnableLogTypes and DisableLogTypes arrays determine which logs will be
// exported (or not exported) to CloudWatch Logs. The values within these arrays
// depend on the DB engine being used.
//
// For more information about exporting CloudWatch Logs for Amazon RDS DB
// instances, see [Publishing Database Logs to Amazon CloudWatch Logs]in the Amazon RDS User Guide.
//
// For more information about exporting CloudWatch Logs for Amazon Aurora DB
// clusters, see [Publishing Database Logs to Amazon CloudWatch Logs]in the Amazon Aurora User Guide.
//
// [Publishing Database Logs to Amazon CloudWatch Logs]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_LogAccess.html#USER_LogAccess.Procedural.UploadtoCloudWatch
type CloudwatchLogsExportConfiguration struct {
// The list of log types to disable.
DisableLogTypes []string
// The list of log types to enable.
EnableLogTypes []string
noSmithyDocumentSerde
}
// This data type is used as a response element in the ModifyDBCluster operation
// and contains changes that will be applied during the next maintenance window.
type ClusterPendingModifiedValues struct {
// The allocated storage size in gibibytes (GiB) for all database engines except
// Amazon Aurora. For Aurora, AllocatedStorage always returns 1, because Aurora DB
// cluster storage size isn't fixed, but instead automatically adjusts as needed.
AllocatedStorage *int32
// The number of days for which automatic DB snapshots are retained.
BackupRetentionPeriod *int32
// The details of the DB instance’s server certificate.
//
// For more information, see [Using SSL/TLS to encrypt a connection to a DB instance] in the Amazon RDS User Guide and [Using SSL/TLS to encrypt a connection to a DB cluster] in the Amazon
// Aurora User Guide.
//
// [Using SSL/TLS to encrypt a connection to a DB cluster]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/UsingWithRDS.SSL.html
// [Using SSL/TLS to encrypt a connection to a DB instance]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.SSL.html
CertificateDetails *CertificateDetails
// The DBClusterIdentifier value for the DB cluster.
DBClusterIdentifier *string
// The database engine version.
EngineVersion *string
// Indicates whether mapping of Amazon Web Services Identity and Access Management
// (IAM) accounts to database accounts is enabled.
IAMDatabaseAuthenticationEnabled *bool
// The Provisioned IOPS (I/O operations per second) value. This setting is only
// for non-Aurora Multi-AZ DB clusters.
Iops *int32
// The master credentials for the DB cluster.
MasterUserPassword *string
// A list of the log types whose configuration is still pending. In other words,
// these log types are in the process of being activated or deactivated.
PendingCloudwatchLogsExports *PendingCloudwatchLogsExports
// Reserved for future use.
RdsCustomClusterConfiguration *RdsCustomClusterConfiguration
// The storage type for the DB cluster.
StorageType *string
noSmithyDocumentSerde
}
// Specifies the settings that control the size and behavior of the connection
// pool associated with a DBProxyTargetGroup .
type ConnectionPoolConfiguration struct {
// The number of seconds for a proxy to wait for a connection to become available
// in the connection pool. This setting only applies when the proxy has opened its
// maximum number of connections and all connections are busy with client sessions.
// For an unlimited wait time, specify 0 .
//
// Default: 120
//
// Constraints:
//
// - Must be between 0 and 3600.
ConnectionBorrowTimeout *int32
// One or more SQL statements for the proxy to run when opening each new database
// connection. Typically used with SET statements to make sure that each
// connection has identical settings such as time zone and character set. For
// multiple statements, use semicolons as the separator. You can also include
// multiple variables in a single SET statement, such as SET x=1, y=2 .
//
// Default: no initialization query
InitQuery *string
// The maximum size of the connection pool for each target in a target group. The
// value is expressed as a percentage of the max_connections setting for the RDS
// DB instance or Aurora DB cluster used by the target group.
//
// If you specify MaxIdleConnectionsPercent , then you must also include a value
// for this parameter.
//
// Default: 10 for RDS for Microsoft SQL Server, and 100 for all other engines
//
// Constraints:
//
// - Must be between 1 and 100.
MaxConnectionsPercent *int32
// A value that controls how actively the proxy closes idle database connections
// in the connection pool. The value is expressed as a percentage of the
// max_connections setting for the RDS DB instance or Aurora DB cluster used by the
// target group. With a high value, the proxy leaves a high percentage of idle
// database connections open. A low value causes the proxy to close more idle
// connections and return them to the database.
//
// If you specify this parameter, then you must also include a value for
// MaxConnectionsPercent .
//
// Default: The default value is half of the value of MaxConnectionsPercent . For
// example, if MaxConnectionsPercent is 80, then the default value of
// MaxIdleConnectionsPercent is 40. If the value of MaxConnectionsPercent isn't
// specified, then for SQL Server, MaxIdleConnectionsPercent is 5 , and for all
// other engines, the default is 50 .
//
// Constraints:
//
// - Must be between 0 and the value of MaxConnectionsPercent .
MaxIdleConnectionsPercent *int32
// Each item in the list represents a class of SQL operations that normally cause
// all later statements in a session using a proxy to be pinned to the same
// underlying database connection. Including an item in the list exempts that class
// of SQL operations from the pinning behavior.
//
// Default: no session pinning filters
SessionPinningFilters []string
noSmithyDocumentSerde
}
// Displays the settings that control the size and behavior of the connection pool
// associated with a DBProxyTarget .
type ConnectionPoolConfigurationInfo struct {
// The number of seconds for a proxy to wait for a connection to become available
// in the connection pool. Only applies when the proxy has opened its maximum
// number of connections and all connections are busy with client sessions.
ConnectionBorrowTimeout *int32
// One or more SQL statements for the proxy to run when opening each new database
// connection. Typically used with SET statements to make sure that each
// connection has identical settings such as time zone and character set. This
// setting is empty by default. For multiple statements, use semicolons as the
// separator. You can also include multiple variables in a single SET statement,
// such as SET x=1, y=2 .
InitQuery *string
// The maximum size of the connection pool for each target in a target group. The
// value is expressed as a percentage of the max_connections setting for the RDS
// DB instance or Aurora DB cluster used by the target group.
MaxConnectionsPercent *int32
// Controls how actively the proxy closes idle database connections in the
// connection pool. The value is expressed as a percentage of the max_connections
// setting for the RDS DB instance or Aurora DB cluster used by the target group.
// With a high value, the proxy leaves a high percentage of idle database
// connections open. A low value causes the proxy to close more idle connections
// and return them to the database.
MaxIdleConnectionsPercent *int32
// Each item in the list represents a class of SQL operations that normally cause
// all later statements in a session using a proxy to be pinned to the same
// underlying database connection. Including an item in the list exempts that class
// of SQL operations from the pinning behavior. This setting is only supported for
// MySQL engine family databases. Currently, the only allowed value is
// EXCLUDE_VARIABLE_SETS .
SessionPinningFilters []string
noSmithyDocumentSerde
}
// The additional attributes of RecommendedAction data type.
type ContextAttribute struct {
// The key of ContextAttribute .
Key *string
// The value of ContextAttribute .
Value *string
noSmithyDocumentSerde
}
// A value that indicates the AMI information.
type CustomDBEngineVersionAMI struct {
// A value that indicates the ID of the AMI.
ImageId *string
// A value that indicates the status of a custom engine version (CEV).
Status *string
noSmithyDocumentSerde
}
// Contains the details of an Amazon Aurora DB cluster or Multi-AZ DB cluster.
//
// For an Amazon Aurora DB cluster, this data type is used as a response element
// in the operations CreateDBCluster , DeleteDBCluster , DescribeDBClusters ,
// FailoverDBCluster , ModifyDBCluster , PromoteReadReplicaDBCluster ,
// RestoreDBClusterFromS3 , RestoreDBClusterFromSnapshot ,
// RestoreDBClusterToPointInTime , StartDBCluster , and StopDBCluster .
//
// For a Multi-AZ DB cluster, this data type is used as a response element in the
// operations CreateDBCluster , DeleteDBCluster , DescribeDBClusters ,
// FailoverDBCluster , ModifyDBCluster , RebootDBCluster ,
// RestoreDBClusterFromSnapshot , and RestoreDBClusterToPointInTime .
//
// For more information on Amazon Aurora DB clusters, see [What is Amazon Aurora?] in the Amazon Aurora
// User Guide.
//
// For more information on Multi-AZ DB clusters, see [Multi-AZ deployments with two readable standby DB instances] in the Amazon RDS User
// Guide.
//
// [Multi-AZ deployments with two readable standby DB instances]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/multi-az-db-clusters-concepts.html
// [What is Amazon Aurora?]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/CHAP_AuroraOverview.html
type DBCluster struct {
// The name of the Amazon Kinesis data stream used for the database activity
// stream.
ActivityStreamKinesisStreamName *string
// The Amazon Web Services KMS key identifier used for encrypting messages in the
// database activity stream.
//
// The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN,
// or alias name for the KMS key.
ActivityStreamKmsKeyId *string
// The mode of the database activity stream. Database events such as a change or
// access generate an activity stream event. The database session can handle these
// events either synchronously or asynchronously.
ActivityStreamMode ActivityStreamMode
// The status of the database activity stream.
ActivityStreamStatus ActivityStreamStatus
// For all database engines except Amazon Aurora, AllocatedStorage specifies the
// allocated storage size in gibibytes (GiB). For Aurora, AllocatedStorage always
// returns 1, because Aurora DB cluster storage size isn't fixed, but instead
// automatically adjusts as needed.
AllocatedStorage *int32
// A list of the Amazon Web Services Identity and Access Management (IAM) roles
// that are associated with the DB cluster. IAM roles that are associated with a DB
// cluster grant permission for the DB cluster to access other Amazon Web Services
// on your behalf.
AssociatedRoles []DBClusterRole
// Indicates whether minor version patches are applied automatically.
//
// This setting is only for non-Aurora Multi-AZ DB clusters.
AutoMinorVersionUpgrade *bool
// The time when a stopped DB cluster is restarted automatically.
AutomaticRestartTime *time.Time
// The list of Availability Zones (AZs) where instances in the DB cluster can be
// created.
AvailabilityZones []string
// The Amazon Resource Name (ARN) of the recovery point in Amazon Web Services
// Backup.
AwsBackupRecoveryPointArn *string
// The number of change records stored for Backtrack.
BacktrackConsumedChangeRecords *int64
// The target backtrack window, in seconds. If this value is set to 0 ,
// backtracking is disabled for the DB cluster. Otherwise, backtracking is enabled.
BacktrackWindow *int64
// The number of days for which automatic DB snapshots are retained.
BackupRetentionPeriod *int32
// The current capacity of an Aurora Serverless v1 DB cluster. The capacity is 0
// (zero) when the cluster is paused.
//
// For more information about Aurora Serverless v1, see [Using Amazon Aurora Serverless v1] in the Amazon Aurora User
// Guide.
//
// [Using Amazon Aurora Serverless v1]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless.html
Capacity *int32
// The details of the DB instance’s server certificate.
//
// For more information, see [Using SSL/TLS to encrypt a connection to a DB instance] in the Amazon RDS User Guide and [Using SSL/TLS to encrypt a connection to a DB cluster] in the Amazon
// Aurora User Guide.
//
// [Using SSL/TLS to encrypt a connection to a DB cluster]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/UsingWithRDS.SSL.html
// [Using SSL/TLS to encrypt a connection to a DB instance]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.SSL.html
CertificateDetails *CertificateDetails
// If present, specifies the name of the character set that this cluster is
// associated with.
CharacterSetName *string
// The ID of the clone group with which the DB cluster is associated.
CloneGroupId *string
// The time when the DB cluster was created, in Universal Coordinated Time (UTC).
ClusterCreateTime *time.Time
// Indicates whether tags are copied from the DB cluster to snapshots of the DB
// cluster.
CopyTagsToSnapshot *bool
// Indicates whether the DB cluster is a clone of a DB cluster owned by a
// different Amazon Web Services account.
CrossAccountClone *bool
// The custom endpoints associated with the DB cluster.
CustomEndpoints []string
// The Amazon Resource Name (ARN) for the DB cluster.
DBClusterArn *string
// The user-supplied identifier for the DB cluster. This identifier is the unique
// key that identifies a DB cluster.
DBClusterIdentifier *string
// The name of the compute and memory capacity class of the DB instance.
//
// This setting is only for non-Aurora Multi-AZ DB clusters.
DBClusterInstanceClass *string
// The list of DB instances that make up the DB cluster.
DBClusterMembers []DBClusterMember
// The list of option group memberships for this DB cluster.
DBClusterOptionGroupMemberships []DBClusterOptionGroupStatus
// The name of the DB cluster parameter group for the DB cluster.
DBClusterParameterGroup *string
// Information about the subnet group associated with the DB cluster, including
// the name, description, and subnets in the subnet group.
DBSubnetGroup *string
// Reserved for future use.
DBSystemId *string
// The name of the initial database that was specified for the DB cluster when it
// was created, if one was provided. This same name is returned for the life of the
// DB cluster.
DatabaseName *string
// The Amazon Web Services Region-unique, immutable identifier for the DB cluster.
// This identifier is found in Amazon Web Services CloudTrail log entries whenever
// the KMS key for the DB cluster is accessed.
DbClusterResourceId *string
// Indicates whether the DB cluster has deletion protection enabled. The database
// can't be deleted when deletion protection is enabled.
DeletionProtection *bool
// The Active Directory Domain membership records associated with the DB cluster.
DomainMemberships []DomainMembership
// The earliest time to which a DB cluster can be backtracked.
EarliestBacktrackTime *time.Time
// The earliest time to which a database can be restored with point-in-time
// restore.
EarliestRestorableTime *time.Time
// A list of log types that this DB cluster is configured to export to CloudWatch
// Logs.
//
// Log types vary by DB engine. For information about the log types for each DB
// engine, see [Amazon RDS Database Log Files]in the Amazon Aurora User Guide.
//
// [Amazon RDS Database Log Files]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_LogAccess.html
EnabledCloudwatchLogsExports []string
// The connection endpoint for the primary instance of the DB cluster.
Endpoint *string
// The database engine used for this DB cluster.
Engine *string
// The life cycle type for the DB cluster.
//
// For more information, see CreateDBCluster.
EngineLifecycleSupport *string
// The DB engine mode of the DB cluster, either provisioned or serverless .
//
// For more information, see [CreateDBCluster].
//
// [CreateDBCluster]: https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_CreateDBCluster.html
EngineMode *string
// The version of the database engine.
EngineVersion *string
// Indicates whether write forwarding is enabled for a secondary cluster in an
// Aurora global database. Because write forwarding takes time to enable, check the
// value of GlobalWriteForwardingStatus to confirm that the request has completed
// before using the write forwarding feature for this cluster.
GlobalWriteForwardingRequested *bool
// The status of write forwarding for a secondary cluster in an Aurora global
// database.
GlobalWriteForwardingStatus WriteForwardingStatus
// The ID that Amazon Route 53 assigns when you create a hosted zone.
HostedZoneId *string
// Indicates whether the HTTP endpoint is enabled for an Aurora DB cluster.
//
// When enabled, the HTTP endpoint provides a connectionless web service API (RDS
// Data API) for running SQL queries on the DB cluster. You can also query your
// database from inside the RDS console with the RDS query editor.
//
// For more information, see [Using RDS Data API] in the Amazon Aurora User Guide.
//
// [Using RDS Data API]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/data-api.html
HttpEndpointEnabled *bool
// Indicates whether the mapping of Amazon Web Services Identity and Access
// Management (IAM) accounts to database accounts is enabled.
IAMDatabaseAuthenticationEnabled *bool
// The next time you can modify the DB cluster to use the aurora-iopt1 storage
// type.
//
// This setting is only for Aurora DB clusters.
IOOptimizedNextAllowedModificationTime *time.Time
// The Provisioned IOPS (I/O operations per second) value.
//
// This setting is only for non-Aurora Multi-AZ DB clusters.
Iops *int32
// If StorageEncrypted is enabled, the Amazon Web Services KMS key identifier for
// the encrypted DB cluster.
//
// The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN,
// or alias name for the KMS key.
KmsKeyId *string
// The latest time to which a database can be restored with point-in-time restore.
LatestRestorableTime *time.Time
// The details for Aurora Limitless Database.
LimitlessDatabase *LimitlessDatabase
// Indicates whether an Aurora DB cluster has in-cluster write forwarding enabled,
// not enabled, requested, or is in the process of enabling it.
LocalWriteForwardingStatus LocalWriteForwardingStatus
// The secret managed by RDS in Amazon Web Services Secrets Manager for the master
// user password.
//
// For more information, see [Password management with Amazon Web Services Secrets Manager] in the Amazon RDS User Guide and [Password management with Amazon Web Services Secrets Manager] in the Amazon
// Aurora User Guide.
//
// [Password management with Amazon Web Services Secrets Manager]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/rds-secrets-manager.html
MasterUserSecret *MasterUserSecret
// The master username for the DB cluster.
MasterUsername *string
// The interval, in seconds, between points when Enhanced Monitoring metrics are
// collected for the DB cluster.
//
// This setting is only for non-Aurora Multi-AZ DB clusters.
MonitoringInterval *int32
// The ARN for the IAM role that permits RDS to send Enhanced Monitoring metrics
// to Amazon CloudWatch Logs.
//
// This setting is only for non-Aurora Multi-AZ DB clusters.
MonitoringRoleArn *string
// Indicates whether the DB cluster has instances in multiple Availability Zones.
MultiAZ *bool
// The network type of the DB instance.
//
// The network type is determined by the DBSubnetGroup specified for the DB
// cluster. A DBSubnetGroup can support only the IPv4 protocol or the IPv4 and the
// IPv6 protocols ( DUAL ).
//
// For more information, see [Working with a DB instance in a VPC] in the Amazon Aurora User Guide.
//
// This setting is only for Aurora DB clusters.
//
// Valid Values: IPV4 | DUAL
//
// [Working with a DB instance in a VPC]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html
NetworkType *string
// Information about pending changes to the DB cluster. This information is
// returned only when there are pending changes. Specific changes are identified by
// subelements.
PendingModifiedValues *ClusterPendingModifiedValues
// The progress of the operation as a percentage.
PercentProgress *string
// Indicates whether Performance Insights is enabled for the DB cluster.
//
// This setting is only for non-Aurora Multi-AZ DB clusters.
PerformanceInsightsEnabled *bool
// The Amazon Web Services KMS key identifier for encryption of Performance
// Insights data.
//
// The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN,
// or alias name for the KMS key.
//
// This setting is only for non-Aurora Multi-AZ DB clusters.
PerformanceInsightsKMSKeyId *string
// The number of days to retain Performance Insights data.
//
// This setting is only for non-Aurora Multi-AZ DB clusters.
//
// Valid Values:
//
// - 7
//
// - month * 31, where month is a number of months from 1-23. Examples: 93 (3
// months * 31), 341 (11 months * 31), 589 (19 months * 31)
//
// - 731
//
// Default: 7 days
PerformanceInsightsRetentionPeriod *int32
// The port that the database engine is listening on.
Port *int32
// The daily time range during which automated backups are created if automated
// backups are enabled, as determined by the BackupRetentionPeriod .
PreferredBackupWindow *string
// The weekly time range during which system maintenance can occur, in Universal
// Coordinated Time (UTC).
PreferredMaintenanceWindow *string
// Indicates whether the DB cluster is publicly accessible.
//
// When the DB cluster is publicly accessible, its Domain Name System (DNS)
// endpoint resolves to the private IP address from within the DB cluster's virtual
// private cloud (VPC). It resolves to the public IP address from outside of the DB
// cluster's VPC. Access to the DB cluster is ultimately controlled by the security
// group it uses. That public access isn't permitted if the security group assigned
// to the DB cluster doesn't permit it.
//
// When the DB cluster isn't publicly accessible, it is an internal DB cluster
// with a DNS name that resolves to a private IP address.
//
// For more information, see CreateDBCluster.
//
// This setting is only for non-Aurora Multi-AZ DB clusters.
PubliclyAccessible *bool
// Reserved for future use.
RdsCustomClusterConfiguration *RdsCustomClusterConfiguration
// Contains one or more identifiers of the read replicas associated with this DB
// cluster.
ReadReplicaIdentifiers []string
// The reader endpoint for the DB cluster. The reader endpoint for a DB cluster
// load-balances connections across the Aurora Replicas that are available in a DB
// cluster. As clients request new connections to the reader endpoint, Aurora
// distributes the connection requests among the Aurora Replicas in the DB cluster.
// This functionality can help balance your read workload across multiple Aurora
// Replicas in your DB cluster.
//
// If a failover occurs, and the Aurora Replica that you are connected to is
// promoted to be the primary instance, your connection is dropped. To continue
// sending your read workload to other Aurora Replicas in the cluster, you can then
// reconnect to the reader endpoint.
ReaderEndpoint *string
// The identifier of the source DB cluster if this DB cluster is a read replica.
ReplicationSourceIdentifier *string
// The scaling configuration for an Aurora DB cluster in serverless DB engine mode.
//
// For more information, see [Using Amazon Aurora Serverless v1] in the Amazon Aurora User Guide.
//
// [Using Amazon Aurora Serverless v1]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless.html
ScalingConfigurationInfo *ScalingConfigurationInfo
// The scaling configuration for an Aurora Serverless v2 DB cluster.
//
// For more information, see [Using Amazon Aurora Serverless v2] in the Amazon Aurora User Guide.
//
// [Using Amazon Aurora Serverless v2]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless-v2.html
ServerlessV2ScalingConfiguration *ServerlessV2ScalingConfigurationInfo
// The current state of this DB cluster.
Status *string
// Reserved for future use.
StatusInfos []DBClusterStatusInfo
// Indicates whether the DB cluster is encrypted.
StorageEncrypted *bool
// The storage throughput for the DB cluster. The throughput is automatically set
// based on the IOPS that you provision, and is not configurable.
//
// This setting is only for non-Aurora Multi-AZ DB clusters.
StorageThroughput *int32
// The storage type associated with the DB cluster.
StorageType *string
// A list of tags. For more information, see [Tagging Amazon RDS Resources] in the Amazon RDS User Guide.
//
// [Tagging Amazon RDS Resources]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html
TagList []Tag
// The list of VPC security groups that the DB cluster belongs to.
VpcSecurityGroups []VpcSecurityGroupMembership
noSmithyDocumentSerde
}
// An automated backup of a DB cluster. It consists of system backups, transaction
// logs, and the database cluster properties that existed at the time you deleted
// the source cluster.
type DBClusterAutomatedBackup struct {
// For all database engines except Amazon Aurora, AllocatedStorage specifies the
// allocated storage size in gibibytes (GiB). For Aurora, AllocatedStorage always
// returns 1, because Aurora DB cluster storage size isn't fixed, but instead
// automatically adjusts as needed.
AllocatedStorage *int32
// The Availability Zones where instances in the DB cluster can be created. For
// information on Amazon Web Services Regions and Availability Zones, see [Regions and Availability Zones].
//
// [Regions and Availability Zones]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Concepts.RegionsAndAvailabilityZones.html
AvailabilityZones []string
// The Amazon Resource Name (ARN) of the recovery point in Amazon Web Services
// Backup.
AwsBackupRecoveryPointArn *string
// The retention period for the automated backups.
BackupRetentionPeriod *int32
// The time when the DB cluster was created, in Universal Coordinated Time (UTC).
ClusterCreateTime *time.Time
// The Amazon Resource Name (ARN) for the source DB cluster.
DBClusterArn *string
// The Amazon Resource Name (ARN) for the automated backups.
DBClusterAutomatedBackupsArn *string
// The identifier for the source DB cluster, which can't be changed and which is
// unique to an Amazon Web Services Region.
DBClusterIdentifier *string
// The resource ID for the source DB cluster, which can't be changed and which is
// unique to an Amazon Web Services Region.
DbClusterResourceId *string
// The name of the database engine for this automated backup.
Engine *string
// The engine mode of the database engine for the automated backup.
EngineMode *string
// The version of the database engine for the automated backup.
EngineVersion *string
// Indicates whether mapping of Amazon Web Services Identity and Access Management
// (IAM) accounts to database accounts is enabled.
IAMDatabaseAuthenticationEnabled *bool
// The IOPS (I/O operations per second) value for the automated backup.
//
// This setting is only for non-Aurora Multi-AZ DB clusters.
Iops *int32
// The Amazon Web Services KMS key ID for an automated backup.
//
// The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN,
// or alias name for the KMS key.
KmsKeyId *string
// The license model information for this DB cluster automated backup.
LicenseModel *string
// The master user name of the automated backup.
MasterUsername *string
// The port number that the automated backup used for connections.
//
// Default: Inherits from the source DB cluster
//
// Valid Values: 1150-65535
Port *int32
// The Amazon Web Services Region associated with the automated backup.
Region *string
// Earliest and latest time an instance can be restored to:
RestoreWindow *RestoreWindow
// A list of status information for an automated backup:
//
// - retained - Automated backups for deleted clusters.
Status *string
// Indicates whether the source DB cluster is encrypted.
StorageEncrypted *bool
// The storage throughput for the automated backup. The throughput is
// automatically set based on the IOPS that you provision, and is not configurable.
//
// This setting is only for non-Aurora Multi-AZ DB clusters.
StorageThroughput *int32
// The storage type associated with the DB cluster.
//
// This setting is only for non-Aurora Multi-AZ DB clusters.
StorageType *string
// The VPC ID associated with the DB cluster.
VpcId *string
noSmithyDocumentSerde
}
// This data type is used as a response element in the DescribeDBClusterBacktracks
// action.
type DBClusterBacktrack struct {
// Contains the backtrack identifier.
BacktrackIdentifier *string
// The timestamp of the time at which the backtrack was requested.
BacktrackRequestCreationTime *time.Time
// The timestamp of the time to which the DB cluster was backtracked.
BacktrackTo *time.Time
// The timestamp of the time from which the DB cluster was backtracked.
BacktrackedFrom *time.Time
// Contains a user-supplied DB cluster identifier. This identifier is the unique
// key that identifies a DB cluster.
DBClusterIdentifier *string
// The status of the backtrack. This property returns one of the following values:
//
// - applying - The backtrack is currently being applied to or rolled back from
// the DB cluster.
//
// - completed - The backtrack has successfully been applied to or rolled back
// from the DB cluster.
//
// - failed - An error occurred while the backtrack was applied to or rolled back
// from the DB cluster.
//
// - pending - The backtrack is currently pending application to or rollback from
// the DB cluster.
Status *string
noSmithyDocumentSerde
}
// This data type represents the information you need to connect to an Amazon
// Aurora DB cluster. This data type is used as a response element in the following
// actions:
//
// - CreateDBClusterEndpoint
//
// - DescribeDBClusterEndpoints
//
// - ModifyDBClusterEndpoint
//
// - DeleteDBClusterEndpoint
//
// For the data structure that represents Amazon RDS DB instance endpoints, see
// Endpoint .
type DBClusterEndpoint struct {
// The type associated with a custom endpoint. One of: READER , WRITER , ANY .
CustomEndpointType *string
// The Amazon Resource Name (ARN) for the endpoint.
DBClusterEndpointArn *string
// The identifier associated with the endpoint. This parameter is stored as a
// lowercase string.
DBClusterEndpointIdentifier *string
// A unique system-generated identifier for an endpoint. It remains the same for
// the whole life of the endpoint.
DBClusterEndpointResourceIdentifier *string
// The DB cluster identifier of the DB cluster associated with the endpoint. This
// parameter is stored as a lowercase string.
DBClusterIdentifier *string
// The DNS address of the endpoint.
Endpoint *string
// The type of the endpoint. One of: READER , WRITER , CUSTOM .
EndpointType *string
// List of DB instance identifiers that aren't part of the custom endpoint group.
// All other eligible instances are reachable through the custom endpoint. Only
// relevant if the list of static members is empty.
ExcludedMembers []string
// List of DB instance identifiers that are part of the custom endpoint group.
StaticMembers []string
// The current status of the endpoint. One of: creating , available , deleting ,
// inactive , modifying . The inactive state applies to an endpoint that can't be
// used for a certain kind of cluster, such as a writer endpoint for a read-only
// secondary cluster in a global database.
Status *string
noSmithyDocumentSerde
}
// Contains information about an instance that is part of a DB cluster.
type DBClusterMember struct {
// Specifies the status of the DB cluster parameter group for this member of the
// DB cluster.
DBClusterParameterGroupStatus *string
// Specifies the instance identifier for this member of the DB cluster.
DBInstanceIdentifier *string
// Indicates whether the cluster member is the primary DB instance for the DB
// cluster.
IsClusterWriter *bool
// A value that specifies the order in which an Aurora Replica is promoted to the
// primary instance after a failure of the existing primary instance. For more
// information, see [Fault Tolerance for an Aurora DB Cluster]in the Amazon Aurora User Guide.
//
// [Fault Tolerance for an Aurora DB Cluster]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Aurora.Managing.Backups.html#Aurora.Managing.FaultTolerance
PromotionTier *int32
noSmithyDocumentSerde
}
// Contains status information for a DB cluster option group.
type DBClusterOptionGroupStatus struct {
// Specifies the name of the DB cluster option group.
DBClusterOptionGroupName *string
// Specifies the status of the DB cluster option group.
Status *string
noSmithyDocumentSerde
}
// Contains the details of an Amazon RDS DB cluster parameter group.
//
// This data type is used as a response element in the
// DescribeDBClusterParameterGroups action.
type DBClusterParameterGroup struct {
// The Amazon Resource Name (ARN) for the DB cluster parameter group.
DBClusterParameterGroupArn *string
// The name of the DB cluster parameter group.
DBClusterParameterGroupName *string
// The name of the DB parameter group family that this DB cluster parameter group
// is compatible with.
DBParameterGroupFamily *string
// Provides the customer-specified description for this DB cluster parameter group.
Description *string
noSmithyDocumentSerde
}
// Describes an Amazon Web Services Identity and Access Management (IAM) role that
// is associated with a DB cluster.
type DBClusterRole struct {
// The name of the feature associated with the Amazon Web Services Identity and
// Access Management (IAM) role. For information about supported feature names, see
// DBEngineVersion.
FeatureName *string
// The Amazon Resource Name (ARN) of the IAM role that is associated with the DB
// cluster.
RoleArn *string
// Describes the state of association between the IAM role and the DB cluster. The
// Status property returns one of the following values:
//
// - ACTIVE - the IAM role ARN is associated with the DB cluster and can be used
// to access other Amazon Web Services on your behalf.
//
// - PENDING - the IAM role ARN is being associated with the DB cluster.
//
// - INVALID - the IAM role ARN is associated with the DB cluster, but the DB
// cluster is unable to assume the IAM role in order to access other Amazon Web
// Services on your behalf.
Status *string
noSmithyDocumentSerde
}
// Contains the details for an Amazon RDS DB cluster snapshot
//
// This data type is used as a response element in the DescribeDBClusterSnapshots
// action.
type DBClusterSnapshot struct {
// The allocated storage size of the DB cluster snapshot in gibibytes (GiB).
AllocatedStorage *int32
// The list of Availability Zones (AZs) where instances in the DB cluster snapshot
// can be restored.
AvailabilityZones []string
// The time when the DB cluster was created, in Universal Coordinated Time (UTC).
ClusterCreateTime *time.Time
// The DB cluster identifier of the DB cluster that this DB cluster snapshot was
// created from.
DBClusterIdentifier *string
// The Amazon Resource Name (ARN) for the DB cluster snapshot.
DBClusterSnapshotArn *string
// The identifier for the DB cluster snapshot.
DBClusterSnapshotIdentifier *string
// Reserved for future use.
DBSystemId *string
// The resource ID of the DB cluster that this DB cluster snapshot was created
// from.
DbClusterResourceId *string
// The name of the database engine for this DB cluster snapshot.
Engine *string
// The engine mode of the database engine for this DB cluster snapshot.
EngineMode *string
// The version of the database engine for this DB cluster snapshot.
EngineVersion *string
// Indicates whether mapping of Amazon Web Services Identity and Access Management
// (IAM) accounts to database accounts is enabled.
IAMDatabaseAuthenticationEnabled *bool
// If StorageEncrypted is true, the Amazon Web Services KMS key identifier for the
// encrypted DB cluster snapshot.
//
// The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN,
// or alias name for the KMS key.
KmsKeyId *string
// The license model information for this DB cluster snapshot.
LicenseModel *string
// The master username for this DB cluster snapshot.
MasterUsername *string
// The percentage of the estimated data that has been transferred.
PercentProgress *int32
// The port that the DB cluster was listening on at the time of the snapshot.
Port *int32
// The time when the snapshot was taken, in Universal Coordinated Time (UTC).
SnapshotCreateTime *time.Time
// The type of the DB cluster snapshot.
SnapshotType *string
// If the DB cluster snapshot was copied from a source DB cluster snapshot, the
// Amazon Resource Name (ARN) for the source DB cluster snapshot, otherwise, a null
// value.
SourceDBClusterSnapshotArn *string
// The status of this DB cluster snapshot. Valid statuses are the following:
//
// - available
//
// - copying
//
// - creating
Status *string
// Indicates whether the DB cluster snapshot is encrypted.
StorageEncrypted *bool
// The storage throughput for the DB cluster snapshot. The throughput is
// automatically set based on the IOPS that you provision, and is not configurable.
//
// This setting is only for non-Aurora Multi-AZ DB clusters.
StorageThroughput *int32
// The storage type associated with the DB cluster snapshot.
//
// This setting is only for Aurora DB clusters.
StorageType *string
// A list of tags. For more information, see [Tagging Amazon RDS Resources] in the Amazon RDS User Guide.
//
// [Tagging Amazon RDS Resources]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html
TagList []Tag
// The VPC ID associated with the DB cluster snapshot.
VpcId *string
noSmithyDocumentSerde
}
// Contains the name and values of a manual DB cluster snapshot attribute.
//
// Manual DB cluster snapshot attributes are used to authorize other Amazon Web
// Services accounts to restore a manual DB cluster snapshot. For more information,
// see the ModifyDBClusterSnapshotAttribute API action.
type DBClusterSnapshotAttribute struct {
// The name of the manual DB cluster snapshot attribute.
//
// The attribute named restore refers to the list of Amazon Web Services accounts
// that have permission to copy or restore the manual DB cluster snapshot. For more
// information, see the ModifyDBClusterSnapshotAttribute API action.
AttributeName *string
// The value(s) for the manual DB cluster snapshot attribute.
//
// If the AttributeName field is set to restore , then this element returns a list
// of IDs of the Amazon Web Services accounts that are authorized to copy or
// restore the manual DB cluster snapshot. If a value of all is in the list, then
// the manual DB cluster snapshot is public and available for any Amazon Web
// Services account to copy or restore.
AttributeValues []string
noSmithyDocumentSerde
}
// Contains the results of a successful call to the
// DescribeDBClusterSnapshotAttributes API action.
//
// Manual DB cluster snapshot attributes are used to authorize other Amazon Web
// Services accounts to copy or restore a manual DB cluster snapshot. For more
// information, see the ModifyDBClusterSnapshotAttribute API action.
type DBClusterSnapshotAttributesResult struct {
// The list of attributes and values for the manual DB cluster snapshot.
DBClusterSnapshotAttributes []DBClusterSnapshotAttribute
// The identifier of the manual DB cluster snapshot that the attributes apply to.
DBClusterSnapshotIdentifier *string
noSmithyDocumentSerde
}
// Reserved for future use.
type DBClusterStatusInfo struct {
// Reserved for future use.
Message *string
// Reserved for future use.
Normal *bool
// Reserved for future use.
Status *string
// Reserved for future use.
StatusType *string
noSmithyDocumentSerde
}
// This data type is used as a response element in the action
// DescribeDBEngineVersions .
type DBEngineVersion struct {
// The creation time of the DB engine version.
CreateTime *time.Time
// JSON string that lists the installation files and parameters that RDS Custom
// uses to create a custom engine version (CEV). RDS Custom applies the patches in
// the order in which they're listed in the manifest. You can set the Oracle home,
// Oracle base, and UNIX/Linux user and group using the installation parameters.
// For more information, see [JSON fields in the CEV manifest]in the Amazon RDS User Guide.
//
// [JSON fields in the CEV manifest]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/custom-cev.preparing.html#custom-cev.preparing.manifest.fields
CustomDBEngineVersionManifest *string
// The description of the database engine.
DBEngineDescription *string
// A value that indicates the source media provider of the AMI based on the usage
// operation. Applicable for RDS Custom for SQL Server.
DBEngineMediaType *string
// The ARN of the custom engine version.
DBEngineVersionArn *string
// The description of the database engine version.
DBEngineVersionDescription *string
// The name of the DB parameter group family for the database engine.
DBParameterGroupFamily *string
// The name of the Amazon S3 bucket that contains your database installation files.
DatabaseInstallationFilesS3BucketName *string
// The Amazon S3 directory that contains the database installation files. If not
// specified, then no prefix is assumed.
DatabaseInstallationFilesS3Prefix *string
// The default character set for new instances of this engine version, if the
// CharacterSetName parameter of the CreateDBInstance API isn't specified.
DefaultCharacterSet *CharacterSet
// The name of the database engine.
Engine *string
// The version number of the database engine.
EngineVersion *string
// The types of logs that the database engine has available for export to
// CloudWatch Logs.
ExportableLogTypes []string
// The EC2 image
Image *CustomDBEngineVersionAMI
// The Amazon Web Services KMS key identifier for an encrypted CEV. This parameter
// is required for RDS Custom, but optional for Amazon RDS.
KMSKeyId *string
// The major engine version of the CEV.
MajorEngineVersion *string
// The status of the DB engine version, either available or deprecated .
Status *string
// A list of the supported CA certificate identifiers.
//
// For more information, see [Using SSL/TLS to encrypt a connection to a DB instance] in the Amazon RDS User Guide and [Using SSL/TLS to encrypt a connection to a DB cluster] in the Amazon
// Aurora User Guide.
//
// [Using SSL/TLS to encrypt a connection to a DB cluster]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/UsingWithRDS.SSL.html
// [Using SSL/TLS to encrypt a connection to a DB instance]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.SSL.html
SupportedCACertificateIdentifiers []string
// A list of the character sets supported by this engine for the CharacterSetName
// parameter of the CreateDBInstance operation.
SupportedCharacterSets []CharacterSet
// A list of the supported DB engine modes.
SupportedEngineModes []string
// A list of features supported by the DB engine.
//
// The supported features vary by DB engine and DB engine version.
//
// To determine the supported features for a specific DB engine and DB engine
// version using the CLI, use the following command:
//
// aws rds describe-db-engine-versions --engine --engine-version
//
// For example, to determine the supported features for RDS for PostgreSQL version
// 13.3 using the CLI, use the following command:
//
// aws rds describe-db-engine-versions --engine postgres --engine-version 13.3
//
// The supported features are listed under SupportedFeatureNames in the output.
SupportedFeatureNames []string
// A list of the character sets supported by the Oracle DB engine for the
// NcharCharacterSetName parameter of the CreateDBInstance operation.
SupportedNcharCharacterSets []CharacterSet
// A list of the time zones supported by this engine for the Timezone parameter of
// the CreateDBInstance action.
SupportedTimezones []Timezone
// Indicates whether the engine version supports Babelfish for Aurora PostgreSQL.
SupportsBabelfish *bool
// Indicates whether the engine version supports rotating the server certificate
// without rebooting the DB instance.
SupportsCertificateRotationWithoutRestart *bool
// Indicates whether you can use Aurora global databases with a specific DB engine
// version.
SupportsGlobalDatabases *bool
// Indicates whether the DB engine version supports zero-ETL integrations with
// Amazon Redshift.
SupportsIntegrations *bool
// Indicates whether the DB engine version supports Aurora Limitless Database.
SupportsLimitlessDatabase *bool
// Indicates whether the DB engine version supports forwarding write operations
// from reader DB instances to the writer DB instance in the DB cluster. By
// default, write operations aren't allowed on reader DB instances.
//
// Valid for: Aurora DB clusters only
SupportsLocalWriteForwarding *bool
// Indicates whether the engine version supports exporting the log types specified
// by ExportableLogTypes to CloudWatch Logs.
SupportsLogExportsToCloudwatchLogs *bool
// Indicates whether you can use Aurora parallel query with a specific DB engine
// version.
SupportsParallelQuery *bool
// Indicates whether the database engine version supports read replicas.
SupportsReadReplica *bool
// A list of tags. For more information, see [Tagging Amazon RDS Resources] in the Amazon RDS User Guide.
//
// [Tagging Amazon RDS Resources]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html
TagList []Tag
// A list of engine versions that this database engine version can be upgraded to.
ValidUpgradeTarget []UpgradeTarget
noSmithyDocumentSerde
}
// Contains the details of an Amazon RDS DB instance.
//
// This data type is used as a response element in the operations CreateDBInstance
// , CreateDBInstanceReadReplica , DeleteDBInstance , DescribeDBInstances ,
// ModifyDBInstance , PromoteReadReplica , RebootDBInstance ,
// RestoreDBInstanceFromDBSnapshot , RestoreDBInstanceFromS3 ,
// RestoreDBInstanceToPointInTime , StartDBInstance , and StopDBInstance .
type DBInstance struct {
// Indicates whether engine-native audit fields are included in the database
// activity stream.
ActivityStreamEngineNativeAuditFieldsIncluded *bool
// The name of the Amazon Kinesis data stream used for the database activity
// stream.
ActivityStreamKinesisStreamName *string
// The Amazon Web Services KMS key identifier used for encrypting messages in the
// database activity stream. The Amazon Web Services KMS key identifier is the key
// ARN, key ID, alias ARN, or alias name for the KMS key.
ActivityStreamKmsKeyId *string
// The mode of the database activity stream. Database events such as a change or
// access generate an activity stream event. RDS for Oracle always handles these
// events asynchronously.
ActivityStreamMode ActivityStreamMode
// The status of the policy state of the activity stream.
ActivityStreamPolicyStatus ActivityStreamPolicyStatus
// The status of the database activity stream.
ActivityStreamStatus ActivityStreamStatus
// The amount of storage in gibibytes (GiB) allocated for the DB instance.
AllocatedStorage *int32
// The Amazon Web Services Identity and Access Management (IAM) roles associated
// with the DB instance.
AssociatedRoles []DBInstanceRole
// Indicates whether minor version patches are applied automatically.
AutoMinorVersionUpgrade *bool
// The time when a stopped DB instance is restarted automatically.
AutomaticRestartTime *time.Time
// The automation mode of the RDS Custom DB instance: full or all paused . If full
// , the DB instance automates monitoring and instance recovery. If all paused ,
// the instance pauses automation for the duration set by
// --resume-full-automation-mode-minutes .
AutomationMode AutomationMode
// The name of the Availability Zone where the DB instance is located.
AvailabilityZone *string
// The Amazon Resource Name (ARN) of the recovery point in Amazon Web Services
// Backup.
AwsBackupRecoveryPointArn *string
// The number of days for which automatic DB snapshots are retained.
BackupRetentionPeriod *int32
// The location where automated backups and manual snapshots are stored: Amazon
// Web Services Outposts or the Amazon Web Services Region.
BackupTarget *string
// The identifier of the CA certificate for this DB instance.
//
// For more information, see [Using SSL/TLS to encrypt a connection to a DB instance] in the Amazon RDS User Guide and [Using SSL/TLS to encrypt a connection to a DB cluster] in the Amazon
// Aurora User Guide.
//
// [Using SSL/TLS to encrypt a connection to a DB cluster]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/UsingWithRDS.SSL.html
// [Using SSL/TLS to encrypt a connection to a DB instance]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.SSL.html
CACertificateIdentifier *string
// The details of the DB instance's server certificate.
CertificateDetails *CertificateDetails
// If present, specifies the name of the character set that this instance is
// associated with.
CharacterSetName *string
// Indicates whether tags are copied from the DB instance to snapshots of the DB
// instance.
//
// This setting doesn't apply to Amazon Aurora DB instances. Copying tags to
// snapshots is managed by the DB cluster. Setting this value for an Aurora DB
// instance has no effect on the DB cluster setting. For more information, see
// DBCluster .
CopyTagsToSnapshot *bool
// The instance profile associated with the underlying Amazon EC2 instance of an
// RDS Custom DB instance. The instance profile must meet the following
// requirements:
//
// - The profile must exist in your account.
//
// - The profile must have an IAM role that Amazon EC2 has permissions to assume.
//
// - The instance profile name and the associated IAM role name must start with
// the prefix AWSRDSCustom .
//
// For the list of permissions required for the IAM role, see [Configure IAM and your VPC] in the Amazon RDS
// User Guide.
//
// [Configure IAM and your VPC]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/custom-setup-orcl.html#custom-setup-orcl.iam-vpc
CustomIamInstanceProfile *string
// Indicates whether a customer-owned IP address (CoIP) is enabled for an RDS on
// Outposts DB instance.
//
// A CoIP provides local or external connectivity to resources in your Outpost
// subnets through your on-premises network. For some use cases, a CoIP can provide
// lower latency for connections to the DB instance from outside of its virtual
// private cloud (VPC) on your local network.
//
// For more information about RDS on Outposts, see [Working with Amazon RDS on Amazon Web Services Outposts] in the Amazon RDS User Guide.
//
// For more information about CoIPs, see [Customer-owned IP addresses] in the Amazon Web Services Outposts User
// Guide.
//
// [Working with Amazon RDS on Amazon Web Services Outposts]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-on-outposts.html
// [Customer-owned IP addresses]: https://docs.aws.amazon.com/outposts/latest/userguide/routing.html#ip-addressing
CustomerOwnedIpEnabled *bool
// If the DB instance is a member of a DB cluster, indicates the name of the DB
// cluster that the DB instance is a member of.
DBClusterIdentifier *string
// The Amazon Resource Name (ARN) for the DB instance.
DBInstanceArn *string
// The list of replicated automated backups associated with the DB instance.
DBInstanceAutomatedBackupsReplications []DBInstanceAutomatedBackupsReplication
// The name of the compute and memory capacity class of the DB instance.
DBInstanceClass *string
// The user-supplied database identifier. This identifier is the unique key that
// identifies a DB instance.
DBInstanceIdentifier *string
// The current state of this database.
//
// For information about DB instance statuses, see [Viewing DB instance status] in the Amazon RDS User Guide.
//
// [Viewing DB instance status]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/accessing-monitoring.html#Overview.DBInstance.Status
DBInstanceStatus *string
// The initial database name that you provided (if required) when you created the
// DB instance. This name is returned for the life of your DB instance. For an RDS
// for Oracle CDB instance, the name identifies the PDB rather than the CDB.
DBName *string
// The list of DB parameter groups applied to this DB instance.
DBParameterGroups []DBParameterGroupStatus
// A list of DB security group elements containing DBSecurityGroup.Name and
// DBSecurityGroup.Status subelements.
DBSecurityGroups []DBSecurityGroupMembership
// Information about the subnet group associated with the DB instance, including
// the name, description, and subnets in the subnet group.
DBSubnetGroup *DBSubnetGroup
// The Oracle system ID (Oracle SID) for a container database (CDB). The Oracle
// SID is also the name of the CDB. This setting is only valid for RDS Custom DB
// instances.
DBSystemId *string
// The port that the DB instance listens on. If the DB instance is part of a DB
// cluster, this can be a different port than the DB cluster port.
DbInstancePort *int32
// The Amazon Web Services Region-unique, immutable identifier for the DB
// instance. This identifier is found in Amazon Web Services CloudTrail log entries
// whenever the Amazon Web Services KMS key for the DB instance is accessed.
DbiResourceId *string
// Indicates whether the DB instance has a dedicated log volume (DLV) enabled.
DedicatedLogVolume *bool
// Indicates whether the DB instance has deletion protection enabled. The database
// can't be deleted when deletion protection is enabled. For more information, see [Deleting a DB Instance]
// .
//
// [Deleting a DB Instance]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_DeleteInstance.html
DeletionProtection *bool
// The Active Directory Domain membership records associated with the DB instance.
DomainMemberships []DomainMembership
// A list of log types that this DB instance is configured to export to CloudWatch
// Logs.
//
// Log types vary by DB engine. For information about the log types for each DB
// engine, see [Monitoring Amazon RDS log files]in the Amazon RDS User Guide.
//
// [Monitoring Amazon RDS log files]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_LogAccess.html
EnabledCloudwatchLogsExports []string
// The connection endpoint for the DB instance.
//
// The endpoint might not be shown for instances with the status of creating .
Endpoint *Endpoint
// The database engine used for this DB instance.
Engine *string
// The life cycle type for the DB instance.
//
// For more information, see CreateDBInstance.
EngineLifecycleSupport *string
// The version of the database engine.
EngineVersion *string
// The Amazon Resource Name (ARN) of the Amazon CloudWatch Logs log stream that
// receives the Enhanced Monitoring metrics data for the DB instance.
EnhancedMonitoringResourceArn *string
// Indicates whether mapping of Amazon Web Services Identity and Access Management
// (IAM) accounts to database accounts is enabled for the DB instance.
//
// For a list of engine versions that support IAM database authentication, see [IAM database authentication] in
// the Amazon RDS User Guide and [IAM database authentication in Aurora]in the Amazon Aurora User Guide.
//
// [IAM database authentication]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RDS_Fea_Regions_DB-eng.Feature.IamDatabaseAuthentication.html
// [IAM database authentication in Aurora]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Concepts.Aurora_Fea_Regions_DB-eng.Feature.IAMdbauth.html
IAMDatabaseAuthenticationEnabled *bool
// The date and time when the DB instance was created.
InstanceCreateTime *time.Time
// The Provisioned IOPS (I/O operations per second) value for the DB instance.
Iops *int32
// Indicates whether an upgrade is recommended for the storage file system
// configuration on the DB instance. To migrate to the preferred configuration, you
// can either create a blue/green deployment, or create a read replica from the DB
// instance. For more information, see [Upgrading the storage file system for a DB instance].
//
// [Upgrading the storage file system for a DB instance]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PIOPS.StorageTypes.html#USER_PIOPS.UpgradeFileSystem
IsStorageConfigUpgradeAvailable *bool
// If StorageEncrypted is enabled, the Amazon Web Services KMS key identifier for
// the encrypted DB instance.
//
// The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN,
// or alias name for the KMS key.
KmsKeyId *string
// The latest time to which a database in this DB instance can be restored with
// point-in-time restore.
LatestRestorableTime *time.Time
// The license model information for this DB instance. This setting doesn't apply
// to Amazon Aurora or RDS Custom DB instances.
LicenseModel *string
// The listener connection endpoint for SQL Server Always On.
ListenerEndpoint *Endpoint
// The secret managed by RDS in Amazon Web Services Secrets Manager for the master
// user password.
//
// For more information, see [Password management with Amazon Web Services Secrets Manager] in the Amazon RDS User Guide.
//
// [Password management with Amazon Web Services Secrets Manager]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-secrets-manager.html
MasterUserSecret *MasterUserSecret
// The master username for the DB instance.
MasterUsername *string
// The upper limit in gibibytes (GiB) to which Amazon RDS can automatically scale
// the storage of the DB instance.
MaxAllocatedStorage *int32
// The interval, in seconds, between points when Enhanced Monitoring metrics are
// collected for the DB instance.
MonitoringInterval *int32
// The ARN for the IAM role that permits RDS to send Enhanced Monitoring metrics
// to Amazon CloudWatch Logs.
MonitoringRoleArn *string
// Indicates whether the DB instance is a Multi-AZ deployment. This setting
// doesn't apply to RDS Custom DB instances.
MultiAZ *bool
// Specifies whether the DB instance is in the multi-tenant configuration (TRUE)
// or the single-tenant configuration (FALSE).
MultiTenant *bool
// The name of the NCHAR character set for the Oracle DB instance. This character
// set specifies the Unicode encoding for data stored in table columns of type
// NCHAR, NCLOB, or NVARCHAR2.
NcharCharacterSetName *string
// The network type of the DB instance.
//
// The network type is determined by the DBSubnetGroup specified for the DB
// instance. A DBSubnetGroup can support only the IPv4 protocol or the IPv4 and
// the IPv6 protocols ( DUAL ).
//
// For more information, see [Working with a DB instance in a VPC] in the Amazon RDS User Guide and [Working with a DB instance in a VPC] in the Amazon
// Aurora User Guide.
//
// Valid Values: IPV4 | DUAL
//
// [Working with a DB instance in a VPC]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html
NetworkType *string
// The list of option group memberships for this DB instance.
OptionGroupMemberships []OptionGroupMembership
// Information about pending changes to the DB instance. This information is
// returned only when there are pending changes. Specific changes are identified by
// subelements.
PendingModifiedValues *PendingModifiedValues
// The progress of the storage optimization operation as a percentage.
PercentProgress *string
// Indicates whether Performance Insights is enabled for the DB instance.
PerformanceInsightsEnabled *bool
// The Amazon Web Services KMS key identifier for encryption of Performance
// Insights data.
//
// The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN,
// or alias name for the KMS key.
PerformanceInsightsKMSKeyId *string
// The number of days to retain Performance Insights data.
//
// Valid Values:
//
// - 7
//
// - month * 31, where month is a number of months from 1-23. Examples: 93 (3
// months * 31), 341 (11 months * 31), 589 (19 months * 31)
//
// - 731
//
// Default: 7 days
PerformanceInsightsRetentionPeriod *int32
// The daily time range during which automated backups are created if automated
// backups are enabled, as determined by the BackupRetentionPeriod .
PreferredBackupWindow *string
// The weekly time range during which system maintenance can occur, in Universal
// Coordinated Time (UTC).
PreferredMaintenanceWindow *string
// The number of CPU cores and the number of threads per core for the DB instance
// class of the DB instance.
ProcessorFeatures []ProcessorFeature
// The order of priority in which an Aurora Replica is promoted to the primary
// instance after a failure of the existing primary instance. For more information,
// see [Fault Tolerance for an Aurora DB Cluster]in the Amazon Aurora User Guide.
//
// [Fault Tolerance for an Aurora DB Cluster]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Concepts.AuroraHighAvailability.html#Aurora.Managing.FaultTolerance
PromotionTier *int32
// Indicates whether the DB instance is publicly accessible.
//
// When the DB cluster is publicly accessible, its Domain Name System (DNS)
// endpoint resolves to the private IP address from within the DB cluster's virtual
// private cloud (VPC). It resolves to the public IP address from outside of the DB
// cluster's VPC. Access to the DB cluster is ultimately controlled by the security
// group it uses. That public access isn't permitted if the security group assigned
// to the DB cluster doesn't permit it.
//
// When the DB instance isn't publicly accessible, it is an internal DB instance
// with a DNS name that resolves to a private IP address.
//
// For more information, see CreateDBInstance.
PubliclyAccessible *bool
// The identifiers of Aurora DB clusters to which the RDS DB instance is
// replicated as a read replica. For example, when you create an Aurora read
// replica of an RDS for MySQL DB instance, the Aurora MySQL DB cluster for the
// Aurora read replica is shown. This output doesn't contain information about
// cross-Region Aurora read replicas.
//
// Currently, each RDS DB instance can have only one Aurora read replica.
ReadReplicaDBClusterIdentifiers []string
// The identifiers of the read replicas associated with this DB instance.
ReadReplicaDBInstanceIdentifiers []string
// The identifier of the source DB cluster if this DB instance is a read replica.
ReadReplicaSourceDBClusterIdentifier *string
// The identifier of the source DB instance if this DB instance is a read replica.
ReadReplicaSourceDBInstanceIdentifier *string
// The open mode of an Oracle read replica. The default is open-read-only . For
// more information, see [Working with Oracle Read Replicas for Amazon RDS]in the Amazon RDS User Guide.
//
// This attribute is only supported in RDS for Oracle.
//
// [Working with Oracle Read Replicas for Amazon RDS]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/oracle-read-replicas.html
ReplicaMode ReplicaMode
// The number of minutes to pause the automation. When the time period ends, RDS
// Custom resumes full automation. The minimum value is 60 (default). The maximum
// value is 1,440.
ResumeFullAutomationModeTime *time.Time
// If present, specifies the name of the secondary Availability Zone for a DB
// instance with multi-AZ support.
SecondaryAvailabilityZone *string
// The status of a read replica. If the DB instance isn't a read replica, the
// value is blank.
StatusInfos []DBInstanceStatusInfo
// Indicates whether the DB instance is encrypted.
StorageEncrypted *bool
// The storage throughput for the DB instance.
//
// This setting applies only to the gp3 storage type.
StorageThroughput *int32
// The storage type associated with the DB instance.
StorageType *string
// A list of tags. For more information, see [Tagging Amazon RDS Resources] in the Amazon RDS User Guide.
//
// [Tagging Amazon RDS Resources]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html
TagList []Tag
// The ARN from the key store with which the instance is associated for TDE
// encryption.
TdeCredentialArn *string
// The time zone of the DB instance. In most cases, the Timezone element is empty.
// Timezone content appears only for RDS for Db2 and RDS for SQL Server DB
// instances that were created with a time zone specified.
Timezone *string
// The list of Amazon EC2 VPC security groups that the DB instance belongs to.
VpcSecurityGroups []VpcSecurityGroupMembership
noSmithyDocumentSerde
}
// An automated backup of a DB instance. It consists of system backups,
// transaction logs, and the database instance properties that existed at the time
// you deleted the source instance.
type DBInstanceAutomatedBackup struct {
// The allocated storage size for the the automated backup in gibibytes (GiB).
AllocatedStorage *int32
// The Availability Zone that the automated backup was created in. For information
// on Amazon Web Services Regions and Availability Zones, see [Regions and Availability Zones].
//
// [Regions and Availability Zones]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html
AvailabilityZone *string
// The Amazon Resource Name (ARN) of the recovery point in Amazon Web Services
// Backup.
AwsBackupRecoveryPointArn *string
// The retention period for the automated backups.
BackupRetentionPeriod *int32
// The location where automated backups are stored: Amazon Web Services Outposts
// or the Amazon Web Services Region.
BackupTarget *string
// The Amazon Resource Name (ARN) for the automated backups.
DBInstanceArn *string
// The Amazon Resource Name (ARN) for the replicated automated backups.
DBInstanceAutomatedBackupsArn *string
// The list of replications to different Amazon Web Services Regions associated
// with the automated backup.
DBInstanceAutomatedBackupsReplications []DBInstanceAutomatedBackupsReplication
// The identifier for the source DB instance, which can't be changed and which is
// unique to an Amazon Web Services Region.
DBInstanceIdentifier *string
// The resource ID for the source DB instance, which can't be changed and which is
// unique to an Amazon Web Services Region.
DbiResourceId *string
// Indicates whether the DB instance has a dedicated log volume (DLV) enabled.
DedicatedLogVolume *bool
// Indicates whether the automated backup is encrypted.
Encrypted *bool
// The name of the database engine for this automated backup.
Engine *string
// The version of the database engine for the automated backup.
EngineVersion *string
// True if mapping of Amazon Web Services Identity and Access Management (IAM)
// accounts to database accounts is enabled, and otherwise false.
IAMDatabaseAuthenticationEnabled *bool
// The date and time when the DB instance was created.
InstanceCreateTime *time.Time
// The IOPS (I/O operations per second) value for the automated backup.
Iops *int32
// The Amazon Web Services KMS key ID for an automated backup.
//
// The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN,
// or alias name for the KMS key.
KmsKeyId *string
// The license model information for the automated backup.
LicenseModel *string
// The master user name of an automated backup.
MasterUsername *string
// Specifies whether the automatic backup is for a DB instance in the multi-tenant
// configuration (TRUE) or the single-tenant configuration (FALSE).
MultiTenant *bool
// The option group the automated backup is associated with. If omitted, the
// default option group for the engine specified is used.
OptionGroupName *string
// The port number that the automated backup used for connections.
//
// Default: Inherits from the source DB instance
//
// Valid Values: 1150-65535
Port *int32
// The Amazon Web Services Region associated with the automated backup.
Region *string
// The earliest and latest time a DB instance can be restored to.
RestoreWindow *RestoreWindow
// A list of status information for an automated backup:
//
// - active - Automated backups for current instances.
//
// - retained - Automated backups for deleted instances.
//
// - creating - Automated backups that are waiting for the first automated
// snapshot to be available.
Status *string
// The storage throughput for the automated backup.
StorageThroughput *int32
// The storage type associated with the automated backup.
StorageType *string
// The ARN from the key store with which the automated backup is associated for
// TDE encryption.
TdeCredentialArn *string
// The time zone of the automated backup. In most cases, the Timezone element is
// empty. Timezone content appears only for Microsoft SQL Server DB instances that
// were created with a time zone specified.
Timezone *string
// The VPC ID associated with the DB instance.
VpcId *string
noSmithyDocumentSerde
}
// Automated backups of a DB instance replicated to another Amazon Web Services
// Region. They consist of system backups, transaction logs, and database instance
// properties.
type DBInstanceAutomatedBackupsReplication struct {
// The Amazon Resource Name (ARN) of the replicated automated backups.
DBInstanceAutomatedBackupsArn *string
noSmithyDocumentSerde
}
// Information about an Amazon Web Services Identity and Access Management (IAM)
// role that is associated with a DB instance.
type DBInstanceRole struct {
// The name of the feature associated with the Amazon Web Services Identity and
// Access Management (IAM) role. For information about supported feature names, see
// DBEngineVersion .
FeatureName *string
// The Amazon Resource Name (ARN) of the IAM role that is associated with the DB
// instance.
RoleArn *string
// Information about the state of association between the IAM role and the DB
// instance. The Status property returns one of the following values:
//
// - ACTIVE - the IAM role ARN is associated with the DB instance and can be used
// to access other Amazon Web Services services on your behalf.
//
// - PENDING - the IAM role ARN is being associated with the DB instance.
//
// - INVALID - the IAM role ARN is associated with the DB instance, but the DB
// instance is unable to assume the IAM role in order to access other Amazon Web
// Services services on your behalf.
Status *string
noSmithyDocumentSerde
}
// Provides a list of status information for a DB instance.
type DBInstanceStatusInfo struct {
// Details of the error if there is an error for the instance. If the instance
// isn't in an error state, this value is blank.
Message *string
// Indicates whether the instance is operating normally (TRUE) or is in an error
// state (FALSE).
Normal *bool
// The status of the DB instance. For a StatusType of read replica, the values can
// be replicating, replication stop point set, replication stop point reached,
// error, stopped, or terminated.
Status *string
// This value is currently "read replication."
StatusType *string
noSmithyDocumentSerde
}
// Contains the details of an Amazon RDS DB parameter group.
//
// This data type is used as a response element in the DescribeDBParameterGroups
// action.
type DBParameterGroup struct {
// The Amazon Resource Name (ARN) for the DB parameter group.
DBParameterGroupArn *string
// The name of the DB parameter group family that this DB parameter group is
// compatible with.
DBParameterGroupFamily *string
// The name of the DB parameter group.
DBParameterGroupName *string
// Provides the customer-specified description for this DB parameter group.
Description *string
noSmithyDocumentSerde
}
// The status of the DB parameter group.
//
// This data type is used as a response element in the following actions:
//
// - CreateDBInstance
//
// - CreateDBInstanceReadReplica
//
// - DeleteDBInstance
//
// - ModifyDBInstance
//
// - RebootDBInstance
//
// - RestoreDBInstanceFromDBSnapshot
type DBParameterGroupStatus struct {
// The name of the DB parameter group.
DBParameterGroupName *string
// The status of parameter updates.
ParameterApplyStatus *string
noSmithyDocumentSerde
}
// The data structure representing a proxy managed by the RDS Proxy.
//
// This data type is used as a response element in the DescribeDBProxies action.
type DBProxy struct {
// One or more data structures specifying the authorization mechanism to connect
// to the associated RDS DB instance or Aurora DB cluster.
Auth []UserAuthConfigInfo
// The date and time when the proxy was first created.
CreatedDate *time.Time
// The Amazon Resource Name (ARN) for the proxy.
DBProxyArn *string
// The identifier for the proxy. This name must be unique for all proxies owned by
// your Amazon Web Services account in the specified Amazon Web Services Region.
DBProxyName *string
// Indicates whether the proxy includes detailed information about SQL statements
// in its logs. This information helps you to debug issues involving SQL behavior
// or the performance and scalability of the proxy connections. The debug
// information includes the text of SQL statements that you submit through the
// proxy. Thus, only enable this setting when needed for debugging, and only when
// you have security measures in place to safeguard any sensitive information that
// appears in the logs.
DebugLogging *bool
// The endpoint that you can use to connect to the DB proxy. You include the
// endpoint value in the connection string for a database client application.
Endpoint *string
// The kinds of databases that the proxy can connect to. This value determines
// which database network protocol the proxy recognizes when it interprets network
// traffic to and from the database. MYSQL supports Aurora MySQL, RDS for MariaDB,
// and RDS for MySQL databases. POSTGRESQL supports Aurora PostgreSQL and RDS for
// PostgreSQL databases. SQLSERVER supports RDS for Microsoft SQL Server databases.
EngineFamily *string
// The number of seconds a connection to the proxy can have no activity before the
// proxy drops the client connection. The proxy keeps the underlying database
// connection open and puts it back into the connection pool for reuse by later
// connection requests.
//
// Default: 1800 (30 minutes)
//
// Constraints: 1 to 28,800
IdleClientTimeout *int32
// Indicates whether Transport Layer Security (TLS) encryption is required for
// connections to the proxy.
RequireTLS *bool
// The Amazon Resource Name (ARN) for the IAM role that the proxy uses to access
// Amazon Secrets Manager.
RoleArn *string
// The current status of this proxy. A status of available means the proxy is
// ready to handle requests. Other values indicate that you must wait for the proxy
// to be ready, or take some action to resolve an issue.
Status DBProxyStatus
// The date and time when the proxy was last updated.
UpdatedDate *time.Time
// Provides the VPC ID of the DB proxy.
VpcId *string
// Provides a list of VPC security groups that the proxy belongs to.
VpcSecurityGroupIds []string
// The EC2 subnet IDs for the proxy.
VpcSubnetIds []string
noSmithyDocumentSerde
}
// The data structure representing an endpoint associated with a DB proxy. RDS
// automatically creates one endpoint for each DB proxy. For Aurora DB clusters,
// you can associate additional endpoints with the same DB proxy. These endpoints
// can be read/write or read-only. They can also reside in different VPCs than the
// associated DB proxy.
//
// This data type is used as a response element in the DescribeDBProxyEndpoints
// operation.
type DBProxyEndpoint struct {
// The date and time when the DB proxy endpoint was first created.
CreatedDate *time.Time
// The Amazon Resource Name (ARN) for the DB proxy endpoint.
DBProxyEndpointArn *string
// The name for the DB proxy endpoint. An identifier must begin with a letter and
// must contain only ASCII letters, digits, and hyphens; it can't end with a hyphen
// or contain two consecutive hyphens.
DBProxyEndpointName *string
// The identifier for the DB proxy that is associated with this DB proxy endpoint.
DBProxyName *string
// The endpoint that you can use to connect to the DB proxy. You include the
// endpoint value in the connection string for a database client application.
Endpoint *string
// Indicates whether this endpoint is the default endpoint for the associated DB
// proxy. Default DB proxy endpoints always have read/write capability. Other
// endpoints that you associate with the DB proxy can be either read/write or
// read-only.
IsDefault *bool
// The current status of this DB proxy endpoint. A status of available means the
// endpoint is ready to handle requests. Other values indicate that you must wait
// for the endpoint to be ready, or take some action to resolve an issue.
Status DBProxyEndpointStatus
// A value that indicates whether the DB proxy endpoint can be used for read/write
// or read-only operations.
TargetRole DBProxyEndpointTargetRole
// Provides the VPC ID of the DB proxy endpoint.
VpcId *string
// Provides a list of VPC security groups that the DB proxy endpoint belongs to.
VpcSecurityGroupIds []string
// The EC2 subnet IDs for the DB proxy endpoint.
VpcSubnetIds []string
noSmithyDocumentSerde
}
// Contains the details for an RDS Proxy target. It represents an RDS DB instance
// or Aurora DB cluster that the proxy can connect to. One or more targets are
// associated with an RDS Proxy target group.
//
// This data type is used as a response element in the DescribeDBProxyTargets
// action.
type DBProxyTarget struct {
// The writer endpoint for the RDS DB instance or Aurora DB cluster.
Endpoint *string
// The port that the RDS Proxy uses to connect to the target RDS DB instance or
// Aurora DB cluster.
Port *int32
// The identifier representing the target. It can be the instance identifier for
// an RDS DB instance, or the cluster identifier for an Aurora DB cluster.
RdsResourceId *string
// A value that indicates whether the target of the proxy can be used for
// read/write or read-only operations.
Role TargetRole
// The Amazon Resource Name (ARN) for the RDS DB instance or Aurora DB cluster.
TargetArn *string
// Information about the connection health of the RDS Proxy target.
TargetHealth *TargetHealth
// The DB cluster identifier when the target represents an Aurora DB cluster. This
// field is blank when the target represents an RDS DB instance.
TrackedClusterId *string
// Specifies the kind of database, such as an RDS DB instance or an Aurora DB
// cluster, that the target represents.
Type TargetType
noSmithyDocumentSerde
}
// Represents a set of RDS DB instances, Aurora DB clusters, or both that a proxy
// can connect to. Currently, each target group is associated with exactly one RDS
// DB instance or Aurora DB cluster.
//
// This data type is used as a response element in the DescribeDBProxyTargetGroups
// action.
type DBProxyTargetGroup struct {
// The settings that determine the size and behavior of the connection pool for
// the target group.
ConnectionPoolConfig *ConnectionPoolConfigurationInfo
// The date and time when the target group was first created.
CreatedDate *time.Time
// The identifier for the RDS proxy associated with this target group.
DBProxyName *string
// Indicates whether this target group is the first one used for connection
// requests by the associated proxy. Because each proxy is currently associated
// with a single target group, currently this setting is always true .
IsDefault *bool
// The current status of this target group. A status of available means the target
// group is correctly associated with a database. Other values indicate that you
// must wait for the target group to be ready, or take some action to resolve an
// issue.
Status *string
// The Amazon Resource Name (ARN) representing the target group.
TargetGroupArn *string
// The identifier for the target group. This name must be unique for all target
// groups owned by your Amazon Web Services account in the specified Amazon Web
// Services Region.
TargetGroupName *string
// The date and time when the target group was last updated.
UpdatedDate *time.Time
noSmithyDocumentSerde
}
// The recommendation for your DB instances, DB clusters, and DB parameter groups.
type DBRecommendation struct {
// Additional information about the recommendation. The information might contain
// markdown.
AdditionalInfo *string
// The category of the recommendation.
//
// Valid values:
//
// - performance efficiency
//
// - security
//
// - reliability
//
// - cost optimization
//
// - operational excellence
//
// - sustainability
Category *string
// The time when the recommendation was created. For example,
// 2023-09-28T01:13:53.931000+00:00 .
CreatedTime *time.Time
// A detailed description of the recommendation. The description might contain
// markdown.
Description *string
// A short description of the issue identified for this recommendation. The
// description might contain markdown.
Detection *string
// A short description that explains the possible impact of an issue.
Impact *string
// Details of the issue that caused the recommendation.
IssueDetails *IssueDetails
// A link to documentation that provides additional information about the
// recommendation.
Links []DocLink
// The reason why this recommendation was created. The information might contain
// markdown.
Reason *string
// A short description of the recommendation to resolve an issue. The description
// might contain markdown.
Recommendation *string
// The unique identifier of the recommendation.
RecommendationId *string
// A list of recommended actions.
RecommendedActions []RecommendedAction
// The Amazon Resource Name (ARN) of the RDS resource associated with the
// recommendation.
ResourceArn *string
// The severity level of the recommendation. The severity level can help you
// decide the urgency with which to address the recommendation.
//
// Valid values:
//
// - high
//
// - medium
//
// - low
//
// - informational
Severity *string
// The Amazon Web Services service that generated the recommendations.
Source *string
// The current status of the recommendation.
//
// Valid values:
//
// - active - The recommendations which are ready for you to apply.
//
// - pending - The applied or scheduled recommendations which are in progress.
//
// - resolved - The recommendations which are completed.
//
// - dismissed - The recommendations that you dismissed.
Status *string
// A short description of the recommendation type. The description might contain
// markdown.
TypeDetection *string
// A value that indicates the type of recommendation. This value determines how
// the description is rendered.
TypeId *string
// A short description that summarizes the recommendation to fix all the issues of
// the recommendation type. The description might contain markdown.
TypeRecommendation *string
// The time when the recommendation was last updated.
UpdatedTime *time.Time
noSmithyDocumentSerde
}
// Contains the details for an Amazon RDS DB security group.
//
// This data type is used as a response element in the DescribeDBSecurityGroups
// action.
type DBSecurityGroup struct {
// The Amazon Resource Name (ARN) for the DB security group.
DBSecurityGroupArn *string
// Provides the description of the DB security group.
DBSecurityGroupDescription *string
// Specifies the name of the DB security group.
DBSecurityGroupName *string
// Contains a list of EC2SecurityGroup elements.
EC2SecurityGroups []EC2SecurityGroup
// Contains a list of IPRange elements.
IPRanges []IPRange
// Provides the Amazon Web Services ID of the owner of a specific DB security
// group.
OwnerId *string
// Provides the VpcId of the DB security group.
VpcId *string
noSmithyDocumentSerde
}
// This data type is used as a response element in the following actions:
//
// - ModifyDBInstance
//
// - RebootDBInstance
//
// - RestoreDBInstanceFromDBSnapshot
//
// - RestoreDBInstanceToPointInTime
type DBSecurityGroupMembership struct {
// The name of the DB security group.
DBSecurityGroupName *string
// The status of the DB security group.
Status *string
noSmithyDocumentSerde
}
type DBShardGroup struct {
// Specifies whether to create standby instances for the DB shard group. Valid
// values are the following:
//
// - 0 - Creates a single, primary DB instance for each physical shard. This is
// the default value, and the only one supported for the preview.
//
// - 1 - Creates a primary DB instance and a standby instance in a different
// Availability Zone (AZ) for each physical shard.
//
// - 2 - Creates a primary DB instance and two standby instances in different
// AZs for each physical shard.
ComputeRedundancy *int32
// The name of the primary DB cluster for the DB shard group.
DBClusterIdentifier *string
// The name of the DB shard group.
DBShardGroupIdentifier *string
// The Amazon Web Services Region-unique, immutable identifier for the DB shard
// group.
DBShardGroupResourceId *string
// The connection endpoint for the DB shard group.
Endpoint *string
// The maximum capacity of the DB shard group in Aurora capacity units (ACUs).
MaxACU *float64
// Indicates whether the DB shard group is publicly accessible.
//
// When the DB shard group is publicly accessible, its Domain Name System (DNS)
// endpoint resolves to the private IP address from within the DB shard group's
// virtual private cloud (VPC). It resolves to the public IP address from outside
// of the DB shard group's VPC. Access to the DB shard group is ultimately
// controlled by the security group it uses. That public access isn't permitted if
// the security group assigned to the DB shard group doesn't permit it.
//
// When the DB shard group isn't publicly accessible, it is an internal DB shard
// group with a DNS name that resolves to a private IP address.
//
// For more information, see CreateDBShardGroup.
//
// This setting is only for Aurora Limitless Database.
PubliclyAccessible *bool
// The status of the DB shard group.
Status *string
noSmithyDocumentSerde
}
// Contains the details of an Amazon RDS DB snapshot.
//
// This data type is used as a response element in the DescribeDBSnapshots action.
type DBSnapshot struct {
// Specifies the allocated storage size in gibibytes (GiB).
AllocatedStorage *int32
// Specifies the name of the Availability Zone the DB instance was located in at
// the time of the DB snapshot.
AvailabilityZone *string
// Specifies the DB instance identifier of the DB instance this DB snapshot was
// created from.
DBInstanceIdentifier *string
// The Amazon Resource Name (ARN) for the DB snapshot.
DBSnapshotArn *string
// Specifies the identifier for the DB snapshot.
DBSnapshotIdentifier *string
// The Oracle system identifier (SID), which is the name of the Oracle database
// instance that manages your database files. The Oracle SID is also the name of
// your CDB.
DBSystemId *string
// The identifier for the source DB instance, which can't be changed and which is
// unique to an Amazon Web Services Region.
DbiResourceId *string
// Indicates whether the DB instance has a dedicated log volume (DLV) enabled.
DedicatedLogVolume *bool
// Indicates whether the DB snapshot is encrypted.
Encrypted *bool
// Specifies the name of the database engine.
Engine *string
// Specifies the version of the database engine.
EngineVersion *string
// Indicates whether mapping of Amazon Web Services Identity and Access Management
// (IAM) accounts to database accounts is enabled.
IAMDatabaseAuthenticationEnabled *bool
// Specifies the time in Coordinated Universal Time (UTC) when the DB instance,
// from which the snapshot was taken, was created.
InstanceCreateTime *time.Time
// Specifies the Provisioned IOPS (I/O operations per second) value of the DB
// instance at the time of the snapshot.
Iops *int32
// If Encrypted is true, the Amazon Web Services KMS key identifier for the
// encrypted DB snapshot.
//
// The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN,
// or alias name for the KMS key.
KmsKeyId *string
// License model information for the restored DB instance.
LicenseModel *string
// Provides the master username for the DB snapshot.
MasterUsername *string
// Indicates whether the snapshot is of a DB instance using the multi-tenant
// configuration (TRUE) or the single-tenant configuration (FALSE).
MultiTenant *bool
// Provides the option group name for the DB snapshot.
OptionGroupName *string
// Specifies the time of the CreateDBSnapshot operation in Coordinated Universal
// Time (UTC). Doesn't change when the snapshot is copied.
OriginalSnapshotCreateTime *time.Time
// The percentage of the estimated data that has been transferred.
PercentProgress *int32
// Specifies the port that the database engine was listening on at the time of the
// snapshot.
Port *int32
// The number of CPU cores and the number of threads per core for the DB instance
// class of the DB instance when the DB snapshot was created.
ProcessorFeatures []ProcessorFeature
// Specifies when the snapshot was taken in Coordinated Universal Time (UTC).
// Changes for the copy when the snapshot is copied.
SnapshotCreateTime *time.Time
// The timestamp of the most recent transaction applied to the database that
// you're backing up. Thus, if you restore a snapshot, SnapshotDatabaseTime is the
// most recent transaction in the restored DB instance. In contrast,
// originalSnapshotCreateTime specifies the system time that the snapshot
// completed.
//
// If you back up a read replica, you can determine the replica lag by comparing
// SnapshotDatabaseTime with originalSnapshotCreateTime. For example, if
// originalSnapshotCreateTime is two hours later than SnapshotDatabaseTime, then
// the replica lag is two hours.
SnapshotDatabaseTime *time.Time
// Specifies where manual snapshots are stored: Amazon Web Services Outposts or
// the Amazon Web Services Region.
SnapshotTarget *string
// Provides the type of the DB snapshot.
SnapshotType *string
// The DB snapshot Amazon Resource Name (ARN) that the DB snapshot was copied
// from. It only has a value in the case of a cross-account or cross-Region copy.
SourceDBSnapshotIdentifier *string
// The Amazon Web Services Region that the DB snapshot was created in or copied
// from.
SourceRegion *string
// Specifies the status of this DB snapshot.
Status *string
// Specifies the storage throughput for the DB snapshot.
StorageThroughput *int32
// Specifies the storage type associated with DB snapshot.
StorageType *string
// A list of tags. For more information, see [Tagging Amazon RDS Resources] in the Amazon RDS User Guide.
//
// [Tagging Amazon RDS Resources]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html
TagList []Tag
// The ARN from the key store with which to associate the instance for TDE
// encryption.
TdeCredentialArn *string
// The time zone of the DB snapshot. In most cases, the Timezone element is empty.
// Timezone content appears only for snapshots taken from Microsoft SQL Server DB
// instances that were created with a time zone specified.
Timezone *string
// Provides the VPC ID associated with the DB snapshot.
VpcId *string
noSmithyDocumentSerde
}
// Contains the name and values of a manual DB snapshot attribute
//
// Manual DB snapshot attributes are used to authorize other Amazon Web Services
// accounts to restore a manual DB snapshot. For more information, see the
// ModifyDBSnapshotAttribute API.
type DBSnapshotAttribute struct {
// The name of the manual DB snapshot attribute.
//
// The attribute named restore refers to the list of Amazon Web Services accounts
// that have permission to copy or restore the manual DB cluster snapshot. For more
// information, see the ModifyDBSnapshotAttribute API action.
AttributeName *string
// The value or values for the manual DB snapshot attribute.
//
// If the AttributeName field is set to restore , then this element returns a list
// of IDs of the Amazon Web Services accounts that are authorized to copy or
// restore the manual DB snapshot. If a value of all is in the list, then the
// manual DB snapshot is public and available for any Amazon Web Services account
// to copy or restore.
AttributeValues []string
noSmithyDocumentSerde
}
// Contains the results of a successful call to the DescribeDBSnapshotAttributes
// API action.
//
// Manual DB snapshot attributes are used to authorize other Amazon Web Services
// accounts to copy or restore a manual DB snapshot. For more information, see the
// ModifyDBSnapshotAttribute API action.
type DBSnapshotAttributesResult struct {
// The list of attributes and values for the manual DB snapshot.
DBSnapshotAttributes []DBSnapshotAttribute
// The identifier of the manual DB snapshot that the attributes apply to.
DBSnapshotIdentifier *string
noSmithyDocumentSerde
}
// Contains the details of a tenant database in a snapshot of a DB instance.
type DBSnapshotTenantDatabase struct {
// The name of the character set of a tenant database.
CharacterSetName *string
// The ID for the DB instance that contains the tenant databases.
DBInstanceIdentifier *string
// The identifier for the snapshot of the DB instance.
DBSnapshotIdentifier *string
// The Amazon Resource Name (ARN) for the snapshot tenant database.
DBSnapshotTenantDatabaseARN *string
// The resource identifier of the source CDB instance. This identifier can't be
// changed and is unique to an Amazon Web Services Region.
DbiResourceId *string
// The name of the database engine.
EngineName *string
// The master username of the tenant database.
MasterUsername *string
// The NCHAR character set name of the tenant database.
NcharCharacterSetName *string
// The type of DB snapshot.
SnapshotType *string
// A list of tags. For more information, see [Tagging Amazon RDS Resources] in the Amazon RDS User Guide.
//
// [Tagging Amazon RDS Resources]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html
TagList []Tag
// The name of the tenant database.
TenantDBName *string
// The time the DB snapshot was taken, specified in Coordinated Universal Time
// (UTC). If you copy the snapshot, the creation time changes.
TenantDatabaseCreateTime *time.Time
// The resource ID of the tenant database.
TenantDatabaseResourceId *string
noSmithyDocumentSerde
}
// Contains the details of an Amazon RDS DB subnet group.
//
// This data type is used as a response element in the DescribeDBSubnetGroups
// action.
type DBSubnetGroup struct {
// The Amazon Resource Name (ARN) for the DB subnet group.
DBSubnetGroupArn *string
// Provides the description of the DB subnet group.
DBSubnetGroupDescription *string
// The name of the DB subnet group.
DBSubnetGroupName *string
// Provides the status of the DB subnet group.
SubnetGroupStatus *string
// Contains a list of Subnet elements.
Subnets []Subnet
// The network type of the DB subnet group.
//
// Valid values:
//
// - IPV4
//
// - DUAL
//
// A DBSubnetGroup can support only the IPv4 protocol or the IPv4 and the IPv6
// protocols ( DUAL ).
//
// For more information, see [Working with a DB instance in a VPC] in the Amazon RDS User Guide.
//
// [Working with a DB instance in a VPC]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html
SupportedNetworkTypes []string
// Provides the VpcId of the DB subnet group.
VpcId *string
noSmithyDocumentSerde
}
// This data type is used as a response element to DescribeDBLogFiles .
type DescribeDBLogFilesDetails struct {
// A POSIX timestamp when the last log entry was written.
LastWritten *int64
// The name of the log file for the specified DB instance.
LogFileName *string
// The size, in bytes, of the log file for the specified DB instance.
Size *int64
noSmithyDocumentSerde
}
// A link to documentation that provides additional information for a
// recommendation.
type DocLink struct {
// The text with the link to documentation for the recommendation.
Text *string
// The URL for the documentation for the recommendation.
Url *string
noSmithyDocumentSerde
}
// An Active Directory Domain membership record associated with the DB instance or
// cluster.
type DomainMembership struct {
// The ARN for the Secrets Manager secret with the credentials for the user that's
// a member of the domain.
AuthSecretArn *string
// The IPv4 DNS IP addresses of the primary and secondary Active Directory domain
// controllers.
DnsIps []string
// The identifier of the Active Directory Domain.
Domain *string
// The fully qualified domain name (FQDN) of the Active Directory Domain.
FQDN *string
// The name of the IAM role used when making API calls to the Directory Service.
IAMRoleName *string
// The Active Directory organizational unit for the DB instance or cluster.
OU *string
// The status of the Active Directory Domain membership for the DB instance or
// cluster. Values include joined , pending-join , failed , and so on.
Status *string
noSmithyDocumentSerde
}
// A range of double values.
type DoubleRange struct {
// The minimum value in the range.
From *float64
// The maximum value in the range.
To *float64
noSmithyDocumentSerde
}
// This data type is used as a response element in the following actions:
//
// - AuthorizeDBSecurityGroupIngress
//
// - DescribeDBSecurityGroups
//
// - RevokeDBSecurityGroupIngress
type EC2SecurityGroup struct {
// Specifies the id of the EC2 security group.
EC2SecurityGroupId *string
// Specifies the name of the EC2 security group.
EC2SecurityGroupName *string
// Specifies the Amazon Web Services ID of the owner of the EC2 security group
// specified in the EC2SecurityGroupName field.
EC2SecurityGroupOwnerId *string
// Provides the status of the EC2 security group. Status can be "authorizing",
// "authorized", "revoking", and "revoked".
Status *string
noSmithyDocumentSerde
}
// This data type represents the information you need to connect to an Amazon RDS
// DB instance. This data type is used as a response element in the following
// actions:
//
// - CreateDBInstance
//
// - DescribeDBInstances
//
// - DeleteDBInstance
//
// For the data structure that represents Amazon Aurora DB cluster endpoints, see
// DBClusterEndpoint .
type Endpoint struct {
// Specifies the DNS address of the DB instance.
Address *string
// Specifies the ID that Amazon Route 53 assigns when you create a hosted zone.
HostedZoneId *string
// Specifies the port that the database engine is listening on.
Port *int32
noSmithyDocumentSerde
}
// Contains the result of a successful invocation of the
// DescribeEngineDefaultParameters action.
type EngineDefaults struct {
// Specifies the name of the DB parameter group family that the engine default
// parameters apply to.
DBParameterGroupFamily *string
// An optional pagination token provided by a previous EngineDefaults request. If
// this parameter is specified, the response includes only records beyond the
// marker, up to the value specified by MaxRecords .
Marker *string
// Contains a list of engine default parameters.
Parameters []Parameter
noSmithyDocumentSerde
}
// This data type is used as a response element in the [DescribeEvents] action.
//
// [DescribeEvents]: https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_DescribeEvents.html
type Event struct {
// Specifies the date and time of the event.
Date *time.Time
// Specifies the category for the event.
EventCategories []string
// Provides the text of this event.
Message *string
// The Amazon Resource Name (ARN) for the event.
SourceArn *string
// Provides the identifier for the source of the event.
SourceIdentifier *string
// Specifies the source type for this event.
SourceType SourceType
noSmithyDocumentSerde
}
// Contains the results of a successful invocation of the [DescribeEventCategories] operation.
//
// [DescribeEventCategories]: https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_DescribeEventCategories.html
type EventCategoriesMap struct {
// The event categories for the specified source type
EventCategories []string
// The source type that the returned categories belong to
SourceType *string
noSmithyDocumentSerde
}
// Contains the results of a successful invocation of the
// DescribeEventSubscriptions action.
type EventSubscription struct {
// The RDS event notification subscription Id.
CustSubscriptionId *string
// The Amazon Web Services customer account associated with the RDS event
// notification subscription.
CustomerAwsId *string
// Specifies whether the subscription is enabled. True indicates the subscription
// is enabled.
Enabled *bool
// A list of event categories for the RDS event notification subscription.
EventCategoriesList []string
// The Amazon Resource Name (ARN) for the event subscription.
EventSubscriptionArn *string
// The topic ARN of the RDS event notification subscription.
SnsTopicArn *string
// A list of source IDs for the RDS event notification subscription.
SourceIdsList []string
// The source type for the RDS event notification subscription.
SourceType *string
// The status of the RDS event notification subscription.
//
// Constraints:
//
// Can be one of the following: creating | modifying | deleting | active |
// no-permission | topic-not-exist
//
// The status "no-permission" indicates that RDS no longer has permission to post
// to the SNS topic. The status "topic-not-exist" indicates that the topic was
// deleted after the subscription was created.
Status *string
// The time the RDS event notification subscription was created.
SubscriptionCreationTime *string
noSmithyDocumentSerde
}
// Contains the details of a snapshot or cluster export to Amazon S3.
//
// This data type is used as a response element in the DescribeExportTasks
// operation.
type ExportTask struct {
// The data exported from the snapshot or cluster.
//
// Valid Values:
//
// - database - Export all the data from a specified database.
//
// - database.table table-name - Export a table of the snapshot or cluster. This
// format is valid only for RDS for MySQL, RDS for MariaDB, and Aurora MySQL.
//
// - database.schema schema-name - Export a database schema of the snapshot or
// cluster. This format is valid only for RDS for PostgreSQL and Aurora PostgreSQL.
//
// - database.schema.table table-name - Export a table of the database schema.
// This format is valid only for RDS for PostgreSQL and Aurora PostgreSQL.
ExportOnly []string
// A unique identifier for the snapshot or cluster export task. This ID isn't an
// identifier for the Amazon S3 bucket where the data is exported.
ExportTaskIdentifier *string
// The reason the export failed, if it failed.
FailureCause *string
// The name of the IAM role that is used to write to Amazon S3 when exporting a
// snapshot or cluster.
IamRoleArn *string
// The key identifier of the Amazon Web Services KMS key that is used to encrypt
// the data when it's exported to Amazon S3. The KMS key identifier is its key ARN,
// key ID, alias ARN, or alias name. The IAM role used for the export must have
// encryption and decryption permissions to use this KMS key.
KmsKeyId *string
// The progress of the snapshot or cluster export task as a percentage.
PercentProgress *int32
// The Amazon S3 bucket where the snapshot or cluster is exported to.
S3Bucket *string
// The Amazon S3 bucket prefix that is the file name and path of the exported data.
S3Prefix *string
// The time when the snapshot was created.
SnapshotTime *time.Time
// The Amazon Resource Name (ARN) of the snapshot or cluster exported to Amazon S3.
SourceArn *string
// The type of source for the export.
SourceType ExportSourceType
// The progress status of the export task. The status can be one of the following:
//
// - CANCELED
//
// - CANCELING
//
// - COMPLETE
//
// - FAILED
//
// - IN_PROGRESS
//
// - STARTING
Status *string
// The time when the snapshot or cluster export task ended.
TaskEndTime *time.Time
// The time when the snapshot or cluster export task started.
TaskStartTime *time.Time
// The total amount of data exported, in gigabytes.
TotalExtractedDataInGB *int32
// A warning about the snapshot or cluster export task.
WarningMessage *string
noSmithyDocumentSerde
}
// Contains the state of scheduled or in-process operations on a global cluster
// (Aurora global database). This data type is empty unless a switchover or
// failover operation is scheduled or is in progress on the Aurora global database.
type FailoverState struct {
// The Amazon Resource Name (ARN) of the Aurora DB cluster that is currently being
// demoted, and which is associated with this state.
FromDbClusterArn *string
// Indicates whether the operation is a global switchover or a global failover. If
// data loss is allowed, then the operation is a global failover. Otherwise, it's a
// switchover.
IsDataLossAllowed *bool
// The current status of the global cluster. Possible values are as follows:
//
// - pending – The service received a request to switch over or fail over the
// global cluster. The global cluster's primary DB cluster and the specified
// secondary DB cluster are being verified before the operation starts.
//
// - failing-over – Aurora is promoting the chosen secondary Aurora DB cluster
// to become the new primary DB cluster to fail over the global cluster.
//
// - cancelling – The request to switch over or fail over the global cluster was
// cancelled and the primary Aurora DB cluster and the selected secondary Aurora DB
// cluster are returning to their previous states.
//
// - switching-over – This status covers the range of Aurora internal operations
// that take place during the switchover process, such as demoting the primary
// Aurora DB cluster, promoting the secondary Aurora DB cluster, and synchronizing
// replicas.
Status FailoverStatus
// The Amazon Resource Name (ARN) of the Aurora DB cluster that is currently being
// promoted, and which is associated with this state.
ToDbClusterArn *string
noSmithyDocumentSerde
}
// A filter name and value pair that is used to return a more specific list of
// results from a describe operation. Filters can be used to match a set of
// resources by specific criteria, such as IDs. The filters supported by a describe
// operation are documented with the describe operation.
//
// Currently, wildcards are not supported in filters.
//
// The following actions can be filtered:
//
// - DescribeDBClusterBacktracks
//
// - DescribeDBClusterEndpoints
//
// - DescribeDBClusters
//
// - DescribeDBInstances
//
// - DescribeDBRecommendations
//
// - DescribeDBShardGroups
//
// - DescribePendingMaintenanceActions
type Filter struct {
// The name of the filter. Filter names are case-sensitive.
//
// This member is required.
Name *string
// One or more filter values. Filter values are case-sensitive.
//
// This member is required.
Values []string
noSmithyDocumentSerde
}
// A data type representing an Aurora global database.
type GlobalCluster struct {
// The default database name within the new global database cluster.
DatabaseName *string
// The deletion protection setting for the new global database cluster.
DeletionProtection *bool
// The Aurora database engine used by the global database cluster.
Engine *string
// The life cycle type for the global cluster.
//
// For more information, see CreateGlobalCluster.
EngineLifecycleSupport *string
// Indicates the database engine version.
EngineVersion *string
// A data object containing all properties for the current state of an in-process
// or pending switchover or failover process for this global cluster (Aurora global
// database). This object is empty unless the SwitchoverGlobalCluster or
// FailoverGlobalCluster operation was called on this global cluster.
FailoverState *FailoverState
// The Amazon Resource Name (ARN) for the global database cluster.
GlobalClusterArn *string
// Contains a user-supplied global database cluster identifier. This identifier is
// the unique key that identifies a global database cluster.
GlobalClusterIdentifier *string
// The list of primary and secondary clusters within the global database cluster.
GlobalClusterMembers []GlobalClusterMember
// The Amazon Web Services Region-unique, immutable identifier for the global
// database cluster. This identifier is found in Amazon Web Services CloudTrail log
// entries whenever the Amazon Web Services KMS key for the DB cluster is accessed.
GlobalClusterResourceId *string
// Specifies the current state of this global database cluster.
Status *string
// The storage encryption setting for the global database cluster.
StorageEncrypted *bool
noSmithyDocumentSerde
}
// A data structure with information about any primary and secondary clusters
// associated with a global cluster (Aurora global database).
type GlobalClusterMember struct {
// The Amazon Resource Name (ARN) for each Aurora DB cluster in the global cluster.
DBClusterArn *string
// The status of write forwarding for a secondary cluster in the global cluster.
GlobalWriteForwardingStatus WriteForwardingStatus
// Indicates whether the Aurora DB cluster is the primary cluster (that is, has
// read-write capability) for the global cluster with which it is associated.
IsWriter *bool
// The Amazon Resource Name (ARN) for each read-only secondary cluster associated
// with the global cluster.
Readers []string
// The status of synchronization of each Aurora DB cluster in the global cluster.
SynchronizationStatus GlobalClusterMemberSynchronizationStatus
noSmithyDocumentSerde
}
// A zero-ETL integration with Amazon Redshift.
type Integration struct {
// The encryption context for the integration. For more information, see [Encryption context] in the
// Amazon Web Services Key Management Service Developer Guide.
//
// [Encryption context]: https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#encrypt_context
AdditionalEncryptionContext map[string]string
// The time when the integration was created, in Universal Coordinated Time (UTC).
CreateTime *time.Time
// Data filters for the integration. These filters determine which tables from the
// source database are sent to the target Amazon Redshift data warehouse.
DataFilter *string
// A description of the integration.
Description *string
// Any errors associated with the integration.
Errors []IntegrationError
// The ARN of the integration.
IntegrationArn *string
// The name of the integration.
IntegrationName *string
// The Amazon Web Services Key Management System (Amazon Web Services KMS) key
// identifier for the key used to to encrypt the integration.
KMSKeyId *string
// The Amazon Resource Name (ARN) of the database used as the source for
// replication.
SourceArn *string
// The current status of the integration.
Status IntegrationStatus
// A list of tags. For more information, see [Tagging Amazon RDS Resources] in the Amazon RDS User Guide.
//
// [Tagging Amazon RDS Resources]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html
Tags []Tag
// The ARN of the Redshift data warehouse used as the target for replication.
TargetArn *string
noSmithyDocumentSerde
}
// An error associated with a zero-ETL integration with Amazon Redshift.
type IntegrationError struct {
// The error code associated with the integration.
//
// This member is required.
ErrorCode *string
// A message explaining the error.
ErrorMessage *string
noSmithyDocumentSerde
}
// This data type is used as a response element in the DescribeDBSecurityGroups
// action.
type IPRange struct {
// The IP range.
CIDRIP *string
// The status of the IP range. Status can be "authorizing", "authorized",
// "revoking", and "revoked".
Status *string
noSmithyDocumentSerde
}
// The details of an issue with your DB instances, DB clusters, and DB parameter
// groups.
type IssueDetails struct {
// A detailed description of the issue when the recommendation category is
// performance .
PerformanceIssueDetails *PerformanceIssueDetails
noSmithyDocumentSerde
}
// Contains details for Aurora Limitless Database.
type LimitlessDatabase struct {
// The minimum required capacity for Aurora Limitless Database in Aurora capacity
// units (ACUs).
MinRequiredACU *float64
// The status of Aurora Limitless Database.
Status LimitlessDatabaseStatus
noSmithyDocumentSerde
}
// Contains the secret managed by RDS in Amazon Web Services Secrets Manager for
// the master user password.
//
// For more information, see [Password management with Amazon Web Services Secrets Manager] in the Amazon RDS User Guide and [Password management with Amazon Web Services Secrets Manager] in the Amazon
// Aurora User Guide.
//
// [Password management with Amazon Web Services Secrets Manager]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/rds-secrets-manager.html
type MasterUserSecret struct {
// The Amazon Web Services KMS key identifier that is used to encrypt the secret.
KmsKeyId *string
// The Amazon Resource Name (ARN) of the secret.
SecretArn *string
// The status of the secret.
//
// The possible status values include the following:
//
// - creating - The secret is being created.
//
// - active - The secret is available for normal use and rotation.
//
// - rotating - The secret is being rotated.
//
// - impaired - The secret can be used to access database credentials, but it
// can't be rotated. A secret might have this status if, for example, permissions
// are changed so that RDS can no longer access either the secret or the KMS key
// for the secret.
//
// When a secret has this status, you can correct the condition that caused the
// status. Alternatively, modify the DB instance to turn off automatic management
// of database credentials, and then modify the DB instance again to turn on
// automatic management of database credentials.
SecretStatus *string
noSmithyDocumentSerde
}
// The representation of a metric.
type Metric struct {
// The query to retrieve metric data points.
MetricQuery *MetricQuery
// The name of a metric.
Name *string
// A list of metric references (thresholds).
References []MetricReference
// The details of different statistics for a metric. The description might contain
// markdown.
StatisticsDetails *string
noSmithyDocumentSerde
}
// The query to retrieve metric data points.
type MetricQuery struct {
// The Performance Insights query that you can use to retrieve Performance
// Insights metric data points.
PerformanceInsightsMetricQuery *PerformanceInsightsMetricQuery
noSmithyDocumentSerde
}
// The reference (threshold) for a metric.
type MetricReference struct {
// The name of the metric reference.
Name *string
// The details of a performance issue.
ReferenceDetails *ReferenceDetails
noSmithyDocumentSerde
}
// The minimum DB engine version required for each corresponding allowed value for
// an option setting.
type MinimumEngineVersionPerAllowedValue struct {
// The allowed value for an option setting.
AllowedValue *string
// The minimum DB engine version required for the allowed value.
MinimumEngineVersion *string
noSmithyDocumentSerde
}
// The details of an option.
type Option struct {
// If the option requires access to a port, then this DB security group allows
// access to the port.
DBSecurityGroupMemberships []DBSecurityGroupMembership
// The description of the option.
OptionDescription *string
// The name of the option.
OptionName *string
// The option settings for this option.
OptionSettings []OptionSetting
// The version of the option.
OptionVersion *string
// Indicates whether this option is permanent.
Permanent *bool
// Indicates whether this option is persistent.
Persistent *bool
// If required, the port configured for this option to use.
Port *int32
// If the option requires access to a port, then this VPC security group allows
// access to the port.
VpcSecurityGroupMemberships []VpcSecurityGroupMembership
noSmithyDocumentSerde
}
// A list of all available options
type OptionConfiguration struct {
// The configuration of options to include in a group.
//
// This member is required.
OptionName *string
// A list of DBSecurityGroupMembership name strings used for this option.
DBSecurityGroupMemberships []string
// The option settings to include in an option group.
OptionSettings []OptionSetting
// The version for the option.
OptionVersion *string
// The optional port for the option.
Port *int32
// A list of VpcSecurityGroupMembership name strings used for this option.
VpcSecurityGroupMemberships []string
noSmithyDocumentSerde
}
type OptionGroup struct {
// Indicates whether this option group can be applied to both VPC and non-VPC
// instances. The value true indicates the option group can be applied to both VPC
// and non-VPC instances.
AllowsVpcAndNonVpcInstanceMemberships *bool
// Indicates when the option group was copied.
CopyTimestamp *time.Time
// Indicates the name of the engine that this option group can be applied to.
EngineName *string
// Indicates the major engine version associated with this option group.
MajorEngineVersion *string
// Specifies the Amazon Resource Name (ARN) for the option group.
OptionGroupArn *string
// Provides a description of the option group.
OptionGroupDescription *string
// Specifies the name of the option group.
OptionGroupName *string
// Indicates what options are available in the option group.
Options []Option
// Specifies the Amazon Web Services account ID for the option group from which
// this option group is copied.
SourceAccountId *string
// Specifies the name of the option group from which this option group is copied.
SourceOptionGroup *string
// If AllowsVpcAndNonVpcInstanceMemberships is false , this field is blank. If
// AllowsVpcAndNonVpcInstanceMemberships is true and this field is blank, then
// this option group can be applied to both VPC and non-VPC instances. If this
// field contains a value, then this option group can only be applied to instances
// that are in the VPC indicated by this field.
VpcId *string
noSmithyDocumentSerde
}
// Provides information on the option groups the DB instance is a member of.
type OptionGroupMembership struct {
// The name of the option group that the instance belongs to.
OptionGroupName *string
// The status of the DB instance's option group membership. Valid values are:
// in-sync , pending-apply , pending-removal , pending-maintenance-apply ,
// pending-maintenance-removal , applying , removing , and failed .
Status *string
noSmithyDocumentSerde
}
// Available option.
type OptionGroupOption struct {
// Indicates whether the option can be copied across Amazon Web Services accounts.
CopyableCrossAccount *bool
// If the option requires a port, specifies the default port for the option.
DefaultPort *int32
// The description of the option.
Description *string
// The name of the engine that this option can be applied to.
EngineName *string
// Indicates the major engine version that the option is available for.
MajorEngineVersion *string
// The minimum required engine version for the option to be applied.
MinimumRequiredMinorEngineVersion *string
// The name of the option.
Name *string
// The option settings that are available (and the default value) for each option
// in an option group.
OptionGroupOptionSettings []OptionGroupOptionSetting
// The versions that are available for the option.
OptionGroupOptionVersions []OptionVersion
// The options that conflict with this option.
OptionsConflictsWith []string
// The options that are prerequisites for this option.
OptionsDependedOn []string
// Permanent options can never be removed from an option group. An option group
// containing a permanent option can't be removed from a DB instance.
Permanent *bool
// Persistent options can't be removed from an option group while DB instances are
// associated with the option group. If you disassociate all DB instances from the
// option group, your can remove the persistent option from the option group.
Persistent *bool
// Indicates whether the option requires a port.
PortRequired *bool
// If true, you must enable the Auto Minor Version Upgrade setting for your DB
// instance before you can use this option. You can enable Auto Minor Version
// Upgrade when you first create your DB instance, or by modifying your DB instance
// later.
RequiresAutoMinorEngineVersionUpgrade *bool
// If true, you can change the option to an earlier version of the option. This
// only applies to options that have different versions available.
SupportsOptionVersionDowngrade *bool
// If true, you can only use this option with a DB instance that is in a VPC.
VpcOnly *bool
noSmithyDocumentSerde
}
// Option group option settings are used to display settings available for each
// option with their default values and other information. These values are used
// with the DescribeOptionGroupOptions action.
type OptionGroupOptionSetting struct {
// Indicates the acceptable values for the option group option.
AllowedValues *string
// The DB engine specific parameter type for the option group option.
ApplyType *string
// The default value for the option group option.
DefaultValue *string
// Indicates whether this option group option can be changed from the default
// value.
IsModifiable *bool
// Indicates whether a value must be specified for this option setting of the
// option group option.
IsRequired *bool
// The minimum DB engine version required for the corresponding allowed value for
// this option setting.
MinimumEngineVersionPerAllowedValue []MinimumEngineVersionPerAllowedValue
// The description of the option group option.
SettingDescription *string
// The name of the option group option.
SettingName *string
noSmithyDocumentSerde
}
// Option settings are the actual settings being applied or configured for that
// option. It is used when you modify an option group or describe option groups.
// For example, the NATIVE_NETWORK_ENCRYPTION option has a setting called
// SQLNET.ENCRYPTION_SERVER that can have several different values.
type OptionSetting struct {
// The allowed values of the option setting.
AllowedValues *string
// The DB engine specific parameter type.
ApplyType *string
// The data type of the option setting.
DataType *string
// The default value of the option setting.
DefaultValue *string
// The description of the option setting.
Description *string
// Indicates whether the option setting is part of a collection.
IsCollection *bool
// Indicates whether the option setting can be modified from the default.
IsModifiable *bool
// The name of the option that has settings that you can set.
Name *string
// The current value of the option setting.
Value *string
noSmithyDocumentSerde
}
// The version for an option. Option group option versions are returned by the
// DescribeOptionGroupOptions action.
type OptionVersion struct {
// Indicates whether the version is the default version of the option.
IsDefault *bool
// The version of the option.
Version *string
noSmithyDocumentSerde
}
// Contains a list of available options for a DB instance.
//
// This data type is used as a response element in the
// DescribeOrderableDBInstanceOptions action.
type OrderableDBInstanceOption struct {
// The Availability Zone group for a DB instance.
AvailabilityZoneGroup *string
// A list of Availability Zones for a DB instance.
AvailabilityZones []AvailabilityZone
// A list of the available processor features for the DB instance class of a DB
// instance.
AvailableProcessorFeatures []AvailableProcessorFeature
// The DB instance class for a DB instance.
DBInstanceClass *string
// The engine type of a DB instance.
Engine *string
// The engine version of a DB instance.
EngineVersion *string
// The license model for a DB instance.
LicenseModel *string
// Maximum total provisioned IOPS for a DB instance.
MaxIopsPerDbInstance *int32
// Maximum provisioned IOPS per GiB for a DB instance.
MaxIopsPerGib *float64
// Maximum storage size for a DB instance.
MaxStorageSize *int32
// Maximum storage throughput for a DB instance.
MaxStorageThroughputPerDbInstance *int32
// Maximum storage throughput to provisioned IOPS ratio for a DB instance.
MaxStorageThroughputPerIops *float64
// Minimum total provisioned IOPS for a DB instance.
MinIopsPerDbInstance *int32
// Minimum provisioned IOPS per GiB for a DB instance.
MinIopsPerGib *float64
// Minimum storage size for a DB instance.
MinStorageSize *int32
// Minimum storage throughput for a DB instance.
MinStorageThroughputPerDbInstance *int32
// Minimum storage throughput to provisioned IOPS ratio for a DB instance.
MinStorageThroughputPerIops *float64
// Indicates whether a DB instance is Multi-AZ capable.
MultiAZCapable *bool
// Indicates whether a DB instance supports RDS on Outposts.
//
// For more information about RDS on Outposts, see [Amazon RDS on Amazon Web Services Outposts] in the Amazon RDS User Guide.
//
// [Amazon RDS on Amazon Web Services Outposts]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-on-outposts.html
OutpostCapable *bool
// Indicates whether a DB instance can have a read replica.
ReadReplicaCapable *bool
// The storage type for a DB instance.
StorageType *string
// The list of supported modes for Database Activity Streams. Aurora PostgreSQL
// returns the value [sync, async] . Aurora MySQL and RDS for Oracle return [async]
// only. If Database Activity Streams isn't supported, the return value is an empty
// list.
SupportedActivityStreamModes []string
// A list of the supported DB engine modes.
SupportedEngineModes []string
// The network types supported by the DB instance ( IPV4 or DUAL ).
//
// A DB instance can support only the IPv4 protocol or the IPv4 and the IPv6
// protocols ( DUAL ).
//
// For more information, see [Working with a DB instance in a VPC] in the Amazon RDS User Guide.
//
// [Working with a DB instance in a VPC]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html
SupportedNetworkTypes []string
// Indicates whether DB instances can be configured as a Multi-AZ DB cluster.
//
// For more information on Multi-AZ DB clusters, see [Multi-AZ deployments with two readable standby DB instances] in the Amazon RDS User
// Guide.
//
// [Multi-AZ deployments with two readable standby DB instances]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/multi-az-db-clusters-concepts.html
SupportsClusters *bool
// Indicates whether a DB instance supports using a dedicated log volume (DLV).
SupportsDedicatedLogVolume *bool
// Indicates whether a DB instance supports Enhanced Monitoring at intervals from
// 1 to 60 seconds.
SupportsEnhancedMonitoring *bool
// Indicates whether you can use Aurora global databases with a specific
// combination of other DB engine attributes.
SupportsGlobalDatabases *bool
// Indicates whether a DB instance supports IAM database authentication.
SupportsIAMDatabaseAuthentication *bool
// Indicates whether a DB instance supports provisioned IOPS.
SupportsIops *bool
// Indicates whether a DB instance supports Kerberos Authentication.
SupportsKerberosAuthentication *bool
// Indicates whether a DB instance supports Performance Insights.
SupportsPerformanceInsights *bool
// Indicates whether Amazon RDS can automatically scale storage for DB instances
// that use the specified DB instance class.
SupportsStorageAutoscaling *bool
// Indicates whether a DB instance supports encrypted storage.
SupportsStorageEncryption *bool
// Indicates whether a DB instance supports storage throughput.
SupportsStorageThroughput *bool
// Indicates whether a DB instance is in a VPC.
Vpc *bool
noSmithyDocumentSerde
}
// A data type that represents an Outpost.
//
// For more information about RDS on Outposts, see [Amazon RDS on Amazon Web Services Outposts] in the Amazon RDS User Guide.
//
// [Amazon RDS on Amazon Web Services Outposts]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-on-outposts.html
type Outpost struct {
// The Amazon Resource Name (ARN) of the Outpost.
Arn *string
noSmithyDocumentSerde
}
// This data type is used as a request parameter in the ModifyDBParameterGroup and
// ResetDBParameterGroup actions.
//
// This data type is used as a response element in the
// DescribeEngineDefaultParameters and DescribeDBParameters actions.
type Parameter struct {
// Specifies the valid range of values for the parameter.
AllowedValues *string
// Indicates when to apply parameter updates.
ApplyMethod ApplyMethod
// Specifies the engine specific parameters type.
ApplyType *string
// Specifies the valid data type for the parameter.
DataType *string
// Provides a description of the parameter.
Description *string
// Indicates whether ( true ) or not ( false ) the parameter can be modified. Some
// parameters have security or operational implications that prevent them from
// being changed.
IsModifiable *bool
// The earliest engine version to which the parameter can apply.
MinimumEngineVersion *string
// The name of the parameter.
ParameterName *string
// The value of the parameter.
ParameterValue *string
// The source of the parameter value.
Source *string
// The valid DB engine modes.
SupportedEngineModes []string
noSmithyDocumentSerde
}
// A list of the log types whose configuration is still pending. In other words,
// these log types are in the process of being activated or deactivated.
type PendingCloudwatchLogsExports struct {
// Log types that are in the process of being enabled. After they are enabled,
// these log types are exported to CloudWatch Logs.
LogTypesToDisable []string
// Log types that are in the process of being deactivated. After they are
// deactivated, these log types aren't exported to CloudWatch Logs.
LogTypesToEnable []string
noSmithyDocumentSerde
}
// Provides information about a pending maintenance action for a resource.
type PendingMaintenanceAction struct {
// The type of pending maintenance action that is available for the resource.
//
// For more information about maintenance actions, see [Maintaining a DB instance].
//
// Valid Values: system-update | db-upgrade | hardware-maintenance |
// ca-certificate-rotation
//
// [Maintaining a DB instance]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_UpgradeDBInstance.Maintenance.html
Action *string
// The date of the maintenance window when the action is applied. The maintenance
// action is applied to the resource during its first maintenance window after this
// date.
AutoAppliedAfterDate *time.Time
// The effective date when the pending maintenance action is applied to the
// resource. This date takes into account opt-in requests received from the
// ApplyPendingMaintenanceAction API, the AutoAppliedAfterDate , and the
// ForcedApplyDate . This value is blank if an opt-in request has not been received
// and nothing has been specified as AutoAppliedAfterDate or ForcedApplyDate .
CurrentApplyDate *time.Time
// A description providing more detail about the maintenance action.
Description *string
// The date when the maintenance action is automatically applied.
//
// On this date, the maintenance action is applied to the resource as soon as
// possible, regardless of the maintenance window for the resource. There might be
// a delay of one or more days from this date before the maintenance action is
// applied.
ForcedApplyDate *time.Time
// Indicates the type of opt-in request that has been received for the resource.
OptInStatus *string
noSmithyDocumentSerde
}
// This data type is used as a response element in the ModifyDBInstance operation
// and contains changes that will be applied during the next maintenance window.
type PendingModifiedValues struct {
// The allocated storage size for the DB instance specified in gibibytes (GiB).
AllocatedStorage *int32
// The automation mode of the RDS Custom DB instance: full or all-paused . If full
// , the DB instance automates monitoring and instance recovery. If all-paused ,
// the instance pauses automation for the duration set by
// --resume-full-automation-mode-minutes .
AutomationMode AutomationMode
// The number of days for which automated backups are retained.
BackupRetentionPeriod *int32
// The identifier of the CA certificate for the DB instance.
//
// For more information, see [Using SSL/TLS to encrypt a connection to a DB instance] in the Amazon RDS User Guide and [Using SSL/TLS to encrypt a connection to a DB cluster] in the Amazon
// Aurora User Guide.
//
// [Using SSL/TLS to encrypt a connection to a DB cluster]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/UsingWithRDS.SSL.html
// [Using SSL/TLS to encrypt a connection to a DB instance]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.SSL.html
CACertificateIdentifier *string
// The name of the compute and memory capacity class for the DB instance.
DBInstanceClass *string
// The database identifier for the DB instance.
DBInstanceIdentifier *string
// The DB subnet group for the DB instance.
DBSubnetGroupName *string
// Indicates whether the DB instance has a dedicated log volume (DLV) enabled.>
DedicatedLogVolume *bool
// The database engine of the DB instance.
Engine *string
// The database engine version.
EngineVersion *string
// Indicates whether mapping of Amazon Web Services Identity and Access Management
// (IAM) accounts to database accounts is enabled.
IAMDatabaseAuthenticationEnabled *bool
// The Provisioned IOPS value for the DB instance.
Iops *int32
// The license model for the DB instance.
//
// Valid values: license-included | bring-your-own-license | general-public-license
LicenseModel *string
// The master credentials for the DB instance.
MasterUserPassword *string
// Indicates whether the Single-AZ DB instance will change to a Multi-AZ
// deployment.
MultiAZ *bool
// Indicates whether the DB instance will change to the multi-tenant configuration
// (TRUE) or the single-tenant configuration (FALSE).
MultiTenant *bool
// A list of the log types whose configuration is still pending. In other words,
// these log types are in the process of being activated or deactivated.
PendingCloudwatchLogsExports *PendingCloudwatchLogsExports
// The port for the DB instance.
Port *int32
// The number of CPU cores and the number of threads per core for the DB instance
// class of the DB instance.
ProcessorFeatures []ProcessorFeature
// The number of minutes to pause the automation. When the time period ends, RDS
// Custom resumes full automation. The minimum value is 60 (default). The maximum
// value is 1,440.
ResumeFullAutomationModeTime *time.Time
// The storage throughput of the DB instance.
StorageThroughput *int32
// The storage type of the DB instance.
StorageType *string
noSmithyDocumentSerde
}
// A logical grouping of Performance Insights metrics for a related subject area.
// For example, the db.sql dimension group consists of the following dimensions:
//
// - db.sql.id - The hash of a running SQL statement, generated by Performance
// Insights.
//
// - db.sql.db_id - Either the SQL ID generated by the database engine, or a
// value generated by Performance Insights that begins with pi- .
//
// - db.sql.statement - The full text of the SQL statement that is running, for
// example, SELECT * FROM employees .
//
// - db.sql_tokenized.id - The hash of the SQL digest generated by Performance
// Insights.
//
// Each response element returns a maximum of 500 bytes. For larger elements, such
// as SQL statements, only the first 500 bytes are returned.
type PerformanceInsightsMetricDimensionGroup struct {
// A list of specific dimensions from a dimension group. If this list isn't
// included, then all of the dimensions in the group were requested, or are present
// in the response.
Dimensions []string
// The available dimension groups for Performance Insights metric type.
Group *string
// The maximum number of items to fetch for this dimension group.
Limit *int32
noSmithyDocumentSerde
}
// A single Performance Insights metric query to process. You must provide the
// metric to the query. If other parameters aren't specified, Performance Insights
// returns all data points for the specified metric. Optionally, you can request
// the data points to be aggregated by dimension group ( GroupBy ) and return only
// those data points that match your criteria ( Filter ).
//
// Constraints:
//
// - Must be a valid Performance Insights query.
type PerformanceInsightsMetricQuery struct {
// A specification for how to aggregate the data points from a query result. You
// must specify a valid dimension group. Performance Insights will return all of
// the dimensions within that group, unless you provide the names of specific
// dimensions within that group. You can also request that Performance Insights
// return a limited number of values for a dimension.
GroupBy *PerformanceInsightsMetricDimensionGroup
// The name of a Performance Insights metric to be measured.
//
// Valid Values:
//
// - db.load.avg - A scaled representation of the number of active sessions for
// the database engine.
//
// - db.sampledload.avg - The raw number of active sessions for the database
// engine.
//
// - The counter metrics listed in [Performance Insights operating system counters]in the Amazon Aurora User Guide.
//
// If the number of active sessions is less than an internal Performance Insights
// threshold, db.load.avg and db.sampledload.avg are the same value. If the number
// of active sessions is greater than the internal threshold, Performance Insights
// samples the active sessions, with db.load.avg showing the scaled values,
// db.sampledload.avg showing the raw values, and db.sampledload.avg less than
// db.load.avg . For most use cases, you can query db.load.avg only.
//
// [Performance Insights operating system counters]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_PerfInsights_Counters.html#USER_PerfInsights_Counters.OS
Metric *string
noSmithyDocumentSerde
}
// Details of the performance issue.
type PerformanceIssueDetails struct {
// The analysis of the performance issue. The information might contain markdown.
Analysis *string
// The time when the performance issue stopped.
EndTime *time.Time
// The metrics that are relevant to the performance issue.
Metrics []Metric
// The time when the performance issue started.
StartTime *time.Time
noSmithyDocumentSerde
}
// Contains the processor features of a DB instance class.
//
// To specify the number of CPU cores, use the coreCount feature name for the Name
// parameter. To specify the number of threads per core, use the threadsPerCore
// feature name for the Name parameter.
//
// You can set the processor features of the DB instance class for a DB instance
// when you call one of the following actions:
//
// - CreateDBInstance
//
// - ModifyDBInstance
//
// - RestoreDBInstanceFromDBSnapshot
//
// - RestoreDBInstanceFromS3
//
// - RestoreDBInstanceToPointInTime
//
// You can view the valid processor values for a particular instance class by
// calling the DescribeOrderableDBInstanceOptions action and specifying the
// instance class for the DBInstanceClass parameter.
//
// In addition, you can use the following actions for DB instance class processor
// information:
//
// - DescribeDBInstances
//
// - DescribeDBSnapshots
//
// - DescribeValidDBInstanceModifications
//
// If you call DescribeDBInstances , ProcessorFeature returns non-null values only
// if the following conditions are met:
//
// - You are accessing an Oracle DB instance.
//
// - Your Oracle DB instance class supports configuring the number of CPU cores
// and threads per core.
//
// - The current number CPU cores and threads is set to a non-default value.
//
// For more information, see [Configuring the processor for a DB instance class in RDS for Oracle] in the Amazon RDS User Guide.
//
// [Configuring the processor for a DB instance class in RDS for Oracle]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.DBInstanceClass.html#USER_ConfigureProcessor
type ProcessorFeature struct {
// The name of the processor feature. Valid names are coreCount and threadsPerCore .
Name *string
// The value of a processor feature.
Value *string
noSmithyDocumentSerde
}
// A range of integer values.
type Range struct {
// The minimum value in the range.
From *int32
// The step value for the range. For example, if you have a range of 5,000 to
// 10,000, with a step value of 1,000, the valid values start at 5,000 and step up
// by 1,000. Even though 7,500 is within the range, it isn't a valid value for the
// range. The valid values are 5,000, 6,000, 7,000, 8,000...
Step *int32
// The maximum value in the range.
To *int32
noSmithyDocumentSerde
}
// Reserved for future use.
type RdsCustomClusterConfiguration struct {
// Reserved for future use.
InterconnectSubnetId *string
// Reserved for future use.
ReplicaMode ReplicaMode
// Reserved for future use.
TransitGatewayMulticastDomainId *string
noSmithyDocumentSerde
}
// The recommended actions to apply to resolve the issues associated with your DB
// instances, DB clusters, and DB parameter groups.
type RecommendedAction struct {
// The unique identifier of the recommended action.
ActionId *string
// The methods to apply the recommended action.
//
// Valid values:
//
// - manual - The action requires you to resolve the recommendation manually.
//
// - immediately - The action is applied immediately.
//
// - next-maintainance-window - The action is applied during the next scheduled
// maintainance.
ApplyModes []string
// The supporting attributes to explain the recommended action.
ContextAttributes []ContextAttribute
// A detailed description of the action. The description might contain markdown.
Description *string
// The details of the issue.
IssueDetails *IssueDetails
// An API operation for the action.
Operation *string
// The parameters for the API operation.
Parameters []RecommendedActionParameter
// The status of the action.
//
// - ready
//
// - applied
//
// - scheduled
//
// - resolved
Status *string
// A short description to summarize the action. The description might contain
// markdown.
Title *string
noSmithyDocumentSerde
}
// A single parameter to use with the RecommendedAction API operation to apply the
// action.
type RecommendedActionParameter struct {
// The key of the parameter to use with the RecommendedAction API operation.
Key *string
// The value of the parameter to use with the RecommendedAction API operation.
Value *string
noSmithyDocumentSerde
}
// The recommended status to update for the specified recommendation action ID.
type RecommendedActionUpdate struct {
// A unique identifier of the updated recommendation action.
//
// This member is required.
ActionId *string
// The status of the updated recommendation action.
//
// - applied
//
// - scheduled
//
// This member is required.
Status *string
noSmithyDocumentSerde
}
// This data type is used as a response element in the DescribeReservedDBInstances
// and DescribeReservedDBInstancesOfferings actions.
type RecurringCharge struct {
// The amount of the recurring charge.
RecurringChargeAmount *float64
// The frequency of the recurring charge.
RecurringChargeFrequency *string
noSmithyDocumentSerde
}
// The reference details of a metric.
type ReferenceDetails struct {
// The metric reference details when the reference is a scalar.
ScalarReferenceDetails *ScalarReferenceDetails
noSmithyDocumentSerde
}
// This data type is used as a response element in the DescribeReservedDBInstances
// and PurchaseReservedDBInstancesOffering actions.
type ReservedDBInstance struct {
// The currency code for the reserved DB instance.
CurrencyCode *string
// The DB instance class for the reserved DB instance.
DBInstanceClass *string
// The number of reserved DB instances.
DBInstanceCount *int32
// The duration of the reservation in seconds.
Duration *int32
// The fixed price charged for this reserved DB instance.
FixedPrice *float64
// The unique identifier for the lease associated with the reserved DB instance.
//
// Amazon Web Services Support might request the lease ID for an issue related to
// a reserved DB instance.
LeaseId *string
// Indicates whether the reservation applies to Multi-AZ deployments.
MultiAZ *bool
// The offering type of this reserved DB instance.
OfferingType *string
// The description of the reserved DB instance.
ProductDescription *string
// The recurring price charged to run this reserved DB instance.
RecurringCharges []RecurringCharge
// The Amazon Resource Name (ARN) for the reserved DB instance.
ReservedDBInstanceArn *string
// The unique identifier for the reservation.
ReservedDBInstanceId *string
// The offering identifier.
ReservedDBInstancesOfferingId *string
// The time the reservation started.
StartTime *time.Time
// The state of the reserved DB instance.
State *string
// The hourly price charged for this reserved DB instance.
UsagePrice *float64
noSmithyDocumentSerde
}
// This data type is used as a response element in the
// DescribeReservedDBInstancesOfferings action.
type ReservedDBInstancesOffering struct {
// The currency code for the reserved DB instance offering.
CurrencyCode *string
// The DB instance class for the reserved DB instance.
DBInstanceClass *string
// The duration of the offering in seconds.
Duration *int32
// The fixed price charged for this offering.
FixedPrice *float64
// Indicates whether the offering applies to Multi-AZ deployments.
MultiAZ *bool
// The offering type.
OfferingType *string
// The database engine used by the offering.
ProductDescription *string
// The recurring price charged to run this reserved DB instance.
RecurringCharges []RecurringCharge
// The offering identifier.
ReservedDBInstancesOfferingId *string
// The hourly price charged for this offering.
UsagePrice *float64
noSmithyDocumentSerde
}
// Describes the pending maintenance actions for a resource.
type ResourcePendingMaintenanceActions struct {
// A list that provides details about the pending maintenance actions for the
// resource.
PendingMaintenanceActionDetails []PendingMaintenanceAction
// The ARN of the resource that has pending maintenance actions.
ResourceIdentifier *string
noSmithyDocumentSerde
}
// Earliest and latest time an instance can be restored to:
type RestoreWindow struct {
// The earliest time you can restore an instance to.
EarliestTime *time.Time
// The latest time you can restore an instance to.
LatestTime *time.Time
noSmithyDocumentSerde
}
// The metric reference details when the reference is a scalar.
type ScalarReferenceDetails struct {
// The value of a scalar reference.
Value *float64
noSmithyDocumentSerde
}
// Contains the scaling configuration of an Aurora Serverless v1 DB cluster.
//
// For more information, see [Using Amazon Aurora Serverless v1] in the Amazon Aurora User Guide.
//
// [Using Amazon Aurora Serverless v1]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless.html
type ScalingConfiguration struct {
// Indicates whether to allow or disallow automatic pause for an Aurora DB cluster
// in serverless DB engine mode. A DB cluster can be paused only when it's idle
// (it has no connections).
//
// If a DB cluster is paused for more than seven days, the DB cluster might be
// backed up with a snapshot. In this case, the DB cluster is restored when there
// is a request to connect to it.
AutoPause *bool
// The maximum capacity for an Aurora DB cluster in serverless DB engine mode.
//
// For Aurora MySQL, valid capacity values are 1 , 2 , 4 , 8 , 16 , 32 , 64 , 128 ,
// and 256 .
//
// For Aurora PostgreSQL, valid capacity values are 2 , 4 , 8 , 16 , 32 , 64 , 192
// , and 384 .
//
// The maximum capacity must be greater than or equal to the minimum capacity.
MaxCapacity *int32
// The minimum capacity for an Aurora DB cluster in serverless DB engine mode.
//
// For Aurora MySQL, valid capacity values are 1 , 2 , 4 , 8 , 16 , 32 , 64 , 128 ,
// and 256 .
//
// For Aurora PostgreSQL, valid capacity values are 2 , 4 , 8 , 16 , 32 , 64 , 192
// , and 384 .
//
// The minimum capacity must be less than or equal to the maximum capacity.
MinCapacity *int32
// The amount of time, in seconds, that Aurora Serverless v1 tries to find a
// scaling point to perform seamless scaling before enforcing the timeout action.
// The default is 300.
//
// Specify a value between 60 and 600 seconds.
SecondsBeforeTimeout *int32
// The time, in seconds, before an Aurora DB cluster in serverless mode is paused.
//
// Specify a value between 300 and 86,400 seconds.
SecondsUntilAutoPause *int32
// The action to take when the timeout is reached, either ForceApplyCapacityChange
// or RollbackCapacityChange .
//
// ForceApplyCapacityChange sets the capacity to the specified value as soon as
// possible.
//
// RollbackCapacityChange , the default, ignores the capacity change if a scaling
// point isn't found in the timeout period.
//
// If you specify ForceApplyCapacityChange , connections that prevent Aurora
// Serverless v1 from finding a scaling point might be dropped.
//
// For more information, see [Autoscaling for Aurora Serverless v1] in the Amazon Aurora User Guide.
//
// [Autoscaling for Aurora Serverless v1]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless.how-it-works.html#aurora-serverless.how-it-works.auto-scaling
TimeoutAction *string
noSmithyDocumentSerde
}
// The scaling configuration for an Aurora DB cluster in serverless DB engine mode.
//
// For more information, see [Using Amazon Aurora Serverless v1] in the Amazon Aurora User Guide.
//
// [Using Amazon Aurora Serverless v1]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless.html
type ScalingConfigurationInfo struct {
// Indicates whether automatic pause is allowed for the Aurora DB cluster in
// serverless DB engine mode.
//
// When the value is set to false for an Aurora Serverless v1 DB cluster, the DB
// cluster automatically resumes.
AutoPause *bool
// The maximum capacity for an Aurora DB cluster in serverless DB engine mode.
MaxCapacity *int32
// The minimum capacity for an Aurora DB cluster in serverless DB engine mode.
MinCapacity *int32
// The number of seconds before scaling times out. What happens when an attempted
// scaling action times out is determined by the TimeoutAction setting.
SecondsBeforeTimeout *int32
// The remaining amount of time, in seconds, before the Aurora DB cluster in
// serverless mode is paused. A DB cluster can be paused only when it's idle (it
// has no connections).
SecondsUntilAutoPause *int32
// The action that occurs when Aurora times out while attempting to change the
// capacity of an Aurora Serverless v1 cluster. The value is either
// ForceApplyCapacityChange or RollbackCapacityChange .
//
// ForceApplyCapacityChange , the default, sets the capacity to the specified value
// as soon as possible.
//
// RollbackCapacityChange ignores the capacity change if a scaling point isn't
// found in the timeout period.
TimeoutAction *string
noSmithyDocumentSerde
}
// Contains the scaling configuration of an Aurora Serverless v2 DB cluster.
//
// For more information, see [Using Amazon Aurora Serverless v2] in the Amazon Aurora User Guide.
//
// [Using Amazon Aurora Serverless v2]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless-v2.html
type ServerlessV2ScalingConfiguration struct {
// The maximum number of Aurora capacity units (ACUs) for a DB instance in an
// Aurora Serverless v2 cluster. You can specify ACU values in half-step
// increments, such as 40, 40.5, 41, and so on. The largest value that you can use
// is 128.
MaxCapacity *float64
// The minimum number of Aurora capacity units (ACUs) for a DB instance in an
// Aurora Serverless v2 cluster. You can specify ACU values in half-step
// increments, such as 8, 8.5, 9, and so on. The smallest value that you can use is
// 0.5.
MinCapacity *float64
noSmithyDocumentSerde
}
// The scaling configuration for an Aurora Serverless v2 DB cluster.
//
// For more information, see [Using Amazon Aurora Serverless v2] in the Amazon Aurora User Guide.
//
// [Using Amazon Aurora Serverless v2]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless-v2.html
type ServerlessV2ScalingConfigurationInfo struct {
// The maximum number of Aurora capacity units (ACUs) for a DB instance in an
// Aurora Serverless v2 cluster. You can specify ACU values in half-step
// increments, such as 40, 40.5, 41, and so on. The largest value that you can use
// is 128.
MaxCapacity *float64
// The minimum number of Aurora capacity units (ACUs) for a DB instance in an
// Aurora Serverless v2 cluster. You can specify ACU values in half-step
// increments, such as 8, 8.5, 9, and so on. The smallest value that you can use is
// 0.5.
MinCapacity *float64
noSmithyDocumentSerde
}
// Contains an Amazon Web Services Region name as the result of a successful call
// to the DescribeSourceRegions action.
type SourceRegion struct {
// The endpoint for the source Amazon Web Services Region endpoint.
Endpoint *string
// The name of the source Amazon Web Services Region.
RegionName *string
// The status of the source Amazon Web Services Region.
Status *string
// Indicates whether the source Amazon Web Services Region supports replicating
// automated backups to the current Amazon Web Services Region.
SupportsDBInstanceAutomatedBackupsReplication *bool
noSmithyDocumentSerde
}
// This data type is used as a response element for the DescribeDBSubnetGroups
// operation.
type Subnet struct {
// Contains Availability Zone information.
//
// This data type is used as an element in the OrderableDBInstanceOption data type.
SubnetAvailabilityZone *AvailabilityZone
// The identifier of the subnet.
SubnetIdentifier *string
// If the subnet is associated with an Outpost, this value specifies the Outpost.
//
// For more information about RDS on Outposts, see [Amazon RDS on Amazon Web Services Outposts] in the Amazon RDS User Guide.
//
// [Amazon RDS on Amazon Web Services Outposts]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-on-outposts.html
SubnetOutpost *Outpost
// The status of the subnet.
SubnetStatus *string
noSmithyDocumentSerde
}
// Contains the details about a blue/green deployment.
//
// For more information, see [Using Amazon RDS Blue/Green Deployments for database updates] in the Amazon RDS User Guide and [Using Amazon RDS Blue/Green Deployments for database updates] in the Amazon
// Aurora User Guide.
//
// [Using Amazon RDS Blue/Green Deployments for database updates]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/blue-green-deployments.html
type SwitchoverDetail struct {
// The Amazon Resource Name (ARN) of a resource in the blue environment.
SourceMember *string
// The switchover status of a resource in a blue/green deployment.
//
// Values:
//
// - PROVISIONING - The resource is being prepared to switch over.
//
// - AVAILABLE - The resource is ready to switch over.
//
// - SWITCHOVER_IN_PROGRESS - The resource is being switched over.
//
// - SWITCHOVER_COMPLETED - The resource has been switched over.
//
// - SWITCHOVER_FAILED - The resource attempted to switch over but failed.
//
// - MISSING_SOURCE - The source resource has been deleted.
//
// - MISSING_TARGET - The target resource has been deleted.
Status *string
// The Amazon Resource Name (ARN) of a resource in the green environment.
TargetMember *string
noSmithyDocumentSerde
}
// Metadata assigned to an Amazon RDS resource consisting of a key-value pair.
//
// For more information, see [Tagging Amazon RDS Resources] in the Amazon RDS User Guide or [Tagging Amazon Aurora and Amazon RDS Resources] in the Amazon
// Aurora User Guide.
//
// [Tagging Amazon RDS Resources]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html
// [Tagging Amazon Aurora and Amazon RDS Resources]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_Tagging.html
type Tag struct {
// A key is the required name of the tag. The string value can be from 1 to 128
// Unicode characters in length and can't be prefixed with aws: or rds: . The
// string can only contain only the set of Unicode letters, digits, white-space,
// '_', '.', ':', '/', '=', '+', '-', '@' (Java regex:
// "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$").
Key *string
// A value is the optional value of the tag. The string value can be from 1 to 256
// Unicode characters in length and can't be prefixed with aws: or rds: . The
// string can only contain only the set of Unicode letters, digits, white-space,
// '_', '.', ':', '/', '=', '+', '-', '@' (Java regex:
// "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$").
Value *string
noSmithyDocumentSerde
}
// Information about the connection health of an RDS Proxy target.
type TargetHealth struct {
// A description of the health of the RDS Proxy target. If the State is AVAILABLE ,
// a description is not included.
Description *string
// The reason for the current health State of the RDS Proxy target.
Reason TargetHealthReason
// The current state of the connection health lifecycle for the RDS Proxy target.
// The following is a typical lifecycle example for the states of an RDS Proxy
// target:
//
// registering > unavailable > available > unavailable > available
State TargetState
noSmithyDocumentSerde
}
// A tenant database in the DB instance. This data type is an element in the
// response to the DescribeTenantDatabases action.
type TenantDatabase struct {
// The character set of the tenant database.
CharacterSetName *string
// The ID of the DB instance that contains the tenant database.
DBInstanceIdentifier *string
// The Amazon Web Services Region-unique, immutable identifier for the DB instance.
DbiResourceId *string
// Specifies whether deletion protection is enabled for the DB instance.
DeletionProtection *bool
// The master username of the tenant database.
MasterUsername *string
// The NCHAR character set name of the tenant database.
NcharCharacterSetName *string
// Information about pending changes for a tenant database.
PendingModifiedValues *TenantDatabasePendingModifiedValues
// The status of the tenant database.
Status *string
// A list of tags. For more information, see [Tagging Amazon RDS Resources] in the Amazon RDS User Guide.
//
// [Tagging Amazon RDS Resources]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html
TagList []Tag
// The database name of the tenant database.
TenantDBName *string
// The Amazon Resource Name (ARN) for the tenant database.
TenantDatabaseARN *string
// The creation time of the tenant database.
TenantDatabaseCreateTime *time.Time
// The Amazon Web Services Region-unique, immutable identifier for the tenant
// database.
TenantDatabaseResourceId *string
noSmithyDocumentSerde
}
// A response element in the ModifyTenantDatabase operation that describes changes
// that will be applied. Specific changes are identified by subelements.
type TenantDatabasePendingModifiedValues struct {
// The master password for the tenant database.
MasterUserPassword *string
// The name of the tenant database.
TenantDBName *string
noSmithyDocumentSerde
}
// A time zone associated with a DBInstance or a DBSnapshot . This data type is an
// element in the response to the DescribeDBInstances , the DescribeDBSnapshots ,
// and the DescribeDBEngineVersions actions.
type Timezone struct {
// The name of the time zone.
TimezoneName *string
noSmithyDocumentSerde
}
// The version of the database engine that a DB instance can be upgraded to.
type UpgradeTarget struct {
// Indicates whether the target version is applied to any source DB instances that
// have AutoMinorVersionUpgrade set to true.
//
// This parameter is dynamic, and is set by RDS.
AutoUpgrade *bool
// The version of the database engine that a DB instance can be upgraded to.
Description *string
// The name of the upgrade target database engine.
Engine *string
// The version number of the upgrade target database engine.
EngineVersion *string
// Indicates whether upgrading to the target version requires upgrading the major
// version of the database engine.
IsMajorVersionUpgrade *bool
// A list of the supported DB engine modes for the target engine version.
SupportedEngineModes []string
// Indicates whether you can use Babelfish for Aurora PostgreSQL with the target
// engine version.
SupportsBabelfish *bool
// Indicates whether you can use Aurora global databases with the target engine
// version.
SupportsGlobalDatabases *bool
// Indicates whether the DB engine version supports zero-ETL integrations with
// Amazon Redshift.
SupportsIntegrations *bool
// Indicates whether the DB engine version supports Aurora Limitless Database.
SupportsLimitlessDatabase *bool
// Indicates whether the target engine version supports forwarding write
// operations from reader DB instances to the writer DB instance in the DB cluster.
// By default, write operations aren't allowed on reader DB instances.
//
// Valid for: Aurora DB clusters only
SupportsLocalWriteForwarding *bool
// Indicates whether you can use Aurora parallel query with the target engine
// version.
SupportsParallelQuery *bool
noSmithyDocumentSerde
}
// Specifies the details of authentication used by a proxy to log in as a specific
// database user.
type UserAuthConfig struct {
// The type of authentication that the proxy uses for connections from the proxy
// to the underlying database.
AuthScheme AuthScheme
// The type of authentication the proxy uses for connections from clients.
ClientPasswordAuthType ClientPasswordAuthType
// A user-specified description about the authentication used by a proxy to log in
// as a specific database user.
Description *string
// A value that indicates whether to require or disallow Amazon Web Services
// Identity and Access Management (IAM) authentication for connections to the
// proxy. The ENABLED value is valid only for proxies with RDS for Microsoft SQL
// Server.
IAMAuth IAMAuthMode
// The Amazon Resource Name (ARN) representing the secret that the proxy uses to
// authenticate to the RDS DB instance or Aurora DB cluster. These secrets are
// stored within Amazon Secrets Manager.
SecretArn *string
// The name of the database user to which the proxy connects.
UserName *string
noSmithyDocumentSerde
}
// Returns the details of authentication used by a proxy to log in as a specific
// database user.
type UserAuthConfigInfo struct {
// The type of authentication that the proxy uses for connections from the proxy
// to the underlying database.
AuthScheme AuthScheme
// The type of authentication the proxy uses for connections from clients.
ClientPasswordAuthType ClientPasswordAuthType
// A user-specified description about the authentication used by a proxy to log in
// as a specific database user.
Description *string
// Whether to require or disallow Amazon Web Services Identity and Access
// Management (IAM) authentication for connections to the proxy. The ENABLED value
// is valid only for proxies with RDS for Microsoft SQL Server.
IAMAuth IAMAuthMode
// The Amazon Resource Name (ARN) representing the secret that the proxy uses to
// authenticate to the RDS DB instance or Aurora DB cluster. These secrets are
// stored within Amazon Secrets Manager.
SecretArn *string
// The name of the database user to which the proxy connects.
UserName *string
noSmithyDocumentSerde
}
// Information about valid modifications that you can make to your DB instance.
// Contains the result of a successful call to the
// DescribeValidDBInstanceModifications action. You can use this information when
// you call ModifyDBInstance .
type ValidDBInstanceModificationsMessage struct {
// Valid storage options for your DB instance.
Storage []ValidStorageOptions
// Indicates whether a DB instance supports using a dedicated log volume (DLV).
SupportsDedicatedLogVolume *bool
// Valid processor features for your DB instance.
ValidProcessorFeatures []AvailableProcessorFeature
noSmithyDocumentSerde
}
// Information about valid modifications that you can make to your DB instance.
// Contains the result of a successful call to the
// DescribeValidDBInstanceModifications action.
type ValidStorageOptions struct {
// The valid range of Provisioned IOPS to gibibytes of storage multiplier. For
// example, 3-10, which means that provisioned IOPS can be between 3 and 10 times
// storage.
IopsToStorageRatio []DoubleRange
// The valid range of provisioned IOPS. For example, 1000-256,000.
ProvisionedIops []Range
// The valid range of provisioned storage throughput. For example, 500-4,000
// mebibytes per second (MiBps).
ProvisionedStorageThroughput []Range
// The valid range of storage in gibibytes (GiB). For example, 100 to 16,384.
StorageSize []Range
// The valid range of storage throughput to provisioned IOPS ratios. For example,
// 0-0.25.
StorageThroughputToIopsRatio []DoubleRange
// The valid storage types for your DB instance. For example: gp2, gp3, io1, io2.
StorageType *string
// Indicates whether or not Amazon RDS can automatically scale storage for DB
// instances that use the new instance class.
SupportsStorageAutoscaling *bool
noSmithyDocumentSerde
}
// This data type is used as a response element for queries on VPC security group
// membership.
type VpcSecurityGroupMembership struct {
// The membership status of the VPC security group.
//
// Currently, the only valid status is active .
Status *string
// The name of the VPC security group.
VpcSecurityGroupId *string
noSmithyDocumentSerde
}
type noSmithyDocumentSerde = smithydocument.NoSerde
|