package awso-async
Source file cli_3.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 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103 3104 3105 3106 3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 3157 3158 3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 3176 3177 3178 3179 3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 3206 3207 3208 3209 3210 3211 3212 3213 3214 3215 3216 3217 3218 3219 3220 3221 3222 3223 3224 3225 3226 3227 3228 3229 3230 3231 3232 3233 3234 3235 3236 3237 3238 3239 3240 3241 3242 3243 3244 3245 3246 3247 3248 3249 3250 3251 3252 3253 3254 3255 3256 3257 3258 3259 3260 3261 3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 3287 3288 3289 3290 3291 3292 3293 3294 3295 3296 3297 3298 3299 3300 3301 3302 3303 3304 3305 3306 3307 3308 3309 3310 3311 3312 3313 3314 3315 3316 3317 3318 3319 3320 3321 3322 3323 3324 3325 3326 3327 3328 3329 3330 3331 3332 3333 3334 3335 3336 3337 3338 3339 3340 3341 3342 3343 3344 3345 3346 3347 3348 3349 3350 3351 3352 3353 3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 3367 3368 3369 3370 3371 3372 3373 3374 3375 3376 3377 3378 3379 3380 3381 3382 3383 3384 3385 3386 3387 3388 3389 3390 3391 3392 3393 3394 3395 3396 3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 3420 3421 3422 3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 3434 3435 3436 3437 3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 3471 3472 3473 3474 3475 3476 3477 3478 3479 3480 3481 3482 3483 3484 3485 3486 3487 3488 3489 3490 3491 3492 3493 3494 3495 3496 3497 3498 3499 3500 3501 3502 3503 3504 3505 3506 3507 3508 3509 3510 3511 3512 3513 3514 3515 3516 3517 3518 3519 3520 3521 3522 3523 3524 3525 3526 3527 3528 3529 3530 3531 3532 3533 3534 3535 3536 3537 3538 3539 3540 3541 3542 3543 3544 3545 3546 3547 3548 3549 3550 3551 3552 3553 3554 3555 3556 3557 3558 3559 3560 3561 3562 3563 3564 3565 3566 3567 3568 3569 3570 3571 3572 3573 3574 3575 3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 3601 3602 3603 3604 3605 3606 3607 3608 3609 3610 3611 3612 3613 3614 3615 3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 3626 3627 3628 3629 3630 3631 3632 3633 3634 3635 3636 3637 3638 3639 3640 3641 3642 3643 3644 3645 3646 3647 3648 3649 3650 3651 3652 3653 3654 3655 3656 3657 3658 3659 3660 3661 3662 3663 3664 3665 3666 3667 3668 3669 3670 3671 3672 3673 3674 3675 3676 3677 3678 3679 3680 3681 3682 3683 3684 3685 3686 3687 3688 3689 3690 3691 3692 3693 3694 3695 3696 3697 3698 3699 3700 3701 3702 3703 3704 3705 3706 3707 3708 3709 3710 3711 3712 3713 3714 3715 3716 3717 3718 3719 3720 3721 3722 3723 3724 3725 3726 3727 3728 3729 3730 3731 3732 3733 3734 3735 3736 3737 3738 3739 3740 3741 3742 3743 3744 3745 3746 3747 3748 3749 3750 3751 3752 3753 3754 3755 3756 3757 3758 3759 3760 3761 3762 3763 3764 3765 3766 3767 3768 3769 3770 3771 3772 3773 3774 3775 3776 3777 3778 3779 3780 3781 3782 3783 3784 3785 3786 3787 3788 3789 3790 3791 3792 3793 3794 3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 3808 3809 3810 3811 3812 3813 3814 3815 3816 3817 3818 3819 3820 3821 3822 3823 3824 3825 3826 3827 3828 3829 3830 3831 3832 3833 3834 3835 3836 3837 3838 3839 3840 3841 3842 3843 3844 3845 3846 3847 3848 3849 3850 3851 3852 3853 3854 3855 3856 3857 3858 3859 3860 3861 3862 3863 3864 3865 3866 3867 3868 3869 3870 3871 3872 3873 3874 3875 3876 3877 3878 3879 3880 3881 3882 3883 3884 3885 3886 3887 3888 3889 3890 3891 3892 3893 3894 3895 3896 3897 3898 3899 3900 3901 3902 3903 3904 3905 3906 3907 3908 3909 3910 3911 3912 3913 3914 3915 3916 3917 3918 3919 3920 3921 3922 3923 3924 3925 3926 3927 3928 3929 3930 3931 3932 3933 3934 3935 3936 3937 3938 3939 3940 3941 3942 3943 3944 3945 3946 3947 3948 3949 3950 3951 3952 3953 3954 3955 3956 3957 3958 3959 3960 3961 3962 3963 3964 3965 3966 3967 3968 3969 3970 3971 3972 3973 3974 3975 3976 3977 3978 3979 3980 3981 3982 3983 3984 3985 3986 3987 3988 3989 3990 3991 3992 3993 3994 3995 3996 3997 3998 3999 4000 4001 4002 4003 4004 4005 4006 4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 4030 4031 4032 4033 4034 4035 4036 4037 4038 4039 4040 4041 4042 4043 4044 4045 4046 4047 4048 4049 4050 4051 4052 4053 4054 4055 4056 4057 4058 4059 4060 4061 4062 4063 4064 4065 4066 4067 4068 4069 4070 4071 4072 4073 4074 4075 4076 4077 4078 4079 4080 4081 4082 4083 4084 4085 4086 4087 4088 4089 4090 4091 4092 4093 4094 4095 4096 4097 4098 4099 4100 4101 4102 4103 4104 4105 4106 4107 4108 4109 4110 4111 4112 4113 4114 4115 4116 4117 4118 4119 4120 4121 4122 4123 4124 4125 4126 4127 4128 4129 4130 4131 4132 4133 4134 4135 4136 4137 4138 4139 4140 4141 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 4164 4165 4166 4167 4168 4169 4170 4171 4172 4173 4174 4175 4176 4177 4178 4179 4180 4181 4182 4183 4184 4185 4186 4187 4188 4189 4190 4191 4192 4193 4194 4195 4196 4197 4198 4199 4200 4201 4202 4203 4204 4205 4206 4207 4208 4209 4210 4211 4212 4213 4214 4215 4216 4217 4218 4219 4220 4221 4222 4223 4224 4225 4226 4227 4228 4229 4230 4231 4232 4233 4234 4235 4236 4237 4238 4239 4240 4241 4242 4243 4244 4245 4246 4247 4248 4249 4250 4251 4252 4253 4254 4255 4256 4257 4258 4259 4260 4261 4262 4263 4264 4265 4266 4267 4268 4269 4270 4271 4272 4273 4274 4275 4276 4277 4278 4279 4280 4281 4282 4283 4284 4285 4286 4287 4288 4289 4290 4291 4292 4293 4294 4295 4296 4297 4298 4299 4300 4301 4302 4303 4304 4305 4306 4307 4308 4309 4310 4311 4312 4313 4314 4315 4316 4317 4318 4319 4320 4321 4322 4323 4324 4325 4326 4327 4328 4329 4330 4331 4332 4333 4334 4335 4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 4346 4347 4348 4349 4350 4351 4352 4353 4354 4355 4356 4357 4358 4359 4360 4361 4362 4363 4364 4365 4366 4367 4368 4369 4370 4371 4372 4373 4374 4375 4376 4377 4378 4379 4380 4381 4382 4383 4384 4385 4386 4387 4388 4389 4390 4391 4392 4393 4394 4395 4396 4397 4398 4399 4400 4401 4402 4403 4404 4405 4406 4407 4408 4409 4410 4411 4412 4413 4414 4415 4416 4417 4418 4419 4420 4421 4422 4423 4424 4425 4426 4427 4428 4429 4430 4431 4432 4433 4434 4435 4436 4437 4438 4439 4440 4441 4442 4443 4444 4445 4446 4447 4448 4449 4450 4451 4452 4453 4454 4455 4456 4457 4458 4459 4460 4461 4462 4463 4464 4465 4466 4467 4468 4469 4470 4471 4472 4473 4474 4475 4476 4477 4478 4479 4480 4481 4482 4483 4484 4485 4486 4487 4488 4489 4490 4491 4492 4493 4494 4495 4496 4497 4498 4499 4500 4501 4502 4503 4504 4505 4506 4507 4508 4509 4510 4511 4512 4513 4514 4515 4516 4517 4518 4519 4520 4521 4522 4523 4524 4525 4526 4527 4528 4529 4530 4531 4532 4533 4534 4535 4536 4537 4538 4539 4540 4541 4542 4543 4544 4545 4546 4547 4548 4549 4550 4551 4552 4553 4554 4555 4556 4557 4558 4559 4560 4561 4562 4563 4564 4565 4566 4567 4568 4569 4570 4571 4572 4573 4574 4575 4576 4577 4578 4579 4580 4581 4582 4583 4584 4585 4586 4587 4588 4589 4590 4591 4592 4593 4594 4595 4596 4597 4598 4599 4600 4601 4602 4603 4604 4605 4606 4607 4608 4609 4610 4611 4612 4613 4614 4615 4616 4617 4618 4619 4620 4621 4622 4623 4624 4625 4626 4627 4628 4629 4630 4631 4632 4633 4634 4635 4636 4637 4638 4639 4640 4641 4642 4643 4644 4645 4646 4647 4648 4649 4650 4651 4652 4653 4654 4655 4656 4657 4658 4659 4660 4661 4662 4663 4664 4665 4666 4667 4668 4669 4670 4671 4672 4673 4674 4675 4676 4677 4678 4679 4680 4681 4682 4683 4684 4685 4686 4687 4688 4689 4690 4691 4692 4693 4694 4695 4696 4697 4698 4699 4700 4701 4702 4703 4704 4705 4706 4707 4708 4709 4710 4711 4712 4713 4714 4715 4716 4717 4718 4719 4720 4721 4722 4723 4724 4725 4726 4727 4728 4729 4730 4731 4732 4733 4734 4735 4736 4737 4738 4739 4740 4741 4742 4743 4744 4745 4746 4747 4748 4749 4750 4751 4752 4753 4754 4755 4756 4757 4758 4759 4760 4761 4762 4763 4764 4765 4766 4767 4768 4769 4770 4771 4772 4773 4774 4775 4776 4777 4778 4779 4780 4781 4782 4783 4784 4785 4786 4787 4788 4789 4790 4791 4792 4793 4794 4795 4796 4797 4798 4799 4800 4801 4802 4803 4804 4805 4806 4807 4808 4809 4810 4811 4812 4813 4814 4815 4816 4817 4818 4819 4820 4821 4822 4823 4824 4825 4826 4827 4828 4829 4830 4831 4832 4833 4834 4835 4836 4837 4838 4839 4840 4841 4842 4843 4844 4845 4846 4847 4848 4849 4850 4851 4852 4853 4854 4855 4856 4857 4858 4859 4860 4861 4862 4863 4864 4865 4866 4867 4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 4890 4891 4892 4893 4894 4895 4896 4897 4898 4899 4900 4901 4902 4903 4904 4905 4906 4907 4908 4909 4910 4911 4912 4913 4914 4915 4916 4917 4918 4919 4920 4921 4922 4923 4924 4925 4926 4927 4928 4929 4930 4931 4932 4933 4934 4935 4936 4937 4938 4939 4940 4941 4942 4943 4944 4945 4946 4947 4948 4949 4950 4951 4952 4953 4954 4955 4956 4957 4958 4959 4960 4961 4962 4963 4964 4965 4966 4967 4968 4969 4970 4971 4972 4973 4974 4975 4976 4977 4978 4979 4980 4981 4982 4983 4984 4985 4986 4987 4988 4989 4990 4991 4992 4993 4994 4995 4996 4997 4998 4999 5000 5001 5002 5003 5004 5005 5006 5007 5008 5009 5010 5011 5012 5013 5014 5015 5016 5017 5018 5019 5020 5021 5022 5023 5024 5025 5026 5027 5028 5029 5030 5031 5032 5033 5034 5035 5036 5037 5038 5039 5040 5041 5042 5043 5044 5045 5046 5047 5048 5049 5050 5051 5052 5053 5054 5055 5056 5057 5058 5059 5060 5061 5062 5063 5064 5065 5066 5067 5068 5069 5070 5071 5072 5073 5074 5075 5076 5077 5078 5079 5080 5081 5082 5083 5084 5085 5086 5087 5088 5089 5090 5091 5092 5093 5094 5095 5096 5097 5098 5099 5100 5101 5102 5103 5104 5105 5106 5107 5108 5109 5110 5111 5112 5113 5114 5115 5116 5117 5118 5119 5120 5121 5122 5123 5124 5125 5126 5127 5128 5129 5130 5131 5132 5133 5134 5135 5136 5137 5138 5139 5140 5141 5142 5143 5144 5145 5146 5147 5148 5149 5150 5151 5152 5153 5154 5155 5156 5157 5158 5159 5160 5161 5162 5163 5164 5165 5166 5167 5168 5169 5170 5171 5172 5173 5174 5175 5176 5177 5178 5179 5180 5181 5182 5183 5184 5185 5186 5187 5188 5189 5190 5191 5192 5193 5194 5195 5196 5197 5198 5199 5200 5201 5202 5203 5204 5205 5206 5207 5208 5209 5210 5211 5212 5213 5214 5215 5216 5217 5218 5219 5220 5221 5222 5223 5224 5225 5226 5227 5228 5229 5230 5231 5232 5233 5234 5235 5236 5237 5238 5239 5240 5241 5242 5243 5244 5245 5246 5247 5248 5249 5250 5251 5252 5253 5254 5255 5256 5257 5258 5259 5260 5261 5262 5263 5264 5265 5266 5267 5268 5269 5270 5271 5272 5273 5274 5275 5276 5277 5278 5279 5280 5281 5282 5283 5284 5285 5286 5287 5288 5289 5290 5291 5292 5293 5294 5295 5296 5297 5298 5299 5300 5301 5302 5303 5304 5305 5306 5307 5308 5309 5310 5311 5312 5313 5314 5315 5316 5317 5318 5319 5320 5321 5322 5323 5324 5325 5326 5327 5328 5329 5330 5331 5332 5333 5334 5335 5336 5337 5338 5339 5340 5341 5342 5343 5344 5345 5346 5347 5348 5349 5350 5351 5352 5353 5354 5355 5356 5357 5358 5359 5360 5361 5362 5363 5364 5365 5366 5367 5368 5369 5370 5371 5372 5373 5374 5375 5376 5377 5378 5379 5380 5381 5382 5383 5384 5385 5386 5387 5388 5389 5390 5391 5392 5393 5394 5395 5396 5397 5398 5399 5400 5401 5402 5403 5404 5405 5406 5407 5408 5409 5410 5411 5412 5413 5414 5415 5416 5417 5418 5419 5420 5421 5422 5423 5424 5425 5426 5427 5428 5429 5430 5431 5432 5433 5434 5435 5436 5437 5438 5439 5440 5441 5442 5443 5444 5445 5446 5447 5448 5449 5450 5451 5452 5453 5454 5455 5456 5457 5458 5459 5460 5461 5462 5463 5464 5465 5466 5467 5468 5469 5470 5471 5472 5473 5474 5475 5476 5477 5478 5479 5480 5481 5482 5483 5484 5485 5486 5487 5488 5489 5490 5491 5492 5493 5494 5495 5496 5497 5498 5499 5500 5501 5502 5503 5504 5505 5506 5507 5508 5509 5510 5511 5512 5513 5514 5515 5516 5517 5518 5519 5520 5521 5522 5523 5524 5525 5526 5527 5528 5529 5530 5531 5532 5533 5534 5535 5536 5537 5538 5539 5540 5541 5542 5543 5544 5545 5546 5547 5548 5549 5550 5551 5552 5553 5554 5555 5556 5557 5558 5559 5560 5561 5562 5563 5564 5565 5566 5567 5568 5569 5570 5571 5572 5573 5574 5575 5576 5577 5578 5579 5580 5581 5582 5583 5584 5585 5586 5587 5588 5589 5590 5591 5592 5593 5594 5595 5596 5597 5598 5599 5600 5601 5602 5603 5604 5605 5606 5607 5608 5609 5610 5611 5612 5613 5614 5615 5616 5617 5618 5619 5620 5621 5622 5623 5624 5625 5626 5627 5628 5629 5630 5631 5632 5633 5634 5635 5636 5637 5638 5639 5640 5641 5642 5643 5644 5645 5646 5647 5648 5649 5650 5651 5652 5653 5654 5655 5656 5657 5658 5659 5660 5661 5662 5663 5664 5665 5666 5667 5668 5669 5670 5671 5672 5673 5674 5675 5676 5677 5678 5679 5680 5681 5682 5683 5684 5685 5686 5687 5688 5689 5690 5691 5692 5693 5694 5695 5696 5697 5698 5699 5700 5701 5702 5703 5704 5705 5706 5707 5708 5709 5710 5711 5712 5713 5714 5715 5716 5717 5718 5719 5720 5721 5722 5723 5724 5725 5726 5727 5728 5729 5730 5731 5732 5733 5734 5735 5736 5737 5738 5739 5740 5741 5742 5743 5744 5745 5746 5747 5748 5749 5750 5751 5752 5753 5754 5755 5756 5757 5758 5759 5760 5761 5762 5763 5764 5765 5766 5767 5768 5769 5770 5771 5772 5773 5774 5775 5776 5777 5778 5779 5780 5781 5782 5783 5784 5785 5786 5787 5788 5789 5790 5791 5792 5793 5794 5795 5796 5797 5798 5799 5800 5801 5802 5803 5804 5805 5806 5807 5808 5809 5810 5811 5812 5813 5814 5815 5816 5817 5818 5819 5820 5821 5822 5823 5824 5825 5826 5827 5828 5829 5830 5831 5832 5833 5834 5835 5836 5837 5838 5839 5840 5841 5842 5843 5844 5845 5846 5847 5848 5849 5850 5851 5852 5853 5854 5855 5856 5857 5858 5859 5860 5861 5862 5863 5864 5865 5866 5867 5868 5869 5870 5871 5872 5873 5874 5875 5876 5877 5878 5879 5880 5881 5882 5883 5884 5885 5886 5887 5888 5889 5890 5891 5892 5893 5894 5895 5896 5897 5898 5899 5900 5901 5902 5903 5904 5905 5906 5907 5908 5909 5910 5911 5912 5913 5914 5915 5916 5917 5918 5919 5920 5921 5922 5923 5924 5925 5926 5927 5928 5929 5930 5931 5932 5933 5934 5935 5936 5937 5938 5939 5940 5941 5942 5943 5944 5945 5946 5947 5948 5949 5950 5951 5952 5953 5954 5955 5956 5957 5958 5959 5960 5961 5962 5963 5964 5965 5966 5967 5968 5969 5970 5971 5972 5973 5974 5975 5976 5977 5978 5979 5980 5981 5982 5983 5984 5985 5986 5987 5988 5989 5990 5991 5992 5993 5994 5995 5996 5997 5998 5999 6000 6001 6002 6003 6004 6005 6006 6007 6008 6009 6010 6011 6012 6013 6014 6015 6016 6017 6018 6019 6020 6021 6022 6023 6024 6025 6026 6027 6028 6029 6030 6031 6032 6033 6034 6035 6036 6037 6038 6039 6040 6041 6042 6043 6044 6045 6046 6047 6048 6049 6050 6051 6052 6053 6054 6055 6056 6057 6058 6059 6060 6061 6062 6063 6064 6065 6066 6067 6068 6069 6070 6071 6072 6073 6074 6075 6076 6077 6078 6079 6080 6081 6082 6083 6084 6085 6086 6087 6088 6089 6090 6091 6092 6093 6094 6095 6096 6097 6098 6099 6100 6101 6102 6103 6104 6105 6106 6107 6108 6109 6110 6111 6112 6113 6114 6115 6116 6117 6118 6119 6120 6121 6122 6123 6124 6125 6126 6127 6128 6129 6130 6131 6132 6133 6134 6135 6136 6137 6138 6139 6140 6141 6142 6143 6144 6145 6146 6147 6148 6149 6150 6151 6152 6153 6154 6155 6156 6157 6158 6159 6160 6161 6162 6163 6164 6165 6166 6167 6168 6169 6170 6171 6172 6173 6174 6175 6176 6177 6178 6179 6180 6181(* 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 open Cli_0[@@warning "-33"] open Cli_1[@@warning "-33"] open Cli_2[@@warning "-33"] let get_route_server_propagations = 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 routeTableId = flag "route-table-id" (optional string) ~doc:"STRING RouteTableId" and dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and routeServerId = flag "route-server-id" (required string) ~doc:"STRING RouteServerId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.get_route_server_propagations (Values.GetRouteServerPropagationsRequest.make ?routeTableId ?dryRun ~routeServerId ()) (Some Values.GetRouteServerPropagationsResult.to_json) (Some Values.Ec2_error.to_json)]) let get_route_server_routing_database = 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 String" and maxResults = flag "max-results" (optional int) ~doc:"INT RouteServerMaxResults" and dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and filters = flag "filters" (optional json_arg) ~doc:"JSON FilterList" and routeServerId = flag "route-server-id" (required string) ~doc:"STRING RouteServerId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.get_route_server_routing_database (Values.GetRouteServerRoutingDatabaseRequest.make ?nextToken ?maxResults ?dryRun ?filters:(Option.map ~f:Values.FilterList.of_json filters) ~routeServerId ()) (Some Values.GetRouteServerRoutingDatabaseResult.to_json) (Some Values.Ec2_error.to_json)]) let get_security_groups_for_vpc = 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 String" and maxResults = flag "max-results" (optional int) ~doc:"INT GetSecurityGroupsForVpcRequestMaxResults" and filters = flag "filters" (optional json_arg) ~doc:"JSON FilterList" and dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and vpcId = flag "vpc-id" (required string) ~doc:"STRING VpcId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.get_security_groups_for_vpc (Values.GetSecurityGroupsForVpcRequest.make ?nextToken ?maxResults ?filters:(Option.map ~f:Values.FilterList.of_json filters) ?dryRun ~vpcId ()) (Some Values.GetSecurityGroupsForVpcResult.to_json) (Some Values.Ec2_error.to_json)]) let get_serial_console_access_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 dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.get_serial_console_access_status (Values.GetSerialConsoleAccessStatusRequest.make ?dryRun ()) (Some Values.GetSerialConsoleAccessStatusResult.to_json) (Some Values.Ec2_error.to_json)]) let get_snapshot_block_public_access_state = 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 dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.get_snapshot_block_public_access_state (Values.GetSnapshotBlockPublicAccessStateRequest.make ?dryRun ()) (Some Values.GetSnapshotBlockPublicAccessStateResult.to_json) (Some Values.Ec2_error.to_json)]) let get_spot_placement_scores = 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 instanceTypes = flag "instance-types" (optional json_arg) ~doc:"JSON InstanceTypes" and targetCapacityUnitType = flag "target-capacity-unit-type" (optional json_arg) ~doc:"JSON TargetCapacityUnitType" and singleAvailabilityZone = flag "single-availability-zone" (optional bool) ~doc:"BOOL Boolean" and regionNames = flag "region-names" (optional json_arg) ~doc:"JSON RegionNames" and instanceRequirementsWithMetadata = flag "instance-requirements-with-metadata" (optional json_arg) ~doc:"JSON InstanceRequirementsWithMetadataRequest" and dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and maxResults = flag "max-results" (optional int) ~doc:"INT SpotPlacementScoresMaxResults" and nextToken = flag "next-token" (optional string) ~doc:"STRING String" and targetCapacity = flag "target-capacity" (required int) ~doc:"INT SpotPlacementScoresTargetCapacity" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.get_spot_placement_scores (Values.GetSpotPlacementScoresRequest.make ?instanceTypes:(Option.map ~f:Values.InstanceTypes.of_json instanceTypes) ?targetCapacityUnitType:(Option.map ~f:Values.TargetCapacityUnitType.of_json targetCapacityUnitType) ?singleAvailabilityZone ?regionNames:(Option.map ~f:Values.RegionNames.of_json regionNames) ?instanceRequirementsWithMetadata:(Option.map ~f:Values.InstanceRequirementsWithMetadataRequest.of_json instanceRequirementsWithMetadata) ?dryRun ?maxResults ?nextToken ~targetCapacity ()) (Some Values.GetSpotPlacementScoresResult.to_json) (Some Values.Ec2_error.to_json)]) let get_subnet_cidr_reservations = 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 filters = flag "filters" (optional json_arg) ~doc:"JSON FilterList" and dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and nextToken = flag "next-token" (optional string) ~doc:"STRING String" and maxResults = flag "max-results" (optional int) ~doc:"INT GetSubnetCidrReservationsMaxResults" and subnetId = flag "subnet-id" (required string) ~doc:"STRING SubnetId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.get_subnet_cidr_reservations (Values.GetSubnetCidrReservationsRequest.make ?filters:(Option.map ~f:Values.FilterList.of_json filters) ?dryRun ?nextToken ?maxResults ~subnetId ()) (Some Values.GetSubnetCidrReservationsResult.to_json) (Some Values.Ec2_error.to_json)]) let get_transit_gateway_attachment_propagations = 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 filters = flag "filters" (optional json_arg) ~doc:"JSON FilterList" and maxResults = flag "max-results" (optional int) ~doc:"INT TransitGatewayMaxResults" and nextToken = flag "next-token" (optional string) ~doc:"STRING String" and dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and transitGatewayAttachmentId = flag "transit-gateway-attachment-id" (required string) ~doc:"STRING TransitGatewayAttachmentId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.get_transit_gateway_attachment_propagations (Values.GetTransitGatewayAttachmentPropagationsRequest.make ?filters:(Option.map ~f:Values.FilterList.of_json filters) ?maxResults ?nextToken ?dryRun ~transitGatewayAttachmentId ()) (Some Values.GetTransitGatewayAttachmentPropagationsResult.to_json) (Some Values.Ec2_error.to_json)]) let get_transit_gateway_metering_policy_entries = 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 filters = flag "filters" (optional json_arg) ~doc:"JSON FilterList" and maxResults = flag "max-results" (optional int) ~doc:"INT TransitGatewayMaxResults" and nextToken = flag "next-token" (optional string) ~doc:"STRING String" and dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and transitGatewayMeteringPolicyId = flag "transit-gateway-metering-policy-id" (required string) ~doc:"STRING TransitGatewayMeteringPolicyId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.get_transit_gateway_metering_policy_entries (Values.GetTransitGatewayMeteringPolicyEntriesRequest.make ?filters:(Option.map ~f:Values.FilterList.of_json filters) ?maxResults ?nextToken ?dryRun ~transitGatewayMeteringPolicyId ()) (Some Values.GetTransitGatewayMeteringPolicyEntriesResult.to_json) (Some Values.Ec2_error.to_json)]) let get_transit_gateway_multicast_domain_associations = 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 filters = flag "filters" (optional json_arg) ~doc:"JSON FilterList" and maxResults = flag "max-results" (optional int) ~doc:"INT TransitGatewayMaxResults" and nextToken = flag "next-token" (optional string) ~doc:"STRING String" and dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and transitGatewayMulticastDomainId = flag "transit-gateway-multicast-domain-id" (required string) ~doc:"STRING TransitGatewayMulticastDomainId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.get_transit_gateway_multicast_domain_associations (Values.GetTransitGatewayMulticastDomainAssociationsRequest.make ?filters:(Option.map ~f:Values.FilterList.of_json filters) ?maxResults ?nextToken ?dryRun ~transitGatewayMulticastDomainId ()) (Some Values.GetTransitGatewayMulticastDomainAssociationsResult.to_json) (Some Values.Ec2_error.to_json)]) let get_transit_gateway_policy_table_associations = 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 filters = flag "filters" (optional json_arg) ~doc:"JSON FilterList" and maxResults = flag "max-results" (optional int) ~doc:"INT TransitGatewayMaxResults" and nextToken = flag "next-token" (optional string) ~doc:"STRING String" and dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and transitGatewayPolicyTableId = flag "transit-gateway-policy-table-id" (required string) ~doc:"STRING TransitGatewayPolicyTableId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.get_transit_gateway_policy_table_associations (Values.GetTransitGatewayPolicyTableAssociationsRequest.make ?filters:(Option.map ~f:Values.FilterList.of_json filters) ?maxResults ?nextToken ?dryRun ~transitGatewayPolicyTableId ()) (Some Values.GetTransitGatewayPolicyTableAssociationsResult.to_json) (Some Values.Ec2_error.to_json)]) let get_transit_gateway_policy_table_entries = 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 filters = flag "filters" (optional json_arg) ~doc:"JSON FilterList" and maxResults = flag "max-results" (optional int) ~doc:"INT TransitGatewayMaxResults" and nextToken = flag "next-token" (optional string) ~doc:"STRING String" and dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and transitGatewayPolicyTableId = flag "transit-gateway-policy-table-id" (required string) ~doc:"STRING TransitGatewayPolicyTableId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.get_transit_gateway_policy_table_entries (Values.GetTransitGatewayPolicyTableEntriesRequest.make ?filters:(Option.map ~f:Values.FilterList.of_json filters) ?maxResults ?nextToken ?dryRun ~transitGatewayPolicyTableId ()) (Some Values.GetTransitGatewayPolicyTableEntriesResult.to_json) (Some Values.Ec2_error.to_json)]) let get_transit_gateway_prefix_list_references = 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 filters = flag "filters" (optional json_arg) ~doc:"JSON FilterList" and maxResults = flag "max-results" (optional int) ~doc:"INT TransitGatewayMaxResults" and nextToken = flag "next-token" (optional string) ~doc:"STRING String" and dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and transitGatewayRouteTableId = flag "transit-gateway-route-table-id" (required string) ~doc:"STRING TransitGatewayRouteTableId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.get_transit_gateway_prefix_list_references (Values.GetTransitGatewayPrefixListReferencesRequest.make ?filters:(Option.map ~f:Values.FilterList.of_json filters) ?maxResults ?nextToken ?dryRun ~transitGatewayRouteTableId ()) (Some Values.GetTransitGatewayPrefixListReferencesResult.to_json) (Some Values.Ec2_error.to_json)]) let get_transit_gateway_route_table_associations = 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 filters = flag "filters" (optional json_arg) ~doc:"JSON FilterList" and maxResults = flag "max-results" (optional int) ~doc:"INT TransitGatewayMaxResults" and nextToken = flag "next-token" (optional string) ~doc:"STRING String" and dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and transitGatewayRouteTableId = flag "transit-gateway-route-table-id" (required string) ~doc:"STRING TransitGatewayRouteTableId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.get_transit_gateway_route_table_associations (Values.GetTransitGatewayRouteTableAssociationsRequest.make ?filters:(Option.map ~f:Values.FilterList.of_json filters) ?maxResults ?nextToken ?dryRun ~transitGatewayRouteTableId ()) (Some Values.GetTransitGatewayRouteTableAssociationsResult.to_json) (Some Values.Ec2_error.to_json)]) let get_transit_gateway_route_table_propagations = 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 filters = flag "filters" (optional json_arg) ~doc:"JSON FilterList" and maxResults = flag "max-results" (optional int) ~doc:"INT TransitGatewayMaxResults" and nextToken = flag "next-token" (optional string) ~doc:"STRING String" and dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and transitGatewayRouteTableId = flag "transit-gateway-route-table-id" (required string) ~doc:"STRING TransitGatewayRouteTableId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.get_transit_gateway_route_table_propagations (Values.GetTransitGatewayRouteTablePropagationsRequest.make ?filters:(Option.map ~f:Values.FilterList.of_json filters) ?maxResults ?nextToken ?dryRun ~transitGatewayRouteTableId ()) (Some Values.GetTransitGatewayRouteTablePropagationsResult.to_json) (Some Values.Ec2_error.to_json)]) let get_verified_access_endpoint_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 dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and verifiedAccessEndpointId = flag "verified-access-endpoint-id" (required string) ~doc:"STRING VerifiedAccessEndpointId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.get_verified_access_endpoint_policy (Values.GetVerifiedAccessEndpointPolicyRequest.make ?dryRun ~verifiedAccessEndpointId ()) (Some Values.GetVerifiedAccessEndpointPolicyResult.to_json) (Some Values.Ec2_error.to_json)]) let get_verified_access_endpoint_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 maxResults = flag "max-results" (optional int) ~doc:"INT GetVerifiedAccessEndpointTargetsMaxResults" and nextToken = flag "next-token" (optional string) ~doc:"STRING NextToken" and dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and verifiedAccessEndpointId = flag "verified-access-endpoint-id" (required string) ~doc:"STRING VerifiedAccessEndpointId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.get_verified_access_endpoint_targets (Values.GetVerifiedAccessEndpointTargetsRequest.make ?maxResults ?nextToken ?dryRun ~verifiedAccessEndpointId ()) (Some Values.GetVerifiedAccessEndpointTargetsResult.to_json) (Some Values.Ec2_error.to_json)]) let get_verified_access_group_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 dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and verifiedAccessGroupId = flag "verified-access-group-id" (required string) ~doc:"STRING VerifiedAccessGroupId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.get_verified_access_group_policy (Values.GetVerifiedAccessGroupPolicyRequest.make ?dryRun ~verifiedAccessGroupId ()) (Some Values.GetVerifiedAccessGroupPolicyResult.to_json) (Some Values.Ec2_error.to_json)]) let get_vpc_resources_blocking_encryption_enforcement = 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 maxResults = flag "max-results" (optional int) ~doc:"INT GetVpcResourcesBlockingEncryptionEnforcementMaxResults" and nextToken = flag "next-token" (optional string) ~doc:"STRING String" and dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and vpcId = flag "vpc-id" (required string) ~doc:"STRING VpcId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.get_vpc_resources_blocking_encryption_enforcement (Values.GetVpcResourcesBlockingEncryptionEnforcementRequest.make ?maxResults ?nextToken ?dryRun ~vpcId ()) (Some Values.GetVpcResourcesBlockingEncryptionEnforcementResult.to_json) (Some Values.Ec2_error.to_json)]) let get_vpn_connection_device_sample_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 internetKeyExchangeVersion = flag "internet-key-exchange-version" (optional string) ~doc:"STRING String" and sampleType = flag "sample-type" (optional string) ~doc:"STRING String" and dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and vpnConnectionId = flag "vpn-connection-id" (required string) ~doc:"STRING VpnConnectionId" and vpnConnectionDeviceTypeId = flag "vpn-connection-device-type-id" (required string) ~doc:"STRING VpnConnectionDeviceTypeId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.get_vpn_connection_device_sample_configuration (Values.GetVpnConnectionDeviceSampleConfigurationRequest.make ?internetKeyExchangeVersion ?sampleType ?dryRun ~vpnConnectionId ~vpnConnectionDeviceTypeId ()) (Some Values.GetVpnConnectionDeviceSampleConfigurationResult.to_json) (Some Values.Ec2_error.to_json)]) let get_vpn_connection_device_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 maxResults = flag "max-results" (optional int) ~doc:"INT GVCDMaxResults" and nextToken = flag "next-token" (optional string) ~doc:"STRING NextToken" and dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.get_vpn_connection_device_types (Values.GetVpnConnectionDeviceTypesRequest.make ?maxResults ?nextToken ?dryRun ()) (Some Values.GetVpnConnectionDeviceTypesResult.to_json) (Some Values.Ec2_error.to_json)]) let get_vpn_tunnel_replacement_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 dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and vpnConnectionId = flag "vpn-connection-id" (required string) ~doc:"STRING VpnConnectionId" and vpnTunnelOutsideIpAddress = flag "vpn-tunnel-outside-ip-address" (required string) ~doc:"STRING String" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.get_vpn_tunnel_replacement_status (Values.GetVpnTunnelReplacementStatusRequest.make ?dryRun ~vpnConnectionId ~vpnTunnelOutsideIpAddress ()) (Some Values.GetVpnTunnelReplacementStatusResult.to_json) (Some Values.Ec2_error.to_json)]) let import_client_vpn_client_certificate_revocation_list = 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 dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and clientVpnEndpointId = flag "client-vpn-endpoint-id" (required string) ~doc:"STRING ClientVpnEndpointId" and certificateRevocationList = flag "certificate-revocation-list" (required string) ~doc:"STRING String" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.import_client_vpn_client_certificate_revocation_list (Values.ImportClientVpnClientCertificateRevocationListRequest.make ?dryRun ~clientVpnEndpointId ~certificateRevocationList ()) (Some Values.ImportClientVpnClientCertificateRevocationListResult.to_json) (Some Values.Ec2_error.to_json)]) let import_image = 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 architecture = flag "architecture" (optional string) ~doc:"STRING String" and clientData = flag "client-data" (optional json_arg) ~doc:"JSON ClientData" and clientToken = flag "client-token" (optional string) ~doc:"STRING String" and description = flag "description" (optional string) ~doc:"STRING String" and diskContainers = flag "disk-containers" (optional json_arg) ~doc:"JSON ImageDiskContainerList" and dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and encrypted = flag "encrypted" (optional bool) ~doc:"BOOL Boolean" and hypervisor = flag "hypervisor" (optional string) ~doc:"STRING String" and kmsKeyId = flag "kms-key-id" (optional string) ~doc:"STRING KmsKeyId" and licenseType = flag "license-type" (optional string) ~doc:"STRING String" and platform = flag "platform" (optional string) ~doc:"STRING String" and roleName = flag "role-name" (optional string) ~doc:"STRING String" and licenseSpecifications = flag "license-specifications" (optional json_arg) ~doc:"JSON ImportImageLicenseSpecificationListRequest" and tagSpecifications = flag "tag-specifications" (optional json_arg) ~doc:"JSON TagSpecificationList" and usageOperation = flag "usage-operation" (optional string) ~doc:"STRING String" and bootMode = flag "boot-mode" (optional json_arg) ~doc:"JSON BootModeValues" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.import_image (Values.ImportImageRequest.make ?architecture ?clientData:(Option.map ~f:Values.ClientData.of_json clientData) ?clientToken ?description ?diskContainers:(Option.map ~f:Values.ImageDiskContainerList.of_json diskContainers) ?dryRun ?encrypted ?hypervisor ?kmsKeyId ?licenseType ?platform ?roleName ?licenseSpecifications:(Option.map ~f:Values.ImportImageLicenseSpecificationListRequest.of_json licenseSpecifications) ?tagSpecifications:(Option.map ~f:Values.TagSpecificationList.of_json tagSpecifications) ?usageOperation ?bootMode:(Option.map ~f:Values.BootModeValues.of_json bootMode) ()) (Some Values.ImportImageResult.to_json) (Some Values.Ec2_error.to_json)]) let import_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 dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and description = flag "description" (optional string) ~doc:"STRING String" and launchSpecification = flag "launch-specification" (optional json_arg) ~doc:"JSON ImportInstanceLaunchSpecification" and diskImages = flag "disk-images" (optional json_arg) ~doc:"JSON DiskImageList" and platform = flag "platform" (required json_arg) ~doc:"JSON PlatformValues" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.import_instance (Values.ImportInstanceRequest.make ?dryRun ?description ?launchSpecification:(Option.map ~f:Values.ImportInstanceLaunchSpecification.of_json launchSpecification) ?diskImages:(Option.map ~f:Values.DiskImageList.of_json diskImages) ~platform:(Values.PlatformValues.of_json platform) ()) (Some Values.ImportInstanceResult.to_json) (Some Values.Ec2_error.to_json)]) let import_key_pair = 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 tagSpecifications = flag "tag-specifications" (optional json_arg) ~doc:"JSON TagSpecificationList" and dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and keyName = flag "key-name" (required string) ~doc:"STRING String" and publicKeyMaterial = flag "public-key-material" (required json_arg) ~doc:"JSON Blob" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.import_key_pair (Values.ImportKeyPairRequest.make ?tagSpecifications:(Option.map ~f:Values.TagSpecificationList.of_json tagSpecifications) ?dryRun ~keyName ~publicKeyMaterial:(Values.Blob.of_json publicKeyMaterial) ()) (Some Values.ImportKeyPairResult.to_json) (Some Values.Ec2_error.to_json)]) let import_snapshot = 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 clientData = flag "client-data" (optional json_arg) ~doc:"JSON ClientData" and clientToken = flag "client-token" (optional string) ~doc:"STRING String" and description = flag "description" (optional string) ~doc:"STRING String" and diskContainer = flag "disk-container" (optional json_arg) ~doc:"JSON SnapshotDiskContainer" and dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and encrypted = flag "encrypted" (optional bool) ~doc:"BOOL Boolean" and kmsKeyId = flag "kms-key-id" (optional string) ~doc:"STRING KmsKeyId" and roleName = flag "role-name" (optional string) ~doc:"STRING String" and tagSpecifications = flag "tag-specifications" (optional json_arg) ~doc:"JSON TagSpecificationList" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.import_snapshot (Values.ImportSnapshotRequest.make ?clientData:(Option.map ~f:Values.ClientData.of_json clientData) ?clientToken ?description ?diskContainer:(Option.map ~f:Values.SnapshotDiskContainer.of_json diskContainer) ?dryRun ?encrypted ?kmsKeyId ?roleName ?tagSpecifications:(Option.map ~f:Values.TagSpecificationList.of_json tagSpecifications) ()) (Some Values.ImportSnapshotResult.to_json) (Some Values.Ec2_error.to_json)]) let import_volume = 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 availabilityZoneId = flag "availability-zone-id" (optional string) ~doc:"STRING AvailabilityZoneId" and dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and availabilityZone = flag "availability-zone" (optional string) ~doc:"STRING String" and description = flag "description" (optional string) ~doc:"STRING String" and image = flag "image" (required json_arg) ~doc:"JSON DiskImageDetail" and volume = flag "volume" (required json_arg) ~doc:"JSON VolumeDetail" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.import_volume (Values.ImportVolumeRequest.make ?availabilityZoneId ?dryRun ?availabilityZone ?description ~image:(Values.DiskImageDetail.of_json image) ~volume:(Values.VolumeDetail.of_json volume) ()) (Some Values.ImportVolumeResult.to_json) (Some Values.Ec2_error.to_json)]) let list_images_in_recycle_bin = 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 imageIds = flag "image-ids" (optional json_arg) ~doc:"JSON ImageIdStringList" and nextToken = flag "next-token" (optional string) ~doc:"STRING String" and maxResults = flag "max-results" (optional int) ~doc:"INT ListImagesInRecycleBinMaxResults" and dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.list_images_in_recycle_bin (Values.ListImagesInRecycleBinRequest.make ?imageIds:(Option.map ~f:Values.ImageIdStringList.of_json imageIds) ?nextToken ?maxResults ?dryRun ()) (Some Values.ListImagesInRecycleBinResult.to_json) (Some Values.Ec2_error.to_json)]) let list_snapshots_in_recycle_bin = 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 maxResults = flag "max-results" (optional int) ~doc:"INT ListSnapshotsInRecycleBinMaxResults" and nextToken = flag "next-token" (optional string) ~doc:"STRING String" and snapshotIds = flag "snapshot-ids" (optional json_arg) ~doc:"JSON SnapshotIdStringList" and dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.list_snapshots_in_recycle_bin (Values.ListSnapshotsInRecycleBinRequest.make ?maxResults ?nextToken ?snapshotIds:(Option.map ~f:Values.SnapshotIdStringList.of_json snapshotIds) ?dryRun ()) (Some Values.ListSnapshotsInRecycleBinResult.to_json) (Some Values.Ec2_error.to_json)]) let list_volumes_in_recycle_bin = 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 volumeIds = flag "volume-ids" (optional json_arg) ~doc:"JSON VolumeIdStringList" and dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and maxResults = flag "max-results" (optional int) ~doc:"INT Integer" and nextToken = flag "next-token" (optional string) ~doc:"STRING String" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.list_volumes_in_recycle_bin (Values.ListVolumesInRecycleBinRequest.make ?volumeIds:(Option.map ~f:Values.VolumeIdStringList.of_json volumeIds) ?dryRun ?maxResults ?nextToken ()) (Some Values.ListVolumesInRecycleBinResult.to_json) (Some Values.Ec2_error.to_json)]) let lock_snapshot = 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 dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and coolOffPeriod = flag "cool-off-period" (optional int) ~doc:"INT CoolOffPeriodRequestHours" and lockDuration = flag "lock-duration" (optional int) ~doc:"INT RetentionPeriodRequestDays" and expirationDate = flag "expiration-date" (optional json_arg) ~doc:"JSON MillisecondDateTime" and snapshotId = flag "snapshot-id" (required string) ~doc:"STRING SnapshotId" and lockMode = flag "lock-mode" (required json_arg) ~doc:"JSON LockMode" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.lock_snapshot (Values.LockSnapshotRequest.make ?dryRun ?coolOffPeriod ?lockDuration ?expirationDate:(Option.map ~f:Values.MillisecondDateTime.of_json expirationDate) ~snapshotId ~lockMode:(Values.LockMode.of_json lockMode) ()) (Some Values.LockSnapshotResult.to_json) (Some Values.Ec2_error.to_json)]) let modify_address_attribute = 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 domainName = flag "domain-name" (optional string) ~doc:"STRING String" and dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and allocationId = flag "allocation-id" (required string) ~doc:"STRING AllocationId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.modify_address_attribute (Values.ModifyAddressAttributeRequest.make ?domainName ?dryRun ~allocationId ()) (Some Values.ModifyAddressAttributeResult.to_json) (Some Values.Ec2_error.to_json)]) let modify_availability_zone_group = 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 dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and groupName = flag "group-name" (required string) ~doc:"STRING String" and optInStatus = flag "opt-in-status" (required json_arg) ~doc:"JSON ModifyAvailabilityZoneOptInStatus" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.modify_availability_zone_group (Values.ModifyAvailabilityZoneGroupRequest.make ?dryRun ~groupName ~optInStatus:(Values.ModifyAvailabilityZoneOptInStatus.of_json optInStatus) ()) (Some Values.ModifyAvailabilityZoneGroupResult.to_json) (Some Values.Ec2_error.to_json)]) let modify_capacity_reservation = 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 instanceCount = flag "instance-count" (optional int) ~doc:"INT Integer" and endDate = flag "end-date" (optional json_arg) ~doc:"JSON DateTime" and endDateType = flag "end-date-type" (optional json_arg) ~doc:"JSON EndDateType" and accept = flag "accept" (optional bool) ~doc:"BOOL Boolean" and dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and additionalInfo = flag "additional-info" (optional string) ~doc:"STRING String" and instanceMatchCriteria = flag "instance-match-criteria" (optional json_arg) ~doc:"JSON InstanceMatchCriteria" and capacityReservationId = flag "capacity-reservation-id" (required string) ~doc:"STRING CapacityReservationId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.modify_capacity_reservation (Values.ModifyCapacityReservationRequest.make ?instanceCount ?endDate:(Option.map ~f:Values.DateTime.of_json endDate) ?endDateType:(Option.map ~f:Values.EndDateType.of_json endDateType) ?accept ?dryRun ?additionalInfo ?instanceMatchCriteria:(Option.map ~f:Values.InstanceMatchCriteria.of_json instanceMatchCriteria) ~capacityReservationId ()) (Some Values.ModifyCapacityReservationResult.to_json) (Some Values.Ec2_error.to_json)]) let modify_capacity_reservation_fleet = 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 totalTargetCapacity = flag "total-target-capacity" (optional int) ~doc:"INT Integer" and endDate = flag "end-date" (optional json_arg) ~doc:"JSON MillisecondDateTime" and dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and removeEndDate = flag "remove-end-date" (optional bool) ~doc:"BOOL Boolean" and capacityReservationFleetId = flag "capacity-reservation-fleet-id" (required string) ~doc:"STRING CapacityReservationFleetId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.modify_capacity_reservation_fleet (Values.ModifyCapacityReservationFleetRequest.make ?totalTargetCapacity ?endDate:(Option.map ~f:Values.MillisecondDateTime.of_json endDate) ?dryRun ?removeEndDate ~capacityReservationFleetId ()) (Some Values.ModifyCapacityReservationFleetResult.to_json) (Some Values.Ec2_error.to_json)]) let modify_client_vpn_endpoint = 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 serverCertificateArn = flag "server-certificate-arn" (optional string) ~doc:"STRING String" and connectionLogOptions = flag "connection-log-options" (optional json_arg) ~doc:"JSON ConnectionLogOptions" and dnsServers = flag "dns-servers" (optional json_arg) ~doc:"JSON DnsServersOptionsModifyStructure" and vpnPort = flag "vpn-port" (optional int) ~doc:"INT Integer" and description = flag "description" (optional string) ~doc:"STRING String" and splitTunnel = flag "split-tunnel" (optional bool) ~doc:"BOOL Boolean" and dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and securityGroupIds = flag "security-group-ids" (optional json_arg) ~doc:"JSON ClientVpnSecurityGroupIdSet" and vpcId = flag "vpc-id" (optional string) ~doc:"STRING VpcId" and selfServicePortal = flag "self-service-portal" (optional json_arg) ~doc:"JSON SelfServicePortal" and clientConnectOptions = flag "client-connect-options" (optional json_arg) ~doc:"JSON ClientConnectOptions" and sessionTimeoutHours = flag "session-timeout-hours" (optional int) ~doc:"INT Integer" and clientLoginBannerOptions = flag "client-login-banner-options" (optional json_arg) ~doc:"JSON ClientLoginBannerOptions" and clientRouteEnforcementOptions = flag "client-route-enforcement-options" (optional json_arg) ~doc:"JSON ClientRouteEnforcementOptions" and disconnectOnSessionTimeout = flag "disconnect-on-session-timeout" (optional bool) ~doc:"BOOL Boolean" and transitGatewayConfiguration = flag "transit-gateway-configuration" (optional json_arg) ~doc:"JSON TransitGatewayConfigurationInputStructure" and clientVpnEndpointId = flag "client-vpn-endpoint-id" (required string) ~doc:"STRING ClientVpnEndpointId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.modify_client_vpn_endpoint (Values.ModifyClientVpnEndpointRequest.make ?serverCertificateArn ?connectionLogOptions:(Option.map ~f:Values.ConnectionLogOptions.of_json connectionLogOptions) ?dnsServers:(Option.map ~f:Values.DnsServersOptionsModifyStructure.of_json dnsServers) ?vpnPort ?description ?splitTunnel ?dryRun ?securityGroupIds:(Option.map ~f:Values.ClientVpnSecurityGroupIdSet.of_json securityGroupIds) ?vpcId ?selfServicePortal:(Option.map ~f:Values.SelfServicePortal.of_json selfServicePortal) ?clientConnectOptions:(Option.map ~f:Values.ClientConnectOptions.of_json clientConnectOptions) ?sessionTimeoutHours ?clientLoginBannerOptions:(Option.map ~f:Values.ClientLoginBannerOptions.of_json clientLoginBannerOptions) ?clientRouteEnforcementOptions:(Option.map ~f:Values.ClientRouteEnforcementOptions.of_json clientRouteEnforcementOptions) ?disconnectOnSessionTimeout ?transitGatewayConfiguration:(Option.map ~f:Values.TransitGatewayConfigurationInputStructure.of_json transitGatewayConfiguration) ~clientVpnEndpointId ()) (Some Values.ModifyClientVpnEndpointResult.to_json) (Some Values.Ec2_error.to_json)]) let modify_default_credit_specification = 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 dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and instanceFamily = flag "instance-family" (required json_arg) ~doc:"JSON UnlimitedSupportedInstanceFamily" and cpuCredits = flag "cpu-credits" (required string) ~doc:"STRING String" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.modify_default_credit_specification (Values.ModifyDefaultCreditSpecificationRequest.make ?dryRun ~instanceFamily:(Values.UnlimitedSupportedInstanceFamily.of_json instanceFamily) ~cpuCredits ()) (Some Values.ModifyDefaultCreditSpecificationResult.to_json) (Some Values.Ec2_error.to_json)]) let modify_ebs_default_kms_key_id = 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 dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and kmsKeyId = flag "kms-key-id" (required string) ~doc:"STRING KmsKeyId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.modify_ebs_default_kms_key_id (Values.ModifyEbsDefaultKmsKeyIdRequest.make ?dryRun ~kmsKeyId ()) (Some Values.ModifyEbsDefaultKmsKeyIdResult.to_json) (Some Values.Ec2_error.to_json)]) let modify_fleet = 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 dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and excessCapacityTerminationPolicy = flag "excess-capacity-termination-policy" (optional json_arg) ~doc:"JSON FleetExcessCapacityTerminationPolicy" and launchTemplateConfigs = flag "launch-template-configs" (optional json_arg) ~doc:"JSON FleetLaunchTemplateConfigListRequest" and targetCapacitySpecification = flag "target-capacity-specification" (optional json_arg) ~doc:"JSON TargetCapacitySpecificationRequest" and context = flag "context" (optional string) ~doc:"STRING String" and fleetId = flag "fleet-id" (required string) ~doc:"STRING FleetId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.modify_fleet (Values.ModifyFleetRequest.make ?dryRun ?excessCapacityTerminationPolicy:(Option.map ~f:Values.FleetExcessCapacityTerminationPolicy.of_json excessCapacityTerminationPolicy) ?launchTemplateConfigs:(Option.map ~f:Values.FleetLaunchTemplateConfigListRequest.of_json launchTemplateConfigs) ?targetCapacitySpecification:(Option.map ~f:Values.TargetCapacitySpecificationRequest.of_json targetCapacitySpecification) ?context ~fleetId ()) (Some Values.ModifyFleetResult.to_json) (Some Values.Ec2_error.to_json)]) let modify_fpga_image_attribute = 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 dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and attribute = flag "attribute" (optional json_arg) ~doc:"JSON FpgaImageAttributeName" and operationType = flag "operation-type" (optional json_arg) ~doc:"JSON OperationType" and userIds = flag "user-ids" (optional json_arg) ~doc:"JSON UserIdStringList" and userGroups = flag "user-groups" (optional json_arg) ~doc:"JSON UserGroupStringList" and productCodes = flag "product-codes" (optional json_arg) ~doc:"JSON ProductCodeStringList" and loadPermission = flag "load-permission" (optional json_arg) ~doc:"JSON LoadPermissionModifications" and description = flag "description" (optional string) ~doc:"STRING String" and name = flag "name" (optional string) ~doc:"STRING String" and fpgaImageId = flag "fpga-image-id" (required string) ~doc:"STRING FpgaImageId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.modify_fpga_image_attribute (Values.ModifyFpgaImageAttributeRequest.make ?dryRun ?attribute:(Option.map ~f:Values.FpgaImageAttributeName.of_json attribute) ?operationType:(Option.map ~f:Values.OperationType.of_json operationType) ?userIds:(Option.map ~f:Values.UserIdStringList.of_json userIds) ?userGroups:(Option.map ~f:Values.UserGroupStringList.of_json userGroups) ?productCodes:(Option.map ~f:Values.ProductCodeStringList.of_json productCodes) ?loadPermission:(Option.map ~f:Values.LoadPermissionModifications.of_json loadPermission) ?description ?name ~fpgaImageId ()) (Some Values.ModifyFpgaImageAttributeResult.to_json) (Some Values.Ec2_error.to_json)]) let modify_hosts = 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 hostRecovery = flag "host-recovery" (optional json_arg) ~doc:"JSON HostRecovery" and instanceType = flag "instance-type" (optional string) ~doc:"STRING String" and instanceFamily = flag "instance-family" (optional string) ~doc:"STRING String" and hostMaintenance = flag "host-maintenance" (optional json_arg) ~doc:"JSON HostMaintenance" and autoPlacement = flag "auto-placement" (optional json_arg) ~doc:"JSON AutoPlacement" and hostIds = flag "host-ids" (required json_arg) ~doc:"JSON RequestHostIdList" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.modify_hosts (Values.ModifyHostsRequest.make ?hostRecovery:(Option.map ~f:Values.HostRecovery.of_json hostRecovery) ?instanceType ?instanceFamily ?hostMaintenance:(Option.map ~f:Values.HostMaintenance.of_json hostMaintenance) ?autoPlacement:(Option.map ~f:Values.AutoPlacement.of_json autoPlacement) ~hostIds:(Values.RequestHostIdList.of_json hostIds) ()) (Some Values.ModifyHostsResult.to_json) (Some Values.Ec2_error.to_json)]) let modify_id_format = 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 resource = flag "resource" (required string) ~doc:"STRING String" and useLongIds = flag "use-long-ids" (required bool) ~doc:"BOOL Boolean" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.modify_id_format (Values.ModifyIdFormatRequest.make ~resource ~useLongIds ()) None (Some Values.Ec2_error.to_json)]) let modify_identity_id_format = 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 resource = flag "resource" (required string) ~doc:"STRING String" and useLongIds = flag "use-long-ids" (required bool) ~doc:"BOOL Boolean" and principalArn = flag "principal-arn" (required string) ~doc:"STRING String" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.modify_identity_id_format (Values.ModifyIdentityIdFormatRequest.make ~resource ~useLongIds ~principalArn ()) None (Some Values.Ec2_error.to_json)]) let modify_image_attribute = 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 attribute = flag "attribute" (optional string) ~doc:"STRING String" and description = flag "description" (optional json_arg) ~doc:"JSON AttributeValue" and launchPermission = flag "launch-permission" (optional json_arg) ~doc:"JSON LaunchPermissionModifications" and operationType = flag "operation-type" (optional json_arg) ~doc:"JSON OperationType" and productCodes = flag "product-codes" (optional json_arg) ~doc:"JSON ProductCodeStringList" and userGroups = flag "user-groups" (optional json_arg) ~doc:"JSON UserGroupStringList" and userIds = flag "user-ids" (optional json_arg) ~doc:"JSON UserIdStringList" and value = flag "value" (optional string) ~doc:"STRING String" and organizationArns = flag "organization-arns" (optional json_arg) ~doc:"JSON OrganizationArnStringList" and organizationalUnitArns = flag "organizational-unit-arns" (optional json_arg) ~doc:"JSON OrganizationalUnitArnStringList" and imdsSupport = flag "imds-support" (optional json_arg) ~doc:"JSON AttributeValue" and dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and imageId = flag "image-id" (required string) ~doc:"STRING ImageId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.modify_image_attribute (Values.ModifyImageAttributeRequest.make ?attribute ?description:(Option.map ~f:Values.AttributeValue.of_json description) ?launchPermission:(Option.map ~f:Values.LaunchPermissionModifications.of_json launchPermission) ?operationType:(Option.map ~f:Values.OperationType.of_json operationType) ?productCodes:(Option.map ~f:Values.ProductCodeStringList.of_json productCodes) ?userGroups:(Option.map ~f:Values.UserGroupStringList.of_json userGroups) ?userIds:(Option.map ~f:Values.UserIdStringList.of_json userIds) ?value ?organizationArns:(Option.map ~f:Values.OrganizationArnStringList.of_json organizationArns) ?organizationalUnitArns:(Option.map ~f:Values.OrganizationalUnitArnStringList.of_json organizationalUnitArns) ?imdsSupport:(Option.map ~f:Values.AttributeValue.of_json imdsSupport) ?dryRun ~imageId ()) None (Some Values.Ec2_error.to_json)]) let modify_instance_attribute = 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 sourceDestCheck = flag "source-dest-check" (optional json_arg) ~doc:"JSON AttributeBooleanValue" and disableApiStop = flag "disable-api-stop" (optional json_arg) ~doc:"JSON AttributeBooleanValue" and dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and attribute = flag "attribute" (optional json_arg) ~doc:"JSON InstanceAttributeName" and value = flag "value" (optional string) ~doc:"STRING ModifyInstanceAttributeValue" and blockDeviceMappings = flag "block-device-mappings" (optional json_arg) ~doc:"JSON InstanceBlockDeviceMappingSpecificationList" and disableApiTermination = flag "disable-api-termination" (optional json_arg) ~doc:"JSON AttributeBooleanValue" and instanceType = flag "instance-type" (optional json_arg) ~doc:"JSON AttributeValue" and kernel = flag "kernel" (optional json_arg) ~doc:"JSON AttributeValue" and ramdisk = flag "ramdisk" (optional json_arg) ~doc:"JSON AttributeValue" and userData = flag "user-data" (optional json_arg) ~doc:"JSON BlobAttributeValue" and instanceInitiatedShutdownBehavior = flag "instance-initiated-shutdown-behavior" (optional json_arg) ~doc:"JSON AttributeValue" and groups = flag "groups" (optional json_arg) ~doc:"JSON GroupIdStringList" and ebsOptimized = flag "ebs-optimized" (optional json_arg) ~doc:"JSON AttributeBooleanValue" and sriovNetSupport = flag "sriov-net-support" (optional json_arg) ~doc:"JSON AttributeValue" and enaSupport = flag "ena-support" (optional json_arg) ~doc:"JSON AttributeBooleanValue" and instanceId = flag "instance-id" (required string) ~doc:"STRING InstanceId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.modify_instance_attribute (Values.ModifyInstanceAttributeRequest.make ?sourceDestCheck:(Option.map ~f:Values.AttributeBooleanValue.of_json sourceDestCheck) ?disableApiStop:(Option.map ~f:Values.AttributeBooleanValue.of_json disableApiStop) ?dryRun ?attribute:(Option.map ~f:Values.InstanceAttributeName.of_json attribute) ?value ?blockDeviceMappings:(Option.map ~f:Values.InstanceBlockDeviceMappingSpecificationList.of_json blockDeviceMappings) ?disableApiTermination:(Option.map ~f:Values.AttributeBooleanValue.of_json disableApiTermination) ?instanceType:(Option.map ~f:Values.AttributeValue.of_json instanceType) ?kernel:(Option.map ~f:Values.AttributeValue.of_json kernel) ?ramdisk:(Option.map ~f:Values.AttributeValue.of_json ramdisk) ?userData:(Option.map ~f:Values.BlobAttributeValue.of_json userData) ?instanceInitiatedShutdownBehavior:(Option.map ~f:Values.AttributeValue.of_json instanceInitiatedShutdownBehavior) ?groups:(Option.map ~f:Values.GroupIdStringList.of_json groups) ?ebsOptimized:(Option.map ~f:Values.AttributeBooleanValue.of_json ebsOptimized) ?sriovNetSupport:(Option.map ~f:Values.AttributeValue.of_json sriovNetSupport) ?enaSupport:(Option.map ~f:Values.AttributeBooleanValue.of_json enaSupport) ~instanceId ()) None (Some Values.Ec2_error.to_json)]) let modify_instance_capacity_reservation_attributes = 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 dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and instanceId = flag "instance-id" (required string) ~doc:"STRING InstanceId" and capacityReservationSpecification = flag "capacity-reservation-specification" (required json_arg) ~doc:"JSON CapacityReservationSpecification" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.modify_instance_capacity_reservation_attributes (Values.ModifyInstanceCapacityReservationAttributesRequest.make ?dryRun ~instanceId ~capacityReservationSpecification:(Values.CapacityReservationSpecification.of_json capacityReservationSpecification) ()) (Some Values.ModifyInstanceCapacityReservationAttributesResult.to_json) (Some Values.Ec2_error.to_json)]) let modify_instance_connect_endpoint = 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 dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and ipAddressType = flag "ip-address-type" (optional json_arg) ~doc:"JSON IpAddressType" and securityGroupIds = flag "security-group-ids" (optional json_arg) ~doc:"JSON SecurityGroupIdStringListRequest" and preserveClientIp = flag "preserve-client-ip" (optional bool) ~doc:"BOOL Boolean" and instanceConnectEndpointId = flag "instance-connect-endpoint-id" (required string) ~doc:"STRING InstanceConnectEndpointId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.modify_instance_connect_endpoint (Values.ModifyInstanceConnectEndpointRequest.make ?dryRun ?ipAddressType:(Option.map ~f:Values.IpAddressType.of_json ipAddressType) ?securityGroupIds:(Option.map ~f:Values.SecurityGroupIdStringListRequest.of_json securityGroupIds) ?preserveClientIp ~instanceConnectEndpointId ()) (Some Values.ModifyInstanceConnectEndpointResult.to_json) (Some Values.Ec2_error.to_json)]) let modify_instance_cpu_options = 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 coreCount = flag "core-count" (optional int) ~doc:"INT Integer" and threadsPerCore = flag "threads-per-core" (optional int) ~doc:"INT Integer" and nestedVirtualization = flag "nested-virtualization" (optional json_arg) ~doc:"JSON NestedVirtualizationSpecification" and dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and instanceId = flag "instance-id" (required string) ~doc:"STRING InstanceId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.modify_instance_cpu_options (Values.ModifyInstanceCpuOptionsRequest.make ?coreCount ?threadsPerCore ?nestedVirtualization:(Option.map ~f:Values.NestedVirtualizationSpecification.of_json nestedVirtualization) ?dryRun ~instanceId ()) (Some Values.ModifyInstanceCpuOptionsResult.to_json) (Some Values.Ec2_error.to_json)]) let modify_instance_credit_specification = 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 dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and clientToken = flag "client-token" (optional string) ~doc:"STRING String" and instanceCreditSpecifications = flag "instance-credit-specifications" (required json_arg) ~doc:"JSON InstanceCreditSpecificationListRequest" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.modify_instance_credit_specification (Values.ModifyInstanceCreditSpecificationRequest.make ?dryRun ?clientToken ~instanceCreditSpecifications:(Values.InstanceCreditSpecificationListRequest.of_json instanceCreditSpecifications) ()) (Some Values.ModifyInstanceCreditSpecificationResult.to_json) (Some Values.Ec2_error.to_json)]) let modify_instance_event_start_time = 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 dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and instanceId = flag "instance-id" (required string) ~doc:"STRING InstanceId" and instanceEventId = flag "instance-event-id" (required string) ~doc:"STRING String" and notBefore = flag "not-before" (required json_arg) ~doc:"JSON DateTime" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.modify_instance_event_start_time (Values.ModifyInstanceEventStartTimeRequest.make ?dryRun ~instanceId ~instanceEventId ~notBefore:(Values.DateTime.of_json notBefore) ()) (Some Values.ModifyInstanceEventStartTimeResult.to_json) (Some Values.Ec2_error.to_json)]) let modify_instance_event_window = 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 dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and name = flag "name" (optional string) ~doc:"STRING String" and timeRanges = flag "time-ranges" (optional json_arg) ~doc:"JSON InstanceEventWindowTimeRangeRequestSet" and cronExpression = flag "cron-expression" (optional string) ~doc:"STRING InstanceEventWindowCronExpression" and instanceEventWindowId = flag "instance-event-window-id" (required string) ~doc:"STRING InstanceEventWindowId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.modify_instance_event_window (Values.ModifyInstanceEventWindowRequest.make ?dryRun ?name ?timeRanges:(Option.map ~f:Values.InstanceEventWindowTimeRangeRequestSet.of_json timeRanges) ?cronExpression ~instanceEventWindowId ()) (Some Values.ModifyInstanceEventWindowResult.to_json) (Some Values.Ec2_error.to_json)]) let modify_instance_maintenance_options = 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 autoRecovery = flag "auto-recovery" (optional json_arg) ~doc:"JSON InstanceAutoRecoveryState" and rebootMigration = flag "reboot-migration" (optional json_arg) ~doc:"JSON InstanceRebootMigrationState" and dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and instanceId = flag "instance-id" (required string) ~doc:"STRING InstanceId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.modify_instance_maintenance_options (Values.ModifyInstanceMaintenanceOptionsRequest.make ?autoRecovery:(Option.map ~f:Values.InstanceAutoRecoveryState.of_json autoRecovery) ?rebootMigration:(Option.map ~f:Values.InstanceRebootMigrationState.of_json rebootMigration) ?dryRun ~instanceId ()) (Some Values.ModifyInstanceMaintenanceOptionsResult.to_json) (Some Values.Ec2_error.to_json)]) let modify_instance_metadata_defaults = 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 httpTokens = flag "http-tokens" (optional json_arg) ~doc:"JSON MetadataDefaultHttpTokensState" and httpPutResponseHopLimit = flag "http-put-response-hop-limit" (optional int) ~doc:"INT BoxedInteger" and httpEndpoint = flag "http-endpoint" (optional json_arg) ~doc:"JSON DefaultInstanceMetadataEndpointState" and instanceMetadataTags = flag "instance-metadata-tags" (optional json_arg) ~doc:"JSON DefaultInstanceMetadataTagsState" and dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and httpTokensEnforced = flag "http-tokens-enforced" (optional json_arg) ~doc:"JSON DefaultHttpTokensEnforcedState" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.modify_instance_metadata_defaults (Values.ModifyInstanceMetadataDefaultsRequest.make ?httpTokens:(Option.map ~f:Values.MetadataDefaultHttpTokensState.of_json httpTokens) ?httpPutResponseHopLimit ?httpEndpoint:(Option.map ~f:Values.DefaultInstanceMetadataEndpointState.of_json httpEndpoint) ?instanceMetadataTags:(Option.map ~f:Values.DefaultInstanceMetadataTagsState.of_json instanceMetadataTags) ?dryRun ?httpTokensEnforced:(Option.map ~f:Values.DefaultHttpTokensEnforcedState.of_json httpTokensEnforced) ()) (Some Values.ModifyInstanceMetadataDefaultsResult.to_json) (Some Values.Ec2_error.to_json)]) let modify_instance_metadata_options = 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 httpTokens = flag "http-tokens" (optional json_arg) ~doc:"JSON HttpTokensState" and httpPutResponseHopLimit = flag "http-put-response-hop-limit" (optional int) ~doc:"INT Integer" and httpEndpoint = flag "http-endpoint" (optional json_arg) ~doc:"JSON InstanceMetadataEndpointState" and dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and httpProtocolIpv6 = flag "http-protocol-ipv6" (optional json_arg) ~doc:"JSON InstanceMetadataProtocolState" and instanceMetadataTags = flag "instance-metadata-tags" (optional json_arg) ~doc:"JSON InstanceMetadataTagsState" and instanceId = flag "instance-id" (required string) ~doc:"STRING InstanceId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.modify_instance_metadata_options (Values.ModifyInstanceMetadataOptionsRequest.make ?httpTokens:(Option.map ~f:Values.HttpTokensState.of_json httpTokens) ?httpPutResponseHopLimit ?httpEndpoint:(Option.map ~f:Values.InstanceMetadataEndpointState.of_json httpEndpoint) ?dryRun ?httpProtocolIpv6:(Option.map ~f:Values.InstanceMetadataProtocolState.of_json httpProtocolIpv6) ?instanceMetadataTags:(Option.map ~f:Values.InstanceMetadataTagsState.of_json instanceMetadataTags) ~instanceId ()) (Some Values.ModifyInstanceMetadataOptionsResult.to_json) (Some Values.Ec2_error.to_json)]) let modify_instance_network_performance_options = 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 dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and instanceId = flag "instance-id" (required string) ~doc:"STRING InstanceId" and bandwidthWeighting = flag "bandwidth-weighting" (required json_arg) ~doc:"JSON InstanceBandwidthWeighting" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.modify_instance_network_performance_options (Values.ModifyInstanceNetworkPerformanceRequest.make ?dryRun ~instanceId ~bandwidthWeighting:(Values.InstanceBandwidthWeighting.of_json bandwidthWeighting) ()) (Some Values.ModifyInstanceNetworkPerformanceResult.to_json) (Some Values.Ec2_error.to_json)]) let modify_instance_placement = 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 groupName = flag "group-name" (optional string) ~doc:"STRING PlacementGroupName" and partitionNumber = flag "partition-number" (optional int) ~doc:"INT Integer" and hostResourceGroupArn = flag "host-resource-group-arn" (optional string) ~doc:"STRING String" and groupId = flag "group-id" (optional string) ~doc:"STRING PlacementGroupId" and tenancy = flag "tenancy" (optional json_arg) ~doc:"JSON HostTenancy" and affinity = flag "affinity" (optional json_arg) ~doc:"JSON Affinity" and hostId = flag "host-id" (optional string) ~doc:"STRING DedicatedHostId" and instanceId = flag "instance-id" (required string) ~doc:"STRING InstanceId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.modify_instance_placement (Values.ModifyInstancePlacementRequest.make ?groupName ?partitionNumber ?hostResourceGroupArn ?groupId ?tenancy:(Option.map ~f:Values.HostTenancy.of_json tenancy) ?affinity:(Option.map ~f:Values.Affinity.of_json affinity) ?hostId ~instanceId ()) (Some Values.ModifyInstancePlacementResult.to_json) (Some Values.Ec2_error.to_json)]) let modify_ipam = 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 dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and description = flag "description" (optional string) ~doc:"STRING String" and addOperatingRegions = flag "add-operating-regions" (optional json_arg) ~doc:"JSON AddIpamOperatingRegionSet" and removeOperatingRegions = flag "remove-operating-regions" (optional json_arg) ~doc:"JSON RemoveIpamOperatingRegionSet" and tier = flag "tier" (optional json_arg) ~doc:"JSON IpamTier" and enablePrivateGua = flag "enable-private-gua" (optional bool) ~doc:"BOOL Boolean" and meteredAccount = flag "metered-account" (optional json_arg) ~doc:"JSON IpamMeteredAccount" and ipamId = flag "ipam-id" (required string) ~doc:"STRING IpamId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.modify_ipam (Values.ModifyIpamRequest.make ?dryRun ?description ?addOperatingRegions:(Option.map ~f:Values.AddIpamOperatingRegionSet.of_json addOperatingRegions) ?removeOperatingRegions:(Option.map ~f:Values.RemoveIpamOperatingRegionSet.of_json removeOperatingRegions) ?tier:(Option.map ~f:Values.IpamTier.of_json tier) ?enablePrivateGua ?meteredAccount:(Option.map ~f:Values.IpamMeteredAccount.of_json meteredAccount) ~ipamId ()) (Some Values.ModifyIpamResult.to_json) (Some Values.Ec2_error.to_json)]) let modify_ipam_policy_allocation_rules = 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 dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and allocationRules = flag "allocation-rules" (optional json_arg) ~doc:"JSON IpamPolicyAllocationRuleListRequest" and ipamPolicyId = flag "ipam-policy-id" (required string) ~doc:"STRING IpamPolicyId" and locale = flag "locale" (required string) ~doc:"STRING String" and resourceType = flag "resource-type" (required json_arg) ~doc:"JSON IpamPolicyResourceType" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.modify_ipam_policy_allocation_rules (Values.ModifyIpamPolicyAllocationRulesRequest.make ?dryRun ?allocationRules:(Option.map ~f:Values.IpamPolicyAllocationRuleListRequest.of_json allocationRules) ~ipamPolicyId ~locale ~resourceType:(Values.IpamPolicyResourceType.of_json resourceType) ()) (Some Values.ModifyIpamPolicyAllocationRulesResult.to_json) (Some Values.Ec2_error.to_json)]) let modify_ipam_pool = 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 dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and description = flag "description" (optional string) ~doc:"STRING String" and autoImport = flag "auto-import" (optional bool) ~doc:"BOOL Boolean" and allocationMinNetmaskLength = flag "allocation-min-netmask-length" (optional int) ~doc:"INT IpamNetmaskLength" and allocationMaxNetmaskLength = flag "allocation-max-netmask-length" (optional int) ~doc:"INT IpamNetmaskLength" and allocationDefaultNetmaskLength = flag "allocation-default-netmask-length" (optional int) ~doc:"INT IpamNetmaskLength" and clearAllocationDefaultNetmaskLength = flag "clear-allocation-default-netmask-length" (optional bool) ~doc:"BOOL Boolean" and addAllocationResourceTags = flag "add-allocation-resource-tags" (optional json_arg) ~doc:"JSON RequestIpamResourceTagList" and removeAllocationResourceTags = flag "remove-allocation-resource-tags" (optional json_arg) ~doc:"JSON RequestIpamResourceTagList" and ipamPoolId = flag "ipam-pool-id" (required string) ~doc:"STRING IpamPoolId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.modify_ipam_pool (Values.ModifyIpamPoolRequest.make ?dryRun ?description ?autoImport ?allocationMinNetmaskLength ?allocationMaxNetmaskLength ?allocationDefaultNetmaskLength ?clearAllocationDefaultNetmaskLength ?addAllocationResourceTags:(Option.map ~f:Values.RequestIpamResourceTagList.of_json addAllocationResourceTags) ?removeAllocationResourceTags:(Option.map ~f:Values.RequestIpamResourceTagList.of_json removeAllocationResourceTags) ~ipamPoolId ()) (Some Values.ModifyIpamPoolResult.to_json) (Some Values.Ec2_error.to_json)]) let modify_ipam_prefix_list_resolver = 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 dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and description = flag "description" (optional string) ~doc:"STRING String" and rules = flag "rules" (optional json_arg) ~doc:"JSON IpamPrefixListResolverRuleRequestSet" and ipamPrefixListResolverId = flag "ipam-prefix-list-resolver-id" (required string) ~doc:"STRING IpamPrefixListResolverId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.modify_ipam_prefix_list_resolver (Values.ModifyIpamPrefixListResolverRequest.make ?dryRun ?description ?rules:(Option.map ~f:Values.IpamPrefixListResolverRuleRequestSet.of_json rules) ~ipamPrefixListResolverId ()) (Some Values.ModifyIpamPrefixListResolverResult.to_json) (Some Values.Ec2_error.to_json)]) let modify_ipam_prefix_list_resolver_target = 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 dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and desiredVersion = flag "desired-version" (optional json_arg) ~doc:"JSON BoxedLong" and trackLatestVersion = flag "track-latest-version" (optional bool) ~doc:"BOOL BoxedBoolean" and clientToken = flag "client-token" (optional string) ~doc:"STRING String" and ipamPrefixListResolverTargetId = flag "ipam-prefix-list-resolver-target-id" (required string) ~doc:"STRING IpamPrefixListResolverTargetId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.modify_ipam_prefix_list_resolver_target (Values.ModifyIpamPrefixListResolverTargetRequest.make ?dryRun ?desiredVersion:(Option.map ~f:Values.BoxedLong.of_json desiredVersion) ?trackLatestVersion ?clientToken ~ipamPrefixListResolverTargetId ()) (Some Values.ModifyIpamPrefixListResolverTargetResult.to_json) (Some Values.Ec2_error.to_json)]) let modify_ipam_resource_cidr = 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 dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and destinationIpamScopeId = flag "destination-ipam-scope-id" (optional string) ~doc:"STRING IpamScopeId" and resourceId = flag "resource-id" (required string) ~doc:"STRING String" and resourceCidr = flag "resource-cidr" (required string) ~doc:"STRING String" and resourceRegion = flag "resource-region" (required string) ~doc:"STRING String" and currentIpamScopeId = flag "current-ipam-scope-id" (required string) ~doc:"STRING IpamScopeId" and monitored = flag "monitored" (required bool) ~doc:"BOOL Boolean" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.modify_ipam_resource_cidr (Values.ModifyIpamResourceCidrRequest.make ?dryRun ?destinationIpamScopeId ~resourceId ~resourceCidr ~resourceRegion ~currentIpamScopeId ~monitored ()) (Some Values.ModifyIpamResourceCidrResult.to_json) (Some Values.Ec2_error.to_json)]) let modify_ipam_resource_discovery = 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 dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and description = flag "description" (optional string) ~doc:"STRING String" and addOperatingRegions = flag "add-operating-regions" (optional json_arg) ~doc:"JSON AddIpamOperatingRegionSet" and removeOperatingRegions = flag "remove-operating-regions" (optional json_arg) ~doc:"JSON RemoveIpamOperatingRegionSet" and addOrganizationalUnitExclusions = flag "add-organizational-unit-exclusions" (optional json_arg) ~doc:"JSON AddIpamOrganizationalUnitExclusionSet" and removeOrganizationalUnitExclusions = flag "remove-organizational-unit-exclusions" (optional json_arg) ~doc:"JSON RemoveIpamOrganizationalUnitExclusionSet" and ipamResourceDiscoveryId = flag "ipam-resource-discovery-id" (required string) ~doc:"STRING IpamResourceDiscoveryId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.modify_ipam_resource_discovery (Values.ModifyIpamResourceDiscoveryRequest.make ?dryRun ?description ?addOperatingRegions:(Option.map ~f:Values.AddIpamOperatingRegionSet.of_json addOperatingRegions) ?removeOperatingRegions:(Option.map ~f:Values.RemoveIpamOperatingRegionSet.of_json removeOperatingRegions) ?addOrganizationalUnitExclusions:(Option.map ~f:Values.AddIpamOrganizationalUnitExclusionSet.of_json addOrganizationalUnitExclusions) ?removeOrganizationalUnitExclusions:(Option.map ~f:Values.RemoveIpamOrganizationalUnitExclusionSet.of_json removeOrganizationalUnitExclusions) ~ipamResourceDiscoveryId ()) (Some Values.ModifyIpamResourceDiscoveryResult.to_json) (Some Values.Ec2_error.to_json)]) let modify_ipam_scope = 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 dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and description = flag "description" (optional string) ~doc:"STRING String" and externalAuthorityConfiguration = flag "external-authority-configuration" (optional json_arg) ~doc:"JSON ExternalAuthorityConfiguration" and removeExternalAuthorityConfiguration = flag "remove-external-authority-configuration" (optional bool) ~doc:"BOOL Boolean" and ipamScopeId = flag "ipam-scope-id" (required string) ~doc:"STRING IpamScopeId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.modify_ipam_scope (Values.ModifyIpamScopeRequest.make ?dryRun ?description ?externalAuthorityConfiguration:(Option.map ~f:Values.ExternalAuthorityConfiguration.of_json externalAuthorityConfiguration) ?removeExternalAuthorityConfiguration ~ipamScopeId ()) (Some Values.ModifyIpamScopeResult.to_json) (Some Values.Ec2_error.to_json)]) let modify_launch_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 dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and clientToken = flag "client-token" (optional string) ~doc:"STRING String" and launchTemplateId = flag "launch-template-id" (optional string) ~doc:"STRING LaunchTemplateId" and launchTemplateName = flag "launch-template-name" (optional string) ~doc:"STRING LaunchTemplateName" and defaultVersion = flag "default-version" (optional string) ~doc:"STRING String" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.modify_launch_template (Values.ModifyLaunchTemplateRequest.make ?dryRun ?clientToken ?launchTemplateId ?launchTemplateName ?defaultVersion ()) (Some Values.ModifyLaunchTemplateResult.to_json) (Some Values.Ec2_error.to_json)]) let modify_local_gateway_route = 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 destinationCidrBlock = flag "destination-cidr-block" (optional string) ~doc:"STRING String" and localGatewayVirtualInterfaceGroupId = flag "local-gateway-virtual-interface-group-id" (optional string) ~doc:"STRING LocalGatewayVirtualInterfaceGroupId" and networkInterfaceId = flag "network-interface-id" (optional string) ~doc:"STRING NetworkInterfaceId" and dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and destinationPrefixListId = flag "destination-prefix-list-id" (optional string) ~doc:"STRING PrefixListResourceId" and localGatewayRouteTableId = flag "local-gateway-route-table-id" (required string) ~doc:"STRING LocalGatewayRoutetableId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.modify_local_gateway_route (Values.ModifyLocalGatewayRouteRequest.make ?destinationCidrBlock ?localGatewayVirtualInterfaceGroupId ?networkInterfaceId ?dryRun ?destinationPrefixListId ~localGatewayRouteTableId ()) (Some Values.ModifyLocalGatewayRouteResult.to_json) (Some Values.Ec2_error.to_json)]) let modify_managed_prefix_list = 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 dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and currentVersion = flag "current-version" (optional json_arg) ~doc:"JSON Long" and prefixListName = flag "prefix-list-name" (optional string) ~doc:"STRING String" and addEntries = flag "add-entries" (optional json_arg) ~doc:"JSON AddPrefixListEntries" and removeEntries = flag "remove-entries" (optional json_arg) ~doc:"JSON RemovePrefixListEntries" and maxEntries = flag "max-entries" (optional int) ~doc:"INT Integer" and ipamPrefixListResolverSyncEnabled = flag "ipam-prefix-list-resolver-sync-enabled" (optional bool) ~doc:"BOOL BoxedBoolean" and prefixListId = flag "prefix-list-id" (required string) ~doc:"STRING PrefixListResourceId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.modify_managed_prefix_list (Values.ModifyManagedPrefixListRequest.make ?dryRun ?currentVersion:(Option.map ~f:Values.Long.of_json currentVersion) ?prefixListName ?addEntries:(Option.map ~f:Values.AddPrefixListEntries.of_json addEntries) ?removeEntries:(Option.map ~f:Values.RemovePrefixListEntries.of_json removeEntries) ?maxEntries ?ipamPrefixListResolverSyncEnabled ~prefixListId ()) (Some Values.ModifyManagedPrefixListResult.to_json) (Some Values.Ec2_error.to_json)]) let modify_managed_resource_visibility = 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 dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and defaultVisibility = flag "default-visibility" (required json_arg) ~doc:"JSON ManagedResourceDefaultVisibility" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.modify_managed_resource_visibility (Values.ModifyManagedResourceVisibilityRequest.make ?dryRun ~defaultVisibility:(Values.ManagedResourceDefaultVisibility.of_json defaultVisibility) ()) (Some Values.ModifyManagedResourceVisibilityResult.to_json) (Some Values.Ec2_error.to_json)]) let modify_network_interface_attribute = 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 enaSrdSpecification = flag "ena-srd-specification" (optional json_arg) ~doc:"JSON EnaSrdSpecification" and enablePrimaryIpv6 = flag "enable-primary-ipv6" (optional bool) ~doc:"BOOL Boolean" and connectionTrackingSpecification = flag "connection-tracking-specification" (optional json_arg) ~doc:"JSON ConnectionTrackingSpecificationRequest" and associatePublicIpAddress = flag "associate-public-ip-address" (optional bool) ~doc:"BOOL Boolean" and associatedSubnetIds = flag "associated-subnet-ids" (optional json_arg) ~doc:"JSON SubnetIdList" and dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and description = flag "description" (optional json_arg) ~doc:"JSON AttributeValue" and sourceDestCheck = flag "source-dest-check" (optional json_arg) ~doc:"JSON AttributeBooleanValue" and groups = flag "groups" (optional json_arg) ~doc:"JSON SecurityGroupIdStringList" and attachment = flag "attachment" (optional json_arg) ~doc:"JSON NetworkInterfaceAttachmentChanges" and networkInterfaceId = flag "network-interface-id" (required string) ~doc:"STRING NetworkInterfaceId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.modify_network_interface_attribute (Values.ModifyNetworkInterfaceAttributeRequest.make ?enaSrdSpecification:(Option.map ~f:Values.EnaSrdSpecification.of_json enaSrdSpecification) ?enablePrimaryIpv6 ?connectionTrackingSpecification:(Option.map ~f:Values.ConnectionTrackingSpecificationRequest.of_json connectionTrackingSpecification) ?associatePublicIpAddress ?associatedSubnetIds:(Option.map ~f:Values.SubnetIdList.of_json associatedSubnetIds) ?dryRun ?description:(Option.map ~f:Values.AttributeValue.of_json description) ?sourceDestCheck:(Option.map ~f:Values.AttributeBooleanValue.of_json sourceDestCheck) ?groups:(Option.map ~f:Values.SecurityGroupIdStringList.of_json groups) ?attachment:(Option.map ~f:Values.NetworkInterfaceAttachmentChanges.of_json attachment) ~networkInterfaceId ()) None (Some Values.Ec2_error.to_json)]) let modify_private_dns_name_options = 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 dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and privateDnsHostnameType = flag "private-dns-hostname-type" (optional json_arg) ~doc:"JSON HostnameType" and enableResourceNameDnsARecord = flag "enable-resource-name-dns-a-record" (optional bool) ~doc:"BOOL Boolean" and enableResourceNameDnsAAAARecord = flag "enable-resource-name-dns-a-a-a-a-record" (optional bool) ~doc:"BOOL Boolean" and instanceId = flag "instance-id" (required string) ~doc:"STRING InstanceId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.modify_private_dns_name_options (Values.ModifyPrivateDnsNameOptionsRequest.make ?dryRun ?privateDnsHostnameType:(Option.map ~f:Values.HostnameType.of_json privateDnsHostnameType) ?enableResourceNameDnsARecord ?enableResourceNameDnsAAAARecord ~instanceId ()) (Some Values.ModifyPrivateDnsNameOptionsResult.to_json) (Some Values.Ec2_error.to_json)]) let modify_public_ip_dns_name_options = 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 dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and networkInterfaceId = flag "network-interface-id" (required string) ~doc:"STRING NetworkInterfaceId" and hostnameType = flag "hostname-type" (required json_arg) ~doc:"JSON PublicIpDnsOption" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.modify_public_ip_dns_name_options (Values.ModifyPublicIpDnsNameOptionsRequest.make ?dryRun ~networkInterfaceId ~hostnameType:(Values.PublicIpDnsOption.of_json hostnameType) ()) (Some Values.ModifyPublicIpDnsNameOptionsResult.to_json) (Some Values.Ec2_error.to_json)]) let modify_reserved_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 clientToken = flag "client-token" (optional string) ~doc:"STRING String" and reservedInstancesIds = flag "reserved-instances-ids" (required json_arg) ~doc:"JSON ReservedInstancesIdStringList" and targetConfigurations = flag "target-configurations" (required json_arg) ~doc:"JSON ReservedInstancesConfigurationList" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.modify_reserved_instances (Values.ModifyReservedInstancesRequest.make ?clientToken ~reservedInstancesIds:(Values.ReservedInstancesIdStringList.of_json reservedInstancesIds) ~targetConfigurations:(Values.ReservedInstancesConfigurationList.of_json targetConfigurations) ()) (Some Values.ModifyReservedInstancesResult.to_json) (Some Values.Ec2_error.to_json)]) let modify_route_server = 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 persistRoutes = flag "persist-routes" (optional json_arg) ~doc:"JSON RouteServerPersistRoutesAction" and persistRoutesDuration = flag "persist-routes-duration" (optional json_arg) ~doc:"JSON BoxedLong" and snsNotificationsEnabled = flag "sns-notifications-enabled" (optional bool) ~doc:"BOOL Boolean" and dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and routeServerId = flag "route-server-id" (required string) ~doc:"STRING RouteServerId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.modify_route_server (Values.ModifyRouteServerRequest.make ?persistRoutes:(Option.map ~f:Values.RouteServerPersistRoutesAction.of_json persistRoutes) ?persistRoutesDuration:(Option.map ~f:Values.BoxedLong.of_json persistRoutesDuration) ?snsNotificationsEnabled ?dryRun ~routeServerId ()) (Some Values.ModifyRouteServerResult.to_json) (Some Values.Ec2_error.to_json)]) let modify_security_group_rules = 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 dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and groupId = flag "group-id" (required string) ~doc:"STRING SecurityGroupId" and securityGroupRules = flag "security-group-rules" (required json_arg) ~doc:"JSON SecurityGroupRuleUpdateList" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.modify_security_group_rules (Values.ModifySecurityGroupRulesRequest.make ?dryRun ~groupId ~securityGroupRules:(Values.SecurityGroupRuleUpdateList.of_json securityGroupRules) ()) (Some Values.ModifySecurityGroupRulesResult.to_json) (Some Values.Ec2_error.to_json)]) let modify_snapshot_attribute = 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 attribute = flag "attribute" (optional json_arg) ~doc:"JSON SnapshotAttributeName" and createVolumePermission = flag "create-volume-permission" (optional json_arg) ~doc:"JSON CreateVolumePermissionModifications" and groupNames = flag "group-names" (optional json_arg) ~doc:"JSON GroupNameStringList" and operationType = flag "operation-type" (optional json_arg) ~doc:"JSON OperationType" and userIds = flag "user-ids" (optional json_arg) ~doc:"JSON UserIdStringList" and dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and snapshotId = flag "snapshot-id" (required string) ~doc:"STRING SnapshotId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.modify_snapshot_attribute (Values.ModifySnapshotAttributeRequest.make ?attribute:(Option.map ~f:Values.SnapshotAttributeName.of_json attribute) ?createVolumePermission:(Option.map ~f:Values.CreateVolumePermissionModifications.of_json createVolumePermission) ?groupNames:(Option.map ~f:Values.GroupNameStringList.of_json groupNames) ?operationType:(Option.map ~f:Values.OperationType.of_json operationType) ?userIds:(Option.map ~f:Values.UserIdStringList.of_json userIds) ?dryRun ~snapshotId ()) None (Some Values.Ec2_error.to_json)]) let modify_snapshot_tier = 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 storageTier = flag "storage-tier" (optional json_arg) ~doc:"JSON TargetStorageTier" and dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and snapshotId = flag "snapshot-id" (required string) ~doc:"STRING SnapshotId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.modify_snapshot_tier (Values.ModifySnapshotTierRequest.make ?storageTier:(Option.map ~f:Values.TargetStorageTier.of_json storageTier) ?dryRun ~snapshotId ()) (Some Values.ModifySnapshotTierResult.to_json) (Some Values.Ec2_error.to_json)]) let modify_spot_fleet_request = 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 launchTemplateConfigs = flag "launch-template-configs" (optional json_arg) ~doc:"JSON LaunchTemplateConfigList" and onDemandTargetCapacity = flag "on-demand-target-capacity" (optional int) ~doc:"INT Integer" and context = flag "context" (optional string) ~doc:"STRING String" and targetCapacity = flag "target-capacity" (optional int) ~doc:"INT Integer" and excessCapacityTerminationPolicy = flag "excess-capacity-termination-policy" (optional json_arg) ~doc:"JSON ExcessCapacityTerminationPolicy" and spotFleetRequestId = flag "spot-fleet-request-id" (required string) ~doc:"STRING SpotFleetRequestId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.modify_spot_fleet_request (Values.ModifySpotFleetRequestRequest.make ?launchTemplateConfigs:(Option.map ~f:Values.LaunchTemplateConfigList.of_json launchTemplateConfigs) ?onDemandTargetCapacity ?context ?targetCapacity ?excessCapacityTerminationPolicy:(Option.map ~f:Values.ExcessCapacityTerminationPolicy.of_json excessCapacityTerminationPolicy) ~spotFleetRequestId ()) (Some Values.ModifySpotFleetRequestResponse.to_json) (Some Values.Ec2_error.to_json)]) let modify_subnet_attribute = 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 assignIpv6AddressOnCreation = flag "assign-ipv6-address-on-creation" (optional json_arg) ~doc:"JSON AttributeBooleanValue" and mapPublicIpOnLaunch = flag "map-public-ip-on-launch" (optional json_arg) ~doc:"JSON AttributeBooleanValue" and mapCustomerOwnedIpOnLaunch = flag "map-customer-owned-ip-on-launch" (optional json_arg) ~doc:"JSON AttributeBooleanValue" and customerOwnedIpv4Pool = flag "customer-owned-ipv4-pool" (optional string) ~doc:"STRING CoipPoolId" and enableDns64 = flag "enable-dns64" (optional json_arg) ~doc:"JSON AttributeBooleanValue" and privateDnsHostnameTypeOnLaunch = flag "private-dns-hostname-type-on-launch" (optional json_arg) ~doc:"JSON HostnameType" and enableResourceNameDnsARecordOnLaunch = flag "enable-resource-name-dns-a-record-on-launch" (optional json_arg) ~doc:"JSON AttributeBooleanValue" and enableResourceNameDnsAAAARecordOnLaunch = flag "enable-resource-name-dns-a-a-a-a-record-on-launch" (optional json_arg) ~doc:"JSON AttributeBooleanValue" and enableLniAtDeviceIndex = flag "enable-lni-at-device-index" (optional int) ~doc:"INT Integer" and disableLniAtDeviceIndex = flag "disable-lni-at-device-index" (optional json_arg) ~doc:"JSON AttributeBooleanValue" and subnetId = flag "subnet-id" (required string) ~doc:"STRING SubnetId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.modify_subnet_attribute (Values.ModifySubnetAttributeRequest.make ?assignIpv6AddressOnCreation:(Option.map ~f:Values.AttributeBooleanValue.of_json assignIpv6AddressOnCreation) ?mapPublicIpOnLaunch:(Option.map ~f:Values.AttributeBooleanValue.of_json mapPublicIpOnLaunch) ?mapCustomerOwnedIpOnLaunch:(Option.map ~f:Values.AttributeBooleanValue.of_json mapCustomerOwnedIpOnLaunch) ?customerOwnedIpv4Pool ?enableDns64:(Option.map ~f:Values.AttributeBooleanValue.of_json enableDns64) ?privateDnsHostnameTypeOnLaunch:(Option.map ~f:Values.HostnameType.of_json privateDnsHostnameTypeOnLaunch) ?enableResourceNameDnsARecordOnLaunch:(Option.map ~f:Values.AttributeBooleanValue.of_json enableResourceNameDnsARecordOnLaunch) ?enableResourceNameDnsAAAARecordOnLaunch:(Option.map ~f:Values.AttributeBooleanValue.of_json enableResourceNameDnsAAAARecordOnLaunch) ?enableLniAtDeviceIndex ?disableLniAtDeviceIndex:(Option.map ~f:Values.AttributeBooleanValue.of_json disableLniAtDeviceIndex) ~subnetId ()) None (Some Values.Ec2_error.to_json)]) let modify_traffic_mirror_filter_network_services = 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 addNetworkServices = flag "add-network-services" (optional json_arg) ~doc:"JSON TrafficMirrorNetworkServiceList" and removeNetworkServices = flag "remove-network-services" (optional json_arg) ~doc:"JSON TrafficMirrorNetworkServiceList" and dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and trafficMirrorFilterId = flag "traffic-mirror-filter-id" (required string) ~doc:"STRING TrafficMirrorFilterId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.modify_traffic_mirror_filter_network_services (Values.ModifyTrafficMirrorFilterNetworkServicesRequest.make ?addNetworkServices:(Option.map ~f:Values.TrafficMirrorNetworkServiceList.of_json addNetworkServices) ?removeNetworkServices:(Option.map ~f:Values.TrafficMirrorNetworkServiceList.of_json removeNetworkServices) ?dryRun ~trafficMirrorFilterId ()) (Some Values.ModifyTrafficMirrorFilterNetworkServicesResult.to_json) (Some Values.Ec2_error.to_json)]) let modify_traffic_mirror_filter_rule = 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 trafficDirection = flag "traffic-direction" (optional json_arg) ~doc:"JSON TrafficDirection" and ruleNumber = flag "rule-number" (optional int) ~doc:"INT Integer" and ruleAction = flag "rule-action" (optional json_arg) ~doc:"JSON TrafficMirrorRuleAction" and destinationPortRange = flag "destination-port-range" (optional json_arg) ~doc:"JSON TrafficMirrorPortRangeRequest" and sourcePortRange = flag "source-port-range" (optional json_arg) ~doc:"JSON TrafficMirrorPortRangeRequest" and protocol = flag "protocol" (optional int) ~doc:"INT Integer" and destinationCidrBlock = flag "destination-cidr-block" (optional string) ~doc:"STRING String" and sourceCidrBlock = flag "source-cidr-block" (optional string) ~doc:"STRING String" and description = flag "description" (optional string) ~doc:"STRING String" and removeFields = flag "remove-fields" (optional json_arg) ~doc:"JSON TrafficMirrorFilterRuleFieldList" and dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and trafficMirrorFilterRuleId = flag "traffic-mirror-filter-rule-id" (required string) ~doc:"STRING TrafficMirrorFilterRuleIdWithResolver" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.modify_traffic_mirror_filter_rule (Values.ModifyTrafficMirrorFilterRuleRequest.make ?trafficDirection:(Option.map ~f:Values.TrafficDirection.of_json trafficDirection) ?ruleNumber ?ruleAction:(Option.map ~f:Values.TrafficMirrorRuleAction.of_json ruleAction) ?destinationPortRange:(Option.map ~f:Values.TrafficMirrorPortRangeRequest.of_json destinationPortRange) ?sourcePortRange:(Option.map ~f:Values.TrafficMirrorPortRangeRequest.of_json sourcePortRange) ?protocol ?destinationCidrBlock ?sourceCidrBlock ?description ?removeFields:(Option.map ~f:Values.TrafficMirrorFilterRuleFieldList.of_json removeFields) ?dryRun ~trafficMirrorFilterRuleId ()) (Some Values.ModifyTrafficMirrorFilterRuleResult.to_json) (Some Values.Ec2_error.to_json)]) let modify_traffic_mirror_session = 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 trafficMirrorTargetId = flag "traffic-mirror-target-id" (optional string) ~doc:"STRING TrafficMirrorTargetId" and trafficMirrorFilterId = flag "traffic-mirror-filter-id" (optional string) ~doc:"STRING TrafficMirrorFilterId" and packetLength = flag "packet-length" (optional int) ~doc:"INT Integer" and sessionNumber = flag "session-number" (optional int) ~doc:"INT Integer" and virtualNetworkId = flag "virtual-network-id" (optional int) ~doc:"INT Integer" and description = flag "description" (optional string) ~doc:"STRING String" and removeFields = flag "remove-fields" (optional json_arg) ~doc:"JSON TrafficMirrorSessionFieldList" and dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and trafficMirrorSessionId = flag "traffic-mirror-session-id" (required string) ~doc:"STRING TrafficMirrorSessionId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.modify_traffic_mirror_session (Values.ModifyTrafficMirrorSessionRequest.make ?trafficMirrorTargetId ?trafficMirrorFilterId ?packetLength ?sessionNumber ?virtualNetworkId ?description ?removeFields:(Option.map ~f:Values.TrafficMirrorSessionFieldList.of_json removeFields) ?dryRun ~trafficMirrorSessionId ()) (Some Values.ModifyTrafficMirrorSessionResult.to_json) (Some Values.Ec2_error.to_json)]) let modify_transit_gateway = 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 String" and options = flag "options" (optional json_arg) ~doc:"JSON ModifyTransitGatewayOptions" and dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and transitGatewayId = flag "transit-gateway-id" (required string) ~doc:"STRING TransitGatewayId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.modify_transit_gateway (Values.ModifyTransitGatewayRequest.make ?description ?options:(Option.map ~f:Values.ModifyTransitGatewayOptions.of_json options) ?dryRun ~transitGatewayId ()) (Some Values.ModifyTransitGatewayResult.to_json) (Some Values.Ec2_error.to_json)]) let modify_transit_gateway_metering_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 addMiddleboxAttachmentIds = flag "add-middlebox-attachment-ids" (optional json_arg) ~doc:"JSON TransitGatewayAttachmentIdStringList" and removeMiddleboxAttachmentIds = flag "remove-middlebox-attachment-ids" (optional json_arg) ~doc:"JSON TransitGatewayAttachmentIdStringList" and dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and transitGatewayMeteringPolicyId = flag "transit-gateway-metering-policy-id" (required string) ~doc:"STRING TransitGatewayMeteringPolicyId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.modify_transit_gateway_metering_policy (Values.ModifyTransitGatewayMeteringPolicyRequest.make ?addMiddleboxAttachmentIds:(Option.map ~f:Values.TransitGatewayAttachmentIdStringList.of_json addMiddleboxAttachmentIds) ?removeMiddleboxAttachmentIds:(Option.map ~f:Values.TransitGatewayAttachmentIdStringList.of_json removeMiddleboxAttachmentIds) ?dryRun ~transitGatewayMeteringPolicyId ()) (Some Values.ModifyTransitGatewayMeteringPolicyResult.to_json) (Some Values.Ec2_error.to_json)]) let modify_transit_gateway_prefix_list_reference = 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 transitGatewayAttachmentId = flag "transit-gateway-attachment-id" (optional string) ~doc:"STRING TransitGatewayAttachmentId" and blackhole = flag "blackhole" (optional bool) ~doc:"BOOL Boolean" and dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and transitGatewayRouteTableId = flag "transit-gateway-route-table-id" (required string) ~doc:"STRING TransitGatewayRouteTableId" and prefixListId = flag "prefix-list-id" (required string) ~doc:"STRING PrefixListResourceId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.modify_transit_gateway_prefix_list_reference (Values.ModifyTransitGatewayPrefixListReferenceRequest.make ?transitGatewayAttachmentId ?blackhole ?dryRun ~transitGatewayRouteTableId ~prefixListId ()) (Some Values.ModifyTransitGatewayPrefixListReferenceResult.to_json) (Some Values.Ec2_error.to_json)]) let modify_transit_gateway_vpc_attachment = 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 addSubnetIds = flag "add-subnet-ids" (optional json_arg) ~doc:"JSON TransitGatewaySubnetIdList" and removeSubnetIds = flag "remove-subnet-ids" (optional json_arg) ~doc:"JSON TransitGatewaySubnetIdList" and options = flag "options" (optional json_arg) ~doc:"JSON ModifyTransitGatewayVpcAttachmentRequestOptions" and dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and transitGatewayAttachmentId = flag "transit-gateway-attachment-id" (required string) ~doc:"STRING TransitGatewayAttachmentId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.modify_transit_gateway_vpc_attachment (Values.ModifyTransitGatewayVpcAttachmentRequest.make ?addSubnetIds:(Option.map ~f:Values.TransitGatewaySubnetIdList.of_json addSubnetIds) ?removeSubnetIds:(Option.map ~f:Values.TransitGatewaySubnetIdList.of_json removeSubnetIds) ?options:(Option.map ~f:Values.ModifyTransitGatewayVpcAttachmentRequestOptions.of_json options) ?dryRun ~transitGatewayAttachmentId ()) (Some Values.ModifyTransitGatewayVpcAttachmentResult.to_json) (Some Values.Ec2_error.to_json)]) let modify_verified_access_endpoint = 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 verifiedAccessGroupId = flag "verified-access-group-id" (optional string) ~doc:"STRING VerifiedAccessGroupId" and loadBalancerOptions = flag "load-balancer-options" (optional json_arg) ~doc:"JSON ModifyVerifiedAccessEndpointLoadBalancerOptions" and networkInterfaceOptions = flag "network-interface-options" (optional json_arg) ~doc:"JSON ModifyVerifiedAccessEndpointEniOptions" and description = flag "description" (optional string) ~doc:"STRING String" and clientToken = flag "client-token" (optional string) ~doc:"STRING String" and dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and rdsOptions = flag "rds-options" (optional json_arg) ~doc:"JSON ModifyVerifiedAccessEndpointRdsOptions" and cidrOptions = flag "cidr-options" (optional json_arg) ~doc:"JSON ModifyVerifiedAccessEndpointCidrOptions" and verifiedAccessEndpointId = flag "verified-access-endpoint-id" (required string) ~doc:"STRING VerifiedAccessEndpointId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.modify_verified_access_endpoint (Values.ModifyVerifiedAccessEndpointRequest.make ?verifiedAccessGroupId ?loadBalancerOptions:(Option.map ~f:Values.ModifyVerifiedAccessEndpointLoadBalancerOptions.of_json loadBalancerOptions) ?networkInterfaceOptions:(Option.map ~f:Values.ModifyVerifiedAccessEndpointEniOptions.of_json networkInterfaceOptions) ?description ?clientToken ?dryRun ?rdsOptions:(Option.map ~f:Values.ModifyVerifiedAccessEndpointRdsOptions.of_json rdsOptions) ?cidrOptions:(Option.map ~f:Values.ModifyVerifiedAccessEndpointCidrOptions.of_json cidrOptions) ~verifiedAccessEndpointId ()) (Some Values.ModifyVerifiedAccessEndpointResult.to_json) (Some Values.Ec2_error.to_json)]) let modify_verified_access_endpoint_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 policyEnabled = flag "policy-enabled" (optional bool) ~doc:"BOOL Boolean" and policyDocument = flag "policy-document" (optional string) ~doc:"STRING String" and clientToken = flag "client-token" (optional string) ~doc:"STRING String" and dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and sseSpecification = flag "sse-specification" (optional json_arg) ~doc:"JSON VerifiedAccessSseSpecificationRequest" and verifiedAccessEndpointId = flag "verified-access-endpoint-id" (required string) ~doc:"STRING VerifiedAccessEndpointId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.modify_verified_access_endpoint_policy (Values.ModifyVerifiedAccessEndpointPolicyRequest.make ?policyEnabled ?policyDocument ?clientToken ?dryRun ?sseSpecification:(Option.map ~f:Values.VerifiedAccessSseSpecificationRequest.of_json sseSpecification) ~verifiedAccessEndpointId ()) (Some Values.ModifyVerifiedAccessEndpointPolicyResult.to_json) (Some Values.Ec2_error.to_json)]) let modify_verified_access_group = 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 verifiedAccessInstanceId = flag "verified-access-instance-id" (optional string) ~doc:"STRING VerifiedAccessInstanceId" and description = flag "description" (optional string) ~doc:"STRING String" and clientToken = flag "client-token" (optional string) ~doc:"STRING String" and dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and verifiedAccessGroupId = flag "verified-access-group-id" (required string) ~doc:"STRING VerifiedAccessGroupId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.modify_verified_access_group (Values.ModifyVerifiedAccessGroupRequest.make ?verifiedAccessInstanceId ?description ?clientToken ?dryRun ~verifiedAccessGroupId ()) (Some Values.ModifyVerifiedAccessGroupResult.to_json) (Some Values.Ec2_error.to_json)]) let modify_verified_access_group_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 policyEnabled = flag "policy-enabled" (optional bool) ~doc:"BOOL Boolean" and policyDocument = flag "policy-document" (optional string) ~doc:"STRING String" and clientToken = flag "client-token" (optional string) ~doc:"STRING String" and dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and sseSpecification = flag "sse-specification" (optional json_arg) ~doc:"JSON VerifiedAccessSseSpecificationRequest" and verifiedAccessGroupId = flag "verified-access-group-id" (required string) ~doc:"STRING VerifiedAccessGroupId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.modify_verified_access_group_policy (Values.ModifyVerifiedAccessGroupPolicyRequest.make ?policyEnabled ?policyDocument ?clientToken ?dryRun ?sseSpecification:(Option.map ~f:Values.VerifiedAccessSseSpecificationRequest.of_json sseSpecification) ~verifiedAccessGroupId ()) (Some Values.ModifyVerifiedAccessGroupPolicyResult.to_json) (Some Values.Ec2_error.to_json)]) let modify_verified_access_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 description = flag "description" (optional string) ~doc:"STRING String" and dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and clientToken = flag "client-token" (optional string) ~doc:"STRING String" and cidrEndpointsCustomSubDomain = flag "cidr-endpoints-custom-sub-domain" (optional string) ~doc:"STRING String" and verifiedAccessInstanceId = flag "verified-access-instance-id" (required string) ~doc:"STRING VerifiedAccessInstanceId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.modify_verified_access_instance (Values.ModifyVerifiedAccessInstanceRequest.make ?description ?dryRun ?clientToken ?cidrEndpointsCustomSubDomain ~verifiedAccessInstanceId ()) (Some Values.ModifyVerifiedAccessInstanceResult.to_json) (Some Values.Ec2_error.to_json)]) let modify_verified_access_instance_logging_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 dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and clientToken = flag "client-token" (optional string) ~doc:"STRING String" and verifiedAccessInstanceId = flag "verified-access-instance-id" (required string) ~doc:"STRING VerifiedAccessInstanceId" and accessLogs = flag "access-logs" (required json_arg) ~doc:"JSON VerifiedAccessLogOptions" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.modify_verified_access_instance_logging_configuration (Values.ModifyVerifiedAccessInstanceLoggingConfigurationRequest.make ?dryRun ?clientToken ~verifiedAccessInstanceId ~accessLogs:(Values.VerifiedAccessLogOptions.of_json accessLogs) ()) (Some Values.ModifyVerifiedAccessInstanceLoggingConfigurationResult.to_json) (Some Values.Ec2_error.to_json)]) let modify_verified_access_trust_provider = 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 oidcOptions = flag "oidc-options" (optional json_arg) ~doc:"JSON ModifyVerifiedAccessTrustProviderOidcOptions" and deviceOptions = flag "device-options" (optional json_arg) ~doc:"JSON ModifyVerifiedAccessTrustProviderDeviceOptions" and description = flag "description" (optional string) ~doc:"STRING String" and dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and clientToken = flag "client-token" (optional string) ~doc:"STRING String" and sseSpecification = flag "sse-specification" (optional json_arg) ~doc:"JSON VerifiedAccessSseSpecificationRequest" and nativeApplicationOidcOptions = flag "native-application-oidc-options" (optional json_arg) ~doc:"JSON ModifyVerifiedAccessNativeApplicationOidcOptions" and verifiedAccessTrustProviderId = flag "verified-access-trust-provider-id" (required string) ~doc:"STRING VerifiedAccessTrustProviderId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.modify_verified_access_trust_provider (Values.ModifyVerifiedAccessTrustProviderRequest.make ?oidcOptions:(Option.map ~f:Values.ModifyVerifiedAccessTrustProviderOidcOptions.of_json oidcOptions) ?deviceOptions:(Option.map ~f:Values.ModifyVerifiedAccessTrustProviderDeviceOptions.of_json deviceOptions) ?description ?dryRun ?clientToken ?sseSpecification:(Option.map ~f:Values.VerifiedAccessSseSpecificationRequest.of_json sseSpecification) ?nativeApplicationOidcOptions:(Option.map ~f:Values.ModifyVerifiedAccessNativeApplicationOidcOptions.of_json nativeApplicationOidcOptions) ~verifiedAccessTrustProviderId ()) (Some Values.ModifyVerifiedAccessTrustProviderResult.to_json) (Some Values.Ec2_error.to_json)]) let modify_volume = 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 dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and size = flag "size" (optional int) ~doc:"INT Integer" and volumeType = flag "volume-type" (optional json_arg) ~doc:"JSON VolumeType" and iops = flag "iops" (optional int) ~doc:"INT Integer" and throughput = flag "throughput" (optional int) ~doc:"INT Integer" and multiAttachEnabled = flag "multi-attach-enabled" (optional bool) ~doc:"BOOL Boolean" and volumeId = flag "volume-id" (required string) ~doc:"STRING VolumeId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.modify_volume (Values.ModifyVolumeRequest.make ?dryRun ?size ?volumeType:(Option.map ~f:Values.VolumeType.of_json volumeType) ?iops ?throughput ?multiAttachEnabled ~volumeId ()) (Some Values.ModifyVolumeResult.to_json) (Some Values.Ec2_error.to_json)]) let modify_volume_attribute = 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 autoEnableIO = flag "auto-enable-i-o" (optional json_arg) ~doc:"JSON AttributeBooleanValue" and dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and volumeId = flag "volume-id" (required string) ~doc:"STRING VolumeId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.modify_volume_attribute (Values.ModifyVolumeAttributeRequest.make ?autoEnableIO:(Option.map ~f:Values.AttributeBooleanValue.of_json autoEnableIO) ?dryRun ~volumeId ()) None (Some Values.Ec2_error.to_json)]) let modify_vpc_attribute = 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 enableDnsHostnames = flag "enable-dns-hostnames" (optional json_arg) ~doc:"JSON AttributeBooleanValue" and enableDnsSupport = flag "enable-dns-support" (optional json_arg) ~doc:"JSON AttributeBooleanValue" and enableNetworkAddressUsageMetrics = flag "enable-network-address-usage-metrics" (optional json_arg) ~doc:"JSON AttributeBooleanValue" and vpcId = flag "vpc-id" (required string) ~doc:"STRING VpcId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.modify_vpc_attribute (Values.ModifyVpcAttributeRequest.make ?enableDnsHostnames:(Option.map ~f:Values.AttributeBooleanValue.of_json enableDnsHostnames) ?enableDnsSupport:(Option.map ~f:Values.AttributeBooleanValue.of_json enableDnsSupport) ?enableNetworkAddressUsageMetrics:(Option.map ~f:Values.AttributeBooleanValue.of_json enableNetworkAddressUsageMetrics) ~vpcId ()) None (Some Values.Ec2_error.to_json)]) let modify_vpc_block_public_access_exclusion = 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 dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and exclusionId = flag "exclusion-id" (required string) ~doc:"STRING VpcBlockPublicAccessExclusionId" and internetGatewayExclusionMode = flag "internet-gateway-exclusion-mode" (required json_arg) ~doc:"JSON InternetGatewayExclusionMode" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.modify_vpc_block_public_access_exclusion (Values.ModifyVpcBlockPublicAccessExclusionRequest.make ?dryRun ~exclusionId ~internetGatewayExclusionMode:(Values.InternetGatewayExclusionMode.of_json internetGatewayExclusionMode) ()) (Some Values.ModifyVpcBlockPublicAccessExclusionResult.to_json) (Some Values.Ec2_error.to_json)]) let modify_vpc_block_public_access_options = 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 dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and internetGatewayBlockMode = flag "internet-gateway-block-mode" (required json_arg) ~doc:"JSON InternetGatewayBlockMode" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.modify_vpc_block_public_access_options (Values.ModifyVpcBlockPublicAccessOptionsRequest.make ?dryRun ~internetGatewayBlockMode:(Values.InternetGatewayBlockMode.of_json internetGatewayBlockMode) ()) (Some Values.ModifyVpcBlockPublicAccessOptionsResult.to_json) (Some Values.Ec2_error.to_json)]) let modify_vpc_encryption_control = 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 dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and mode = flag "mode" (optional json_arg) ~doc:"JSON VpcEncryptionControlMode" and internetGatewayExclusion = flag "internet-gateway-exclusion" (optional json_arg) ~doc:"JSON VpcEncryptionControlExclusionStateInput" and egressOnlyInternetGatewayExclusion = flag "egress-only-internet-gateway-exclusion" (optional json_arg) ~doc:"JSON VpcEncryptionControlExclusionStateInput" and natGatewayExclusion = flag "nat-gateway-exclusion" (optional json_arg) ~doc:"JSON VpcEncryptionControlExclusionStateInput" and virtualPrivateGatewayExclusion = flag "virtual-private-gateway-exclusion" (optional json_arg) ~doc:"JSON VpcEncryptionControlExclusionStateInput" and vpcPeeringExclusion = flag "vpc-peering-exclusion" (optional json_arg) ~doc:"JSON VpcEncryptionControlExclusionStateInput" and lambdaExclusion = flag "lambda-exclusion" (optional json_arg) ~doc:"JSON VpcEncryptionControlExclusionStateInput" and vpcLatticeExclusion = flag "vpc-lattice-exclusion" (optional json_arg) ~doc:"JSON VpcEncryptionControlExclusionStateInput" and elasticFileSystemExclusion = flag "elastic-file-system-exclusion" (optional json_arg) ~doc:"JSON VpcEncryptionControlExclusionStateInput" and vpcEncryptionControlId = flag "vpc-encryption-control-id" (required string) ~doc:"STRING VpcEncryptionControlId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.modify_vpc_encryption_control (Values.ModifyVpcEncryptionControlRequest.make ?dryRun ?mode:(Option.map ~f:Values.VpcEncryptionControlMode.of_json mode) ?internetGatewayExclusion:(Option.map ~f:Values.VpcEncryptionControlExclusionStateInput.of_json internetGatewayExclusion) ?egressOnlyInternetGatewayExclusion:(Option.map ~f:Values.VpcEncryptionControlExclusionStateInput.of_json egressOnlyInternetGatewayExclusion) ?natGatewayExclusion:(Option.map ~f:Values.VpcEncryptionControlExclusionStateInput.of_json natGatewayExclusion) ?virtualPrivateGatewayExclusion:(Option.map ~f:Values.VpcEncryptionControlExclusionStateInput.of_json virtualPrivateGatewayExclusion) ?vpcPeeringExclusion:(Option.map ~f:Values.VpcEncryptionControlExclusionStateInput.of_json vpcPeeringExclusion) ?lambdaExclusion:(Option.map ~f:Values.VpcEncryptionControlExclusionStateInput.of_json lambdaExclusion) ?vpcLatticeExclusion:(Option.map ~f:Values.VpcEncryptionControlExclusionStateInput.of_json vpcLatticeExclusion) ?elasticFileSystemExclusion:(Option.map ~f:Values.VpcEncryptionControlExclusionStateInput.of_json elasticFileSystemExclusion) ~vpcEncryptionControlId ()) (Some Values.ModifyVpcEncryptionControlResult.to_json) (Some Values.Ec2_error.to_json)]) let modify_vpc_endpoint = 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 dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and resetPolicy = flag "reset-policy" (optional bool) ~doc:"BOOL Boolean" and policyDocument = flag "policy-document" (optional string) ~doc:"STRING String" and addRouteTableIds = flag "add-route-table-ids" (optional json_arg) ~doc:"JSON VpcEndpointRouteTableIdList" and removeRouteTableIds = flag "remove-route-table-ids" (optional json_arg) ~doc:"JSON VpcEndpointRouteTableIdList" and addSubnetIds = flag "add-subnet-ids" (optional json_arg) ~doc:"JSON VpcEndpointSubnetIdList" and removeSubnetIds = flag "remove-subnet-ids" (optional json_arg) ~doc:"JSON VpcEndpointSubnetIdList" and addSecurityGroupIds = flag "add-security-group-ids" (optional json_arg) ~doc:"JSON VpcEndpointSecurityGroupIdList" and removeSecurityGroupIds = flag "remove-security-group-ids" (optional json_arg) ~doc:"JSON VpcEndpointSecurityGroupIdList" and ipAddressType = flag "ip-address-type" (optional json_arg) ~doc:"JSON IpAddressType" and dnsOptions = flag "dns-options" (optional json_arg) ~doc:"JSON DnsOptionsSpecification" and privateDnsEnabled = flag "private-dns-enabled" (optional bool) ~doc:"BOOL Boolean" and subnetConfigurations = flag "subnet-configurations" (optional json_arg) ~doc:"JSON SubnetConfigurationsList" and vpcEndpointId = flag "vpc-endpoint-id" (required string) ~doc:"STRING VpcEndpointId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.modify_vpc_endpoint (Values.ModifyVpcEndpointRequest.make ?dryRun ?resetPolicy ?policyDocument ?addRouteTableIds:(Option.map ~f:Values.VpcEndpointRouteTableIdList.of_json addRouteTableIds) ?removeRouteTableIds:(Option.map ~f:Values.VpcEndpointRouteTableIdList.of_json removeRouteTableIds) ?addSubnetIds:(Option.map ~f:Values.VpcEndpointSubnetIdList.of_json addSubnetIds) ?removeSubnetIds:(Option.map ~f:Values.VpcEndpointSubnetIdList.of_json removeSubnetIds) ?addSecurityGroupIds:(Option.map ~f:Values.VpcEndpointSecurityGroupIdList.of_json addSecurityGroupIds) ?removeSecurityGroupIds:(Option.map ~f:Values.VpcEndpointSecurityGroupIdList.of_json removeSecurityGroupIds) ?ipAddressType:(Option.map ~f:Values.IpAddressType.of_json ipAddressType) ?dnsOptions:(Option.map ~f:Values.DnsOptionsSpecification.of_json dnsOptions) ?privateDnsEnabled ?subnetConfigurations:(Option.map ~f:Values.SubnetConfigurationsList.of_json subnetConfigurations) ~vpcEndpointId ()) (Some Values.ModifyVpcEndpointResult.to_json) (Some Values.Ec2_error.to_json)]) let modify_vpc_endpoint_connection_notification = 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 dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and connectionNotificationArn = flag "connection-notification-arn" (optional string) ~doc:"STRING String" and connectionEvents = flag "connection-events" (optional json_arg) ~doc:"JSON ValueStringList" and connectionNotificationId = flag "connection-notification-id" (required string) ~doc:"STRING ConnectionNotificationId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.modify_vpc_endpoint_connection_notification (Values.ModifyVpcEndpointConnectionNotificationRequest.make ?dryRun ?connectionNotificationArn ?connectionEvents:(Option.map ~f:Values.ValueStringList.of_json connectionEvents) ~connectionNotificationId ()) (Some Values.ModifyVpcEndpointConnectionNotificationResult.to_json) (Some Values.Ec2_error.to_json)]) let modify_vpc_endpoint_service_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 dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and privateDnsName = flag "private-dns-name" (optional string) ~doc:"STRING String" and removePrivateDnsName = flag "remove-private-dns-name" (optional bool) ~doc:"BOOL Boolean" and acceptanceRequired = flag "acceptance-required" (optional bool) ~doc:"BOOL Boolean" and addNetworkLoadBalancerArns = flag "add-network-load-balancer-arns" (optional json_arg) ~doc:"JSON ValueStringList" and removeNetworkLoadBalancerArns = flag "remove-network-load-balancer-arns" (optional json_arg) ~doc:"JSON ValueStringList" and addGatewayLoadBalancerArns = flag "add-gateway-load-balancer-arns" (optional json_arg) ~doc:"JSON ValueStringList" and removeGatewayLoadBalancerArns = flag "remove-gateway-load-balancer-arns" (optional json_arg) ~doc:"JSON ValueStringList" and addSupportedIpAddressTypes = flag "add-supported-ip-address-types" (optional json_arg) ~doc:"JSON ValueStringList" and removeSupportedIpAddressTypes = flag "remove-supported-ip-address-types" (optional json_arg) ~doc:"JSON ValueStringList" and addSupportedRegions = flag "add-supported-regions" (optional json_arg) ~doc:"JSON ValueStringList" and removeSupportedRegions = flag "remove-supported-regions" (optional json_arg) ~doc:"JSON ValueStringList" and serviceId = flag "service-id" (required string) ~doc:"STRING VpcEndpointServiceId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.modify_vpc_endpoint_service_configuration (Values.ModifyVpcEndpointServiceConfigurationRequest.make ?dryRun ?privateDnsName ?removePrivateDnsName ?acceptanceRequired ?addNetworkLoadBalancerArns:(Option.map ~f:Values.ValueStringList.of_json addNetworkLoadBalancerArns) ?removeNetworkLoadBalancerArns:(Option.map ~f:Values.ValueStringList.of_json removeNetworkLoadBalancerArns) ?addGatewayLoadBalancerArns:(Option.map ~f:Values.ValueStringList.of_json addGatewayLoadBalancerArns) ?removeGatewayLoadBalancerArns:(Option.map ~f:Values.ValueStringList.of_json removeGatewayLoadBalancerArns) ?addSupportedIpAddressTypes:(Option.map ~f:Values.ValueStringList.of_json addSupportedIpAddressTypes) ?removeSupportedIpAddressTypes:(Option.map ~f:Values.ValueStringList.of_json removeSupportedIpAddressTypes) ?addSupportedRegions:(Option.map ~f:Values.ValueStringList.of_json addSupportedRegions) ?removeSupportedRegions:(Option.map ~f:Values.ValueStringList.of_json removeSupportedRegions) ~serviceId ()) (Some Values.ModifyVpcEndpointServiceConfigurationResult.to_json) (Some Values.Ec2_error.to_json)]) let modify_vpc_endpoint_service_payer_responsibility = 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 dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and serviceId = flag "service-id" (required string) ~doc:"STRING VpcEndpointServiceId" and payerResponsibility = flag "payer-responsibility" (required json_arg) ~doc:"JSON PayerResponsibility" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.modify_vpc_endpoint_service_payer_responsibility (Values.ModifyVpcEndpointServicePayerResponsibilityRequest.make ?dryRun ~serviceId ~payerResponsibility:(Values.PayerResponsibility.of_json payerResponsibility) ()) (Some Values.ModifyVpcEndpointServicePayerResponsibilityResult.to_json) (Some Values.Ec2_error.to_json)]) let modify_vpc_endpoint_service_permissions = 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 dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and addAllowedPrincipals = flag "add-allowed-principals" (optional json_arg) ~doc:"JSON ValueStringList" and removeAllowedPrincipals = flag "remove-allowed-principals" (optional json_arg) ~doc:"JSON ValueStringList" and serviceId = flag "service-id" (required string) ~doc:"STRING VpcEndpointServiceId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.modify_vpc_endpoint_service_permissions (Values.ModifyVpcEndpointServicePermissionsRequest.make ?dryRun ?addAllowedPrincipals:(Option.map ~f:Values.ValueStringList.of_json addAllowedPrincipals) ?removeAllowedPrincipals:(Option.map ~f:Values.ValueStringList.of_json removeAllowedPrincipals) ~serviceId ()) (Some Values.ModifyVpcEndpointServicePermissionsResult.to_json) (Some Values.Ec2_error.to_json)]) let modify_vpc_peering_connection_options = 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 accepterPeeringConnectionOptions = flag "accepter-peering-connection-options" (optional json_arg) ~doc:"JSON PeeringConnectionOptionsRequest" and dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and requesterPeeringConnectionOptions = flag "requester-peering-connection-options" (optional json_arg) ~doc:"JSON PeeringConnectionOptionsRequest" and vpcPeeringConnectionId = flag "vpc-peering-connection-id" (required string) ~doc:"STRING VpcPeeringConnectionId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.modify_vpc_peering_connection_options (Values.ModifyVpcPeeringConnectionOptionsRequest.make ?accepterPeeringConnectionOptions:(Option.map ~f:Values.PeeringConnectionOptionsRequest.of_json accepterPeeringConnectionOptions) ?dryRun ?requesterPeeringConnectionOptions:(Option.map ~f:Values.PeeringConnectionOptionsRequest.of_json requesterPeeringConnectionOptions) ~vpcPeeringConnectionId ()) (Some Values.ModifyVpcPeeringConnectionOptionsResult.to_json) (Some Values.Ec2_error.to_json)]) let modify_vpc_tenancy = 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 dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and vpcId = flag "vpc-id" (required string) ~doc:"STRING VpcId" and instanceTenancy = flag "instance-tenancy" (required json_arg) ~doc:"JSON VpcTenancy" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.modify_vpc_tenancy (Values.ModifyVpcTenancyRequest.make ?dryRun ~vpcId ~instanceTenancy:(Values.VpcTenancy.of_json instanceTenancy) ()) (Some Values.ModifyVpcTenancyResult.to_json) (Some Values.Ec2_error.to_json)]) let modify_vpn_connection = 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 transitGatewayId = flag "transit-gateway-id" (optional string) ~doc:"STRING TransitGatewayId" and customerGatewayId = flag "customer-gateway-id" (optional string) ~doc:"STRING CustomerGatewayId" and vpnGatewayId = flag "vpn-gateway-id" (optional string) ~doc:"STRING VpnGatewayId" and dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and vpnConnectionId = flag "vpn-connection-id" (required string) ~doc:"STRING VpnConnectionId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.modify_vpn_connection (Values.ModifyVpnConnectionRequest.make ?transitGatewayId ?customerGatewayId ?vpnGatewayId ?dryRun ~vpnConnectionId ()) (Some Values.ModifyVpnConnectionResult.to_json) (Some Values.Ec2_error.to_json)]) let modify_vpn_connection_options = 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 localIpv4NetworkCidr = flag "local-ipv4-network-cidr" (optional string) ~doc:"STRING String" and remoteIpv4NetworkCidr = flag "remote-ipv4-network-cidr" (optional string) ~doc:"STRING String" and localIpv6NetworkCidr = flag "local-ipv6-network-cidr" (optional string) ~doc:"STRING String" and remoteIpv6NetworkCidr = flag "remote-ipv6-network-cidr" (optional string) ~doc:"STRING String" and tunnelBandwidth = flag "tunnel-bandwidth" (optional json_arg) ~doc:"JSON VpnTunnelBandwidth" and dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and vpnConnectionId = flag "vpn-connection-id" (required string) ~doc:"STRING VpnConnectionId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.modify_vpn_connection_options (Values.ModifyVpnConnectionOptionsRequest.make ?localIpv4NetworkCidr ?remoteIpv4NetworkCidr ?localIpv6NetworkCidr ?remoteIpv6NetworkCidr ?tunnelBandwidth:(Option.map ~f:Values.VpnTunnelBandwidth.of_json tunnelBandwidth) ?dryRun ~vpnConnectionId ()) (Some Values.ModifyVpnConnectionOptionsResult.to_json) (Some Values.Ec2_error.to_json)]) let modify_vpn_tunnel_certificate = 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 dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and vpnConnectionId = flag "vpn-connection-id" (required string) ~doc:"STRING VpnConnectionId" and vpnTunnelOutsideIpAddress = flag "vpn-tunnel-outside-ip-address" (required string) ~doc:"STRING String" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.modify_vpn_tunnel_certificate (Values.ModifyVpnTunnelCertificateRequest.make ?dryRun ~vpnConnectionId ~vpnTunnelOutsideIpAddress ()) (Some Values.ModifyVpnTunnelCertificateResult.to_json) (Some Values.Ec2_error.to_json)]) let modify_vpn_tunnel_options = 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 dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and skipTunnelReplacement = flag "skip-tunnel-replacement" (optional bool) ~doc:"BOOL Boolean" and = flag "pre-shared-key-storage" (optional string) ~doc:"STRING String" and vpnConnectionId = flag "vpn-connection-id" (required string) ~doc:"STRING VpnConnectionId" and vpnTunnelOutsideIpAddress = flag "vpn-tunnel-outside-ip-address" (required string) ~doc:"STRING String" and tunnelOptions = flag "tunnel-options" (required json_arg) ~doc:"JSON ModifyVpnTunnelOptionsSpecification" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.modify_vpn_tunnel_options (Values.ModifyVpnTunnelOptionsRequest.make ?dryRun ?skipTunnelReplacement ?preSharedKeyStorage ~vpnConnectionId ~vpnTunnelOutsideIpAddress ~tunnelOptions:(Values.ModifyVpnTunnelOptionsSpecification.of_json tunnelOptions) ()) (Some Values.ModifyVpnTunnelOptionsResult.to_json) (Some Values.Ec2_error.to_json)]) let monitor_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 dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and instanceIds = flag "instance-ids" (required json_arg) ~doc:"JSON InstanceIdStringList" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.monitor_instances (Values.MonitorInstancesRequest.make ?dryRun ~instanceIds:(Values.InstanceIdStringList.of_json instanceIds) ()) (Some Values.MonitorInstancesResult.to_json) (Some Values.Ec2_error.to_json)]) let move_address_to_vpc = 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 dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and publicIp = flag "public-ip" (required string) ~doc:"STRING String" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.move_address_to_vpc (Values.MoveAddressToVpcRequest.make ?dryRun ~publicIp ()) (Some Values.MoveAddressToVpcResult.to_json) (Some Values.Ec2_error.to_json)]) let move_byoip_cidr_to_ipam = 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 dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and cidr = flag "cidr" (required string) ~doc:"STRING String" and ipamPoolId = flag "ipam-pool-id" (required string) ~doc:"STRING IpamPoolId" and ipamPoolOwner = flag "ipam-pool-owner" (required string) ~doc:"STRING String" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.move_byoip_cidr_to_ipam (Values.MoveByoipCidrToIpamRequest.make ?dryRun ~cidr ~ipamPoolId ~ipamPoolOwner ()) (Some Values.MoveByoipCidrToIpamResult.to_json) (Some Values.Ec2_error.to_json)]) let move_capacity_reservation_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 dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and clientToken = flag "client-token" (optional string) ~doc:"STRING String" and sourceCapacityReservationId = flag "source-capacity-reservation-id" (required string) ~doc:"STRING CapacityReservationId" and destinationCapacityReservationId = flag "destination-capacity-reservation-id" (required string) ~doc:"STRING CapacityReservationId" and instanceCount = flag "instance-count" (required int) ~doc:"INT Integer" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.move_capacity_reservation_instances (Values.MoveCapacityReservationInstancesRequest.make ?dryRun ?clientToken ~sourceCapacityReservationId ~destinationCapacityReservationId ~instanceCount ()) (Some Values.MoveCapacityReservationInstancesResult.to_json) (Some Values.Ec2_error.to_json)]) let provision_byoip_cidr = 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 cidrAuthorizationContext = flag "cidr-authorization-context" (optional json_arg) ~doc:"JSON CidrAuthorizationContext" and publiclyAdvertisable = flag "publicly-advertisable" (optional bool) ~doc:"BOOL Boolean" and description = flag "description" (optional string) ~doc:"STRING String" and dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and poolTagSpecifications = flag "pool-tag-specifications" (optional json_arg) ~doc:"JSON TagSpecificationList" and multiRegion = flag "multi-region" (optional bool) ~doc:"BOOL Boolean" and networkBorderGroup = flag "network-border-group" (optional string) ~doc:"STRING String" and cidr = flag "cidr" (required string) ~doc:"STRING String" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.provision_byoip_cidr (Values.ProvisionByoipCidrRequest.make ?cidrAuthorizationContext:(Option.map ~f:Values.CidrAuthorizationContext.of_json cidrAuthorizationContext) ?publiclyAdvertisable ?description ?dryRun ?poolTagSpecifications:(Option.map ~f:Values.TagSpecificationList.of_json poolTagSpecifications) ?multiRegion ?networkBorderGroup ~cidr ()) (Some Values.ProvisionByoipCidrResult.to_json) (Some Values.Ec2_error.to_json)]) let provision_ipam_byoasn = 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 dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and ipamId = flag "ipam-id" (required string) ~doc:"STRING IpamId" and asn = flag "asn" (required string) ~doc:"STRING String" and asnAuthorizationContext = flag "asn-authorization-context" (required json_arg) ~doc:"JSON AsnAuthorizationContext" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.provision_ipam_byoasn (Values.ProvisionIpamByoasnRequest.make ?dryRun ~ipamId ~asn ~asnAuthorizationContext:(Values.AsnAuthorizationContext.of_json asnAuthorizationContext) ()) (Some Values.ProvisionIpamByoasnResult.to_json) (Some Values.Ec2_error.to_json)]) let provision_ipam_pool_cidr = 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 dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and cidr = flag "cidr" (optional string) ~doc:"STRING String" and cidrAuthorizationContext = flag "cidr-authorization-context" (optional json_arg) ~doc:"JSON IpamCidrAuthorizationContext" and netmaskLength = flag "netmask-length" (optional int) ~doc:"INT Integer" and clientToken = flag "client-token" (optional string) ~doc:"STRING String" and verificationMethod = flag "verification-method" (optional json_arg) ~doc:"JSON VerificationMethod" and ipamExternalResourceVerificationTokenId = flag "ipam-external-resource-verification-token-id" (optional string) ~doc:"STRING IpamExternalResourceVerificationTokenId" and ipamPoolId = flag "ipam-pool-id" (required string) ~doc:"STRING IpamPoolId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.provision_ipam_pool_cidr (Values.ProvisionIpamPoolCidrRequest.make ?dryRun ?cidr ?cidrAuthorizationContext:(Option.map ~f:Values.IpamCidrAuthorizationContext.of_json cidrAuthorizationContext) ?netmaskLength ?clientToken ?verificationMethod:(Option.map ~f:Values.VerificationMethod.of_json verificationMethod) ?ipamExternalResourceVerificationTokenId ~ipamPoolId ()) (Some Values.ProvisionIpamPoolCidrResult.to_json) (Some Values.Ec2_error.to_json)]) let provision_public_ipv4_pool_cidr = 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 dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and networkBorderGroup = flag "network-border-group" (optional string) ~doc:"STRING String" and ipamPoolId = flag "ipam-pool-id" (required string) ~doc:"STRING IpamPoolId" and poolId = flag "pool-id" (required string) ~doc:"STRING Ipv4PoolEc2Id" and netmaskLength = flag "netmask-length" (required int) ~doc:"INT Integer" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.provision_public_ipv4_pool_cidr (Values.ProvisionPublicIpv4PoolCidrRequest.make ?dryRun ?networkBorderGroup ~ipamPoolId ~poolId ~netmaskLength ()) (Some Values.ProvisionPublicIpv4PoolCidrResult.to_json) (Some Values.Ec2_error.to_json)]) let purchase_capacity_block = 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 dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and tagSpecifications = flag "tag-specifications" (optional json_arg) ~doc:"JSON TagSpecificationList" and capacityBlockOfferingId = flag "capacity-block-offering-id" (required string) ~doc:"STRING OfferingId" and instancePlatform = flag "instance-platform" (required json_arg) ~doc:"JSON CapacityReservationInstancePlatform" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.purchase_capacity_block (Values.PurchaseCapacityBlockRequest.make ?dryRun ?tagSpecifications:(Option.map ~f:Values.TagSpecificationList.of_json tagSpecifications) ~capacityBlockOfferingId ~instancePlatform:(Values.CapacityReservationInstancePlatform.of_json instancePlatform) ()) (Some Values.PurchaseCapacityBlockResult.to_json) (Some Values.Ec2_error.to_json)]) let purchase_capacity_block_extension = 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 dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and capacityBlockExtensionOfferingId = flag "capacity-block-extension-offering-id" (required string) ~doc:"STRING OfferingId" and capacityReservationId = flag "capacity-reservation-id" (required string) ~doc:"STRING CapacityReservationId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.purchase_capacity_block_extension (Values.PurchaseCapacityBlockExtensionRequest.make ?dryRun ~capacityBlockExtensionOfferingId ~capacityReservationId ()) (Some Values.PurchaseCapacityBlockExtensionResult.to_json) (Some Values.Ec2_error.to_json)]) let purchase_host_reservation = 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 clientToken = flag "client-token" (optional string) ~doc:"STRING String" and currencyCode = flag "currency-code" (optional json_arg) ~doc:"JSON CurrencyCodeValues" and limitPrice = flag "limit-price" (optional string) ~doc:"STRING String" and tagSpecifications = flag "tag-specifications" (optional json_arg) ~doc:"JSON TagSpecificationList" and hostIdSet = flag "host-id-set" (required json_arg) ~doc:"JSON RequestHostIdSet" and offeringId = flag "offering-id" (required string) ~doc:"STRING OfferingId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.purchase_host_reservation (Values.PurchaseHostReservationRequest.make ?clientToken ?currencyCode:(Option.map ~f:Values.CurrencyCodeValues.of_json currencyCode) ?limitPrice ?tagSpecifications:(Option.map ~f:Values.TagSpecificationList.of_json tagSpecifications) ~hostIdSet:(Values.RequestHostIdSet.of_json hostIdSet) ~offeringId ()) (Some Values.PurchaseHostReservationResult.to_json) (Some Values.Ec2_error.to_json)]) let purchase_reserved_instances_offering = 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 purchaseTime = flag "purchase-time" (optional json_arg) ~doc:"JSON DateTime" and dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and limitPrice = flag "limit-price" (optional json_arg) ~doc:"JSON ReservedInstanceLimitPrice" and instanceCount = flag "instance-count" (required int) ~doc:"INT Integer" and reservedInstancesOfferingId = flag "reserved-instances-offering-id" (required string) ~doc:"STRING ReservedInstancesOfferingId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.purchase_reserved_instances_offering (Values.PurchaseReservedInstancesOfferingRequest.make ?purchaseTime:(Option.map ~f:Values.DateTime.of_json purchaseTime) ?dryRun ?limitPrice:(Option.map ~f:Values.ReservedInstanceLimitPrice.of_json limitPrice) ~instanceCount ~reservedInstancesOfferingId ()) (Some Values.PurchaseReservedInstancesOfferingResult.to_json) (Some Values.Ec2_error.to_json)]) let purchase_scheduled_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 clientToken = flag "client-token" (optional string) ~doc:"STRING String" and dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and purchaseRequests = flag "purchase-requests" (required json_arg) ~doc:"JSON PurchaseRequestSet" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.purchase_scheduled_instances (Values.PurchaseScheduledInstancesRequest.make ?clientToken ?dryRun ~purchaseRequests:(Values.PurchaseRequestSet.of_json purchaseRequests) ()) (Some Values.PurchaseScheduledInstancesResult.to_json) (Some Values.Ec2_error.to_json)]) let reboot_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 dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and instanceIds = flag "instance-ids" (required json_arg) ~doc:"JSON InstanceIdStringList" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.reboot_instances (Values.RebootInstancesRequest.make ?dryRun ~instanceIds:(Values.InstanceIdStringList.of_json instanceIds) ()) None (Some Values.Ec2_error.to_json)]) let register_image = 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 imageLocation = flag "image-location" (optional string) ~doc:"STRING String" and billingProducts = flag "billing-products" (optional json_arg) ~doc:"JSON BillingProductList" and bootMode = flag "boot-mode" (optional json_arg) ~doc:"JSON BootModeValues" and tpmSupport = flag "tpm-support" (optional json_arg) ~doc:"JSON TpmSupportValues" and uefiData = flag "uefi-data" (optional string) ~doc:"STRING ImageUefiDataRequest" and imdsSupport = flag "imds-support" (optional json_arg) ~doc:"JSON ImdsSupportValues" and tagSpecifications = flag "tag-specifications" (optional json_arg) ~doc:"JSON TagSpecificationList" and dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and description = flag "description" (optional string) ~doc:"STRING ImageDescriptionRequest" and architecture = flag "architecture" (optional json_arg) ~doc:"JSON ArchitectureValues" and kernelId = flag "kernel-id" (optional string) ~doc:"STRING KernelId" and ramdiskId = flag "ramdisk-id" (optional string) ~doc:"STRING RamdiskId" and rootDeviceName = flag "root-device-name" (optional string) ~doc:"STRING String" and blockDeviceMappings = flag "block-device-mappings" (optional json_arg) ~doc:"JSON BlockDeviceMappingRequestList" and virtualizationType = flag "virtualization-type" (optional string) ~doc:"STRING String" and sriovNetSupport = flag "sriov-net-support" (optional string) ~doc:"STRING String" and enaSupport = flag "ena-support" (optional bool) ~doc:"BOOL Boolean" and name = flag "name" (required string) ~doc:"STRING ImageNameRequest" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.register_image (Values.RegisterImageRequest.make ?imageLocation ?billingProducts:(Option.map ~f:Values.BillingProductList.of_json billingProducts) ?bootMode:(Option.map ~f:Values.BootModeValues.of_json bootMode) ?tpmSupport:(Option.map ~f:Values.TpmSupportValues.of_json tpmSupport) ?uefiData ?imdsSupport:(Option.map ~f:Values.ImdsSupportValues.of_json imdsSupport) ?tagSpecifications:(Option.map ~f:Values.TagSpecificationList.of_json tagSpecifications) ?dryRun ?description ?architecture:(Option.map ~f:Values.ArchitectureValues.of_json architecture) ?kernelId ?ramdiskId ?rootDeviceName ?blockDeviceMappings:(Option.map ~f:Values.BlockDeviceMappingRequestList.of_json blockDeviceMappings) ?virtualizationType ?sriovNetSupport ?enaSupport ~name ()) (Some Values.RegisterImageResult.to_json) (Some Values.Ec2_error.to_json)]) let register_instance_event_notification_attributes = 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 dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and instanceTagAttribute = flag "instance-tag-attribute" (required json_arg) ~doc:"JSON RegisterInstanceTagAttributeRequest" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.register_instance_event_notification_attributes (Values.RegisterInstanceEventNotificationAttributesRequest.make ?dryRun ~instanceTagAttribute:(Values.RegisterInstanceTagAttributeRequest.of_json instanceTagAttribute) ()) (Some Values.RegisterInstanceEventNotificationAttributesResult.to_json) (Some Values.Ec2_error.to_json)]) let register_transit_gateway_multicast_group_members = 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 groupIpAddress = flag "group-ip-address" (optional string) ~doc:"STRING String" and dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and transitGatewayMulticastDomainId = flag "transit-gateway-multicast-domain-id" (required string) ~doc:"STRING TransitGatewayMulticastDomainId" and networkInterfaceIds = flag "network-interface-ids" (required json_arg) ~doc:"JSON TransitGatewayNetworkInterfaceIdList" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.register_transit_gateway_multicast_group_members (Values.RegisterTransitGatewayMulticastGroupMembersRequest.make ?groupIpAddress ?dryRun ~transitGatewayMulticastDomainId ~networkInterfaceIds:(Values.TransitGatewayNetworkInterfaceIdList.of_json networkInterfaceIds) ()) (Some Values.RegisterTransitGatewayMulticastGroupMembersResult.to_json) (Some Values.Ec2_error.to_json)]) let register_transit_gateway_multicast_group_sources = 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 groupIpAddress = flag "group-ip-address" (optional string) ~doc:"STRING String" and dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and transitGatewayMulticastDomainId = flag "transit-gateway-multicast-domain-id" (required string) ~doc:"STRING TransitGatewayMulticastDomainId" and networkInterfaceIds = flag "network-interface-ids" (required json_arg) ~doc:"JSON TransitGatewayNetworkInterfaceIdList" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.register_transit_gateway_multicast_group_sources (Values.RegisterTransitGatewayMulticastGroupSourcesRequest.make ?groupIpAddress ?dryRun ~transitGatewayMulticastDomainId ~networkInterfaceIds:(Values.TransitGatewayNetworkInterfaceIdList.of_json networkInterfaceIds) ()) (Some Values.RegisterTransitGatewayMulticastGroupSourcesResult.to_json) (Some Values.Ec2_error.to_json)]) let reject_capacity_reservation_billing_ownership = 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 dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and capacityReservationId = flag "capacity-reservation-id" (required string) ~doc:"STRING CapacityReservationId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.reject_capacity_reservation_billing_ownership (Values.RejectCapacityReservationBillingOwnershipRequest.make ?dryRun ~capacityReservationId ()) (Some Values.RejectCapacityReservationBillingOwnershipResult.to_json) (Some Values.Ec2_error.to_json)]) let reject_transit_gateway_client_vpn_attachment = 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 dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and transitGatewayAttachmentId = flag "transit-gateway-attachment-id" (required string) ~doc:"STRING TransitGatewayAttachmentId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.reject_transit_gateway_client_vpn_attachment (Values.RejectTransitGatewayClientVpnAttachmentRequest.make ?dryRun ~transitGatewayAttachmentId ()) (Some Values.RejectTransitGatewayClientVpnAttachmentResult.to_json) (Some Values.Ec2_error.to_json)]) let reject_transit_gateway_multicast_domain_associations = 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 transitGatewayMulticastDomainId = flag "transit-gateway-multicast-domain-id" (optional string) ~doc:"STRING TransitGatewayMulticastDomainId" and transitGatewayAttachmentId = flag "transit-gateway-attachment-id" (optional string) ~doc:"STRING TransitGatewayAttachmentId" and subnetIds = flag "subnet-ids" (optional json_arg) ~doc:"JSON ValueStringList" and dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.reject_transit_gateway_multicast_domain_associations (Values.RejectTransitGatewayMulticastDomainAssociationsRequest.make ?transitGatewayMulticastDomainId ?transitGatewayAttachmentId ?subnetIds:(Option.map ~f:Values.ValueStringList.of_json subnetIds) ?dryRun ()) (Some Values.RejectTransitGatewayMulticastDomainAssociationsResult.to_json) (Some Values.Ec2_error.to_json)]) let reject_transit_gateway_peering_attachment = 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 dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and transitGatewayAttachmentId = flag "transit-gateway-attachment-id" (required string) ~doc:"STRING TransitGatewayAttachmentId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.reject_transit_gateway_peering_attachment (Values.RejectTransitGatewayPeeringAttachmentRequest.make ?dryRun ~transitGatewayAttachmentId ()) (Some Values.RejectTransitGatewayPeeringAttachmentResult.to_json) (Some Values.Ec2_error.to_json)]) let reject_transit_gateway_vpc_attachment = 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 dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and transitGatewayAttachmentId = flag "transit-gateway-attachment-id" (required string) ~doc:"STRING TransitGatewayAttachmentId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.reject_transit_gateway_vpc_attachment (Values.RejectTransitGatewayVpcAttachmentRequest.make ?dryRun ~transitGatewayAttachmentId ()) (Some Values.RejectTransitGatewayVpcAttachmentResult.to_json) (Some Values.Ec2_error.to_json)]) let reject_vpc_endpoint_connections = 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 dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and serviceId = flag "service-id" (required string) ~doc:"STRING VpcEndpointServiceId" and vpcEndpointIds = flag "vpc-endpoint-ids" (required json_arg) ~doc:"JSON VpcEndpointIdList" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.reject_vpc_endpoint_connections (Values.RejectVpcEndpointConnectionsRequest.make ?dryRun ~serviceId ~vpcEndpointIds:(Values.VpcEndpointIdList.of_json vpcEndpointIds) ()) (Some Values.RejectVpcEndpointConnectionsResult.to_json) (Some Values.Ec2_error.to_json)]) let reject_vpc_peering_connection = 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 dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and vpcPeeringConnectionId = flag "vpc-peering-connection-id" (required string) ~doc:"STRING VpcPeeringConnectionId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.reject_vpc_peering_connection (Values.RejectVpcPeeringConnectionRequest.make ?dryRun ~vpcPeeringConnectionId ()) (Some Values.RejectVpcPeeringConnectionResult.to_json) (Some Values.Ec2_error.to_json)]) let release_address = 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 allocationId = flag "allocation-id" (optional string) ~doc:"STRING AllocationId" and publicIp = flag "public-ip" (optional string) ~doc:"STRING String" and networkBorderGroup = flag "network-border-group" (optional string) ~doc:"STRING String" and dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.release_address (Values.ReleaseAddressRequest.make ?allocationId ?publicIp ?networkBorderGroup ?dryRun ()) None (Some Values.Ec2_error.to_json)]) let release_hosts = 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 hostIds = flag "host-ids" (required json_arg) ~doc:"JSON RequestHostIdList" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.release_hosts (Values.ReleaseHostsRequest.make ~hostIds:(Values.RequestHostIdList.of_json hostIds) ()) (Some Values.ReleaseHostsResult.to_json) (Some Values.Ec2_error.to_json)]) let release_ipam_pool_allocation = 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 dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and ipamPoolId = flag "ipam-pool-id" (required string) ~doc:"STRING IpamPoolId" and cidr = flag "cidr" (required string) ~doc:"STRING String" and ipamPoolAllocationId = flag "ipam-pool-allocation-id" (required string) ~doc:"STRING IpamPoolAllocationId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.release_ipam_pool_allocation (Values.ReleaseIpamPoolAllocationRequest.make ?dryRun ~ipamPoolId ~cidr ~ipamPoolAllocationId ()) (Some Values.ReleaseIpamPoolAllocationResult.to_json) (Some Values.Ec2_error.to_json)]) let replace_iam_instance_profile_association = 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 iamInstanceProfile = flag "iam-instance-profile" (required json_arg) ~doc:"JSON IamInstanceProfileSpecification" and associationId = flag "association-id" (required string) ~doc:"STRING IamInstanceProfileAssociationId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.replace_iam_instance_profile_association (Values.ReplaceIamInstanceProfileAssociationRequest.make ~iamInstanceProfile:(Values.IamInstanceProfileSpecification.of_json iamInstanceProfile) ~associationId ()) (Some Values.ReplaceIamInstanceProfileAssociationResult.to_json) (Some Values.Ec2_error.to_json)]) let replace_image_criteria_in_allowed_images_settings = 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 imageCriteria = flag "image-criteria" (optional json_arg) ~doc:"JSON ImageCriterionRequestList" and dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.replace_image_criteria_in_allowed_images_settings (Values.ReplaceImageCriteriaInAllowedImagesSettingsRequest.make ?imageCriteria:(Option.map ~f:Values.ImageCriterionRequestList.of_json imageCriteria) ?dryRun ()) (Some Values.ReplaceImageCriteriaInAllowedImagesSettingsResult.to_json) (Some Values.Ec2_error.to_json)]) let replace_network_acl_association = 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 dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and associationId = flag "association-id" (required string) ~doc:"STRING NetworkAclAssociationId" and networkAclId = flag "network-acl-id" (required string) ~doc:"STRING NetworkAclId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.replace_network_acl_association (Values.ReplaceNetworkAclAssociationRequest.make ?dryRun ~associationId ~networkAclId ()) (Some Values.ReplaceNetworkAclAssociationResult.to_json) (Some Values.Ec2_error.to_json)]) let replace_network_acl_entry = 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 dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and cidrBlock = flag "cidr-block" (optional string) ~doc:"STRING String" and ipv6CidrBlock = flag "ipv6-cidr-block" (optional string) ~doc:"STRING String" and icmpTypeCode = flag "icmp-type-code" (optional json_arg) ~doc:"JSON IcmpTypeCode" and portRange = flag "port-range" (optional json_arg) ~doc:"JSON PortRange" and networkAclId = flag "network-acl-id" (required string) ~doc:"STRING NetworkAclId" and ruleNumber = flag "rule-number" (required int) ~doc:"INT Integer" and protocol = flag "protocol" (required string) ~doc:"STRING String" and ruleAction = flag "rule-action" (required json_arg) ~doc:"JSON RuleAction" and egress = flag "egress" (required bool) ~doc:"BOOL Boolean" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.replace_network_acl_entry (Values.ReplaceNetworkAclEntryRequest.make ?dryRun ?cidrBlock ?ipv6CidrBlock ?icmpTypeCode:(Option.map ~f:Values.IcmpTypeCode.of_json icmpTypeCode) ?portRange:(Option.map ~f:Values.PortRange.of_json portRange) ~networkAclId ~ruleNumber ~protocol ~ruleAction:(Values.RuleAction.of_json ruleAction) ~egress ()) None (Some Values.Ec2_error.to_json)]) let replace_route = 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 destinationPrefixListId = flag "destination-prefix-list-id" (optional string) ~doc:"STRING PrefixListResourceId" and vpcEndpointId = flag "vpc-endpoint-id" (optional string) ~doc:"STRING VpcEndpointId" and localTarget = flag "local-target" (optional bool) ~doc:"BOOL Boolean" and transitGatewayId = flag "transit-gateway-id" (optional string) ~doc:"STRING TransitGatewayId" and localGatewayId = flag "local-gateway-id" (optional string) ~doc:"STRING LocalGatewayId" and carrierGatewayId = flag "carrier-gateway-id" (optional string) ~doc:"STRING CarrierGatewayId" and coreNetworkArn = flag "core-network-arn" (optional string) ~doc:"STRING CoreNetworkArn" and odbNetworkArn = flag "odb-network-arn" (optional string) ~doc:"STRING OdbNetworkArn" and dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and destinationCidrBlock = flag "destination-cidr-block" (optional string) ~doc:"STRING String" and gatewayId = flag "gateway-id" (optional string) ~doc:"STRING RouteGatewayId" and destinationIpv6CidrBlock = flag "destination-ipv6-cidr-block" (optional string) ~doc:"STRING String" and egressOnlyInternetGatewayId = flag "egress-only-internet-gateway-id" (optional string) ~doc:"STRING EgressOnlyInternetGatewayId" and instanceId = flag "instance-id" (optional string) ~doc:"STRING InstanceId" and networkInterfaceId = flag "network-interface-id" (optional string) ~doc:"STRING NetworkInterfaceId" and vpcPeeringConnectionId = flag "vpc-peering-connection-id" (optional string) ~doc:"STRING VpcPeeringConnectionId" and natGatewayId = flag "nat-gateway-id" (optional string) ~doc:"STRING NatGatewayId" and routeTableId = flag "route-table-id" (required string) ~doc:"STRING RouteTableId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.replace_route (Values.ReplaceRouteRequest.make ?destinationPrefixListId ?vpcEndpointId ?localTarget ?transitGatewayId ?localGatewayId ?carrierGatewayId ?coreNetworkArn ?odbNetworkArn ?dryRun ?destinationCidrBlock ?gatewayId ?destinationIpv6CidrBlock ?egressOnlyInternetGatewayId ?instanceId ?networkInterfaceId ?vpcPeeringConnectionId ?natGatewayId ~routeTableId ()) None (Some Values.Ec2_error.to_json)]) let replace_route_table_association = 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 dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and associationId = flag "association-id" (required string) ~doc:"STRING RouteTableAssociationId" and routeTableId = flag "route-table-id" (required string) ~doc:"STRING RouteTableId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.replace_route_table_association (Values.ReplaceRouteTableAssociationRequest.make ?dryRun ~associationId ~routeTableId ()) (Some Values.ReplaceRouteTableAssociationResult.to_json) (Some Values.Ec2_error.to_json)]) let replace_transit_gateway_route = 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 transitGatewayAttachmentId = flag "transit-gateway-attachment-id" (optional string) ~doc:"STRING TransitGatewayAttachmentId" and blackhole = flag "blackhole" (optional bool) ~doc:"BOOL Boolean" and dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and destinationCidrBlock = flag "destination-cidr-block" (required string) ~doc:"STRING String" and transitGatewayRouteTableId = flag "transit-gateway-route-table-id" (required string) ~doc:"STRING TransitGatewayRouteTableId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.replace_transit_gateway_route (Values.ReplaceTransitGatewayRouteRequest.make ?transitGatewayAttachmentId ?blackhole ?dryRun ~destinationCidrBlock ~transitGatewayRouteTableId ()) (Some Values.ReplaceTransitGatewayRouteResult.to_json) (Some Values.Ec2_error.to_json)]) let replace_vpn_tunnel = 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 applyPendingMaintenance = flag "apply-pending-maintenance" (optional bool) ~doc:"BOOL Boolean" and dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and vpnConnectionId = flag "vpn-connection-id" (required string) ~doc:"STRING VpnConnectionId" and vpnTunnelOutsideIpAddress = flag "vpn-tunnel-outside-ip-address" (required string) ~doc:"STRING String" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.replace_vpn_tunnel (Values.ReplaceVpnTunnelRequest.make ?applyPendingMaintenance ?dryRun ~vpnConnectionId ~vpnTunnelOutsideIpAddress ()) (Some Values.ReplaceVpnTunnelResult.to_json) (Some Values.Ec2_error.to_json)]) let report_instance_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 dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and startTime = flag "start-time" (optional json_arg) ~doc:"JSON DateTime" and endTime = flag "end-time" (optional json_arg) ~doc:"JSON DateTime" and description = flag "description" (optional string) ~doc:"STRING ReportInstanceStatusRequestDescription" and instances = flag "instances" (required json_arg) ~doc:"JSON InstanceIdStringList" and status = flag "status" (required json_arg) ~doc:"JSON ReportStatusType" and reasonCodes = flag "reason-codes" (required json_arg) ~doc:"JSON ReasonCodesList" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.report_instance_status (Values.ReportInstanceStatusRequest.make ?dryRun ?startTime:(Option.map ~f:Values.DateTime.of_json startTime) ?endTime:(Option.map ~f:Values.DateTime.of_json endTime) ?description ~instances:(Values.InstanceIdStringList.of_json instances) ~status:(Values.ReportStatusType.of_json status) ~reasonCodes:(Values.ReasonCodesList.of_json reasonCodes) ()) None (Some Values.Ec2_error.to_json)]) let request_spot_fleet = 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 dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and spotFleetRequestConfig = flag "spot-fleet-request-config" (required json_arg) ~doc:"JSON SpotFleetRequestConfigData" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.request_spot_fleet (Values.RequestSpotFleetRequest.make ?dryRun ~spotFleetRequestConfig:(Values.SpotFleetRequestConfigData.of_json spotFleetRequestConfig) ()) (Some Values.RequestSpotFleetResponse.to_json) (Some Values.Ec2_error.to_json)]) let request_spot_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 launchSpecification = flag "launch-specification" (optional json_arg) ~doc:"JSON RequestSpotLaunchSpecification" and tagSpecifications = flag "tag-specifications" (optional json_arg) ~doc:"JSON TagSpecificationList" and instanceInterruptionBehavior = flag "instance-interruption-behavior" (optional json_arg) ~doc:"JSON InstanceInterruptionBehavior" and dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and spotPrice = flag "spot-price" (optional string) ~doc:"STRING String" and clientToken = flag "client-token" (optional string) ~doc:"STRING String" and instanceCount = flag "instance-count" (optional int) ~doc:"INT Integer" and type_ = flag "type-" (optional json_arg) ~doc:"JSON SpotInstanceType" and validFrom = flag "valid-from" (optional json_arg) ~doc:"JSON DateTime" and validUntil = flag "valid-until" (optional json_arg) ~doc:"JSON DateTime" and launchGroup = flag "launch-group" (optional string) ~doc:"STRING String" and availabilityZoneGroup = flag "availability-zone-group" (optional string) ~doc:"STRING String" and blockDurationMinutes = flag "block-duration-minutes" (optional int) ~doc:"INT Integer" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.request_spot_instances (Values.RequestSpotInstancesRequest.make ?launchSpecification:(Option.map ~f:Values.RequestSpotLaunchSpecification.of_json launchSpecification) ?tagSpecifications:(Option.map ~f:Values.TagSpecificationList.of_json tagSpecifications) ?instanceInterruptionBehavior:(Option.map ~f:Values.InstanceInterruptionBehavior.of_json instanceInterruptionBehavior) ?dryRun ?spotPrice ?clientToken ?instanceCount ?type_:(Option.map ~f:Values.SpotInstanceType.of_json type_) ?validFrom:(Option.map ~f:Values.DateTime.of_json validFrom) ?validUntil:(Option.map ~f:Values.DateTime.of_json validUntil) ?launchGroup ?availabilityZoneGroup ?blockDurationMinutes ()) (Some Values.RequestSpotInstancesResult.to_json) (Some Values.Ec2_error.to_json)]) let reset_address_attribute = 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 dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and allocationId = flag "allocation-id" (required string) ~doc:"STRING AllocationId" and attribute = flag "attribute" (required json_arg) ~doc:"JSON AddressAttributeName" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.reset_address_attribute (Values.ResetAddressAttributeRequest.make ?dryRun ~allocationId ~attribute:(Values.AddressAttributeName.of_json attribute) ()) (Some Values.ResetAddressAttributeResult.to_json) (Some Values.Ec2_error.to_json)]) let reset_ebs_default_kms_key_id = 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 dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.reset_ebs_default_kms_key_id (Values.ResetEbsDefaultKmsKeyIdRequest.make ?dryRun ()) (Some Values.ResetEbsDefaultKmsKeyIdResult.to_json) (Some Values.Ec2_error.to_json)]) let reset_fpga_image_attribute = 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 dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and attribute = flag "attribute" (optional json_arg) ~doc:"JSON ResetFpgaImageAttributeName" and fpgaImageId = flag "fpga-image-id" (required string) ~doc:"STRING FpgaImageId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.reset_fpga_image_attribute (Values.ResetFpgaImageAttributeRequest.make ?dryRun ?attribute:(Option.map ~f:Values.ResetFpgaImageAttributeName.of_json attribute) ~fpgaImageId ()) (Some Values.ResetFpgaImageAttributeResult.to_json) (Some Values.Ec2_error.to_json)]) let reset_image_attribute = 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 dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and attribute = flag "attribute" (required json_arg) ~doc:"JSON ResetImageAttributeName" and imageId = flag "image-id" (required string) ~doc:"STRING ImageId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.reset_image_attribute (Values.ResetImageAttributeRequest.make ?dryRun ~attribute:(Values.ResetImageAttributeName.of_json attribute) ~imageId ()) None (Some Values.Ec2_error.to_json)]) let reset_instance_attribute = 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 dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and instanceId = flag "instance-id" (required string) ~doc:"STRING InstanceId" and attribute = flag "attribute" (required json_arg) ~doc:"JSON InstanceAttributeName" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.reset_instance_attribute (Values.ResetInstanceAttributeRequest.make ?dryRun ~instanceId ~attribute:(Values.InstanceAttributeName.of_json attribute) ()) None (Some Values.Ec2_error.to_json)]) let reset_network_interface_attribute = 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 dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and sourceDestCheck = flag "source-dest-check" (optional string) ~doc:"STRING String" and networkInterfaceId = flag "network-interface-id" (required string) ~doc:"STRING NetworkInterfaceId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.reset_network_interface_attribute (Values.ResetNetworkInterfaceAttributeRequest.make ?dryRun ?sourceDestCheck ~networkInterfaceId ()) None (Some Values.Ec2_error.to_json)]) let reset_snapshot_attribute = 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 dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and attribute = flag "attribute" (required json_arg) ~doc:"JSON SnapshotAttributeName" and snapshotId = flag "snapshot-id" (required string) ~doc:"STRING SnapshotId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.reset_snapshot_attribute (Values.ResetSnapshotAttributeRequest.make ?dryRun ~attribute:(Values.SnapshotAttributeName.of_json attribute) ~snapshotId ()) None (Some Values.Ec2_error.to_json)]) let restore_address_to_classic = 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 dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and publicIp = flag "public-ip" (required string) ~doc:"STRING String" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.restore_address_to_classic (Values.RestoreAddressToClassicRequest.make ?dryRun ~publicIp ()) (Some Values.RestoreAddressToClassicResult.to_json) (Some Values.Ec2_error.to_json)]) let restore_image_from_recycle_bin = 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 dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and imageId = flag "image-id" (required string) ~doc:"STRING ImageId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.restore_image_from_recycle_bin (Values.RestoreImageFromRecycleBinRequest.make ?dryRun ~imageId ()) (Some Values.RestoreImageFromRecycleBinResult.to_json) (Some Values.Ec2_error.to_json)]) let restore_managed_prefix_list_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 dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and prefixListId = flag "prefix-list-id" (required string) ~doc:"STRING PrefixListResourceId" and previousVersion = flag "previous-version" (required json_arg) ~doc:"JSON Long" and currentVersion = flag "current-version" (required json_arg) ~doc:"JSON Long" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.restore_managed_prefix_list_version (Values.RestoreManagedPrefixListVersionRequest.make ?dryRun ~prefixListId ~previousVersion:(Values.Long.of_json previousVersion) ~currentVersion:(Values.Long.of_json currentVersion) ()) (Some Values.RestoreManagedPrefixListVersionResult.to_json) (Some Values.Ec2_error.to_json)]) let restore_snapshot_from_recycle_bin = 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 dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and snapshotId = flag "snapshot-id" (required string) ~doc:"STRING SnapshotId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.restore_snapshot_from_recycle_bin (Values.RestoreSnapshotFromRecycleBinRequest.make ?dryRun ~snapshotId ()) (Some Values.RestoreSnapshotFromRecycleBinResult.to_json) (Some Values.Ec2_error.to_json)]) let restore_snapshot_tier = 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 temporaryRestoreDays = flag "temporary-restore-days" (optional int) ~doc:"INT RestoreSnapshotTierRequestTemporaryRestoreDays" and permanentRestore = flag "permanent-restore" (optional bool) ~doc:"BOOL Boolean" and dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and snapshotId = flag "snapshot-id" (required string) ~doc:"STRING SnapshotId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.restore_snapshot_tier (Values.RestoreSnapshotTierRequest.make ?temporaryRestoreDays ?permanentRestore ?dryRun ~snapshotId ()) (Some Values.RestoreSnapshotTierResult.to_json) (Some Values.Ec2_error.to_json)]) let restore_volume_from_recycle_bin = 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 dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and volumeId = flag "volume-id" (required string) ~doc:"STRING VolumeId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.restore_volume_from_recycle_bin (Values.RestoreVolumeFromRecycleBinRequest.make ?dryRun ~volumeId ()) (Some Values.RestoreVolumeFromRecycleBinResult.to_json) (Some Values.Ec2_error.to_json)]) let revoke_client_vpn_ingress = 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 accessGroupId = flag "access-group-id" (optional string) ~doc:"STRING String" and revokeAllGroups = flag "revoke-all-groups" (optional bool) ~doc:"BOOL Boolean" and dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and clientVpnEndpointId = flag "client-vpn-endpoint-id" (required string) ~doc:"STRING ClientVpnEndpointId" and targetNetworkCidr = flag "target-network-cidr" (required string) ~doc:"STRING String" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.revoke_client_vpn_ingress (Values.RevokeClientVpnIngressRequest.make ?accessGroupId ?revokeAllGroups ?dryRun ~clientVpnEndpointId ~targetNetworkCidr ()) (Some Values.RevokeClientVpnIngressResult.to_json) (Some Values.Ec2_error.to_json)]) let revoke_security_group_egress = 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 securityGroupRuleIds = flag "security-group-rule-ids" (optional json_arg) ~doc:"JSON SecurityGroupRuleIdList" and dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and sourceSecurityGroupName = flag "source-security-group-name" (optional string) ~doc:"STRING String" and sourceSecurityGroupOwnerId = flag "source-security-group-owner-id" (optional string) ~doc:"STRING String" and ipProtocol = flag "ip-protocol" (optional string) ~doc:"STRING String" and fromPort = flag "from-port" (optional int) ~doc:"INT Integer" and toPort = flag "to-port" (optional int) ~doc:"INT Integer" and cidrIp = flag "cidr-ip" (optional string) ~doc:"STRING String" and ipPermissions = flag "ip-permissions" (optional json_arg) ~doc:"JSON IpPermissionList" and groupId = flag "group-id" (required string) ~doc:"STRING SecurityGroupId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.revoke_security_group_egress (Values.RevokeSecurityGroupEgressRequest.make ?securityGroupRuleIds:(Option.map ~f:Values.SecurityGroupRuleIdList.of_json securityGroupRuleIds) ?dryRun ?sourceSecurityGroupName ?sourceSecurityGroupOwnerId ?ipProtocol ?fromPort ?toPort ?cidrIp ?ipPermissions:(Option.map ~f:Values.IpPermissionList.of_json ipPermissions) ~groupId ()) (Some Values.RevokeSecurityGroupEgressResult.to_json) (Some Values.Ec2_error.to_json)]) let revoke_security_group_ingress = 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 cidrIp = flag "cidr-ip" (optional string) ~doc:"STRING String" and fromPort = flag "from-port" (optional int) ~doc:"INT Integer" and groupId = flag "group-id" (optional string) ~doc:"STRING SecurityGroupId" and groupName = flag "group-name" (optional string) ~doc:"STRING SecurityGroupName" and ipPermissions = flag "ip-permissions" (optional json_arg) ~doc:"JSON IpPermissionList" and ipProtocol = flag "ip-protocol" (optional string) ~doc:"STRING String" and sourceSecurityGroupName = flag "source-security-group-name" (optional string) ~doc:"STRING String" and sourceSecurityGroupOwnerId = flag "source-security-group-owner-id" (optional string) ~doc:"STRING String" and toPort = flag "to-port" (optional int) ~doc:"INT Integer" and securityGroupRuleIds = flag "security-group-rule-ids" (optional json_arg) ~doc:"JSON SecurityGroupRuleIdList" and dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.revoke_security_group_ingress (Values.RevokeSecurityGroupIngressRequest.make ?cidrIp ?fromPort ?groupId ?groupName ?ipPermissions:(Option.map ~f:Values.IpPermissionList.of_json ipPermissions) ?ipProtocol ?sourceSecurityGroupName ?sourceSecurityGroupOwnerId ?toPort ?securityGroupRuleIds:(Option.map ~f:Values.SecurityGroupRuleIdList.of_json securityGroupRuleIds) ?dryRun ()) (Some Values.RevokeSecurityGroupIngressResult.to_json) (Some Values.Ec2_error.to_json)]) let run_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 blockDeviceMappings = flag "block-device-mappings" (optional json_arg) ~doc:"JSON BlockDeviceMappingRequestList" and imageId = flag "image-id" (optional string) ~doc:"STRING ImageId" and instanceType = flag "instance-type" (optional json_arg) ~doc:"JSON InstanceType" and ipv6AddressCount = flag "ipv6-address-count" (optional int) ~doc:"INT Integer" and ipv6Addresses = flag "ipv6-addresses" (optional json_arg) ~doc:"JSON InstanceIpv6AddressList" and kernelId = flag "kernel-id" (optional string) ~doc:"STRING KernelId" and keyName = flag "key-name" (optional string) ~doc:"STRING KeyPairName" and monitoring = flag "monitoring" (optional json_arg) ~doc:"JSON RunInstancesMonitoringEnabled" and placement = flag "placement" (optional json_arg) ~doc:"JSON Placement" and ramdiskId = flag "ramdisk-id" (optional string) ~doc:"STRING RamdiskId" and securityGroupIds = flag "security-group-ids" (optional json_arg) ~doc:"JSON SecurityGroupIdStringList" and securityGroups = flag "security-groups" (optional json_arg) ~doc:"JSON SecurityGroupStringList" and subnetId = flag "subnet-id" (optional string) ~doc:"STRING SubnetId" and userData = flag "user-data" (optional string) ~doc:"STRING RunInstancesUserData" and elasticGpuSpecification = flag "elastic-gpu-specification" (optional json_arg) ~doc:"JSON ElasticGpuSpecifications" and elasticInferenceAccelerators = flag "elastic-inference-accelerators" (optional json_arg) ~doc:"JSON ElasticInferenceAccelerators" and tagSpecifications = flag "tag-specifications" (optional json_arg) ~doc:"JSON TagSpecificationList" and launchTemplate = flag "launch-template" (optional json_arg) ~doc:"JSON LaunchTemplateSpecification" and instanceMarketOptions = flag "instance-market-options" (optional json_arg) ~doc:"JSON InstanceMarketOptionsRequest" and creditSpecification = flag "credit-specification" (optional json_arg) ~doc:"JSON CreditSpecificationRequest" and cpuOptions = flag "cpu-options" (optional json_arg) ~doc:"JSON CpuOptionsRequest" and capacityReservationSpecification = flag "capacity-reservation-specification" (optional json_arg) ~doc:"JSON CapacityReservationSpecification" and hibernationOptions = flag "hibernation-options" (optional json_arg) ~doc:"JSON HibernationOptionsRequest" and licenseSpecifications = flag "license-specifications" (optional json_arg) ~doc:"JSON LicenseSpecificationListRequest" and metadataOptions = flag "metadata-options" (optional json_arg) ~doc:"JSON InstanceMetadataOptionsRequest" and enclaveOptions = flag "enclave-options" (optional json_arg) ~doc:"JSON EnclaveOptionsRequest" and privateDnsNameOptions = flag "private-dns-name-options" (optional json_arg) ~doc:"JSON PrivateDnsNameOptionsRequest" and maintenanceOptions = flag "maintenance-options" (optional json_arg) ~doc:"JSON InstanceMaintenanceOptionsRequest" and disableApiStop = flag "disable-api-stop" (optional bool) ~doc:"BOOL Boolean" and enablePrimaryIpv6 = flag "enable-primary-ipv6" (optional bool) ~doc:"BOOL Boolean" and networkPerformanceOptions = flag "network-performance-options" (optional json_arg) ~doc:"JSON InstanceNetworkPerformanceOptionsRequest" and operator = flag "operator" (optional json_arg) ~doc:"JSON OperatorRequest" and secondaryInterfaces = flag "secondary-interfaces" (optional json_arg) ~doc:"JSON InstanceSecondaryInterfaceSpecificationListRequest" and dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and disableApiTermination = flag "disable-api-termination" (optional bool) ~doc:"BOOL Boolean" and instanceInitiatedShutdownBehavior = flag "instance-initiated-shutdown-behavior" (optional json_arg) ~doc:"JSON ShutdownBehavior" and privateIpAddress = flag "private-ip-address" (optional string) ~doc:"STRING String" and clientToken = flag "client-token" (optional string) ~doc:"STRING String" and additionalInfo = flag "additional-info" (optional string) ~doc:"STRING String" and networkInterfaces = flag "network-interfaces" (optional json_arg) ~doc:"JSON InstanceNetworkInterfaceSpecificationList" and iamInstanceProfile = flag "iam-instance-profile" (optional json_arg) ~doc:"JSON IamInstanceProfileSpecification" and ebsOptimized = flag "ebs-optimized" (optional bool) ~doc:"BOOL Boolean" and maxCount = flag "max-count" (required int) ~doc:"INT Integer" and minCount = flag "min-count" (required int) ~doc:"INT Integer" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.run_instances (Values.RunInstancesRequest.make ?blockDeviceMappings:(Option.map ~f:Values.BlockDeviceMappingRequestList.of_json blockDeviceMappings) ?imageId ?instanceType:(Option.map ~f:Values.InstanceType.of_json instanceType) ?ipv6AddressCount ?ipv6Addresses:(Option.map ~f:Values.InstanceIpv6AddressList.of_json ipv6Addresses) ?kernelId ?keyName ?monitoring:(Option.map ~f:Values.RunInstancesMonitoringEnabled.of_json monitoring) ?placement:(Option.map ~f:Values.Placement.of_json placement) ?ramdiskId ?securityGroupIds:(Option.map ~f:Values.SecurityGroupIdStringList.of_json securityGroupIds) ?securityGroups:(Option.map ~f:Values.SecurityGroupStringList.of_json securityGroups) ?subnetId ?userData ?elasticGpuSpecification:(Option.map ~f:Values.ElasticGpuSpecifications.of_json elasticGpuSpecification) ?elasticInferenceAccelerators:(Option.map ~f:Values.ElasticInferenceAccelerators.of_json elasticInferenceAccelerators) ?tagSpecifications:(Option.map ~f:Values.TagSpecificationList.of_json tagSpecifications) ?launchTemplate:(Option.map ~f:Values.LaunchTemplateSpecification.of_json launchTemplate) ?instanceMarketOptions:(Option.map ~f:Values.InstanceMarketOptionsRequest.of_json instanceMarketOptions) ?creditSpecification:(Option.map ~f:Values.CreditSpecificationRequest.of_json creditSpecification) ?cpuOptions:(Option.map ~f:Values.CpuOptionsRequest.of_json cpuOptions) ?capacityReservationSpecification:(Option.map ~f:Values.CapacityReservationSpecification.of_json capacityReservationSpecification) ?hibernationOptions:(Option.map ~f:Values.HibernationOptionsRequest.of_json hibernationOptions) ?licenseSpecifications:(Option.map ~f:Values.LicenseSpecificationListRequest.of_json licenseSpecifications) ?metadataOptions:(Option.map ~f:Values.InstanceMetadataOptionsRequest.of_json metadataOptions) ?enclaveOptions:(Option.map ~f:Values.EnclaveOptionsRequest.of_json enclaveOptions) ?privateDnsNameOptions:(Option.map ~f:Values.PrivateDnsNameOptionsRequest.of_json privateDnsNameOptions) ?maintenanceOptions:(Option.map ~f:Values.InstanceMaintenanceOptionsRequest.of_json maintenanceOptions) ?disableApiStop ?enablePrimaryIpv6 ?networkPerformanceOptions:(Option.map ~f:Values.InstanceNetworkPerformanceOptionsRequest.of_json networkPerformanceOptions) ?operator:(Option.map ~f:Values.OperatorRequest.of_json operator) ?secondaryInterfaces:(Option.map ~f:Values.InstanceSecondaryInterfaceSpecificationListRequest.of_json secondaryInterfaces) ?dryRun ?disableApiTermination ?instanceInitiatedShutdownBehavior:(Option.map ~f:Values.ShutdownBehavior.of_json instanceInitiatedShutdownBehavior) ?privateIpAddress ?clientToken ?additionalInfo ?networkInterfaces:(Option.map ~f:Values.InstanceNetworkInterfaceSpecificationList.of_json networkInterfaces) ?iamInstanceProfile:(Option.map ~f:Values.IamInstanceProfileSpecification.of_json iamInstanceProfile) ?ebsOptimized ~maxCount ~minCount ()) (Some Values.Reservation.to_json) (Some Values.Ec2_error.to_json)]) let run_scheduled_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 clientToken = flag "client-token" (optional string) ~doc:"STRING String" and dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and instanceCount = flag "instance-count" (optional int) ~doc:"INT Integer" and launchSpecification = flag "launch-specification" (required json_arg) ~doc:"JSON ScheduledInstancesLaunchSpecification" and scheduledInstanceId = flag "scheduled-instance-id" (required string) ~doc:"STRING ScheduledInstanceId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.run_scheduled_instances (Values.RunScheduledInstancesRequest.make ?clientToken ?dryRun ?instanceCount ~launchSpecification:(Values.ScheduledInstancesLaunchSpecification.of_json launchSpecification) ~scheduledInstanceId ()) (Some Values.RunScheduledInstancesResult.to_json) (Some Values.Ec2_error.to_json)]) let search_local_gateway_routes = 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 filters = flag "filters" (optional json_arg) ~doc:"JSON FilterList" and maxResults = flag "max-results" (optional int) ~doc:"INT MaxResults" and nextToken = flag "next-token" (optional string) ~doc:"STRING String" and dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and localGatewayRouteTableId = flag "local-gateway-route-table-id" (required string) ~doc:"STRING LocalGatewayRoutetableId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.search_local_gateway_routes (Values.SearchLocalGatewayRoutesRequest.make ?filters:(Option.map ~f:Values.FilterList.of_json filters) ?maxResults ?nextToken ?dryRun ~localGatewayRouteTableId ()) (Some Values.SearchLocalGatewayRoutesResult.to_json) (Some Values.Ec2_error.to_json)]) let search_transit_gateway_multicast_groups = 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 filters = flag "filters" (optional json_arg) ~doc:"JSON FilterList" and maxResults = flag "max-results" (optional int) ~doc:"INT TransitGatewayMaxResults" and nextToken = flag "next-token" (optional string) ~doc:"STRING String" and dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and transitGatewayMulticastDomainId = flag "transit-gateway-multicast-domain-id" (required string) ~doc:"STRING TransitGatewayMulticastDomainId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.search_transit_gateway_multicast_groups (Values.SearchTransitGatewayMulticastGroupsRequest.make ?filters:(Option.map ~f:Values.FilterList.of_json filters) ?maxResults ?nextToken ?dryRun ~transitGatewayMulticastDomainId ()) (Some Values.SearchTransitGatewayMulticastGroupsResult.to_json) (Some Values.Ec2_error.to_json)]) let search_transit_gateway_routes = 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 maxResults = flag "max-results" (optional int) ~doc:"INT TransitGatewayMaxResults" and dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and nextToken = flag "next-token" (optional string) ~doc:"STRING String" and transitGatewayRouteTableId = flag "transit-gateway-route-table-id" (required string) ~doc:"STRING TransitGatewayRouteTableId" and filters = flag "filters" (required json_arg) ~doc:"JSON FilterList" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.search_transit_gateway_routes (Values.SearchTransitGatewayRoutesRequest.make ?maxResults ?dryRun ?nextToken ~transitGatewayRouteTableId ~filters:(Values.FilterList.of_json filters) ()) (Some Values.SearchTransitGatewayRoutesResult.to_json) (Some Values.Ec2_error.to_json)]) let send_diagnostic_interrupt = 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 dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and instanceId = flag "instance-id" (required string) ~doc:"STRING InstanceId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.send_diagnostic_interrupt (Values.SendDiagnosticInterruptRequest.make ?dryRun ~instanceId ()) None (Some Values.Ec2_error.to_json)]) let start_declarative_policies_report = 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 dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and s3Prefix = flag "s3-prefix" (optional string) ~doc:"STRING String" and tagSpecifications = flag "tag-specifications" (optional json_arg) ~doc:"JSON TagSpecificationList" and s3Bucket = flag "s3-bucket" (required string) ~doc:"STRING String" and targetId = flag "target-id" (required string) ~doc:"STRING String" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.start_declarative_policies_report (Values.StartDeclarativePoliciesReportRequest.make ?dryRun ?s3Prefix ?tagSpecifications:(Option.map ~f:Values.TagSpecificationList.of_json tagSpecifications) ~s3Bucket ~targetId ()) (Some Values.StartDeclarativePoliciesReportResult.to_json) (Some Values.Ec2_error.to_json)]) let start_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 additionalInfo = flag "additional-info" (optional string) ~doc:"STRING String" and dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and instanceIds = flag "instance-ids" (required json_arg) ~doc:"JSON InstanceIdStringList" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.start_instances (Values.StartInstancesRequest.make ?additionalInfo ?dryRun ~instanceIds:(Values.InstanceIdStringList.of_json instanceIds) ()) (Some Values.StartInstancesResult.to_json) (Some Values.Ec2_error.to_json)]) let start_network_insights_access_scope_analysis = 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 dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and tagSpecifications = flag "tag-specifications" (optional json_arg) ~doc:"JSON TagSpecificationList" and networkInsightsAccessScopeId = flag "network-insights-access-scope-id" (required string) ~doc:"STRING NetworkInsightsAccessScopeId" and clientToken = flag "client-token" (required string) ~doc:"STRING String" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.start_network_insights_access_scope_analysis (Values.StartNetworkInsightsAccessScopeAnalysisRequest.make ?dryRun ?tagSpecifications:(Option.map ~f:Values.TagSpecificationList.of_json tagSpecifications) ~networkInsightsAccessScopeId ~clientToken ()) (Some Values.StartNetworkInsightsAccessScopeAnalysisResult.to_json) (Some Values.Ec2_error.to_json)]) let start_network_insights_analysis = 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 additionalAccounts = flag "additional-accounts" (optional json_arg) ~doc:"JSON ValueStringList" and filterInArns = flag "filter-in-arns" (optional json_arg) ~doc:"JSON ArnList" and filterOutArns = flag "filter-out-arns" (optional json_arg) ~doc:"JSON ArnList" and dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and tagSpecifications = flag "tag-specifications" (optional json_arg) ~doc:"JSON TagSpecificationList" and networkInsightsPathId = flag "network-insights-path-id" (required string) ~doc:"STRING NetworkInsightsPathId" and clientToken = flag "client-token" (required string) ~doc:"STRING String" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.start_network_insights_analysis (Values.StartNetworkInsightsAnalysisRequest.make ?additionalAccounts:(Option.map ~f:Values.ValueStringList.of_json additionalAccounts) ?filterInArns:(Option.map ~f:Values.ArnList.of_json filterInArns) ?filterOutArns:(Option.map ~f:Values.ArnList.of_json filterOutArns) ?dryRun ?tagSpecifications:(Option.map ~f:Values.TagSpecificationList.of_json tagSpecifications) ~networkInsightsPathId ~clientToken ()) (Some Values.StartNetworkInsightsAnalysisResult.to_json) (Some Values.Ec2_error.to_json)]) let start_vpc_endpoint_service_private_dns_verification = 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 dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and serviceId = flag "service-id" (required string) ~doc:"STRING VpcEndpointServiceId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.start_vpc_endpoint_service_private_dns_verification (Values.StartVpcEndpointServicePrivateDnsVerificationRequest.make ?dryRun ~serviceId ()) (Some Values.StartVpcEndpointServicePrivateDnsVerificationResult.to_json) (Some Values.Ec2_error.to_json)]) let stop_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 hibernate = flag "hibernate" (optional bool) ~doc:"BOOL Boolean" and skipOsShutdown = flag "skip-os-shutdown" (optional bool) ~doc:"BOOL Boolean" and dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and force = flag "force" (optional bool) ~doc:"BOOL Boolean" and instanceIds = flag "instance-ids" (required json_arg) ~doc:"JSON InstanceIdStringList" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.stop_instances (Values.StopInstancesRequest.make ?hibernate ?skipOsShutdown ?dryRun ?force ~instanceIds:(Values.InstanceIdStringList.of_json instanceIds) ()) (Some Values.StopInstancesResult.to_json) (Some Values.Ec2_error.to_json)]) let terminate_client_vpn_connections = 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 connectionId = flag "connection-id" (optional string) ~doc:"STRING String" and username = flag "username" (optional string) ~doc:"STRING String" and dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and clientVpnEndpointId = flag "client-vpn-endpoint-id" (required string) ~doc:"STRING ClientVpnEndpointId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.terminate_client_vpn_connections (Values.TerminateClientVpnConnectionsRequest.make ?connectionId ?username ?dryRun ~clientVpnEndpointId ()) (Some Values.TerminateClientVpnConnectionsResult.to_json) (Some Values.Ec2_error.to_json)]) let terminate_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 force = flag "force" (optional bool) ~doc:"BOOL Boolean" and skipOsShutdown = flag "skip-os-shutdown" (optional bool) ~doc:"BOOL Boolean" and dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and instanceIds = flag "instance-ids" (required json_arg) ~doc:"JSON InstanceIdStringList" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.terminate_instances (Values.TerminateInstancesRequest.make ?force ?skipOsShutdown ?dryRun ~instanceIds:(Values.InstanceIdStringList.of_json instanceIds) ()) (Some Values.TerminateInstancesResult.to_json) (Some Values.Ec2_error.to_json)]) let unassign_ipv6_addresses = 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 ipv6Prefixes = flag "ipv6-prefixes" (optional json_arg) ~doc:"JSON IpPrefixList" and ipv6Addresses = flag "ipv6-addresses" (optional json_arg) ~doc:"JSON Ipv6AddressList" and networkInterfaceId = flag "network-interface-id" (required string) ~doc:"STRING NetworkInterfaceId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.unassign_ipv6_addresses (Values.UnassignIpv6AddressesRequest.make ?ipv6Prefixes:(Option.map ~f:Values.IpPrefixList.of_json ipv6Prefixes) ?ipv6Addresses:(Option.map ~f:Values.Ipv6AddressList.of_json ipv6Addresses) ~networkInterfaceId ()) (Some Values.UnassignIpv6AddressesResult.to_json) (Some Values.Ec2_error.to_json)]) let unassign_private_ip_addresses = 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 ipv4Prefixes = flag "ipv4-prefixes" (optional json_arg) ~doc:"JSON IpPrefixList" and privateIpAddresses = flag "private-ip-addresses" (optional json_arg) ~doc:"JSON PrivateIpAddressStringList" and networkInterfaceId = flag "network-interface-id" (required string) ~doc:"STRING NetworkInterfaceId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.unassign_private_ip_addresses (Values.UnassignPrivateIpAddressesRequest.make ?ipv4Prefixes:(Option.map ~f:Values.IpPrefixList.of_json ipv4Prefixes) ?privateIpAddresses:(Option.map ~f:Values.PrivateIpAddressStringList.of_json privateIpAddresses) ~networkInterfaceId ()) None (Some Values.Ec2_error.to_json)]) let unassign_private_nat_gateway_address = 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 maxDrainDurationSeconds = flag "max-drain-duration-seconds" (optional int) ~doc:"INT DrainSeconds" and dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and natGatewayId = flag "nat-gateway-id" (required string) ~doc:"STRING NatGatewayId" and privateIpAddresses = flag "private-ip-addresses" (required json_arg) ~doc:"JSON IpList" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.unassign_private_nat_gateway_address (Values.UnassignPrivateNatGatewayAddressRequest.make ?maxDrainDurationSeconds ?dryRun ~natGatewayId ~privateIpAddresses:(Values.IpList.of_json privateIpAddresses) ()) (Some Values.UnassignPrivateNatGatewayAddressResult.to_json) (Some Values.Ec2_error.to_json)]) let unlock_snapshot = 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 dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and snapshotId = flag "snapshot-id" (required string) ~doc:"STRING SnapshotId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.unlock_snapshot (Values.UnlockSnapshotRequest.make ?dryRun ~snapshotId ()) (Some Values.UnlockSnapshotResult.to_json) (Some Values.Ec2_error.to_json)]) let unmonitor_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 dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and instanceIds = flag "instance-ids" (required json_arg) ~doc:"JSON InstanceIdStringList" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.unmonitor_instances (Values.UnmonitorInstancesRequest.make ?dryRun ~instanceIds:(Values.InstanceIdStringList.of_json instanceIds) ()) (Some Values.UnmonitorInstancesResult.to_json) (Some Values.Ec2_error.to_json)]) let update_capacity_manager_monitored_tag_keys = 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 activateTagKeys = flag "activate-tag-keys" (optional json_arg) ~doc:"JSON ValueStringList" and deactivateTagKeys = flag "deactivate-tag-keys" (optional json_arg) ~doc:"JSON ValueStringList" and dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and clientToken = flag "client-token" (optional string) ~doc:"STRING String" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.update_capacity_manager_monitored_tag_keys (Values.UpdateCapacityManagerMonitoredTagKeysRequest.make ?activateTagKeys:(Option.map ~f:Values.ValueStringList.of_json activateTagKeys) ?deactivateTagKeys:(Option.map ~f:Values.ValueStringList.of_json deactivateTagKeys) ?dryRun ?clientToken ()) (Some Values.UpdateCapacityManagerMonitoredTagKeysResult.to_json) (Some Values.Ec2_error.to_json)]) let update_capacity_manager_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 dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and clientToken = flag "client-token" (optional string) ~doc:"STRING String" and organizationsAccess = flag "organizations-access" (required bool) ~doc:"BOOL BoxedBoolean" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.update_capacity_manager_organizations_access (Values.UpdateCapacityManagerOrganizationsAccessRequest.make ?dryRun ?clientToken ~organizationsAccess ()) (Some Values.UpdateCapacityManagerOrganizationsAccessResult.to_json) (Some Values.Ec2_error.to_json)]) let update_interruptible_capacity_reservation_allocation = 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 dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and capacityReservationId = flag "capacity-reservation-id" (required string) ~doc:"STRING CapacityReservationId" and targetInstanceCount = flag "target-instance-count" (required int) ~doc:"INT Integer" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.update_interruptible_capacity_reservation_allocation (Values.UpdateInterruptibleCapacityReservationAllocationRequest.make ?dryRun ~capacityReservationId ~targetInstanceCount ()) (Some Values.UpdateInterruptibleCapacityReservationAllocationResult.to_json) (Some Values.Ec2_error.to_json)]) let update_security_group_rule_descriptions_egress = 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 dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and groupId = flag "group-id" (optional string) ~doc:"STRING SecurityGroupId" and groupName = flag "group-name" (optional string) ~doc:"STRING SecurityGroupName" and ipPermissions = flag "ip-permissions" (optional json_arg) ~doc:"JSON IpPermissionList" and securityGroupRuleDescriptions = flag "security-group-rule-descriptions" (optional json_arg) ~doc:"JSON SecurityGroupRuleDescriptionList" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.update_security_group_rule_descriptions_egress (Values.UpdateSecurityGroupRuleDescriptionsEgressRequest.make ?dryRun ?groupId ?groupName ?ipPermissions:(Option.map ~f:Values.IpPermissionList.of_json ipPermissions) ?securityGroupRuleDescriptions:(Option.map ~f:Values.SecurityGroupRuleDescriptionList.of_json securityGroupRuleDescriptions) ()) (Some Values.UpdateSecurityGroupRuleDescriptionsEgressResult.to_json) (Some Values.Ec2_error.to_json)]) let update_security_group_rule_descriptions_ingress = 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 dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and groupId = flag "group-id" (optional string) ~doc:"STRING SecurityGroupId" and groupName = flag "group-name" (optional string) ~doc:"STRING SecurityGroupName" and ipPermissions = flag "ip-permissions" (optional json_arg) ~doc:"JSON IpPermissionList" and securityGroupRuleDescriptions = flag "security-group-rule-descriptions" (optional json_arg) ~doc:"JSON SecurityGroupRuleDescriptionList" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.update_security_group_rule_descriptions_ingress (Values.UpdateSecurityGroupRuleDescriptionsIngressRequest.make ?dryRun ?groupId ?groupName ?ipPermissions:(Option.map ~f:Values.IpPermissionList.of_json ipPermissions) ?securityGroupRuleDescriptions:(Option.map ~f:Values.SecurityGroupRuleDescriptionList.of_json securityGroupRuleDescriptions) ()) (Some Values.UpdateSecurityGroupRuleDescriptionsIngressResult.to_json) (Some Values.Ec2_error.to_json)]) let withdraw_byoip_cidr = 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 dryRun = flag "dry-run" (optional bool) ~doc:"BOOL Boolean" and cidr = flag "cidr" (required string) ~doc:"STRING String" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.withdraw_byoip_cidr (Values.WithdrawByoipCidrRequest.make ?dryRun ~cidr ()) (Some Values.WithdrawByoipCidrResult.to_json) (Some Values.Ec2_error.to_json)])