package awso-async
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
AWS client for Async (400+ services, auto-generated from botocore)
Install
dune-project
Dependency
Authors
Maintainers
Sources
awso-0.9.0.tbz
sha256=47224890900b1f5d2bd717000a02fa8918f92eafa99f702f7d59a1b053ff8e95
sha512=e187288f7c8fccb221f5417671732c8c8de95cdbacba1514db592b5700df2293468bde07956539bd44f3d460f6c75d38bd66ca161d0eae68a8b1b4e081882367
doc/src/awso-async.elb/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(* 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 = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and loadBalancerNames = flag "load-balancer-names" (required json_arg) ~doc:"JSON LoadBalancerNames" and = flag "tags" (required json_arg) ~doc:"JSON TagList" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.add_tags (Values.AddTagsInput.make ~loadBalancerNames:(Values.LoadBalancerNames.of_json loadBalancerNames) ~tags:(Values.TagList.of_json tags) ()) (Some Values.AddTagsOutput.to_json) (Some Values.AddTagsOutput.error_to_json)]) let apply_security_groups_to_load_balancer = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and loadBalancerName = flag "load-balancer-name" (required string) ~doc:"STRING AccessPointName" and securityGroups = flag "security-groups" (required json_arg) ~doc:"JSON SecurityGroups" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.apply_security_groups_to_load_balancer (Values.ApplySecurityGroupsToLoadBalancerInput.make ~loadBalancerName ~securityGroups:(Values.SecurityGroups.of_json securityGroups) ()) (Some Values.ApplySecurityGroupsToLoadBalancerOutput.to_json) (Some Values.ApplySecurityGroupsToLoadBalancerOutput.error_to_json)]) let attach_load_balancer_to_subnets = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and loadBalancerName = flag "load-balancer-name" (required string) ~doc:"STRING AccessPointName" and subnets = flag "subnets" (required json_arg) ~doc:"JSON Subnets" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.attach_load_balancer_to_subnets (Values.AttachLoadBalancerToSubnetsInput.make ~loadBalancerName ~subnets:(Values.Subnets.of_json subnets) ()) (Some Values.AttachLoadBalancerToSubnetsOutput.to_json) (Some Values.AttachLoadBalancerToSubnetsOutput.error_to_json)]) let configure_health_check = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and loadBalancerName = flag "load-balancer-name" (required string) ~doc:"STRING AccessPointName" and healthCheck = flag "health-check" (required json_arg) ~doc:"JSON HealthCheck" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.configure_health_check (Values.ConfigureHealthCheckInput.make ~loadBalancerName ~healthCheck:(Values.HealthCheck.of_json healthCheck) ()) (Some Values.ConfigureHealthCheckOutput.to_json) (Some Values.ConfigureHealthCheckOutput.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 loadBalancerName = flag "load-balancer-name" (required string) ~doc:"STRING AccessPointName" and policyName = flag "policy-name" (required string) ~doc:"STRING PolicyName" and = flag "cookie-name" (required string) ~doc:"STRING CookieName" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.create_app_cookie_stickiness_policy (Values.CreateAppCookieStickinessPolicyInput.make ~loadBalancerName ~policyName ~cookieName ()) (Some Values.CreateAppCookieStickinessPolicyOutput.to_json) (Some Values.CreateAppCookieStickinessPolicyOutput.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 = flag "cookie-expiration-period" (optional json_arg) ~doc:"JSON CookieExpirationPeriod" and loadBalancerName = flag "load-balancer-name" (required string) ~doc:"STRING AccessPointName" and policyName = flag "policy-name" (required string) ~doc:"STRING PolicyName" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.create_l_b_cookie_stickiness_policy (Values.CreateLBCookieStickinessPolicyInput.make ?cookieExpirationPeriod:(Option.map ~f:Values.CookieExpirationPeriod.of_json cookieExpirationPeriod) ~loadBalancerName ~policyName ()) (Some Values.CreateLBCookieStickinessPolicyOutput.to_json) (Some Values.CreateLBCookieStickinessPolicyOutput.error_to_json)]) let create_load_balancer = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and availabilityZones = flag "availability-zones" (optional json_arg) ~doc:"JSON AvailabilityZones" and subnets = flag "subnets" (optional json_arg) ~doc:"JSON Subnets" and securityGroups = flag "security-groups" (optional json_arg) ~doc:"JSON SecurityGroups" and scheme = flag "scheme" (optional string) ~doc:"STRING LoadBalancerScheme" and = flag "tags" (optional json_arg) ~doc:"JSON TagList" and loadBalancerName = flag "load-balancer-name" (required string) ~doc:"STRING AccessPointName" and listeners = flag "listeners" (required json_arg) ~doc:"JSON Listeners" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.create_load_balancer (Values.CreateAccessPointInput.make ?availabilityZones:(Option.map ~f:Values.AvailabilityZones.of_json availabilityZones) ?subnets:(Option.map ~f:Values.Subnets.of_json subnets) ?securityGroups:(Option.map ~f:Values.SecurityGroups.of_json securityGroups) ?scheme ?tags:(Option.map ~f:Values.TagList.of_json tags) ~loadBalancerName ~listeners:(Values.Listeners.of_json listeners) ()) (Some Values.CreateAccessPointOutput.to_json) (Some Values.CreateAccessPointOutput.error_to_json)]) let create_load_balancer_listeners = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and loadBalancerName = flag "load-balancer-name" (required string) ~doc:"STRING AccessPointName" and listeners = flag "listeners" (required json_arg) ~doc:"JSON Listeners" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.create_load_balancer_listeners (Values.CreateLoadBalancerListenerInput.make ~loadBalancerName ~listeners:(Values.Listeners.of_json listeners) ()) (Some Values.CreateLoadBalancerListenerOutput.to_json) (Some Values.CreateLoadBalancerListenerOutput.error_to_json)]) let create_load_balancer_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 policyAttributes = flag "policy-attributes" (optional json_arg) ~doc:"JSON PolicyAttributes" and loadBalancerName = flag "load-balancer-name" (required string) ~doc:"STRING AccessPointName" and policyName = flag "policy-name" (required string) ~doc:"STRING PolicyName" and policyTypeName = flag "policy-type-name" (required string) ~doc:"STRING PolicyTypeName" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.create_load_balancer_policy (Values.CreateLoadBalancerPolicyInput.make ?policyAttributes:(Option.map ~f:Values.PolicyAttributes.of_json policyAttributes) ~loadBalancerName ~policyName ~policyTypeName ()) (Some Values.CreateLoadBalancerPolicyOutput.to_json) (Some Values.CreateLoadBalancerPolicyOutput.error_to_json)]) let delete_load_balancer = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and loadBalancerName = flag "load-balancer-name" (required string) ~doc:"STRING AccessPointName" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.delete_load_balancer (Values.DeleteAccessPointInput.make ~loadBalancerName ()) (Some Values.DeleteAccessPointOutput.to_json) (Some Values.DeleteAccessPointOutput.error_to_json)]) let delete_load_balancer_listeners = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and loadBalancerName = flag "load-balancer-name" (required string) ~doc:"STRING AccessPointName" and loadBalancerPorts = flag "load-balancer-ports" (required json_arg) ~doc:"JSON Ports" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.delete_load_balancer_listeners (Values.DeleteLoadBalancerListenerInput.make ~loadBalancerName ~loadBalancerPorts:(Values.Ports.of_json loadBalancerPorts) ()) (Some Values.DeleteLoadBalancerListenerOutput.to_json) (Some Values.DeleteLoadBalancerListenerOutput.error_to_json)]) let delete_load_balancer_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 loadBalancerName = flag "load-balancer-name" (required string) ~doc:"STRING AccessPointName" and policyName = flag "policy-name" (required string) ~doc:"STRING PolicyName" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.delete_load_balancer_policy (Values.DeleteLoadBalancerPolicyInput.make ~loadBalancerName ~policyName ()) (Some Values.DeleteLoadBalancerPolicyOutput.to_json) (Some Values.DeleteLoadBalancerPolicyOutput.error_to_json)]) let deregister_instances_from_load_balancer = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and loadBalancerName = flag "load-balancer-name" (required string) ~doc:"STRING AccessPointName" and instances = flag "instances" (required json_arg) ~doc:"JSON Instances" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.deregister_instances_from_load_balancer (Values.DeregisterEndPointsInput.make ~loadBalancerName ~instances:(Values.Instances.of_json instances) ()) (Some Values.DeregisterEndPointsOutput.to_json) (Some Values.DeregisterEndPointsOutput.error_to_json)]) let describe_account_limits = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and marker = flag "marker" (optional string) ~doc:"STRING Marker" and pageSize = flag "page-size" (optional int) ~doc:"INT PageSize" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.describe_account_limits (Values.DescribeAccountLimitsInput.make ?marker ?pageSize ()) (Some Values.DescribeAccountLimitsOutput.to_json) (Some Values.DescribeAccountLimitsOutput.error_to_json)]) let describe_instance_health = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and instances = flag "instances" (optional json_arg) ~doc:"JSON Instances" and loadBalancerName = flag "load-balancer-name" (required string) ~doc:"STRING AccessPointName" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.describe_instance_health (Values.DescribeEndPointStateInput.make ?instances:(Option.map ~f:Values.Instances.of_json instances) ~loadBalancerName ()) (Some Values.DescribeEndPointStateOutput.to_json) (Some Values.DescribeEndPointStateOutput.error_to_json)]) let describe_load_balancer_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 loadBalancerName = flag "load-balancer-name" (required string) ~doc:"STRING AccessPointName" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.describe_load_balancer_attributes (Values.DescribeLoadBalancerAttributesInput.make ~loadBalancerName ()) (Some Values.DescribeLoadBalancerAttributesOutput.to_json) (Some Values.DescribeLoadBalancerAttributesOutput.error_to_json)]) let describe_load_balancer_policies = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and loadBalancerName = flag "load-balancer-name" (optional string) ~doc:"STRING AccessPointName" and policyNames = flag "policy-names" (optional json_arg) ~doc:"JSON PolicyNames" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.describe_load_balancer_policies (Values.DescribeLoadBalancerPoliciesInput.make ?loadBalancerName ?policyNames:(Option.map ~f:Values.PolicyNames.of_json policyNames) ()) (Some Values.DescribeLoadBalancerPoliciesOutput.to_json) (Some Values.DescribeLoadBalancerPoliciesOutput.error_to_json)]) let describe_load_balancer_policy_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 policyTypeNames = flag "policy-type-names" (optional json_arg) ~doc:"JSON PolicyTypeNames" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.describe_load_balancer_policy_types (Values.DescribeLoadBalancerPolicyTypesInput.make ?policyTypeNames:(Option.map ~f:Values.PolicyTypeNames.of_json policyTypeNames) ()) (Some Values.DescribeLoadBalancerPolicyTypesOutput.to_json) (Some Values.DescribeLoadBalancerPolicyTypesOutput.error_to_json)]) let describe_load_balancers = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and loadBalancerNames = flag "load-balancer-names" (optional json_arg) ~doc:"JSON LoadBalancerNames" and marker = flag "marker" (optional string) ~doc:"STRING Marker" and pageSize = flag "page-size" (optional int) ~doc:"INT PageSize" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.describe_load_balancers (Values.DescribeAccessPointsInput.make ?loadBalancerNames:(Option.map ~f:Values.LoadBalancerNames.of_json loadBalancerNames) ?marker ?pageSize ()) (Some Values.DescribeAccessPointsOutput.to_json) (Some Values.DescribeAccessPointsOutput.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 loadBalancerNames = flag "load-balancer-names" (required json_arg) ~doc:"JSON LoadBalancerNamesMax20" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.describe_tags (Values.DescribeTagsInput.make ~loadBalancerNames:(Values.LoadBalancerNamesMax20.of_json loadBalancerNames) ()) (Some Values.DescribeTagsOutput.to_json) (Some Values.DescribeTagsOutput.error_to_json)]) let detach_load_balancer_from_subnets = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and loadBalancerName = flag "load-balancer-name" (required string) ~doc:"STRING AccessPointName" and subnets = flag "subnets" (required json_arg) ~doc:"JSON Subnets" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.detach_load_balancer_from_subnets (Values.DetachLoadBalancerFromSubnetsInput.make ~loadBalancerName ~subnets:(Values.Subnets.of_json subnets) ()) (Some Values.DetachLoadBalancerFromSubnetsOutput.to_json) (Some Values.DetachLoadBalancerFromSubnetsOutput.error_to_json)]) let disable_availability_zones_for_load_balancer = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and loadBalancerName = flag "load-balancer-name" (required string) ~doc:"STRING AccessPointName" and availabilityZones = flag "availability-zones" (required json_arg) ~doc:"JSON AvailabilityZones" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.disable_availability_zones_for_load_balancer (Values.RemoveAvailabilityZonesInput.make ~loadBalancerName ~availabilityZones:(Values.AvailabilityZones.of_json availabilityZones) ()) (Some Values.RemoveAvailabilityZonesOutput.to_json) (Some Values.RemoveAvailabilityZonesOutput.error_to_json)]) let enable_availability_zones_for_load_balancer = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and loadBalancerName = flag "load-balancer-name" (required string) ~doc:"STRING AccessPointName" and availabilityZones = flag "availability-zones" (required json_arg) ~doc:"JSON AvailabilityZones" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.enable_availability_zones_for_load_balancer (Values.AddAvailabilityZonesInput.make ~loadBalancerName ~availabilityZones:(Values.AvailabilityZones.of_json availabilityZones) ()) (Some Values.AddAvailabilityZonesOutput.to_json) (Some Values.AddAvailabilityZonesOutput.error_to_json)]) let modify_load_balancer_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 loadBalancerName = flag "load-balancer-name" (required string) ~doc:"STRING AccessPointName" and loadBalancerAttributes = flag "load-balancer-attributes" (required json_arg) ~doc:"JSON LoadBalancerAttributes" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.modify_load_balancer_attributes (Values.ModifyLoadBalancerAttributesInput.make ~loadBalancerName ~loadBalancerAttributes:(Values.LoadBalancerAttributes.of_json loadBalancerAttributes) ()) (Some Values.ModifyLoadBalancerAttributesOutput.to_json) (Some Values.ModifyLoadBalancerAttributesOutput.error_to_json)]) let register_instances_with_load_balancer = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and loadBalancerName = flag "load-balancer-name" (required string) ~doc:"STRING AccessPointName" and instances = flag "instances" (required json_arg) ~doc:"JSON Instances" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.register_instances_with_load_balancer (Values.RegisterEndPointsInput.make ~loadBalancerName ~instances:(Values.Instances.of_json instances) ()) (Some Values.RegisterEndPointsOutput.to_json) (Some Values.RegisterEndPointsOutput.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 loadBalancerNames = flag "load-balancer-names" (required json_arg) ~doc:"JSON LoadBalancerNames" and = flag "tags" (required json_arg) ~doc:"JSON TagKeyList" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.remove_tags (Values.RemoveTagsInput.make ~loadBalancerNames:(Values.LoadBalancerNames.of_json loadBalancerNames) ~tags:(Values.TagKeyList.of_json tags) ()) (Some Values.RemoveTagsOutput.to_json) (Some Values.RemoveTagsOutput.error_to_json)]) let set_load_balancer_listener_s_s_l_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 loadBalancerName = flag "load-balancer-name" (required string) ~doc:"STRING AccessPointName" and loadBalancerPort = flag "load-balancer-port" (required int) ~doc:"INT AccessPointPort" and sSLCertificateId = flag "s-s-l-certificate-id" (required string) ~doc:"STRING SSLCertificateId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.set_load_balancer_listener_s_s_l_certificate (Values.SetLoadBalancerListenerSSLCertificateInput.make ~loadBalancerName ~loadBalancerPort ~sSLCertificateId ()) (Some Values.SetLoadBalancerListenerSSLCertificateOutput.to_json) (Some Values.SetLoadBalancerListenerSSLCertificateOutput.error_to_json)]) let set_load_balancer_policies_for_backend_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 loadBalancerName = flag "load-balancer-name" (required string) ~doc:"STRING AccessPointName" and instancePort = flag "instance-port" (required int) ~doc:"INT EndPointPort" and policyNames = flag "policy-names" (required json_arg) ~doc:"JSON PolicyNames" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.set_load_balancer_policies_for_backend_server (Values.SetLoadBalancerPoliciesForBackendServerInput.make ~loadBalancerName ~instancePort ~policyNames:(Values.PolicyNames.of_json policyNames) ()) (Some Values.SetLoadBalancerPoliciesForBackendServerOutput.to_json) (Some Values.SetLoadBalancerPoliciesForBackendServerOutput.error_to_json)]) let set_load_balancer_policies_of_listener = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and loadBalancerName = flag "load-balancer-name" (required string) ~doc:"STRING AccessPointName" and loadBalancerPort = flag "load-balancer-port" (required int) ~doc:"INT AccessPointPort" and policyNames = flag "policy-names" (required json_arg) ~doc:"JSON PolicyNames" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.set_load_balancer_policies_of_listener (Values.SetLoadBalancerPoliciesOfListenerInput.make ~loadBalancerName ~loadBalancerPort ~policyNames:(Values.PolicyNames.of_json policyNames) ()) (Some Values.SetLoadBalancerPoliciesOfListenerOutput.to_json) (Some Values.SetLoadBalancerPoliciesOfListenerOutput.error_to_json)]) let main = Command.group ~summary:((Awso.Service.to_string Values.service) ^ " commands") [("add-tags", add_tags); ("apply-security-groups-to-load-balancer", apply_security_groups_to_load_balancer); ("attach-load-balancer-to-subnets", attach_load_balancer_to_subnets); ("configure-health-check", configure_health_check); ("create-app-cookie-stickiness-policy", create_app_cookie_stickiness_policy); ("create-l-b-cookie-stickiness-policy", create_l_b_cookie_stickiness_policy); ("create-load-balancer", create_load_balancer); ("create-load-balancer-listeners", create_load_balancer_listeners); ("create-load-balancer-policy", create_load_balancer_policy); ("delete-load-balancer", delete_load_balancer); ("delete-load-balancer-listeners", delete_load_balancer_listeners); ("delete-load-balancer-policy", delete_load_balancer_policy); ("deregister-instances-from-load-balancer", deregister_instances_from_load_balancer); ("describe-account-limits", describe_account_limits); ("describe-instance-health", describe_instance_health); ("describe-load-balancer-attributes", describe_load_balancer_attributes); ("describe-load-balancer-policies", describe_load_balancer_policies); ("describe-load-balancer-policy-types", describe_load_balancer_policy_types); ("describe-load-balancers", describe_load_balancers); ("describe-tags", describe_tags); ("detach-load-balancer-from-subnets", detach_load_balancer_from_subnets); ("disable-availability-zones-for-load-balancer", disable_availability_zones_for_load_balancer); ("enable-availability-zones-for-load-balancer", enable_availability_zones_for_load_balancer); ("modify-load-balancer-attributes", modify_load_balancer_attributes); ("register-instances-with-load-balancer", register_instances_with_load_balancer); ("remove-tags", remove_tags); ("set-load-balancer-listener-s-s-l-certificate", set_load_balancer_listener_s_s_l_certificate); ("set-load-balancer-policies-for-backend-server", set_load_balancer_policies_for_backend_server); ("set-load-balancer-policies-of-listener", set_load_balancer_policies_of_listener)]
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>