package awso-async
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
AWS client for Async (400+ services, auto-generated from botocore)
Install
dune-project
Dependency
Authors
Maintainers
Sources
awso-0.9.0.tbz
sha256=47224890900b1f5d2bd717000a02fa8918f92eafa99f702f7d59a1b053ff8e95
sha512=e187288f7c8fccb221f5417671732c8c8de95cdbacba1514db592b5700df2293468bde07956539bd44f3d460f6c75d38bd66ca161d0eae68a8b1b4e081882367
doc/src/awso-async.cloudformation/cli.ml.html
Source file cli.ml
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(* generated by: awso-codegen generate-all --botocore-data vendor/botocore/botocore/data -o aws --runtime-dir lib/runtime/awso --cli-dir awso-cli *) open Core open Async let json_arg = Command.Arg_type.create Yojson.Safe.from_string let call ?endpoint_url ?profile ?region f m result_to_json error_to_json = let region = match region with | Some region -> Some (Awso.Region.of_string region) | None -> None in (Awso_async.Cfg.get_exn ?profile ?region ()) >>= (fun cfg -> (f ?endpoint_url ?cfg:(Some cfg) m) >>= (fun result -> match result with | Error err -> (match error_to_json with | None -> failwithf "endpoint error, but no error values defined in boto" () | Some to_json -> let s = (err |> to_json) |> Yojson.Safe.to_string in failwithf "AWS error: %s" s ()) | Ok result -> ((match result_to_json with | None -> print_endline "ok response from endpoint" | Some to_json -> ((result |> to_json) |> Yojson.Safe.to_string) |> print_endline); return ()))) let activate_organizations_access = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and () = return () in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.activate_organizations_access (Values.ActivateOrganizationsAccessInput.make ()) (Some Values.ActivateOrganizationsAccessOutput.to_json) (Some Values.ActivateOrganizationsAccessOutput.error_to_json)]) let activate_type = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and type_ = flag "type-" (optional json_arg) ~doc:"JSON ThirdPartyType" and publicTypeArn = flag "public-type-arn" (optional string) ~doc:"STRING ThirdPartyTypeArn" and publisherId = flag "publisher-id" (optional string) ~doc:"STRING PublisherId" and typeName = flag "type-name" (optional string) ~doc:"STRING TypeName" and typeNameAlias = flag "type-name-alias" (optional string) ~doc:"STRING TypeName" and autoUpdate = flag "auto-update" (optional bool) ~doc:"BOOL AutoUpdate" and loggingConfig = flag "logging-config" (optional json_arg) ~doc:"JSON LoggingConfig" and executionRoleArn = flag "execution-role-arn" (optional string) ~doc:"STRING RoleArn" and versionBump = flag "version-bump" (optional json_arg) ~doc:"JSON VersionBump" and majorVersion = flag "major-version" (optional json_arg) ~doc:"JSON MajorVersion" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.activate_type (Values.ActivateTypeInput.make ?type_:(Option.map ~f:Values.ThirdPartyType.of_json type_) ?publicTypeArn ?publisherId ?typeName ?typeNameAlias ?autoUpdate ?loggingConfig:(Option.map ~f:Values.LoggingConfig.of_json loggingConfig) ?executionRoleArn ?versionBump:(Option.map ~f:Values.VersionBump.of_json versionBump) ?majorVersion:(Option.map ~f:Values.MajorVersion.of_json majorVersion) ()) (Some Values.ActivateTypeOutput.to_json) (Some Values.ActivateTypeOutput.error_to_json)]) let batch_describe_type_configurations = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and typeConfigurationIdentifiers = flag "type-configuration-identifiers" (required json_arg) ~doc:"JSON TypeConfigurationIdentifiers" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.batch_describe_type_configurations (Values.BatchDescribeTypeConfigurationsInput.make ~typeConfigurationIdentifiers:(Values.TypeConfigurationIdentifiers.of_json typeConfigurationIdentifiers) ()) (Some Values.BatchDescribeTypeConfigurationsOutput.to_json) (Some Values.BatchDescribeTypeConfigurationsOutput.error_to_json)]) let cancel_update_stack = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and clientRequestToken = flag "client-request-token" (optional string) ~doc:"STRING ClientRequestToken" and stackName = flag "stack-name" (required string) ~doc:"STRING StackName" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.cancel_update_stack (Values.CancelUpdateStackInput.make ?clientRequestToken ~stackName ()) None None]) let continue_update_rollback = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and roleARN = flag "role-a-r-n" (optional string) ~doc:"STRING RoleARN" and resourcesToSkip = flag "resources-to-skip" (optional json_arg) ~doc:"JSON ResourcesToSkip" and clientRequestToken = flag "client-request-token" (optional string) ~doc:"STRING ClientRequestToken" and stackName = flag "stack-name" (required string) ~doc:"STRING StackNameOrId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.continue_update_rollback (Values.ContinueUpdateRollbackInput.make ?roleARN ?resourcesToSkip:(Option.map ~f:Values.ResourcesToSkip.of_json resourcesToSkip) ?clientRequestToken ~stackName ()) (Some Values.ContinueUpdateRollbackOutput.to_json) (Some Values.ContinueUpdateRollbackOutput.error_to_json)]) let create_change_set = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and templateBody = flag "template-body" (optional string) ~doc:"STRING TemplateBody" and templateURL = flag "template-u-r-l" (optional string) ~doc:"STRING TemplateURL" and usePreviousTemplate = flag "use-previous-template" (optional bool) ~doc:"BOOL UsePreviousTemplate" and parameters = flag "parameters" (optional json_arg) ~doc:"JSON Parameters" and capabilities = flag "capabilities" (optional json_arg) ~doc:"JSON Capabilities" and resourceTypes = flag "resource-types" (optional json_arg) ~doc:"JSON ResourceTypes" and roleARN = flag "role-a-r-n" (optional string) ~doc:"STRING RoleARN" and rollbackConfiguration = flag "rollback-configuration" (optional json_arg) ~doc:"JSON RollbackConfiguration" and notificationARNs = flag "notification-a-r-ns" (optional json_arg) ~doc:"JSON NotificationARNs" and = flag "tags" (optional json_arg) ~doc:"JSON Tags" and clientToken = flag "client-token" (optional string) ~doc:"STRING ClientToken" and description = flag "description" (optional string) ~doc:"STRING Description" and changeSetType = flag "change-set-type" (optional json_arg) ~doc:"JSON ChangeSetType" and resourcesToImport = flag "resources-to-import" (optional json_arg) ~doc:"JSON ResourcesToImport" and includeNestedStacks = flag "include-nested-stacks" (optional bool) ~doc:"BOOL IncludeNestedStacks" and onStackFailure = flag "on-stack-failure" (optional json_arg) ~doc:"JSON OnStackFailure" and importExistingResources = flag "import-existing-resources" (optional bool) ~doc:"BOOL ImportExistingResources" and deploymentMode = flag "deployment-mode" (optional json_arg) ~doc:"JSON DeploymentMode" and stackName = flag "stack-name" (required string) ~doc:"STRING StackNameOrId" and changeSetName = flag "change-set-name" (required string) ~doc:"STRING ChangeSetName" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.create_change_set (Values.CreateChangeSetInput.make ?templateBody ?templateURL ?usePreviousTemplate ?parameters:(Option.map ~f:Values.Parameters.of_json parameters) ?capabilities:(Option.map ~f:Values.Capabilities.of_json capabilities) ?resourceTypes:(Option.map ~f:Values.ResourceTypes.of_json resourceTypes) ?roleARN ?rollbackConfiguration:(Option.map ~f:Values.RollbackConfiguration.of_json rollbackConfiguration) ?notificationARNs:(Option.map ~f:Values.NotificationARNs.of_json notificationARNs) ?tags:(Option.map ~f:Values.Tags.of_json tags) ?clientToken ?description ?changeSetType:(Option.map ~f:Values.ChangeSetType.of_json changeSetType) ?resourcesToImport:(Option.map ~f:Values.ResourcesToImport.of_json resourcesToImport) ?includeNestedStacks ?onStackFailure:(Option.map ~f:Values.OnStackFailure.of_json onStackFailure) ?importExistingResources ?deploymentMode:(Option.map ~f:Values.DeploymentMode.of_json deploymentMode) ~stackName ~changeSetName ()) (Some Values.CreateChangeSetOutput.to_json) (Some Values.CreateChangeSetOutput.error_to_json)]) let create_generated_template = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and resources = flag "resources" (optional json_arg) ~doc:"JSON ResourceDefinitions" and stackName = flag "stack-name" (optional string) ~doc:"STRING StackName" and templateConfiguration = flag "template-configuration" (optional json_arg) ~doc:"JSON TemplateConfiguration" and generatedTemplateName = flag "generated-template-name" (required string) ~doc:"STRING GeneratedTemplateName" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.create_generated_template (Values.CreateGeneratedTemplateInput.make ?resources:(Option.map ~f:Values.ResourceDefinitions.of_json resources) ?stackName ?templateConfiguration:(Option.map ~f:Values.TemplateConfiguration.of_json templateConfiguration) ~generatedTemplateName ()) (Some Values.CreateGeneratedTemplateOutput.to_json) (Some Values.CreateGeneratedTemplateOutput.error_to_json)]) let create_stack = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and templateBody = flag "template-body" (optional string) ~doc:"STRING TemplateBody" and templateURL = flag "template-u-r-l" (optional string) ~doc:"STRING TemplateURL" and parameters = flag "parameters" (optional json_arg) ~doc:"JSON Parameters" and disableRollback = flag "disable-rollback" (optional bool) ~doc:"BOOL DisableRollback" and rollbackConfiguration = flag "rollback-configuration" (optional json_arg) ~doc:"JSON RollbackConfiguration" and timeoutInMinutes = flag "timeout-in-minutes" (optional int) ~doc:"INT TimeoutMinutes" and notificationARNs = flag "notification-a-r-ns" (optional json_arg) ~doc:"JSON NotificationARNs" and capabilities = flag "capabilities" (optional json_arg) ~doc:"JSON Capabilities" and resourceTypes = flag "resource-types" (optional json_arg) ~doc:"JSON ResourceTypes" and roleARN = flag "role-a-r-n" (optional string) ~doc:"STRING RoleARN" and onFailure = flag "on-failure" (optional json_arg) ~doc:"JSON OnFailure" and stackPolicyBody = flag "stack-policy-body" (optional string) ~doc:"STRING StackPolicyBody" and stackPolicyURL = flag "stack-policy-u-r-l" (optional string) ~doc:"STRING StackPolicyURL" and = flag "tags" (optional json_arg) ~doc:"JSON Tags" and clientRequestToken = flag "client-request-token" (optional string) ~doc:"STRING ClientRequestToken" and enableTerminationProtection = flag "enable-termination-protection" (optional bool) ~doc:"BOOL EnableTerminationProtection" and retainExceptOnCreate = flag "retain-except-on-create" (optional bool) ~doc:"BOOL RetainExceptOnCreate" and stackName = flag "stack-name" (required string) ~doc:"STRING StackName" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.create_stack (Values.CreateStackInput.make ?templateBody ?templateURL ?parameters:(Option.map ~f:Values.Parameters.of_json parameters) ?disableRollback ?rollbackConfiguration:(Option.map ~f:Values.RollbackConfiguration.of_json rollbackConfiguration) ?timeoutInMinutes ?notificationARNs:(Option.map ~f:Values.NotificationARNs.of_json notificationARNs) ?capabilities:(Option.map ~f:Values.Capabilities.of_json capabilities) ?resourceTypes:(Option.map ~f:Values.ResourceTypes.of_json resourceTypes) ?roleARN ?onFailure:(Option.map ~f:Values.OnFailure.of_json onFailure) ?stackPolicyBody ?stackPolicyURL ?tags:(Option.map ~f:Values.Tags.of_json tags) ?clientRequestToken ?enableTerminationProtection ?retainExceptOnCreate ~stackName ()) (Some Values.CreateStackOutput.to_json) (Some Values.CreateStackOutput.error_to_json)]) let create_stack_instances = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and accounts = flag "accounts" (optional json_arg) ~doc:"JSON AccountList" and deploymentTargets = flag "deployment-targets" (optional json_arg) ~doc:"JSON DeploymentTargets" and parameterOverrides = flag "parameter-overrides" (optional json_arg) ~doc:"JSON Parameters" and operationPreferences = flag "operation-preferences" (optional json_arg) ~doc:"JSON StackSetOperationPreferences" and operationId = flag "operation-id" (optional string) ~doc:"STRING ClientRequestToken" and callAs = flag "call-as" (optional json_arg) ~doc:"JSON CallAs" and stackSetName = flag "stack-set-name" (required string) ~doc:"STRING StackSetName" and regions = flag "regions" (required json_arg) ~doc:"JSON RegionList" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.create_stack_instances (Values.CreateStackInstancesInput.make ?accounts:(Option.map ~f:Values.AccountList.of_json accounts) ?deploymentTargets:(Option.map ~f:Values.DeploymentTargets.of_json deploymentTargets) ?parameterOverrides:(Option.map ~f:Values.Parameters.of_json parameterOverrides) ?operationPreferences:(Option.map ~f:Values.StackSetOperationPreferences.of_json operationPreferences) ?operationId ?callAs:(Option.map ~f:Values.CallAs.of_json callAs) ~stackSetName ~regions:(Values.RegionList.of_json regions) ()) (Some Values.CreateStackInstancesOutput.to_json) (Some Values.CreateStackInstancesOutput.error_to_json)]) let create_stack_refactor = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and description = flag "description" (optional string) ~doc:"STRING Description" and enableStackCreation = flag "enable-stack-creation" (optional bool) ~doc:"BOOL EnableStackCreation" and resourceMappings = flag "resource-mappings" (optional json_arg) ~doc:"JSON ResourceMappings" and stackDefinitions = flag "stack-definitions" (required json_arg) ~doc:"JSON StackDefinitions" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.create_stack_refactor (Values.CreateStackRefactorInput.make ?description ?enableStackCreation ?resourceMappings:(Option.map ~f:Values.ResourceMappings.of_json resourceMappings) ~stackDefinitions:(Values.StackDefinitions.of_json stackDefinitions) ()) (Some Values.CreateStackRefactorOutput.to_json) (Some Values.CreateStackRefactorOutput.error_to_json)]) let create_stack_set = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and description = flag "description" (optional string) ~doc:"STRING Description" and templateBody = flag "template-body" (optional string) ~doc:"STRING TemplateBody" and templateURL = flag "template-u-r-l" (optional string) ~doc:"STRING TemplateURL" and stackId = flag "stack-id" (optional string) ~doc:"STRING StackId" and parameters = flag "parameters" (optional json_arg) ~doc:"JSON Parameters" and capabilities = flag "capabilities" (optional json_arg) ~doc:"JSON Capabilities" and = flag "tags" (optional json_arg) ~doc:"JSON Tags" and administrationRoleARN = flag "administration-role-a-r-n" (optional string) ~doc:"STRING RoleARN" and executionRoleName = flag "execution-role-name" (optional string) ~doc:"STRING ExecutionRoleName" and permissionModel = flag "permission-model" (optional json_arg) ~doc:"JSON PermissionModels" and autoDeployment = flag "auto-deployment" (optional json_arg) ~doc:"JSON AutoDeployment" and callAs = flag "call-as" (optional json_arg) ~doc:"JSON CallAs" and clientRequestToken = flag "client-request-token" (optional string) ~doc:"STRING ClientRequestToken" and managedExecution = flag "managed-execution" (optional json_arg) ~doc:"JSON ManagedExecution" and stackSetName = flag "stack-set-name" (required string) ~doc:"STRING StackSetName" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.create_stack_set (Values.CreateStackSetInput.make ?description ?templateBody ?templateURL ?stackId ?parameters:(Option.map ~f:Values.Parameters.of_json parameters) ?capabilities:(Option.map ~f:Values.Capabilities.of_json capabilities) ?tags:(Option.map ~f:Values.Tags.of_json tags) ?administrationRoleARN ?executionRoleName ?permissionModel:(Option.map ~f:Values.PermissionModels.of_json permissionModel) ?autoDeployment:(Option.map ~f:Values.AutoDeployment.of_json autoDeployment) ?callAs:(Option.map ~f:Values.CallAs.of_json callAs) ?clientRequestToken ?managedExecution:(Option.map ~f:Values.ManagedExecution.of_json managedExecution) ~stackSetName ()) (Some Values.CreateStackSetOutput.to_json) (Some Values.CreateStackSetOutput.error_to_json)]) let deactivate_organizations_access = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and () = return () in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.deactivate_organizations_access (Values.DeactivateOrganizationsAccessInput.make ()) (Some Values.DeactivateOrganizationsAccessOutput.to_json) (Some Values.DeactivateOrganizationsAccessOutput.error_to_json)]) let deactivate_type = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and typeName = flag "type-name" (optional string) ~doc:"STRING TypeName" and type_ = flag "type-" (optional json_arg) ~doc:"JSON ThirdPartyType" and arn = flag "arn" (optional string) ~doc:"STRING PrivateTypeArn" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.deactivate_type (Values.DeactivateTypeInput.make ?typeName ?type_:(Option.map ~f:Values.ThirdPartyType.of_json type_) ?arn ()) (Some Values.DeactivateTypeOutput.to_json) (Some Values.DeactivateTypeOutput.error_to_json)]) let delete_change_set = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and stackName = flag "stack-name" (optional string) ~doc:"STRING StackNameOrId" and changeSetName = flag "change-set-name" (required string) ~doc:"STRING ChangeSetNameOrId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.delete_change_set (Values.DeleteChangeSetInput.make ?stackName ~changeSetName ()) (Some Values.DeleteChangeSetOutput.to_json) (Some Values.DeleteChangeSetOutput.error_to_json)]) let delete_generated_template = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and generatedTemplateName = flag "generated-template-name" (required string) ~doc:"STRING GeneratedTemplateName" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.delete_generated_template (Values.DeleteGeneratedTemplateInput.make ~generatedTemplateName ()) None None]) let delete_stack = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and retainResources = flag "retain-resources" (optional json_arg) ~doc:"JSON RetainResources" and roleARN = flag "role-a-r-n" (optional string) ~doc:"STRING RoleARN" and clientRequestToken = flag "client-request-token" (optional string) ~doc:"STRING ClientRequestToken" and deletionMode = flag "deletion-mode" (optional json_arg) ~doc:"JSON DeletionMode" and stackName = flag "stack-name" (required string) ~doc:"STRING StackName" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.delete_stack (Values.DeleteStackInput.make ?retainResources:(Option.map ~f:Values.RetainResources.of_json retainResources) ?roleARN ?clientRequestToken ?deletionMode:(Option.map ~f:Values.DeletionMode.of_json deletionMode) ~stackName ()) None None]) let delete_stack_instances = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and accounts = flag "accounts" (optional json_arg) ~doc:"JSON AccountList" and deploymentTargets = flag "deployment-targets" (optional json_arg) ~doc:"JSON DeploymentTargets" and operationPreferences = flag "operation-preferences" (optional json_arg) ~doc:"JSON StackSetOperationPreferences" and operationId = flag "operation-id" (optional string) ~doc:"STRING ClientRequestToken" and callAs = flag "call-as" (optional json_arg) ~doc:"JSON CallAs" and stackSetName = flag "stack-set-name" (required string) ~doc:"STRING StackSetName" and regions = flag "regions" (required json_arg) ~doc:"JSON RegionList" and retainStacks = flag "retain-stacks" (required bool) ~doc:"BOOL RetainStacks" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.delete_stack_instances (Values.DeleteStackInstancesInput.make ?accounts:(Option.map ~f:Values.AccountList.of_json accounts) ?deploymentTargets:(Option.map ~f:Values.DeploymentTargets.of_json deploymentTargets) ?operationPreferences:(Option.map ~f:Values.StackSetOperationPreferences.of_json operationPreferences) ?operationId ?callAs:(Option.map ~f:Values.CallAs.of_json callAs) ~stackSetName ~regions:(Values.RegionList.of_json regions) ~retainStacks ()) (Some Values.DeleteStackInstancesOutput.to_json) (Some Values.DeleteStackInstancesOutput.error_to_json)]) let delete_stack_set = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and callAs = flag "call-as" (optional json_arg) ~doc:"JSON CallAs" and stackSetName = flag "stack-set-name" (required string) ~doc:"STRING StackSetName" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.delete_stack_set (Values.DeleteStackSetInput.make ?callAs:(Option.map ~f:Values.CallAs.of_json callAs) ~stackSetName ()) (Some Values.DeleteStackSetOutput.to_json) (Some Values.DeleteStackSetOutput.error_to_json)]) let deregister_type = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and arn = flag "arn" (optional string) ~doc:"STRING PrivateTypeArn" and type_ = flag "type-" (optional json_arg) ~doc:"JSON RegistryType" and typeName = flag "type-name" (optional string) ~doc:"STRING TypeName" and versionId = flag "version-id" (optional string) ~doc:"STRING TypeVersionId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.deregister_type (Values.DeregisterTypeInput.make ?arn ?type_:(Option.map ~f:Values.RegistryType.of_json type_) ?typeName ?versionId ()) (Some Values.DeregisterTypeOutput.to_json) (Some Values.DeregisterTypeOutput.error_to_json)]) let describe_account_limits = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and nextToken = flag "next-token" (optional string) ~doc:"STRING NextToken" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.describe_account_limits (Values.DescribeAccountLimitsInput.make ?nextToken ()) (Some Values.DescribeAccountLimitsOutput.to_json) (Some Values.DescribeAccountLimitsOutput.error_to_json)]) let describe_change_set = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and stackName = flag "stack-name" (optional string) ~doc:"STRING StackNameOrId" and nextToken = flag "next-token" (optional string) ~doc:"STRING NextToken" and includePropertyValues = flag "include-property-values" (optional bool) ~doc:"BOOL IncludePropertyValues" and changeSetName = flag "change-set-name" (required string) ~doc:"STRING ChangeSetNameOrId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.describe_change_set (Values.DescribeChangeSetInput.make ?stackName ?nextToken ?includePropertyValues ~changeSetName ()) (Some Values.DescribeChangeSetOutput.to_json) (Some Values.DescribeChangeSetOutput.error_to_json)]) let describe_change_set_hooks = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and stackName = flag "stack-name" (optional string) ~doc:"STRING StackNameOrId" and nextToken = flag "next-token" (optional string) ~doc:"STRING NextToken" and logicalResourceId = flag "logical-resource-id" (optional string) ~doc:"STRING LogicalResourceId" and changeSetName = flag "change-set-name" (required string) ~doc:"STRING ChangeSetNameOrId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.describe_change_set_hooks (Values.DescribeChangeSetHooksInput.make ?stackName ?nextToken ?logicalResourceId ~changeSetName ()) (Some Values.DescribeChangeSetHooksOutput.to_json) (Some Values.DescribeChangeSetHooksOutput.error_to_json)]) let describe_events = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and stackName = flag "stack-name" (optional string) ~doc:"STRING StackNameOrId" and changeSetName = flag "change-set-name" (optional string) ~doc:"STRING ChangeSetNameOrId" and operationId = flag "operation-id" (optional string) ~doc:"STRING OperationId" and filters = flag "filters" (optional json_arg) ~doc:"JSON EventFilter" and nextToken = flag "next-token" (optional string) ~doc:"STRING NextToken" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.describe_events (Values.DescribeEventsInput.make ?stackName ?changeSetName ?operationId ?filters:(Option.map ~f:Values.EventFilter.of_json filters) ?nextToken ()) (Some Values.DescribeEventsOutput.to_json) (Some Values.DescribeEventsOutput.error_to_json)]) let describe_generated_template = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and generatedTemplateName = flag "generated-template-name" (required string) ~doc:"STRING GeneratedTemplateName" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.describe_generated_template (Values.DescribeGeneratedTemplateInput.make ~generatedTemplateName ()) (Some Values.DescribeGeneratedTemplateOutput.to_json) (Some Values.DescribeGeneratedTemplateOutput.error_to_json)]) let describe_organizations_access = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and callAs = flag "call-as" (optional json_arg) ~doc:"JSON CallAs" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.describe_organizations_access (Values.DescribeOrganizationsAccessInput.make ?callAs:(Option.map ~f:Values.CallAs.of_json callAs) ()) (Some Values.DescribeOrganizationsAccessOutput.to_json) (Some Values.DescribeOrganizationsAccessOutput.error_to_json)]) let describe_publisher = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and publisherId = flag "publisher-id" (optional string) ~doc:"STRING PublisherId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.describe_publisher (Values.DescribePublisherInput.make ?publisherId ()) (Some Values.DescribePublisherOutput.to_json) (Some Values.DescribePublisherOutput.error_to_json)]) let describe_resource_scan = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and resourceScanId = flag "resource-scan-id" (required string) ~doc:"STRING ResourceScanId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.describe_resource_scan (Values.DescribeResourceScanInput.make ~resourceScanId ()) (Some Values.DescribeResourceScanOutput.to_json) (Some Values.DescribeResourceScanOutput.error_to_json)]) let describe_stack_drift_detection_status = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and stackDriftDetectionId = flag "stack-drift-detection-id" (required string) ~doc:"STRING StackDriftDetectionId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.describe_stack_drift_detection_status (Values.DescribeStackDriftDetectionStatusInput.make ~stackDriftDetectionId ()) (Some Values.DescribeStackDriftDetectionStatusOutput.to_json) (Some Values.DescribeStackDriftDetectionStatusOutput.error_to_json)]) let describe_stack_events = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and nextToken = flag "next-token" (optional string) ~doc:"STRING NextToken" and stackName = flag "stack-name" (required string) ~doc:"STRING StackName" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.describe_stack_events (Values.DescribeStackEventsInput.make ?nextToken ~stackName ()) (Some Values.DescribeStackEventsOutput.to_json) (Some Values.DescribeStackEventsOutput.error_to_json)]) let describe_stack_instance = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and callAs = flag "call-as" (optional json_arg) ~doc:"JSON CallAs" and stackSetName = flag "stack-set-name" (required string) ~doc:"STRING StackSetName" and stackInstanceAccount = flag "stack-instance-account" (required string) ~doc:"STRING Account" and stackInstanceRegion = flag "stack-instance-region" (required string) ~doc:"STRING Region" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.describe_stack_instance (Values.DescribeStackInstanceInput.make ?callAs:(Option.map ~f:Values.CallAs.of_json callAs) ~stackSetName ~stackInstanceAccount ~stackInstanceRegion ()) (Some Values.DescribeStackInstanceOutput.to_json) (Some Values.DescribeStackInstanceOutput.error_to_json)]) let describe_stack_refactor = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and stackRefactorId = flag "stack-refactor-id" (required string) ~doc:"STRING StackRefactorId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.describe_stack_refactor (Values.DescribeStackRefactorInput.make ~stackRefactorId ()) (Some Values.DescribeStackRefactorOutput.to_json) (Some Values.DescribeStackRefactorOutput.error_to_json)]) let describe_stack_resource = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and stackName = flag "stack-name" (required string) ~doc:"STRING StackName" and logicalResourceId = flag "logical-resource-id" (required string) ~doc:"STRING LogicalResourceId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.describe_stack_resource (Values.DescribeStackResourceInput.make ~stackName ~logicalResourceId ()) (Some Values.DescribeStackResourceOutput.to_json) (Some Values.DescribeStackResourceOutput.error_to_json)]) let describe_stack_resource_drifts = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and stackResourceDriftStatusFilters = flag "stack-resource-drift-status-filters" (optional json_arg) ~doc:"JSON StackResourceDriftStatusFilters" and nextToken = flag "next-token" (optional string) ~doc:"STRING NextToken" and maxResults = flag "max-results" (optional int) ~doc:"INT BoxedMaxResults" and stackName = flag "stack-name" (required string) ~doc:"STRING StackNameOrId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.describe_stack_resource_drifts (Values.DescribeStackResourceDriftsInput.make ?stackResourceDriftStatusFilters:(Option.map ~f:Values.StackResourceDriftStatusFilters.of_json stackResourceDriftStatusFilters) ?nextToken ?maxResults ~stackName ()) (Some Values.DescribeStackResourceDriftsOutput.to_json) (Some Values.DescribeStackResourceDriftsOutput.error_to_json)]) let describe_stack_resources = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and stackName = flag "stack-name" (optional string) ~doc:"STRING StackName" and logicalResourceId = flag "logical-resource-id" (optional string) ~doc:"STRING LogicalResourceId" and physicalResourceId = flag "physical-resource-id" (optional string) ~doc:"STRING PhysicalResourceId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.describe_stack_resources (Values.DescribeStackResourcesInput.make ?stackName ?logicalResourceId ?physicalResourceId ()) (Some Values.DescribeStackResourcesOutput.to_json) (Some Values.DescribeStackResourcesOutput.error_to_json)]) let describe_stack_set = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and callAs = flag "call-as" (optional json_arg) ~doc:"JSON CallAs" and stackSetName = flag "stack-set-name" (required string) ~doc:"STRING StackSetName" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.describe_stack_set (Values.DescribeStackSetInput.make ?callAs:(Option.map ~f:Values.CallAs.of_json callAs) ~stackSetName ()) (Some Values.DescribeStackSetOutput.to_json) (Some Values.DescribeStackSetOutput.error_to_json)]) let describe_stack_set_operation = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and callAs = flag "call-as" (optional json_arg) ~doc:"JSON CallAs" and stackSetName = flag "stack-set-name" (required string) ~doc:"STRING StackSetName" and operationId = flag "operation-id" (required string) ~doc:"STRING ClientRequestToken" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.describe_stack_set_operation (Values.DescribeStackSetOperationInput.make ?callAs:(Option.map ~f:Values.CallAs.of_json callAs) ~stackSetName ~operationId ()) (Some Values.DescribeStackSetOperationOutput.to_json) (Some Values.DescribeStackSetOperationOutput.error_to_json)]) let describe_stacks = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and stackName = flag "stack-name" (optional string) ~doc:"STRING StackName" and nextToken = flag "next-token" (optional string) ~doc:"STRING NextToken" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.describe_stacks (Values.DescribeStacksInput.make ?stackName ?nextToken ()) (Some Values.DescribeStacksOutput.to_json) (Some Values.DescribeStacksOutput.error_to_json)]) let describe_type = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and type_ = flag "type-" (optional json_arg) ~doc:"JSON RegistryType" and typeName = flag "type-name" (optional string) ~doc:"STRING TypeName" and arn = flag "arn" (optional string) ~doc:"STRING TypeArn" and versionId = flag "version-id" (optional string) ~doc:"STRING TypeVersionId" and publisherId = flag "publisher-id" (optional string) ~doc:"STRING PublisherId" and publicVersionNumber = flag "public-version-number" (optional string) ~doc:"STRING PublicVersionNumber" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.describe_type (Values.DescribeTypeInput.make ?type_:(Option.map ~f:Values.RegistryType.of_json type_) ?typeName ?arn ?versionId ?publisherId ?publicVersionNumber ()) (Some Values.DescribeTypeOutput.to_json) (Some Values.DescribeTypeOutput.error_to_json)]) let describe_type_registration = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and registrationToken = flag "registration-token" (required string) ~doc:"STRING RegistrationToken" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.describe_type_registration (Values.DescribeTypeRegistrationInput.make ~registrationToken ()) (Some Values.DescribeTypeRegistrationOutput.to_json) (Some Values.DescribeTypeRegistrationOutput.error_to_json)]) let detect_stack_drift = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and logicalResourceIds = flag "logical-resource-ids" (optional json_arg) ~doc:"JSON LogicalResourceIds" and stackName = flag "stack-name" (required string) ~doc:"STRING StackNameOrId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.detect_stack_drift (Values.DetectStackDriftInput.make ?logicalResourceIds:(Option.map ~f:Values.LogicalResourceIds.of_json logicalResourceIds) ~stackName ()) (Some Values.DetectStackDriftOutput.to_json) (Some Values.DetectStackDriftOutput.error_to_json)]) let detect_stack_resource_drift = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and stackName = flag "stack-name" (required string) ~doc:"STRING StackNameOrId" and logicalResourceId = flag "logical-resource-id" (required string) ~doc:"STRING LogicalResourceId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.detect_stack_resource_drift (Values.DetectStackResourceDriftInput.make ~stackName ~logicalResourceId ()) (Some Values.DetectStackResourceDriftOutput.to_json) (Some Values.DetectStackResourceDriftOutput.error_to_json)]) let detect_stack_set_drift = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and operationPreferences = flag "operation-preferences" (optional json_arg) ~doc:"JSON StackSetOperationPreferences" and operationId = flag "operation-id" (optional string) ~doc:"STRING ClientRequestToken" and callAs = flag "call-as" (optional json_arg) ~doc:"JSON CallAs" and stackSetName = flag "stack-set-name" (required string) ~doc:"STRING StackSetNameOrId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.detect_stack_set_drift (Values.DetectStackSetDriftInput.make ?operationPreferences:(Option.map ~f:Values.StackSetOperationPreferences.of_json operationPreferences) ?operationId ?callAs:(Option.map ~f:Values.CallAs.of_json callAs) ~stackSetName ()) (Some Values.DetectStackSetDriftOutput.to_json) (Some Values.DetectStackSetDriftOutput.error_to_json)]) let estimate_template_cost = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and templateBody = flag "template-body" (optional string) ~doc:"STRING TemplateBody" and templateURL = flag "template-u-r-l" (optional string) ~doc:"STRING TemplateURL" and parameters = flag "parameters" (optional json_arg) ~doc:"JSON Parameters" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.estimate_template_cost (Values.EstimateTemplateCostInput.make ?templateBody ?templateURL ?parameters:(Option.map ~f:Values.Parameters.of_json parameters) ()) (Some Values.EstimateTemplateCostOutput.to_json) (Some Values.EstimateTemplateCostOutput.error_to_json)]) let execute_change_set = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and stackName = flag "stack-name" (optional string) ~doc:"STRING StackNameOrId" and clientRequestToken = flag "client-request-token" (optional string) ~doc:"STRING ClientRequestToken" and disableRollback = flag "disable-rollback" (optional bool) ~doc:"BOOL DisableRollback" and retainExceptOnCreate = flag "retain-except-on-create" (optional bool) ~doc:"BOOL RetainExceptOnCreate" and changeSetName = flag "change-set-name" (required string) ~doc:"STRING ChangeSetNameOrId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.execute_change_set (Values.ExecuteChangeSetInput.make ?stackName ?clientRequestToken ?disableRollback ?retainExceptOnCreate ~changeSetName ()) (Some Values.ExecuteChangeSetOutput.to_json) (Some Values.ExecuteChangeSetOutput.error_to_json)]) let execute_stack_refactor = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and stackRefactorId = flag "stack-refactor-id" (required string) ~doc:"STRING StackRefactorId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.execute_stack_refactor (Values.ExecuteStackRefactorInput.make ~stackRefactorId ()) None None]) let get_generated_template = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and format = flag "format" (optional json_arg) ~doc:"JSON TemplateFormat" and generatedTemplateName = flag "generated-template-name" (required string) ~doc:"STRING GeneratedTemplateName" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.get_generated_template (Values.GetGeneratedTemplateInput.make ?format:(Option.map ~f:Values.TemplateFormat.of_json format) ~generatedTemplateName ()) (Some Values.GetGeneratedTemplateOutput.to_json) (Some Values.GetGeneratedTemplateOutput.error_to_json)]) let get_hook_result = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and hookResultId = flag "hook-result-id" (optional string) ~doc:"STRING HookInvocationId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.get_hook_result (Values.GetHookResultInput.make ?hookResultId ()) (Some Values.GetHookResultOutput.to_json) (Some Values.GetHookResultOutput.error_to_json)]) let get_stack_policy = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and stackName = flag "stack-name" (required string) ~doc:"STRING StackName" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.get_stack_policy (Values.GetStackPolicyInput.make ~stackName ()) (Some Values.GetStackPolicyOutput.to_json) (Some Values.GetStackPolicyOutput.error_to_json)]) let get_template = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and stackName = flag "stack-name" (optional string) ~doc:"STRING StackName" and changeSetName = flag "change-set-name" (optional string) ~doc:"STRING ChangeSetNameOrId" and templateStage = flag "template-stage" (optional json_arg) ~doc:"JSON TemplateStage" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.get_template (Values.GetTemplateInput.make ?stackName ?changeSetName ?templateStage:(Option.map ~f:Values.TemplateStage.of_json templateStage) ()) (Some Values.GetTemplateOutput.to_json) (Some Values.GetTemplateOutput.error_to_json)]) let get_template_summary = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and templateBody = flag "template-body" (optional string) ~doc:"STRING TemplateBody" and templateURL = flag "template-u-r-l" (optional string) ~doc:"STRING TemplateURL" and stackName = flag "stack-name" (optional string) ~doc:"STRING StackNameOrId" and stackSetName = flag "stack-set-name" (optional string) ~doc:"STRING StackSetNameOrId" and callAs = flag "call-as" (optional json_arg) ~doc:"JSON CallAs" and templateSummaryConfig = flag "template-summary-config" (optional json_arg) ~doc:"JSON TemplateSummaryConfig" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.get_template_summary (Values.GetTemplateSummaryInput.make ?templateBody ?templateURL ?stackName ?stackSetName ?callAs:(Option.map ~f:Values.CallAs.of_json callAs) ?templateSummaryConfig:(Option.map ~f:Values.TemplateSummaryConfig.of_json templateSummaryConfig) ()) (Some Values.GetTemplateSummaryOutput.to_json) (Some Values.GetTemplateSummaryOutput.error_to_json)]) let import_stacks_to_stack_set = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and stackIds = flag "stack-ids" (optional json_arg) ~doc:"JSON StackIdList" and stackIdsUrl = flag "stack-ids-url" (optional string) ~doc:"STRING StackIdsUrl" and organizationalUnitIds = flag "organizational-unit-ids" (optional json_arg) ~doc:"JSON OrganizationalUnitIdList" and operationPreferences = flag "operation-preferences" (optional json_arg) ~doc:"JSON StackSetOperationPreferences" and operationId = flag "operation-id" (optional string) ~doc:"STRING ClientRequestToken" and callAs = flag "call-as" (optional json_arg) ~doc:"JSON CallAs" and stackSetName = flag "stack-set-name" (required string) ~doc:"STRING StackSetNameOrId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.import_stacks_to_stack_set (Values.ImportStacksToStackSetInput.make ?stackIds:(Option.map ~f:Values.StackIdList.of_json stackIds) ?stackIdsUrl ?organizationalUnitIds:(Option.map ~f:Values.OrganizationalUnitIdList.of_json organizationalUnitIds) ?operationPreferences:(Option.map ~f:Values.StackSetOperationPreferences.of_json operationPreferences) ?operationId ?callAs:(Option.map ~f:Values.CallAs.of_json callAs) ~stackSetName ()) (Some Values.ImportStacksToStackSetOutput.to_json) (Some Values.ImportStacksToStackSetOutput.error_to_json)]) let list_change_sets = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and nextToken = flag "next-token" (optional string) ~doc:"STRING NextToken" and stackName = flag "stack-name" (required string) ~doc:"STRING StackNameOrId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.list_change_sets (Values.ListChangeSetsInput.make ?nextToken ~stackName ()) (Some Values.ListChangeSetsOutput.to_json) (Some Values.ListChangeSetsOutput.error_to_json)]) let list_exports = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and nextToken = flag "next-token" (optional string) ~doc:"STRING NextToken" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.list_exports (Values.ListExportsInput.make ?nextToken ()) (Some Values.ListExportsOutput.to_json) (Some Values.ListExportsOutput.error_to_json)]) let list_generated_templates = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and nextToken = flag "next-token" (optional string) ~doc:"STRING NextToken" and maxResults = flag "max-results" (optional int) ~doc:"INT MaxResults" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.list_generated_templates (Values.ListGeneratedTemplatesInput.make ?nextToken ?maxResults ()) (Some Values.ListGeneratedTemplatesOutput.to_json) (Some Values.ListGeneratedTemplatesOutput.error_to_json)]) let list_hook_results = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and targetType = flag "target-type" (optional json_arg) ~doc:"JSON ListHookResultsTargetType" and targetId = flag "target-id" (optional string) ~doc:"STRING HookResultId" and typeArn = flag "type-arn" (optional string) ~doc:"STRING HookTypeArn" and status = flag "status" (optional json_arg) ~doc:"JSON HookStatus" and nextToken = flag "next-token" (optional string) ~doc:"STRING NextToken" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.list_hook_results (Values.ListHookResultsInput.make ?targetType:(Option.map ~f:Values.ListHookResultsTargetType.of_json targetType) ?targetId ?typeArn ?status:(Option.map ~f:Values.HookStatus.of_json status) ?nextToken ()) (Some Values.ListHookResultsOutput.to_json) (Some Values.ListHookResultsOutput.error_to_json)]) let list_imports = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and nextToken = flag "next-token" (optional string) ~doc:"STRING NextToken" and exportName = flag "export-name" (required string) ~doc:"STRING ExportName" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.list_imports (Values.ListImportsInput.make ?nextToken ~exportName ()) (Some Values.ListImportsOutput.to_json) (Some Values.ListImportsOutput.error_to_json)]) let = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and nextToken = flag "next-token" (optional string) ~doc:"STRING NextToken" and maxResults = flag "max-results" (optional int) ~doc:"INT BoxedMaxResults" and resourceScanId = flag "resource-scan-id" (required string) ~doc:"STRING ResourceScanId" and resources = flag "resources" (required json_arg) ~doc:"JSON ScannedResourceIdentifiers" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.list_resource_scan_related_resources (Values.ListResourceScanRelatedResourcesInput.make ?nextToken ?maxResults ~resourceScanId ~resources:(Values.ScannedResourceIdentifiers.of_json resources) ()) (Some Values.ListResourceScanRelatedResourcesOutput.to_json) (Some Values.ListResourceScanRelatedResourcesOutput.error_to_json)]) let list_resource_scan_resources = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and resourceIdentifier = flag "resource-identifier" (optional string) ~doc:"STRING ResourceIdentifier" and resourceTypePrefix = flag "resource-type-prefix" (optional string) ~doc:"STRING ResourceTypePrefix" and tagKey = flag "tag-key" (optional string) ~doc:"STRING TagKey" and tagValue = flag "tag-value" (optional string) ~doc:"STRING TagValue" and nextToken = flag "next-token" (optional string) ~doc:"STRING NextToken" and maxResults = flag "max-results" (optional int) ~doc:"INT ResourceScannerMaxResults" and resourceScanId = flag "resource-scan-id" (required string) ~doc:"STRING ResourceScanId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.list_resource_scan_resources (Values.ListResourceScanResourcesInput.make ?resourceIdentifier ?resourceTypePrefix ?tagKey ?tagValue ?nextToken ?maxResults ~resourceScanId ()) (Some Values.ListResourceScanResourcesOutput.to_json) (Some Values.ListResourceScanResourcesOutput.error_to_json)]) let list_resource_scans = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and nextToken = flag "next-token" (optional string) ~doc:"STRING NextToken" and maxResults = flag "max-results" (optional int) ~doc:"INT ResourceScannerMaxResults" and scanTypeFilter = flag "scan-type-filter" (optional json_arg) ~doc:"JSON ScanType" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.list_resource_scans (Values.ListResourceScansInput.make ?nextToken ?maxResults ?scanTypeFilter:(Option.map ~f:Values.ScanType.of_json scanTypeFilter) ()) (Some Values.ListResourceScansOutput.to_json) (Some Values.ListResourceScansOutput.error_to_json)]) let list_stack_instance_resource_drifts = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and nextToken = flag "next-token" (optional string) ~doc:"STRING NextToken" and maxResults = flag "max-results" (optional int) ~doc:"INT MaxResults" and stackInstanceResourceDriftStatuses = flag "stack-instance-resource-drift-statuses" (optional json_arg) ~doc:"JSON StackResourceDriftStatusFilters" and callAs = flag "call-as" (optional json_arg) ~doc:"JSON CallAs" and stackSetName = flag "stack-set-name" (required string) ~doc:"STRING StackSetNameOrId" and stackInstanceAccount = flag "stack-instance-account" (required string) ~doc:"STRING Account" and stackInstanceRegion = flag "stack-instance-region" (required string) ~doc:"STRING Region" and operationId = flag "operation-id" (required string) ~doc:"STRING ClientRequestToken" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.list_stack_instance_resource_drifts (Values.ListStackInstanceResourceDriftsInput.make ?nextToken ?maxResults ?stackInstanceResourceDriftStatuses:(Option.map ~f:Values.StackResourceDriftStatusFilters.of_json stackInstanceResourceDriftStatuses) ?callAs:(Option.map ~f:Values.CallAs.of_json callAs) ~stackSetName ~stackInstanceAccount ~stackInstanceRegion ~operationId ()) (Some Values.ListStackInstanceResourceDriftsOutput.to_json) (Some Values.ListStackInstanceResourceDriftsOutput.error_to_json)]) let list_stack_instances = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and nextToken = flag "next-token" (optional string) ~doc:"STRING NextToken" and maxResults = flag "max-results" (optional int) ~doc:"INT MaxResults" and filters = flag "filters" (optional json_arg) ~doc:"JSON StackInstanceFilters" and stackInstanceAccount = flag "stack-instance-account" (optional string) ~doc:"STRING Account" and stackInstanceRegion = flag "stack-instance-region" (optional string) ~doc:"STRING Region" and callAs = flag "call-as" (optional json_arg) ~doc:"JSON CallAs" and stackSetName = flag "stack-set-name" (required string) ~doc:"STRING StackSetName" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.list_stack_instances (Values.ListStackInstancesInput.make ?nextToken ?maxResults ?filters:(Option.map ~f:Values.StackInstanceFilters.of_json filters) ?stackInstanceAccount ?stackInstanceRegion ?callAs:(Option.map ~f:Values.CallAs.of_json callAs) ~stackSetName ()) (Some Values.ListStackInstancesOutput.to_json) (Some Values.ListStackInstancesOutput.error_to_json)]) let list_stack_refactor_actions = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and nextToken = flag "next-token" (optional string) ~doc:"STRING NextToken" and maxResults = flag "max-results" (optional int) ~doc:"INT MaxResults" and stackRefactorId = flag "stack-refactor-id" (required string) ~doc:"STRING StackRefactorId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.list_stack_refactor_actions (Values.ListStackRefactorActionsInput.make ?nextToken ?maxResults ~stackRefactorId ()) (Some Values.ListStackRefactorActionsOutput.to_json) (Some Values.ListStackRefactorActionsOutput.error_to_json)]) let list_stack_refactors = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and executionStatusFilter = flag "execution-status-filter" (optional json_arg) ~doc:"JSON StackRefactorExecutionStatusFilter" and nextToken = flag "next-token" (optional string) ~doc:"STRING NextToken" and maxResults = flag "max-results" (optional int) ~doc:"INT MaxResults" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.list_stack_refactors (Values.ListStackRefactorsInput.make ?executionStatusFilter:(Option.map ~f:Values.StackRefactorExecutionStatusFilter.of_json executionStatusFilter) ?nextToken ?maxResults ()) (Some Values.ListStackRefactorsOutput.to_json) (Some Values.ListStackRefactorsOutput.error_to_json)]) let list_stack_resources = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and nextToken = flag "next-token" (optional string) ~doc:"STRING NextToken" and stackName = flag "stack-name" (required string) ~doc:"STRING StackName" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.list_stack_resources (Values.ListStackResourcesInput.make ?nextToken ~stackName ()) (Some Values.ListStackResourcesOutput.to_json) (Some Values.ListStackResourcesOutput.error_to_json)]) let list_stack_set_auto_deployment_targets = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and nextToken = flag "next-token" (optional string) ~doc:"STRING NextToken" and maxResults = flag "max-results" (optional int) ~doc:"INT MaxResults" and callAs = flag "call-as" (optional json_arg) ~doc:"JSON CallAs" and stackSetName = flag "stack-set-name" (required string) ~doc:"STRING StackSetNameOrId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.list_stack_set_auto_deployment_targets (Values.ListStackSetAutoDeploymentTargetsInput.make ?nextToken ?maxResults ?callAs:(Option.map ~f:Values.CallAs.of_json callAs) ~stackSetName ()) (Some Values.ListStackSetAutoDeploymentTargetsOutput.to_json) (Some Values.ListStackSetAutoDeploymentTargetsOutput.error_to_json)]) let list_stack_set_operation_results = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and nextToken = flag "next-token" (optional string) ~doc:"STRING NextToken" and maxResults = flag "max-results" (optional int) ~doc:"INT MaxResults" and callAs = flag "call-as" (optional json_arg) ~doc:"JSON CallAs" and filters = flag "filters" (optional json_arg) ~doc:"JSON OperationResultFilters" and stackSetName = flag "stack-set-name" (required string) ~doc:"STRING StackSetName" and operationId = flag "operation-id" (required string) ~doc:"STRING ClientRequestToken" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.list_stack_set_operation_results (Values.ListStackSetOperationResultsInput.make ?nextToken ?maxResults ?callAs:(Option.map ~f:Values.CallAs.of_json callAs) ?filters:(Option.map ~f:Values.OperationResultFilters.of_json filters) ~stackSetName ~operationId ()) (Some Values.ListStackSetOperationResultsOutput.to_json) (Some Values.ListStackSetOperationResultsOutput.error_to_json)]) let list_stack_set_operations = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and nextToken = flag "next-token" (optional string) ~doc:"STRING NextToken" and maxResults = flag "max-results" (optional int) ~doc:"INT MaxResults" and callAs = flag "call-as" (optional json_arg) ~doc:"JSON CallAs" and stackSetName = flag "stack-set-name" (required string) ~doc:"STRING StackSetName" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.list_stack_set_operations (Values.ListStackSetOperationsInput.make ?nextToken ?maxResults ?callAs:(Option.map ~f:Values.CallAs.of_json callAs) ~stackSetName ()) (Some Values.ListStackSetOperationsOutput.to_json) (Some Values.ListStackSetOperationsOutput.error_to_json)]) let list_stack_sets = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and nextToken = flag "next-token" (optional string) ~doc:"STRING NextToken" and maxResults = flag "max-results" (optional int) ~doc:"INT MaxResults" and status = flag "status" (optional json_arg) ~doc:"JSON StackSetStatus" and callAs = flag "call-as" (optional json_arg) ~doc:"JSON CallAs" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.list_stack_sets (Values.ListStackSetsInput.make ?nextToken ?maxResults ?status:(Option.map ~f:Values.StackSetStatus.of_json status) ?callAs:(Option.map ~f:Values.CallAs.of_json callAs) ()) (Some Values.ListStackSetsOutput.to_json) (Some Values.ListStackSetsOutput.error_to_json)]) let list_stacks = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and nextToken = flag "next-token" (optional string) ~doc:"STRING NextToken" and stackStatusFilter = flag "stack-status-filter" (optional json_arg) ~doc:"JSON StackStatusFilter" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.list_stacks (Values.ListStacksInput.make ?nextToken ?stackStatusFilter:(Option.map ~f:Values.StackStatusFilter.of_json stackStatusFilter) ()) (Some Values.ListStacksOutput.to_json) (Some Values.ListStacksOutput.error_to_json)]) let list_type_registrations = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and type_ = flag "type-" (optional json_arg) ~doc:"JSON RegistryType" and typeName = flag "type-name" (optional string) ~doc:"STRING TypeName" and typeArn = flag "type-arn" (optional string) ~doc:"STRING TypeArn" and registrationStatusFilter = flag "registration-status-filter" (optional json_arg) ~doc:"JSON RegistrationStatus" and maxResults = flag "max-results" (optional int) ~doc:"INT MaxResults" and nextToken = flag "next-token" (optional string) ~doc:"STRING NextToken" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.list_type_registrations (Values.ListTypeRegistrationsInput.make ?type_:(Option.map ~f:Values.RegistryType.of_json type_) ?typeName ?typeArn ?registrationStatusFilter:(Option.map ~f:Values.RegistrationStatus.of_json registrationStatusFilter) ?maxResults ?nextToken ()) (Some Values.ListTypeRegistrationsOutput.to_json) (Some Values.ListTypeRegistrationsOutput.error_to_json)]) let list_type_versions = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and type_ = flag "type-" (optional json_arg) ~doc:"JSON RegistryType" and typeName = flag "type-name" (optional string) ~doc:"STRING TypeName" and arn = flag "arn" (optional string) ~doc:"STRING TypeArn" and maxResults = flag "max-results" (optional int) ~doc:"INT MaxResults" and nextToken = flag "next-token" (optional string) ~doc:"STRING NextToken" and deprecatedStatus = flag "deprecated-status" (optional json_arg) ~doc:"JSON DeprecatedStatus" and publisherId = flag "publisher-id" (optional string) ~doc:"STRING PublisherId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.list_type_versions (Values.ListTypeVersionsInput.make ?type_:(Option.map ~f:Values.RegistryType.of_json type_) ?typeName ?arn ?maxResults ?nextToken ?deprecatedStatus:(Option.map ~f:Values.DeprecatedStatus.of_json deprecatedStatus) ?publisherId ()) (Some Values.ListTypeVersionsOutput.to_json) (Some Values.ListTypeVersionsOutput.error_to_json)]) let list_types = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and visibility = flag "visibility" (optional json_arg) ~doc:"JSON Visibility" and provisioningType = flag "provisioning-type" (optional json_arg) ~doc:"JSON ProvisioningType" and deprecatedStatus = flag "deprecated-status" (optional json_arg) ~doc:"JSON DeprecatedStatus" and type_ = flag "type-" (optional json_arg) ~doc:"JSON RegistryType" and filters = flag "filters" (optional json_arg) ~doc:"JSON TypeFilters" and maxResults = flag "max-results" (optional int) ~doc:"INT MaxResults" and nextToken = flag "next-token" (optional string) ~doc:"STRING NextToken" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.list_types (Values.ListTypesInput.make ?visibility:(Option.map ~f:Values.Visibility.of_json visibility) ?provisioningType:(Option.map ~f:Values.ProvisioningType.of_json provisioningType) ?deprecatedStatus:(Option.map ~f:Values.DeprecatedStatus.of_json deprecatedStatus) ?type_:(Option.map ~f:Values.RegistryType.of_json type_) ?filters:(Option.map ~f:Values.TypeFilters.of_json filters) ?maxResults ?nextToken ()) (Some Values.ListTypesOutput.to_json) (Some Values.ListTypesOutput.error_to_json)]) let publish_type = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and type_ = flag "type-" (optional json_arg) ~doc:"JSON ThirdPartyType" and arn = flag "arn" (optional string) ~doc:"STRING PrivateTypeArn" and typeName = flag "type-name" (optional string) ~doc:"STRING TypeName" and publicVersionNumber = flag "public-version-number" (optional string) ~doc:"STRING PublicVersionNumber" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.publish_type (Values.PublishTypeInput.make ?type_:(Option.map ~f:Values.ThirdPartyType.of_json type_) ?arn ?typeName ?publicVersionNumber ()) (Some Values.PublishTypeOutput.to_json) (Some Values.PublishTypeOutput.error_to_json)]) let record_handler_progress = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and currentOperationStatus = flag "current-operation-status" (optional json_arg) ~doc:"JSON OperationStatus" and statusMessage = flag "status-message" (optional string) ~doc:"STRING StatusMessage" and errorCode = flag "error-code" (optional json_arg) ~doc:"JSON HandlerErrorCode" and resourceModel = flag "resource-model" (optional string) ~doc:"STRING ResourceModel" and clientRequestToken = flag "client-request-token" (optional string) ~doc:"STRING ClientRequestToken" and bearerToken = flag "bearer-token" (required string) ~doc:"STRING ClientToken" and operationStatus = flag "operation-status" (required json_arg) ~doc:"JSON OperationStatus" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.record_handler_progress (Values.RecordHandlerProgressInput.make ?currentOperationStatus:(Option.map ~f:Values.OperationStatus.of_json currentOperationStatus) ?statusMessage ?errorCode:(Option.map ~f:Values.HandlerErrorCode.of_json errorCode) ?resourceModel ?clientRequestToken ~bearerToken ~operationStatus:(Values.OperationStatus.of_json operationStatus) ()) (Some Values.RecordHandlerProgressOutput.to_json) (Some Values.RecordHandlerProgressOutput.error_to_json)]) let register_publisher = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and acceptTermsAndConditions = flag "accept-terms-and-conditions" (optional bool) ~doc:"BOOL AcceptTermsAndConditions" and connectionArn = flag "connection-arn" (optional string) ~doc:"STRING ConnectionArn" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.register_publisher (Values.RegisterPublisherInput.make ?acceptTermsAndConditions ?connectionArn ()) (Some Values.RegisterPublisherOutput.to_json) (Some Values.RegisterPublisherOutput.error_to_json)]) let register_type = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and type_ = flag "type-" (optional json_arg) ~doc:"JSON RegistryType" and loggingConfig = flag "logging-config" (optional json_arg) ~doc:"JSON LoggingConfig" and executionRoleArn = flag "execution-role-arn" (optional string) ~doc:"STRING RoleArn" and clientRequestToken = flag "client-request-token" (optional string) ~doc:"STRING RequestToken" and typeName = flag "type-name" (required string) ~doc:"STRING TypeName" and schemaHandlerPackage = flag "schema-handler-package" (required string) ~doc:"STRING S3Url" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.register_type (Values.RegisterTypeInput.make ?type_:(Option.map ~f:Values.RegistryType.of_json type_) ?loggingConfig:(Option.map ~f:Values.LoggingConfig.of_json loggingConfig) ?executionRoleArn ?clientRequestToken ~typeName ~schemaHandlerPackage ()) (Some Values.RegisterTypeOutput.to_json) (Some Values.RegisterTypeOutput.error_to_json)]) let rollback_stack = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and roleARN = flag "role-a-r-n" (optional string) ~doc:"STRING RoleARN" and clientRequestToken = flag "client-request-token" (optional string) ~doc:"STRING ClientRequestToken" and retainExceptOnCreate = flag "retain-except-on-create" (optional bool) ~doc:"BOOL RetainExceptOnCreate" and stackName = flag "stack-name" (required string) ~doc:"STRING StackNameOrId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.rollback_stack (Values.RollbackStackInput.make ?roleARN ?clientRequestToken ?retainExceptOnCreate ~stackName ()) (Some Values.RollbackStackOutput.to_json) (Some Values.RollbackStackOutput.error_to_json)]) let set_stack_policy = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and stackPolicyBody = flag "stack-policy-body" (optional string) ~doc:"STRING StackPolicyBody" and stackPolicyURL = flag "stack-policy-u-r-l" (optional string) ~doc:"STRING StackPolicyURL" and stackName = flag "stack-name" (required string) ~doc:"STRING StackName" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.set_stack_policy (Values.SetStackPolicyInput.make ?stackPolicyBody ?stackPolicyURL ~stackName ()) None None]) let set_type_configuration = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and typeArn = flag "type-arn" (optional string) ~doc:"STRING TypeArn" and configurationAlias = flag "configuration-alias" (optional string) ~doc:"STRING TypeConfigurationAlias" and typeName = flag "type-name" (optional string) ~doc:"STRING TypeName" and type_ = flag "type-" (optional json_arg) ~doc:"JSON ThirdPartyType" and configuration = flag "configuration" (required string) ~doc:"STRING TypeConfiguration" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.set_type_configuration (Values.SetTypeConfigurationInput.make ?typeArn ?configurationAlias ?typeName ?type_:(Option.map ~f:Values.ThirdPartyType.of_json type_) ~configuration ()) (Some Values.SetTypeConfigurationOutput.to_json) (Some Values.SetTypeConfigurationOutput.error_to_json)]) let set_type_default_version = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and arn = flag "arn" (optional string) ~doc:"STRING PrivateTypeArn" and type_ = flag "type-" (optional json_arg) ~doc:"JSON RegistryType" and typeName = flag "type-name" (optional string) ~doc:"STRING TypeName" and versionId = flag "version-id" (optional string) ~doc:"STRING TypeVersionId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.set_type_default_version (Values.SetTypeDefaultVersionInput.make ?arn ?type_:(Option.map ~f:Values.RegistryType.of_json type_) ?typeName ?versionId ()) (Some Values.SetTypeDefaultVersionOutput.to_json) (Some Values.SetTypeDefaultVersionOutput.error_to_json)]) let signal_resource = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and stackName = flag "stack-name" (required string) ~doc:"STRING StackNameOrId" and logicalResourceId = flag "logical-resource-id" (required string) ~doc:"STRING LogicalResourceId" and uniqueId = flag "unique-id" (required string) ~doc:"STRING ResourceSignalUniqueId" and status = flag "status" (required json_arg) ~doc:"JSON ResourceSignalStatus" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.signal_resource (Values.SignalResourceInput.make ~stackName ~logicalResourceId ~uniqueId ~status:(Values.ResourceSignalStatus.of_json status) ()) None None]) let start_resource_scan = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and clientRequestToken = flag "client-request-token" (optional string) ~doc:"STRING ClientRequestToken" and scanFilters = flag "scan-filters" (optional json_arg) ~doc:"JSON ScanFilters" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.start_resource_scan (Values.StartResourceScanInput.make ?clientRequestToken ?scanFilters:(Option.map ~f:Values.ScanFilters.of_json scanFilters) ()) (Some Values.StartResourceScanOutput.to_json) (Some Values.StartResourceScanOutput.error_to_json)]) let stop_stack_set_operation = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and callAs = flag "call-as" (optional json_arg) ~doc:"JSON CallAs" and stackSetName = flag "stack-set-name" (required string) ~doc:"STRING StackSetName" and operationId = flag "operation-id" (required string) ~doc:"STRING ClientRequestToken" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.stop_stack_set_operation (Values.StopStackSetOperationInput.make ?callAs:(Option.map ~f:Values.CallAs.of_json callAs) ~stackSetName ~operationId ()) (Some Values.StopStackSetOperationOutput.to_json) (Some Values.StopStackSetOperationOutput.error_to_json)]) let test_type = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and arn = flag "arn" (optional string) ~doc:"STRING TypeArn" and type_ = flag "type-" (optional json_arg) ~doc:"JSON ThirdPartyType" and typeName = flag "type-name" (optional string) ~doc:"STRING TypeName" and versionId = flag "version-id" (optional string) ~doc:"STRING TypeVersionId" and logDeliveryBucket = flag "log-delivery-bucket" (optional string) ~doc:"STRING S3Bucket" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.test_type (Values.TestTypeInput.make ?arn ?type_:(Option.map ~f:Values.ThirdPartyType.of_json type_) ?typeName ?versionId ?logDeliveryBucket ()) (Some Values.TestTypeOutput.to_json) (Some Values.TestTypeOutput.error_to_json)]) let update_generated_template = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and newGeneratedTemplateName = flag "new-generated-template-name" (optional string) ~doc:"STRING GeneratedTemplateName" and addResources = flag "add-resources" (optional json_arg) ~doc:"JSON ResourceDefinitions" and removeResources = flag "remove-resources" (optional json_arg) ~doc:"JSON JazzLogicalResourceIds" and refreshAllResources = flag "refresh-all-resources" (optional bool) ~doc:"BOOL RefreshAllResources" and templateConfiguration = flag "template-configuration" (optional json_arg) ~doc:"JSON TemplateConfiguration" and generatedTemplateName = flag "generated-template-name" (required string) ~doc:"STRING GeneratedTemplateName" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.update_generated_template (Values.UpdateGeneratedTemplateInput.make ?newGeneratedTemplateName ?addResources:(Option.map ~f:Values.ResourceDefinitions.of_json addResources) ?removeResources:(Option.map ~f:Values.JazzLogicalResourceIds.of_json removeResources) ?refreshAllResources ?templateConfiguration:(Option.map ~f:Values.TemplateConfiguration.of_json templateConfiguration) ~generatedTemplateName ()) (Some Values.UpdateGeneratedTemplateOutput.to_json) (Some Values.UpdateGeneratedTemplateOutput.error_to_json)]) let update_stack = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and templateBody = flag "template-body" (optional string) ~doc:"STRING TemplateBody" and templateURL = flag "template-u-r-l" (optional string) ~doc:"STRING TemplateURL" and usePreviousTemplate = flag "use-previous-template" (optional bool) ~doc:"BOOL UsePreviousTemplate" and stackPolicyDuringUpdateBody = flag "stack-policy-during-update-body" (optional string) ~doc:"STRING StackPolicyDuringUpdateBody" and stackPolicyDuringUpdateURL = flag "stack-policy-during-update-u-r-l" (optional string) ~doc:"STRING StackPolicyDuringUpdateURL" and parameters = flag "parameters" (optional json_arg) ~doc:"JSON Parameters" and capabilities = flag "capabilities" (optional json_arg) ~doc:"JSON Capabilities" and resourceTypes = flag "resource-types" (optional json_arg) ~doc:"JSON ResourceTypes" and roleARN = flag "role-a-r-n" (optional string) ~doc:"STRING RoleARN" and rollbackConfiguration = flag "rollback-configuration" (optional json_arg) ~doc:"JSON RollbackConfiguration" and stackPolicyBody = flag "stack-policy-body" (optional string) ~doc:"STRING StackPolicyBody" and stackPolicyURL = flag "stack-policy-u-r-l" (optional string) ~doc:"STRING StackPolicyURL" and notificationARNs = flag "notification-a-r-ns" (optional json_arg) ~doc:"JSON NotificationARNs" and = flag "tags" (optional json_arg) ~doc:"JSON Tags" and disableRollback = flag "disable-rollback" (optional bool) ~doc:"BOOL DisableRollback" and clientRequestToken = flag "client-request-token" (optional string) ~doc:"STRING ClientRequestToken" and retainExceptOnCreate = flag "retain-except-on-create" (optional bool) ~doc:"BOOL RetainExceptOnCreate" and stackName = flag "stack-name" (required string) ~doc:"STRING StackName" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.update_stack (Values.UpdateStackInput.make ?templateBody ?templateURL ?usePreviousTemplate ?stackPolicyDuringUpdateBody ?stackPolicyDuringUpdateURL ?parameters:(Option.map ~f:Values.Parameters.of_json parameters) ?capabilities:(Option.map ~f:Values.Capabilities.of_json capabilities) ?resourceTypes:(Option.map ~f:Values.ResourceTypes.of_json resourceTypes) ?roleARN ?rollbackConfiguration:(Option.map ~f:Values.RollbackConfiguration.of_json rollbackConfiguration) ?stackPolicyBody ?stackPolicyURL ?notificationARNs:(Option.map ~f:Values.NotificationARNs.of_json notificationARNs) ?tags:(Option.map ~f:Values.Tags.of_json tags) ?disableRollback ?clientRequestToken ?retainExceptOnCreate ~stackName ()) (Some Values.UpdateStackOutput.to_json) (Some Values.UpdateStackOutput.error_to_json)]) let update_stack_instances = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and accounts = flag "accounts" (optional json_arg) ~doc:"JSON AccountList" and deploymentTargets = flag "deployment-targets" (optional json_arg) ~doc:"JSON DeploymentTargets" and parameterOverrides = flag "parameter-overrides" (optional json_arg) ~doc:"JSON Parameters" and operationPreferences = flag "operation-preferences" (optional json_arg) ~doc:"JSON StackSetOperationPreferences" and operationId = flag "operation-id" (optional string) ~doc:"STRING ClientRequestToken" and callAs = flag "call-as" (optional json_arg) ~doc:"JSON CallAs" and stackSetName = flag "stack-set-name" (required string) ~doc:"STRING StackSetNameOrId" and regions = flag "regions" (required json_arg) ~doc:"JSON RegionList" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.update_stack_instances (Values.UpdateStackInstancesInput.make ?accounts:(Option.map ~f:Values.AccountList.of_json accounts) ?deploymentTargets:(Option.map ~f:Values.DeploymentTargets.of_json deploymentTargets) ?parameterOverrides:(Option.map ~f:Values.Parameters.of_json parameterOverrides) ?operationPreferences:(Option.map ~f:Values.StackSetOperationPreferences.of_json operationPreferences) ?operationId ?callAs:(Option.map ~f:Values.CallAs.of_json callAs) ~stackSetName ~regions:(Values.RegionList.of_json regions) ()) (Some Values.UpdateStackInstancesOutput.to_json) (Some Values.UpdateStackInstancesOutput.error_to_json)]) let update_stack_set = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and description = flag "description" (optional string) ~doc:"STRING Description" and templateBody = flag "template-body" (optional string) ~doc:"STRING TemplateBody" and templateURL = flag "template-u-r-l" (optional string) ~doc:"STRING TemplateURL" and usePreviousTemplate = flag "use-previous-template" (optional bool) ~doc:"BOOL UsePreviousTemplate" and parameters = flag "parameters" (optional json_arg) ~doc:"JSON Parameters" and capabilities = flag "capabilities" (optional json_arg) ~doc:"JSON Capabilities" and = flag "tags" (optional json_arg) ~doc:"JSON Tags" and operationPreferences = flag "operation-preferences" (optional json_arg) ~doc:"JSON StackSetOperationPreferences" and administrationRoleARN = flag "administration-role-a-r-n" (optional string) ~doc:"STRING RoleARN" and executionRoleName = flag "execution-role-name" (optional string) ~doc:"STRING ExecutionRoleName" and deploymentTargets = flag "deployment-targets" (optional json_arg) ~doc:"JSON DeploymentTargets" and permissionModel = flag "permission-model" (optional json_arg) ~doc:"JSON PermissionModels" and autoDeployment = flag "auto-deployment" (optional json_arg) ~doc:"JSON AutoDeployment" and operationId = flag "operation-id" (optional string) ~doc:"STRING ClientRequestToken" and accounts = flag "accounts" (optional json_arg) ~doc:"JSON AccountList" and regions = flag "regions" (optional json_arg) ~doc:"JSON RegionList" and callAs = flag "call-as" (optional json_arg) ~doc:"JSON CallAs" and managedExecution = flag "managed-execution" (optional json_arg) ~doc:"JSON ManagedExecution" and stackSetName = flag "stack-set-name" (required string) ~doc:"STRING StackSetName" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.update_stack_set (Values.UpdateStackSetInput.make ?description ?templateBody ?templateURL ?usePreviousTemplate ?parameters:(Option.map ~f:Values.Parameters.of_json parameters) ?capabilities:(Option.map ~f:Values.Capabilities.of_json capabilities) ?tags:(Option.map ~f:Values.Tags.of_json tags) ?operationPreferences:(Option.map ~f:Values.StackSetOperationPreferences.of_json operationPreferences) ?administrationRoleARN ?executionRoleName ?deploymentTargets:(Option.map ~f:Values.DeploymentTargets.of_json deploymentTargets) ?permissionModel:(Option.map ~f:Values.PermissionModels.of_json permissionModel) ?autoDeployment:(Option.map ~f:Values.AutoDeployment.of_json autoDeployment) ?operationId ?accounts:(Option.map ~f:Values.AccountList.of_json accounts) ?regions:(Option.map ~f:Values.RegionList.of_json regions) ?callAs:(Option.map ~f:Values.CallAs.of_json callAs) ?managedExecution:(Option.map ~f:Values.ManagedExecution.of_json managedExecution) ~stackSetName ()) (Some Values.UpdateStackSetOutput.to_json) (Some Values.UpdateStackSetOutput.error_to_json)]) let update_termination_protection = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and enableTerminationProtection = flag "enable-termination-protection" (required bool) ~doc:"BOOL EnableTerminationProtection" and stackName = flag "stack-name" (required string) ~doc:"STRING StackNameOrId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.update_termination_protection (Values.UpdateTerminationProtectionInput.make ~enableTerminationProtection ~stackName ()) (Some Values.UpdateTerminationProtectionOutput.to_json) (Some Values.UpdateTerminationProtectionOutput.error_to_json)]) let validate_template = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and templateBody = flag "template-body" (optional string) ~doc:"STRING TemplateBody" and templateURL = flag "template-u-r-l" (optional string) ~doc:"STRING TemplateURL" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.validate_template (Values.ValidateTemplateInput.make ?templateBody ?templateURL ()) (Some Values.ValidateTemplateOutput.to_json) (Some Values.ValidateTemplateOutput.error_to_json)]) let main = Command.group ~summary:((Awso.Service.to_string Values.service) ^ " commands") [("activate-organizations-access", activate_organizations_access); ("activate-type", activate_type); ("batch-describe-type-configurations", batch_describe_type_configurations); ("cancel-update-stack", cancel_update_stack); ("continue-update-rollback", continue_update_rollback); ("create-change-set", create_change_set); ("create-generated-template", create_generated_template); ("create-stack", create_stack); ("create-stack-instances", create_stack_instances); ("create-stack-refactor", create_stack_refactor); ("create-stack-set", create_stack_set); ("deactivate-organizations-access", deactivate_organizations_access); ("deactivate-type", deactivate_type); ("delete-change-set", delete_change_set); ("delete-generated-template", delete_generated_template); ("delete-stack", delete_stack); ("delete-stack-instances", delete_stack_instances); ("delete-stack-set", delete_stack_set); ("deregister-type", deregister_type); ("describe-account-limits", describe_account_limits); ("describe-change-set", describe_change_set); ("describe-change-set-hooks", describe_change_set_hooks); ("describe-events", describe_events); ("describe-generated-template", describe_generated_template); ("describe-organizations-access", describe_organizations_access); ("describe-publisher", describe_publisher); ("describe-resource-scan", describe_resource_scan); ("describe-stack-drift-detection-status", describe_stack_drift_detection_status); ("describe-stack-events", describe_stack_events); ("describe-stack-instance", describe_stack_instance); ("describe-stack-refactor", describe_stack_refactor); ("describe-stack-resource", describe_stack_resource); ("describe-stack-resource-drifts", describe_stack_resource_drifts); ("describe-stack-resources", describe_stack_resources); ("describe-stack-set", describe_stack_set); ("describe-stack-set-operation", describe_stack_set_operation); ("describe-stacks", describe_stacks); ("describe-type", describe_type); ("describe-type-registration", describe_type_registration); ("detect-stack-drift", detect_stack_drift); ("detect-stack-resource-drift", detect_stack_resource_drift); ("detect-stack-set-drift", detect_stack_set_drift); ("estimate-template-cost", estimate_template_cost); ("execute-change-set", execute_change_set); ("execute-stack-refactor", execute_stack_refactor); ("get-generated-template", get_generated_template); ("get-hook-result", get_hook_result); ("get-stack-policy", get_stack_policy); ("get-template", get_template); ("get-template-summary", get_template_summary); ("import-stacks-to-stack-set", import_stacks_to_stack_set); ("list-change-sets", list_change_sets); ("list-exports", list_exports); ("list-generated-templates", list_generated_templates); ("list-hook-results", list_hook_results); ("list-imports", list_imports); ("list-resource-scan-related-resources", list_resource_scan_related_resources); ("list-resource-scan-resources", list_resource_scan_resources); ("list-resource-scans", list_resource_scans); ("list-stack-instance-resource-drifts", list_stack_instance_resource_drifts); ("list-stack-instances", list_stack_instances); ("list-stack-refactor-actions", list_stack_refactor_actions); ("list-stack-refactors", list_stack_refactors); ("list-stack-resources", list_stack_resources); ("list-stack-set-auto-deployment-targets", list_stack_set_auto_deployment_targets); ("list-stack-set-operation-results", list_stack_set_operation_results); ("list-stack-set-operations", list_stack_set_operations); ("list-stack-sets", list_stack_sets); ("list-stacks", list_stacks); ("list-type-registrations", list_type_registrations); ("list-type-versions", list_type_versions); ("list-types", list_types); ("publish-type", publish_type); ("record-handler-progress", record_handler_progress); ("register-publisher", register_publisher); ("register-type", register_type); ("rollback-stack", rollback_stack); ("set-stack-policy", set_stack_policy); ("set-type-configuration", set_type_configuration); ("set-type-default-version", set_type_default_version); ("signal-resource", signal_resource); ("start-resource-scan", start_resource_scan); ("stop-stack-set-operation", stop_stack_set_operation); ("test-type", test_type); ("update-generated-template", update_generated_template); ("update-stack", update_stack); ("update-stack-instances", update_stack_instances); ("update-stack-set", update_stack_set); ("update-termination-protection", update_termination_protection); ("validate-template", validate_template)]
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>