package smaws-clients
Amazon Web Services SDK clients using EIO
Install
Dune Dependency
Authors
Maintainers
Sources
0.1.preview1.tar.gz
md5=18fb70dbc45e8d81a341b9bed6871bab
sha512=7607dc98acaeed5803b44c9ca32d90c88e7813d4b3e3ae4ec661a0bad16c88dc1476bc780877527ea4cd5a4b7398453c1bb600ce0db14d39afa05dc4762b5ba5
doc/src/smaws-clients.backup-gateway/serializers.ml.html
Source file serializers.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
open Smaws_Lib.Json.SerializeHelpers open Types let string__to_yojson = string_to_yojson let vpc_endpoint_to_yojson = string_to_yojson let vmware_category_to_yojson = string_to_yojson let vmware_tag_name_to_yojson = string_to_yojson let tag_key_to_yojson = string_to_yojson let tag_value_to_yojson = string_to_yojson let vmware_to_aws_tag_mapping_to_yojson = fun (x: vmware_to_aws_tag_mapping) -> assoc_to_yojson( [( "AwsTagValue", (Some (tag_value_to_yojson x.aws_tag_value))); ( "AwsTagKey", (Some (tag_key_to_yojson x.aws_tag_key))); ( "VmwareTagName", (Some (vmware_tag_name_to_yojson x.vmware_tag_name))); ( "VmwareCategory", (Some (vmware_category_to_yojson x.vmware_category))); ]) let vmware_to_aws_tag_mappings_to_yojson = fun tree -> list_to_yojson vmware_to_aws_tag_mapping_to_yojson tree let vmware_tag_to_yojson = fun (x: vmware_tag) -> assoc_to_yojson( [( "VmwareTagDescription", (option_to_yojson string__to_yojson x.vmware_tag_description)); ( "VmwareTagName", (option_to_yojson vmware_tag_name_to_yojson x.vmware_tag_name)); ( "VmwareCategory", (option_to_yojson vmware_category_to_yojson x.vmware_category)); ]) let = fun tree -> list_to_yojson vmware_tag_to_yojson tree let name_to_yojson = string_to_yojson let path_to_yojson = string_to_yojson let resource_arn_to_yojson = string_to_yojson let time_to_yojson = timestamp_to_yojson let virtual_machine_to_yojson = fun (x: virtual_machine) -> assoc_to_yojson( [( "LastBackupDate", (option_to_yojson time_to_yojson x.last_backup_date)); ( "ResourceArn", (option_to_yojson resource_arn_to_yojson x.resource_arn)); ( "Path", (option_to_yojson path_to_yojson x.path)); ( "Name", (option_to_yojson name_to_yojson x.name)); ( "HypervisorId", (option_to_yojson string__to_yojson x.hypervisor_id)); ( "HostName", (option_to_yojson name_to_yojson x.host_name)); ]) let virtual_machines_to_yojson = fun tree -> list_to_yojson virtual_machine_to_yojson tree let virtual_machine_details_to_yojson = fun (x: virtual_machine_details) -> assoc_to_yojson( [( "VmwareTags", (option_to_yojson vmware_tags_to_yojson x.vmware_tags)); ( "LastBackupDate", (option_to_yojson time_to_yojson x.last_backup_date)); ( "ResourceArn", (option_to_yojson resource_arn_to_yojson x.resource_arn)); ( "Path", (option_to_yojson path_to_yojson x.path)); ( "Name", (option_to_yojson name_to_yojson x.name)); ( "HypervisorId", (option_to_yojson string__to_yojson x.hypervisor_id)); ( "HostName", (option_to_yojson name_to_yojson x.host_name)); ]) let validation_exception_to_yojson = fun (x: validation_exception) -> assoc_to_yojson( [( "Message", (option_to_yojson string__to_yojson x.message)); ( "ErrorCode", (option_to_yojson string__to_yojson x.error_code)); ]) let username_to_yojson = string_to_yojson let server_arn_to_yojson = string_to_yojson let update_hypervisor_output_to_yojson = fun (x: update_hypervisor_output) -> assoc_to_yojson( [( "HypervisorArn", (option_to_yojson server_arn_to_yojson x.hypervisor_arn)); ]) let host_to_yojson = string_to_yojson let password_to_yojson = string_to_yojson let log_group_arn_to_yojson = string_to_yojson let update_hypervisor_input_to_yojson = fun (x: update_hypervisor_input) -> assoc_to_yojson( [( "LogGroupArn", (option_to_yojson log_group_arn_to_yojson x.log_group_arn)); ( "Name", (option_to_yojson name_to_yojson x.name)); ( "Password", (option_to_yojson password_to_yojson x.password)); ( "Username", (option_to_yojson username_to_yojson x.username)); ( "Host", (option_to_yojson host_to_yojson x.host)); ( "HypervisorArn", (Some (server_arn_to_yojson x.hypervisor_arn))); ]) let resource_not_found_exception_to_yojson = fun (x: resource_not_found_exception) -> assoc_to_yojson( [( "Message", (option_to_yojson string__to_yojson x.message)); ( "ErrorCode", (option_to_yojson string__to_yojson x.error_code)); ]) let conflict_exception_to_yojson = fun (x: conflict_exception) -> assoc_to_yojson( [( "Message", (option_to_yojson string__to_yojson x.message)); ( "ErrorCode", (Some (string__to_yojson x.error_code))); ]) let access_denied_exception_to_yojson = fun (x: access_denied_exception) -> assoc_to_yojson( [( "Message", (option_to_yojson string__to_yojson x.message)); ( "ErrorCode", (Some (string__to_yojson x.error_code))); ]) let gateway_arn_to_yojson = string_to_yojson let update_gateway_software_now_output_to_yojson = fun (x: update_gateway_software_now_output) -> assoc_to_yojson( [( "GatewayArn", (option_to_yojson gateway_arn_to_yojson x.gateway_arn)); ]) let update_gateway_software_now_input_to_yojson = fun (x: update_gateway_software_now_input) -> assoc_to_yojson( [( "GatewayArn", (Some (gateway_arn_to_yojson x.gateway_arn))); ]) let update_gateway_information_output_to_yojson = fun (x: update_gateway_information_output) -> assoc_to_yojson( [( "GatewayArn", (option_to_yojson gateway_arn_to_yojson x.gateway_arn)); ]) let update_gateway_information_input_to_yojson = fun (x: update_gateway_information_input) -> assoc_to_yojson( [( "GatewayDisplayName", (option_to_yojson name_to_yojson x.gateway_display_name)); ( "GatewayArn", (Some (gateway_arn_to_yojson x.gateway_arn))); ]) let untag_resource_output_to_yojson = fun (x: untag_resource_output) -> assoc_to_yojson( [( "ResourceARN", (option_to_yojson resource_arn_to_yojson x.resource_ar_n)); ]) let tag_keys_to_yojson = fun tree -> list_to_yojson tag_key_to_yojson tree let untag_resource_input_to_yojson = fun (x: untag_resource_input) -> assoc_to_yojson( [( "TagKeys", (Some (tag_keys_to_yojson x.tag_keys))); ( "ResourceARN", (Some (resource_arn_to_yojson x.resource_ar_n))); ]) let throttling_exception_to_yojson = fun (x: throttling_exception) -> assoc_to_yojson( [( "Message", (option_to_yojson string__to_yojson x.message)); ( "ErrorCode", (Some (string__to_yojson x.error_code))); ]) let test_hypervisor_configuration_output_to_yojson = fun (x: test_hypervisor_configuration_output) -> assoc_to_yojson( [ ]) let test_hypervisor_configuration_input_to_yojson = fun (x: test_hypervisor_configuration_input) -> assoc_to_yojson( [( "Password", (option_to_yojson password_to_yojson x.password)); ( "Username", (option_to_yojson username_to_yojson x.username)); ( "Host", (Some (host_to_yojson x.host))); ( "GatewayArn", (Some (gateway_arn_to_yojson x.gateway_arn))); ]) let tag_to_yojson = fun (x: tag) -> assoc_to_yojson( [( "Value", (Some (tag_value_to_yojson x.value))); ( "Key", (Some (tag_key_to_yojson x.key))); ]) let = fun tree -> list_to_yojson tag_to_yojson tree let tag_resource_output_to_yojson = fun (x: tag_resource_output) -> assoc_to_yojson( [( "ResourceARN", (option_to_yojson resource_arn_to_yojson x.resource_ar_n)); ]) let tag_resource_input_to_yojson = fun (x: tag_resource_input) -> assoc_to_yojson( [( "Tags", (Some (tags_to_yojson x.tags))); ( "ResourceARN", (Some (resource_arn_to_yojson x.resource_ar_n))); ]) let base_unit_to_yojson = unit_to_yojson let sync_metadata_status_to_yojson = fun (x: sync_metadata_status) -> match x with | CREATED -> `String "CREATED" | RUNNING -> `String "RUNNING" | FAILED -> `String "FAILED" | PARTIALLY_FAILED -> `String "PARTIALLY_FAILED" | SUCCEEDED -> `String "SUCCEEDED" let start_virtual_machines_metadata_sync_output_to_yojson = fun (x: start_virtual_machines_metadata_sync_output) -> assoc_to_yojson( [( "HypervisorArn", (option_to_yojson server_arn_to_yojson x.hypervisor_arn)); ]) let start_virtual_machines_metadata_sync_input_to_yojson = fun (x: start_virtual_machines_metadata_sync_input) -> assoc_to_yojson( [( "HypervisorArn", (Some (server_arn_to_yojson x.hypervisor_arn))); ]) let put_maintenance_start_time_output_to_yojson = fun (x: put_maintenance_start_time_output) -> assoc_to_yojson( [( "GatewayArn", (option_to_yojson gateway_arn_to_yojson x.gateway_arn)); ]) let hour_of_day_to_yojson = int_to_yojson let minute_of_hour_to_yojson = int_to_yojson let day_of_week_to_yojson = int_to_yojson let day_of_month_to_yojson = int_to_yojson let put_maintenance_start_time_input_to_yojson = fun (x: put_maintenance_start_time_input) -> assoc_to_yojson( [( "DayOfMonth", (option_to_yojson day_of_month_to_yojson x.day_of_month)); ( "DayOfWeek", (option_to_yojson day_of_week_to_yojson x.day_of_week)); ( "MinuteOfHour", (Some (minute_of_hour_to_yojson x.minute_of_hour))); ( "HourOfDay", (Some (hour_of_day_to_yojson x.hour_of_day))); ( "GatewayArn", (Some (gateway_arn_to_yojson x.gateway_arn))); ]) let put_hypervisor_property_mappings_output_to_yojson = fun (x: put_hypervisor_property_mappings_output) -> assoc_to_yojson( [( "HypervisorArn", (option_to_yojson server_arn_to_yojson x.hypervisor_arn)); ]) let iam_role_arn_to_yojson = string_to_yojson let put_hypervisor_property_mappings_input_to_yojson = fun (x: put_hypervisor_property_mappings_input) -> assoc_to_yojson( [( "IamRoleArn", (Some (iam_role_arn_to_yojson x.iam_role_arn))); ( "VmwareToAwsTagMappings", (Some (vmware_to_aws_tag_mappings_to_yojson x.vmware_to_aws_tag_mappings))); ( "HypervisorArn", (Some (server_arn_to_yojson x.hypervisor_arn))); ]) let put_bandwidth_rate_limit_schedule_output_to_yojson = fun (x: put_bandwidth_rate_limit_schedule_output) -> assoc_to_yojson( [( "GatewayArn", (option_to_yojson gateway_arn_to_yojson x.gateway_arn)); ]) let average_upload_rate_limit_to_yojson = long_to_yojson let days_of_week_to_yojson = fun tree -> list_to_yojson day_of_week_to_yojson tree let bandwidth_rate_limit_interval_to_yojson = fun (x: bandwidth_rate_limit_interval) -> assoc_to_yojson( [( "DaysOfWeek", (Some (days_of_week_to_yojson x.days_of_week))); ( "EndMinuteOfHour", (Some (minute_of_hour_to_yojson x.end_minute_of_hour))); ( "StartMinuteOfHour", (Some (minute_of_hour_to_yojson x.start_minute_of_hour))); ( "EndHourOfDay", (Some (hour_of_day_to_yojson x.end_hour_of_day))); ( "StartHourOfDay", (Some (hour_of_day_to_yojson x.start_hour_of_day))); ( "AverageUploadRateLimitInBitsPerSec", (option_to_yojson average_upload_rate_limit_to_yojson x.average_upload_rate_limit_in_bits_per_sec)); ]) let bandwidth_rate_limit_intervals_to_yojson = fun tree -> list_to_yojson bandwidth_rate_limit_interval_to_yojson tree let put_bandwidth_rate_limit_schedule_input_to_yojson = fun (x: put_bandwidth_rate_limit_schedule_input) -> assoc_to_yojson( [( "BandwidthRateLimitIntervals", (Some (bandwidth_rate_limit_intervals_to_yojson x.bandwidth_rate_limit_intervals))); ( "GatewayArn", (Some (gateway_arn_to_yojson x.gateway_arn))); ]) let next_token_to_yojson = string_to_yojson let max_results_to_yojson = int_to_yojson let maintenance_start_time_to_yojson = fun (x: maintenance_start_time) -> assoc_to_yojson( [( "MinuteOfHour", (Some (minute_of_hour_to_yojson x.minute_of_hour))); ( "HourOfDay", (Some (hour_of_day_to_yojson x.hour_of_day))); ( "DayOfWeek", (option_to_yojson day_of_week_to_yojson x.day_of_week)); ( "DayOfMonth", (option_to_yojson day_of_month_to_yojson x.day_of_month)); ]) let list_virtual_machines_output_to_yojson = fun (x: list_virtual_machines_output) -> assoc_to_yojson( [( "NextToken", (option_to_yojson next_token_to_yojson x.next_token)); ( "VirtualMachines", (option_to_yojson virtual_machines_to_yojson x.virtual_machines)); ]) let list_virtual_machines_input_to_yojson = fun (x: list_virtual_machines_input) -> assoc_to_yojson( [( "NextToken", (option_to_yojson next_token_to_yojson x.next_token)); ( "MaxResults", (option_to_yojson max_results_to_yojson x.max_results)); ( "HypervisorArn", (option_to_yojson server_arn_to_yojson x.hypervisor_arn)); ]) let = fun (x: list_tags_for_resource_output) -> assoc_to_yojson( [( "Tags", (option_to_yojson tags_to_yojson x.tags)); ( "ResourceArn", (option_to_yojson resource_arn_to_yojson x.resource_arn)); ]) let = fun (x: list_tags_for_resource_input) -> assoc_to_yojson( [( "ResourceArn", (Some (resource_arn_to_yojson x.resource_arn))); ]) let kms_key_arn_to_yojson = string_to_yojson let hypervisor_state_to_yojson = fun (x: hypervisor_state) -> match x with | PENDING -> `String "PENDING" | ONLINE -> `String "ONLINE" | OFFLINE -> `String "OFFLINE" | ERROR -> `String "ERROR" let hypervisor_to_yojson = fun (x: hypervisor) -> assoc_to_yojson( [( "State", (option_to_yojson hypervisor_state_to_yojson x.state)); ( "Name", (option_to_yojson name_to_yojson x.name)); ( "KmsKeyArn", (option_to_yojson kms_key_arn_to_yojson x.kms_key_arn)); ( "HypervisorArn", (option_to_yojson server_arn_to_yojson x.hypervisor_arn)); ( "Host", (option_to_yojson host_to_yojson x.host)); ]) let hypervisors_to_yojson = fun tree -> list_to_yojson hypervisor_to_yojson tree let list_hypervisors_output_to_yojson = fun (x: list_hypervisors_output) -> assoc_to_yojson( [( "NextToken", (option_to_yojson next_token_to_yojson x.next_token)); ( "Hypervisors", (option_to_yojson hypervisors_to_yojson x.hypervisors)); ]) let list_hypervisors_input_to_yojson = fun (x: list_hypervisors_input) -> assoc_to_yojson( [( "NextToken", (option_to_yojson next_token_to_yojson x.next_token)); ( "MaxResults", (option_to_yojson max_results_to_yojson x.max_results)); ]) let gateway_type_to_yojson = fun (x: gateway_type) -> match x with | BACKUP_VM -> `String "BACKUP_VM" let hypervisor_id_to_yojson = string_to_yojson let gateway_to_yojson = fun (x: gateway) -> assoc_to_yojson( [( "LastSeenTime", (option_to_yojson time_to_yojson x.last_seen_time)); ( "HypervisorId", (option_to_yojson hypervisor_id_to_yojson x.hypervisor_id)); ( "GatewayType", (option_to_yojson gateway_type_to_yojson x.gateway_type)); ( "GatewayDisplayName", (option_to_yojson name_to_yojson x.gateway_display_name)); ( "GatewayArn", (option_to_yojson gateway_arn_to_yojson x.gateway_arn)); ]) let gateways_to_yojson = fun tree -> list_to_yojson gateway_to_yojson tree let list_gateways_output_to_yojson = fun (x: list_gateways_output) -> assoc_to_yojson( [( "NextToken", (option_to_yojson next_token_to_yojson x.next_token)); ( "Gateways", (option_to_yojson gateways_to_yojson x.gateways)); ]) let list_gateways_input_to_yojson = fun (x: list_gateways_input) -> assoc_to_yojson( [( "NextToken", (option_to_yojson next_token_to_yojson x.next_token)); ( "MaxResults", (option_to_yojson max_results_to_yojson x.max_results)); ]) let internal_server_exception_to_yojson = fun (x: internal_server_exception) -> assoc_to_yojson( [( "Message", (option_to_yojson string__to_yojson x.message)); ( "ErrorCode", (option_to_yojson string__to_yojson x.error_code)); ]) let import_hypervisor_configuration_output_to_yojson = fun (x: import_hypervisor_configuration_output) -> assoc_to_yojson( [( "HypervisorArn", (option_to_yojson server_arn_to_yojson x.hypervisor_arn)); ]) let import_hypervisor_configuration_input_to_yojson = fun (x: import_hypervisor_configuration_input) -> assoc_to_yojson( [( "Tags", (option_to_yojson tags_to_yojson x.tags)); ( "KmsKeyArn", (option_to_yojson kms_key_arn_to_yojson x.kms_key_arn)); ( "Password", (option_to_yojson password_to_yojson x.password)); ( "Username", (option_to_yojson username_to_yojson x.username)); ( "Host", (Some (host_to_yojson x.host))); ( "Name", (Some (name_to_yojson x.name))); ]) let hypervisor_details_to_yojson = fun (x: hypervisor_details) -> assoc_to_yojson( [( "LatestMetadataSyncStatus", (option_to_yojson sync_metadata_status_to_yojson x.latest_metadata_sync_status)); ( "LatestMetadataSyncStatusMessage", (option_to_yojson string__to_yojson x.latest_metadata_sync_status_message)); ( "LastSuccessfulMetadataSyncTime", (option_to_yojson time_to_yojson x.last_successful_metadata_sync_time)); ( "State", (option_to_yojson hypervisor_state_to_yojson x.state)); ( "LogGroupArn", (option_to_yojson log_group_arn_to_yojson x.log_group_arn)); ( "Name", (option_to_yojson name_to_yojson x.name)); ( "KmsKeyArn", (option_to_yojson kms_key_arn_to_yojson x.kms_key_arn)); ( "HypervisorArn", (option_to_yojson server_arn_to_yojson x.hypervisor_arn)); ( "Host", (option_to_yojson host_to_yojson x.host)); ]) let get_virtual_machine_output_to_yojson = fun (x: get_virtual_machine_output) -> assoc_to_yojson( [( "VirtualMachine", (option_to_yojson virtual_machine_details_to_yojson x.virtual_machine)); ]) let get_virtual_machine_input_to_yojson = fun (x: get_virtual_machine_input) -> assoc_to_yojson( [( "ResourceArn", (Some (resource_arn_to_yojson x.resource_arn))); ]) let get_hypervisor_property_mappings_output_to_yojson = fun (x: get_hypervisor_property_mappings_output) -> assoc_to_yojson( [( "IamRoleArn", (option_to_yojson iam_role_arn_to_yojson x.iam_role_arn)); ( "VmwareToAwsTagMappings", (option_to_yojson vmware_to_aws_tag_mappings_to_yojson x.vmware_to_aws_tag_mappings)); ( "HypervisorArn", (option_to_yojson server_arn_to_yojson x.hypervisor_arn)); ]) let get_hypervisor_property_mappings_input_to_yojson = fun (x: get_hypervisor_property_mappings_input) -> assoc_to_yojson( [( "HypervisorArn", (Some (server_arn_to_yojson x.hypervisor_arn))); ]) let get_hypervisor_output_to_yojson = fun (x: get_hypervisor_output) -> assoc_to_yojson( [( "Hypervisor", (option_to_yojson hypervisor_details_to_yojson x.hypervisor)); ]) let get_hypervisor_input_to_yojson = fun (x: get_hypervisor_input) -> assoc_to_yojson( [( "HypervisorArn", (Some (server_arn_to_yojson x.hypervisor_arn))); ]) let gateway_details_to_yojson = fun (x: gateway_details) -> assoc_to_yojson( [( "VpcEndpoint", (option_to_yojson vpc_endpoint_to_yojson x.vpc_endpoint)); ( "NextUpdateAvailabilityTime", (option_to_yojson time_to_yojson x.next_update_availability_time)); ( "MaintenanceStartTime", (option_to_yojson maintenance_start_time_to_yojson x.maintenance_start_time)); ( "LastSeenTime", (option_to_yojson time_to_yojson x.last_seen_time)); ( "HypervisorId", (option_to_yojson hypervisor_id_to_yojson x.hypervisor_id)); ( "GatewayType", (option_to_yojson gateway_type_to_yojson x.gateway_type)); ( "GatewayDisplayName", (option_to_yojson name_to_yojson x.gateway_display_name)); ( "GatewayArn", (option_to_yojson gateway_arn_to_yojson x.gateway_arn)); ]) let get_gateway_output_to_yojson = fun (x: get_gateway_output) -> assoc_to_yojson( [( "Gateway", (option_to_yojson gateway_details_to_yojson x.gateway)); ]) let get_gateway_input_to_yojson = fun (x: get_gateway_input) -> assoc_to_yojson( [( "GatewayArn", (Some (gateway_arn_to_yojson x.gateway_arn))); ]) let get_bandwidth_rate_limit_schedule_output_to_yojson = fun (x: get_bandwidth_rate_limit_schedule_output) -> assoc_to_yojson( [( "BandwidthRateLimitIntervals", (option_to_yojson bandwidth_rate_limit_intervals_to_yojson x.bandwidth_rate_limit_intervals)); ( "GatewayArn", (option_to_yojson gateway_arn_to_yojson x.gateway_arn)); ]) let get_bandwidth_rate_limit_schedule_input_to_yojson = fun (x: get_bandwidth_rate_limit_schedule_input) -> assoc_to_yojson( [( "GatewayArn", (Some (gateway_arn_to_yojson x.gateway_arn))); ]) let disassociate_gateway_from_server_output_to_yojson = fun (x: disassociate_gateway_from_server_output) -> assoc_to_yojson( [( "GatewayArn", (option_to_yojson gateway_arn_to_yojson x.gateway_arn)); ]) let disassociate_gateway_from_server_input_to_yojson = fun (x: disassociate_gateway_from_server_input) -> assoc_to_yojson( [( "GatewayArn", (Some (gateway_arn_to_yojson x.gateway_arn))); ]) let delete_hypervisor_output_to_yojson = fun (x: delete_hypervisor_output) -> assoc_to_yojson( [( "HypervisorArn", (option_to_yojson server_arn_to_yojson x.hypervisor_arn)); ]) let delete_hypervisor_input_to_yojson = fun (x: delete_hypervisor_input) -> assoc_to_yojson( [( "HypervisorArn", (Some (server_arn_to_yojson x.hypervisor_arn))); ]) let delete_gateway_output_to_yojson = fun (x: delete_gateway_output) -> assoc_to_yojson( [( "GatewayArn", (option_to_yojson gateway_arn_to_yojson x.gateway_arn)); ]) let delete_gateway_input_to_yojson = fun (x: delete_gateway_input) -> assoc_to_yojson( [( "GatewayArn", (Some (gateway_arn_to_yojson x.gateway_arn))); ]) let create_gateway_output_to_yojson = fun (x: create_gateway_output) -> assoc_to_yojson( [( "GatewayArn", (option_to_yojson gateway_arn_to_yojson x.gateway_arn)); ]) let activation_key_to_yojson = string_to_yojson let create_gateway_input_to_yojson = fun (x: create_gateway_input) -> assoc_to_yojson( [( "Tags", (option_to_yojson tags_to_yojson x.tags)); ( "GatewayType", (Some (gateway_type_to_yojson x.gateway_type))); ( "GatewayDisplayName", (Some (name_to_yojson x.gateway_display_name))); ( "ActivationKey", (Some (activation_key_to_yojson x.activation_key))); ]) let associate_gateway_to_server_output_to_yojson = fun (x: associate_gateway_to_server_output) -> assoc_to_yojson( [( "GatewayArn", (option_to_yojson gateway_arn_to_yojson x.gateway_arn)); ]) let associate_gateway_to_server_input_to_yojson = fun (x: associate_gateway_to_server_input) -> assoc_to_yojson( [( "ServerArn", (Some (server_arn_to_yojson x.server_arn))); ( "GatewayArn", (Some (gateway_arn_to_yojson x.gateway_arn))); ]) let base_string_to_yojson = string_to_yojson let base_boolean_to_yojson = bool_to_yojson let base_integer_to_yojson = int_to_yojson let base_timestamp_to_yojson = timestamp_to_yojson let base_long_to_yojson = long_to_yojson let base_document_to_yojson = json_to_yojson
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>