package awso-async
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
AWS client for Async (400+ services, auto-generated from botocore)
Install
dune-project
Dependency
Authors
Maintainers
Sources
awso-0.9.1.tbz
sha256=e0e7510192b7e45871cff5c60e5162a77a9fa103b6924136fb1fea5db2092b26
sha512=51a18cf74c122b021bd84ef5728b7c5b2d5e767f03d5cd2387d886edc34a68cf54a3183e2d6c4939b4c8d3e0c0e406c869d019f2ee9a0903ae4cf7ca725572f0
doc/src/awso-async.drs/cli.ml.html
Source file cli.ml
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472(* generated by: awso-codegen generate-all --botocore-data vendor/botocore/botocore/data -o aws --runtime-dir lib/runtime/awso --cli-dir awso-cli *) open Core open Async let json_arg = Command.Arg_type.create Yojson.Safe.from_string let call ?endpoint_url ?profile ?region f m result_to_json error_to_json = let region = match region with | Some region -> Some (Awso.Region.of_string region) | None -> None in (Awso_async.Cfg.get_exn ?profile ?region ()) >>= (fun cfg -> (f ?endpoint_url ?cfg:(Some cfg) m) >>= (fun result -> match result with | Error err -> (match error_to_json with | None -> failwithf "endpoint error, but no error values defined in boto" () | Some to_json -> let s = (err |> to_json) |> Yojson.Safe.to_string in failwithf "AWS error: %s" s ()) | Ok result -> ((match result_to_json with | None -> print_endline "ok response from endpoint" | Some to_json -> ((result |> to_json) |> Yojson.Safe.to_string) |> print_endline); return ()))) let associate_source_network_stack = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and sourceNetworkID = flag "source-network-i-d" (required string) ~doc:"STRING SourceNetworkID" and cfnStackName = flag "cfn-stack-name" (required string) ~doc:"STRING CfnStackName" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.associate_source_network_stack (Values.AssociateSourceNetworkStackRequest.make ~sourceNetworkID ~cfnStackName ()) (Some Values.AssociateSourceNetworkStackResponse.to_json) (Some Values.AssociateSourceNetworkStackResponse.error_to_json)]) let create_extended_source_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 = flag "tags" (optional json_arg) ~doc:"JSON TagsMap" and sourceServerArn = flag "source-server-arn" (required string) ~doc:"STRING SourceServerARN" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.create_extended_source_server (Values.CreateExtendedSourceServerRequest.make ?tags:(Option.map ~f:Values.TagsMap.of_json tags) ~sourceServerArn ()) (Some Values.CreateExtendedSourceServerResponse.to_json) (Some Values.CreateExtendedSourceServerResponse.error_to_json)]) let create_launch_configuration_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 = flag "tags" (optional json_arg) ~doc:"JSON TagsMap" and launchDisposition = flag "launch-disposition" (optional json_arg) ~doc:"JSON LaunchDisposition" and targetInstanceTypeRightSizingMethod = flag "target-instance-type-right-sizing-method" (optional json_arg) ~doc:"JSON TargetInstanceTypeRightSizingMethod" and copyPrivateIp = flag "copy-private-ip" (optional bool) ~doc:"BOOL Boolean" and copyTags = flag "copy-tags" (optional bool) ~doc:"BOOL Boolean" and licensing = flag "licensing" (optional json_arg) ~doc:"JSON Licensing" and exportBucketArn = flag "export-bucket-arn" (optional string) ~doc:"STRING ARN" and postLaunchEnabled = flag "post-launch-enabled" (optional bool) ~doc:"BOOL Boolean" and launchIntoSourceInstance = flag "launch-into-source-instance" (optional bool) ~doc:"BOOL Boolean" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.create_launch_configuration_template (Values.CreateLaunchConfigurationTemplateRequest.make ?tags:(Option.map ~f:Values.TagsMap.of_json tags) ?launchDisposition:(Option.map ~f:Values.LaunchDisposition.of_json launchDisposition) ?targetInstanceTypeRightSizingMethod:(Option.map ~f:Values.TargetInstanceTypeRightSizingMethod.of_json targetInstanceTypeRightSizingMethod) ?copyPrivateIp ?copyTags ?licensing:(Option.map ~f:Values.Licensing.of_json licensing) ?exportBucketArn ?postLaunchEnabled ?launchIntoSourceInstance ()) (Some Values.CreateLaunchConfigurationTemplateResponse.to_json) (Some Values.CreateLaunchConfigurationTemplateResponse.error_to_json)]) let create_replication_configuration_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 associateDefaultSecurityGroup = flag "associate-default-security-group" (optional bool) ~doc:"BOOL Boolean" and replicationServerInstanceType = flag "replication-server-instance-type" (optional string) ~doc:"STRING EC2InstanceType" and useDedicatedReplicationServer = flag "use-dedicated-replication-server" (optional bool) ~doc:"BOOL Boolean" and defaultLargeStagingDiskType = flag "default-large-staging-disk-type" (optional json_arg) ~doc:"JSON ReplicationConfigurationDefaultLargeStagingDiskType" and ebsEncryptionKeyArn = flag "ebs-encryption-key-arn" (optional string) ~doc:"STRING ARN" and dataPlaneRouting = flag "data-plane-routing" (optional json_arg) ~doc:"JSON ReplicationConfigurationDataPlaneRouting" and createPublicIP = flag "create-public-i-p" (optional bool) ~doc:"BOOL Boolean" and = flag "tags" (optional json_arg) ~doc:"JSON TagsMap" and autoReplicateNewDisks = flag "auto-replicate-new-disks" (optional bool) ~doc:"BOOL Boolean" and internetProtocol = flag "internet-protocol" (optional json_arg) ~doc:"JSON InternetProtocol" and stagingAreaSubnetId = flag "staging-area-subnet-id" (required string) ~doc:"STRING SubnetID" and replicationServersSecurityGroupsIDs = flag "replication-servers-security-groups-i-ds" (required json_arg) ~doc:"JSON ReplicationServersSecurityGroupsIDs" and ebsEncryption = flag "ebs-encryption" (required json_arg) ~doc:"JSON ReplicationConfigurationEbsEncryption" and bandwidthThrottling = flag "bandwidth-throttling" (required json_arg) ~doc:"JSON PositiveInteger" and stagingAreaTags = flag "staging-area-tags" (required json_arg) ~doc:"JSON TagsMap" and pitPolicy = flag "pit-policy" (required json_arg) ~doc:"JSON PITPolicy" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.create_replication_configuration_template (Values.CreateReplicationConfigurationTemplateRequest.make ?associateDefaultSecurityGroup ?replicationServerInstanceType ?useDedicatedReplicationServer ?defaultLargeStagingDiskType:(Option.map ~f:Values.ReplicationConfigurationDefaultLargeStagingDiskType.of_json defaultLargeStagingDiskType) ?ebsEncryptionKeyArn ?dataPlaneRouting:(Option.map ~f:Values.ReplicationConfigurationDataPlaneRouting.of_json dataPlaneRouting) ?createPublicIP ?tags:(Option.map ~f:Values.TagsMap.of_json tags) ?autoReplicateNewDisks ?internetProtocol:(Option.map ~f:Values.InternetProtocol.of_json internetProtocol) ~stagingAreaSubnetId ~replicationServersSecurityGroupsIDs:(Values.ReplicationServersSecurityGroupsIDs.of_json replicationServersSecurityGroupsIDs) ~ebsEncryption:(Values.ReplicationConfigurationEbsEncryption.of_json ebsEncryption) ~bandwidthThrottling:(Values.PositiveInteger.of_json bandwidthThrottling) ~stagingAreaTags:(Values.TagsMap.of_json stagingAreaTags) ~pitPolicy:(Values.PITPolicy.of_json pitPolicy) ()) (Some Values.ReplicationConfigurationTemplate.to_json) (Some Values.ReplicationConfigurationTemplate.error_to_json)]) let create_source_network = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and = flag "tags" (optional json_arg) ~doc:"JSON TagsMap" and vpcID = flag "vpc-i-d" (required string) ~doc:"STRING VpcID" and originAccountID = flag "origin-account-i-d" (required string) ~doc:"STRING AccountID" and originRegion = flag "origin-region" (required string) ~doc:"STRING AwsRegion" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.create_source_network (Values.CreateSourceNetworkRequest.make ?tags:(Option.map ~f:Values.TagsMap.of_json tags) ~vpcID ~originAccountID ~originRegion ()) (Some Values.CreateSourceNetworkResponse.to_json) (Some Values.CreateSourceNetworkResponse.error_to_json)]) let delete_job = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and jobID = flag "job-i-d" (required string) ~doc:"STRING JobID" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.delete_job (Values.DeleteJobRequest.make ~jobID ()) (Some Values.DeleteJobResponse.to_json) (Some Values.DeleteJobResponse.error_to_json)]) let delete_launch_action = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and resourceId = flag "resource-id" (required string) ~doc:"STRING LaunchActionResourceId" and actionId = flag "action-id" (required string) ~doc:"STRING LaunchActionId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.delete_launch_action (Values.DeleteLaunchActionRequest.make ~resourceId ~actionId ()) (Some Values.DeleteLaunchActionResponse.to_json) (Some Values.DeleteLaunchActionResponse.error_to_json)]) let delete_launch_configuration_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 launchConfigurationTemplateID = flag "launch-configuration-template-i-d" (required string) ~doc:"STRING LaunchConfigurationTemplateID" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.delete_launch_configuration_template (Values.DeleteLaunchConfigurationTemplateRequest.make ~launchConfigurationTemplateID ()) (Some Values.DeleteLaunchConfigurationTemplateResponse.to_json) (Some Values.DeleteLaunchConfigurationTemplateResponse.error_to_json)]) let delete_recovery_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 recoveryInstanceID = flag "recovery-instance-i-d" (required string) ~doc:"STRING RecoveryInstanceID" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.delete_recovery_instance (Values.DeleteRecoveryInstanceRequest.make ~recoveryInstanceID ()) None None]) let delete_replication_configuration_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 replicationConfigurationTemplateID = flag "replication-configuration-template-i-d" (required string) ~doc:"STRING ReplicationConfigurationTemplateID" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.delete_replication_configuration_template (Values.DeleteReplicationConfigurationTemplateRequest.make ~replicationConfigurationTemplateID ()) (Some Values.DeleteReplicationConfigurationTemplateResponse.to_json) (Some Values.DeleteReplicationConfigurationTemplateResponse.error_to_json)]) let delete_source_network = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and sourceNetworkID = flag "source-network-i-d" (required string) ~doc:"STRING SourceNetworkID" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.delete_source_network (Values.DeleteSourceNetworkRequest.make ~sourceNetworkID ()) (Some Values.DeleteSourceNetworkResponse.to_json) (Some Values.DeleteSourceNetworkResponse.error_to_json)]) let delete_source_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 sourceServerID = flag "source-server-i-d" (required string) ~doc:"STRING SourceServerID" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.delete_source_server (Values.DeleteSourceServerRequest.make ~sourceServerID ()) (Some Values.DeleteSourceServerResponse.to_json) (Some Values.DeleteSourceServerResponse.error_to_json)]) let describe_job_log_items = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_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 StrictlyPositiveInteger" and nextToken = flag "next-token" (optional string) ~doc:"STRING PaginationToken" and jobID = flag "job-i-d" (required string) ~doc:"STRING JobID" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.describe_job_log_items (Values.DescribeJobLogItemsRequest.make ?maxResults ?nextToken ~jobID ()) (Some Values.DescribeJobLogItemsResponse.to_json) (Some Values.DescribeJobLogItemsResponse.error_to_json)]) let describe_jobs = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_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 DescribeJobsRequestFilters" and maxResults = flag "max-results" (optional int) ~doc:"INT StrictlyPositiveInteger" and nextToken = flag "next-token" (optional string) ~doc:"STRING PaginationToken" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.describe_jobs (Values.DescribeJobsRequest.make ?filters:(Option.map ~f:Values.DescribeJobsRequestFilters.of_json filters) ?maxResults ?nextToken ()) (Some Values.DescribeJobsResponse.to_json) (Some Values.DescribeJobsResponse.error_to_json)]) let describe_launch_configuration_templates = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and launchConfigurationTemplateIDs = flag "launch-configuration-template-i-ds" (optional json_arg) ~doc:"JSON LaunchConfigurationTemplateIDs" and maxResults = flag "max-results" (optional int) ~doc:"INT MaxResultsType" and nextToken = flag "next-token" (optional string) ~doc:"STRING PaginationToken" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.describe_launch_configuration_templates (Values.DescribeLaunchConfigurationTemplatesRequest.make ?launchConfigurationTemplateIDs:(Option.map ~f:Values.LaunchConfigurationTemplateIDs.of_json launchConfigurationTemplateIDs) ?maxResults ?nextToken ()) (Some Values.DescribeLaunchConfigurationTemplatesResponse.to_json) (Some Values.DescribeLaunchConfigurationTemplatesResponse.error_to_json)]) let describe_recovery_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 filters = flag "filters" (optional json_arg) ~doc:"JSON DescribeRecoveryInstancesRequestFilters" and maxResults = flag "max-results" (optional int) ~doc:"INT StrictlyPositiveInteger" and nextToken = flag "next-token" (optional string) ~doc:"STRING PaginationToken" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.describe_recovery_instances (Values.DescribeRecoveryInstancesRequest.make ?filters:(Option.map ~f:Values.DescribeRecoveryInstancesRequestFilters.of_json filters) ?maxResults ?nextToken ()) (Some Values.DescribeRecoveryInstancesResponse.to_json) (Some Values.DescribeRecoveryInstancesResponse.error_to_json)]) let describe_recovery_snapshots = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_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 DescribeRecoverySnapshotsRequestFilters" and order = flag "order" (optional json_arg) ~doc:"JSON RecoverySnapshotsOrder" and maxResults = flag "max-results" (optional int) ~doc:"INT StrictlyPositiveInteger" and nextToken = flag "next-token" (optional string) ~doc:"STRING PaginationToken" and sourceServerID = flag "source-server-i-d" (required string) ~doc:"STRING SourceServerID" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.describe_recovery_snapshots (Values.DescribeRecoverySnapshotsRequest.make ?filters:(Option.map ~f:Values.DescribeRecoverySnapshotsRequestFilters.of_json filters) ?order:(Option.map ~f:Values.RecoverySnapshotsOrder.of_json order) ?maxResults ?nextToken ~sourceServerID ()) (Some Values.DescribeRecoverySnapshotsResponse.to_json) (Some Values.DescribeRecoverySnapshotsResponse.error_to_json)]) let describe_replication_configuration_templates = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and replicationConfigurationTemplateIDs = flag "replication-configuration-template-i-ds" (optional json_arg) ~doc:"JSON ReplicationConfigurationTemplateIDs" and maxResults = flag "max-results" (optional int) ~doc:"INT StrictlyPositiveInteger" and nextToken = flag "next-token" (optional string) ~doc:"STRING PaginationToken" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.describe_replication_configuration_templates (Values.DescribeReplicationConfigurationTemplatesRequest.make ?replicationConfigurationTemplateIDs:(Option.map ~f:Values.ReplicationConfigurationTemplateIDs.of_json replicationConfigurationTemplateIDs) ?maxResults ?nextToken ()) (Some Values.DescribeReplicationConfigurationTemplatesResponse.to_json) (Some Values.DescribeReplicationConfigurationTemplatesResponse.error_to_json)]) let describe_source_networks = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_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 DescribeSourceNetworksRequestFilters" and maxResults = flag "max-results" (optional int) ~doc:"INT StrictlyPositiveInteger" and nextToken = flag "next-token" (optional string) ~doc:"STRING PaginationToken" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.describe_source_networks (Values.DescribeSourceNetworksRequest.make ?filters:(Option.map ~f:Values.DescribeSourceNetworksRequestFilters.of_json filters) ?maxResults ?nextToken ()) (Some Values.DescribeSourceNetworksResponse.to_json) (Some Values.DescribeSourceNetworksResponse.error_to_json)]) let describe_source_servers = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_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 DescribeSourceServersRequestFilters" and maxResults = flag "max-results" (optional int) ~doc:"INT StrictlyPositiveInteger" and nextToken = flag "next-token" (optional string) ~doc:"STRING PaginationToken" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.describe_source_servers (Values.DescribeSourceServersRequest.make ?filters:(Option.map ~f:Values.DescribeSourceServersRequestFilters.of_json filters) ?maxResults ?nextToken ()) (Some Values.DescribeSourceServersResponse.to_json) (Some Values.DescribeSourceServersResponse.error_to_json)]) let disconnect_recovery_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 recoveryInstanceID = flag "recovery-instance-i-d" (required string) ~doc:"STRING RecoveryInstanceID" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.disconnect_recovery_instance (Values.DisconnectRecoveryInstanceRequest.make ~recoveryInstanceID ()) None None]) let disconnect_source_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 sourceServerID = flag "source-server-i-d" (required string) ~doc:"STRING SourceServerID" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.disconnect_source_server (Values.DisconnectSourceServerRequest.make ~sourceServerID ()) (Some Values.SourceServer.to_json) (Some Values.SourceServer.error_to_json)]) let export_source_network_cfn_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 sourceNetworkID = flag "source-network-i-d" (required string) ~doc:"STRING SourceNetworkID" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.export_source_network_cfn_template (Values.ExportSourceNetworkCfnTemplateRequest.make ~sourceNetworkID ()) (Some Values.ExportSourceNetworkCfnTemplateResponse.to_json) (Some Values.ExportSourceNetworkCfnTemplateResponse.error_to_json)]) let get_failback_replication_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 recoveryInstanceID = flag "recovery-instance-i-d" (required string) ~doc:"STRING RecoveryInstanceID" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.get_failback_replication_configuration (Values.GetFailbackReplicationConfigurationRequest.make ~recoveryInstanceID ()) (Some Values.GetFailbackReplicationConfigurationResponse.to_json) (Some Values.GetFailbackReplicationConfigurationResponse.error_to_json)]) let get_launch_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 sourceServerID = flag "source-server-i-d" (required string) ~doc:"STRING SourceServerID" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.get_launch_configuration (Values.GetLaunchConfigurationRequest.make ~sourceServerID ()) (Some Values.LaunchConfiguration.to_json) (Some Values.LaunchConfiguration.error_to_json)]) let get_replication_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 sourceServerID = flag "source-server-i-d" (required string) ~doc:"STRING SourceServerID" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.get_replication_configuration (Values.GetReplicationConfigurationRequest.make ~sourceServerID ()) (Some Values.ReplicationConfiguration.to_json) (Some Values.ReplicationConfiguration.error_to_json)]) let initialize_service = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and () = return () in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.initialize_service (Values.InitializeServiceRequest.make ()) (Some Values.InitializeServiceResponse.to_json) (Some Values.InitializeServiceResponse.error_to_json)]) let list_extensible_source_servers = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_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 MaxResultsReplicatingSourceServers" and nextToken = flag "next-token" (optional string) ~doc:"STRING PaginationToken" and stagingAccountID = flag "staging-account-i-d" (required string) ~doc:"STRING AccountID" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.list_extensible_source_servers (Values.ListExtensibleSourceServersRequest.make ?maxResults ?nextToken ~stagingAccountID ()) (Some Values.ListExtensibleSourceServersResponse.to_json) (Some Values.ListExtensibleSourceServersResponse.error_to_json)]) let list_launch_actions = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and filters = flag "filters" (optional json_arg) ~doc:"JSON LaunchActionsRequestFilters" and maxResults = flag "max-results" (optional int) ~doc:"INT MaxResultsType" and nextToken = flag "next-token" (optional string) ~doc:"STRING PaginationToken" and resourceId = flag "resource-id" (required string) ~doc:"STRING LaunchActionResourceId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.list_launch_actions (Values.ListLaunchActionsRequest.make ?filters:(Option.map ~f:Values.LaunchActionsRequestFilters.of_json filters) ?maxResults ?nextToken ~resourceId ()) (Some Values.ListLaunchActionsResponse.to_json) (Some Values.ListLaunchActionsResponse.error_to_json)]) let list_staging_accounts = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_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 ListStagingAccountsRequestMaxResultsInteger" and nextToken = flag "next-token" (optional string) ~doc:"STRING PaginationToken" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.list_staging_accounts (Values.ListStagingAccountsRequest.make ?maxResults ?nextToken ()) (Some Values.ListStagingAccountsResponse.to_json) (Some Values.ListStagingAccountsResponse.error_to_json)]) let = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and resourceArn = flag "resource-arn" (required string) ~doc:"STRING ARN" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.list_tags_for_resource (Values.ListTagsForResourceRequest.make ~resourceArn ()) (Some Values.ListTagsForResourceResponse.to_json) (Some Values.ListTagsForResourceResponse.error_to_json)]) let put_launch_action = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and parameters = flag "parameters" (optional json_arg) ~doc:"JSON LaunchActionParameters" and resourceId = flag "resource-id" (required string) ~doc:"STRING LaunchActionResourceId" and actionCode = flag "action-code" (required string) ~doc:"STRING SsmDocumentName" and order = flag "order" (required int) ~doc:"INT LaunchActionOrder" and actionId = flag "action-id" (required string) ~doc:"STRING LaunchActionId" and optional = flag "optional" (required bool) ~doc:"BOOL Boolean" and active = flag "active" (required bool) ~doc:"BOOL Boolean" and name = flag "name" (required string) ~doc:"STRING LaunchActionName" and actionVersion = flag "action-version" (required string) ~doc:"STRING LaunchActionVersion" and category = flag "category" (required json_arg) ~doc:"JSON LaunchActionCategory" and description = flag "description" (required string) ~doc:"STRING LaunchActionDescription" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.put_launch_action (Values.PutLaunchActionRequest.make ?parameters:(Option.map ~f:Values.LaunchActionParameters.of_json parameters) ~resourceId ~actionCode ~order ~actionId ~optional ~active ~name ~actionVersion ~category:(Values.LaunchActionCategory.of_json category) ~description ()) (Some Values.PutLaunchActionResponse.to_json) (Some Values.PutLaunchActionResponse.error_to_json)]) let retry_data_replication = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and sourceServerID = flag "source-server-i-d" (required string) ~doc:"STRING SourceServerID" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.retry_data_replication (Values.RetryDataReplicationRequest.make ~sourceServerID ()) (Some Values.SourceServer.to_json) (Some Values.SourceServer.error_to_json)]) let reverse_replication = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and recoveryInstanceID = flag "recovery-instance-i-d" (required string) ~doc:"STRING RecoveryInstanceID" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.reverse_replication (Values.ReverseReplicationRequest.make ~recoveryInstanceID ()) (Some Values.ReverseReplicationResponse.to_json) (Some Values.ReverseReplicationResponse.error_to_json)]) let start_failback_launch = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and = flag "tags" (optional json_arg) ~doc:"JSON TagsMap" and recoveryInstanceIDs = flag "recovery-instance-i-ds" (required json_arg) ~doc:"JSON StartFailbackRequestRecoveryInstanceIDs" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.start_failback_launch (Values.StartFailbackLaunchRequest.make ?tags:(Option.map ~f:Values.TagsMap.of_json tags) ~recoveryInstanceIDs:(Values.StartFailbackRequestRecoveryInstanceIDs.of_json recoveryInstanceIDs) ()) (Some Values.StartFailbackLaunchResponse.to_json) (Some Values.StartFailbackLaunchResponse.error_to_json)]) let start_recovery = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and isDrill = flag "is-drill" (optional bool) ~doc:"BOOL Boolean" and = flag "tags" (optional json_arg) ~doc:"JSON TagsMap" and sourceServers = flag "source-servers" (required json_arg) ~doc:"JSON StartRecoveryRequestSourceServers" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.start_recovery (Values.StartRecoveryRequest.make ?isDrill ?tags:(Option.map ~f:Values.TagsMap.of_json tags) ~sourceServers:(Values.StartRecoveryRequestSourceServers.of_json sourceServers) ()) (Some Values.StartRecoveryResponse.to_json) (Some Values.StartRecoveryResponse.error_to_json)]) let start_replication = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and sourceServerID = flag "source-server-i-d" (required string) ~doc:"STRING SourceServerID" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.start_replication (Values.StartReplicationRequest.make ~sourceServerID ()) (Some Values.StartReplicationResponse.to_json) (Some Values.StartReplicationResponse.error_to_json)]) let start_source_network_recovery = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and deployAsNew = flag "deploy-as-new" (optional bool) ~doc:"BOOL Boolean" and = flag "tags" (optional json_arg) ~doc:"JSON TagsMap" and sourceNetworks = flag "source-networks" (required json_arg) ~doc:"JSON StartSourceNetworkRecoveryRequestNetworkEntries" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.start_source_network_recovery (Values.StartSourceNetworkRecoveryRequest.make ?deployAsNew ?tags:(Option.map ~f:Values.TagsMap.of_json tags) ~sourceNetworks:(Values.StartSourceNetworkRecoveryRequestNetworkEntries.of_json sourceNetworks) ()) (Some Values.StartSourceNetworkRecoveryResponse.to_json) (Some Values.StartSourceNetworkRecoveryResponse.error_to_json)]) let start_source_network_replication = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and sourceNetworkID = flag "source-network-i-d" (required string) ~doc:"STRING SourceNetworkID" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.start_source_network_replication (Values.StartSourceNetworkReplicationRequest.make ~sourceNetworkID ()) (Some Values.StartSourceNetworkReplicationResponse.to_json) (Some Values.StartSourceNetworkReplicationResponse.error_to_json)]) let stop_failback = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and recoveryInstanceID = flag "recovery-instance-i-d" (required string) ~doc:"STRING RecoveryInstanceID" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.stop_failback (Values.StopFailbackRequest.make ~recoveryInstanceID ()) None None]) let stop_replication = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and sourceServerID = flag "source-server-i-d" (required string) ~doc:"STRING SourceServerID" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.stop_replication (Values.StopReplicationRequest.make ~sourceServerID ()) (Some Values.StopReplicationResponse.to_json) (Some Values.StopReplicationResponse.error_to_json)]) let stop_source_network_replication = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and sourceNetworkID = flag "source-network-i-d" (required string) ~doc:"STRING SourceNetworkID" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.stop_source_network_replication (Values.StopSourceNetworkReplicationRequest.make ~sourceNetworkID ()) (Some Values.StopSourceNetworkReplicationResponse.to_json) (Some Values.StopSourceNetworkReplicationResponse.error_to_json)]) let tag_resource = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and resourceArn = flag "resource-arn" (required string) ~doc:"STRING ARN" and = flag "tags" (required json_arg) ~doc:"JSON TagsMap" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.tag_resource (Values.TagResourceRequest.make ~resourceArn ~tags:(Values.TagsMap.of_json tags) ()) None None]) let terminate_recovery_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 recoveryInstanceIDs = flag "recovery-instance-i-ds" (required json_arg) ~doc:"JSON RecoveryInstancesForTerminationRequest" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.terminate_recovery_instances (Values.TerminateRecoveryInstancesRequest.make ~recoveryInstanceIDs:(Values.RecoveryInstancesForTerminationRequest.of_json recoveryInstanceIDs) ()) (Some Values.TerminateRecoveryInstancesResponse.to_json) (Some Values.TerminateRecoveryInstancesResponse.error_to_json)]) let untag_resource = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and resourceArn = flag "resource-arn" (required string) ~doc:"STRING ARN" and tagKeys = flag "tag-keys" (required json_arg) ~doc:"JSON TagKeys" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.untag_resource (Values.UntagResourceRequest.make ~resourceArn ~tagKeys:(Values.TagKeys.of_json tagKeys) ()) None None]) let update_failback_replication_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 name = flag "name" (optional string) ~doc:"STRING BoundedString" and bandwidthThrottling = flag "bandwidth-throttling" (optional json_arg) ~doc:"JSON PositiveInteger" and usePrivateIP = flag "use-private-i-p" (optional bool) ~doc:"BOOL Boolean" and internetProtocol = flag "internet-protocol" (optional json_arg) ~doc:"JSON InternetProtocol" and recoveryInstanceID = flag "recovery-instance-i-d" (required string) ~doc:"STRING RecoveryInstanceID" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.update_failback_replication_configuration (Values.UpdateFailbackReplicationConfigurationRequest.make ?name ?bandwidthThrottling:(Option.map ~f:Values.PositiveInteger.of_json bandwidthThrottling) ?usePrivateIP ?internetProtocol:(Option.map ~f:Values.InternetProtocol.of_json internetProtocol) ~recoveryInstanceID ()) None None]) let update_launch_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 name = flag "name" (optional string) ~doc:"STRING SmallBoundedString" and launchDisposition = flag "launch-disposition" (optional json_arg) ~doc:"JSON LaunchDisposition" and targetInstanceTypeRightSizingMethod = flag "target-instance-type-right-sizing-method" (optional json_arg) ~doc:"JSON TargetInstanceTypeRightSizingMethod" and copyPrivateIp = flag "copy-private-ip" (optional bool) ~doc:"BOOL Boolean" and copyTags = flag "copy-tags" (optional bool) ~doc:"BOOL Boolean" and licensing = flag "licensing" (optional json_arg) ~doc:"JSON Licensing" and postLaunchEnabled = flag "post-launch-enabled" (optional bool) ~doc:"BOOL Boolean" and launchIntoInstanceProperties = flag "launch-into-instance-properties" (optional json_arg) ~doc:"JSON LaunchIntoInstanceProperties" and sourceServerID = flag "source-server-i-d" (required string) ~doc:"STRING SourceServerID" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.update_launch_configuration (Values.UpdateLaunchConfigurationRequest.make ?name ?launchDisposition:(Option.map ~f:Values.LaunchDisposition.of_json launchDisposition) ?targetInstanceTypeRightSizingMethod:(Option.map ~f:Values.TargetInstanceTypeRightSizingMethod.of_json targetInstanceTypeRightSizingMethod) ?copyPrivateIp ?copyTags ?licensing:(Option.map ~f:Values.Licensing.of_json licensing) ?postLaunchEnabled ?launchIntoInstanceProperties:(Option.map ~f:Values.LaunchIntoInstanceProperties.of_json launchIntoInstanceProperties) ~sourceServerID ()) (Some Values.LaunchConfiguration.to_json) (Some Values.LaunchConfiguration.error_to_json)]) let update_launch_configuration_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 launchDisposition = flag "launch-disposition" (optional json_arg) ~doc:"JSON LaunchDisposition" and targetInstanceTypeRightSizingMethod = flag "target-instance-type-right-sizing-method" (optional json_arg) ~doc:"JSON TargetInstanceTypeRightSizingMethod" and copyPrivateIp = flag "copy-private-ip" (optional bool) ~doc:"BOOL Boolean" and copyTags = flag "copy-tags" (optional bool) ~doc:"BOOL Boolean" and licensing = flag "licensing" (optional json_arg) ~doc:"JSON Licensing" and exportBucketArn = flag "export-bucket-arn" (optional string) ~doc:"STRING ARN" and postLaunchEnabled = flag "post-launch-enabled" (optional bool) ~doc:"BOOL Boolean" and launchIntoSourceInstance = flag "launch-into-source-instance" (optional bool) ~doc:"BOOL Boolean" and launchConfigurationTemplateID = flag "launch-configuration-template-i-d" (required string) ~doc:"STRING LaunchConfigurationTemplateID" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.update_launch_configuration_template (Values.UpdateLaunchConfigurationTemplateRequest.make ?launchDisposition:(Option.map ~f:Values.LaunchDisposition.of_json launchDisposition) ?targetInstanceTypeRightSizingMethod:(Option.map ~f:Values.TargetInstanceTypeRightSizingMethod.of_json targetInstanceTypeRightSizingMethod) ?copyPrivateIp ?copyTags ?licensing:(Option.map ~f:Values.Licensing.of_json licensing) ?exportBucketArn ?postLaunchEnabled ?launchIntoSourceInstance ~launchConfigurationTemplateID ()) (Some Values.UpdateLaunchConfigurationTemplateResponse.to_json) (Some Values.UpdateLaunchConfigurationTemplateResponse.error_to_json)]) let update_replication_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 name = flag "name" (optional string) ~doc:"STRING SmallBoundedString" and stagingAreaSubnetId = flag "staging-area-subnet-id" (optional string) ~doc:"STRING SubnetID" and associateDefaultSecurityGroup = flag "associate-default-security-group" (optional bool) ~doc:"BOOL Boolean" and replicationServersSecurityGroupsIDs = flag "replication-servers-security-groups-i-ds" (optional json_arg) ~doc:"JSON ReplicationServersSecurityGroupsIDs" and replicationServerInstanceType = flag "replication-server-instance-type" (optional string) ~doc:"STRING EC2InstanceType" and useDedicatedReplicationServer = flag "use-dedicated-replication-server" (optional bool) ~doc:"BOOL Boolean" and defaultLargeStagingDiskType = flag "default-large-staging-disk-type" (optional json_arg) ~doc:"JSON ReplicationConfigurationDefaultLargeStagingDiskType" and replicatedDisks = flag "replicated-disks" (optional json_arg) ~doc:"JSON ReplicationConfigurationReplicatedDisks" and ebsEncryption = flag "ebs-encryption" (optional json_arg) ~doc:"JSON ReplicationConfigurationEbsEncryption" and ebsEncryptionKeyArn = flag "ebs-encryption-key-arn" (optional string) ~doc:"STRING ARN" and bandwidthThrottling = flag "bandwidth-throttling" (optional json_arg) ~doc:"JSON PositiveInteger" and dataPlaneRouting = flag "data-plane-routing" (optional json_arg) ~doc:"JSON ReplicationConfigurationDataPlaneRouting" and createPublicIP = flag "create-public-i-p" (optional bool) ~doc:"BOOL Boolean" and stagingAreaTags = flag "staging-area-tags" (optional json_arg) ~doc:"JSON TagsMap" and pitPolicy = flag "pit-policy" (optional json_arg) ~doc:"JSON PITPolicy" and autoReplicateNewDisks = flag "auto-replicate-new-disks" (optional bool) ~doc:"BOOL Boolean" and internetProtocol = flag "internet-protocol" (optional json_arg) ~doc:"JSON InternetProtocol" and sourceServerID = flag "source-server-i-d" (required string) ~doc:"STRING SourceServerID" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.update_replication_configuration (Values.UpdateReplicationConfigurationRequest.make ?name ?stagingAreaSubnetId ?associateDefaultSecurityGroup ?replicationServersSecurityGroupsIDs:(Option.map ~f:Values.ReplicationServersSecurityGroupsIDs.of_json replicationServersSecurityGroupsIDs) ?replicationServerInstanceType ?useDedicatedReplicationServer ?defaultLargeStagingDiskType:(Option.map ~f:Values.ReplicationConfigurationDefaultLargeStagingDiskType.of_json defaultLargeStagingDiskType) ?replicatedDisks:(Option.map ~f:Values.ReplicationConfigurationReplicatedDisks.of_json replicatedDisks) ?ebsEncryption:(Option.map ~f:Values.ReplicationConfigurationEbsEncryption.of_json ebsEncryption) ?ebsEncryptionKeyArn ?bandwidthThrottling:(Option.map ~f:Values.PositiveInteger.of_json bandwidthThrottling) ?dataPlaneRouting:(Option.map ~f:Values.ReplicationConfigurationDataPlaneRouting.of_json dataPlaneRouting) ?createPublicIP ?stagingAreaTags:(Option.map ~f:Values.TagsMap.of_json stagingAreaTags) ?pitPolicy:(Option.map ~f:Values.PITPolicy.of_json pitPolicy) ?autoReplicateNewDisks ?internetProtocol:(Option.map ~f:Values.InternetProtocol.of_json internetProtocol) ~sourceServerID ()) (Some Values.ReplicationConfiguration.to_json) (Some Values.ReplicationConfiguration.error_to_json)]) let update_replication_configuration_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 arn = flag "arn" (optional string) ~doc:"STRING ARN" and stagingAreaSubnetId = flag "staging-area-subnet-id" (optional string) ~doc:"STRING SubnetID" and associateDefaultSecurityGroup = flag "associate-default-security-group" (optional bool) ~doc:"BOOL Boolean" and replicationServersSecurityGroupsIDs = flag "replication-servers-security-groups-i-ds" (optional json_arg) ~doc:"JSON ReplicationServersSecurityGroupsIDs" and replicationServerInstanceType = flag "replication-server-instance-type" (optional string) ~doc:"STRING EC2InstanceType" and useDedicatedReplicationServer = flag "use-dedicated-replication-server" (optional bool) ~doc:"BOOL Boolean" and defaultLargeStagingDiskType = flag "default-large-staging-disk-type" (optional json_arg) ~doc:"JSON ReplicationConfigurationDefaultLargeStagingDiskType" and ebsEncryption = flag "ebs-encryption" (optional json_arg) ~doc:"JSON ReplicationConfigurationEbsEncryption" and ebsEncryptionKeyArn = flag "ebs-encryption-key-arn" (optional string) ~doc:"STRING ARN" and bandwidthThrottling = flag "bandwidth-throttling" (optional json_arg) ~doc:"JSON PositiveInteger" and dataPlaneRouting = flag "data-plane-routing" (optional json_arg) ~doc:"JSON ReplicationConfigurationDataPlaneRouting" and createPublicIP = flag "create-public-i-p" (optional bool) ~doc:"BOOL Boolean" and stagingAreaTags = flag "staging-area-tags" (optional json_arg) ~doc:"JSON TagsMap" and pitPolicy = flag "pit-policy" (optional json_arg) ~doc:"JSON PITPolicy" and autoReplicateNewDisks = flag "auto-replicate-new-disks" (optional bool) ~doc:"BOOL Boolean" and internetProtocol = flag "internet-protocol" (optional json_arg) ~doc:"JSON InternetProtocol" and replicationConfigurationTemplateID = flag "replication-configuration-template-i-d" (required string) ~doc:"STRING ReplicationConfigurationTemplateID" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.update_replication_configuration_template (Values.UpdateReplicationConfigurationTemplateRequest.make ?arn ?stagingAreaSubnetId ?associateDefaultSecurityGroup ?replicationServersSecurityGroupsIDs:(Option.map ~f:Values.ReplicationServersSecurityGroupsIDs.of_json replicationServersSecurityGroupsIDs) ?replicationServerInstanceType ?useDedicatedReplicationServer ?defaultLargeStagingDiskType:(Option.map ~f:Values.ReplicationConfigurationDefaultLargeStagingDiskType.of_json defaultLargeStagingDiskType) ?ebsEncryption:(Option.map ~f:Values.ReplicationConfigurationEbsEncryption.of_json ebsEncryption) ?ebsEncryptionKeyArn ?bandwidthThrottling:(Option.map ~f:Values.PositiveInteger.of_json bandwidthThrottling) ?dataPlaneRouting:(Option.map ~f:Values.ReplicationConfigurationDataPlaneRouting.of_json dataPlaneRouting) ?createPublicIP ?stagingAreaTags:(Option.map ~f:Values.TagsMap.of_json stagingAreaTags) ?pitPolicy:(Option.map ~f:Values.PITPolicy.of_json pitPolicy) ?autoReplicateNewDisks ?internetProtocol:(Option.map ~f:Values.InternetProtocol.of_json internetProtocol) ~replicationConfigurationTemplateID ()) (Some Values.ReplicationConfigurationTemplate.to_json) (Some Values.ReplicationConfigurationTemplate.error_to_json)]) let main = Command.group ~summary:((Awso.Service.to_string Values.service) ^ " commands") [("associate-source-network-stack", associate_source_network_stack); ("create-extended-source-server", create_extended_source_server); ("create-launch-configuration-template", create_launch_configuration_template); ("create-replication-configuration-template", create_replication_configuration_template); ("create-source-network", create_source_network); ("delete-job", delete_job); ("delete-launch-action", delete_launch_action); ("delete-launch-configuration-template", delete_launch_configuration_template); ("delete-recovery-instance", delete_recovery_instance); ("delete-replication-configuration-template", delete_replication_configuration_template); ("delete-source-network", delete_source_network); ("delete-source-server", delete_source_server); ("describe-job-log-items", describe_job_log_items); ("describe-jobs", describe_jobs); ("describe-launch-configuration-templates", describe_launch_configuration_templates); ("describe-recovery-instances", describe_recovery_instances); ("describe-recovery-snapshots", describe_recovery_snapshots); ("describe-replication-configuration-templates", describe_replication_configuration_templates); ("describe-source-networks", describe_source_networks); ("describe-source-servers", describe_source_servers); ("disconnect-recovery-instance", disconnect_recovery_instance); ("disconnect-source-server", disconnect_source_server); ("export-source-network-cfn-template", export_source_network_cfn_template); ("get-failback-replication-configuration", get_failback_replication_configuration); ("get-launch-configuration", get_launch_configuration); ("get-replication-configuration", get_replication_configuration); ("initialize-service", initialize_service); ("list-extensible-source-servers", list_extensible_source_servers); ("list-launch-actions", list_launch_actions); ("list-staging-accounts", list_staging_accounts); ("list-tags-for-resource", list_tags_for_resource); ("put-launch-action", put_launch_action); ("retry-data-replication", retry_data_replication); ("reverse-replication", reverse_replication); ("start-failback-launch", start_failback_launch); ("start-recovery", start_recovery); ("start-replication", start_replication); ("start-source-network-recovery", start_source_network_recovery); ("start-source-network-replication", start_source_network_replication); ("stop-failback", stop_failback); ("stop-replication", stop_replication); ("stop-source-network-replication", stop_source_network_replication); ("tag-resource", tag_resource); ("terminate-recovery-instances", terminate_recovery_instances); ("untag-resource", untag_resource); ("update-failback-replication-configuration", update_failback_replication_configuration); ("update-launch-configuration", update_launch_configuration); ("update-launch-configuration-template", update_launch_configuration_template); ("update-replication-configuration", update_replication_configuration); ("update-replication-configuration-template", update_replication_configuration_template)]
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>