1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103 3104 3105 3106 3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 3157 3158 3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 3176 3177 3178 3179 3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 3206 3207 3208 3209 3210 3211 3212 3213 3214 3215 3216 3217 3218 3219 3220 3221 3222 3223 3224 3225 3226 3227 3228 3229 3230 3231 3232 3233 3234 3235 3236 3237 3238 3239 3240 3241 3242 3243 3244 3245 3246 3247 3248 3249 3250 3251 3252 3253 3254 3255 3256 3257 3258 3259 3260 3261 3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 3287 3288 3289 3290 3291 3292 3293 3294 3295 3296 3297 3298 3299 3300 3301 3302 3303 3304 3305 3306 3307 3308 3309 3310 3311 3312 3313 3314 3315 3316 3317 3318 3319 3320 3321 3322 3323 3324 3325 3326 3327 3328 3329 3330 3331 3332 3333 3334 3335 3336 3337 3338 3339 3340 3341 3342 3343 3344 3345 3346 3347 3348 3349 3350 3351 3352 3353 3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 3367 3368 3369 3370 3371 3372 3373 3374 3375 3376 3377 3378 3379 3380 3381 3382 3383 3384 3385 3386 3387 3388 3389 3390 3391 3392 3393 3394 3395 3396 3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 3420 3421 3422 3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 3434 3435 3436 3437 3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 3471 3472 3473 3474 3475 3476 3477 3478 3479 3480 3481 3482 3483 3484 3485 3486 3487 3488 3489 3490 3491 3492 3493 3494 3495 3496 3497 3498 3499 3500 3501 3502 3503 3504 3505 3506 3507 3508 3509 3510 3511 3512 3513 3514 3515 3516 3517 3518 3519 3520 3521 3522 3523 3524 3525 3526 3527 3528 3529 3530 3531 3532 3533 3534 3535 3536 3537 3538 3539 3540 3541 3542 3543 3544 3545 3546 3547 3548 3549 3550 3551 3552 3553 3554 3555 3556 3557 3558 3559 3560 3561 3562 3563 3564 3565 3566 3567 3568 3569 3570 3571 3572 3573 3574 3575 3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 3601 3602 3603 3604 3605 3606 3607 3608 3609 3610 3611 3612 3613 3614 3615 3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 3626 3627 3628 3629 3630 3631 3632 3633 3634 3635 3636 3637 3638 3639 3640 3641 3642 3643 3644 3645 3646 3647 3648 3649 3650 3651 3652 3653 3654 3655 3656 3657 3658 3659 3660 3661 3662 3663 3664 3665 3666 3667 3668 3669 3670 3671 3672 3673 3674 3675 3676 3677 3678 3679 3680 3681 3682 3683 3684 3685 3686 3687 3688 3689 3690 3691 3692 3693 3694 3695 3696 3697 3698 3699 3700 3701 3702 3703 3704 3705 3706 3707 3708 3709 3710 3711 3712 3713 3714 3715 3716 3717 3718 3719 3720 3721 3722 3723 3724 3725 3726 3727 3728 3729 3730 3731 3732 3733 3734 3735 3736 3737 3738 3739 3740 3741 3742 3743 3744 3745 3746 3747 3748 3749 3750 3751 3752 3753 3754 3755 3756 3757 3758 3759 3760 3761 3762 3763 3764 3765 3766 3767 3768 3769 3770 3771 3772 3773 3774 3775 3776 3777 3778 3779 3780 3781 3782 3783 3784 3785 3786 3787 3788 3789 3790 3791 3792 3793 3794 3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 3808 3809 3810 3811 3812 3813 3814 3815 3816 3817 3818 3819 3820 3821 3822 3823 3824 3825 3826 3827 3828 3829 3830 3831 3832 3833 3834 3835 3836 3837 3838 3839 3840 3841 3842 3843 3844 3845 3846 3847 3848 3849 3850 3851 3852 3853 3854 3855 3856 3857 3858 3859 3860 3861 3862 3863 3864 3865 3866 3867 3868 3869 3870 3871 3872 3873 3874 3875 3876 3877 3878 3879 3880 3881 3882 3883 3884 3885 3886 3887 3888 3889 3890 3891 3892 3893 3894 3895 3896 3897 3898 3899 3900 3901 3902 3903 3904 3905 3906 3907 3908 3909 3910 3911 3912 3913 3914 3915 3916 3917 3918 3919 3920 3921 3922 3923 3924 3925 3926 3927 3928 3929 3930 3931 3932 3933 3934 3935 3936 3937 3938 3939 3940 3941 3942 3943 3944 3945 3946 3947 3948 3949 3950 3951 3952 3953 3954 3955 3956 3957 3958 3959 3960 3961 3962 3963 3964 3965 3966 3967 3968 3969 3970 3971 3972 3973 3974 3975 3976 3977 3978 3979 3980 3981 3982 3983 3984 3985 3986 3987 3988 3989 3990 3991 3992 3993 3994 3995 3996 3997 3998 3999 4000 4001 4002 4003 4004 4005 4006 4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 4030 4031 4032 4033 4034 4035 4036 4037 4038 4039 4040 4041 4042 4043 4044 4045 4046 4047 4048 4049 4050 4051 4052 4053 4054 4055 4056 4057 4058 4059 4060 4061 4062 4063 4064 4065 4066 4067 4068 4069 4070 4071 4072 4073 4074 4075 4076 4077 4078 4079 4080 4081 4082 4083 4084 4085 4086 4087 4088 4089 4090 4091 4092 4093 4094 4095 4096 4097 4098 4099 4100 4101 4102 4103 4104 4105 4106 4107 4108 4109 4110 4111 4112 4113 4114 4115 4116 4117 4118 4119 4120 4121 4122 4123 4124 4125 4126 4127 4128 4129 4130 4131 4132 4133 4134 4135 4136 4137 4138 4139 4140 4141 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 4164 4165 4166 4167 4168 4169 4170 4171 4172 4173 4174 4175 4176 4177 4178 4179 4180 4181 4182 4183 4184 4185 4186 4187 4188 4189 4190 4191 4192 4193 4194 4195 4196 4197 4198 4199 4200 4201 4202 4203 4204 4205 4206 4207 4208 4209 4210 4211 4212 4213 4214 4215 4216 4217 4218 4219 4220 4221 4222 4223 4224 4225 4226 4227 4228 4229 4230 4231 4232 4233 4234 4235 4236 4237 4238 4239 4240 4241 4242 4243 4244 4245 4246 4247 4248 4249 4250 4251 4252 4253 4254 4255 4256 4257 4258 4259 4260 4261 4262 4263 4264 4265 4266 4267 4268 4269 4270 4271 4272 4273 4274 4275 4276 4277 4278 4279 4280 4281 4282 4283 4284 4285 4286 4287 4288 4289 4290 4291 4292 4293 4294 4295 4296 4297 4298 4299 4300 4301 4302 4303 4304 4305 4306 4307 4308 4309 4310 4311 4312 4313 4314 4315 4316 4317 4318 4319 4320 4321 4322 4323 4324 4325 4326 4327 4328 4329 4330 4331 4332 4333 4334 4335 4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 4346 4347 4348 4349 4350 4351 4352 4353 4354 4355 4356 4357 4358 4359 4360 4361 4362 4363 4364 4365 4366 4367 4368 4369 4370 4371 4372 4373 4374 4375 4376 4377 4378 4379 4380 4381 4382 4383 4384 4385 4386 4387 4388 4389 4390 4391 4392 4393 4394 4395 4396 4397 4398 4399 4400 4401 4402 4403 4404 4405 4406 4407 4408 4409 4410 4411 4412 4413 4414 4415 4416 4417 4418 4419 4420 4421 4422 4423 4424 4425 4426 4427 4428 4429 4430 4431 4432 4433 4434 4435 4436 4437 4438 4439 4440 4441 4442 4443 4444 4445 4446 4447 4448 4449 4450 4451 4452 4453 4454 4455 4456 4457 4458 4459 4460 4461 4462 4463 4464 4465 4466 4467 4468 4469 4470 4471 4472 4473 4474 4475 4476 4477 4478 4479 4480 4481 4482 4483 4484 4485 4486 4487 4488 4489 4490 4491 4492 4493 4494 4495 4496 4497 4498 4499 4500 4501 4502 4503 4504 4505 4506 4507 4508 4509 4510 4511 4512 4513 4514 4515 4516 4517 4518 4519 4520 4521 4522 4523 4524 4525 4526 4527 4528 4529 4530 4531 4532 4533 4534 4535 4536 4537 4538 4539 4540 4541 4542 4543 4544 4545 4546 4547 4548 4549 4550 4551 4552 4553 4554 4555 4556 4557 4558 4559 4560 4561 4562 4563 4564 4565 4566 4567 4568 4569 4570 4571 4572 4573 4574 4575 4576 4577 4578 4579 4580 4581 4582 4583 4584 4585 4586 4587 4588 4589 4590 4591 4592 4593 4594 4595 4596 4597 4598 4599 4600 4601 4602 4603 4604 4605 4606 4607 4608 4609 4610 4611 4612 4613 4614 4615 4616 4617 4618 4619 4620 4621 4622 4623 4624 4625 4626 4627 4628 4629 4630 4631 4632 4633 4634 4635 4636 4637 4638 4639 4640 4641 4642 4643 4644 4645 4646 4647 4648 4649 4650 4651 4652 4653 4654 4655 4656 4657 4658 4659 4660 4661 4662 4663 4664 4665 4666 4667 4668 4669 4670 4671 4672 4673 4674 4675 4676 4677 4678 4679 4680 4681 4682 4683 4684 4685 4686 4687 4688 4689 4690 4691 4692 4693 4694 4695 4696 4697 4698 4699 4700 4701 4702 4703 4704 4705 4706 4707 4708 4709 4710 4711 4712 4713 4714 4715 4716 4717 4718 4719 4720 4721 4722 4723 4724 4725 4726 4727 4728 4729 4730 4731 4732 4733 4734 4735 4736 4737 4738 4739 4740 4741 4742 4743 4744 4745 4746 4747 4748 4749 4750 4751 4752 4753 4754 4755 4756 4757 4758 4759 4760 4761 4762 4763 4764 4765 4766 4767 4768 4769 4770 4771 4772 4773 4774 4775 4776 4777 4778 4779 4780 4781 4782 4783 4784 4785 4786 4787 4788 4789 4790 4791 4792 4793 4794 4795 4796 4797 4798 4799 4800 4801 4802 4803 4804 4805 4806 4807 4808 4809 4810 4811 4812 4813 4814 4815 4816 4817 4818 4819 4820 4821 4822 4823 4824 4825 4826 4827 4828 4829 4830 4831 4832 4833 4834 4835 4836 4837 4838 4839 4840 4841 4842 4843 4844 4845 4846 4847 4848 4849 4850 4851 4852 4853 4854 4855 4856 4857 4858 4859 4860 4861 4862 4863 4864 4865 4866 4867 4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 4890 4891 4892 4893 4894 4895 4896 4897 4898 4899 4900 4901 4902 4903 4904 4905 4906 4907 4908 4909 4910 4911 4912 4913 4914 4915 4916 4917 4918 4919 4920 4921 4922 4923 4924 4925 4926 4927 4928 4929 4930 4931 4932 4933 4934 4935 4936 4937 4938 4939 4940 4941 4942 4943 4944 4945 4946 4947 4948 4949 4950 4951 4952 4953 4954 4955 4956 4957 4958 4959 4960 4961 4962 4963 4964 4965 4966 4967 4968 4969 4970 4971 4972 4973 4974 4975 4976 4977 4978 4979 4980 4981 4982 4983 4984 4985 4986 4987 4988 4989 4990 4991 4992 4993 4994 4995 4996 4997 4998 4999 5000 5001 5002 5003 5004 5005 5006 5007 5008 5009 5010 5011 5012 5013 5014 5015 5016 5017 5018 5019 5020 5021 5022 5023 5024 5025 5026 5027 5028 5029 5030 5031 5032 5033 5034 5035 5036 5037 5038 5039 5040 5041 5042 5043 5044 5045 5046 5047 5048 5049 5050 5051 5052 5053 5054 5055 5056 5057 5058 5059 5060 5061 5062 5063 5064 5065 5066 5067 5068 5069 5070 5071 5072 5073 5074 5075 5076 5077 5078 5079 5080 5081 5082 5083 5084 5085 5086 5087 5088 5089 5090 5091 5092 5093 5094 5095 5096 5097 5098 5099 5100 5101 5102 5103 5104 5105 5106 5107 5108 5109 5110 5111 5112 5113 5114 5115 5116 5117 5118 5119 5120 5121 5122 5123 5124 5125 5126 5127 5128 5129 5130 5131 5132 5133 5134 5135 5136 5137 5138 5139 5140 5141 5142 5143 5144 5145 5146 5147 5148 5149 5150 5151 5152 5153 5154 5155 5156 5157 5158 5159 5160 5161 5162 5163 5164 5165 5166 5167 5168 5169 5170 5171 5172 5173 5174 5175 5176 5177 5178 5179 5180 5181 5182 5183 5184 5185 5186 5187 5188 5189 5190 5191 5192 5193 5194 5195 5196 5197 5198 5199 5200 5201 5202 5203 5204 5205 5206 5207 5208 5209 5210 5211 5212 5213 5214 5215 5216 5217 5218 5219 5220 5221 5222 5223 5224 5225 5226 5227 5228 5229 5230 5231 5232 5233 5234 5235 5236 5237 5238 5239 5240 5241 5242 5243 5244 5245 5246 5247 5248 5249 5250 5251 5252 5253 5254 5255 5256 5257 5258 5259 5260 5261 5262 5263 5264 5265 5266 5267 5268 5269 5270 5271 5272 5273 5274 5275 5276 5277 5278 5279 5280 5281 5282 5283 5284 5285 5286 5287 5288 5289 5290 5291 5292 5293 5294 5295 5296 5297 5298 5299 5300 5301 5302 5303 5304 5305 5306 5307 5308 5309 5310 5311 5312 5313 5314 5315 5316 5317 5318 5319 5320 5321 5322 5323 5324 5325 5326 5327 5328 5329 5330 5331 5332 5333 5334 5335 5336 5337 5338 5339 5340 5341 5342 5343 5344 5345 5346 5347 5348 5349 5350 5351 5352 5353 5354 5355 5356 5357 5358 5359 5360 5361 5362 5363 5364 5365 5366 5367 5368 5369 5370 5371 5372 5373 5374 5375 5376 5377 5378 5379 5380 5381 5382 5383 5384 5385 5386 5387 5388 5389 5390 5391 5392 5393 5394 5395 5396 5397 5398 5399 5400 5401 5402 5403 5404 5405 5406 5407 5408 5409 5410 5411 5412 5413 5414 5415 5416 5417 5418 5419 5420 5421 5422 5423 5424 5425 5426 5427 5428 5429 5430 5431 5432 5433 5434 5435 5436 5437 5438 5439 5440 5441 5442 5443 5444 5445 5446 5447 5448 5449 5450 5451 5452 5453 5454 5455 5456 5457 5458 5459 5460 5461 5462 5463 5464 5465 5466 5467 5468 5469 5470 5471 5472 5473 5474 5475 5476 5477 5478 5479 5480 5481 5482 5483 5484 5485 5486 5487 5488 5489 5490 5491 5492 5493 5494 5495 5496 5497 5498 5499 5500 5501 5502 5503 5504 5505 5506 5507 5508 5509 5510 5511 5512 5513 5514 5515 5516 5517 5518 5519 5520 5521 5522 5523 5524 5525 5526 5527 5528 5529 5530 5531 5532 5533 5534 5535 5536 5537 5538 5539 5540 5541 5542 5543 5544 5545 5546 5547 5548 5549 5550 5551 5552 5553 5554 5555 5556 5557 5558 5559 5560 5561 5562 5563 5564 5565 5566 5567 5568 5569 5570 5571 5572 5573 5574 5575 5576 5577 5578 5579 5580 5581 5582 5583 5584 5585 5586 5587 5588 5589 5590 5591 5592 5593 5594 5595 5596 5597 5598 5599 5600 5601 5602 5603 5604 5605 5606 5607 5608 5609 5610 5611 5612 5613 5614 5615 5616 5617 5618 5619 5620 5621 5622 5623 5624 5625 5626 5627 5628 5629 5630 5631 5632 5633 5634 5635 5636 5637 5638 5639 5640 5641 5642 5643 5644 5645 5646 5647 5648 5649 5650 5651 5652 5653 5654 5655 5656 5657 5658 5659 5660 5661 5662 5663 5664 5665 5666 5667 5668 5669 5670 5671 5672 5673 5674 5675 5676 5677 5678 5679 5680 5681 5682 5683 5684 5685 5686 5687 5688 5689 5690 5691 5692 5693 5694 5695 5696 5697 5698 5699 5700 5701 5702 5703 5704 5705 5706 5707 5708 5709 5710 5711 5712 5713 5714 5715 5716 5717 5718 5719 5720 5721 5722 5723 5724 5725 5726 5727 5728 5729 5730
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
/// <p>The output for <a>ValidateTemplate</a> action.</p>
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct ValidateTemplateOutput {
/// <p>A list of <code>TemplateParameter</code> structures.</p>
pub parameters: std::option::Option<std::vec::Vec<crate::model::TemplateParameter>>,
/// <p>The description found within the template.</p>
pub description: std::option::Option<std::string::String>,
/// <p>The capabilities found within the template. If your template contains IAM resources,
/// you must specify the CAPABILITY_IAM or CAPABILITY_NAMED_IAM value for this parameter when
/// you use the <a>CreateStack</a> or <a>UpdateStack</a> actions with
/// your template; otherwise, those actions return an InsufficientCapabilities error.</p>
/// <p>For more information, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-iam-template.html#capabilities">Acknowledging IAM Resources in CloudFormation Templates</a>.</p>
pub capabilities: std::option::Option<std::vec::Vec<crate::model::Capability>>,
/// <p>The list of resources that generated the values in the <code>Capabilities</code>
/// response element.</p>
pub capabilities_reason: std::option::Option<std::string::String>,
/// <p>A list of the transforms that are declared in the template.</p>
pub declared_transforms: std::option::Option<std::vec::Vec<std::string::String>>,
}
impl std::fmt::Debug for ValidateTemplateOutput {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut formatter = f.debug_struct("ValidateTemplateOutput");
formatter.field("parameters", &self.parameters);
formatter.field("description", &self.description);
formatter.field("capabilities", &self.capabilities);
formatter.field("capabilities_reason", &self.capabilities_reason);
formatter.field("declared_transforms", &self.declared_transforms);
formatter.finish()
}
}
/// See [`ValidateTemplateOutput`](crate::output::ValidateTemplateOutput)
pub mod validate_template_output {
/// A builder for [`ValidateTemplateOutput`](crate::output::ValidateTemplateOutput)
#[non_exhaustive]
#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct Builder {
pub(crate) parameters: std::option::Option<std::vec::Vec<crate::model::TemplateParameter>>,
pub(crate) description: std::option::Option<std::string::String>,
pub(crate) capabilities: std::option::Option<std::vec::Vec<crate::model::Capability>>,
pub(crate) capabilities_reason: std::option::Option<std::string::String>,
pub(crate) declared_transforms: std::option::Option<std::vec::Vec<std::string::String>>,
}
impl Builder {
/// Appends an item to `parameters`.
///
/// To override the contents of this collection use [`set_parameters`](Self::set_parameters).
///
/// <p>A list of <code>TemplateParameter</code> structures.</p>
pub fn parameters(mut self, input: impl Into<crate::model::TemplateParameter>) -> Self {
let mut v = self.parameters.unwrap_or_default();
v.push(input.into());
self.parameters = Some(v);
self
}
/// <p>A list of <code>TemplateParameter</code> structures.</p>
pub fn set_parameters(
mut self,
input: std::option::Option<std::vec::Vec<crate::model::TemplateParameter>>,
) -> Self {
self.parameters = input;
self
}
/// <p>The description found within the template.</p>
pub fn description(mut self, input: impl Into<std::string::String>) -> Self {
self.description = Some(input.into());
self
}
/// <p>The description found within the template.</p>
pub fn set_description(mut self, input: std::option::Option<std::string::String>) -> Self {
self.description = input;
self
}
/// Appends an item to `capabilities`.
///
/// To override the contents of this collection use [`set_capabilities`](Self::set_capabilities).
///
/// <p>The capabilities found within the template. If your template contains IAM resources,
/// you must specify the CAPABILITY_IAM or CAPABILITY_NAMED_IAM value for this parameter when
/// you use the <a>CreateStack</a> or <a>UpdateStack</a> actions with
/// your template; otherwise, those actions return an InsufficientCapabilities error.</p>
/// <p>For more information, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-iam-template.html#capabilities">Acknowledging IAM Resources in CloudFormation Templates</a>.</p>
pub fn capabilities(mut self, input: impl Into<crate::model::Capability>) -> Self {
let mut v = self.capabilities.unwrap_or_default();
v.push(input.into());
self.capabilities = Some(v);
self
}
/// <p>The capabilities found within the template. If your template contains IAM resources,
/// you must specify the CAPABILITY_IAM or CAPABILITY_NAMED_IAM value for this parameter when
/// you use the <a>CreateStack</a> or <a>UpdateStack</a> actions with
/// your template; otherwise, those actions return an InsufficientCapabilities error.</p>
/// <p>For more information, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-iam-template.html#capabilities">Acknowledging IAM Resources in CloudFormation Templates</a>.</p>
pub fn set_capabilities(
mut self,
input: std::option::Option<std::vec::Vec<crate::model::Capability>>,
) -> Self {
self.capabilities = input;
self
}
/// <p>The list of resources that generated the values in the <code>Capabilities</code>
/// response element.</p>
pub fn capabilities_reason(mut self, input: impl Into<std::string::String>) -> Self {
self.capabilities_reason = Some(input.into());
self
}
/// <p>The list of resources that generated the values in the <code>Capabilities</code>
/// response element.</p>
pub fn set_capabilities_reason(
mut self,
input: std::option::Option<std::string::String>,
) -> Self {
self.capabilities_reason = input;
self
}
/// Appends an item to `declared_transforms`.
///
/// To override the contents of this collection use [`set_declared_transforms`](Self::set_declared_transforms).
///
/// <p>A list of the transforms that are declared in the template.</p>
pub fn declared_transforms(mut self, input: impl Into<std::string::String>) -> Self {
let mut v = self.declared_transforms.unwrap_or_default();
v.push(input.into());
self.declared_transforms = Some(v);
self
}
/// <p>A list of the transforms that are declared in the template.</p>
pub fn set_declared_transforms(
mut self,
input: std::option::Option<std::vec::Vec<std::string::String>>,
) -> Self {
self.declared_transforms = input;
self
}
/// Consumes the builder and constructs a [`ValidateTemplateOutput`](crate::output::ValidateTemplateOutput)
pub fn build(self) -> crate::output::ValidateTemplateOutput {
crate::output::ValidateTemplateOutput {
parameters: self.parameters,
description: self.description,
capabilities: self.capabilities,
capabilities_reason: self.capabilities_reason,
declared_transforms: self.declared_transforms,
}
}
}
}
impl ValidateTemplateOutput {
/// Creates a new builder-style object to manufacture [`ValidateTemplateOutput`](crate::output::ValidateTemplateOutput)
pub fn builder() -> crate::output::validate_template_output::Builder {
crate::output::validate_template_output::Builder::default()
}
}
#[allow(missing_docs)] // documentation missing in model
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct UpdateTerminationProtectionOutput {
/// <p>The unique ID of the stack.</p>
pub stack_id: std::option::Option<std::string::String>,
}
impl std::fmt::Debug for UpdateTerminationProtectionOutput {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut formatter = f.debug_struct("UpdateTerminationProtectionOutput");
formatter.field("stack_id", &self.stack_id);
formatter.finish()
}
}
/// See [`UpdateTerminationProtectionOutput`](crate::output::UpdateTerminationProtectionOutput)
pub mod update_termination_protection_output {
/// A builder for [`UpdateTerminationProtectionOutput`](crate::output::UpdateTerminationProtectionOutput)
#[non_exhaustive]
#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct Builder {
pub(crate) stack_id: std::option::Option<std::string::String>,
}
impl Builder {
/// <p>The unique ID of the stack.</p>
pub fn stack_id(mut self, input: impl Into<std::string::String>) -> Self {
self.stack_id = Some(input.into());
self
}
/// <p>The unique ID of the stack.</p>
pub fn set_stack_id(mut self, input: std::option::Option<std::string::String>) -> Self {
self.stack_id = input;
self
}
/// Consumes the builder and constructs a [`UpdateTerminationProtectionOutput`](crate::output::UpdateTerminationProtectionOutput)
pub fn build(self) -> crate::output::UpdateTerminationProtectionOutput {
crate::output::UpdateTerminationProtectionOutput {
stack_id: self.stack_id,
}
}
}
}
impl UpdateTerminationProtectionOutput {
/// Creates a new builder-style object to manufacture [`UpdateTerminationProtectionOutput`](crate::output::UpdateTerminationProtectionOutput)
pub fn builder() -> crate::output::update_termination_protection_output::Builder {
crate::output::update_termination_protection_output::Builder::default()
}
}
#[allow(missing_docs)] // documentation missing in model
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct UpdateStackSetOutput {
/// <p>The unique ID for this stack set operation.</p>
pub operation_id: std::option::Option<std::string::String>,
}
impl std::fmt::Debug for UpdateStackSetOutput {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut formatter = f.debug_struct("UpdateStackSetOutput");
formatter.field("operation_id", &self.operation_id);
formatter.finish()
}
}
/// See [`UpdateStackSetOutput`](crate::output::UpdateStackSetOutput)
pub mod update_stack_set_output {
/// A builder for [`UpdateStackSetOutput`](crate::output::UpdateStackSetOutput)
#[non_exhaustive]
#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct Builder {
pub(crate) operation_id: std::option::Option<std::string::String>,
}
impl Builder {
/// <p>The unique ID for this stack set operation.</p>
pub fn operation_id(mut self, input: impl Into<std::string::String>) -> Self {
self.operation_id = Some(input.into());
self
}
/// <p>The unique ID for this stack set operation.</p>
pub fn set_operation_id(mut self, input: std::option::Option<std::string::String>) -> Self {
self.operation_id = input;
self
}
/// Consumes the builder and constructs a [`UpdateStackSetOutput`](crate::output::UpdateStackSetOutput)
pub fn build(self) -> crate::output::UpdateStackSetOutput {
crate::output::UpdateStackSetOutput {
operation_id: self.operation_id,
}
}
}
}
impl UpdateStackSetOutput {
/// Creates a new builder-style object to manufacture [`UpdateStackSetOutput`](crate::output::UpdateStackSetOutput)
pub fn builder() -> crate::output::update_stack_set_output::Builder {
crate::output::update_stack_set_output::Builder::default()
}
}
#[allow(missing_docs)] // documentation missing in model
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct UpdateStackInstancesOutput {
/// <p>The unique identifier for this stack set operation. </p>
pub operation_id: std::option::Option<std::string::String>,
}
impl std::fmt::Debug for UpdateStackInstancesOutput {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut formatter = f.debug_struct("UpdateStackInstancesOutput");
formatter.field("operation_id", &self.operation_id);
formatter.finish()
}
}
/// See [`UpdateStackInstancesOutput`](crate::output::UpdateStackInstancesOutput)
pub mod update_stack_instances_output {
/// A builder for [`UpdateStackInstancesOutput`](crate::output::UpdateStackInstancesOutput)
#[non_exhaustive]
#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct Builder {
pub(crate) operation_id: std::option::Option<std::string::String>,
}
impl Builder {
/// <p>The unique identifier for this stack set operation. </p>
pub fn operation_id(mut self, input: impl Into<std::string::String>) -> Self {
self.operation_id = Some(input.into());
self
}
/// <p>The unique identifier for this stack set operation. </p>
pub fn set_operation_id(mut self, input: std::option::Option<std::string::String>) -> Self {
self.operation_id = input;
self
}
/// Consumes the builder and constructs a [`UpdateStackInstancesOutput`](crate::output::UpdateStackInstancesOutput)
pub fn build(self) -> crate::output::UpdateStackInstancesOutput {
crate::output::UpdateStackInstancesOutput {
operation_id: self.operation_id,
}
}
}
}
impl UpdateStackInstancesOutput {
/// Creates a new builder-style object to manufacture [`UpdateStackInstancesOutput`](crate::output::UpdateStackInstancesOutput)
pub fn builder() -> crate::output::update_stack_instances_output::Builder {
crate::output::update_stack_instances_output::Builder::default()
}
}
/// <p>The output for an <a>UpdateStack</a> action.</p>
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct UpdateStackOutput {
/// <p>Unique identifier of the stack.</p>
pub stack_id: std::option::Option<std::string::String>,
}
impl std::fmt::Debug for UpdateStackOutput {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut formatter = f.debug_struct("UpdateStackOutput");
formatter.field("stack_id", &self.stack_id);
formatter.finish()
}
}
/// See [`UpdateStackOutput`](crate::output::UpdateStackOutput)
pub mod update_stack_output {
/// A builder for [`UpdateStackOutput`](crate::output::UpdateStackOutput)
#[non_exhaustive]
#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct Builder {
pub(crate) stack_id: std::option::Option<std::string::String>,
}
impl Builder {
/// <p>Unique identifier of the stack.</p>
pub fn stack_id(mut self, input: impl Into<std::string::String>) -> Self {
self.stack_id = Some(input.into());
self
}
/// <p>Unique identifier of the stack.</p>
pub fn set_stack_id(mut self, input: std::option::Option<std::string::String>) -> Self {
self.stack_id = input;
self
}
/// Consumes the builder and constructs a [`UpdateStackOutput`](crate::output::UpdateStackOutput)
pub fn build(self) -> crate::output::UpdateStackOutput {
crate::output::UpdateStackOutput {
stack_id: self.stack_id,
}
}
}
}
impl UpdateStackOutput {
/// Creates a new builder-style object to manufacture [`UpdateStackOutput`](crate::output::UpdateStackOutput)
pub fn builder() -> crate::output::update_stack_output::Builder {
crate::output::update_stack_output::Builder::default()
}
}
#[allow(missing_docs)] // documentation missing in model
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct TestTypeOutput {
/// <p>The Amazon Resource Number (ARN) of the extension.</p>
pub type_version_arn: std::option::Option<std::string::String>,
}
impl std::fmt::Debug for TestTypeOutput {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut formatter = f.debug_struct("TestTypeOutput");
formatter.field("type_version_arn", &self.type_version_arn);
formatter.finish()
}
}
/// See [`TestTypeOutput`](crate::output::TestTypeOutput)
pub mod test_type_output {
/// A builder for [`TestTypeOutput`](crate::output::TestTypeOutput)
#[non_exhaustive]
#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct Builder {
pub(crate) type_version_arn: std::option::Option<std::string::String>,
}
impl Builder {
/// <p>The Amazon Resource Number (ARN) of the extension.</p>
pub fn type_version_arn(mut self, input: impl Into<std::string::String>) -> Self {
self.type_version_arn = Some(input.into());
self
}
/// <p>The Amazon Resource Number (ARN) of the extension.</p>
pub fn set_type_version_arn(
mut self,
input: std::option::Option<std::string::String>,
) -> Self {
self.type_version_arn = input;
self
}
/// Consumes the builder and constructs a [`TestTypeOutput`](crate::output::TestTypeOutput)
pub fn build(self) -> crate::output::TestTypeOutput {
crate::output::TestTypeOutput {
type_version_arn: self.type_version_arn,
}
}
}
}
impl TestTypeOutput {
/// Creates a new builder-style object to manufacture [`TestTypeOutput`](crate::output::TestTypeOutput)
pub fn builder() -> crate::output::test_type_output::Builder {
crate::output::test_type_output::Builder::default()
}
}
#[allow(missing_docs)] // documentation missing in model
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct StopStackSetOperationOutput {}
impl std::fmt::Debug for StopStackSetOperationOutput {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut formatter = f.debug_struct("StopStackSetOperationOutput");
formatter.finish()
}
}
/// See [`StopStackSetOperationOutput`](crate::output::StopStackSetOperationOutput)
pub mod stop_stack_set_operation_output {
/// A builder for [`StopStackSetOperationOutput`](crate::output::StopStackSetOperationOutput)
#[non_exhaustive]
#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct Builder {}
impl Builder {
/// Consumes the builder and constructs a [`StopStackSetOperationOutput`](crate::output::StopStackSetOperationOutput)
pub fn build(self) -> crate::output::StopStackSetOperationOutput {
crate::output::StopStackSetOperationOutput {}
}
}
}
impl StopStackSetOperationOutput {
/// Creates a new builder-style object to manufacture [`StopStackSetOperationOutput`](crate::output::StopStackSetOperationOutput)
pub fn builder() -> crate::output::stop_stack_set_operation_output::Builder {
crate::output::stop_stack_set_operation_output::Builder::default()
}
}
#[allow(missing_docs)] // documentation missing in model
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct SignalResourceOutput {}
impl std::fmt::Debug for SignalResourceOutput {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut formatter = f.debug_struct("SignalResourceOutput");
formatter.finish()
}
}
/// See [`SignalResourceOutput`](crate::output::SignalResourceOutput)
pub mod signal_resource_output {
/// A builder for [`SignalResourceOutput`](crate::output::SignalResourceOutput)
#[non_exhaustive]
#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct Builder {}
impl Builder {
/// Consumes the builder and constructs a [`SignalResourceOutput`](crate::output::SignalResourceOutput)
pub fn build(self) -> crate::output::SignalResourceOutput {
crate::output::SignalResourceOutput {}
}
}
}
impl SignalResourceOutput {
/// Creates a new builder-style object to manufacture [`SignalResourceOutput`](crate::output::SignalResourceOutput)
pub fn builder() -> crate::output::signal_resource_output::Builder {
crate::output::signal_resource_output::Builder::default()
}
}
#[allow(missing_docs)] // documentation missing in model
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct SetTypeDefaultVersionOutput {}
impl std::fmt::Debug for SetTypeDefaultVersionOutput {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut formatter = f.debug_struct("SetTypeDefaultVersionOutput");
formatter.finish()
}
}
/// See [`SetTypeDefaultVersionOutput`](crate::output::SetTypeDefaultVersionOutput)
pub mod set_type_default_version_output {
/// A builder for [`SetTypeDefaultVersionOutput`](crate::output::SetTypeDefaultVersionOutput)
#[non_exhaustive]
#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct Builder {}
impl Builder {
/// Consumes the builder and constructs a [`SetTypeDefaultVersionOutput`](crate::output::SetTypeDefaultVersionOutput)
pub fn build(self) -> crate::output::SetTypeDefaultVersionOutput {
crate::output::SetTypeDefaultVersionOutput {}
}
}
}
impl SetTypeDefaultVersionOutput {
/// Creates a new builder-style object to manufacture [`SetTypeDefaultVersionOutput`](crate::output::SetTypeDefaultVersionOutput)
pub fn builder() -> crate::output::set_type_default_version_output::Builder {
crate::output::set_type_default_version_output::Builder::default()
}
}
#[allow(missing_docs)] // documentation missing in model
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct SetTypeConfigurationOutput {
/// <p>The Amazon Resource Name (ARN) for the configuration data, in this account and
/// region.</p>
/// <p>Conditional: You must specify <code>ConfigurationArn</code>, or <code>Type</code> and
/// <code>TypeName</code>.</p>
pub configuration_arn: std::option::Option<std::string::String>,
}
impl std::fmt::Debug for SetTypeConfigurationOutput {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut formatter = f.debug_struct("SetTypeConfigurationOutput");
formatter.field("configuration_arn", &self.configuration_arn);
formatter.finish()
}
}
/// See [`SetTypeConfigurationOutput`](crate::output::SetTypeConfigurationOutput)
pub mod set_type_configuration_output {
/// A builder for [`SetTypeConfigurationOutput`](crate::output::SetTypeConfigurationOutput)
#[non_exhaustive]
#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct Builder {
pub(crate) configuration_arn: std::option::Option<std::string::String>,
}
impl Builder {
/// <p>The Amazon Resource Name (ARN) for the configuration data, in this account and
/// region.</p>
/// <p>Conditional: You must specify <code>ConfigurationArn</code>, or <code>Type</code> and
/// <code>TypeName</code>.</p>
pub fn configuration_arn(mut self, input: impl Into<std::string::String>) -> Self {
self.configuration_arn = Some(input.into());
self
}
/// <p>The Amazon Resource Name (ARN) for the configuration data, in this account and
/// region.</p>
/// <p>Conditional: You must specify <code>ConfigurationArn</code>, or <code>Type</code> and
/// <code>TypeName</code>.</p>
pub fn set_configuration_arn(
mut self,
input: std::option::Option<std::string::String>,
) -> Self {
self.configuration_arn = input;
self
}
/// Consumes the builder and constructs a [`SetTypeConfigurationOutput`](crate::output::SetTypeConfigurationOutput)
pub fn build(self) -> crate::output::SetTypeConfigurationOutput {
crate::output::SetTypeConfigurationOutput {
configuration_arn: self.configuration_arn,
}
}
}
}
impl SetTypeConfigurationOutput {
/// Creates a new builder-style object to manufacture [`SetTypeConfigurationOutput`](crate::output::SetTypeConfigurationOutput)
pub fn builder() -> crate::output::set_type_configuration_output::Builder {
crate::output::set_type_configuration_output::Builder::default()
}
}
#[allow(missing_docs)] // documentation missing in model
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct SetStackPolicyOutput {}
impl std::fmt::Debug for SetStackPolicyOutput {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut formatter = f.debug_struct("SetStackPolicyOutput");
formatter.finish()
}
}
/// See [`SetStackPolicyOutput`](crate::output::SetStackPolicyOutput)
pub mod set_stack_policy_output {
/// A builder for [`SetStackPolicyOutput`](crate::output::SetStackPolicyOutput)
#[non_exhaustive]
#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct Builder {}
impl Builder {
/// Consumes the builder and constructs a [`SetStackPolicyOutput`](crate::output::SetStackPolicyOutput)
pub fn build(self) -> crate::output::SetStackPolicyOutput {
crate::output::SetStackPolicyOutput {}
}
}
}
impl SetStackPolicyOutput {
/// Creates a new builder-style object to manufacture [`SetStackPolicyOutput`](crate::output::SetStackPolicyOutput)
pub fn builder() -> crate::output::set_stack_policy_output::Builder {
crate::output::set_stack_policy_output::Builder::default()
}
}
#[allow(missing_docs)] // documentation missing in model
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct RollbackStackOutput {
/// <p>Unique identifier of the stack.</p>
pub stack_id: std::option::Option<std::string::String>,
}
impl std::fmt::Debug for RollbackStackOutput {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut formatter = f.debug_struct("RollbackStackOutput");
formatter.field("stack_id", &self.stack_id);
formatter.finish()
}
}
/// See [`RollbackStackOutput`](crate::output::RollbackStackOutput)
pub mod rollback_stack_output {
/// A builder for [`RollbackStackOutput`](crate::output::RollbackStackOutput)
#[non_exhaustive]
#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct Builder {
pub(crate) stack_id: std::option::Option<std::string::String>,
}
impl Builder {
/// <p>Unique identifier of the stack.</p>
pub fn stack_id(mut self, input: impl Into<std::string::String>) -> Self {
self.stack_id = Some(input.into());
self
}
/// <p>Unique identifier of the stack.</p>
pub fn set_stack_id(mut self, input: std::option::Option<std::string::String>) -> Self {
self.stack_id = input;
self
}
/// Consumes the builder and constructs a [`RollbackStackOutput`](crate::output::RollbackStackOutput)
pub fn build(self) -> crate::output::RollbackStackOutput {
crate::output::RollbackStackOutput {
stack_id: self.stack_id,
}
}
}
}
impl RollbackStackOutput {
/// Creates a new builder-style object to manufacture [`RollbackStackOutput`](crate::output::RollbackStackOutput)
pub fn builder() -> crate::output::rollback_stack_output::Builder {
crate::output::rollback_stack_output::Builder::default()
}
}
#[allow(missing_docs)] // documentation missing in model
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct RegisterTypeOutput {
/// <p>The identifier for this registration request.</p>
/// <p>Use this registration token when calling <code>
/// <a>DescribeTypeRegistration</a>
/// </code>, which returns information about the status and IDs of the extension
/// registration. </p>
pub registration_token: std::option::Option<std::string::String>,
}
impl std::fmt::Debug for RegisterTypeOutput {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut formatter = f.debug_struct("RegisterTypeOutput");
formatter.field("registration_token", &self.registration_token);
formatter.finish()
}
}
/// See [`RegisterTypeOutput`](crate::output::RegisterTypeOutput)
pub mod register_type_output {
/// A builder for [`RegisterTypeOutput`](crate::output::RegisterTypeOutput)
#[non_exhaustive]
#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct Builder {
pub(crate) registration_token: std::option::Option<std::string::String>,
}
impl Builder {
/// <p>The identifier for this registration request.</p>
/// <p>Use this registration token when calling <code>
/// <a>DescribeTypeRegistration</a>
/// </code>, which returns information about the status and IDs of the extension
/// registration. </p>
pub fn registration_token(mut self, input: impl Into<std::string::String>) -> Self {
self.registration_token = Some(input.into());
self
}
/// <p>The identifier for this registration request.</p>
/// <p>Use this registration token when calling <code>
/// <a>DescribeTypeRegistration</a>
/// </code>, which returns information about the status and IDs of the extension
/// registration. </p>
pub fn set_registration_token(
mut self,
input: std::option::Option<std::string::String>,
) -> Self {
self.registration_token = input;
self
}
/// Consumes the builder and constructs a [`RegisterTypeOutput`](crate::output::RegisterTypeOutput)
pub fn build(self) -> crate::output::RegisterTypeOutput {
crate::output::RegisterTypeOutput {
registration_token: self.registration_token,
}
}
}
}
impl RegisterTypeOutput {
/// Creates a new builder-style object to manufacture [`RegisterTypeOutput`](crate::output::RegisterTypeOutput)
pub fn builder() -> crate::output::register_type_output::Builder {
crate::output::register_type_output::Builder::default()
}
}
#[allow(missing_docs)] // documentation missing in model
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct RegisterPublisherOutput {
/// <p>The ID assigned this account by CloudFormation for publishing extensions.</p>
pub publisher_id: std::option::Option<std::string::String>,
}
impl std::fmt::Debug for RegisterPublisherOutput {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut formatter = f.debug_struct("RegisterPublisherOutput");
formatter.field("publisher_id", &self.publisher_id);
formatter.finish()
}
}
/// See [`RegisterPublisherOutput`](crate::output::RegisterPublisherOutput)
pub mod register_publisher_output {
/// A builder for [`RegisterPublisherOutput`](crate::output::RegisterPublisherOutput)
#[non_exhaustive]
#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct Builder {
pub(crate) publisher_id: std::option::Option<std::string::String>,
}
impl Builder {
/// <p>The ID assigned this account by CloudFormation for publishing extensions.</p>
pub fn publisher_id(mut self, input: impl Into<std::string::String>) -> Self {
self.publisher_id = Some(input.into());
self
}
/// <p>The ID assigned this account by CloudFormation for publishing extensions.</p>
pub fn set_publisher_id(mut self, input: std::option::Option<std::string::String>) -> Self {
self.publisher_id = input;
self
}
/// Consumes the builder and constructs a [`RegisterPublisherOutput`](crate::output::RegisterPublisherOutput)
pub fn build(self) -> crate::output::RegisterPublisherOutput {
crate::output::RegisterPublisherOutput {
publisher_id: self.publisher_id,
}
}
}
}
impl RegisterPublisherOutput {
/// Creates a new builder-style object to manufacture [`RegisterPublisherOutput`](crate::output::RegisterPublisherOutput)
pub fn builder() -> crate::output::register_publisher_output::Builder {
crate::output::register_publisher_output::Builder::default()
}
}
#[allow(missing_docs)] // documentation missing in model
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct RecordHandlerProgressOutput {}
impl std::fmt::Debug for RecordHandlerProgressOutput {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut formatter = f.debug_struct("RecordHandlerProgressOutput");
formatter.finish()
}
}
/// See [`RecordHandlerProgressOutput`](crate::output::RecordHandlerProgressOutput)
pub mod record_handler_progress_output {
/// A builder for [`RecordHandlerProgressOutput`](crate::output::RecordHandlerProgressOutput)
#[non_exhaustive]
#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct Builder {}
impl Builder {
/// Consumes the builder and constructs a [`RecordHandlerProgressOutput`](crate::output::RecordHandlerProgressOutput)
pub fn build(self) -> crate::output::RecordHandlerProgressOutput {
crate::output::RecordHandlerProgressOutput {}
}
}
}
impl RecordHandlerProgressOutput {
/// Creates a new builder-style object to manufacture [`RecordHandlerProgressOutput`](crate::output::RecordHandlerProgressOutput)
pub fn builder() -> crate::output::record_handler_progress_output::Builder {
crate::output::record_handler_progress_output::Builder::default()
}
}
#[allow(missing_docs)] // documentation missing in model
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct PublishTypeOutput {
/// <p>The Amazon Resource Number (ARN) assigned to the public extension upon
/// publication.</p>
pub public_type_arn: std::option::Option<std::string::String>,
}
impl std::fmt::Debug for PublishTypeOutput {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut formatter = f.debug_struct("PublishTypeOutput");
formatter.field("public_type_arn", &self.public_type_arn);
formatter.finish()
}
}
/// See [`PublishTypeOutput`](crate::output::PublishTypeOutput)
pub mod publish_type_output {
/// A builder for [`PublishTypeOutput`](crate::output::PublishTypeOutput)
#[non_exhaustive]
#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct Builder {
pub(crate) public_type_arn: std::option::Option<std::string::String>,
}
impl Builder {
/// <p>The Amazon Resource Number (ARN) assigned to the public extension upon
/// publication.</p>
pub fn public_type_arn(mut self, input: impl Into<std::string::String>) -> Self {
self.public_type_arn = Some(input.into());
self
}
/// <p>The Amazon Resource Number (ARN) assigned to the public extension upon
/// publication.</p>
pub fn set_public_type_arn(
mut self,
input: std::option::Option<std::string::String>,
) -> Self {
self.public_type_arn = input;
self
}
/// Consumes the builder and constructs a [`PublishTypeOutput`](crate::output::PublishTypeOutput)
pub fn build(self) -> crate::output::PublishTypeOutput {
crate::output::PublishTypeOutput {
public_type_arn: self.public_type_arn,
}
}
}
}
impl PublishTypeOutput {
/// Creates a new builder-style object to manufacture [`PublishTypeOutput`](crate::output::PublishTypeOutput)
pub fn builder() -> crate::output::publish_type_output::Builder {
crate::output::publish_type_output::Builder::default()
}
}
#[allow(missing_docs)] // documentation missing in model
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct ListTypeVersionsOutput {
/// <p>A list of <code>TypeVersionSummary</code> structures that contain information about the
/// specified extension's versions.</p>
pub type_version_summaries:
std::option::Option<std::vec::Vec<crate::model::TypeVersionSummary>>,
/// <p>If the request doesn't return all of the remaining results, <code>NextToken</code> is
/// set to a token. To retrieve the next set of results, call this action again and assign that
/// token to the request object's <code>NextToken</code> parameter. If the request returns all
/// results, <code>NextToken</code> is set to <code>null</code>.</p>
pub next_token: std::option::Option<std::string::String>,
}
impl std::fmt::Debug for ListTypeVersionsOutput {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut formatter = f.debug_struct("ListTypeVersionsOutput");
formatter.field("type_version_summaries", &self.type_version_summaries);
formatter.field("next_token", &self.next_token);
formatter.finish()
}
}
/// See [`ListTypeVersionsOutput`](crate::output::ListTypeVersionsOutput)
pub mod list_type_versions_output {
/// A builder for [`ListTypeVersionsOutput`](crate::output::ListTypeVersionsOutput)
#[non_exhaustive]
#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct Builder {
pub(crate) type_version_summaries:
std::option::Option<std::vec::Vec<crate::model::TypeVersionSummary>>,
pub(crate) next_token: std::option::Option<std::string::String>,
}
impl Builder {
/// Appends an item to `type_version_summaries`.
///
/// To override the contents of this collection use [`set_type_version_summaries`](Self::set_type_version_summaries).
///
/// <p>A list of <code>TypeVersionSummary</code> structures that contain information about the
/// specified extension's versions.</p>
pub fn type_version_summaries(
mut self,
input: impl Into<crate::model::TypeVersionSummary>,
) -> Self {
let mut v = self.type_version_summaries.unwrap_or_default();
v.push(input.into());
self.type_version_summaries = Some(v);
self
}
/// <p>A list of <code>TypeVersionSummary</code> structures that contain information about the
/// specified extension's versions.</p>
pub fn set_type_version_summaries(
mut self,
input: std::option::Option<std::vec::Vec<crate::model::TypeVersionSummary>>,
) -> Self {
self.type_version_summaries = input;
self
}
/// <p>If the request doesn't return all of the remaining results, <code>NextToken</code> is
/// set to a token. To retrieve the next set of results, call this action again and assign that
/// token to the request object's <code>NextToken</code> parameter. If the request returns all
/// results, <code>NextToken</code> is set to <code>null</code>.</p>
pub fn next_token(mut self, input: impl Into<std::string::String>) -> Self {
self.next_token = Some(input.into());
self
}
/// <p>If the request doesn't return all of the remaining results, <code>NextToken</code> is
/// set to a token. To retrieve the next set of results, call this action again and assign that
/// token to the request object's <code>NextToken</code> parameter. If the request returns all
/// results, <code>NextToken</code> is set to <code>null</code>.</p>
pub fn set_next_token(mut self, input: std::option::Option<std::string::String>) -> Self {
self.next_token = input;
self
}
/// Consumes the builder and constructs a [`ListTypeVersionsOutput`](crate::output::ListTypeVersionsOutput)
pub fn build(self) -> crate::output::ListTypeVersionsOutput {
crate::output::ListTypeVersionsOutput {
type_version_summaries: self.type_version_summaries,
next_token: self.next_token,
}
}
}
}
impl ListTypeVersionsOutput {
/// Creates a new builder-style object to manufacture [`ListTypeVersionsOutput`](crate::output::ListTypeVersionsOutput)
pub fn builder() -> crate::output::list_type_versions_output::Builder {
crate::output::list_type_versions_output::Builder::default()
}
}
#[allow(missing_docs)] // documentation missing in model
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct ListTypesOutput {
/// <p>A list of <code>TypeSummary</code> structures that contain information about the
/// specified extensions.</p>
pub type_summaries: std::option::Option<std::vec::Vec<crate::model::TypeSummary>>,
/// <p>If the request doesn't return all of the remaining results, <code>NextToken</code> is
/// set to a token. To retrieve the next set of results, call this action again and assign that
/// token to the request object's <code>NextToken</code> parameter. If the request returns all
/// results, <code>NextToken</code> is set to <code>null</code>.</p>
pub next_token: std::option::Option<std::string::String>,
}
impl std::fmt::Debug for ListTypesOutput {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut formatter = f.debug_struct("ListTypesOutput");
formatter.field("type_summaries", &self.type_summaries);
formatter.field("next_token", &self.next_token);
formatter.finish()
}
}
/// See [`ListTypesOutput`](crate::output::ListTypesOutput)
pub mod list_types_output {
/// A builder for [`ListTypesOutput`](crate::output::ListTypesOutput)
#[non_exhaustive]
#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct Builder {
pub(crate) type_summaries: std::option::Option<std::vec::Vec<crate::model::TypeSummary>>,
pub(crate) next_token: std::option::Option<std::string::String>,
}
impl Builder {
/// Appends an item to `type_summaries`.
///
/// To override the contents of this collection use [`set_type_summaries`](Self::set_type_summaries).
///
/// <p>A list of <code>TypeSummary</code> structures that contain information about the
/// specified extensions.</p>
pub fn type_summaries(mut self, input: impl Into<crate::model::TypeSummary>) -> Self {
let mut v = self.type_summaries.unwrap_or_default();
v.push(input.into());
self.type_summaries = Some(v);
self
}
/// <p>A list of <code>TypeSummary</code> structures that contain information about the
/// specified extensions.</p>
pub fn set_type_summaries(
mut self,
input: std::option::Option<std::vec::Vec<crate::model::TypeSummary>>,
) -> Self {
self.type_summaries = input;
self
}
/// <p>If the request doesn't return all of the remaining results, <code>NextToken</code> is
/// set to a token. To retrieve the next set of results, call this action again and assign that
/// token to the request object's <code>NextToken</code> parameter. If the request returns all
/// results, <code>NextToken</code> is set to <code>null</code>.</p>
pub fn next_token(mut self, input: impl Into<std::string::String>) -> Self {
self.next_token = Some(input.into());
self
}
/// <p>If the request doesn't return all of the remaining results, <code>NextToken</code> is
/// set to a token. To retrieve the next set of results, call this action again and assign that
/// token to the request object's <code>NextToken</code> parameter. If the request returns all
/// results, <code>NextToken</code> is set to <code>null</code>.</p>
pub fn set_next_token(mut self, input: std::option::Option<std::string::String>) -> Self {
self.next_token = input;
self
}
/// Consumes the builder and constructs a [`ListTypesOutput`](crate::output::ListTypesOutput)
pub fn build(self) -> crate::output::ListTypesOutput {
crate::output::ListTypesOutput {
type_summaries: self.type_summaries,
next_token: self.next_token,
}
}
}
}
impl ListTypesOutput {
/// Creates a new builder-style object to manufacture [`ListTypesOutput`](crate::output::ListTypesOutput)
pub fn builder() -> crate::output::list_types_output::Builder {
crate::output::list_types_output::Builder::default()
}
}
#[allow(missing_docs)] // documentation missing in model
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct ListTypeRegistrationsOutput {
/// <p> A list of extension registration tokens.</p>
/// <p>Use <code>
/// <a>DescribeTypeRegistration</a>
/// </code> to return detailed
/// information about a type registration request.</p>
pub registration_token_list: std::option::Option<std::vec::Vec<std::string::String>>,
/// <p>If the request doesn't return all of the remaining results, <code>NextToken</code> is
/// set to a token. To retrieve the next set of results, call this action again and assign that
/// token to the request object's <code>NextToken</code> parameter. If the request returns all
/// results, <code>NextToken</code> is set to <code>null</code>.</p>
pub next_token: std::option::Option<std::string::String>,
}
impl std::fmt::Debug for ListTypeRegistrationsOutput {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut formatter = f.debug_struct("ListTypeRegistrationsOutput");
formatter.field("registration_token_list", &self.registration_token_list);
formatter.field("next_token", &self.next_token);
formatter.finish()
}
}
/// See [`ListTypeRegistrationsOutput`](crate::output::ListTypeRegistrationsOutput)
pub mod list_type_registrations_output {
/// A builder for [`ListTypeRegistrationsOutput`](crate::output::ListTypeRegistrationsOutput)
#[non_exhaustive]
#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct Builder {
pub(crate) registration_token_list: std::option::Option<std::vec::Vec<std::string::String>>,
pub(crate) next_token: std::option::Option<std::string::String>,
}
impl Builder {
/// Appends an item to `registration_token_list`.
///
/// To override the contents of this collection use [`set_registration_token_list`](Self::set_registration_token_list).
///
/// <p> A list of extension registration tokens.</p>
/// <p>Use <code>
/// <a>DescribeTypeRegistration</a>
/// </code> to return detailed
/// information about a type registration request.</p>
pub fn registration_token_list(mut self, input: impl Into<std::string::String>) -> Self {
let mut v = self.registration_token_list.unwrap_or_default();
v.push(input.into());
self.registration_token_list = Some(v);
self
}
/// <p> A list of extension registration tokens.</p>
/// <p>Use <code>
/// <a>DescribeTypeRegistration</a>
/// </code> to return detailed
/// information about a type registration request.</p>
pub fn set_registration_token_list(
mut self,
input: std::option::Option<std::vec::Vec<std::string::String>>,
) -> Self {
self.registration_token_list = input;
self
}
/// <p>If the request doesn't return all of the remaining results, <code>NextToken</code> is
/// set to a token. To retrieve the next set of results, call this action again and assign that
/// token to the request object's <code>NextToken</code> parameter. If the request returns all
/// results, <code>NextToken</code> is set to <code>null</code>.</p>
pub fn next_token(mut self, input: impl Into<std::string::String>) -> Self {
self.next_token = Some(input.into());
self
}
/// <p>If the request doesn't return all of the remaining results, <code>NextToken</code> is
/// set to a token. To retrieve the next set of results, call this action again and assign that
/// token to the request object's <code>NextToken</code> parameter. If the request returns all
/// results, <code>NextToken</code> is set to <code>null</code>.</p>
pub fn set_next_token(mut self, input: std::option::Option<std::string::String>) -> Self {
self.next_token = input;
self
}
/// Consumes the builder and constructs a [`ListTypeRegistrationsOutput`](crate::output::ListTypeRegistrationsOutput)
pub fn build(self) -> crate::output::ListTypeRegistrationsOutput {
crate::output::ListTypeRegistrationsOutput {
registration_token_list: self.registration_token_list,
next_token: self.next_token,
}
}
}
}
impl ListTypeRegistrationsOutput {
/// Creates a new builder-style object to manufacture [`ListTypeRegistrationsOutput`](crate::output::ListTypeRegistrationsOutput)
pub fn builder() -> crate::output::list_type_registrations_output::Builder {
crate::output::list_type_registrations_output::Builder::default()
}
}
#[allow(missing_docs)] // documentation missing in model
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct ListStackSetsOutput {
/// <p>A list of <code>StackSetSummary</code> structures that contain information about the
/// user's stack sets.</p>
pub summaries: std::option::Option<std::vec::Vec<crate::model::StackSetSummary>>,
/// <p>If the request doesn't return all of the remaining results, <code>NextToken</code> is
/// set to a token. To retrieve the next set of results, call <code>ListStackInstances</code>
/// again and assign that token to the request object's <code>NextToken</code> parameter. If
/// the request returns all results, <code>NextToken</code> is set to
/// <code>null</code>.</p>
pub next_token: std::option::Option<std::string::String>,
}
impl std::fmt::Debug for ListStackSetsOutput {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut formatter = f.debug_struct("ListStackSetsOutput");
formatter.field("summaries", &self.summaries);
formatter.field("next_token", &self.next_token);
formatter.finish()
}
}
/// See [`ListStackSetsOutput`](crate::output::ListStackSetsOutput)
pub mod list_stack_sets_output {
/// A builder for [`ListStackSetsOutput`](crate::output::ListStackSetsOutput)
#[non_exhaustive]
#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct Builder {
pub(crate) summaries: std::option::Option<std::vec::Vec<crate::model::StackSetSummary>>,
pub(crate) next_token: std::option::Option<std::string::String>,
}
impl Builder {
/// Appends an item to `summaries`.
///
/// To override the contents of this collection use [`set_summaries`](Self::set_summaries).
///
/// <p>A list of <code>StackSetSummary</code> structures that contain information about the
/// user's stack sets.</p>
pub fn summaries(mut self, input: impl Into<crate::model::StackSetSummary>) -> Self {
let mut v = self.summaries.unwrap_or_default();
v.push(input.into());
self.summaries = Some(v);
self
}
/// <p>A list of <code>StackSetSummary</code> structures that contain information about the
/// user's stack sets.</p>
pub fn set_summaries(
mut self,
input: std::option::Option<std::vec::Vec<crate::model::StackSetSummary>>,
) -> Self {
self.summaries = input;
self
}
/// <p>If the request doesn't return all of the remaining results, <code>NextToken</code> is
/// set to a token. To retrieve the next set of results, call <code>ListStackInstances</code>
/// again and assign that token to the request object's <code>NextToken</code> parameter. If
/// the request returns all results, <code>NextToken</code> is set to
/// <code>null</code>.</p>
pub fn next_token(mut self, input: impl Into<std::string::String>) -> Self {
self.next_token = Some(input.into());
self
}
/// <p>If the request doesn't return all of the remaining results, <code>NextToken</code> is
/// set to a token. To retrieve the next set of results, call <code>ListStackInstances</code>
/// again and assign that token to the request object's <code>NextToken</code> parameter. If
/// the request returns all results, <code>NextToken</code> is set to
/// <code>null</code>.</p>
pub fn set_next_token(mut self, input: std::option::Option<std::string::String>) -> Self {
self.next_token = input;
self
}
/// Consumes the builder and constructs a [`ListStackSetsOutput`](crate::output::ListStackSetsOutput)
pub fn build(self) -> crate::output::ListStackSetsOutput {
crate::output::ListStackSetsOutput {
summaries: self.summaries,
next_token: self.next_token,
}
}
}
}
impl ListStackSetsOutput {
/// Creates a new builder-style object to manufacture [`ListStackSetsOutput`](crate::output::ListStackSetsOutput)
pub fn builder() -> crate::output::list_stack_sets_output::Builder {
crate::output::list_stack_sets_output::Builder::default()
}
}
#[allow(missing_docs)] // documentation missing in model
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct ListStackSetOperationsOutput {
/// <p>A list of <code>StackSetOperationSummary</code> structures that contain summary
/// information about operations for the specified stack set.</p>
pub summaries: std::option::Option<std::vec::Vec<crate::model::StackSetOperationSummary>>,
/// <p>If the request doesn't return all results, <code>NextToken</code> is set to a token.
/// To retrieve the next set of results, call <code>ListOperationResults</code> again and
/// assign that token to the request object's <code>NextToken</code> parameter. If there are no
/// remaining results, <code>NextToken</code> is set to <code>null</code>.</p>
pub next_token: std::option::Option<std::string::String>,
}
impl std::fmt::Debug for ListStackSetOperationsOutput {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut formatter = f.debug_struct("ListStackSetOperationsOutput");
formatter.field("summaries", &self.summaries);
formatter.field("next_token", &self.next_token);
formatter.finish()
}
}
/// See [`ListStackSetOperationsOutput`](crate::output::ListStackSetOperationsOutput)
pub mod list_stack_set_operations_output {
/// A builder for [`ListStackSetOperationsOutput`](crate::output::ListStackSetOperationsOutput)
#[non_exhaustive]
#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct Builder {
pub(crate) summaries:
std::option::Option<std::vec::Vec<crate::model::StackSetOperationSummary>>,
pub(crate) next_token: std::option::Option<std::string::String>,
}
impl Builder {
/// Appends an item to `summaries`.
///
/// To override the contents of this collection use [`set_summaries`](Self::set_summaries).
///
/// <p>A list of <code>StackSetOperationSummary</code> structures that contain summary
/// information about operations for the specified stack set.</p>
pub fn summaries(
mut self,
input: impl Into<crate::model::StackSetOperationSummary>,
) -> Self {
let mut v = self.summaries.unwrap_or_default();
v.push(input.into());
self.summaries = Some(v);
self
}
/// <p>A list of <code>StackSetOperationSummary</code> structures that contain summary
/// information about operations for the specified stack set.</p>
pub fn set_summaries(
mut self,
input: std::option::Option<std::vec::Vec<crate::model::StackSetOperationSummary>>,
) -> Self {
self.summaries = input;
self
}
/// <p>If the request doesn't return all results, <code>NextToken</code> is set to a token.
/// To retrieve the next set of results, call <code>ListOperationResults</code> again and
/// assign that token to the request object's <code>NextToken</code> parameter. If there are no
/// remaining results, <code>NextToken</code> is set to <code>null</code>.</p>
pub fn next_token(mut self, input: impl Into<std::string::String>) -> Self {
self.next_token = Some(input.into());
self
}
/// <p>If the request doesn't return all results, <code>NextToken</code> is set to a token.
/// To retrieve the next set of results, call <code>ListOperationResults</code> again and
/// assign that token to the request object's <code>NextToken</code> parameter. If there are no
/// remaining results, <code>NextToken</code> is set to <code>null</code>.</p>
pub fn set_next_token(mut self, input: std::option::Option<std::string::String>) -> Self {
self.next_token = input;
self
}
/// Consumes the builder and constructs a [`ListStackSetOperationsOutput`](crate::output::ListStackSetOperationsOutput)
pub fn build(self) -> crate::output::ListStackSetOperationsOutput {
crate::output::ListStackSetOperationsOutput {
summaries: self.summaries,
next_token: self.next_token,
}
}
}
}
impl ListStackSetOperationsOutput {
/// Creates a new builder-style object to manufacture [`ListStackSetOperationsOutput`](crate::output::ListStackSetOperationsOutput)
pub fn builder() -> crate::output::list_stack_set_operations_output::Builder {
crate::output::list_stack_set_operations_output::Builder::default()
}
}
#[allow(missing_docs)] // documentation missing in model
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct ListStackSetOperationResultsOutput {
/// <p>A list of <code>StackSetOperationResultSummary</code> structures that contain
/// information about the specified operation results, for accounts and Regions that are
/// included in the operation.</p>
pub summaries: std::option::Option<std::vec::Vec<crate::model::StackSetOperationResultSummary>>,
/// <p>If the request doesn't return all results, <code>NextToken</code> is set to a token.
/// To retrieve the next set of results, call <code>ListOperationResults</code> again and
/// assign that token to the request object's <code>NextToken</code> parameter. If there are no
/// remaining results, <code>NextToken</code> is set to <code>null</code>.</p>
pub next_token: std::option::Option<std::string::String>,
}
impl std::fmt::Debug for ListStackSetOperationResultsOutput {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut formatter = f.debug_struct("ListStackSetOperationResultsOutput");
formatter.field("summaries", &self.summaries);
formatter.field("next_token", &self.next_token);
formatter.finish()
}
}
/// See [`ListStackSetOperationResultsOutput`](crate::output::ListStackSetOperationResultsOutput)
pub mod list_stack_set_operation_results_output {
/// A builder for [`ListStackSetOperationResultsOutput`](crate::output::ListStackSetOperationResultsOutput)
#[non_exhaustive]
#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct Builder {
pub(crate) summaries:
std::option::Option<std::vec::Vec<crate::model::StackSetOperationResultSummary>>,
pub(crate) next_token: std::option::Option<std::string::String>,
}
impl Builder {
/// Appends an item to `summaries`.
///
/// To override the contents of this collection use [`set_summaries`](Self::set_summaries).
///
/// <p>A list of <code>StackSetOperationResultSummary</code> structures that contain
/// information about the specified operation results, for accounts and Regions that are
/// included in the operation.</p>
pub fn summaries(
mut self,
input: impl Into<crate::model::StackSetOperationResultSummary>,
) -> Self {
let mut v = self.summaries.unwrap_or_default();
v.push(input.into());
self.summaries = Some(v);
self
}
/// <p>A list of <code>StackSetOperationResultSummary</code> structures that contain
/// information about the specified operation results, for accounts and Regions that are
/// included in the operation.</p>
pub fn set_summaries(
mut self,
input: std::option::Option<std::vec::Vec<crate::model::StackSetOperationResultSummary>>,
) -> Self {
self.summaries = input;
self
}
/// <p>If the request doesn't return all results, <code>NextToken</code> is set to a token.
/// To retrieve the next set of results, call <code>ListOperationResults</code> again and
/// assign that token to the request object's <code>NextToken</code> parameter. If there are no
/// remaining results, <code>NextToken</code> is set to <code>null</code>.</p>
pub fn next_token(mut self, input: impl Into<std::string::String>) -> Self {
self.next_token = Some(input.into());
self
}
/// <p>If the request doesn't return all results, <code>NextToken</code> is set to a token.
/// To retrieve the next set of results, call <code>ListOperationResults</code> again and
/// assign that token to the request object's <code>NextToken</code> parameter. If there are no
/// remaining results, <code>NextToken</code> is set to <code>null</code>.</p>
pub fn set_next_token(mut self, input: std::option::Option<std::string::String>) -> Self {
self.next_token = input;
self
}
/// Consumes the builder and constructs a [`ListStackSetOperationResultsOutput`](crate::output::ListStackSetOperationResultsOutput)
pub fn build(self) -> crate::output::ListStackSetOperationResultsOutput {
crate::output::ListStackSetOperationResultsOutput {
summaries: self.summaries,
next_token: self.next_token,
}
}
}
}
impl ListStackSetOperationResultsOutput {
/// Creates a new builder-style object to manufacture [`ListStackSetOperationResultsOutput`](crate::output::ListStackSetOperationResultsOutput)
pub fn builder() -> crate::output::list_stack_set_operation_results_output::Builder {
crate::output::list_stack_set_operation_results_output::Builder::default()
}
}
/// <p>The output for <a>ListStacks</a> action.</p>
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct ListStacksOutput {
/// <p>A list of <code>StackSummary</code> structures containing information about the
/// specified stacks.</p>
pub stack_summaries: std::option::Option<std::vec::Vec<crate::model::StackSummary>>,
/// <p>If the output exceeds 1 MB in size, a string that identifies the next page of stacks.
/// If no additional page exists, this value is null.</p>
pub next_token: std::option::Option<std::string::String>,
}
impl std::fmt::Debug for ListStacksOutput {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut formatter = f.debug_struct("ListStacksOutput");
formatter.field("stack_summaries", &self.stack_summaries);
formatter.field("next_token", &self.next_token);
formatter.finish()
}
}
/// See [`ListStacksOutput`](crate::output::ListStacksOutput)
pub mod list_stacks_output {
/// A builder for [`ListStacksOutput`](crate::output::ListStacksOutput)
#[non_exhaustive]
#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct Builder {
pub(crate) stack_summaries: std::option::Option<std::vec::Vec<crate::model::StackSummary>>,
pub(crate) next_token: std::option::Option<std::string::String>,
}
impl Builder {
/// Appends an item to `stack_summaries`.
///
/// To override the contents of this collection use [`set_stack_summaries`](Self::set_stack_summaries).
///
/// <p>A list of <code>StackSummary</code> structures containing information about the
/// specified stacks.</p>
pub fn stack_summaries(mut self, input: impl Into<crate::model::StackSummary>) -> Self {
let mut v = self.stack_summaries.unwrap_or_default();
v.push(input.into());
self.stack_summaries = Some(v);
self
}
/// <p>A list of <code>StackSummary</code> structures containing information about the
/// specified stacks.</p>
pub fn set_stack_summaries(
mut self,
input: std::option::Option<std::vec::Vec<crate::model::StackSummary>>,
) -> Self {
self.stack_summaries = input;
self
}
/// <p>If the output exceeds 1 MB in size, a string that identifies the next page of stacks.
/// If no additional page exists, this value is null.</p>
pub fn next_token(mut self, input: impl Into<std::string::String>) -> Self {
self.next_token = Some(input.into());
self
}
/// <p>If the output exceeds 1 MB in size, a string that identifies the next page of stacks.
/// If no additional page exists, this value is null.</p>
pub fn set_next_token(mut self, input: std::option::Option<std::string::String>) -> Self {
self.next_token = input;
self
}
/// Consumes the builder and constructs a [`ListStacksOutput`](crate::output::ListStacksOutput)
pub fn build(self) -> crate::output::ListStacksOutput {
crate::output::ListStacksOutput {
stack_summaries: self.stack_summaries,
next_token: self.next_token,
}
}
}
}
impl ListStacksOutput {
/// Creates a new builder-style object to manufacture [`ListStacksOutput`](crate::output::ListStacksOutput)
pub fn builder() -> crate::output::list_stacks_output::Builder {
crate::output::list_stacks_output::Builder::default()
}
}
/// <p>The output for a <a>ListStackResources</a> action.</p>
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct ListStackResourcesOutput {
/// <p>A list of <code>StackResourceSummary</code> structures.</p>
pub stack_resource_summaries:
std::option::Option<std::vec::Vec<crate::model::StackResourceSummary>>,
/// <p>If the output exceeds 1 MB, a string that identifies the next page of stack
/// resources. If no additional page exists, this value is null.</p>
pub next_token: std::option::Option<std::string::String>,
}
impl std::fmt::Debug for ListStackResourcesOutput {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut formatter = f.debug_struct("ListStackResourcesOutput");
formatter.field("stack_resource_summaries", &self.stack_resource_summaries);
formatter.field("next_token", &self.next_token);
formatter.finish()
}
}
/// See [`ListStackResourcesOutput`](crate::output::ListStackResourcesOutput)
pub mod list_stack_resources_output {
/// A builder for [`ListStackResourcesOutput`](crate::output::ListStackResourcesOutput)
#[non_exhaustive]
#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct Builder {
pub(crate) stack_resource_summaries:
std::option::Option<std::vec::Vec<crate::model::StackResourceSummary>>,
pub(crate) next_token: std::option::Option<std::string::String>,
}
impl Builder {
/// Appends an item to `stack_resource_summaries`.
///
/// To override the contents of this collection use [`set_stack_resource_summaries`](Self::set_stack_resource_summaries).
///
/// <p>A list of <code>StackResourceSummary</code> structures.</p>
pub fn stack_resource_summaries(
mut self,
input: impl Into<crate::model::StackResourceSummary>,
) -> Self {
let mut v = self.stack_resource_summaries.unwrap_or_default();
v.push(input.into());
self.stack_resource_summaries = Some(v);
self
}
/// <p>A list of <code>StackResourceSummary</code> structures.</p>
pub fn set_stack_resource_summaries(
mut self,
input: std::option::Option<std::vec::Vec<crate::model::StackResourceSummary>>,
) -> Self {
self.stack_resource_summaries = input;
self
}
/// <p>If the output exceeds 1 MB, a string that identifies the next page of stack
/// resources. If no additional page exists, this value is null.</p>
pub fn next_token(mut self, input: impl Into<std::string::String>) -> Self {
self.next_token = Some(input.into());
self
}
/// <p>If the output exceeds 1 MB, a string that identifies the next page of stack
/// resources. If no additional page exists, this value is null.</p>
pub fn set_next_token(mut self, input: std::option::Option<std::string::String>) -> Self {
self.next_token = input;
self
}
/// Consumes the builder and constructs a [`ListStackResourcesOutput`](crate::output::ListStackResourcesOutput)
pub fn build(self) -> crate::output::ListStackResourcesOutput {
crate::output::ListStackResourcesOutput {
stack_resource_summaries: self.stack_resource_summaries,
next_token: self.next_token,
}
}
}
}
impl ListStackResourcesOutput {
/// Creates a new builder-style object to manufacture [`ListStackResourcesOutput`](crate::output::ListStackResourcesOutput)
pub fn builder() -> crate::output::list_stack_resources_output::Builder {
crate::output::list_stack_resources_output::Builder::default()
}
}
#[allow(missing_docs)] // documentation missing in model
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct ListStackInstancesOutput {
/// <p>A list of <code>StackInstanceSummary</code> structures that contain information about
/// the specified stack instances.</p>
pub summaries: std::option::Option<std::vec::Vec<crate::model::StackInstanceSummary>>,
/// <p>If the request doesn't return all of the remaining results, <code>NextToken</code> is
/// set to a token. To retrieve the next set of results, call <code>ListStackInstances</code>
/// again and assign that token to the request object's <code>NextToken</code> parameter. If
/// the request returns all results, <code>NextToken</code> is set to
/// <code>null</code>.</p>
pub next_token: std::option::Option<std::string::String>,
}
impl std::fmt::Debug for ListStackInstancesOutput {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut formatter = f.debug_struct("ListStackInstancesOutput");
formatter.field("summaries", &self.summaries);
formatter.field("next_token", &self.next_token);
formatter.finish()
}
}
/// See [`ListStackInstancesOutput`](crate::output::ListStackInstancesOutput)
pub mod list_stack_instances_output {
/// A builder for [`ListStackInstancesOutput`](crate::output::ListStackInstancesOutput)
#[non_exhaustive]
#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct Builder {
pub(crate) summaries:
std::option::Option<std::vec::Vec<crate::model::StackInstanceSummary>>,
pub(crate) next_token: std::option::Option<std::string::String>,
}
impl Builder {
/// Appends an item to `summaries`.
///
/// To override the contents of this collection use [`set_summaries`](Self::set_summaries).
///
/// <p>A list of <code>StackInstanceSummary</code> structures that contain information about
/// the specified stack instances.</p>
pub fn summaries(mut self, input: impl Into<crate::model::StackInstanceSummary>) -> Self {
let mut v = self.summaries.unwrap_or_default();
v.push(input.into());
self.summaries = Some(v);
self
}
/// <p>A list of <code>StackInstanceSummary</code> structures that contain information about
/// the specified stack instances.</p>
pub fn set_summaries(
mut self,
input: std::option::Option<std::vec::Vec<crate::model::StackInstanceSummary>>,
) -> Self {
self.summaries = input;
self
}
/// <p>If the request doesn't return all of the remaining results, <code>NextToken</code> is
/// set to a token. To retrieve the next set of results, call <code>ListStackInstances</code>
/// again and assign that token to the request object's <code>NextToken</code> parameter. If
/// the request returns all results, <code>NextToken</code> is set to
/// <code>null</code>.</p>
pub fn next_token(mut self, input: impl Into<std::string::String>) -> Self {
self.next_token = Some(input.into());
self
}
/// <p>If the request doesn't return all of the remaining results, <code>NextToken</code> is
/// set to a token. To retrieve the next set of results, call <code>ListStackInstances</code>
/// again and assign that token to the request object's <code>NextToken</code> parameter. If
/// the request returns all results, <code>NextToken</code> is set to
/// <code>null</code>.</p>
pub fn set_next_token(mut self, input: std::option::Option<std::string::String>) -> Self {
self.next_token = input;
self
}
/// Consumes the builder and constructs a [`ListStackInstancesOutput`](crate::output::ListStackInstancesOutput)
pub fn build(self) -> crate::output::ListStackInstancesOutput {
crate::output::ListStackInstancesOutput {
summaries: self.summaries,
next_token: self.next_token,
}
}
}
}
impl ListStackInstancesOutput {
/// Creates a new builder-style object to manufacture [`ListStackInstancesOutput`](crate::output::ListStackInstancesOutput)
pub fn builder() -> crate::output::list_stack_instances_output::Builder {
crate::output::list_stack_instances_output::Builder::default()
}
}
#[allow(missing_docs)] // documentation missing in model
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct ListImportsOutput {
/// <p>A list of stack names that are importing the specified exported output value.</p>
pub imports: std::option::Option<std::vec::Vec<std::string::String>>,
/// <p>A string that identifies the next page of exports. If there is no additional page,
/// this value is null.</p>
pub next_token: std::option::Option<std::string::String>,
}
impl std::fmt::Debug for ListImportsOutput {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut formatter = f.debug_struct("ListImportsOutput");
formatter.field("imports", &self.imports);
formatter.field("next_token", &self.next_token);
formatter.finish()
}
}
/// See [`ListImportsOutput`](crate::output::ListImportsOutput)
pub mod list_imports_output {
/// A builder for [`ListImportsOutput`](crate::output::ListImportsOutput)
#[non_exhaustive]
#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct Builder {
pub(crate) imports: std::option::Option<std::vec::Vec<std::string::String>>,
pub(crate) next_token: std::option::Option<std::string::String>,
}
impl Builder {
/// Appends an item to `imports`.
///
/// To override the contents of this collection use [`set_imports`](Self::set_imports).
///
/// <p>A list of stack names that are importing the specified exported output value.</p>
pub fn imports(mut self, input: impl Into<std::string::String>) -> Self {
let mut v = self.imports.unwrap_or_default();
v.push(input.into());
self.imports = Some(v);
self
}
/// <p>A list of stack names that are importing the specified exported output value.</p>
pub fn set_imports(
mut self,
input: std::option::Option<std::vec::Vec<std::string::String>>,
) -> Self {
self.imports = input;
self
}
/// <p>A string that identifies the next page of exports. If there is no additional page,
/// this value is null.</p>
pub fn next_token(mut self, input: impl Into<std::string::String>) -> Self {
self.next_token = Some(input.into());
self
}
/// <p>A string that identifies the next page of exports. If there is no additional page,
/// this value is null.</p>
pub fn set_next_token(mut self, input: std::option::Option<std::string::String>) -> Self {
self.next_token = input;
self
}
/// Consumes the builder and constructs a [`ListImportsOutput`](crate::output::ListImportsOutput)
pub fn build(self) -> crate::output::ListImportsOutput {
crate::output::ListImportsOutput {
imports: self.imports,
next_token: self.next_token,
}
}
}
}
impl ListImportsOutput {
/// Creates a new builder-style object to manufacture [`ListImportsOutput`](crate::output::ListImportsOutput)
pub fn builder() -> crate::output::list_imports_output::Builder {
crate::output::list_imports_output::Builder::default()
}
}
#[allow(missing_docs)] // documentation missing in model
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct ListExportsOutput {
/// <p>The output for the <a>ListExports</a> action.</p>
pub exports: std::option::Option<std::vec::Vec<crate::model::Export>>,
/// <p>If the output exceeds 100 exported output values, a string that identifies the next
/// page of exports. If there is no additional page, this value is null.</p>
pub next_token: std::option::Option<std::string::String>,
}
impl std::fmt::Debug for ListExportsOutput {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut formatter = f.debug_struct("ListExportsOutput");
formatter.field("exports", &self.exports);
formatter.field("next_token", &self.next_token);
formatter.finish()
}
}
/// See [`ListExportsOutput`](crate::output::ListExportsOutput)
pub mod list_exports_output {
/// A builder for [`ListExportsOutput`](crate::output::ListExportsOutput)
#[non_exhaustive]
#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct Builder {
pub(crate) exports: std::option::Option<std::vec::Vec<crate::model::Export>>,
pub(crate) next_token: std::option::Option<std::string::String>,
}
impl Builder {
/// Appends an item to `exports`.
///
/// To override the contents of this collection use [`set_exports`](Self::set_exports).
///
/// <p>The output for the <a>ListExports</a> action.</p>
pub fn exports(mut self, input: impl Into<crate::model::Export>) -> Self {
let mut v = self.exports.unwrap_or_default();
v.push(input.into());
self.exports = Some(v);
self
}
/// <p>The output for the <a>ListExports</a> action.</p>
pub fn set_exports(
mut self,
input: std::option::Option<std::vec::Vec<crate::model::Export>>,
) -> Self {
self.exports = input;
self
}
/// <p>If the output exceeds 100 exported output values, a string that identifies the next
/// page of exports. If there is no additional page, this value is null.</p>
pub fn next_token(mut self, input: impl Into<std::string::String>) -> Self {
self.next_token = Some(input.into());
self
}
/// <p>If the output exceeds 100 exported output values, a string that identifies the next
/// page of exports. If there is no additional page, this value is null.</p>
pub fn set_next_token(mut self, input: std::option::Option<std::string::String>) -> Self {
self.next_token = input;
self
}
/// Consumes the builder and constructs a [`ListExportsOutput`](crate::output::ListExportsOutput)
pub fn build(self) -> crate::output::ListExportsOutput {
crate::output::ListExportsOutput {
exports: self.exports,
next_token: self.next_token,
}
}
}
}
impl ListExportsOutput {
/// Creates a new builder-style object to manufacture [`ListExportsOutput`](crate::output::ListExportsOutput)
pub fn builder() -> crate::output::list_exports_output::Builder {
crate::output::list_exports_output::Builder::default()
}
}
/// <p>The output for the <a>ListChangeSets</a> action.</p>
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct ListChangeSetsOutput {
/// <p>A list of <code>ChangeSetSummary</code> structures that provides the ID and status of
/// each change set for the specified stack.</p>
pub summaries: std::option::Option<std::vec::Vec<crate::model::ChangeSetSummary>>,
/// <p>If the output exceeds 1 MB, a string that identifies the next page of change sets. If
/// there is no additional page, this value is null.</p>
pub next_token: std::option::Option<std::string::String>,
}
impl std::fmt::Debug for ListChangeSetsOutput {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut formatter = f.debug_struct("ListChangeSetsOutput");
formatter.field("summaries", &self.summaries);
formatter.field("next_token", &self.next_token);
formatter.finish()
}
}
/// See [`ListChangeSetsOutput`](crate::output::ListChangeSetsOutput)
pub mod list_change_sets_output {
/// A builder for [`ListChangeSetsOutput`](crate::output::ListChangeSetsOutput)
#[non_exhaustive]
#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct Builder {
pub(crate) summaries: std::option::Option<std::vec::Vec<crate::model::ChangeSetSummary>>,
pub(crate) next_token: std::option::Option<std::string::String>,
}
impl Builder {
/// Appends an item to `summaries`.
///
/// To override the contents of this collection use [`set_summaries`](Self::set_summaries).
///
/// <p>A list of <code>ChangeSetSummary</code> structures that provides the ID and status of
/// each change set for the specified stack.</p>
pub fn summaries(mut self, input: impl Into<crate::model::ChangeSetSummary>) -> Self {
let mut v = self.summaries.unwrap_or_default();
v.push(input.into());
self.summaries = Some(v);
self
}
/// <p>A list of <code>ChangeSetSummary</code> structures that provides the ID and status of
/// each change set for the specified stack.</p>
pub fn set_summaries(
mut self,
input: std::option::Option<std::vec::Vec<crate::model::ChangeSetSummary>>,
) -> Self {
self.summaries = input;
self
}
/// <p>If the output exceeds 1 MB, a string that identifies the next page of change sets. If
/// there is no additional page, this value is null.</p>
pub fn next_token(mut self, input: impl Into<std::string::String>) -> Self {
self.next_token = Some(input.into());
self
}
/// <p>If the output exceeds 1 MB, a string that identifies the next page of change sets. If
/// there is no additional page, this value is null.</p>
pub fn set_next_token(mut self, input: std::option::Option<std::string::String>) -> Self {
self.next_token = input;
self
}
/// Consumes the builder and constructs a [`ListChangeSetsOutput`](crate::output::ListChangeSetsOutput)
pub fn build(self) -> crate::output::ListChangeSetsOutput {
crate::output::ListChangeSetsOutput {
summaries: self.summaries,
next_token: self.next_token,
}
}
}
}
impl ListChangeSetsOutput {
/// Creates a new builder-style object to manufacture [`ListChangeSetsOutput`](crate::output::ListChangeSetsOutput)
pub fn builder() -> crate::output::list_change_sets_output::Builder {
crate::output::list_change_sets_output::Builder::default()
}
}
#[allow(missing_docs)] // documentation missing in model
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct ImportStacksToStackSetOutput {
/// <p>The unique identifier for the stack set operation.</p>
pub operation_id: std::option::Option<std::string::String>,
}
impl std::fmt::Debug for ImportStacksToStackSetOutput {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut formatter = f.debug_struct("ImportStacksToStackSetOutput");
formatter.field("operation_id", &self.operation_id);
formatter.finish()
}
}
/// See [`ImportStacksToStackSetOutput`](crate::output::ImportStacksToStackSetOutput)
pub mod import_stacks_to_stack_set_output {
/// A builder for [`ImportStacksToStackSetOutput`](crate::output::ImportStacksToStackSetOutput)
#[non_exhaustive]
#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct Builder {
pub(crate) operation_id: std::option::Option<std::string::String>,
}
impl Builder {
/// <p>The unique identifier for the stack set operation.</p>
pub fn operation_id(mut self, input: impl Into<std::string::String>) -> Self {
self.operation_id = Some(input.into());
self
}
/// <p>The unique identifier for the stack set operation.</p>
pub fn set_operation_id(mut self, input: std::option::Option<std::string::String>) -> Self {
self.operation_id = input;
self
}
/// Consumes the builder and constructs a [`ImportStacksToStackSetOutput`](crate::output::ImportStacksToStackSetOutput)
pub fn build(self) -> crate::output::ImportStacksToStackSetOutput {
crate::output::ImportStacksToStackSetOutput {
operation_id: self.operation_id,
}
}
}
}
impl ImportStacksToStackSetOutput {
/// Creates a new builder-style object to manufacture [`ImportStacksToStackSetOutput`](crate::output::ImportStacksToStackSetOutput)
pub fn builder() -> crate::output::import_stacks_to_stack_set_output::Builder {
crate::output::import_stacks_to_stack_set_output::Builder::default()
}
}
/// <p>The output for the <a>GetTemplateSummary</a> action.</p>
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct GetTemplateSummaryOutput {
/// <p>A list of parameter declarations that describe various properties for each
/// parameter.</p>
pub parameters: std::option::Option<std::vec::Vec<crate::model::ParameterDeclaration>>,
/// <p>The value that is defined in the <code>Description</code> property of the
/// template.</p>
pub description: std::option::Option<std::string::String>,
/// <p>The capabilities found within the template. If your template contains IAM resources,
/// you must specify the <code>CAPABILITY_IAM</code> or <code>CAPABILITY_NAMED_IAM</code> value for this parameter when
/// you use the <a>CreateStack</a> or <a>UpdateStack</a> actions with
/// your template; otherwise, those actions return an <code>InsufficientCapabilities</code> error.</p>
/// <p>For more information, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-iam-template.html#capabilities">Acknowledging IAM Resources in CloudFormation Templates</a>.</p>
pub capabilities: std::option::Option<std::vec::Vec<crate::model::Capability>>,
/// <p>The list of resources that generated the values in the <code>Capabilities</code>
/// response element.</p>
pub capabilities_reason: std::option::Option<std::string::String>,
/// <p>A list of all the template resource types that are defined in the template, such as
/// <code>AWS::EC2::Instance</code>, <code>AWS::Dynamo::Table</code>, and
/// <code>Custom::MyCustomInstance</code>.</p>
pub resource_types: std::option::Option<std::vec::Vec<std::string::String>>,
/// <p>The Amazon Web Services template format version, which identifies the capabilities of the
/// template.</p>
pub version: std::option::Option<std::string::String>,
/// <p>The value that is defined for the <code>Metadata</code> property of the
/// template.</p>
pub metadata: std::option::Option<std::string::String>,
/// <p>A list of the transforms that are declared in the template.</p>
pub declared_transforms: std::option::Option<std::vec::Vec<std::string::String>>,
/// <p>A list of resource identifier summaries that describe the target resources of an import
/// operation and the properties you can provide during the import to identify the target
/// resources. For example, <code>BucketName</code> is a possible identifier property for an
/// <code>AWS::S3::Bucket</code> resource.</p>
pub resource_identifier_summaries:
std::option::Option<std::vec::Vec<crate::model::ResourceIdentifierSummary>>,
}
impl std::fmt::Debug for GetTemplateSummaryOutput {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut formatter = f.debug_struct("GetTemplateSummaryOutput");
formatter.field("parameters", &self.parameters);
formatter.field("description", &self.description);
formatter.field("capabilities", &self.capabilities);
formatter.field("capabilities_reason", &self.capabilities_reason);
formatter.field("resource_types", &self.resource_types);
formatter.field("version", &self.version);
formatter.field("metadata", &self.metadata);
formatter.field("declared_transforms", &self.declared_transforms);
formatter.field(
"resource_identifier_summaries",
&self.resource_identifier_summaries,
);
formatter.finish()
}
}
/// See [`GetTemplateSummaryOutput`](crate::output::GetTemplateSummaryOutput)
pub mod get_template_summary_output {
/// A builder for [`GetTemplateSummaryOutput`](crate::output::GetTemplateSummaryOutput)
#[non_exhaustive]
#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct Builder {
pub(crate) parameters:
std::option::Option<std::vec::Vec<crate::model::ParameterDeclaration>>,
pub(crate) description: std::option::Option<std::string::String>,
pub(crate) capabilities: std::option::Option<std::vec::Vec<crate::model::Capability>>,
pub(crate) capabilities_reason: std::option::Option<std::string::String>,
pub(crate) resource_types: std::option::Option<std::vec::Vec<std::string::String>>,
pub(crate) version: std::option::Option<std::string::String>,
pub(crate) metadata: std::option::Option<std::string::String>,
pub(crate) declared_transforms: std::option::Option<std::vec::Vec<std::string::String>>,
pub(crate) resource_identifier_summaries:
std::option::Option<std::vec::Vec<crate::model::ResourceIdentifierSummary>>,
}
impl Builder {
/// Appends an item to `parameters`.
///
/// To override the contents of this collection use [`set_parameters`](Self::set_parameters).
///
/// <p>A list of parameter declarations that describe various properties for each
/// parameter.</p>
pub fn parameters(mut self, input: impl Into<crate::model::ParameterDeclaration>) -> Self {
let mut v = self.parameters.unwrap_or_default();
v.push(input.into());
self.parameters = Some(v);
self
}
/// <p>A list of parameter declarations that describe various properties for each
/// parameter.</p>
pub fn set_parameters(
mut self,
input: std::option::Option<std::vec::Vec<crate::model::ParameterDeclaration>>,
) -> Self {
self.parameters = input;
self
}
/// <p>The value that is defined in the <code>Description</code> property of the
/// template.</p>
pub fn description(mut self, input: impl Into<std::string::String>) -> Self {
self.description = Some(input.into());
self
}
/// <p>The value that is defined in the <code>Description</code> property of the
/// template.</p>
pub fn set_description(mut self, input: std::option::Option<std::string::String>) -> Self {
self.description = input;
self
}
/// Appends an item to `capabilities`.
///
/// To override the contents of this collection use [`set_capabilities`](Self::set_capabilities).
///
/// <p>The capabilities found within the template. If your template contains IAM resources,
/// you must specify the <code>CAPABILITY_IAM</code> or <code>CAPABILITY_NAMED_IAM</code> value for this parameter when
/// you use the <a>CreateStack</a> or <a>UpdateStack</a> actions with
/// your template; otherwise, those actions return an <code>InsufficientCapabilities</code> error.</p>
/// <p>For more information, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-iam-template.html#capabilities">Acknowledging IAM Resources in CloudFormation Templates</a>.</p>
pub fn capabilities(mut self, input: impl Into<crate::model::Capability>) -> Self {
let mut v = self.capabilities.unwrap_or_default();
v.push(input.into());
self.capabilities = Some(v);
self
}
/// <p>The capabilities found within the template. If your template contains IAM resources,
/// you must specify the <code>CAPABILITY_IAM</code> or <code>CAPABILITY_NAMED_IAM</code> value for this parameter when
/// you use the <a>CreateStack</a> or <a>UpdateStack</a> actions with
/// your template; otherwise, those actions return an <code>InsufficientCapabilities</code> error.</p>
/// <p>For more information, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-iam-template.html#capabilities">Acknowledging IAM Resources in CloudFormation Templates</a>.</p>
pub fn set_capabilities(
mut self,
input: std::option::Option<std::vec::Vec<crate::model::Capability>>,
) -> Self {
self.capabilities = input;
self
}
/// <p>The list of resources that generated the values in the <code>Capabilities</code>
/// response element.</p>
pub fn capabilities_reason(mut self, input: impl Into<std::string::String>) -> Self {
self.capabilities_reason = Some(input.into());
self
}
/// <p>The list of resources that generated the values in the <code>Capabilities</code>
/// response element.</p>
pub fn set_capabilities_reason(
mut self,
input: std::option::Option<std::string::String>,
) -> Self {
self.capabilities_reason = input;
self
}
/// Appends an item to `resource_types`.
///
/// To override the contents of this collection use [`set_resource_types`](Self::set_resource_types).
///
/// <p>A list of all the template resource types that are defined in the template, such as
/// <code>AWS::EC2::Instance</code>, <code>AWS::Dynamo::Table</code>, and
/// <code>Custom::MyCustomInstance</code>.</p>
pub fn resource_types(mut self, input: impl Into<std::string::String>) -> Self {
let mut v = self.resource_types.unwrap_or_default();
v.push(input.into());
self.resource_types = Some(v);
self
}
/// <p>A list of all the template resource types that are defined in the template, such as
/// <code>AWS::EC2::Instance</code>, <code>AWS::Dynamo::Table</code>, and
/// <code>Custom::MyCustomInstance</code>.</p>
pub fn set_resource_types(
mut self,
input: std::option::Option<std::vec::Vec<std::string::String>>,
) -> Self {
self.resource_types = input;
self
}
/// <p>The Amazon Web Services template format version, which identifies the capabilities of the
/// template.</p>
pub fn version(mut self, input: impl Into<std::string::String>) -> Self {
self.version = Some(input.into());
self
}
/// <p>The Amazon Web Services template format version, which identifies the capabilities of the
/// template.</p>
pub fn set_version(mut self, input: std::option::Option<std::string::String>) -> Self {
self.version = input;
self
}
/// <p>The value that is defined for the <code>Metadata</code> property of the
/// template.</p>
pub fn metadata(mut self, input: impl Into<std::string::String>) -> Self {
self.metadata = Some(input.into());
self
}
/// <p>The value that is defined for the <code>Metadata</code> property of the
/// template.</p>
pub fn set_metadata(mut self, input: std::option::Option<std::string::String>) -> Self {
self.metadata = input;
self
}
/// Appends an item to `declared_transforms`.
///
/// To override the contents of this collection use [`set_declared_transforms`](Self::set_declared_transforms).
///
/// <p>A list of the transforms that are declared in the template.</p>
pub fn declared_transforms(mut self, input: impl Into<std::string::String>) -> Self {
let mut v = self.declared_transforms.unwrap_or_default();
v.push(input.into());
self.declared_transforms = Some(v);
self
}
/// <p>A list of the transforms that are declared in the template.</p>
pub fn set_declared_transforms(
mut self,
input: std::option::Option<std::vec::Vec<std::string::String>>,
) -> Self {
self.declared_transforms = input;
self
}
/// Appends an item to `resource_identifier_summaries`.
///
/// To override the contents of this collection use [`set_resource_identifier_summaries`](Self::set_resource_identifier_summaries).
///
/// <p>A list of resource identifier summaries that describe the target resources of an import
/// operation and the properties you can provide during the import to identify the target
/// resources. For example, <code>BucketName</code> is a possible identifier property for an
/// <code>AWS::S3::Bucket</code> resource.</p>
pub fn resource_identifier_summaries(
mut self,
input: impl Into<crate::model::ResourceIdentifierSummary>,
) -> Self {
let mut v = self.resource_identifier_summaries.unwrap_or_default();
v.push(input.into());
self.resource_identifier_summaries = Some(v);
self
}
/// <p>A list of resource identifier summaries that describe the target resources of an import
/// operation and the properties you can provide during the import to identify the target
/// resources. For example, <code>BucketName</code> is a possible identifier property for an
/// <code>AWS::S3::Bucket</code> resource.</p>
pub fn set_resource_identifier_summaries(
mut self,
input: std::option::Option<std::vec::Vec<crate::model::ResourceIdentifierSummary>>,
) -> Self {
self.resource_identifier_summaries = input;
self
}
/// Consumes the builder and constructs a [`GetTemplateSummaryOutput`](crate::output::GetTemplateSummaryOutput)
pub fn build(self) -> crate::output::GetTemplateSummaryOutput {
crate::output::GetTemplateSummaryOutput {
parameters: self.parameters,
description: self.description,
capabilities: self.capabilities,
capabilities_reason: self.capabilities_reason,
resource_types: self.resource_types,
version: self.version,
metadata: self.metadata,
declared_transforms: self.declared_transforms,
resource_identifier_summaries: self.resource_identifier_summaries,
}
}
}
}
impl GetTemplateSummaryOutput {
/// Creates a new builder-style object to manufacture [`GetTemplateSummaryOutput`](crate::output::GetTemplateSummaryOutput)
pub fn builder() -> crate::output::get_template_summary_output::Builder {
crate::output::get_template_summary_output::Builder::default()
}
}
/// <p>The output for <a>GetTemplate</a> action.</p>
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct GetTemplateOutput {
/// <p>Structure containing the template body. (For more information, go to <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-anatomy.html">Template Anatomy</a> in the CloudFormation User Guide.)</p>
/// <p>CloudFormation returns the same template that was used when the stack was
/// created.</p>
pub template_body: std::option::Option<std::string::String>,
/// <p>The stage of the template that you can retrieve. For stacks, the
/// <code>Original</code> and <code>Processed</code> templates are always available. For
/// change sets, the <code>Original</code> template is always available. After
/// CloudFormation finishes creating the change set, the <code>Processed</code> template
/// becomes available.</p>
pub stages_available: std::option::Option<std::vec::Vec<crate::model::TemplateStage>>,
}
impl std::fmt::Debug for GetTemplateOutput {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut formatter = f.debug_struct("GetTemplateOutput");
formatter.field("template_body", &self.template_body);
formatter.field("stages_available", &self.stages_available);
formatter.finish()
}
}
/// See [`GetTemplateOutput`](crate::output::GetTemplateOutput)
pub mod get_template_output {
/// A builder for [`GetTemplateOutput`](crate::output::GetTemplateOutput)
#[non_exhaustive]
#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct Builder {
pub(crate) template_body: std::option::Option<std::string::String>,
pub(crate) stages_available:
std::option::Option<std::vec::Vec<crate::model::TemplateStage>>,
}
impl Builder {
/// <p>Structure containing the template body. (For more information, go to <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-anatomy.html">Template Anatomy</a> in the CloudFormation User Guide.)</p>
/// <p>CloudFormation returns the same template that was used when the stack was
/// created.</p>
pub fn template_body(mut self, input: impl Into<std::string::String>) -> Self {
self.template_body = Some(input.into());
self
}
/// <p>Structure containing the template body. (For more information, go to <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-anatomy.html">Template Anatomy</a> in the CloudFormation User Guide.)</p>
/// <p>CloudFormation returns the same template that was used when the stack was
/// created.</p>
pub fn set_template_body(
mut self,
input: std::option::Option<std::string::String>,
) -> Self {
self.template_body = input;
self
}
/// Appends an item to `stages_available`.
///
/// To override the contents of this collection use [`set_stages_available`](Self::set_stages_available).
///
/// <p>The stage of the template that you can retrieve. For stacks, the
/// <code>Original</code> and <code>Processed</code> templates are always available. For
/// change sets, the <code>Original</code> template is always available. After
/// CloudFormation finishes creating the change set, the <code>Processed</code> template
/// becomes available.</p>
pub fn stages_available(mut self, input: impl Into<crate::model::TemplateStage>) -> Self {
let mut v = self.stages_available.unwrap_or_default();
v.push(input.into());
self.stages_available = Some(v);
self
}
/// <p>The stage of the template that you can retrieve. For stacks, the
/// <code>Original</code> and <code>Processed</code> templates are always available. For
/// change sets, the <code>Original</code> template is always available. After
/// CloudFormation finishes creating the change set, the <code>Processed</code> template
/// becomes available.</p>
pub fn set_stages_available(
mut self,
input: std::option::Option<std::vec::Vec<crate::model::TemplateStage>>,
) -> Self {
self.stages_available = input;
self
}
/// Consumes the builder and constructs a [`GetTemplateOutput`](crate::output::GetTemplateOutput)
pub fn build(self) -> crate::output::GetTemplateOutput {
crate::output::GetTemplateOutput {
template_body: self.template_body,
stages_available: self.stages_available,
}
}
}
}
impl GetTemplateOutput {
/// Creates a new builder-style object to manufacture [`GetTemplateOutput`](crate::output::GetTemplateOutput)
pub fn builder() -> crate::output::get_template_output::Builder {
crate::output::get_template_output::Builder::default()
}
}
/// <p>The output for the <a>GetStackPolicy</a> action.</p>
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct GetStackPolicyOutput {
/// <p>Structure containing the stack policy body. (For more information, go to <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/protect-stack-resources.html"> Prevent Updates
/// to Stack Resources</a> in the CloudFormation User Guide.)</p>
pub stack_policy_body: std::option::Option<std::string::String>,
}
impl std::fmt::Debug for GetStackPolicyOutput {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut formatter = f.debug_struct("GetStackPolicyOutput");
formatter.field("stack_policy_body", &self.stack_policy_body);
formatter.finish()
}
}
/// See [`GetStackPolicyOutput`](crate::output::GetStackPolicyOutput)
pub mod get_stack_policy_output {
/// A builder for [`GetStackPolicyOutput`](crate::output::GetStackPolicyOutput)
#[non_exhaustive]
#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct Builder {
pub(crate) stack_policy_body: std::option::Option<std::string::String>,
}
impl Builder {
/// <p>Structure containing the stack policy body. (For more information, go to <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/protect-stack-resources.html"> Prevent Updates
/// to Stack Resources</a> in the CloudFormation User Guide.)</p>
pub fn stack_policy_body(mut self, input: impl Into<std::string::String>) -> Self {
self.stack_policy_body = Some(input.into());
self
}
/// <p>Structure containing the stack policy body. (For more information, go to <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/protect-stack-resources.html"> Prevent Updates
/// to Stack Resources</a> in the CloudFormation User Guide.)</p>
pub fn set_stack_policy_body(
mut self,
input: std::option::Option<std::string::String>,
) -> Self {
self.stack_policy_body = input;
self
}
/// Consumes the builder and constructs a [`GetStackPolicyOutput`](crate::output::GetStackPolicyOutput)
pub fn build(self) -> crate::output::GetStackPolicyOutput {
crate::output::GetStackPolicyOutput {
stack_policy_body: self.stack_policy_body,
}
}
}
}
impl GetStackPolicyOutput {
/// Creates a new builder-style object to manufacture [`GetStackPolicyOutput`](crate::output::GetStackPolicyOutput)
pub fn builder() -> crate::output::get_stack_policy_output::Builder {
crate::output::get_stack_policy_output::Builder::default()
}
}
/// <p>The output for the <a>ExecuteChangeSet</a> action.</p>
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct ExecuteChangeSetOutput {}
impl std::fmt::Debug for ExecuteChangeSetOutput {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut formatter = f.debug_struct("ExecuteChangeSetOutput");
formatter.finish()
}
}
/// See [`ExecuteChangeSetOutput`](crate::output::ExecuteChangeSetOutput)
pub mod execute_change_set_output {
/// A builder for [`ExecuteChangeSetOutput`](crate::output::ExecuteChangeSetOutput)
#[non_exhaustive]
#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct Builder {}
impl Builder {
/// Consumes the builder and constructs a [`ExecuteChangeSetOutput`](crate::output::ExecuteChangeSetOutput)
pub fn build(self) -> crate::output::ExecuteChangeSetOutput {
crate::output::ExecuteChangeSetOutput {}
}
}
}
impl ExecuteChangeSetOutput {
/// Creates a new builder-style object to manufacture [`ExecuteChangeSetOutput`](crate::output::ExecuteChangeSetOutput)
pub fn builder() -> crate::output::execute_change_set_output::Builder {
crate::output::execute_change_set_output::Builder::default()
}
}
/// <p>The output for a <a>EstimateTemplateCost</a> action.</p>
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct EstimateTemplateCostOutput {
/// <p>An Amazon Web Services Simple Monthly Calculator URL with a query string that describes the resources
/// required to run the template.</p>
pub url: std::option::Option<std::string::String>,
}
impl std::fmt::Debug for EstimateTemplateCostOutput {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut formatter = f.debug_struct("EstimateTemplateCostOutput");
formatter.field("url", &self.url);
formatter.finish()
}
}
/// See [`EstimateTemplateCostOutput`](crate::output::EstimateTemplateCostOutput)
pub mod estimate_template_cost_output {
/// A builder for [`EstimateTemplateCostOutput`](crate::output::EstimateTemplateCostOutput)
#[non_exhaustive]
#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct Builder {
pub(crate) url: std::option::Option<std::string::String>,
}
impl Builder {
/// <p>An Amazon Web Services Simple Monthly Calculator URL with a query string that describes the resources
/// required to run the template.</p>
pub fn url(mut self, input: impl Into<std::string::String>) -> Self {
self.url = Some(input.into());
self
}
/// <p>An Amazon Web Services Simple Monthly Calculator URL with a query string that describes the resources
/// required to run the template.</p>
pub fn set_url(mut self, input: std::option::Option<std::string::String>) -> Self {
self.url = input;
self
}
/// Consumes the builder and constructs a [`EstimateTemplateCostOutput`](crate::output::EstimateTemplateCostOutput)
pub fn build(self) -> crate::output::EstimateTemplateCostOutput {
crate::output::EstimateTemplateCostOutput { url: self.url }
}
}
}
impl EstimateTemplateCostOutput {
/// Creates a new builder-style object to manufacture [`EstimateTemplateCostOutput`](crate::output::EstimateTemplateCostOutput)
pub fn builder() -> crate::output::estimate_template_cost_output::Builder {
crate::output::estimate_template_cost_output::Builder::default()
}
}
#[allow(missing_docs)] // documentation missing in model
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct DetectStackSetDriftOutput {
/// <p>The ID of the drift detection stack set operation. </p>
/// <p>you can use this operation id with <code>
/// <a>DescribeStackSetOperation</a>
/// </code> to monitor the progress of the drift detection operation. </p>
pub operation_id: std::option::Option<std::string::String>,
}
impl std::fmt::Debug for DetectStackSetDriftOutput {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut formatter = f.debug_struct("DetectStackSetDriftOutput");
formatter.field("operation_id", &self.operation_id);
formatter.finish()
}
}
/// See [`DetectStackSetDriftOutput`](crate::output::DetectStackSetDriftOutput)
pub mod detect_stack_set_drift_output {
/// A builder for [`DetectStackSetDriftOutput`](crate::output::DetectStackSetDriftOutput)
#[non_exhaustive]
#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct Builder {
pub(crate) operation_id: std::option::Option<std::string::String>,
}
impl Builder {
/// <p>The ID of the drift detection stack set operation. </p>
/// <p>you can use this operation id with <code>
/// <a>DescribeStackSetOperation</a>
/// </code> to monitor the progress of the drift detection operation. </p>
pub fn operation_id(mut self, input: impl Into<std::string::String>) -> Self {
self.operation_id = Some(input.into());
self
}
/// <p>The ID of the drift detection stack set operation. </p>
/// <p>you can use this operation id with <code>
/// <a>DescribeStackSetOperation</a>
/// </code> to monitor the progress of the drift detection operation. </p>
pub fn set_operation_id(mut self, input: std::option::Option<std::string::String>) -> Self {
self.operation_id = input;
self
}
/// Consumes the builder and constructs a [`DetectStackSetDriftOutput`](crate::output::DetectStackSetDriftOutput)
pub fn build(self) -> crate::output::DetectStackSetDriftOutput {
crate::output::DetectStackSetDriftOutput {
operation_id: self.operation_id,
}
}
}
}
impl DetectStackSetDriftOutput {
/// Creates a new builder-style object to manufacture [`DetectStackSetDriftOutput`](crate::output::DetectStackSetDriftOutput)
pub fn builder() -> crate::output::detect_stack_set_drift_output::Builder {
crate::output::detect_stack_set_drift_output::Builder::default()
}
}
#[allow(missing_docs)] // documentation missing in model
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct DetectStackResourceDriftOutput {
/// <p>Information about whether the resource's actual configuration has drifted from its
/// expected template configuration, including actual and expected property values and any
/// differences detected.</p>
pub stack_resource_drift: std::option::Option<crate::model::StackResourceDrift>,
}
impl std::fmt::Debug for DetectStackResourceDriftOutput {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut formatter = f.debug_struct("DetectStackResourceDriftOutput");
formatter.field("stack_resource_drift", &self.stack_resource_drift);
formatter.finish()
}
}
/// See [`DetectStackResourceDriftOutput`](crate::output::DetectStackResourceDriftOutput)
pub mod detect_stack_resource_drift_output {
/// A builder for [`DetectStackResourceDriftOutput`](crate::output::DetectStackResourceDriftOutput)
#[non_exhaustive]
#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct Builder {
pub(crate) stack_resource_drift: std::option::Option<crate::model::StackResourceDrift>,
}
impl Builder {
/// <p>Information about whether the resource's actual configuration has drifted from its
/// expected template configuration, including actual and expected property values and any
/// differences detected.</p>
pub fn stack_resource_drift(mut self, input: crate::model::StackResourceDrift) -> Self {
self.stack_resource_drift = Some(input);
self
}
/// <p>Information about whether the resource's actual configuration has drifted from its
/// expected template configuration, including actual and expected property values and any
/// differences detected.</p>
pub fn set_stack_resource_drift(
mut self,
input: std::option::Option<crate::model::StackResourceDrift>,
) -> Self {
self.stack_resource_drift = input;
self
}
/// Consumes the builder and constructs a [`DetectStackResourceDriftOutput`](crate::output::DetectStackResourceDriftOutput)
pub fn build(self) -> crate::output::DetectStackResourceDriftOutput {
crate::output::DetectStackResourceDriftOutput {
stack_resource_drift: self.stack_resource_drift,
}
}
}
}
impl DetectStackResourceDriftOutput {
/// Creates a new builder-style object to manufacture [`DetectStackResourceDriftOutput`](crate::output::DetectStackResourceDriftOutput)
pub fn builder() -> crate::output::detect_stack_resource_drift_output::Builder {
crate::output::detect_stack_resource_drift_output::Builder::default()
}
}
#[allow(missing_docs)] // documentation missing in model
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct DetectStackDriftOutput {
/// <p>The ID of the drift detection results of this operation.</p>
/// <p>CloudFormation generates new results, with a new drift detection ID, each time this operation is
/// run. However, the number of drift results CloudFormation retains for any given stack, and for how
/// long, may vary.</p>
pub stack_drift_detection_id: std::option::Option<std::string::String>,
}
impl std::fmt::Debug for DetectStackDriftOutput {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut formatter = f.debug_struct("DetectStackDriftOutput");
formatter.field("stack_drift_detection_id", &self.stack_drift_detection_id);
formatter.finish()
}
}
/// See [`DetectStackDriftOutput`](crate::output::DetectStackDriftOutput)
pub mod detect_stack_drift_output {
/// A builder for [`DetectStackDriftOutput`](crate::output::DetectStackDriftOutput)
#[non_exhaustive]
#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct Builder {
pub(crate) stack_drift_detection_id: std::option::Option<std::string::String>,
}
impl Builder {
/// <p>The ID of the drift detection results of this operation.</p>
/// <p>CloudFormation generates new results, with a new drift detection ID, each time this operation is
/// run. However, the number of drift results CloudFormation retains for any given stack, and for how
/// long, may vary.</p>
pub fn stack_drift_detection_id(mut self, input: impl Into<std::string::String>) -> Self {
self.stack_drift_detection_id = Some(input.into());
self
}
/// <p>The ID of the drift detection results of this operation.</p>
/// <p>CloudFormation generates new results, with a new drift detection ID, each time this operation is
/// run. However, the number of drift results CloudFormation retains for any given stack, and for how
/// long, may vary.</p>
pub fn set_stack_drift_detection_id(
mut self,
input: std::option::Option<std::string::String>,
) -> Self {
self.stack_drift_detection_id = input;
self
}
/// Consumes the builder and constructs a [`DetectStackDriftOutput`](crate::output::DetectStackDriftOutput)
pub fn build(self) -> crate::output::DetectStackDriftOutput {
crate::output::DetectStackDriftOutput {
stack_drift_detection_id: self.stack_drift_detection_id,
}
}
}
}
impl DetectStackDriftOutput {
/// Creates a new builder-style object to manufacture [`DetectStackDriftOutput`](crate::output::DetectStackDriftOutput)
pub fn builder() -> crate::output::detect_stack_drift_output::Builder {
crate::output::detect_stack_drift_output::Builder::default()
}
}
#[allow(missing_docs)] // documentation missing in model
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct DescribeTypeRegistrationOutput {
/// <p>The current status of the extension registration request.</p>
pub progress_status: std::option::Option<crate::model::RegistrationStatus>,
/// <p>The description of the extension registration request.</p>
pub description: std::option::Option<std::string::String>,
/// <p>The Amazon Resource Name (ARN) of the extension being registered.</p>
/// <p>For registration requests with a <code>ProgressStatus</code> of other than
/// <code>COMPLETE</code>, this will be <code>null</code>.</p>
pub type_arn: std::option::Option<std::string::String>,
/// <p>The Amazon Resource Name (ARN) of this specific version of the extension being
/// registered.</p>
/// <p>For registration requests with a <code>ProgressStatus</code> of other than
/// <code>COMPLETE</code>, this will be <code>null</code>.</p>
pub type_version_arn: std::option::Option<std::string::String>,
}
impl std::fmt::Debug for DescribeTypeRegistrationOutput {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut formatter = f.debug_struct("DescribeTypeRegistrationOutput");
formatter.field("progress_status", &self.progress_status);
formatter.field("description", &self.description);
formatter.field("type_arn", &self.type_arn);
formatter.field("type_version_arn", &self.type_version_arn);
formatter.finish()
}
}
/// See [`DescribeTypeRegistrationOutput`](crate::output::DescribeTypeRegistrationOutput)
pub mod describe_type_registration_output {
/// A builder for [`DescribeTypeRegistrationOutput`](crate::output::DescribeTypeRegistrationOutput)
#[non_exhaustive]
#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct Builder {
pub(crate) progress_status: std::option::Option<crate::model::RegistrationStatus>,
pub(crate) description: std::option::Option<std::string::String>,
pub(crate) type_arn: std::option::Option<std::string::String>,
pub(crate) type_version_arn: std::option::Option<std::string::String>,
}
impl Builder {
/// <p>The current status of the extension registration request.</p>
pub fn progress_status(mut self, input: crate::model::RegistrationStatus) -> Self {
self.progress_status = Some(input);
self
}
/// <p>The current status of the extension registration request.</p>
pub fn set_progress_status(
mut self,
input: std::option::Option<crate::model::RegistrationStatus>,
) -> Self {
self.progress_status = input;
self
}
/// <p>The description of the extension registration request.</p>
pub fn description(mut self, input: impl Into<std::string::String>) -> Self {
self.description = Some(input.into());
self
}
/// <p>The description of the extension registration request.</p>
pub fn set_description(mut self, input: std::option::Option<std::string::String>) -> Self {
self.description = input;
self
}
/// <p>The Amazon Resource Name (ARN) of the extension being registered.</p>
/// <p>For registration requests with a <code>ProgressStatus</code> of other than
/// <code>COMPLETE</code>, this will be <code>null</code>.</p>
pub fn type_arn(mut self, input: impl Into<std::string::String>) -> Self {
self.type_arn = Some(input.into());
self
}
/// <p>The Amazon Resource Name (ARN) of the extension being registered.</p>
/// <p>For registration requests with a <code>ProgressStatus</code> of other than
/// <code>COMPLETE</code>, this will be <code>null</code>.</p>
pub fn set_type_arn(mut self, input: std::option::Option<std::string::String>) -> Self {
self.type_arn = input;
self
}
/// <p>The Amazon Resource Name (ARN) of this specific version of the extension being
/// registered.</p>
/// <p>For registration requests with a <code>ProgressStatus</code> of other than
/// <code>COMPLETE</code>, this will be <code>null</code>.</p>
pub fn type_version_arn(mut self, input: impl Into<std::string::String>) -> Self {
self.type_version_arn = Some(input.into());
self
}
/// <p>The Amazon Resource Name (ARN) of this specific version of the extension being
/// registered.</p>
/// <p>For registration requests with a <code>ProgressStatus</code> of other than
/// <code>COMPLETE</code>, this will be <code>null</code>.</p>
pub fn set_type_version_arn(
mut self,
input: std::option::Option<std::string::String>,
) -> Self {
self.type_version_arn = input;
self
}
/// Consumes the builder and constructs a [`DescribeTypeRegistrationOutput`](crate::output::DescribeTypeRegistrationOutput)
pub fn build(self) -> crate::output::DescribeTypeRegistrationOutput {
crate::output::DescribeTypeRegistrationOutput {
progress_status: self.progress_status,
description: self.description,
type_arn: self.type_arn,
type_version_arn: self.type_version_arn,
}
}
}
}
impl DescribeTypeRegistrationOutput {
/// Creates a new builder-style object to manufacture [`DescribeTypeRegistrationOutput`](crate::output::DescribeTypeRegistrationOutput)
pub fn builder() -> crate::output::describe_type_registration_output::Builder {
crate::output::describe_type_registration_output::Builder::default()
}
}
#[allow(missing_docs)] // documentation missing in model
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct DescribeTypeOutput {
/// <p>The Amazon Resource Name (ARN) of the extension.</p>
pub arn: std::option::Option<std::string::String>,
/// <p>The kind of extension. </p>
pub r#type: std::option::Option<crate::model::RegistryType>,
/// <p>The name of the extension.</p>
/// <p>If the extension is a public third-party type you have activated with a type name alias,
/// CloudFormation returns the type name alias. For more information, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_ActivateType.html">ActivateType</a>.</p>
pub type_name: std::option::Option<std::string::String>,
/// <p>The ID of the default version of the extension. The default version is used when the
/// extension version is not specified.</p>
/// <p>This applies only to private extensions you have registered in your account. For public
/// extensions, both those provided by Amazon and published by third parties, CloudFormation
/// returns <code>null</code>. For more information, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_RegisterType.html">RegisterType</a>.</p>
/// <p>To set the default version of an extension, use <code>
/// <a>SetTypeDefaultVersion</a>
/// </code>. </p>
pub default_version_id: std::option::Option<std::string::String>,
/// <p>Whether the specified extension version is set as the default version.</p>
/// <p>This applies only to private extensions you have registered in your account, and
/// extensions published by Amazon. For public third-party extensions, whether or not they are
/// activated in your account, CloudFormation returns <code>null</code>.</p>
pub is_default_version: std::option::Option<bool>,
/// <p>The contract test status of the registered extension version. To return the extension
/// test status of a specifc extension version, you must specify <code>VersionId</code>. </p>
/// <p>This applies only to registered private extension versions. CloudFormation does not
/// return this information for public extensions, whether or not they are activated in your
/// account.</p>
/// <ul>
/// <li>
/// <p>
/// <code>PASSED</code>: The extension has passed all its contract tests.</p>
/// <p>An extension must have a test status of <code>PASSED</code> before it can be
/// published. For more information, see <a href="https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/resource-type-publish.html">Publishing extensions to make them available for public
/// use</a> in the <i>CloudFormation Command Line Interface User
/// Guide</i>.</p>
/// </li>
/// <li>
/// <p>
/// <code>FAILED</code>: The extension has failed one or more contract tests.</p>
/// </li>
/// <li>
/// <p>
/// <code>IN_PROGRESS</code>: Contract tests are currently being performed on the
/// extension.</p>
/// </li>
/// <li>
/// <p>
/// <code>NOT_TESTED</code>: Contract tests have not been performed on the
/// extension.</p>
/// </li>
/// </ul>
pub type_tests_status: std::option::Option<crate::model::TypeTestsStatus>,
/// <p>The description of the test status. To return the extension test status of a specifc
/// extension version, you must specify <code>VersionId</code>. </p>
/// <p>This applies only to registered private extension versions. CloudFormation does not
/// return this information for public extensions, whether or not they are activated in your
/// account.</p>
pub type_tests_status_description: std::option::Option<std::string::String>,
/// <p>The description of the extension.</p>
pub description: std::option::Option<std::string::String>,
/// <p>The schema that defines the extension.</p>
/// <p>For more information on extension schemas, see <a href="https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/resource-type-schema.html">Resource Provider
/// Schema</a> in the <i>CloudFormation CLI User
/// Guide</i>.</p>
pub schema: std::option::Option<std::string::String>,
/// <p>For resource type extensions, the provisioning behavior of the resource type. CloudFormation
/// determines the provisioning type during registration, based on the types of handlers in the
/// schema handler package submitted.</p>
/// <p>Valid values include:</p>
/// <ul>
/// <li>
/// <p>
/// <code>FULLY_MUTABLE</code>: The resource type includes an update handler to
/// process updates to the type during stack update operations.</p>
/// </li>
/// <li>
/// <p>
/// <code>IMMUTABLE</code>: The resource type does not include an update handler, so
/// the type cannot be updated and must instead be replaced during stack update
/// operations.</p>
/// </li>
/// <li>
/// <p>
/// <code>NON_PROVISIONABLE</code>: The resource type does not include all of the
/// following handlers, and therefore cannot actually be provisioned.</p>
/// <ul>
/// <li>
/// <p>create</p>
/// </li>
/// <li>
/// <p>read</p>
/// </li>
/// <li>
/// <p>delete</p>
/// </li>
/// </ul>
/// </li>
/// </ul>
pub provisioning_type: std::option::Option<crate::model::ProvisioningType>,
/// <p>The deprecation status of the extension version.</p>
/// <p>Valid values include:</p>
/// <ul>
/// <li>
/// <p>
/// <code>LIVE</code>: The extension is activated or registered and can be used in
/// CloudFormation operations, dependent on its provisioning behavior and
/// visibility scope.</p>
/// </li>
/// <li>
/// <p>
/// <code>DEPRECATED</code>: The extension has been deactivated or deregistered and
/// can no longer be used in CloudFormation operations. </p>
/// </li>
/// </ul>
/// <p>For public third-party extensions, CloudFormation returns <code>null</code>.</p>
pub deprecated_status: std::option::Option<crate::model::DeprecatedStatus>,
/// <p>Contains logging configuration information for private extensions. This applies only to
/// private extensions you have registered in your account. For public extensions, both those
/// provided by Amazon and published by third parties, CloudFormation returns
/// <code>null</code>. For more information, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_RegisterType.html">RegisterType</a>.</p>
pub logging_config: std::option::Option<crate::model::LoggingConfig>,
/// <p>For extensions that are modules, the public third-party extensions that must be
/// activated in your account in order for the module itself to be activated.</p>
pub required_activated_types:
std::option::Option<std::vec::Vec<crate::model::RequiredActivatedType>>,
/// <p>The Amazon Resource Name (ARN) of the IAM execution role used to register the extension.
/// This applies only to private extensions you have registered in your account. For more
/// information, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_RegisterType.html">RegisterType</a>.</p>
/// <p></p>
/// <p>If the registered extension calls any Amazon Web Services APIs, you must create an
/// <i>
/// <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles.html">IAM
/// execution role</a>
/// </i> that includes the necessary permissions to call
/// those Amazon Web Services APIs, and provision that execution role in your account. CloudFormation then assumes that execution role to provide your extension with the
/// appropriate credentials.</p>
pub execution_role_arn: std::option::Option<std::string::String>,
/// <p>The scope at which the extension is visible and usable in CloudFormation
/// operations.</p>
/// <p>Valid values include:</p>
/// <ul>
/// <li>
/// <p>
/// <code>PRIVATE</code>: The extension is only visible and usable within the account
/// in which it is registered. CloudFormation marks any extensions you register as
/// <code>PRIVATE</code>.</p>
/// </li>
/// <li>
/// <p>
/// <code>PUBLIC</code>: The extension is publically visible and usable within any
/// Amazon account.</p>
/// </li>
/// </ul>
pub visibility: std::option::Option<crate::model::Visibility>,
/// <p>The URL of the source code for the extension.</p>
pub source_url: std::option::Option<std::string::String>,
/// <p>The URL of a page providing detailed documentation for this extension.</p>
pub documentation_url: std::option::Option<std::string::String>,
/// <p>When the specified extension version was registered. This applies only to:</p>
/// <ul>
/// <li>
/// <p>Private extensions you have registered in your account. For more information, see
/// <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_RegisterType.html">RegisterType</a>.</p>
/// </li>
/// <li>
/// <p>Public extensions you have activated in your account with auto-update specified.
/// For more information, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_ActivateType.html">ActivateType</a>.</p>
/// </li>
/// </ul>
pub last_updated: std::option::Option<aws_smithy_types::Instant>,
/// <p>When the specified private extension version was registered or activated in your
/// account. </p>
pub time_created: std::option::Option<aws_smithy_types::Instant>,
/// <p>A JSON string that represent the current configuration data for the extension in this
/// account and region.</p>
/// <p>To set the configuration data for an extension, use <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_SetTypeConfiguration.html">SetTypeConfiguration</a>. For more information, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/registry-register.html#registry-set-configuration">Configuring extensions at the account level</a> in the <i>CloudFormation
/// User Guide</i>.</p>
pub configuration_schema: std::option::Option<std::string::String>,
/// <p>The publisher ID of the extension publisher.</p>
/// <p>This applies only to public third-party extensions. For private registered extensions,
/// and extensions provided by Amazon, CloudFormation returns <code>null</code>.</p>
pub publisher_id: std::option::Option<std::string::String>,
/// <p>For public extensions that have been activated for this account and region, the type
/// name of the public extension.</p>
/// <p>If you specified a <code>TypeNameAlias</code> when enabling the extension in this
/// account and region, CloudFormation treats that alias as the extension's type name within
/// the account and region, not the type name of the public extension. For more information,
/// see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/registry-public.html#registry-public-enable-alias">Specifying aliases to refer to extensions</a> in the
/// <i>CloudFormation User Guide</i>.</p>
pub original_type_name: std::option::Option<std::string::String>,
/// <p>For public extensions that have been activated for this account and region, the Amazon
/// Resource Name (ARN) of the public extension.</p>
pub original_type_arn: std::option::Option<std::string::String>,
/// <p>The version number of a public third-party extension.</p>
/// <p>This applies only if you specify a public extension you have activated in your account,
/// or specify a public extension without specifying a version. For all other extensions,
/// CloudFormation returns <code>null</code>.</p>
pub public_version_number: std::option::Option<std::string::String>,
/// <p>The latest version of a public extension <i>that is available</i> for
/// use.</p>
/// <p>This only applies if you specify a public extension, and you do not specify a version.
/// For all other requests, CloudFormation returns <code>null</code>.</p>
pub latest_public_version: std::option::Option<std::string::String>,
/// <p>Whether or not the extension is activated in the account and region.</p>
/// <p>This only applies to public third-party extensions. For all other extensions,
/// CloudFormation returns <code>null</code>.</p>
pub is_activated: std::option::Option<bool>,
/// <p>Whether CloudFormation automatically updates the extension in this account and region
/// when a new <i>minor</i> version is published by the extension publisher.
/// Major versions released by the publisher must be manually updated. For more information,
/// see <a href="AWSCloudFormation/latest/UserGuide/registry-public.html#registry-public-enable">Activating public extensions for use in your account</a> in the <i>CloudFormation User Guide</i>.</p>
pub auto_update: std::option::Option<bool>,
}
impl std::fmt::Debug for DescribeTypeOutput {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut formatter = f.debug_struct("DescribeTypeOutput");
formatter.field("arn", &self.arn);
formatter.field("r#type", &self.r#type);
formatter.field("type_name", &self.type_name);
formatter.field("default_version_id", &self.default_version_id);
formatter.field("is_default_version", &self.is_default_version);
formatter.field("type_tests_status", &self.type_tests_status);
formatter.field(
"type_tests_status_description",
&self.type_tests_status_description,
);
formatter.field("description", &self.description);
formatter.field("schema", &self.schema);
formatter.field("provisioning_type", &self.provisioning_type);
formatter.field("deprecated_status", &self.deprecated_status);
formatter.field("logging_config", &self.logging_config);
formatter.field("required_activated_types", &self.required_activated_types);
formatter.field("execution_role_arn", &self.execution_role_arn);
formatter.field("visibility", &self.visibility);
formatter.field("source_url", &self.source_url);
formatter.field("documentation_url", &self.documentation_url);
formatter.field("last_updated", &self.last_updated);
formatter.field("time_created", &self.time_created);
formatter.field("configuration_schema", &self.configuration_schema);
formatter.field("publisher_id", &self.publisher_id);
formatter.field("original_type_name", &self.original_type_name);
formatter.field("original_type_arn", &self.original_type_arn);
formatter.field("public_version_number", &self.public_version_number);
formatter.field("latest_public_version", &self.latest_public_version);
formatter.field("is_activated", &self.is_activated);
formatter.field("auto_update", &self.auto_update);
formatter.finish()
}
}
/// See [`DescribeTypeOutput`](crate::output::DescribeTypeOutput)
pub mod describe_type_output {
/// A builder for [`DescribeTypeOutput`](crate::output::DescribeTypeOutput)
#[non_exhaustive]
#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct Builder {
pub(crate) arn: std::option::Option<std::string::String>,
pub(crate) r#type: std::option::Option<crate::model::RegistryType>,
pub(crate) type_name: std::option::Option<std::string::String>,
pub(crate) default_version_id: std::option::Option<std::string::String>,
pub(crate) is_default_version: std::option::Option<bool>,
pub(crate) type_tests_status: std::option::Option<crate::model::TypeTestsStatus>,
pub(crate) type_tests_status_description: std::option::Option<std::string::String>,
pub(crate) description: std::option::Option<std::string::String>,
pub(crate) schema: std::option::Option<std::string::String>,
pub(crate) provisioning_type: std::option::Option<crate::model::ProvisioningType>,
pub(crate) deprecated_status: std::option::Option<crate::model::DeprecatedStatus>,
pub(crate) logging_config: std::option::Option<crate::model::LoggingConfig>,
pub(crate) required_activated_types:
std::option::Option<std::vec::Vec<crate::model::RequiredActivatedType>>,
pub(crate) execution_role_arn: std::option::Option<std::string::String>,
pub(crate) visibility: std::option::Option<crate::model::Visibility>,
pub(crate) source_url: std::option::Option<std::string::String>,
pub(crate) documentation_url: std::option::Option<std::string::String>,
pub(crate) last_updated: std::option::Option<aws_smithy_types::Instant>,
pub(crate) time_created: std::option::Option<aws_smithy_types::Instant>,
pub(crate) configuration_schema: std::option::Option<std::string::String>,
pub(crate) publisher_id: std::option::Option<std::string::String>,
pub(crate) original_type_name: std::option::Option<std::string::String>,
pub(crate) original_type_arn: std::option::Option<std::string::String>,
pub(crate) public_version_number: std::option::Option<std::string::String>,
pub(crate) latest_public_version: std::option::Option<std::string::String>,
pub(crate) is_activated: std::option::Option<bool>,
pub(crate) auto_update: std::option::Option<bool>,
}
impl Builder {
/// <p>The Amazon Resource Name (ARN) of the extension.</p>
pub fn arn(mut self, input: impl Into<std::string::String>) -> Self {
self.arn = Some(input.into());
self
}
/// <p>The Amazon Resource Name (ARN) of the extension.</p>
pub fn set_arn(mut self, input: std::option::Option<std::string::String>) -> Self {
self.arn = input;
self
}
/// <p>The kind of extension. </p>
pub fn r#type(mut self, input: crate::model::RegistryType) -> Self {
self.r#type = Some(input);
self
}
/// <p>The kind of extension. </p>
pub fn set_type(mut self, input: std::option::Option<crate::model::RegistryType>) -> Self {
self.r#type = input;
self
}
/// <p>The name of the extension.</p>
/// <p>If the extension is a public third-party type you have activated with a type name alias,
/// CloudFormation returns the type name alias. For more information, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_ActivateType.html">ActivateType</a>.</p>
pub fn type_name(mut self, input: impl Into<std::string::String>) -> Self {
self.type_name = Some(input.into());
self
}
/// <p>The name of the extension.</p>
/// <p>If the extension is a public third-party type you have activated with a type name alias,
/// CloudFormation returns the type name alias. For more information, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_ActivateType.html">ActivateType</a>.</p>
pub fn set_type_name(mut self, input: std::option::Option<std::string::String>) -> Self {
self.type_name = input;
self
}
/// <p>The ID of the default version of the extension. The default version is used when the
/// extension version is not specified.</p>
/// <p>This applies only to private extensions you have registered in your account. For public
/// extensions, both those provided by Amazon and published by third parties, CloudFormation
/// returns <code>null</code>. For more information, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_RegisterType.html">RegisterType</a>.</p>
/// <p>To set the default version of an extension, use <code>
/// <a>SetTypeDefaultVersion</a>
/// </code>. </p>
pub fn default_version_id(mut self, input: impl Into<std::string::String>) -> Self {
self.default_version_id = Some(input.into());
self
}
/// <p>The ID of the default version of the extension. The default version is used when the
/// extension version is not specified.</p>
/// <p>This applies only to private extensions you have registered in your account. For public
/// extensions, both those provided by Amazon and published by third parties, CloudFormation
/// returns <code>null</code>. For more information, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_RegisterType.html">RegisterType</a>.</p>
/// <p>To set the default version of an extension, use <code>
/// <a>SetTypeDefaultVersion</a>
/// </code>. </p>
pub fn set_default_version_id(
mut self,
input: std::option::Option<std::string::String>,
) -> Self {
self.default_version_id = input;
self
}
/// <p>Whether the specified extension version is set as the default version.</p>
/// <p>This applies only to private extensions you have registered in your account, and
/// extensions published by Amazon. For public third-party extensions, whether or not they are
/// activated in your account, CloudFormation returns <code>null</code>.</p>
pub fn is_default_version(mut self, input: bool) -> Self {
self.is_default_version = Some(input);
self
}
/// <p>Whether the specified extension version is set as the default version.</p>
/// <p>This applies only to private extensions you have registered in your account, and
/// extensions published by Amazon. For public third-party extensions, whether or not they are
/// activated in your account, CloudFormation returns <code>null</code>.</p>
pub fn set_is_default_version(mut self, input: std::option::Option<bool>) -> Self {
self.is_default_version = input;
self
}
/// <p>The contract test status of the registered extension version. To return the extension
/// test status of a specifc extension version, you must specify <code>VersionId</code>. </p>
/// <p>This applies only to registered private extension versions. CloudFormation does not
/// return this information for public extensions, whether or not they are activated in your
/// account.</p>
/// <ul>
/// <li>
/// <p>
/// <code>PASSED</code>: The extension has passed all its contract tests.</p>
/// <p>An extension must have a test status of <code>PASSED</code> before it can be
/// published. For more information, see <a href="https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/resource-type-publish.html">Publishing extensions to make them available for public
/// use</a> in the <i>CloudFormation Command Line Interface User
/// Guide</i>.</p>
/// </li>
/// <li>
/// <p>
/// <code>FAILED</code>: The extension has failed one or more contract tests.</p>
/// </li>
/// <li>
/// <p>
/// <code>IN_PROGRESS</code>: Contract tests are currently being performed on the
/// extension.</p>
/// </li>
/// <li>
/// <p>
/// <code>NOT_TESTED</code>: Contract tests have not been performed on the
/// extension.</p>
/// </li>
/// </ul>
pub fn type_tests_status(mut self, input: crate::model::TypeTestsStatus) -> Self {
self.type_tests_status = Some(input);
self
}
/// <p>The contract test status of the registered extension version. To return the extension
/// test status of a specifc extension version, you must specify <code>VersionId</code>. </p>
/// <p>This applies only to registered private extension versions. CloudFormation does not
/// return this information for public extensions, whether or not they are activated in your
/// account.</p>
/// <ul>
/// <li>
/// <p>
/// <code>PASSED</code>: The extension has passed all its contract tests.</p>
/// <p>An extension must have a test status of <code>PASSED</code> before it can be
/// published. For more information, see <a href="https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/resource-type-publish.html">Publishing extensions to make them available for public
/// use</a> in the <i>CloudFormation Command Line Interface User
/// Guide</i>.</p>
/// </li>
/// <li>
/// <p>
/// <code>FAILED</code>: The extension has failed one or more contract tests.</p>
/// </li>
/// <li>
/// <p>
/// <code>IN_PROGRESS</code>: Contract tests are currently being performed on the
/// extension.</p>
/// </li>
/// <li>
/// <p>
/// <code>NOT_TESTED</code>: Contract tests have not been performed on the
/// extension.</p>
/// </li>
/// </ul>
pub fn set_type_tests_status(
mut self,
input: std::option::Option<crate::model::TypeTestsStatus>,
) -> Self {
self.type_tests_status = input;
self
}
/// <p>The description of the test status. To return the extension test status of a specifc
/// extension version, you must specify <code>VersionId</code>. </p>
/// <p>This applies only to registered private extension versions. CloudFormation does not
/// return this information for public extensions, whether or not they are activated in your
/// account.</p>
pub fn type_tests_status_description(
mut self,
input: impl Into<std::string::String>,
) -> Self {
self.type_tests_status_description = Some(input.into());
self
}
/// <p>The description of the test status. To return the extension test status of a specifc
/// extension version, you must specify <code>VersionId</code>. </p>
/// <p>This applies only to registered private extension versions. CloudFormation does not
/// return this information for public extensions, whether or not they are activated in your
/// account.</p>
pub fn set_type_tests_status_description(
mut self,
input: std::option::Option<std::string::String>,
) -> Self {
self.type_tests_status_description = input;
self
}
/// <p>The description of the extension.</p>
pub fn description(mut self, input: impl Into<std::string::String>) -> Self {
self.description = Some(input.into());
self
}
/// <p>The description of the extension.</p>
pub fn set_description(mut self, input: std::option::Option<std::string::String>) -> Self {
self.description = input;
self
}
/// <p>The schema that defines the extension.</p>
/// <p>For more information on extension schemas, see <a href="https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/resource-type-schema.html">Resource Provider
/// Schema</a> in the <i>CloudFormation CLI User
/// Guide</i>.</p>
pub fn schema(mut self, input: impl Into<std::string::String>) -> Self {
self.schema = Some(input.into());
self
}
/// <p>The schema that defines the extension.</p>
/// <p>For more information on extension schemas, see <a href="https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/resource-type-schema.html">Resource Provider
/// Schema</a> in the <i>CloudFormation CLI User
/// Guide</i>.</p>
pub fn set_schema(mut self, input: std::option::Option<std::string::String>) -> Self {
self.schema = input;
self
}
/// <p>For resource type extensions, the provisioning behavior of the resource type. CloudFormation
/// determines the provisioning type during registration, based on the types of handlers in the
/// schema handler package submitted.</p>
/// <p>Valid values include:</p>
/// <ul>
/// <li>
/// <p>
/// <code>FULLY_MUTABLE</code>: The resource type includes an update handler to
/// process updates to the type during stack update operations.</p>
/// </li>
/// <li>
/// <p>
/// <code>IMMUTABLE</code>: The resource type does not include an update handler, so
/// the type cannot be updated and must instead be replaced during stack update
/// operations.</p>
/// </li>
/// <li>
/// <p>
/// <code>NON_PROVISIONABLE</code>: The resource type does not include all of the
/// following handlers, and therefore cannot actually be provisioned.</p>
/// <ul>
/// <li>
/// <p>create</p>
/// </li>
/// <li>
/// <p>read</p>
/// </li>
/// <li>
/// <p>delete</p>
/// </li>
/// </ul>
/// </li>
/// </ul>
pub fn provisioning_type(mut self, input: crate::model::ProvisioningType) -> Self {
self.provisioning_type = Some(input);
self
}
/// <p>For resource type extensions, the provisioning behavior of the resource type. CloudFormation
/// determines the provisioning type during registration, based on the types of handlers in the
/// schema handler package submitted.</p>
/// <p>Valid values include:</p>
/// <ul>
/// <li>
/// <p>
/// <code>FULLY_MUTABLE</code>: The resource type includes an update handler to
/// process updates to the type during stack update operations.</p>
/// </li>
/// <li>
/// <p>
/// <code>IMMUTABLE</code>: The resource type does not include an update handler, so
/// the type cannot be updated and must instead be replaced during stack update
/// operations.</p>
/// </li>
/// <li>
/// <p>
/// <code>NON_PROVISIONABLE</code>: The resource type does not include all of the
/// following handlers, and therefore cannot actually be provisioned.</p>
/// <ul>
/// <li>
/// <p>create</p>
/// </li>
/// <li>
/// <p>read</p>
/// </li>
/// <li>
/// <p>delete</p>
/// </li>
/// </ul>
/// </li>
/// </ul>
pub fn set_provisioning_type(
mut self,
input: std::option::Option<crate::model::ProvisioningType>,
) -> Self {
self.provisioning_type = input;
self
}
/// <p>The deprecation status of the extension version.</p>
/// <p>Valid values include:</p>
/// <ul>
/// <li>
/// <p>
/// <code>LIVE</code>: The extension is activated or registered and can be used in
/// CloudFormation operations, dependent on its provisioning behavior and
/// visibility scope.</p>
/// </li>
/// <li>
/// <p>
/// <code>DEPRECATED</code>: The extension has been deactivated or deregistered and
/// can no longer be used in CloudFormation operations. </p>
/// </li>
/// </ul>
/// <p>For public third-party extensions, CloudFormation returns <code>null</code>.</p>
pub fn deprecated_status(mut self, input: crate::model::DeprecatedStatus) -> Self {
self.deprecated_status = Some(input);
self
}
/// <p>The deprecation status of the extension version.</p>
/// <p>Valid values include:</p>
/// <ul>
/// <li>
/// <p>
/// <code>LIVE</code>: The extension is activated or registered and can be used in
/// CloudFormation operations, dependent on its provisioning behavior and
/// visibility scope.</p>
/// </li>
/// <li>
/// <p>
/// <code>DEPRECATED</code>: The extension has been deactivated or deregistered and
/// can no longer be used in CloudFormation operations. </p>
/// </li>
/// </ul>
/// <p>For public third-party extensions, CloudFormation returns <code>null</code>.</p>
pub fn set_deprecated_status(
mut self,
input: std::option::Option<crate::model::DeprecatedStatus>,
) -> Self {
self.deprecated_status = input;
self
}
/// <p>Contains logging configuration information for private extensions. This applies only to
/// private extensions you have registered in your account. For public extensions, both those
/// provided by Amazon and published by third parties, CloudFormation returns
/// <code>null</code>. For more information, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_RegisterType.html">RegisterType</a>.</p>
pub fn logging_config(mut self, input: crate::model::LoggingConfig) -> Self {
self.logging_config = Some(input);
self
}
/// <p>Contains logging configuration information for private extensions. This applies only to
/// private extensions you have registered in your account. For public extensions, both those
/// provided by Amazon and published by third parties, CloudFormation returns
/// <code>null</code>. For more information, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_RegisterType.html">RegisterType</a>.</p>
pub fn set_logging_config(
mut self,
input: std::option::Option<crate::model::LoggingConfig>,
) -> Self {
self.logging_config = input;
self
}
/// Appends an item to `required_activated_types`.
///
/// To override the contents of this collection use [`set_required_activated_types`](Self::set_required_activated_types).
///
/// <p>For extensions that are modules, the public third-party extensions that must be
/// activated in your account in order for the module itself to be activated.</p>
pub fn required_activated_types(
mut self,
input: impl Into<crate::model::RequiredActivatedType>,
) -> Self {
let mut v = self.required_activated_types.unwrap_or_default();
v.push(input.into());
self.required_activated_types = Some(v);
self
}
/// <p>For extensions that are modules, the public third-party extensions that must be
/// activated in your account in order for the module itself to be activated.</p>
pub fn set_required_activated_types(
mut self,
input: std::option::Option<std::vec::Vec<crate::model::RequiredActivatedType>>,
) -> Self {
self.required_activated_types = input;
self
}
/// <p>The Amazon Resource Name (ARN) of the IAM execution role used to register the extension.
/// This applies only to private extensions you have registered in your account. For more
/// information, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_RegisterType.html">RegisterType</a>.</p>
/// <p></p>
/// <p>If the registered extension calls any Amazon Web Services APIs, you must create an
/// <i>
/// <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles.html">IAM
/// execution role</a>
/// </i> that includes the necessary permissions to call
/// those Amazon Web Services APIs, and provision that execution role in your account. CloudFormation then assumes that execution role to provide your extension with the
/// appropriate credentials.</p>
pub fn execution_role_arn(mut self, input: impl Into<std::string::String>) -> Self {
self.execution_role_arn = Some(input.into());
self
}
/// <p>The Amazon Resource Name (ARN) of the IAM execution role used to register the extension.
/// This applies only to private extensions you have registered in your account. For more
/// information, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_RegisterType.html">RegisterType</a>.</p>
/// <p></p>
/// <p>If the registered extension calls any Amazon Web Services APIs, you must create an
/// <i>
/// <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles.html">IAM
/// execution role</a>
/// </i> that includes the necessary permissions to call
/// those Amazon Web Services APIs, and provision that execution role in your account. CloudFormation then assumes that execution role to provide your extension with the
/// appropriate credentials.</p>
pub fn set_execution_role_arn(
mut self,
input: std::option::Option<std::string::String>,
) -> Self {
self.execution_role_arn = input;
self
}
/// <p>The scope at which the extension is visible and usable in CloudFormation
/// operations.</p>
/// <p>Valid values include:</p>
/// <ul>
/// <li>
/// <p>
/// <code>PRIVATE</code>: The extension is only visible and usable within the account
/// in which it is registered. CloudFormation marks any extensions you register as
/// <code>PRIVATE</code>.</p>
/// </li>
/// <li>
/// <p>
/// <code>PUBLIC</code>: The extension is publically visible and usable within any
/// Amazon account.</p>
/// </li>
/// </ul>
pub fn visibility(mut self, input: crate::model::Visibility) -> Self {
self.visibility = Some(input);
self
}
/// <p>The scope at which the extension is visible and usable in CloudFormation
/// operations.</p>
/// <p>Valid values include:</p>
/// <ul>
/// <li>
/// <p>
/// <code>PRIVATE</code>: The extension is only visible and usable within the account
/// in which it is registered. CloudFormation marks any extensions you register as
/// <code>PRIVATE</code>.</p>
/// </li>
/// <li>
/// <p>
/// <code>PUBLIC</code>: The extension is publically visible and usable within any
/// Amazon account.</p>
/// </li>
/// </ul>
pub fn set_visibility(
mut self,
input: std::option::Option<crate::model::Visibility>,
) -> Self {
self.visibility = input;
self
}
/// <p>The URL of the source code for the extension.</p>
pub fn source_url(mut self, input: impl Into<std::string::String>) -> Self {
self.source_url = Some(input.into());
self
}
/// <p>The URL of the source code for the extension.</p>
pub fn set_source_url(mut self, input: std::option::Option<std::string::String>) -> Self {
self.source_url = input;
self
}
/// <p>The URL of a page providing detailed documentation for this extension.</p>
pub fn documentation_url(mut self, input: impl Into<std::string::String>) -> Self {
self.documentation_url = Some(input.into());
self
}
/// <p>The URL of a page providing detailed documentation for this extension.</p>
pub fn set_documentation_url(
mut self,
input: std::option::Option<std::string::String>,
) -> Self {
self.documentation_url = input;
self
}
/// <p>When the specified extension version was registered. This applies only to:</p>
/// <ul>
/// <li>
/// <p>Private extensions you have registered in your account. For more information, see
/// <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_RegisterType.html">RegisterType</a>.</p>
/// </li>
/// <li>
/// <p>Public extensions you have activated in your account with auto-update specified.
/// For more information, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_ActivateType.html">ActivateType</a>.</p>
/// </li>
/// </ul>
pub fn last_updated(mut self, input: aws_smithy_types::Instant) -> Self {
self.last_updated = Some(input);
self
}
/// <p>When the specified extension version was registered. This applies only to:</p>
/// <ul>
/// <li>
/// <p>Private extensions you have registered in your account. For more information, see
/// <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_RegisterType.html">RegisterType</a>.</p>
/// </li>
/// <li>
/// <p>Public extensions you have activated in your account with auto-update specified.
/// For more information, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_ActivateType.html">ActivateType</a>.</p>
/// </li>
/// </ul>
pub fn set_last_updated(
mut self,
input: std::option::Option<aws_smithy_types::Instant>,
) -> Self {
self.last_updated = input;
self
}
/// <p>When the specified private extension version was registered or activated in your
/// account. </p>
pub fn time_created(mut self, input: aws_smithy_types::Instant) -> Self {
self.time_created = Some(input);
self
}
/// <p>When the specified private extension version was registered or activated in your
/// account. </p>
pub fn set_time_created(
mut self,
input: std::option::Option<aws_smithy_types::Instant>,
) -> Self {
self.time_created = input;
self
}
/// <p>A JSON string that represent the current configuration data for the extension in this
/// account and region.</p>
/// <p>To set the configuration data for an extension, use <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_SetTypeConfiguration.html">SetTypeConfiguration</a>. For more information, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/registry-register.html#registry-set-configuration">Configuring extensions at the account level</a> in the <i>CloudFormation
/// User Guide</i>.</p>
pub fn configuration_schema(mut self, input: impl Into<std::string::String>) -> Self {
self.configuration_schema = Some(input.into());
self
}
/// <p>A JSON string that represent the current configuration data for the extension in this
/// account and region.</p>
/// <p>To set the configuration data for an extension, use <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_SetTypeConfiguration.html">SetTypeConfiguration</a>. For more information, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/registry-register.html#registry-set-configuration">Configuring extensions at the account level</a> in the <i>CloudFormation
/// User Guide</i>.</p>
pub fn set_configuration_schema(
mut self,
input: std::option::Option<std::string::String>,
) -> Self {
self.configuration_schema = input;
self
}
/// <p>The publisher ID of the extension publisher.</p>
/// <p>This applies only to public third-party extensions. For private registered extensions,
/// and extensions provided by Amazon, CloudFormation returns <code>null</code>.</p>
pub fn publisher_id(mut self, input: impl Into<std::string::String>) -> Self {
self.publisher_id = Some(input.into());
self
}
/// <p>The publisher ID of the extension publisher.</p>
/// <p>This applies only to public third-party extensions. For private registered extensions,
/// and extensions provided by Amazon, CloudFormation returns <code>null</code>.</p>
pub fn set_publisher_id(mut self, input: std::option::Option<std::string::String>) -> Self {
self.publisher_id = input;
self
}
/// <p>For public extensions that have been activated for this account and region, the type
/// name of the public extension.</p>
/// <p>If you specified a <code>TypeNameAlias</code> when enabling the extension in this
/// account and region, CloudFormation treats that alias as the extension's type name within
/// the account and region, not the type name of the public extension. For more information,
/// see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/registry-public.html#registry-public-enable-alias">Specifying aliases to refer to extensions</a> in the
/// <i>CloudFormation User Guide</i>.</p>
pub fn original_type_name(mut self, input: impl Into<std::string::String>) -> Self {
self.original_type_name = Some(input.into());
self
}
/// <p>For public extensions that have been activated for this account and region, the type
/// name of the public extension.</p>
/// <p>If you specified a <code>TypeNameAlias</code> when enabling the extension in this
/// account and region, CloudFormation treats that alias as the extension's type name within
/// the account and region, not the type name of the public extension. For more information,
/// see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/registry-public.html#registry-public-enable-alias">Specifying aliases to refer to extensions</a> in the
/// <i>CloudFormation User Guide</i>.</p>
pub fn set_original_type_name(
mut self,
input: std::option::Option<std::string::String>,
) -> Self {
self.original_type_name = input;
self
}
/// <p>For public extensions that have been activated for this account and region, the Amazon
/// Resource Name (ARN) of the public extension.</p>
pub fn original_type_arn(mut self, input: impl Into<std::string::String>) -> Self {
self.original_type_arn = Some(input.into());
self
}
/// <p>For public extensions that have been activated for this account and region, the Amazon
/// Resource Name (ARN) of the public extension.</p>
pub fn set_original_type_arn(
mut self,
input: std::option::Option<std::string::String>,
) -> Self {
self.original_type_arn = input;
self
}
/// <p>The version number of a public third-party extension.</p>
/// <p>This applies only if you specify a public extension you have activated in your account,
/// or specify a public extension without specifying a version. For all other extensions,
/// CloudFormation returns <code>null</code>.</p>
pub fn public_version_number(mut self, input: impl Into<std::string::String>) -> Self {
self.public_version_number = Some(input.into());
self
}
/// <p>The version number of a public third-party extension.</p>
/// <p>This applies only if you specify a public extension you have activated in your account,
/// or specify a public extension without specifying a version. For all other extensions,
/// CloudFormation returns <code>null</code>.</p>
pub fn set_public_version_number(
mut self,
input: std::option::Option<std::string::String>,
) -> Self {
self.public_version_number = input;
self
}
/// <p>The latest version of a public extension <i>that is available</i> for
/// use.</p>
/// <p>This only applies if you specify a public extension, and you do not specify a version.
/// For all other requests, CloudFormation returns <code>null</code>.</p>
pub fn latest_public_version(mut self, input: impl Into<std::string::String>) -> Self {
self.latest_public_version = Some(input.into());
self
}
/// <p>The latest version of a public extension <i>that is available</i> for
/// use.</p>
/// <p>This only applies if you specify a public extension, and you do not specify a version.
/// For all other requests, CloudFormation returns <code>null</code>.</p>
pub fn set_latest_public_version(
mut self,
input: std::option::Option<std::string::String>,
) -> Self {
self.latest_public_version = input;
self
}
/// <p>Whether or not the extension is activated in the account and region.</p>
/// <p>This only applies to public third-party extensions. For all other extensions,
/// CloudFormation returns <code>null</code>.</p>
pub fn is_activated(mut self, input: bool) -> Self {
self.is_activated = Some(input);
self
}
/// <p>Whether or not the extension is activated in the account and region.</p>
/// <p>This only applies to public third-party extensions. For all other extensions,
/// CloudFormation returns <code>null</code>.</p>
pub fn set_is_activated(mut self, input: std::option::Option<bool>) -> Self {
self.is_activated = input;
self
}
/// <p>Whether CloudFormation automatically updates the extension in this account and region
/// when a new <i>minor</i> version is published by the extension publisher.
/// Major versions released by the publisher must be manually updated. For more information,
/// see <a href="AWSCloudFormation/latest/UserGuide/registry-public.html#registry-public-enable">Activating public extensions for use in your account</a> in the <i>CloudFormation User Guide</i>.</p>
pub fn auto_update(mut self, input: bool) -> Self {
self.auto_update = Some(input);
self
}
/// <p>Whether CloudFormation automatically updates the extension in this account and region
/// when a new <i>minor</i> version is published by the extension publisher.
/// Major versions released by the publisher must be manually updated. For more information,
/// see <a href="AWSCloudFormation/latest/UserGuide/registry-public.html#registry-public-enable">Activating public extensions for use in your account</a> in the <i>CloudFormation User Guide</i>.</p>
pub fn set_auto_update(mut self, input: std::option::Option<bool>) -> Self {
self.auto_update = input;
self
}
/// Consumes the builder and constructs a [`DescribeTypeOutput`](crate::output::DescribeTypeOutput)
pub fn build(self) -> crate::output::DescribeTypeOutput {
crate::output::DescribeTypeOutput {
arn: self.arn,
r#type: self.r#type,
type_name: self.type_name,
default_version_id: self.default_version_id,
is_default_version: self.is_default_version,
type_tests_status: self.type_tests_status,
type_tests_status_description: self.type_tests_status_description,
description: self.description,
schema: self.schema,
provisioning_type: self.provisioning_type,
deprecated_status: self.deprecated_status,
logging_config: self.logging_config,
required_activated_types: self.required_activated_types,
execution_role_arn: self.execution_role_arn,
visibility: self.visibility,
source_url: self.source_url,
documentation_url: self.documentation_url,
last_updated: self.last_updated,
time_created: self.time_created,
configuration_schema: self.configuration_schema,
publisher_id: self.publisher_id,
original_type_name: self.original_type_name,
original_type_arn: self.original_type_arn,
public_version_number: self.public_version_number,
latest_public_version: self.latest_public_version,
is_activated: self.is_activated,
auto_update: self.auto_update,
}
}
}
}
impl DescribeTypeOutput {
/// Creates a new builder-style object to manufacture [`DescribeTypeOutput`](crate::output::DescribeTypeOutput)
pub fn builder() -> crate::output::describe_type_output::Builder {
crate::output::describe_type_output::Builder::default()
}
}
#[allow(missing_docs)] // documentation missing in model
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct DescribeStackSetOperationOutput {
/// <p>The specified stack set operation.</p>
pub stack_set_operation: std::option::Option<crate::model::StackSetOperation>,
}
impl std::fmt::Debug for DescribeStackSetOperationOutput {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut formatter = f.debug_struct("DescribeStackSetOperationOutput");
formatter.field("stack_set_operation", &self.stack_set_operation);
formatter.finish()
}
}
/// See [`DescribeStackSetOperationOutput`](crate::output::DescribeStackSetOperationOutput)
pub mod describe_stack_set_operation_output {
/// A builder for [`DescribeStackSetOperationOutput`](crate::output::DescribeStackSetOperationOutput)
#[non_exhaustive]
#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct Builder {
pub(crate) stack_set_operation: std::option::Option<crate::model::StackSetOperation>,
}
impl Builder {
/// <p>The specified stack set operation.</p>
pub fn stack_set_operation(mut self, input: crate::model::StackSetOperation) -> Self {
self.stack_set_operation = Some(input);
self
}
/// <p>The specified stack set operation.</p>
pub fn set_stack_set_operation(
mut self,
input: std::option::Option<crate::model::StackSetOperation>,
) -> Self {
self.stack_set_operation = input;
self
}
/// Consumes the builder and constructs a [`DescribeStackSetOperationOutput`](crate::output::DescribeStackSetOperationOutput)
pub fn build(self) -> crate::output::DescribeStackSetOperationOutput {
crate::output::DescribeStackSetOperationOutput {
stack_set_operation: self.stack_set_operation,
}
}
}
}
impl DescribeStackSetOperationOutput {
/// Creates a new builder-style object to manufacture [`DescribeStackSetOperationOutput`](crate::output::DescribeStackSetOperationOutput)
pub fn builder() -> crate::output::describe_stack_set_operation_output::Builder {
crate::output::describe_stack_set_operation_output::Builder::default()
}
}
#[allow(missing_docs)] // documentation missing in model
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct DescribeStackSetOutput {
/// <p>The specified stack set.</p>
pub stack_set: std::option::Option<crate::model::StackSet>,
}
impl std::fmt::Debug for DescribeStackSetOutput {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut formatter = f.debug_struct("DescribeStackSetOutput");
formatter.field("stack_set", &self.stack_set);
formatter.finish()
}
}
/// See [`DescribeStackSetOutput`](crate::output::DescribeStackSetOutput)
pub mod describe_stack_set_output {
/// A builder for [`DescribeStackSetOutput`](crate::output::DescribeStackSetOutput)
#[non_exhaustive]
#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct Builder {
pub(crate) stack_set: std::option::Option<crate::model::StackSet>,
}
impl Builder {
/// <p>The specified stack set.</p>
pub fn stack_set(mut self, input: crate::model::StackSet) -> Self {
self.stack_set = Some(input);
self
}
/// <p>The specified stack set.</p>
pub fn set_stack_set(mut self, input: std::option::Option<crate::model::StackSet>) -> Self {
self.stack_set = input;
self
}
/// Consumes the builder and constructs a [`DescribeStackSetOutput`](crate::output::DescribeStackSetOutput)
pub fn build(self) -> crate::output::DescribeStackSetOutput {
crate::output::DescribeStackSetOutput {
stack_set: self.stack_set,
}
}
}
}
impl DescribeStackSetOutput {
/// Creates a new builder-style object to manufacture [`DescribeStackSetOutput`](crate::output::DescribeStackSetOutput)
pub fn builder() -> crate::output::describe_stack_set_output::Builder {
crate::output::describe_stack_set_output::Builder::default()
}
}
/// <p>The output for a <a>DescribeStacks</a> action.</p>
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct DescribeStacksOutput {
/// <p>A list of stack structures.</p>
pub stacks: std::option::Option<std::vec::Vec<crate::model::Stack>>,
/// <p>If the output exceeds 1 MB in size, a string that identifies the next page of stacks.
/// If no additional page exists, this value is null.</p>
pub next_token: std::option::Option<std::string::String>,
}
impl std::fmt::Debug for DescribeStacksOutput {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut formatter = f.debug_struct("DescribeStacksOutput");
formatter.field("stacks", &self.stacks);
formatter.field("next_token", &self.next_token);
formatter.finish()
}
}
/// See [`DescribeStacksOutput`](crate::output::DescribeStacksOutput)
pub mod describe_stacks_output {
/// A builder for [`DescribeStacksOutput`](crate::output::DescribeStacksOutput)
#[non_exhaustive]
#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct Builder {
pub(crate) stacks: std::option::Option<std::vec::Vec<crate::model::Stack>>,
pub(crate) next_token: std::option::Option<std::string::String>,
}
impl Builder {
/// Appends an item to `stacks`.
///
/// To override the contents of this collection use [`set_stacks`](Self::set_stacks).
///
/// <p>A list of stack structures.</p>
pub fn stacks(mut self, input: impl Into<crate::model::Stack>) -> Self {
let mut v = self.stacks.unwrap_or_default();
v.push(input.into());
self.stacks = Some(v);
self
}
/// <p>A list of stack structures.</p>
pub fn set_stacks(
mut self,
input: std::option::Option<std::vec::Vec<crate::model::Stack>>,
) -> Self {
self.stacks = input;
self
}
/// <p>If the output exceeds 1 MB in size, a string that identifies the next page of stacks.
/// If no additional page exists, this value is null.</p>
pub fn next_token(mut self, input: impl Into<std::string::String>) -> Self {
self.next_token = Some(input.into());
self
}
/// <p>If the output exceeds 1 MB in size, a string that identifies the next page of stacks.
/// If no additional page exists, this value is null.</p>
pub fn set_next_token(mut self, input: std::option::Option<std::string::String>) -> Self {
self.next_token = input;
self
}
/// Consumes the builder and constructs a [`DescribeStacksOutput`](crate::output::DescribeStacksOutput)
pub fn build(self) -> crate::output::DescribeStacksOutput {
crate::output::DescribeStacksOutput {
stacks: self.stacks,
next_token: self.next_token,
}
}
}
}
impl DescribeStacksOutput {
/// Creates a new builder-style object to manufacture [`DescribeStacksOutput`](crate::output::DescribeStacksOutput)
pub fn builder() -> crate::output::describe_stacks_output::Builder {
crate::output::describe_stacks_output::Builder::default()
}
}
/// <p>The output for a <a>DescribeStackResources</a> action.</p>
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct DescribeStackResourcesOutput {
/// <p>A list of <code>StackResource</code> structures.</p>
pub stack_resources: std::option::Option<std::vec::Vec<crate::model::StackResource>>,
}
impl std::fmt::Debug for DescribeStackResourcesOutput {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut formatter = f.debug_struct("DescribeStackResourcesOutput");
formatter.field("stack_resources", &self.stack_resources);
formatter.finish()
}
}
/// See [`DescribeStackResourcesOutput`](crate::output::DescribeStackResourcesOutput)
pub mod describe_stack_resources_output {
/// A builder for [`DescribeStackResourcesOutput`](crate::output::DescribeStackResourcesOutput)
#[non_exhaustive]
#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct Builder {
pub(crate) stack_resources: std::option::Option<std::vec::Vec<crate::model::StackResource>>,
}
impl Builder {
/// Appends an item to `stack_resources`.
///
/// To override the contents of this collection use [`set_stack_resources`](Self::set_stack_resources).
///
/// <p>A list of <code>StackResource</code> structures.</p>
pub fn stack_resources(mut self, input: impl Into<crate::model::StackResource>) -> Self {
let mut v = self.stack_resources.unwrap_or_default();
v.push(input.into());
self.stack_resources = Some(v);
self
}
/// <p>A list of <code>StackResource</code> structures.</p>
pub fn set_stack_resources(
mut self,
input: std::option::Option<std::vec::Vec<crate::model::StackResource>>,
) -> Self {
self.stack_resources = input;
self
}
/// Consumes the builder and constructs a [`DescribeStackResourcesOutput`](crate::output::DescribeStackResourcesOutput)
pub fn build(self) -> crate::output::DescribeStackResourcesOutput {
crate::output::DescribeStackResourcesOutput {
stack_resources: self.stack_resources,
}
}
}
}
impl DescribeStackResourcesOutput {
/// Creates a new builder-style object to manufacture [`DescribeStackResourcesOutput`](crate::output::DescribeStackResourcesOutput)
pub fn builder() -> crate::output::describe_stack_resources_output::Builder {
crate::output::describe_stack_resources_output::Builder::default()
}
}
#[allow(missing_docs)] // documentation missing in model
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct DescribeStackResourceDriftsOutput {
/// <p>Drift information for the resources that have been checked for drift in the specified
/// stack. This includes actual and expected configuration values for resources where CloudFormation
/// detects drift.</p>
/// <p>For a given stack, there will be one <code>StackResourceDrift</code> for each stack
/// resource that has been checked for drift. Resources that have not yet been checked for
/// drift are not included. Resources that do not currently support drift detection are not
/// checked, and so not included. For a list of resources that support drift detection, see
/// <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-stack-drift-resource-list.html">Resources that Support Drift Detection</a>.</p>
pub stack_resource_drifts: std::option::Option<std::vec::Vec<crate::model::StackResourceDrift>>,
/// <p>If the request doesn't return all of the remaining results, <code>NextToken</code> is
/// set to a token. To retrieve the next set of results, call
/// <code>DescribeStackResourceDrifts</code> again and assign that token to the request
/// object's <code>NextToken</code> parameter. If the request returns all results,
/// <code>NextToken</code> is set to <code>null</code>.</p>
pub next_token: std::option::Option<std::string::String>,
}
impl std::fmt::Debug for DescribeStackResourceDriftsOutput {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut formatter = f.debug_struct("DescribeStackResourceDriftsOutput");
formatter.field("stack_resource_drifts", &self.stack_resource_drifts);
formatter.field("next_token", &self.next_token);
formatter.finish()
}
}
/// See [`DescribeStackResourceDriftsOutput`](crate::output::DescribeStackResourceDriftsOutput)
pub mod describe_stack_resource_drifts_output {
/// A builder for [`DescribeStackResourceDriftsOutput`](crate::output::DescribeStackResourceDriftsOutput)
#[non_exhaustive]
#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct Builder {
pub(crate) stack_resource_drifts:
std::option::Option<std::vec::Vec<crate::model::StackResourceDrift>>,
pub(crate) next_token: std::option::Option<std::string::String>,
}
impl Builder {
/// Appends an item to `stack_resource_drifts`.
///
/// To override the contents of this collection use [`set_stack_resource_drifts`](Self::set_stack_resource_drifts).
///
/// <p>Drift information for the resources that have been checked for drift in the specified
/// stack. This includes actual and expected configuration values for resources where CloudFormation
/// detects drift.</p>
/// <p>For a given stack, there will be one <code>StackResourceDrift</code> for each stack
/// resource that has been checked for drift. Resources that have not yet been checked for
/// drift are not included. Resources that do not currently support drift detection are not
/// checked, and so not included. For a list of resources that support drift detection, see
/// <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-stack-drift-resource-list.html">Resources that Support Drift Detection</a>.</p>
pub fn stack_resource_drifts(
mut self,
input: impl Into<crate::model::StackResourceDrift>,
) -> Self {
let mut v = self.stack_resource_drifts.unwrap_or_default();
v.push(input.into());
self.stack_resource_drifts = Some(v);
self
}
/// <p>Drift information for the resources that have been checked for drift in the specified
/// stack. This includes actual and expected configuration values for resources where CloudFormation
/// detects drift.</p>
/// <p>For a given stack, there will be one <code>StackResourceDrift</code> for each stack
/// resource that has been checked for drift. Resources that have not yet been checked for
/// drift are not included. Resources that do not currently support drift detection are not
/// checked, and so not included. For a list of resources that support drift detection, see
/// <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-stack-drift-resource-list.html">Resources that Support Drift Detection</a>.</p>
pub fn set_stack_resource_drifts(
mut self,
input: std::option::Option<std::vec::Vec<crate::model::StackResourceDrift>>,
) -> Self {
self.stack_resource_drifts = input;
self
}
/// <p>If the request doesn't return all of the remaining results, <code>NextToken</code> is
/// set to a token. To retrieve the next set of results, call
/// <code>DescribeStackResourceDrifts</code> again and assign that token to the request
/// object's <code>NextToken</code> parameter. If the request returns all results,
/// <code>NextToken</code> is set to <code>null</code>.</p>
pub fn next_token(mut self, input: impl Into<std::string::String>) -> Self {
self.next_token = Some(input.into());
self
}
/// <p>If the request doesn't return all of the remaining results, <code>NextToken</code> is
/// set to a token. To retrieve the next set of results, call
/// <code>DescribeStackResourceDrifts</code> again and assign that token to the request
/// object's <code>NextToken</code> parameter. If the request returns all results,
/// <code>NextToken</code> is set to <code>null</code>.</p>
pub fn set_next_token(mut self, input: std::option::Option<std::string::String>) -> Self {
self.next_token = input;
self
}
/// Consumes the builder and constructs a [`DescribeStackResourceDriftsOutput`](crate::output::DescribeStackResourceDriftsOutput)
pub fn build(self) -> crate::output::DescribeStackResourceDriftsOutput {
crate::output::DescribeStackResourceDriftsOutput {
stack_resource_drifts: self.stack_resource_drifts,
next_token: self.next_token,
}
}
}
}
impl DescribeStackResourceDriftsOutput {
/// Creates a new builder-style object to manufacture [`DescribeStackResourceDriftsOutput`](crate::output::DescribeStackResourceDriftsOutput)
pub fn builder() -> crate::output::describe_stack_resource_drifts_output::Builder {
crate::output::describe_stack_resource_drifts_output::Builder::default()
}
}
/// <p>The output for a <a>DescribeStackResource</a> action.</p>
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct DescribeStackResourceOutput {
/// <p>A <code>StackResourceDetail</code> structure containing the description of the
/// specified resource in the specified stack.</p>
pub stack_resource_detail: std::option::Option<crate::model::StackResourceDetail>,
}
impl std::fmt::Debug for DescribeStackResourceOutput {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut formatter = f.debug_struct("DescribeStackResourceOutput");
formatter.field("stack_resource_detail", &self.stack_resource_detail);
formatter.finish()
}
}
/// See [`DescribeStackResourceOutput`](crate::output::DescribeStackResourceOutput)
pub mod describe_stack_resource_output {
/// A builder for [`DescribeStackResourceOutput`](crate::output::DescribeStackResourceOutput)
#[non_exhaustive]
#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct Builder {
pub(crate) stack_resource_detail: std::option::Option<crate::model::StackResourceDetail>,
}
impl Builder {
/// <p>A <code>StackResourceDetail</code> structure containing the description of the
/// specified resource in the specified stack.</p>
pub fn stack_resource_detail(mut self, input: crate::model::StackResourceDetail) -> Self {
self.stack_resource_detail = Some(input);
self
}
/// <p>A <code>StackResourceDetail</code> structure containing the description of the
/// specified resource in the specified stack.</p>
pub fn set_stack_resource_detail(
mut self,
input: std::option::Option<crate::model::StackResourceDetail>,
) -> Self {
self.stack_resource_detail = input;
self
}
/// Consumes the builder and constructs a [`DescribeStackResourceOutput`](crate::output::DescribeStackResourceOutput)
pub fn build(self) -> crate::output::DescribeStackResourceOutput {
crate::output::DescribeStackResourceOutput {
stack_resource_detail: self.stack_resource_detail,
}
}
}
}
impl DescribeStackResourceOutput {
/// Creates a new builder-style object to manufacture [`DescribeStackResourceOutput`](crate::output::DescribeStackResourceOutput)
pub fn builder() -> crate::output::describe_stack_resource_output::Builder {
crate::output::describe_stack_resource_output::Builder::default()
}
}
#[allow(missing_docs)] // documentation missing in model
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct DescribeStackInstanceOutput {
/// <p>The stack instance that matches the specified request parameters.</p>
pub stack_instance: std::option::Option<crate::model::StackInstance>,
}
impl std::fmt::Debug for DescribeStackInstanceOutput {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut formatter = f.debug_struct("DescribeStackInstanceOutput");
formatter.field("stack_instance", &self.stack_instance);
formatter.finish()
}
}
/// See [`DescribeStackInstanceOutput`](crate::output::DescribeStackInstanceOutput)
pub mod describe_stack_instance_output {
/// A builder for [`DescribeStackInstanceOutput`](crate::output::DescribeStackInstanceOutput)
#[non_exhaustive]
#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct Builder {
pub(crate) stack_instance: std::option::Option<crate::model::StackInstance>,
}
impl Builder {
/// <p>The stack instance that matches the specified request parameters.</p>
pub fn stack_instance(mut self, input: crate::model::StackInstance) -> Self {
self.stack_instance = Some(input);
self
}
/// <p>The stack instance that matches the specified request parameters.</p>
pub fn set_stack_instance(
mut self,
input: std::option::Option<crate::model::StackInstance>,
) -> Self {
self.stack_instance = input;
self
}
/// Consumes the builder and constructs a [`DescribeStackInstanceOutput`](crate::output::DescribeStackInstanceOutput)
pub fn build(self) -> crate::output::DescribeStackInstanceOutput {
crate::output::DescribeStackInstanceOutput {
stack_instance: self.stack_instance,
}
}
}
}
impl DescribeStackInstanceOutput {
/// Creates a new builder-style object to manufacture [`DescribeStackInstanceOutput`](crate::output::DescribeStackInstanceOutput)
pub fn builder() -> crate::output::describe_stack_instance_output::Builder {
crate::output::describe_stack_instance_output::Builder::default()
}
}
/// <p>The output for a <a>DescribeStackEvents</a> action.</p>
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct DescribeStackEventsOutput {
/// <p>A list of <code>StackEvents</code> structures.</p>
pub stack_events: std::option::Option<std::vec::Vec<crate::model::StackEvent>>,
/// <p>If the output exceeds 1 MB in size, a string that identifies the next page of events.
/// If no additional page exists, this value is null.</p>
pub next_token: std::option::Option<std::string::String>,
}
impl std::fmt::Debug for DescribeStackEventsOutput {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut formatter = f.debug_struct("DescribeStackEventsOutput");
formatter.field("stack_events", &self.stack_events);
formatter.field("next_token", &self.next_token);
formatter.finish()
}
}
/// See [`DescribeStackEventsOutput`](crate::output::DescribeStackEventsOutput)
pub mod describe_stack_events_output {
/// A builder for [`DescribeStackEventsOutput`](crate::output::DescribeStackEventsOutput)
#[non_exhaustive]
#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct Builder {
pub(crate) stack_events: std::option::Option<std::vec::Vec<crate::model::StackEvent>>,
pub(crate) next_token: std::option::Option<std::string::String>,
}
impl Builder {
/// Appends an item to `stack_events`.
///
/// To override the contents of this collection use [`set_stack_events`](Self::set_stack_events).
///
/// <p>A list of <code>StackEvents</code> structures.</p>
pub fn stack_events(mut self, input: impl Into<crate::model::StackEvent>) -> Self {
let mut v = self.stack_events.unwrap_or_default();
v.push(input.into());
self.stack_events = Some(v);
self
}
/// <p>A list of <code>StackEvents</code> structures.</p>
pub fn set_stack_events(
mut self,
input: std::option::Option<std::vec::Vec<crate::model::StackEvent>>,
) -> Self {
self.stack_events = input;
self
}
/// <p>If the output exceeds 1 MB in size, a string that identifies the next page of events.
/// If no additional page exists, this value is null.</p>
pub fn next_token(mut self, input: impl Into<std::string::String>) -> Self {
self.next_token = Some(input.into());
self
}
/// <p>If the output exceeds 1 MB in size, a string that identifies the next page of events.
/// If no additional page exists, this value is null.</p>
pub fn set_next_token(mut self, input: std::option::Option<std::string::String>) -> Self {
self.next_token = input;
self
}
/// Consumes the builder and constructs a [`DescribeStackEventsOutput`](crate::output::DescribeStackEventsOutput)
pub fn build(self) -> crate::output::DescribeStackEventsOutput {
crate::output::DescribeStackEventsOutput {
stack_events: self.stack_events,
next_token: self.next_token,
}
}
}
}
impl DescribeStackEventsOutput {
/// Creates a new builder-style object to manufacture [`DescribeStackEventsOutput`](crate::output::DescribeStackEventsOutput)
pub fn builder() -> crate::output::describe_stack_events_output::Builder {
crate::output::describe_stack_events_output::Builder::default()
}
}
#[allow(missing_docs)] // documentation missing in model
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct DescribeStackDriftDetectionStatusOutput {
/// <p>The ID of the stack.</p>
pub stack_id: std::option::Option<std::string::String>,
/// <p>The ID of the drift detection results of this operation.</p>
/// <p>CloudFormation generates new results, with a new drift detection ID, each time this operation
/// is run. However, the number of reports CloudFormation retains for any given stack, and for how long,
/// may vary.</p>
pub stack_drift_detection_id: std::option::Option<std::string::String>,
/// <p>Status of the stack's actual configuration compared to its expected
/// configuration.</p>
/// <ul>
/// <li>
/// <p>
/// <code>DRIFTED</code>: The stack differs from its expected template
/// configuration. A stack is considered to have drifted if one or more of its resources
/// have drifted.</p>
/// </li>
/// <li>
/// <p>
/// <code>NOT_CHECKED</code>: CloudFormation has not checked if the stack differs from its
/// expected template configuration.</p>
/// </li>
/// <li>
/// <p>
/// <code>IN_SYNC</code>: The stack's actual configuration matches its expected
/// template configuration.</p>
/// </li>
/// <li>
/// <p>
/// <code>UNKNOWN</code>: This value is reserved for future use.</p>
/// </li>
/// </ul>
pub stack_drift_status: std::option::Option<crate::model::StackDriftStatus>,
/// <p>The status of the stack drift detection operation.</p>
/// <ul>
/// <li>
/// <p>
/// <code>DETECTION_COMPLETE</code>: The stack drift detection operation has
/// successfully completed for all resources in the stack that support drift detection.
/// (Resources that do not currently support stack detection remain unchecked.)</p>
/// <p>If you specified logical resource IDs for CloudFormation to use as a filter for the
/// stack drift detection operation, only the resources with those logical IDs are
/// checked for drift.</p>
/// </li>
/// <li>
/// <p>
/// <code>DETECTION_FAILED</code>: The stack drift detection operation has failed
/// for at least one resource in the stack. Results will be available for resources on
/// which CloudFormation successfully completed drift detection.</p>
/// </li>
/// <li>
/// <p>
/// <code>DETECTION_IN_PROGRESS</code>: The stack drift detection operation is
/// currently in progress.</p>
/// </li>
/// </ul>
pub detection_status: std::option::Option<crate::model::StackDriftDetectionStatus>,
/// <p>The reason the stack drift detection operation has its current status.</p>
pub detection_status_reason: std::option::Option<std::string::String>,
/// <p>Total number of stack resources that have drifted. This is NULL until the drift
/// detection operation reaches a status of <code>DETECTION_COMPLETE</code>. This value will be
/// 0 for stacks whose drift status is <code>IN_SYNC</code>.</p>
pub drifted_stack_resource_count: std::option::Option<i32>,
/// <p>Time at which the stack drift detection operation was initiated.</p>
pub timestamp: std::option::Option<aws_smithy_types::Instant>,
}
impl std::fmt::Debug for DescribeStackDriftDetectionStatusOutput {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut formatter = f.debug_struct("DescribeStackDriftDetectionStatusOutput");
formatter.field("stack_id", &self.stack_id);
formatter.field("stack_drift_detection_id", &self.stack_drift_detection_id);
formatter.field("stack_drift_status", &self.stack_drift_status);
formatter.field("detection_status", &self.detection_status);
formatter.field("detection_status_reason", &self.detection_status_reason);
formatter.field(
"drifted_stack_resource_count",
&self.drifted_stack_resource_count,
);
formatter.field("timestamp", &self.timestamp);
formatter.finish()
}
}
/// See [`DescribeStackDriftDetectionStatusOutput`](crate::output::DescribeStackDriftDetectionStatusOutput)
pub mod describe_stack_drift_detection_status_output {
/// A builder for [`DescribeStackDriftDetectionStatusOutput`](crate::output::DescribeStackDriftDetectionStatusOutput)
#[non_exhaustive]
#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct Builder {
pub(crate) stack_id: std::option::Option<std::string::String>,
pub(crate) stack_drift_detection_id: std::option::Option<std::string::String>,
pub(crate) stack_drift_status: std::option::Option<crate::model::StackDriftStatus>,
pub(crate) detection_status: std::option::Option<crate::model::StackDriftDetectionStatus>,
pub(crate) detection_status_reason: std::option::Option<std::string::String>,
pub(crate) drifted_stack_resource_count: std::option::Option<i32>,
pub(crate) timestamp: std::option::Option<aws_smithy_types::Instant>,
}
impl Builder {
/// <p>The ID of the stack.</p>
pub fn stack_id(mut self, input: impl Into<std::string::String>) -> Self {
self.stack_id = Some(input.into());
self
}
/// <p>The ID of the stack.</p>
pub fn set_stack_id(mut self, input: std::option::Option<std::string::String>) -> Self {
self.stack_id = input;
self
}
/// <p>The ID of the drift detection results of this operation.</p>
/// <p>CloudFormation generates new results, with a new drift detection ID, each time this operation
/// is run. However, the number of reports CloudFormation retains for any given stack, and for how long,
/// may vary.</p>
pub fn stack_drift_detection_id(mut self, input: impl Into<std::string::String>) -> Self {
self.stack_drift_detection_id = Some(input.into());
self
}
/// <p>The ID of the drift detection results of this operation.</p>
/// <p>CloudFormation generates new results, with a new drift detection ID, each time this operation
/// is run. However, the number of reports CloudFormation retains for any given stack, and for how long,
/// may vary.</p>
pub fn set_stack_drift_detection_id(
mut self,
input: std::option::Option<std::string::String>,
) -> Self {
self.stack_drift_detection_id = input;
self
}
/// <p>Status of the stack's actual configuration compared to its expected
/// configuration.</p>
/// <ul>
/// <li>
/// <p>
/// <code>DRIFTED</code>: The stack differs from its expected template
/// configuration. A stack is considered to have drifted if one or more of its resources
/// have drifted.</p>
/// </li>
/// <li>
/// <p>
/// <code>NOT_CHECKED</code>: CloudFormation has not checked if the stack differs from its
/// expected template configuration.</p>
/// </li>
/// <li>
/// <p>
/// <code>IN_SYNC</code>: The stack's actual configuration matches its expected
/// template configuration.</p>
/// </li>
/// <li>
/// <p>
/// <code>UNKNOWN</code>: This value is reserved for future use.</p>
/// </li>
/// </ul>
pub fn stack_drift_status(mut self, input: crate::model::StackDriftStatus) -> Self {
self.stack_drift_status = Some(input);
self
}
/// <p>Status of the stack's actual configuration compared to its expected
/// configuration.</p>
/// <ul>
/// <li>
/// <p>
/// <code>DRIFTED</code>: The stack differs from its expected template
/// configuration. A stack is considered to have drifted if one or more of its resources
/// have drifted.</p>
/// </li>
/// <li>
/// <p>
/// <code>NOT_CHECKED</code>: CloudFormation has not checked if the stack differs from its
/// expected template configuration.</p>
/// </li>
/// <li>
/// <p>
/// <code>IN_SYNC</code>: The stack's actual configuration matches its expected
/// template configuration.</p>
/// </li>
/// <li>
/// <p>
/// <code>UNKNOWN</code>: This value is reserved for future use.</p>
/// </li>
/// </ul>
pub fn set_stack_drift_status(
mut self,
input: std::option::Option<crate::model::StackDriftStatus>,
) -> Self {
self.stack_drift_status = input;
self
}
/// <p>The status of the stack drift detection operation.</p>
/// <ul>
/// <li>
/// <p>
/// <code>DETECTION_COMPLETE</code>: The stack drift detection operation has
/// successfully completed for all resources in the stack that support drift detection.
/// (Resources that do not currently support stack detection remain unchecked.)</p>
/// <p>If you specified logical resource IDs for CloudFormation to use as a filter for the
/// stack drift detection operation, only the resources with those logical IDs are
/// checked for drift.</p>
/// </li>
/// <li>
/// <p>
/// <code>DETECTION_FAILED</code>: The stack drift detection operation has failed
/// for at least one resource in the stack. Results will be available for resources on
/// which CloudFormation successfully completed drift detection.</p>
/// </li>
/// <li>
/// <p>
/// <code>DETECTION_IN_PROGRESS</code>: The stack drift detection operation is
/// currently in progress.</p>
/// </li>
/// </ul>
pub fn detection_status(mut self, input: crate::model::StackDriftDetectionStatus) -> Self {
self.detection_status = Some(input);
self
}
/// <p>The status of the stack drift detection operation.</p>
/// <ul>
/// <li>
/// <p>
/// <code>DETECTION_COMPLETE</code>: The stack drift detection operation has
/// successfully completed for all resources in the stack that support drift detection.
/// (Resources that do not currently support stack detection remain unchecked.)</p>
/// <p>If you specified logical resource IDs for CloudFormation to use as a filter for the
/// stack drift detection operation, only the resources with those logical IDs are
/// checked for drift.</p>
/// </li>
/// <li>
/// <p>
/// <code>DETECTION_FAILED</code>: The stack drift detection operation has failed
/// for at least one resource in the stack. Results will be available for resources on
/// which CloudFormation successfully completed drift detection.</p>
/// </li>
/// <li>
/// <p>
/// <code>DETECTION_IN_PROGRESS</code>: The stack drift detection operation is
/// currently in progress.</p>
/// </li>
/// </ul>
pub fn set_detection_status(
mut self,
input: std::option::Option<crate::model::StackDriftDetectionStatus>,
) -> Self {
self.detection_status = input;
self
}
/// <p>The reason the stack drift detection operation has its current status.</p>
pub fn detection_status_reason(mut self, input: impl Into<std::string::String>) -> Self {
self.detection_status_reason = Some(input.into());
self
}
/// <p>The reason the stack drift detection operation has its current status.</p>
pub fn set_detection_status_reason(
mut self,
input: std::option::Option<std::string::String>,
) -> Self {
self.detection_status_reason = input;
self
}
/// <p>Total number of stack resources that have drifted. This is NULL until the drift
/// detection operation reaches a status of <code>DETECTION_COMPLETE</code>. This value will be
/// 0 for stacks whose drift status is <code>IN_SYNC</code>.</p>
pub fn drifted_stack_resource_count(mut self, input: i32) -> Self {
self.drifted_stack_resource_count = Some(input);
self
}
/// <p>Total number of stack resources that have drifted. This is NULL until the drift
/// detection operation reaches a status of <code>DETECTION_COMPLETE</code>. This value will be
/// 0 for stacks whose drift status is <code>IN_SYNC</code>.</p>
pub fn set_drifted_stack_resource_count(mut self, input: std::option::Option<i32>) -> Self {
self.drifted_stack_resource_count = input;
self
}
/// <p>Time at which the stack drift detection operation was initiated.</p>
pub fn timestamp(mut self, input: aws_smithy_types::Instant) -> Self {
self.timestamp = Some(input);
self
}
/// <p>Time at which the stack drift detection operation was initiated.</p>
pub fn set_timestamp(
mut self,
input: std::option::Option<aws_smithy_types::Instant>,
) -> Self {
self.timestamp = input;
self
}
/// Consumes the builder and constructs a [`DescribeStackDriftDetectionStatusOutput`](crate::output::DescribeStackDriftDetectionStatusOutput)
pub fn build(self) -> crate::output::DescribeStackDriftDetectionStatusOutput {
crate::output::DescribeStackDriftDetectionStatusOutput {
stack_id: self.stack_id,
stack_drift_detection_id: self.stack_drift_detection_id,
stack_drift_status: self.stack_drift_status,
detection_status: self.detection_status,
detection_status_reason: self.detection_status_reason,
drifted_stack_resource_count: self.drifted_stack_resource_count,
timestamp: self.timestamp,
}
}
}
}
impl DescribeStackDriftDetectionStatusOutput {
/// Creates a new builder-style object to manufacture [`DescribeStackDriftDetectionStatusOutput`](crate::output::DescribeStackDriftDetectionStatusOutput)
pub fn builder() -> crate::output::describe_stack_drift_detection_status_output::Builder {
crate::output::describe_stack_drift_detection_status_output::Builder::default()
}
}
#[allow(missing_docs)] // documentation missing in model
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct DescribePublisherOutput {
/// <p>The ID of the extension publisher.</p>
pub publisher_id: std::option::Option<std::string::String>,
/// <p>Whether the publisher is verified. Currently, all registered publishers are
/// verified.</p>
pub publisher_status: std::option::Option<crate::model::PublisherStatus>,
/// <p>The type of account used as the identity provider when registering this publisher with
/// CloudFormation.</p>
pub identity_provider: std::option::Option<crate::model::IdentityProvider>,
/// <p>The URL to the publisher's profile with the identity provider.</p>
pub publisher_profile: std::option::Option<std::string::String>,
}
impl std::fmt::Debug for DescribePublisherOutput {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut formatter = f.debug_struct("DescribePublisherOutput");
formatter.field("publisher_id", &self.publisher_id);
formatter.field("publisher_status", &self.publisher_status);
formatter.field("identity_provider", &self.identity_provider);
formatter.field("publisher_profile", &self.publisher_profile);
formatter.finish()
}
}
/// See [`DescribePublisherOutput`](crate::output::DescribePublisherOutput)
pub mod describe_publisher_output {
/// A builder for [`DescribePublisherOutput`](crate::output::DescribePublisherOutput)
#[non_exhaustive]
#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct Builder {
pub(crate) publisher_id: std::option::Option<std::string::String>,
pub(crate) publisher_status: std::option::Option<crate::model::PublisherStatus>,
pub(crate) identity_provider: std::option::Option<crate::model::IdentityProvider>,
pub(crate) publisher_profile: std::option::Option<std::string::String>,
}
impl Builder {
/// <p>The ID of the extension publisher.</p>
pub fn publisher_id(mut self, input: impl Into<std::string::String>) -> Self {
self.publisher_id = Some(input.into());
self
}
/// <p>The ID of the extension publisher.</p>
pub fn set_publisher_id(mut self, input: std::option::Option<std::string::String>) -> Self {
self.publisher_id = input;
self
}
/// <p>Whether the publisher is verified. Currently, all registered publishers are
/// verified.</p>
pub fn publisher_status(mut self, input: crate::model::PublisherStatus) -> Self {
self.publisher_status = Some(input);
self
}
/// <p>Whether the publisher is verified. Currently, all registered publishers are
/// verified.</p>
pub fn set_publisher_status(
mut self,
input: std::option::Option<crate::model::PublisherStatus>,
) -> Self {
self.publisher_status = input;
self
}
/// <p>The type of account used as the identity provider when registering this publisher with
/// CloudFormation.</p>
pub fn identity_provider(mut self, input: crate::model::IdentityProvider) -> Self {
self.identity_provider = Some(input);
self
}
/// <p>The type of account used as the identity provider when registering this publisher with
/// CloudFormation.</p>
pub fn set_identity_provider(
mut self,
input: std::option::Option<crate::model::IdentityProvider>,
) -> Self {
self.identity_provider = input;
self
}
/// <p>The URL to the publisher's profile with the identity provider.</p>
pub fn publisher_profile(mut self, input: impl Into<std::string::String>) -> Self {
self.publisher_profile = Some(input.into());
self
}
/// <p>The URL to the publisher's profile with the identity provider.</p>
pub fn set_publisher_profile(
mut self,
input: std::option::Option<std::string::String>,
) -> Self {
self.publisher_profile = input;
self
}
/// Consumes the builder and constructs a [`DescribePublisherOutput`](crate::output::DescribePublisherOutput)
pub fn build(self) -> crate::output::DescribePublisherOutput {
crate::output::DescribePublisherOutput {
publisher_id: self.publisher_id,
publisher_status: self.publisher_status,
identity_provider: self.identity_provider,
publisher_profile: self.publisher_profile,
}
}
}
}
impl DescribePublisherOutput {
/// Creates a new builder-style object to manufacture [`DescribePublisherOutput`](crate::output::DescribePublisherOutput)
pub fn builder() -> crate::output::describe_publisher_output::Builder {
crate::output::describe_publisher_output::Builder::default()
}
}
/// <p>The output for the <a>DescribeChangeSet</a> action.</p>
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct DescribeChangeSetOutput {
/// <p>The name of the change set.</p>
pub change_set_name: std::option::Option<std::string::String>,
/// <p>The ARN of the change set.</p>
pub change_set_id: std::option::Option<std::string::String>,
/// <p>The ARN of the stack that is associated with the change set.</p>
pub stack_id: std::option::Option<std::string::String>,
/// <p>The name of the stack that is associated with the change set.</p>
pub stack_name: std::option::Option<std::string::String>,
/// <p>Information about the change set.</p>
pub description: std::option::Option<std::string::String>,
/// <p>A list of <code>Parameter</code> structures that describes the input parameters and
/// their values used to create the change set. For more information, see the <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_Parameter.html">Parameter</a> data type.</p>
pub parameters: std::option::Option<std::vec::Vec<crate::model::Parameter>>,
/// <p>The start time when the change set was created, in UTC.</p>
pub creation_time: std::option::Option<aws_smithy_types::Instant>,
/// <p>If the change set execution status is <code>AVAILABLE</code>, you can execute the
/// change set. If you can’t execute the change set, the status indicates why. For example, a
/// change set might be in an <code>UNAVAILABLE</code> state because CloudFormation is
/// still creating it or in an <code>OBSOLETE</code> state because the stack was already
/// updated.</p>
pub execution_status: std::option::Option<crate::model::ExecutionStatus>,
/// <p>The current status of the change set, such as <code>CREATE_IN_PROGRESS</code>,
/// <code>CREATE_COMPLETE</code>, or <code>FAILED</code>.</p>
pub status: std::option::Option<crate::model::ChangeSetStatus>,
/// <p>A description of the change set's status. For example, if your attempt to create a
/// change set failed, CloudFormation shows the error message.</p>
pub status_reason: std::option::Option<std::string::String>,
/// <p>The ARNs of the Amazon Simple Notification Service (Amazon SNS) topics that will be
/// associated with the stack if you execute the change set.</p>
pub notification_ar_ns: std::option::Option<std::vec::Vec<std::string::String>>,
/// <p>The rollback triggers for CloudFormation to monitor during stack creation and
/// updating operations, and for the specified monitoring period afterwards.</p>
pub rollback_configuration: std::option::Option<crate::model::RollbackConfiguration>,
/// <p>If you execute the change set, the list of capabilities that were explicitly
/// acknowledged when the change set was created.</p>
pub capabilities: std::option::Option<std::vec::Vec<crate::model::Capability>>,
/// <p>If you execute the change set, the tags that will be associated with the
/// stack.</p>
pub tags: std::option::Option<std::vec::Vec<crate::model::Tag>>,
/// <p>A list of <code>Change</code> structures that describes the resources
/// CloudFormation changes if you execute the change set.</p>
pub changes: std::option::Option<std::vec::Vec<crate::model::Change>>,
/// <p>If the output exceeds 1 MB, a string that identifies the next page of changes. If
/// there is no additional page, this value is null.</p>
pub next_token: std::option::Option<std::string::String>,
/// <p>Verifies if <code>IncludeNestedStacks</code> is set to <code>True</code>.</p>
pub include_nested_stacks: std::option::Option<bool>,
/// <p>Specifies the change set ID of the parent change set in the current nested change set
/// hierarchy.</p>
pub parent_change_set_id: std::option::Option<std::string::String>,
/// <p>Specifies the change set ID of the root change set in the current nested change set
/// hierarchy.</p>
pub root_change_set_id: std::option::Option<std::string::String>,
}
impl std::fmt::Debug for DescribeChangeSetOutput {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut formatter = f.debug_struct("DescribeChangeSetOutput");
formatter.field("change_set_name", &self.change_set_name);
formatter.field("change_set_id", &self.change_set_id);
formatter.field("stack_id", &self.stack_id);
formatter.field("stack_name", &self.stack_name);
formatter.field("description", &self.description);
formatter.field("parameters", &self.parameters);
formatter.field("creation_time", &self.creation_time);
formatter.field("execution_status", &self.execution_status);
formatter.field("status", &self.status);
formatter.field("status_reason", &self.status_reason);
formatter.field("notification_ar_ns", &self.notification_ar_ns);
formatter.field("rollback_configuration", &self.rollback_configuration);
formatter.field("capabilities", &self.capabilities);
formatter.field("tags", &self.tags);
formatter.field("changes", &self.changes);
formatter.field("next_token", &self.next_token);
formatter.field("include_nested_stacks", &self.include_nested_stacks);
formatter.field("parent_change_set_id", &self.parent_change_set_id);
formatter.field("root_change_set_id", &self.root_change_set_id);
formatter.finish()
}
}
/// See [`DescribeChangeSetOutput`](crate::output::DescribeChangeSetOutput)
pub mod describe_change_set_output {
/// A builder for [`DescribeChangeSetOutput`](crate::output::DescribeChangeSetOutput)
#[non_exhaustive]
#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct Builder {
pub(crate) change_set_name: std::option::Option<std::string::String>,
pub(crate) change_set_id: std::option::Option<std::string::String>,
pub(crate) stack_id: std::option::Option<std::string::String>,
pub(crate) stack_name: std::option::Option<std::string::String>,
pub(crate) description: std::option::Option<std::string::String>,
pub(crate) parameters: std::option::Option<std::vec::Vec<crate::model::Parameter>>,
pub(crate) creation_time: std::option::Option<aws_smithy_types::Instant>,
pub(crate) execution_status: std::option::Option<crate::model::ExecutionStatus>,
pub(crate) status: std::option::Option<crate::model::ChangeSetStatus>,
pub(crate) status_reason: std::option::Option<std::string::String>,
pub(crate) notification_ar_ns: std::option::Option<std::vec::Vec<std::string::String>>,
pub(crate) rollback_configuration: std::option::Option<crate::model::RollbackConfiguration>,
pub(crate) capabilities: std::option::Option<std::vec::Vec<crate::model::Capability>>,
pub(crate) tags: std::option::Option<std::vec::Vec<crate::model::Tag>>,
pub(crate) changes: std::option::Option<std::vec::Vec<crate::model::Change>>,
pub(crate) next_token: std::option::Option<std::string::String>,
pub(crate) include_nested_stacks: std::option::Option<bool>,
pub(crate) parent_change_set_id: std::option::Option<std::string::String>,
pub(crate) root_change_set_id: std::option::Option<std::string::String>,
}
impl Builder {
/// <p>The name of the change set.</p>
pub fn change_set_name(mut self, input: impl Into<std::string::String>) -> Self {
self.change_set_name = Some(input.into());
self
}
/// <p>The name of the change set.</p>
pub fn set_change_set_name(
mut self,
input: std::option::Option<std::string::String>,
) -> Self {
self.change_set_name = input;
self
}
/// <p>The ARN of the change set.</p>
pub fn change_set_id(mut self, input: impl Into<std::string::String>) -> Self {
self.change_set_id = Some(input.into());
self
}
/// <p>The ARN of the change set.</p>
pub fn set_change_set_id(
mut self,
input: std::option::Option<std::string::String>,
) -> Self {
self.change_set_id = input;
self
}
/// <p>The ARN of the stack that is associated with the change set.</p>
pub fn stack_id(mut self, input: impl Into<std::string::String>) -> Self {
self.stack_id = Some(input.into());
self
}
/// <p>The ARN of the stack that is associated with the change set.</p>
pub fn set_stack_id(mut self, input: std::option::Option<std::string::String>) -> Self {
self.stack_id = input;
self
}
/// <p>The name of the stack that is associated with the change set.</p>
pub fn stack_name(mut self, input: impl Into<std::string::String>) -> Self {
self.stack_name = Some(input.into());
self
}
/// <p>The name of the stack that is associated with the change set.</p>
pub fn set_stack_name(mut self, input: std::option::Option<std::string::String>) -> Self {
self.stack_name = input;
self
}
/// <p>Information about the change set.</p>
pub fn description(mut self, input: impl Into<std::string::String>) -> Self {
self.description = Some(input.into());
self
}
/// <p>Information about the change set.</p>
pub fn set_description(mut self, input: std::option::Option<std::string::String>) -> Self {
self.description = input;
self
}
/// Appends an item to `parameters`.
///
/// To override the contents of this collection use [`set_parameters`](Self::set_parameters).
///
/// <p>A list of <code>Parameter</code> structures that describes the input parameters and
/// their values used to create the change set. For more information, see the <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_Parameter.html">Parameter</a> data type.</p>
pub fn parameters(mut self, input: impl Into<crate::model::Parameter>) -> Self {
let mut v = self.parameters.unwrap_or_default();
v.push(input.into());
self.parameters = Some(v);
self
}
/// <p>A list of <code>Parameter</code> structures that describes the input parameters and
/// their values used to create the change set. For more information, see the <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_Parameter.html">Parameter</a> data type.</p>
pub fn set_parameters(
mut self,
input: std::option::Option<std::vec::Vec<crate::model::Parameter>>,
) -> Self {
self.parameters = input;
self
}
/// <p>The start time when the change set was created, in UTC.</p>
pub fn creation_time(mut self, input: aws_smithy_types::Instant) -> Self {
self.creation_time = Some(input);
self
}
/// <p>The start time when the change set was created, in UTC.</p>
pub fn set_creation_time(
mut self,
input: std::option::Option<aws_smithy_types::Instant>,
) -> Self {
self.creation_time = input;
self
}
/// <p>If the change set execution status is <code>AVAILABLE</code>, you can execute the
/// change set. If you can’t execute the change set, the status indicates why. For example, a
/// change set might be in an <code>UNAVAILABLE</code> state because CloudFormation is
/// still creating it or in an <code>OBSOLETE</code> state because the stack was already
/// updated.</p>
pub fn execution_status(mut self, input: crate::model::ExecutionStatus) -> Self {
self.execution_status = Some(input);
self
}
/// <p>If the change set execution status is <code>AVAILABLE</code>, you can execute the
/// change set. If you can’t execute the change set, the status indicates why. For example, a
/// change set might be in an <code>UNAVAILABLE</code> state because CloudFormation is
/// still creating it or in an <code>OBSOLETE</code> state because the stack was already
/// updated.</p>
pub fn set_execution_status(
mut self,
input: std::option::Option<crate::model::ExecutionStatus>,
) -> Self {
self.execution_status = input;
self
}
/// <p>The current status of the change set, such as <code>CREATE_IN_PROGRESS</code>,
/// <code>CREATE_COMPLETE</code>, or <code>FAILED</code>.</p>
pub fn status(mut self, input: crate::model::ChangeSetStatus) -> Self {
self.status = Some(input);
self
}
/// <p>The current status of the change set, such as <code>CREATE_IN_PROGRESS</code>,
/// <code>CREATE_COMPLETE</code>, or <code>FAILED</code>.</p>
pub fn set_status(
mut self,
input: std::option::Option<crate::model::ChangeSetStatus>,
) -> Self {
self.status = input;
self
}
/// <p>A description of the change set's status. For example, if your attempt to create a
/// change set failed, CloudFormation shows the error message.</p>
pub fn status_reason(mut self, input: impl Into<std::string::String>) -> Self {
self.status_reason = Some(input.into());
self
}
/// <p>A description of the change set's status. For example, if your attempt to create a
/// change set failed, CloudFormation shows the error message.</p>
pub fn set_status_reason(
mut self,
input: std::option::Option<std::string::String>,
) -> Self {
self.status_reason = input;
self
}
/// Appends an item to `notification_ar_ns`.
///
/// To override the contents of this collection use [`set_notification_ar_ns`](Self::set_notification_ar_ns).
///
/// <p>The ARNs of the Amazon Simple Notification Service (Amazon SNS) topics that will be
/// associated with the stack if you execute the change set.</p>
pub fn notification_ar_ns(mut self, input: impl Into<std::string::String>) -> Self {
let mut v = self.notification_ar_ns.unwrap_or_default();
v.push(input.into());
self.notification_ar_ns = Some(v);
self
}
/// <p>The ARNs of the Amazon Simple Notification Service (Amazon SNS) topics that will be
/// associated with the stack if you execute the change set.</p>
pub fn set_notification_ar_ns(
mut self,
input: std::option::Option<std::vec::Vec<std::string::String>>,
) -> Self {
self.notification_ar_ns = input;
self
}
/// <p>The rollback triggers for CloudFormation to monitor during stack creation and
/// updating operations, and for the specified monitoring period afterwards.</p>
pub fn rollback_configuration(
mut self,
input: crate::model::RollbackConfiguration,
) -> Self {
self.rollback_configuration = Some(input);
self
}
/// <p>The rollback triggers for CloudFormation to monitor during stack creation and
/// updating operations, and for the specified monitoring period afterwards.</p>
pub fn set_rollback_configuration(
mut self,
input: std::option::Option<crate::model::RollbackConfiguration>,
) -> Self {
self.rollback_configuration = input;
self
}
/// Appends an item to `capabilities`.
///
/// To override the contents of this collection use [`set_capabilities`](Self::set_capabilities).
///
/// <p>If you execute the change set, the list of capabilities that were explicitly
/// acknowledged when the change set was created.</p>
pub fn capabilities(mut self, input: impl Into<crate::model::Capability>) -> Self {
let mut v = self.capabilities.unwrap_or_default();
v.push(input.into());
self.capabilities = Some(v);
self
}
/// <p>If you execute the change set, the list of capabilities that were explicitly
/// acknowledged when the change set was created.</p>
pub fn set_capabilities(
mut self,
input: std::option::Option<std::vec::Vec<crate::model::Capability>>,
) -> Self {
self.capabilities = input;
self
}
/// Appends an item to `tags`.
///
/// To override the contents of this collection use [`set_tags`](Self::set_tags).
///
/// <p>If you execute the change set, the tags that will be associated with the
/// stack.</p>
pub fn tags(mut self, input: impl Into<crate::model::Tag>) -> Self {
let mut v = self.tags.unwrap_or_default();
v.push(input.into());
self.tags = Some(v);
self
}
/// <p>If you execute the change set, the tags that will be associated with the
/// stack.</p>
pub fn set_tags(
mut self,
input: std::option::Option<std::vec::Vec<crate::model::Tag>>,
) -> Self {
self.tags = input;
self
}
/// Appends an item to `changes`.
///
/// To override the contents of this collection use [`set_changes`](Self::set_changes).
///
/// <p>A list of <code>Change</code> structures that describes the resources
/// CloudFormation changes if you execute the change set.</p>
pub fn changes(mut self, input: impl Into<crate::model::Change>) -> Self {
let mut v = self.changes.unwrap_or_default();
v.push(input.into());
self.changes = Some(v);
self
}
/// <p>A list of <code>Change</code> structures that describes the resources
/// CloudFormation changes if you execute the change set.</p>
pub fn set_changes(
mut self,
input: std::option::Option<std::vec::Vec<crate::model::Change>>,
) -> Self {
self.changes = input;
self
}
/// <p>If the output exceeds 1 MB, a string that identifies the next page of changes. If
/// there is no additional page, this value is null.</p>
pub fn next_token(mut self, input: impl Into<std::string::String>) -> Self {
self.next_token = Some(input.into());
self
}
/// <p>If the output exceeds 1 MB, a string that identifies the next page of changes. If
/// there is no additional page, this value is null.</p>
pub fn set_next_token(mut self, input: std::option::Option<std::string::String>) -> Self {
self.next_token = input;
self
}
/// <p>Verifies if <code>IncludeNestedStacks</code> is set to <code>True</code>.</p>
pub fn include_nested_stacks(mut self, input: bool) -> Self {
self.include_nested_stacks = Some(input);
self
}
/// <p>Verifies if <code>IncludeNestedStacks</code> is set to <code>True</code>.</p>
pub fn set_include_nested_stacks(mut self, input: std::option::Option<bool>) -> Self {
self.include_nested_stacks = input;
self
}
/// <p>Specifies the change set ID of the parent change set in the current nested change set
/// hierarchy.</p>
pub fn parent_change_set_id(mut self, input: impl Into<std::string::String>) -> Self {
self.parent_change_set_id = Some(input.into());
self
}
/// <p>Specifies the change set ID of the parent change set in the current nested change set
/// hierarchy.</p>
pub fn set_parent_change_set_id(
mut self,
input: std::option::Option<std::string::String>,
) -> Self {
self.parent_change_set_id = input;
self
}
/// <p>Specifies the change set ID of the root change set in the current nested change set
/// hierarchy.</p>
pub fn root_change_set_id(mut self, input: impl Into<std::string::String>) -> Self {
self.root_change_set_id = Some(input.into());
self
}
/// <p>Specifies the change set ID of the root change set in the current nested change set
/// hierarchy.</p>
pub fn set_root_change_set_id(
mut self,
input: std::option::Option<std::string::String>,
) -> Self {
self.root_change_set_id = input;
self
}
/// Consumes the builder and constructs a [`DescribeChangeSetOutput`](crate::output::DescribeChangeSetOutput)
pub fn build(self) -> crate::output::DescribeChangeSetOutput {
crate::output::DescribeChangeSetOutput {
change_set_name: self.change_set_name,
change_set_id: self.change_set_id,
stack_id: self.stack_id,
stack_name: self.stack_name,
description: self.description,
parameters: self.parameters,
creation_time: self.creation_time,
execution_status: self.execution_status,
status: self.status,
status_reason: self.status_reason,
notification_ar_ns: self.notification_ar_ns,
rollback_configuration: self.rollback_configuration,
capabilities: self.capabilities,
tags: self.tags,
changes: self.changes,
next_token: self.next_token,
include_nested_stacks: self.include_nested_stacks,
parent_change_set_id: self.parent_change_set_id,
root_change_set_id: self.root_change_set_id,
}
}
}
}
impl DescribeChangeSetOutput {
/// Creates a new builder-style object to manufacture [`DescribeChangeSetOutput`](crate::output::DescribeChangeSetOutput)
pub fn builder() -> crate::output::describe_change_set_output::Builder {
crate::output::describe_change_set_output::Builder::default()
}
}
/// <p>The output for the <a>DescribeAccountLimits</a> action.</p>
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct DescribeAccountLimitsOutput {
/// <p>An account limit structure that contain a list of CloudFormation account limits
/// and their values.</p>
pub account_limits: std::option::Option<std::vec::Vec<crate::model::AccountLimit>>,
/// <p>If the output exceeds 1 MB in size, a string that identifies the next page of limits.
/// If no additional page exists, this value is null.</p>
pub next_token: std::option::Option<std::string::String>,
}
impl std::fmt::Debug for DescribeAccountLimitsOutput {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut formatter = f.debug_struct("DescribeAccountLimitsOutput");
formatter.field("account_limits", &self.account_limits);
formatter.field("next_token", &self.next_token);
formatter.finish()
}
}
/// See [`DescribeAccountLimitsOutput`](crate::output::DescribeAccountLimitsOutput)
pub mod describe_account_limits_output {
/// A builder for [`DescribeAccountLimitsOutput`](crate::output::DescribeAccountLimitsOutput)
#[non_exhaustive]
#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct Builder {
pub(crate) account_limits: std::option::Option<std::vec::Vec<crate::model::AccountLimit>>,
pub(crate) next_token: std::option::Option<std::string::String>,
}
impl Builder {
/// Appends an item to `account_limits`.
///
/// To override the contents of this collection use [`set_account_limits`](Self::set_account_limits).
///
/// <p>An account limit structure that contain a list of CloudFormation account limits
/// and their values.</p>
pub fn account_limits(mut self, input: impl Into<crate::model::AccountLimit>) -> Self {
let mut v = self.account_limits.unwrap_or_default();
v.push(input.into());
self.account_limits = Some(v);
self
}
/// <p>An account limit structure that contain a list of CloudFormation account limits
/// and their values.</p>
pub fn set_account_limits(
mut self,
input: std::option::Option<std::vec::Vec<crate::model::AccountLimit>>,
) -> Self {
self.account_limits = input;
self
}
/// <p>If the output exceeds 1 MB in size, a string that identifies the next page of limits.
/// If no additional page exists, this value is null.</p>
pub fn next_token(mut self, input: impl Into<std::string::String>) -> Self {
self.next_token = Some(input.into());
self
}
/// <p>If the output exceeds 1 MB in size, a string that identifies the next page of limits.
/// If no additional page exists, this value is null.</p>
pub fn set_next_token(mut self, input: std::option::Option<std::string::String>) -> Self {
self.next_token = input;
self
}
/// Consumes the builder and constructs a [`DescribeAccountLimitsOutput`](crate::output::DescribeAccountLimitsOutput)
pub fn build(self) -> crate::output::DescribeAccountLimitsOutput {
crate::output::DescribeAccountLimitsOutput {
account_limits: self.account_limits,
next_token: self.next_token,
}
}
}
}
impl DescribeAccountLimitsOutput {
/// Creates a new builder-style object to manufacture [`DescribeAccountLimitsOutput`](crate::output::DescribeAccountLimitsOutput)
pub fn builder() -> crate::output::describe_account_limits_output::Builder {
crate::output::describe_account_limits_output::Builder::default()
}
}
#[allow(missing_docs)] // documentation missing in model
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct DeregisterTypeOutput {}
impl std::fmt::Debug for DeregisterTypeOutput {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut formatter = f.debug_struct("DeregisterTypeOutput");
formatter.finish()
}
}
/// See [`DeregisterTypeOutput`](crate::output::DeregisterTypeOutput)
pub mod deregister_type_output {
/// A builder for [`DeregisterTypeOutput`](crate::output::DeregisterTypeOutput)
#[non_exhaustive]
#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct Builder {}
impl Builder {
/// Consumes the builder and constructs a [`DeregisterTypeOutput`](crate::output::DeregisterTypeOutput)
pub fn build(self) -> crate::output::DeregisterTypeOutput {
crate::output::DeregisterTypeOutput {}
}
}
}
impl DeregisterTypeOutput {
/// Creates a new builder-style object to manufacture [`DeregisterTypeOutput`](crate::output::DeregisterTypeOutput)
pub fn builder() -> crate::output::deregister_type_output::Builder {
crate::output::deregister_type_output::Builder::default()
}
}
#[allow(missing_docs)] // documentation missing in model
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct DeleteStackSetOutput {}
impl std::fmt::Debug for DeleteStackSetOutput {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut formatter = f.debug_struct("DeleteStackSetOutput");
formatter.finish()
}
}
/// See [`DeleteStackSetOutput`](crate::output::DeleteStackSetOutput)
pub mod delete_stack_set_output {
/// A builder for [`DeleteStackSetOutput`](crate::output::DeleteStackSetOutput)
#[non_exhaustive]
#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct Builder {}
impl Builder {
/// Consumes the builder and constructs a [`DeleteStackSetOutput`](crate::output::DeleteStackSetOutput)
pub fn build(self) -> crate::output::DeleteStackSetOutput {
crate::output::DeleteStackSetOutput {}
}
}
}
impl DeleteStackSetOutput {
/// Creates a new builder-style object to manufacture [`DeleteStackSetOutput`](crate::output::DeleteStackSetOutput)
pub fn builder() -> crate::output::delete_stack_set_output::Builder {
crate::output::delete_stack_set_output::Builder::default()
}
}
#[allow(missing_docs)] // documentation missing in model
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct DeleteStackInstancesOutput {
/// <p>The unique identifier for this stack set operation.</p>
pub operation_id: std::option::Option<std::string::String>,
}
impl std::fmt::Debug for DeleteStackInstancesOutput {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut formatter = f.debug_struct("DeleteStackInstancesOutput");
formatter.field("operation_id", &self.operation_id);
formatter.finish()
}
}
/// See [`DeleteStackInstancesOutput`](crate::output::DeleteStackInstancesOutput)
pub mod delete_stack_instances_output {
/// A builder for [`DeleteStackInstancesOutput`](crate::output::DeleteStackInstancesOutput)
#[non_exhaustive]
#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct Builder {
pub(crate) operation_id: std::option::Option<std::string::String>,
}
impl Builder {
/// <p>The unique identifier for this stack set operation.</p>
pub fn operation_id(mut self, input: impl Into<std::string::String>) -> Self {
self.operation_id = Some(input.into());
self
}
/// <p>The unique identifier for this stack set operation.</p>
pub fn set_operation_id(mut self, input: std::option::Option<std::string::String>) -> Self {
self.operation_id = input;
self
}
/// Consumes the builder and constructs a [`DeleteStackInstancesOutput`](crate::output::DeleteStackInstancesOutput)
pub fn build(self) -> crate::output::DeleteStackInstancesOutput {
crate::output::DeleteStackInstancesOutput {
operation_id: self.operation_id,
}
}
}
}
impl DeleteStackInstancesOutput {
/// Creates a new builder-style object to manufacture [`DeleteStackInstancesOutput`](crate::output::DeleteStackInstancesOutput)
pub fn builder() -> crate::output::delete_stack_instances_output::Builder {
crate::output::delete_stack_instances_output::Builder::default()
}
}
#[allow(missing_docs)] // documentation missing in model
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct DeleteStackOutput {}
impl std::fmt::Debug for DeleteStackOutput {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut formatter = f.debug_struct("DeleteStackOutput");
formatter.finish()
}
}
/// See [`DeleteStackOutput`](crate::output::DeleteStackOutput)
pub mod delete_stack_output {
/// A builder for [`DeleteStackOutput`](crate::output::DeleteStackOutput)
#[non_exhaustive]
#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct Builder {}
impl Builder {
/// Consumes the builder and constructs a [`DeleteStackOutput`](crate::output::DeleteStackOutput)
pub fn build(self) -> crate::output::DeleteStackOutput {
crate::output::DeleteStackOutput {}
}
}
}
impl DeleteStackOutput {
/// Creates a new builder-style object to manufacture [`DeleteStackOutput`](crate::output::DeleteStackOutput)
pub fn builder() -> crate::output::delete_stack_output::Builder {
crate::output::delete_stack_output::Builder::default()
}
}
/// <p>The output for the <a>DeleteChangeSet</a> action.</p>
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct DeleteChangeSetOutput {}
impl std::fmt::Debug for DeleteChangeSetOutput {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut formatter = f.debug_struct("DeleteChangeSetOutput");
formatter.finish()
}
}
/// See [`DeleteChangeSetOutput`](crate::output::DeleteChangeSetOutput)
pub mod delete_change_set_output {
/// A builder for [`DeleteChangeSetOutput`](crate::output::DeleteChangeSetOutput)
#[non_exhaustive]
#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct Builder {}
impl Builder {
/// Consumes the builder and constructs a [`DeleteChangeSetOutput`](crate::output::DeleteChangeSetOutput)
pub fn build(self) -> crate::output::DeleteChangeSetOutput {
crate::output::DeleteChangeSetOutput {}
}
}
}
impl DeleteChangeSetOutput {
/// Creates a new builder-style object to manufacture [`DeleteChangeSetOutput`](crate::output::DeleteChangeSetOutput)
pub fn builder() -> crate::output::delete_change_set_output::Builder {
crate::output::delete_change_set_output::Builder::default()
}
}
#[allow(missing_docs)] // documentation missing in model
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct DeactivateTypeOutput {}
impl std::fmt::Debug for DeactivateTypeOutput {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut formatter = f.debug_struct("DeactivateTypeOutput");
formatter.finish()
}
}
/// See [`DeactivateTypeOutput`](crate::output::DeactivateTypeOutput)
pub mod deactivate_type_output {
/// A builder for [`DeactivateTypeOutput`](crate::output::DeactivateTypeOutput)
#[non_exhaustive]
#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct Builder {}
impl Builder {
/// Consumes the builder and constructs a [`DeactivateTypeOutput`](crate::output::DeactivateTypeOutput)
pub fn build(self) -> crate::output::DeactivateTypeOutput {
crate::output::DeactivateTypeOutput {}
}
}
}
impl DeactivateTypeOutput {
/// Creates a new builder-style object to manufacture [`DeactivateTypeOutput`](crate::output::DeactivateTypeOutput)
pub fn builder() -> crate::output::deactivate_type_output::Builder {
crate::output::deactivate_type_output::Builder::default()
}
}
#[allow(missing_docs)] // documentation missing in model
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct CreateStackSetOutput {
/// <p>The ID of the stack set that you're creating.</p>
pub stack_set_id: std::option::Option<std::string::String>,
}
impl std::fmt::Debug for CreateStackSetOutput {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut formatter = f.debug_struct("CreateStackSetOutput");
formatter.field("stack_set_id", &self.stack_set_id);
formatter.finish()
}
}
/// See [`CreateStackSetOutput`](crate::output::CreateStackSetOutput)
pub mod create_stack_set_output {
/// A builder for [`CreateStackSetOutput`](crate::output::CreateStackSetOutput)
#[non_exhaustive]
#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct Builder {
pub(crate) stack_set_id: std::option::Option<std::string::String>,
}
impl Builder {
/// <p>The ID of the stack set that you're creating.</p>
pub fn stack_set_id(mut self, input: impl Into<std::string::String>) -> Self {
self.stack_set_id = Some(input.into());
self
}
/// <p>The ID of the stack set that you're creating.</p>
pub fn set_stack_set_id(mut self, input: std::option::Option<std::string::String>) -> Self {
self.stack_set_id = input;
self
}
/// Consumes the builder and constructs a [`CreateStackSetOutput`](crate::output::CreateStackSetOutput)
pub fn build(self) -> crate::output::CreateStackSetOutput {
crate::output::CreateStackSetOutput {
stack_set_id: self.stack_set_id,
}
}
}
}
impl CreateStackSetOutput {
/// Creates a new builder-style object to manufacture [`CreateStackSetOutput`](crate::output::CreateStackSetOutput)
pub fn builder() -> crate::output::create_stack_set_output::Builder {
crate::output::create_stack_set_output::Builder::default()
}
}
#[allow(missing_docs)] // documentation missing in model
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct CreateStackInstancesOutput {
/// <p>The unique identifier for this stack set operation.</p>
pub operation_id: std::option::Option<std::string::String>,
}
impl std::fmt::Debug for CreateStackInstancesOutput {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut formatter = f.debug_struct("CreateStackInstancesOutput");
formatter.field("operation_id", &self.operation_id);
formatter.finish()
}
}
/// See [`CreateStackInstancesOutput`](crate::output::CreateStackInstancesOutput)
pub mod create_stack_instances_output {
/// A builder for [`CreateStackInstancesOutput`](crate::output::CreateStackInstancesOutput)
#[non_exhaustive]
#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct Builder {
pub(crate) operation_id: std::option::Option<std::string::String>,
}
impl Builder {
/// <p>The unique identifier for this stack set operation.</p>
pub fn operation_id(mut self, input: impl Into<std::string::String>) -> Self {
self.operation_id = Some(input.into());
self
}
/// <p>The unique identifier for this stack set operation.</p>
pub fn set_operation_id(mut self, input: std::option::Option<std::string::String>) -> Self {
self.operation_id = input;
self
}
/// Consumes the builder and constructs a [`CreateStackInstancesOutput`](crate::output::CreateStackInstancesOutput)
pub fn build(self) -> crate::output::CreateStackInstancesOutput {
crate::output::CreateStackInstancesOutput {
operation_id: self.operation_id,
}
}
}
}
impl CreateStackInstancesOutput {
/// Creates a new builder-style object to manufacture [`CreateStackInstancesOutput`](crate::output::CreateStackInstancesOutput)
pub fn builder() -> crate::output::create_stack_instances_output::Builder {
crate::output::create_stack_instances_output::Builder::default()
}
}
/// <p>The output for a <a>CreateStack</a> action.</p>
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct CreateStackOutput {
/// <p>Unique identifier of the stack.</p>
pub stack_id: std::option::Option<std::string::String>,
}
impl std::fmt::Debug for CreateStackOutput {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut formatter = f.debug_struct("CreateStackOutput");
formatter.field("stack_id", &self.stack_id);
formatter.finish()
}
}
/// See [`CreateStackOutput`](crate::output::CreateStackOutput)
pub mod create_stack_output {
/// A builder for [`CreateStackOutput`](crate::output::CreateStackOutput)
#[non_exhaustive]
#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct Builder {
pub(crate) stack_id: std::option::Option<std::string::String>,
}
impl Builder {
/// <p>Unique identifier of the stack.</p>
pub fn stack_id(mut self, input: impl Into<std::string::String>) -> Self {
self.stack_id = Some(input.into());
self
}
/// <p>Unique identifier of the stack.</p>
pub fn set_stack_id(mut self, input: std::option::Option<std::string::String>) -> Self {
self.stack_id = input;
self
}
/// Consumes the builder and constructs a [`CreateStackOutput`](crate::output::CreateStackOutput)
pub fn build(self) -> crate::output::CreateStackOutput {
crate::output::CreateStackOutput {
stack_id: self.stack_id,
}
}
}
}
impl CreateStackOutput {
/// Creates a new builder-style object to manufacture [`CreateStackOutput`](crate::output::CreateStackOutput)
pub fn builder() -> crate::output::create_stack_output::Builder {
crate::output::create_stack_output::Builder::default()
}
}
/// <p>The output for the <a>CreateChangeSet</a> action.</p>
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct CreateChangeSetOutput {
/// <p>The Amazon Resource Name (ARN) of the change set.</p>
pub id: std::option::Option<std::string::String>,
/// <p>The unique ID of the stack.</p>
pub stack_id: std::option::Option<std::string::String>,
}
impl std::fmt::Debug for CreateChangeSetOutput {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut formatter = f.debug_struct("CreateChangeSetOutput");
formatter.field("id", &self.id);
formatter.field("stack_id", &self.stack_id);
formatter.finish()
}
}
/// See [`CreateChangeSetOutput`](crate::output::CreateChangeSetOutput)
pub mod create_change_set_output {
/// A builder for [`CreateChangeSetOutput`](crate::output::CreateChangeSetOutput)
#[non_exhaustive]
#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct Builder {
pub(crate) id: std::option::Option<std::string::String>,
pub(crate) stack_id: std::option::Option<std::string::String>,
}
impl Builder {
/// <p>The Amazon Resource Name (ARN) of the change set.</p>
pub fn id(mut self, input: impl Into<std::string::String>) -> Self {
self.id = Some(input.into());
self
}
/// <p>The Amazon Resource Name (ARN) of the change set.</p>
pub fn set_id(mut self, input: std::option::Option<std::string::String>) -> Self {
self.id = input;
self
}
/// <p>The unique ID of the stack.</p>
pub fn stack_id(mut self, input: impl Into<std::string::String>) -> Self {
self.stack_id = Some(input.into());
self
}
/// <p>The unique ID of the stack.</p>
pub fn set_stack_id(mut self, input: std::option::Option<std::string::String>) -> Self {
self.stack_id = input;
self
}
/// Consumes the builder and constructs a [`CreateChangeSetOutput`](crate::output::CreateChangeSetOutput)
pub fn build(self) -> crate::output::CreateChangeSetOutput {
crate::output::CreateChangeSetOutput {
id: self.id,
stack_id: self.stack_id,
}
}
}
}
impl CreateChangeSetOutput {
/// Creates a new builder-style object to manufacture [`CreateChangeSetOutput`](crate::output::CreateChangeSetOutput)
pub fn builder() -> crate::output::create_change_set_output::Builder {
crate::output::create_change_set_output::Builder::default()
}
}
/// <p>The output for a <a>ContinueUpdateRollback</a> action.</p>
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct ContinueUpdateRollbackOutput {}
impl std::fmt::Debug for ContinueUpdateRollbackOutput {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut formatter = f.debug_struct("ContinueUpdateRollbackOutput");
formatter.finish()
}
}
/// See [`ContinueUpdateRollbackOutput`](crate::output::ContinueUpdateRollbackOutput)
pub mod continue_update_rollback_output {
/// A builder for [`ContinueUpdateRollbackOutput`](crate::output::ContinueUpdateRollbackOutput)
#[non_exhaustive]
#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct Builder {}
impl Builder {
/// Consumes the builder and constructs a [`ContinueUpdateRollbackOutput`](crate::output::ContinueUpdateRollbackOutput)
pub fn build(self) -> crate::output::ContinueUpdateRollbackOutput {
crate::output::ContinueUpdateRollbackOutput {}
}
}
}
impl ContinueUpdateRollbackOutput {
/// Creates a new builder-style object to manufacture [`ContinueUpdateRollbackOutput`](crate::output::ContinueUpdateRollbackOutput)
pub fn builder() -> crate::output::continue_update_rollback_output::Builder {
crate::output::continue_update_rollback_output::Builder::default()
}
}
#[allow(missing_docs)] // documentation missing in model
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct CancelUpdateStackOutput {}
impl std::fmt::Debug for CancelUpdateStackOutput {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut formatter = f.debug_struct("CancelUpdateStackOutput");
formatter.finish()
}
}
/// See [`CancelUpdateStackOutput`](crate::output::CancelUpdateStackOutput)
pub mod cancel_update_stack_output {
/// A builder for [`CancelUpdateStackOutput`](crate::output::CancelUpdateStackOutput)
#[non_exhaustive]
#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct Builder {}
impl Builder {
/// Consumes the builder and constructs a [`CancelUpdateStackOutput`](crate::output::CancelUpdateStackOutput)
pub fn build(self) -> crate::output::CancelUpdateStackOutput {
crate::output::CancelUpdateStackOutput {}
}
}
}
impl CancelUpdateStackOutput {
/// Creates a new builder-style object to manufacture [`CancelUpdateStackOutput`](crate::output::CancelUpdateStackOutput)
pub fn builder() -> crate::output::cancel_update_stack_output::Builder {
crate::output::cancel_update_stack_output::Builder::default()
}
}
#[allow(missing_docs)] // documentation missing in model
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct BatchDescribeTypeConfigurationsOutput {
/// <p>A list of information concerning any errors generated during the setting of the
/// specified configurations.</p>
pub errors:
std::option::Option<std::vec::Vec<crate::model::BatchDescribeTypeConfigurationsError>>,
/// <p>A list of any of the specified extension configurations that CloudFormation could not
/// process for any reason.</p>
pub unprocessed_type_configurations:
std::option::Option<std::vec::Vec<crate::model::TypeConfigurationIdentifier>>,
/// <p>A list of any of the specified extension configurations from the CloudFormation
/// registry.</p>
pub type_configurations:
std::option::Option<std::vec::Vec<crate::model::TypeConfigurationDetails>>,
}
impl std::fmt::Debug for BatchDescribeTypeConfigurationsOutput {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut formatter = f.debug_struct("BatchDescribeTypeConfigurationsOutput");
formatter.field("errors", &self.errors);
formatter.field(
"unprocessed_type_configurations",
&self.unprocessed_type_configurations,
);
formatter.field("type_configurations", &self.type_configurations);
formatter.finish()
}
}
/// See [`BatchDescribeTypeConfigurationsOutput`](crate::output::BatchDescribeTypeConfigurationsOutput)
pub mod batch_describe_type_configurations_output {
/// A builder for [`BatchDescribeTypeConfigurationsOutput`](crate::output::BatchDescribeTypeConfigurationsOutput)
#[non_exhaustive]
#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct Builder {
pub(crate) errors:
std::option::Option<std::vec::Vec<crate::model::BatchDescribeTypeConfigurationsError>>,
pub(crate) unprocessed_type_configurations:
std::option::Option<std::vec::Vec<crate::model::TypeConfigurationIdentifier>>,
pub(crate) type_configurations:
std::option::Option<std::vec::Vec<crate::model::TypeConfigurationDetails>>,
}
impl Builder {
/// Appends an item to `errors`.
///
/// To override the contents of this collection use [`set_errors`](Self::set_errors).
///
/// <p>A list of information concerning any errors generated during the setting of the
/// specified configurations.</p>
pub fn errors(
mut self,
input: impl Into<crate::model::BatchDescribeTypeConfigurationsError>,
) -> Self {
let mut v = self.errors.unwrap_or_default();
v.push(input.into());
self.errors = Some(v);
self
}
/// <p>A list of information concerning any errors generated during the setting of the
/// specified configurations.</p>
pub fn set_errors(
mut self,
input: std::option::Option<
std::vec::Vec<crate::model::BatchDescribeTypeConfigurationsError>,
>,
) -> Self {
self.errors = input;
self
}
/// Appends an item to `unprocessed_type_configurations`.
///
/// To override the contents of this collection use [`set_unprocessed_type_configurations`](Self::set_unprocessed_type_configurations).
///
/// <p>A list of any of the specified extension configurations that CloudFormation could not
/// process for any reason.</p>
pub fn unprocessed_type_configurations(
mut self,
input: impl Into<crate::model::TypeConfigurationIdentifier>,
) -> Self {
let mut v = self.unprocessed_type_configurations.unwrap_or_default();
v.push(input.into());
self.unprocessed_type_configurations = Some(v);
self
}
/// <p>A list of any of the specified extension configurations that CloudFormation could not
/// process for any reason.</p>
pub fn set_unprocessed_type_configurations(
mut self,
input: std::option::Option<std::vec::Vec<crate::model::TypeConfigurationIdentifier>>,
) -> Self {
self.unprocessed_type_configurations = input;
self
}
/// Appends an item to `type_configurations`.
///
/// To override the contents of this collection use [`set_type_configurations`](Self::set_type_configurations).
///
/// <p>A list of any of the specified extension configurations from the CloudFormation
/// registry.</p>
pub fn type_configurations(
mut self,
input: impl Into<crate::model::TypeConfigurationDetails>,
) -> Self {
let mut v = self.type_configurations.unwrap_or_default();
v.push(input.into());
self.type_configurations = Some(v);
self
}
/// <p>A list of any of the specified extension configurations from the CloudFormation
/// registry.</p>
pub fn set_type_configurations(
mut self,
input: std::option::Option<std::vec::Vec<crate::model::TypeConfigurationDetails>>,
) -> Self {
self.type_configurations = input;
self
}
/// Consumes the builder and constructs a [`BatchDescribeTypeConfigurationsOutput`](crate::output::BatchDescribeTypeConfigurationsOutput)
pub fn build(self) -> crate::output::BatchDescribeTypeConfigurationsOutput {
crate::output::BatchDescribeTypeConfigurationsOutput {
errors: self.errors,
unprocessed_type_configurations: self.unprocessed_type_configurations,
type_configurations: self.type_configurations,
}
}
}
}
impl BatchDescribeTypeConfigurationsOutput {
/// Creates a new builder-style object to manufacture [`BatchDescribeTypeConfigurationsOutput`](crate::output::BatchDescribeTypeConfigurationsOutput)
pub fn builder() -> crate::output::batch_describe_type_configurations_output::Builder {
crate::output::batch_describe_type_configurations_output::Builder::default()
}
}
#[allow(missing_docs)] // documentation missing in model
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct ActivateTypeOutput {
/// <p>The Amazon Resource Number (ARN) of the activated extension, in this account and
/// region.</p>
pub arn: std::option::Option<std::string::String>,
}
impl std::fmt::Debug for ActivateTypeOutput {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut formatter = f.debug_struct("ActivateTypeOutput");
formatter.field("arn", &self.arn);
formatter.finish()
}
}
/// See [`ActivateTypeOutput`](crate::output::ActivateTypeOutput)
pub mod activate_type_output {
/// A builder for [`ActivateTypeOutput`](crate::output::ActivateTypeOutput)
#[non_exhaustive]
#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct Builder {
pub(crate) arn: std::option::Option<std::string::String>,
}
impl Builder {
/// <p>The Amazon Resource Number (ARN) of the activated extension, in this account and
/// region.</p>
pub fn arn(mut self, input: impl Into<std::string::String>) -> Self {
self.arn = Some(input.into());
self
}
/// <p>The Amazon Resource Number (ARN) of the activated extension, in this account and
/// region.</p>
pub fn set_arn(mut self, input: std::option::Option<std::string::String>) -> Self {
self.arn = input;
self
}
/// Consumes the builder and constructs a [`ActivateTypeOutput`](crate::output::ActivateTypeOutput)
pub fn build(self) -> crate::output::ActivateTypeOutput {
crate::output::ActivateTypeOutput { arn: self.arn }
}
}
}
impl ActivateTypeOutput {
/// Creates a new builder-style object to manufacture [`ActivateTypeOutput`](crate::output::ActivateTypeOutput)
pub fn builder() -> crate::output::activate_type_output::Builder {
crate::output::activate_type_output::Builder::default()
}
}