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.dax/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 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
open Smaws_Lib.Json.SerializeHelpers open Types let string__to_yojson = string_to_yojson let subnet_to_yojson = fun (x: subnet) -> assoc_to_yojson( [( "SubnetAvailabilityZone", (option_to_yojson string__to_yojson x.subnet_availability_zone)); ( "SubnetIdentifier", (option_to_yojson string__to_yojson x.subnet_identifier)); ]) let subnet_list_to_yojson = fun tree -> list_to_yojson subnet_to_yojson tree let subnet_group_to_yojson = fun (x: subnet_group) -> assoc_to_yojson( [( "Subnets", (option_to_yojson subnet_list_to_yojson x.subnets)); ( "VpcId", (option_to_yojson string__to_yojson x.vpc_id)); ( "Description", (option_to_yojson string__to_yojson x.description)); ( "SubnetGroupName", (option_to_yojson string__to_yojson x.subnet_group_name)); ]) let update_subnet_group_response_to_yojson = fun (x: update_subnet_group_response) -> assoc_to_yojson( [( "SubnetGroup", (option_to_yojson subnet_group_to_yojson x.subnet_group)); ]) let subnet_identifier_list_to_yojson = fun tree -> list_to_yojson string__to_yojson tree let update_subnet_group_request_to_yojson = fun (x: update_subnet_group_request) -> assoc_to_yojson( [( "SubnetIds", (option_to_yojson subnet_identifier_list_to_yojson x.subnet_ids)); ( "Description", (option_to_yojson string__to_yojson x.description)); ( "SubnetGroupName", (Some (string__to_yojson x.subnet_group_name))); ]) let exception_message_to_yojson = string_to_yojson let subnet_quota_exceeded_fault_to_yojson = fun (x: subnet_quota_exceeded_fault) -> assoc_to_yojson( [( "message", (option_to_yojson exception_message_to_yojson x.message)); ]) let subnet_in_use_to_yojson = fun (x: subnet_in_use) -> assoc_to_yojson( [( "message", (option_to_yojson exception_message_to_yojson x.message)); ]) let subnet_group_not_found_fault_to_yojson = fun (x: subnet_group_not_found_fault) -> assoc_to_yojson( [( "message", (option_to_yojson exception_message_to_yojson x.message)); ]) let service_linked_role_not_found_fault_to_yojson = fun (x: service_linked_role_not_found_fault) -> assoc_to_yojson( [( "message", (option_to_yojson exception_message_to_yojson x.message)); ]) let invalid_subnet_to_yojson = fun (x: invalid_subnet) -> assoc_to_yojson( [( "message", (option_to_yojson exception_message_to_yojson x.message)); ]) let parameter_group_to_yojson = fun (x: parameter_group) -> assoc_to_yojson( [( "Description", (option_to_yojson string__to_yojson x.description)); ( "ParameterGroupName", (option_to_yojson string__to_yojson x.parameter_group_name)); ]) let update_parameter_group_response_to_yojson = fun (x: update_parameter_group_response) -> assoc_to_yojson( [( "ParameterGroup", (option_to_yojson parameter_group_to_yojson x.parameter_group)); ]) let parameter_name_value_to_yojson = fun (x: parameter_name_value) -> assoc_to_yojson( [( "ParameterValue", (option_to_yojson string__to_yojson x.parameter_value)); ( "ParameterName", (option_to_yojson string__to_yojson x.parameter_name)); ]) let parameter_name_value_list_to_yojson = fun tree -> list_to_yojson parameter_name_value_to_yojson tree let update_parameter_group_request_to_yojson = fun (x: update_parameter_group_request) -> assoc_to_yojson( [( "ParameterNameValues", (Some (parameter_name_value_list_to_yojson x.parameter_name_values))); ( "ParameterGroupName", (Some (string__to_yojson x.parameter_group_name))); ]) let parameter_group_not_found_fault_to_yojson = fun (x: parameter_group_not_found_fault) -> assoc_to_yojson( [( "message", (option_to_yojson exception_message_to_yojson x.message)); ]) let aws_query_error_message_to_yojson = string_to_yojson let invalid_parameter_value_exception_to_yojson = fun (x: invalid_parameter_value_exception) -> assoc_to_yojson( [( "message", (option_to_yojson aws_query_error_message_to_yojson x.message)); ]) let invalid_parameter_group_state_fault_to_yojson = fun (x: invalid_parameter_group_state_fault) -> assoc_to_yojson( [( "message", (option_to_yojson exception_message_to_yojson x.message)); ]) let invalid_parameter_combination_exception_to_yojson = fun (x: invalid_parameter_combination_exception) -> assoc_to_yojson( [( "message", (option_to_yojson aws_query_error_message_to_yojson x.message)); ]) let integer_optional_to_yojson = int_to_yojson let integer__to_yojson = int_to_yojson let endpoint_to_yojson = fun (x: endpoint) -> assoc_to_yojson( [( "URL", (option_to_yojson string__to_yojson x.ur_l)); ( "Port", (option_to_yojson integer__to_yojson x.port)); ( "Address", (option_to_yojson string__to_yojson x.address)); ]) let node_identifier_list_to_yojson = fun tree -> list_to_yojson string__to_yojson tree let t_stamp_to_yojson = timestamp_to_yojson let node_to_yojson = fun (x: node) -> assoc_to_yojson( [( "ParameterGroupStatus", (option_to_yojson string__to_yojson x.parameter_group_status)); ( "NodeStatus", (option_to_yojson string__to_yojson x.node_status)); ( "AvailabilityZone", (option_to_yojson string__to_yojson x.availability_zone)); ( "NodeCreateTime", (option_to_yojson t_stamp_to_yojson x.node_create_time)); ( "Endpoint", (option_to_yojson endpoint_to_yojson x.endpoint)); ( "NodeId", (option_to_yojson string__to_yojson x.node_id)); ]) let node_list_to_yojson = fun tree -> list_to_yojson node_to_yojson tree let notification_configuration_to_yojson = fun (x: notification_configuration) -> assoc_to_yojson( [( "TopicStatus", (option_to_yojson string__to_yojson x.topic_status)); ( "TopicArn", (option_to_yojson string__to_yojson x.topic_arn)); ]) let security_group_membership_to_yojson = fun (x: security_group_membership) -> assoc_to_yojson( [( "Status", (option_to_yojson string__to_yojson x.status)); ( "SecurityGroupIdentifier", (option_to_yojson string__to_yojson x.security_group_identifier)); ]) let security_group_membership_list_to_yojson = fun tree -> list_to_yojson security_group_membership_to_yojson tree let parameter_group_status_to_yojson = fun (x: parameter_group_status) -> assoc_to_yojson( [( "NodeIdsToReboot", (option_to_yojson node_identifier_list_to_yojson x.node_ids_to_reboot)); ( "ParameterApplyStatus", (option_to_yojson string__to_yojson x.parameter_apply_status)); ( "ParameterGroupName", (option_to_yojson string__to_yojson x.parameter_group_name)); ]) let base_unit_to_yojson = unit_to_yojson let sse_status_to_yojson = fun (x: sse_status) -> match x with | DISABLED -> `String "DISABLED" | DISABLING -> `String "DISABLING" | ENABLED -> `String "ENABLED" | ENABLING -> `String "ENABLING" let sse_description_to_yojson = fun (x: sse_description) -> assoc_to_yojson( [( "Status", (option_to_yojson sse_status_to_yojson x.status)); ]) let cluster_endpoint_encryption_type_to_yojson = fun (x: cluster_endpoint_encryption_type) -> match x with | TLS -> `String "TLS" | NONE -> `String "NONE" let cluster_to_yojson = fun (x: cluster) -> assoc_to_yojson( [( "ClusterEndpointEncryptionType", (option_to_yojson cluster_endpoint_encryption_type_to_yojson x.cluster_endpoint_encryption_type)); ( "SSEDescription", (option_to_yojson sse_description_to_yojson x.sse_description)); ( "ParameterGroup", (option_to_yojson parameter_group_status_to_yojson x.parameter_group)); ( "IamRoleArn", (option_to_yojson string__to_yojson x.iam_role_arn)); ( "SecurityGroups", (option_to_yojson security_group_membership_list_to_yojson x.security_groups)); ( "SubnetGroup", (option_to_yojson string__to_yojson x.subnet_group)); ( "NotificationConfiguration", (option_to_yojson notification_configuration_to_yojson x.notification_configuration)); ( "PreferredMaintenanceWindow", (option_to_yojson string__to_yojson x.preferred_maintenance_window)); ( "Nodes", (option_to_yojson node_list_to_yojson x.nodes)); ( "NodeIdsToRemove", (option_to_yojson node_identifier_list_to_yojson x.node_ids_to_remove)); ( "ClusterDiscoveryEndpoint", (option_to_yojson endpoint_to_yojson x.cluster_discovery_endpoint)); ( "Status", (option_to_yojson string__to_yojson x.status)); ( "NodeType", (option_to_yojson string__to_yojson x.node_type)); ( "ActiveNodes", (option_to_yojson integer_optional_to_yojson x.active_nodes)); ( "TotalNodes", (option_to_yojson integer_optional_to_yojson x.total_nodes)); ( "ClusterArn", (option_to_yojson string__to_yojson x.cluster_arn)); ( "Description", (option_to_yojson string__to_yojson x.description)); ( "ClusterName", (option_to_yojson string__to_yojson x.cluster_name)); ]) let update_cluster_response_to_yojson = fun (x: update_cluster_response) -> assoc_to_yojson( [( "Cluster", (option_to_yojson cluster_to_yojson x.cluster)); ]) let security_group_identifier_list_to_yojson = fun tree -> list_to_yojson string__to_yojson tree let update_cluster_request_to_yojson = fun (x: update_cluster_request) -> assoc_to_yojson( [( "SecurityGroupIds", (option_to_yojson security_group_identifier_list_to_yojson x.security_group_ids)); ( "ParameterGroupName", (option_to_yojson string__to_yojson x.parameter_group_name)); ( "NotificationTopicStatus", (option_to_yojson string__to_yojson x.notification_topic_status)); ( "NotificationTopicArn", (option_to_yojson string__to_yojson x.notification_topic_arn)); ( "PreferredMaintenanceWindow", (option_to_yojson string__to_yojson x.preferred_maintenance_window)); ( "Description", (option_to_yojson string__to_yojson x.description)); ( "ClusterName", (Some (string__to_yojson x.cluster_name))); ]) let invalid_cluster_state_fault_to_yojson = fun (x: invalid_cluster_state_fault) -> assoc_to_yojson( [( "message", (option_to_yojson exception_message_to_yojson x.message)); ]) let cluster_not_found_fault_to_yojson = fun (x: cluster_not_found_fault) -> assoc_to_yojson( [( "message", (option_to_yojson exception_message_to_yojson x.message)); ]) let tag_to_yojson = fun (x: tag) -> assoc_to_yojson( [( "Value", (option_to_yojson string__to_yojson x.value)); ( "Key", (option_to_yojson string__to_yojson x.key)); ]) let tag_list_to_yojson = fun tree -> list_to_yojson tag_to_yojson tree let untag_resource_response_to_yojson = fun (x: untag_resource_response) -> assoc_to_yojson( [( "Tags", (option_to_yojson tag_list_to_yojson x.tags)); ]) let key_list_to_yojson = fun tree -> list_to_yojson string__to_yojson tree let untag_resource_request_to_yojson = fun (x: untag_resource_request) -> assoc_to_yojson( [( "TagKeys", (Some (key_list_to_yojson x.tag_keys))); ( "ResourceName", (Some (string__to_yojson x.resource_name))); ]) let tag_not_found_fault_to_yojson = fun (x: tag_not_found_fault) -> assoc_to_yojson( [( "message", (option_to_yojson exception_message_to_yojson x.message)); ]) let invalid_arn_fault_to_yojson = fun (x: invalid_arn_fault) -> assoc_to_yojson( [( "message", (option_to_yojson exception_message_to_yojson x.message)); ]) let tag_resource_response_to_yojson = fun (x: tag_resource_response) -> assoc_to_yojson( [( "Tags", (option_to_yojson tag_list_to_yojson x.tags)); ]) let tag_resource_request_to_yojson = fun (x: tag_resource_request) -> assoc_to_yojson( [( "Tags", (Some (tag_list_to_yojson x.tags))); ( "ResourceName", (Some (string__to_yojson x.resource_name))); ]) let tag_quota_per_resource_exceeded_to_yojson = fun (x: tag_quota_per_resource_exceeded) -> assoc_to_yojson( [( "message", (option_to_yojson exception_message_to_yojson x.message)); ]) let subnet_group_quota_exceeded_fault_to_yojson = fun (x: subnet_group_quota_exceeded_fault) -> assoc_to_yojson( [( "message", (option_to_yojson exception_message_to_yojson x.message)); ]) let subnet_group_name_list_to_yojson = fun tree -> list_to_yojson string__to_yojson tree let subnet_group_list_to_yojson = fun tree -> list_to_yojson subnet_group_to_yojson tree let subnet_group_in_use_fault_to_yojson = fun (x: subnet_group_in_use_fault) -> assoc_to_yojson( [( "message", (option_to_yojson exception_message_to_yojson x.message)); ]) let subnet_group_already_exists_fault_to_yojson = fun (x: subnet_group_already_exists_fault) -> assoc_to_yojson( [( "message", (option_to_yojson exception_message_to_yojson x.message)); ]) let source_type_to_yojson = fun (x: source_type) -> match x with | SUBNET_GROUP -> `String "SUBNET_GROUP" | PARAMETER_GROUP -> `String "PARAMETER_GROUP" | CLUSTER -> `String "CLUSTER" let service_quota_exceeded_exception_to_yojson = fun (x: service_quota_exceeded_exception) -> assoc_to_yojson( [ ]) let sse_enabled_to_yojson = bool_to_yojson let sse_specification_to_yojson = fun (x: sse_specification) -> assoc_to_yojson( [( "Enabled", (Some (sse_enabled_to_yojson x.enabled))); ]) let reboot_node_response_to_yojson = fun (x: reboot_node_response) -> assoc_to_yojson( [( "Cluster", (option_to_yojson cluster_to_yojson x.cluster)); ]) let reboot_node_request_to_yojson = fun (x: reboot_node_request) -> assoc_to_yojson( [( "NodeId", (Some (string__to_yojson x.node_id))); ( "ClusterName", (Some (string__to_yojson x.cluster_name))); ]) let node_not_found_fault_to_yojson = fun (x: node_not_found_fault) -> assoc_to_yojson( [( "message", (option_to_yojson exception_message_to_yojson x.message)); ]) let parameter_type_to_yojson = fun (x: parameter_type) -> match x with | NODE_TYPE_SPECIFIC -> `String "NODE_TYPE_SPECIFIC" | DEFAULT -> `String "DEFAULT" let node_type_specific_value_to_yojson = fun (x: node_type_specific_value) -> assoc_to_yojson( [( "Value", (option_to_yojson string__to_yojson x.value)); ( "NodeType", (option_to_yojson string__to_yojson x.node_type)); ]) let node_type_specific_value_list_to_yojson = fun tree -> list_to_yojson node_type_specific_value_to_yojson tree let is_modifiable_to_yojson = fun (x: is_modifiable) -> match x with | CONDITIONAL -> `String "CONDITIONAL" | FALSE -> `String "FALSE" | TRUE -> `String "TRUE" let change_type_to_yojson = fun (x: change_type) -> match x with | REQUIRES_REBOOT -> `String "REQUIRES_REBOOT" | IMMEDIATE -> `String "IMMEDIATE" let parameter_to_yojson = fun (x: parameter) -> assoc_to_yojson( [( "ChangeType", (option_to_yojson change_type_to_yojson x.change_type)); ( "IsModifiable", (option_to_yojson is_modifiable_to_yojson x.is_modifiable)); ( "AllowedValues", (option_to_yojson string__to_yojson x.allowed_values)); ( "DataType", (option_to_yojson string__to_yojson x.data_type)); ( "Source", (option_to_yojson string__to_yojson x.source)); ( "Description", (option_to_yojson string__to_yojson x.description)); ( "NodeTypeSpecificValues", (option_to_yojson node_type_specific_value_list_to_yojson x.node_type_specific_values)); ( "ParameterValue", (option_to_yojson string__to_yojson x.parameter_value)); ( "ParameterType", (option_to_yojson parameter_type_to_yojson x.parameter_type)); ( "ParameterName", (option_to_yojson string__to_yojson x.parameter_name)); ]) let parameter_list_to_yojson = fun tree -> list_to_yojson parameter_to_yojson tree let parameter_group_quota_exceeded_fault_to_yojson = fun (x: parameter_group_quota_exceeded_fault) -> assoc_to_yojson( [( "message", (option_to_yojson exception_message_to_yojson x.message)); ]) let parameter_group_name_list_to_yojson = fun tree -> list_to_yojson string__to_yojson tree let parameter_group_list_to_yojson = fun tree -> list_to_yojson parameter_group_to_yojson tree let parameter_group_already_exists_fault_to_yojson = fun (x: parameter_group_already_exists_fault) -> assoc_to_yojson( [( "message", (option_to_yojson exception_message_to_yojson x.message)); ]) let node_quota_for_customer_exceeded_fault_to_yojson = fun (x: node_quota_for_customer_exceeded_fault) -> assoc_to_yojson( [( "message", (option_to_yojson exception_message_to_yojson x.message)); ]) let node_quota_for_cluster_exceeded_fault_to_yojson = fun (x: node_quota_for_cluster_exceeded_fault) -> assoc_to_yojson( [( "message", (option_to_yojson exception_message_to_yojson x.message)); ]) let = fun (x: list_tags_response) -> assoc_to_yojson( [( "NextToken", (option_to_yojson string__to_yojson x.next_token)); ( "Tags", (option_to_yojson tag_list_to_yojson x.tags)); ]) let = fun (x: list_tags_request) -> assoc_to_yojson( [( "NextToken", (option_to_yojson string__to_yojson x.next_token)); ( "ResourceName", (Some (string__to_yojson x.resource_name))); ]) let invalid_vpc_network_state_fault_to_yojson = fun (x: invalid_vpc_network_state_fault) -> assoc_to_yojson( [( "message", (option_to_yojson exception_message_to_yojson x.message)); ]) let insufficient_cluster_capacity_fault_to_yojson = fun (x: insufficient_cluster_capacity_fault) -> assoc_to_yojson( [( "message", (option_to_yojson exception_message_to_yojson x.message)); ]) let increase_replication_factor_response_to_yojson = fun (x: increase_replication_factor_response) -> assoc_to_yojson( [( "Cluster", (option_to_yojson cluster_to_yojson x.cluster)); ]) let availability_zone_list_to_yojson = fun tree -> list_to_yojson string__to_yojson tree let increase_replication_factor_request_to_yojson = fun (x: increase_replication_factor_request) -> assoc_to_yojson( [( "AvailabilityZones", (option_to_yojson availability_zone_list_to_yojson x.availability_zones)); ( "NewReplicationFactor", (Some (integer__to_yojson x.new_replication_factor))); ( "ClusterName", (Some (string__to_yojson x.cluster_name))); ]) let event_to_yojson = fun (x: event) -> assoc_to_yojson( [( "Date", (option_to_yojson t_stamp_to_yojson x.date)); ( "Message", (option_to_yojson string__to_yojson x.message)); ( "SourceType", (option_to_yojson source_type_to_yojson x.source_type)); ( "SourceName", (option_to_yojson string__to_yojson x.source_name)); ]) let event_list_to_yojson = fun tree -> list_to_yojson event_to_yojson tree let describe_subnet_groups_response_to_yojson = fun (x: describe_subnet_groups_response) -> assoc_to_yojson( [( "SubnetGroups", (option_to_yojson subnet_group_list_to_yojson x.subnet_groups)); ( "NextToken", (option_to_yojson string__to_yojson x.next_token)); ]) let describe_subnet_groups_request_to_yojson = fun (x: describe_subnet_groups_request) -> assoc_to_yojson( [( "NextToken", (option_to_yojson string__to_yojson x.next_token)); ( "MaxResults", (option_to_yojson integer_optional_to_yojson x.max_results)); ( "SubnetGroupNames", (option_to_yojson subnet_group_name_list_to_yojson x.subnet_group_names)); ]) let describe_parameters_response_to_yojson = fun (x: describe_parameters_response) -> assoc_to_yojson( [( "Parameters", (option_to_yojson parameter_list_to_yojson x.parameters)); ( "NextToken", (option_to_yojson string__to_yojson x.next_token)); ]) let describe_parameters_request_to_yojson = fun (x: describe_parameters_request) -> assoc_to_yojson( [( "NextToken", (option_to_yojson string__to_yojson x.next_token)); ( "MaxResults", (option_to_yojson integer_optional_to_yojson x.max_results)); ( "Source", (option_to_yojson string__to_yojson x.source)); ( "ParameterGroupName", (Some (string__to_yojson x.parameter_group_name))); ]) let describe_parameter_groups_response_to_yojson = fun (x: describe_parameter_groups_response) -> assoc_to_yojson( [( "ParameterGroups", (option_to_yojson parameter_group_list_to_yojson x.parameter_groups)); ( "NextToken", (option_to_yojson string__to_yojson x.next_token)); ]) let describe_parameter_groups_request_to_yojson = fun (x: describe_parameter_groups_request) -> assoc_to_yojson( [( "NextToken", (option_to_yojson string__to_yojson x.next_token)); ( "MaxResults", (option_to_yojson integer_optional_to_yojson x.max_results)); ( "ParameterGroupNames", (option_to_yojson parameter_group_name_list_to_yojson x.parameter_group_names)); ]) let describe_events_response_to_yojson = fun (x: describe_events_response) -> assoc_to_yojson( [( "Events", (option_to_yojson event_list_to_yojson x.events)); ( "NextToken", (option_to_yojson string__to_yojson x.next_token)); ]) let describe_events_request_to_yojson = fun (x: describe_events_request) -> assoc_to_yojson( [( "NextToken", (option_to_yojson string__to_yojson x.next_token)); ( "MaxResults", (option_to_yojson integer_optional_to_yojson x.max_results)); ( "Duration", (option_to_yojson integer_optional_to_yojson x.duration)); ( "EndTime", (option_to_yojson t_stamp_to_yojson x.end_time)); ( "StartTime", (option_to_yojson t_stamp_to_yojson x.start_time)); ( "SourceType", (option_to_yojson source_type_to_yojson x.source_type)); ( "SourceName", (option_to_yojson string__to_yojson x.source_name)); ]) let describe_default_parameters_response_to_yojson = fun (x: describe_default_parameters_response) -> assoc_to_yojson( [( "Parameters", (option_to_yojson parameter_list_to_yojson x.parameters)); ( "NextToken", (option_to_yojson string__to_yojson x.next_token)); ]) let describe_default_parameters_request_to_yojson = fun (x: describe_default_parameters_request) -> assoc_to_yojson( [( "NextToken", (option_to_yojson string__to_yojson x.next_token)); ( "MaxResults", (option_to_yojson integer_optional_to_yojson x.max_results)); ]) let cluster_list_to_yojson = fun tree -> list_to_yojson cluster_to_yojson tree let describe_clusters_response_to_yojson = fun (x: describe_clusters_response) -> assoc_to_yojson( [( "Clusters", (option_to_yojson cluster_list_to_yojson x.clusters)); ( "NextToken", (option_to_yojson string__to_yojson x.next_token)); ]) let cluster_name_list_to_yojson = fun tree -> list_to_yojson string__to_yojson tree let describe_clusters_request_to_yojson = fun (x: describe_clusters_request) -> assoc_to_yojson( [( "NextToken", (option_to_yojson string__to_yojson x.next_token)); ( "MaxResults", (option_to_yojson integer_optional_to_yojson x.max_results)); ( "ClusterNames", (option_to_yojson cluster_name_list_to_yojson x.cluster_names)); ]) let delete_subnet_group_response_to_yojson = fun (x: delete_subnet_group_response) -> assoc_to_yojson( [( "DeletionMessage", (option_to_yojson string__to_yojson x.deletion_message)); ]) let delete_subnet_group_request_to_yojson = fun (x: delete_subnet_group_request) -> assoc_to_yojson( [( "SubnetGroupName", (Some (string__to_yojson x.subnet_group_name))); ]) let delete_parameter_group_response_to_yojson = fun (x: delete_parameter_group_response) -> assoc_to_yojson( [( "DeletionMessage", (option_to_yojson string__to_yojson x.deletion_message)); ]) let delete_parameter_group_request_to_yojson = fun (x: delete_parameter_group_request) -> assoc_to_yojson( [( "ParameterGroupName", (Some (string__to_yojson x.parameter_group_name))); ]) let delete_cluster_response_to_yojson = fun (x: delete_cluster_response) -> assoc_to_yojson( [( "Cluster", (option_to_yojson cluster_to_yojson x.cluster)); ]) let delete_cluster_request_to_yojson = fun (x: delete_cluster_request) -> assoc_to_yojson( [( "ClusterName", (Some (string__to_yojson x.cluster_name))); ]) let decrease_replication_factor_response_to_yojson = fun (x: decrease_replication_factor_response) -> assoc_to_yojson( [( "Cluster", (option_to_yojson cluster_to_yojson x.cluster)); ]) let decrease_replication_factor_request_to_yojson = fun (x: decrease_replication_factor_request) -> assoc_to_yojson( [( "NodeIdsToRemove", (option_to_yojson node_identifier_list_to_yojson x.node_ids_to_remove)); ( "AvailabilityZones", (option_to_yojson availability_zone_list_to_yojson x.availability_zones)); ( "NewReplicationFactor", (Some (integer__to_yojson x.new_replication_factor))); ( "ClusterName", (Some (string__to_yojson x.cluster_name))); ]) let create_subnet_group_response_to_yojson = fun (x: create_subnet_group_response) -> assoc_to_yojson( [( "SubnetGroup", (option_to_yojson subnet_group_to_yojson x.subnet_group)); ]) let create_subnet_group_request_to_yojson = fun (x: create_subnet_group_request) -> assoc_to_yojson( [( "SubnetIds", (Some (subnet_identifier_list_to_yojson x.subnet_ids))); ( "Description", (option_to_yojson string__to_yojson x.description)); ( "SubnetGroupName", (Some (string__to_yojson x.subnet_group_name))); ]) let create_parameter_group_response_to_yojson = fun (x: create_parameter_group_response) -> assoc_to_yojson( [( "ParameterGroup", (option_to_yojson parameter_group_to_yojson x.parameter_group)); ]) let create_parameter_group_request_to_yojson = fun (x: create_parameter_group_request) -> assoc_to_yojson( [( "Description", (option_to_yojson string__to_yojson x.description)); ( "ParameterGroupName", (Some (string__to_yojson x.parameter_group_name))); ]) let create_cluster_response_to_yojson = fun (x: create_cluster_response) -> assoc_to_yojson( [( "Cluster", (option_to_yojson cluster_to_yojson x.cluster)); ]) let create_cluster_request_to_yojson = fun (x: create_cluster_request) -> assoc_to_yojson( [( "ClusterEndpointEncryptionType", (option_to_yojson cluster_endpoint_encryption_type_to_yojson x.cluster_endpoint_encryption_type)); ( "SSESpecification", (option_to_yojson sse_specification_to_yojson x.sse_specification)); ( "Tags", (option_to_yojson tag_list_to_yojson x.tags)); ( "ParameterGroupName", (option_to_yojson string__to_yojson x.parameter_group_name)); ( "IamRoleArn", (Some (string__to_yojson x.iam_role_arn))); ( "NotificationTopicArn", (option_to_yojson string__to_yojson x.notification_topic_arn)); ( "PreferredMaintenanceWindow", (option_to_yojson string__to_yojson x.preferred_maintenance_window)); ( "SecurityGroupIds", (option_to_yojson security_group_identifier_list_to_yojson x.security_group_ids)); ( "SubnetGroupName", (option_to_yojson string__to_yojson x.subnet_group_name)); ( "AvailabilityZones", (option_to_yojson availability_zone_list_to_yojson x.availability_zones)); ( "ReplicationFactor", (Some (integer__to_yojson x.replication_factor))); ( "Description", (option_to_yojson string__to_yojson x.description)); ( "NodeType", (Some (string__to_yojson x.node_type))); ( "ClusterName", (Some (string__to_yojson x.cluster_name))); ]) let cluster_quota_for_customer_exceeded_fault_to_yojson = fun (x: cluster_quota_for_customer_exceeded_fault) -> assoc_to_yojson( [( "message", (option_to_yojson exception_message_to_yojson x.message)); ]) let cluster_already_exists_fault_to_yojson = fun (x: cluster_already_exists_fault) -> assoc_to_yojson( [( "message", (option_to_yojson exception_message_to_yojson x.message)); ]) 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)"
>