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/deserializers.ml.html
Source file deserializers.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
open Smaws_Lib.Json.DeserializeHelpers open Types let string__of_yojson = string_of_yojson let subnet_of_yojson = fun tree path : subnet -> let _list = assoc_of_yojson tree path in let _res : subnet = { subnet_availability_zone = option_of_yojson (value_for_key (string__of_yojson) "SubnetAvailabilityZone") _list path; subnet_identifier = option_of_yojson (value_for_key (string__of_yojson) "SubnetIdentifier") _list path; } in _res let subnet_list_of_yojson = fun tree path -> list_of_yojson subnet_of_yojson tree path let subnet_group_of_yojson = fun tree path : subnet_group -> let _list = assoc_of_yojson tree path in let _res : subnet_group = { subnets = option_of_yojson (value_for_key (subnet_list_of_yojson) "Subnets") _list path; vpc_id = option_of_yojson (value_for_key (string__of_yojson) "VpcId") _list path; description = option_of_yojson (value_for_key (string__of_yojson) "Description") _list path; subnet_group_name = option_of_yojson (value_for_key (string__of_yojson) "SubnetGroupName") _list path; } in _res let update_subnet_group_response_of_yojson = fun tree path : update_subnet_group_response -> let _list = assoc_of_yojson tree path in let _res : update_subnet_group_response = { subnet_group = option_of_yojson (value_for_key (subnet_group_of_yojson) "SubnetGroup") _list path; } in _res let subnet_identifier_list_of_yojson = fun tree path -> list_of_yojson string__of_yojson tree path let update_subnet_group_request_of_yojson = fun tree path : update_subnet_group_request -> let _list = assoc_of_yojson tree path in let _res : update_subnet_group_request = { subnet_ids = option_of_yojson (value_for_key (subnet_identifier_list_of_yojson) "SubnetIds") _list path; description = option_of_yojson (value_for_key (string__of_yojson) "Description") _list path; subnet_group_name = value_for_key (string__of_yojson) "SubnetGroupName" _list path; } in _res let exception_message_of_yojson = string_of_yojson let subnet_quota_exceeded_fault_of_yojson = fun tree path : subnet_quota_exceeded_fault -> let _list = assoc_of_yojson tree path in let _res : subnet_quota_exceeded_fault = { message = option_of_yojson (value_for_key (exception_message_of_yojson) "message") _list path; } in _res let subnet_in_use_of_yojson = fun tree path : subnet_in_use -> let _list = assoc_of_yojson tree path in let _res : subnet_in_use = { message = option_of_yojson (value_for_key (exception_message_of_yojson) "message") _list path; } in _res let subnet_group_not_found_fault_of_yojson = fun tree path : subnet_group_not_found_fault -> let _list = assoc_of_yojson tree path in let _res : subnet_group_not_found_fault = { message = option_of_yojson (value_for_key (exception_message_of_yojson) "message") _list path; } in _res let service_linked_role_not_found_fault_of_yojson = fun tree path : service_linked_role_not_found_fault -> let _list = assoc_of_yojson tree path in let _res : service_linked_role_not_found_fault = { message = option_of_yojson (value_for_key (exception_message_of_yojson) "message") _list path; } in _res let invalid_subnet_of_yojson = fun tree path : invalid_subnet -> let _list = assoc_of_yojson tree path in let _res : invalid_subnet = { message = option_of_yojson (value_for_key (exception_message_of_yojson) "message") _list path; } in _res let parameter_group_of_yojson = fun tree path : parameter_group -> let _list = assoc_of_yojson tree path in let _res : parameter_group = { description = option_of_yojson (value_for_key (string__of_yojson) "Description") _list path; parameter_group_name = option_of_yojson (value_for_key (string__of_yojson) "ParameterGroupName") _list path; } in _res let update_parameter_group_response_of_yojson = fun tree path : update_parameter_group_response -> let _list = assoc_of_yojson tree path in let _res : update_parameter_group_response = { parameter_group = option_of_yojson (value_for_key (parameter_group_of_yojson) "ParameterGroup") _list path; } in _res let parameter_name_value_of_yojson = fun tree path : parameter_name_value -> let _list = assoc_of_yojson tree path in let _res : parameter_name_value = { parameter_value = option_of_yojson (value_for_key (string__of_yojson) "ParameterValue") _list path; parameter_name = option_of_yojson (value_for_key (string__of_yojson) "ParameterName") _list path; } in _res let parameter_name_value_list_of_yojson = fun tree path -> list_of_yojson parameter_name_value_of_yojson tree path let update_parameter_group_request_of_yojson = fun tree path : update_parameter_group_request -> let _list = assoc_of_yojson tree path in let _res : update_parameter_group_request = { parameter_name_values = value_for_key (parameter_name_value_list_of_yojson) "ParameterNameValues" _list path; parameter_group_name = value_for_key (string__of_yojson) "ParameterGroupName" _list path; } in _res let parameter_group_not_found_fault_of_yojson = fun tree path : parameter_group_not_found_fault -> let _list = assoc_of_yojson tree path in let _res : parameter_group_not_found_fault = { message = option_of_yojson (value_for_key (exception_message_of_yojson) "message") _list path; } in _res let aws_query_error_message_of_yojson = string_of_yojson let invalid_parameter_value_exception_of_yojson = fun tree path : invalid_parameter_value_exception -> let _list = assoc_of_yojson tree path in let _res : invalid_parameter_value_exception = { message = option_of_yojson (value_for_key (aws_query_error_message_of_yojson) "message") _list path; } in _res let invalid_parameter_group_state_fault_of_yojson = fun tree path : invalid_parameter_group_state_fault -> let _list = assoc_of_yojson tree path in let _res : invalid_parameter_group_state_fault = { message = option_of_yojson (value_for_key (exception_message_of_yojson) "message") _list path; } in _res let invalid_parameter_combination_exception_of_yojson = fun tree path : invalid_parameter_combination_exception -> let _list = assoc_of_yojson tree path in let _res : invalid_parameter_combination_exception = { message = option_of_yojson (value_for_key (aws_query_error_message_of_yojson) "message") _list path; } in _res let integer_optional_of_yojson = int_of_yojson let integer__of_yojson = int_of_yojson let endpoint_of_yojson = fun tree path : endpoint -> let _list = assoc_of_yojson tree path in let _res : endpoint = { ur_l = option_of_yojson (value_for_key (string__of_yojson) "URL") _list path; port = option_of_yojson (value_for_key (integer__of_yojson) "Port") _list path; address = option_of_yojson (value_for_key (string__of_yojson) "Address") _list path; } in _res let node_identifier_list_of_yojson = fun tree path -> list_of_yojson string__of_yojson tree path let t_stamp_of_yojson = timestamp_of_yojson let node_of_yojson = fun tree path : node -> let _list = assoc_of_yojson tree path in let _res : node = { parameter_group_status = option_of_yojson (value_for_key (string__of_yojson) "ParameterGroupStatus") _list path; node_status = option_of_yojson (value_for_key (string__of_yojson) "NodeStatus") _list path; availability_zone = option_of_yojson (value_for_key (string__of_yojson) "AvailabilityZone") _list path; node_create_time = option_of_yojson (value_for_key (t_stamp_of_yojson) "NodeCreateTime") _list path; endpoint = option_of_yojson (value_for_key (endpoint_of_yojson) "Endpoint") _list path; node_id = option_of_yojson (value_for_key (string__of_yojson) "NodeId") _list path; } in _res let node_list_of_yojson = fun tree path -> list_of_yojson node_of_yojson tree path let notification_configuration_of_yojson = fun tree path : notification_configuration -> let _list = assoc_of_yojson tree path in let _res : notification_configuration = { topic_status = option_of_yojson (value_for_key (string__of_yojson) "TopicStatus") _list path; topic_arn = option_of_yojson (value_for_key (string__of_yojson) "TopicArn") _list path; } in _res let security_group_membership_of_yojson = fun tree path : security_group_membership -> let _list = assoc_of_yojson tree path in let _res : security_group_membership = { status = option_of_yojson (value_for_key (string__of_yojson) "Status") _list path; security_group_identifier = option_of_yojson (value_for_key (string__of_yojson) "SecurityGroupIdentifier") _list path; } in _res let security_group_membership_list_of_yojson = fun tree path -> list_of_yojson security_group_membership_of_yojson tree path let parameter_group_status_of_yojson = fun tree path : parameter_group_status -> let _list = assoc_of_yojson tree path in let _res : parameter_group_status = { node_ids_to_reboot = option_of_yojson (value_for_key (node_identifier_list_of_yojson) "NodeIdsToReboot") _list path; parameter_apply_status = option_of_yojson (value_for_key (string__of_yojson) "ParameterApplyStatus") _list path; parameter_group_name = option_of_yojson (value_for_key (string__of_yojson) "ParameterGroupName") _list path; } in _res let base_unit_of_yojson = unit_of_yojson let sse_status_of_yojson = fun (tree: t) path : sse_status -> match tree with | `String "DISABLED" -> DISABLED | `String "DISABLING" -> DISABLING | `String "ENABLED" -> ENABLED | `String "ENABLING" -> ENABLING | `String value -> raise (deserialize_unknown_enum_value_error path "SSEStatus" value) | _ -> raise (deserialize_wrong_type_error path "SSEStatus") let sse_description_of_yojson = fun tree path : sse_description -> let _list = assoc_of_yojson tree path in let _res : sse_description = { status = option_of_yojson (value_for_key (sse_status_of_yojson) "Status") _list path; } in _res let cluster_endpoint_encryption_type_of_yojson = fun (tree: t) path : cluster_endpoint_encryption_type -> match tree with | `String "TLS" -> TLS | `String "NONE" -> NONE | `String value -> raise (deserialize_unknown_enum_value_error path "ClusterEndpointEncryptionType" value) | _ -> raise (deserialize_wrong_type_error path "ClusterEndpointEncryptionType") let cluster_of_yojson = fun tree path : cluster -> let _list = assoc_of_yojson tree path in let _res : cluster = { cluster_endpoint_encryption_type = option_of_yojson (value_for_key (cluster_endpoint_encryption_type_of_yojson) "ClusterEndpointEncryptionType") _list path; sse_description = option_of_yojson (value_for_key (sse_description_of_yojson) "SSEDescription") _list path; parameter_group = option_of_yojson (value_for_key (parameter_group_status_of_yojson) "ParameterGroup") _list path; iam_role_arn = option_of_yojson (value_for_key (string__of_yojson) "IamRoleArn") _list path; security_groups = option_of_yojson (value_for_key (security_group_membership_list_of_yojson) "SecurityGroups") _list path; subnet_group = option_of_yojson (value_for_key (string__of_yojson) "SubnetGroup") _list path; notification_configuration = option_of_yojson (value_for_key (notification_configuration_of_yojson) "NotificationConfiguration") _list path; preferred_maintenance_window = option_of_yojson (value_for_key (string__of_yojson) "PreferredMaintenanceWindow") _list path; nodes = option_of_yojson (value_for_key (node_list_of_yojson) "Nodes") _list path; node_ids_to_remove = option_of_yojson (value_for_key (node_identifier_list_of_yojson) "NodeIdsToRemove") _list path; cluster_discovery_endpoint = option_of_yojson (value_for_key (endpoint_of_yojson) "ClusterDiscoveryEndpoint") _list path; status = option_of_yojson (value_for_key (string__of_yojson) "Status") _list path; node_type = option_of_yojson (value_for_key (string__of_yojson) "NodeType") _list path; active_nodes = option_of_yojson (value_for_key (integer_optional_of_yojson) "ActiveNodes") _list path; total_nodes = option_of_yojson (value_for_key (integer_optional_of_yojson) "TotalNodes") _list path; cluster_arn = option_of_yojson (value_for_key (string__of_yojson) "ClusterArn") _list path; description = option_of_yojson (value_for_key (string__of_yojson) "Description") _list path; cluster_name = option_of_yojson (value_for_key (string__of_yojson) "ClusterName") _list path; } in _res let update_cluster_response_of_yojson = fun tree path : update_cluster_response -> let _list = assoc_of_yojson tree path in let _res : update_cluster_response = { cluster = option_of_yojson (value_for_key (cluster_of_yojson) "Cluster") _list path; } in _res let security_group_identifier_list_of_yojson = fun tree path -> list_of_yojson string__of_yojson tree path let update_cluster_request_of_yojson = fun tree path : update_cluster_request -> let _list = assoc_of_yojson tree path in let _res : update_cluster_request = { security_group_ids = option_of_yojson (value_for_key (security_group_identifier_list_of_yojson) "SecurityGroupIds") _list path; parameter_group_name = option_of_yojson (value_for_key (string__of_yojson) "ParameterGroupName") _list path; notification_topic_status = option_of_yojson (value_for_key (string__of_yojson) "NotificationTopicStatus") _list path; notification_topic_arn = option_of_yojson (value_for_key (string__of_yojson) "NotificationTopicArn") _list path; preferred_maintenance_window = option_of_yojson (value_for_key (string__of_yojson) "PreferredMaintenanceWindow") _list path; description = option_of_yojson (value_for_key (string__of_yojson) "Description") _list path; cluster_name = value_for_key (string__of_yojson) "ClusterName" _list path; } in _res let invalid_cluster_state_fault_of_yojson = fun tree path : invalid_cluster_state_fault -> let _list = assoc_of_yojson tree path in let _res : invalid_cluster_state_fault = { message = option_of_yojson (value_for_key (exception_message_of_yojson) "message") _list path; } in _res let cluster_not_found_fault_of_yojson = fun tree path : cluster_not_found_fault -> let _list = assoc_of_yojson tree path in let _res : cluster_not_found_fault = { message = option_of_yojson (value_for_key (exception_message_of_yojson) "message") _list path; } in _res let tag_of_yojson = fun tree path : tag -> let _list = assoc_of_yojson tree path in let _res : tag = { value = option_of_yojson (value_for_key (string__of_yojson) "Value") _list path; key = option_of_yojson (value_for_key (string__of_yojson) "Key") _list path; } in _res let tag_list_of_yojson = fun tree path -> list_of_yojson tag_of_yojson tree path let untag_resource_response_of_yojson = fun tree path : untag_resource_response -> let _list = assoc_of_yojson tree path in let _res : untag_resource_response = { tags = option_of_yojson (value_for_key (tag_list_of_yojson) "Tags") _list path; } in _res let key_list_of_yojson = fun tree path -> list_of_yojson string__of_yojson tree path let untag_resource_request_of_yojson = fun tree path : untag_resource_request -> let _list = assoc_of_yojson tree path in let _res : untag_resource_request = { tag_keys = value_for_key (key_list_of_yojson) "TagKeys" _list path; resource_name = value_for_key (string__of_yojson) "ResourceName" _list path; } in _res let tag_not_found_fault_of_yojson = fun tree path : tag_not_found_fault -> let _list = assoc_of_yojson tree path in let _res : tag_not_found_fault = { message = option_of_yojson (value_for_key (exception_message_of_yojson) "message") _list path; } in _res let invalid_arn_fault_of_yojson = fun tree path : invalid_arn_fault -> let _list = assoc_of_yojson tree path in let _res : invalid_arn_fault = { message = option_of_yojson (value_for_key (exception_message_of_yojson) "message") _list path; } in _res let tag_resource_response_of_yojson = fun tree path : tag_resource_response -> let _list = assoc_of_yojson tree path in let _res : tag_resource_response = { tags = option_of_yojson (value_for_key (tag_list_of_yojson) "Tags") _list path; } in _res let tag_resource_request_of_yojson = fun tree path : tag_resource_request -> let _list = assoc_of_yojson tree path in let _res : tag_resource_request = { tags = value_for_key (tag_list_of_yojson) "Tags" _list path; resource_name = value_for_key (string__of_yojson) "ResourceName" _list path; } in _res let tag_quota_per_resource_exceeded_of_yojson = fun tree path : tag_quota_per_resource_exceeded -> let _list = assoc_of_yojson tree path in let _res : tag_quota_per_resource_exceeded = { message = option_of_yojson (value_for_key (exception_message_of_yojson) "message") _list path; } in _res let subnet_group_quota_exceeded_fault_of_yojson = fun tree path : subnet_group_quota_exceeded_fault -> let _list = assoc_of_yojson tree path in let _res : subnet_group_quota_exceeded_fault = { message = option_of_yojson (value_for_key (exception_message_of_yojson) "message") _list path; } in _res let subnet_group_name_list_of_yojson = fun tree path -> list_of_yojson string__of_yojson tree path let subnet_group_list_of_yojson = fun tree path -> list_of_yojson subnet_group_of_yojson tree path let subnet_group_in_use_fault_of_yojson = fun tree path : subnet_group_in_use_fault -> let _list = assoc_of_yojson tree path in let _res : subnet_group_in_use_fault = { message = option_of_yojson (value_for_key (exception_message_of_yojson) "message") _list path; } in _res let subnet_group_already_exists_fault_of_yojson = fun tree path : subnet_group_already_exists_fault -> let _list = assoc_of_yojson tree path in let _res : subnet_group_already_exists_fault = { message = option_of_yojson (value_for_key (exception_message_of_yojson) "message") _list path; } in _res let source_type_of_yojson = fun (tree: t) path : source_type -> match tree with | `String "SUBNET_GROUP" -> SUBNET_GROUP | `String "PARAMETER_GROUP" -> PARAMETER_GROUP | `String "CLUSTER" -> CLUSTER | `String value -> raise (deserialize_unknown_enum_value_error path "SourceType" value) | _ -> raise (deserialize_wrong_type_error path "SourceType") let service_quota_exceeded_exception_of_yojson = fun tree path : service_quota_exceeded_exception -> let _list = assoc_of_yojson tree path in let _res : service_quota_exceeded_exception = () in _res let sse_enabled_of_yojson = bool_of_yojson let sse_specification_of_yojson = fun tree path : sse_specification -> let _list = assoc_of_yojson tree path in let _res : sse_specification = { enabled = value_for_key (sse_enabled_of_yojson) "Enabled" _list path; } in _res let reboot_node_response_of_yojson = fun tree path : reboot_node_response -> let _list = assoc_of_yojson tree path in let _res : reboot_node_response = { cluster = option_of_yojson (value_for_key (cluster_of_yojson) "Cluster") _list path; } in _res let reboot_node_request_of_yojson = fun tree path : reboot_node_request -> let _list = assoc_of_yojson tree path in let _res : reboot_node_request = { node_id = value_for_key (string__of_yojson) "NodeId" _list path; cluster_name = value_for_key (string__of_yojson) "ClusterName" _list path; } in _res let node_not_found_fault_of_yojson = fun tree path : node_not_found_fault -> let _list = assoc_of_yojson tree path in let _res : node_not_found_fault = { message = option_of_yojson (value_for_key (exception_message_of_yojson) "message") _list path; } in _res let parameter_type_of_yojson = fun (tree: t) path : parameter_type -> match tree with | `String "NODE_TYPE_SPECIFIC" -> NODE_TYPE_SPECIFIC | `String "DEFAULT" -> DEFAULT | `String value -> raise (deserialize_unknown_enum_value_error path "ParameterType" value) | _ -> raise (deserialize_wrong_type_error path "ParameterType") let node_type_specific_value_of_yojson = fun tree path : node_type_specific_value -> let _list = assoc_of_yojson tree path in let _res : node_type_specific_value = { value = option_of_yojson (value_for_key (string__of_yojson) "Value") _list path; node_type = option_of_yojson (value_for_key (string__of_yojson) "NodeType") _list path; } in _res let node_type_specific_value_list_of_yojson = fun tree path -> list_of_yojson node_type_specific_value_of_yojson tree path let is_modifiable_of_yojson = fun (tree: t) path : is_modifiable -> match tree with | `String "CONDITIONAL" -> CONDITIONAL | `String "FALSE" -> FALSE | `String "TRUE" -> TRUE | `String value -> raise (deserialize_unknown_enum_value_error path "IsModifiable" value) | _ -> raise (deserialize_wrong_type_error path "IsModifiable") let change_type_of_yojson = fun (tree: t) path : change_type -> match tree with | `String "REQUIRES_REBOOT" -> REQUIRES_REBOOT | `String "IMMEDIATE" -> IMMEDIATE | `String value -> raise (deserialize_unknown_enum_value_error path "ChangeType" value) | _ -> raise (deserialize_wrong_type_error path "ChangeType") let parameter_of_yojson = fun tree path : parameter -> let _list = assoc_of_yojson tree path in let _res : parameter = { change_type = option_of_yojson (value_for_key (change_type_of_yojson) "ChangeType") _list path; is_modifiable = option_of_yojson (value_for_key (is_modifiable_of_yojson) "IsModifiable") _list path; allowed_values = option_of_yojson (value_for_key (string__of_yojson) "AllowedValues") _list path; data_type = option_of_yojson (value_for_key (string__of_yojson) "DataType") _list path; source = option_of_yojson (value_for_key (string__of_yojson) "Source") _list path; description = option_of_yojson (value_for_key (string__of_yojson) "Description") _list path; node_type_specific_values = option_of_yojson (value_for_key (node_type_specific_value_list_of_yojson) "NodeTypeSpecificValues") _list path; parameter_value = option_of_yojson (value_for_key (string__of_yojson) "ParameterValue") _list path; parameter_type = option_of_yojson (value_for_key (parameter_type_of_yojson) "ParameterType") _list path; parameter_name = option_of_yojson (value_for_key (string__of_yojson) "ParameterName") _list path; } in _res let parameter_list_of_yojson = fun tree path -> list_of_yojson parameter_of_yojson tree path let parameter_group_quota_exceeded_fault_of_yojson = fun tree path : parameter_group_quota_exceeded_fault -> let _list = assoc_of_yojson tree path in let _res : parameter_group_quota_exceeded_fault = { message = option_of_yojson (value_for_key (exception_message_of_yojson) "message") _list path; } in _res let parameter_group_name_list_of_yojson = fun tree path -> list_of_yojson string__of_yojson tree path let parameter_group_list_of_yojson = fun tree path -> list_of_yojson parameter_group_of_yojson tree path let parameter_group_already_exists_fault_of_yojson = fun tree path : parameter_group_already_exists_fault -> let _list = assoc_of_yojson tree path in let _res : parameter_group_already_exists_fault = { message = option_of_yojson (value_for_key (exception_message_of_yojson) "message") _list path; } in _res let node_quota_for_customer_exceeded_fault_of_yojson = fun tree path : node_quota_for_customer_exceeded_fault -> let _list = assoc_of_yojson tree path in let _res : node_quota_for_customer_exceeded_fault = { message = option_of_yojson (value_for_key (exception_message_of_yojson) "message") _list path; } in _res let node_quota_for_cluster_exceeded_fault_of_yojson = fun tree path : node_quota_for_cluster_exceeded_fault -> let _list = assoc_of_yojson tree path in let _res : node_quota_for_cluster_exceeded_fault = { message = option_of_yojson (value_for_key (exception_message_of_yojson) "message") _list path; } in _res let = fun tree path : list_tags_response -> let _list = assoc_of_yojson tree path in let _res : list_tags_response = { next_token = option_of_yojson (value_for_key (string__of_yojson) "NextToken") _list path; tags = option_of_yojson (value_for_key (tag_list_of_yojson) "Tags") _list path; } in _res let = fun tree path : list_tags_request -> let _list = assoc_of_yojson tree path in let _res : list_tags_request = { next_token = option_of_yojson (value_for_key (string__of_yojson) "NextToken") _list path; resource_name = value_for_key (string__of_yojson) "ResourceName" _list path; } in _res let invalid_vpc_network_state_fault_of_yojson = fun tree path : invalid_vpc_network_state_fault -> let _list = assoc_of_yojson tree path in let _res : invalid_vpc_network_state_fault = { message = option_of_yojson (value_for_key (exception_message_of_yojson) "message") _list path; } in _res let insufficient_cluster_capacity_fault_of_yojson = fun tree path : insufficient_cluster_capacity_fault -> let _list = assoc_of_yojson tree path in let _res : insufficient_cluster_capacity_fault = { message = option_of_yojson (value_for_key (exception_message_of_yojson) "message") _list path; } in _res let increase_replication_factor_response_of_yojson = fun tree path : increase_replication_factor_response -> let _list = assoc_of_yojson tree path in let _res : increase_replication_factor_response = { cluster = option_of_yojson (value_for_key (cluster_of_yojson) "Cluster") _list path; } in _res let availability_zone_list_of_yojson = fun tree path -> list_of_yojson string__of_yojson tree path let increase_replication_factor_request_of_yojson = fun tree path : increase_replication_factor_request -> let _list = assoc_of_yojson tree path in let _res : increase_replication_factor_request = { availability_zones = option_of_yojson (value_for_key (availability_zone_list_of_yojson) "AvailabilityZones") _list path; new_replication_factor = value_for_key (integer__of_yojson) "NewReplicationFactor" _list path; cluster_name = value_for_key (string__of_yojson) "ClusterName" _list path; } in _res let event_of_yojson = fun tree path : event -> let _list = assoc_of_yojson tree path in let _res : event = { date = option_of_yojson (value_for_key (t_stamp_of_yojson) "Date") _list path; message = option_of_yojson (value_for_key (string__of_yojson) "Message") _list path; source_type = option_of_yojson (value_for_key (source_type_of_yojson) "SourceType") _list path; source_name = option_of_yojson (value_for_key (string__of_yojson) "SourceName") _list path; } in _res let event_list_of_yojson = fun tree path -> list_of_yojson event_of_yojson tree path let describe_subnet_groups_response_of_yojson = fun tree path : describe_subnet_groups_response -> let _list = assoc_of_yojson tree path in let _res : describe_subnet_groups_response = { subnet_groups = option_of_yojson (value_for_key (subnet_group_list_of_yojson) "SubnetGroups") _list path; next_token = option_of_yojson (value_for_key (string__of_yojson) "NextToken") _list path; } in _res let describe_subnet_groups_request_of_yojson = fun tree path : describe_subnet_groups_request -> let _list = assoc_of_yojson tree path in let _res : describe_subnet_groups_request = { next_token = option_of_yojson (value_for_key (string__of_yojson) "NextToken") _list path; max_results = option_of_yojson (value_for_key (integer_optional_of_yojson) "MaxResults") _list path; subnet_group_names = option_of_yojson (value_for_key (subnet_group_name_list_of_yojson) "SubnetGroupNames") _list path; } in _res let describe_parameters_response_of_yojson = fun tree path : describe_parameters_response -> let _list = assoc_of_yojson tree path in let _res : describe_parameters_response = { parameters = option_of_yojson (value_for_key (parameter_list_of_yojson) "Parameters") _list path; next_token = option_of_yojson (value_for_key (string__of_yojson) "NextToken") _list path; } in _res let describe_parameters_request_of_yojson = fun tree path : describe_parameters_request -> let _list = assoc_of_yojson tree path in let _res : describe_parameters_request = { next_token = option_of_yojson (value_for_key (string__of_yojson) "NextToken") _list path; max_results = option_of_yojson (value_for_key (integer_optional_of_yojson) "MaxResults") _list path; source = option_of_yojson (value_for_key (string__of_yojson) "Source") _list path; parameter_group_name = value_for_key (string__of_yojson) "ParameterGroupName" _list path; } in _res let describe_parameter_groups_response_of_yojson = fun tree path : describe_parameter_groups_response -> let _list = assoc_of_yojson tree path in let _res : describe_parameter_groups_response = { parameter_groups = option_of_yojson (value_for_key (parameter_group_list_of_yojson) "ParameterGroups") _list path; next_token = option_of_yojson (value_for_key (string__of_yojson) "NextToken") _list path; } in _res let describe_parameter_groups_request_of_yojson = fun tree path : describe_parameter_groups_request -> let _list = assoc_of_yojson tree path in let _res : describe_parameter_groups_request = { next_token = option_of_yojson (value_for_key (string__of_yojson) "NextToken") _list path; max_results = option_of_yojson (value_for_key (integer_optional_of_yojson) "MaxResults") _list path; parameter_group_names = option_of_yojson (value_for_key (parameter_group_name_list_of_yojson) "ParameterGroupNames") _list path; } in _res let describe_events_response_of_yojson = fun tree path : describe_events_response -> let _list = assoc_of_yojson tree path in let _res : describe_events_response = { events = option_of_yojson (value_for_key (event_list_of_yojson) "Events") _list path; next_token = option_of_yojson (value_for_key (string__of_yojson) "NextToken") _list path; } in _res let describe_events_request_of_yojson = fun tree path : describe_events_request -> let _list = assoc_of_yojson tree path in let _res : describe_events_request = { next_token = option_of_yojson (value_for_key (string__of_yojson) "NextToken") _list path; max_results = option_of_yojson (value_for_key (integer_optional_of_yojson) "MaxResults") _list path; duration = option_of_yojson (value_for_key (integer_optional_of_yojson) "Duration") _list path; end_time = option_of_yojson (value_for_key (t_stamp_of_yojson) "EndTime") _list path; start_time = option_of_yojson (value_for_key (t_stamp_of_yojson) "StartTime") _list path; source_type = option_of_yojson (value_for_key (source_type_of_yojson) "SourceType") _list path; source_name = option_of_yojson (value_for_key (string__of_yojson) "SourceName") _list path; } in _res let describe_default_parameters_response_of_yojson = fun tree path : describe_default_parameters_response -> let _list = assoc_of_yojson tree path in let _res : describe_default_parameters_response = { parameters = option_of_yojson (value_for_key (parameter_list_of_yojson) "Parameters") _list path; next_token = option_of_yojson (value_for_key (string__of_yojson) "NextToken") _list path; } in _res let describe_default_parameters_request_of_yojson = fun tree path : describe_default_parameters_request -> let _list = assoc_of_yojson tree path in let _res : describe_default_parameters_request = { next_token = option_of_yojson (value_for_key (string__of_yojson) "NextToken") _list path; max_results = option_of_yojson (value_for_key (integer_optional_of_yojson) "MaxResults") _list path; } in _res let cluster_list_of_yojson = fun tree path -> list_of_yojson cluster_of_yojson tree path let describe_clusters_response_of_yojson = fun tree path : describe_clusters_response -> let _list = assoc_of_yojson tree path in let _res : describe_clusters_response = { clusters = option_of_yojson (value_for_key (cluster_list_of_yojson) "Clusters") _list path; next_token = option_of_yojson (value_for_key (string__of_yojson) "NextToken") _list path; } in _res let cluster_name_list_of_yojson = fun tree path -> list_of_yojson string__of_yojson tree path let describe_clusters_request_of_yojson = fun tree path : describe_clusters_request -> let _list = assoc_of_yojson tree path in let _res : describe_clusters_request = { next_token = option_of_yojson (value_for_key (string__of_yojson) "NextToken") _list path; max_results = option_of_yojson (value_for_key (integer_optional_of_yojson) "MaxResults") _list path; cluster_names = option_of_yojson (value_for_key (cluster_name_list_of_yojson) "ClusterNames") _list path; } in _res let delete_subnet_group_response_of_yojson = fun tree path : delete_subnet_group_response -> let _list = assoc_of_yojson tree path in let _res : delete_subnet_group_response = { deletion_message = option_of_yojson (value_for_key (string__of_yojson) "DeletionMessage") _list path; } in _res let delete_subnet_group_request_of_yojson = fun tree path : delete_subnet_group_request -> let _list = assoc_of_yojson tree path in let _res : delete_subnet_group_request = { subnet_group_name = value_for_key (string__of_yojson) "SubnetGroupName" _list path; } in _res let delete_parameter_group_response_of_yojson = fun tree path : delete_parameter_group_response -> let _list = assoc_of_yojson tree path in let _res : delete_parameter_group_response = { deletion_message = option_of_yojson (value_for_key (string__of_yojson) "DeletionMessage") _list path; } in _res let delete_parameter_group_request_of_yojson = fun tree path : delete_parameter_group_request -> let _list = assoc_of_yojson tree path in let _res : delete_parameter_group_request = { parameter_group_name = value_for_key (string__of_yojson) "ParameterGroupName" _list path; } in _res let delete_cluster_response_of_yojson = fun tree path : delete_cluster_response -> let _list = assoc_of_yojson tree path in let _res : delete_cluster_response = { cluster = option_of_yojson (value_for_key (cluster_of_yojson) "Cluster") _list path; } in _res let delete_cluster_request_of_yojson = fun tree path : delete_cluster_request -> let _list = assoc_of_yojson tree path in let _res : delete_cluster_request = { cluster_name = value_for_key (string__of_yojson) "ClusterName" _list path; } in _res let decrease_replication_factor_response_of_yojson = fun tree path : decrease_replication_factor_response -> let _list = assoc_of_yojson tree path in let _res : decrease_replication_factor_response = { cluster = option_of_yojson (value_for_key (cluster_of_yojson) "Cluster") _list path; } in _res let decrease_replication_factor_request_of_yojson = fun tree path : decrease_replication_factor_request -> let _list = assoc_of_yojson tree path in let _res : decrease_replication_factor_request = { node_ids_to_remove = option_of_yojson (value_for_key (node_identifier_list_of_yojson) "NodeIdsToRemove") _list path; availability_zones = option_of_yojson (value_for_key (availability_zone_list_of_yojson) "AvailabilityZones") _list path; new_replication_factor = value_for_key (integer__of_yojson) "NewReplicationFactor" _list path; cluster_name = value_for_key (string__of_yojson) "ClusterName" _list path; } in _res let create_subnet_group_response_of_yojson = fun tree path : create_subnet_group_response -> let _list = assoc_of_yojson tree path in let _res : create_subnet_group_response = { subnet_group = option_of_yojson (value_for_key (subnet_group_of_yojson) "SubnetGroup") _list path; } in _res let create_subnet_group_request_of_yojson = fun tree path : create_subnet_group_request -> let _list = assoc_of_yojson tree path in let _res : create_subnet_group_request = { subnet_ids = value_for_key (subnet_identifier_list_of_yojson) "SubnetIds" _list path; description = option_of_yojson (value_for_key (string__of_yojson) "Description") _list path; subnet_group_name = value_for_key (string__of_yojson) "SubnetGroupName" _list path; } in _res let create_parameter_group_response_of_yojson = fun tree path : create_parameter_group_response -> let _list = assoc_of_yojson tree path in let _res : create_parameter_group_response = { parameter_group = option_of_yojson (value_for_key (parameter_group_of_yojson) "ParameterGroup") _list path; } in _res let create_parameter_group_request_of_yojson = fun tree path : create_parameter_group_request -> let _list = assoc_of_yojson tree path in let _res : create_parameter_group_request = { description = option_of_yojson (value_for_key (string__of_yojson) "Description") _list path; parameter_group_name = value_for_key (string__of_yojson) "ParameterGroupName" _list path; } in _res let create_cluster_response_of_yojson = fun tree path : create_cluster_response -> let _list = assoc_of_yojson tree path in let _res : create_cluster_response = { cluster = option_of_yojson (value_for_key (cluster_of_yojson) "Cluster") _list path; } in _res let create_cluster_request_of_yojson = fun tree path : create_cluster_request -> let _list = assoc_of_yojson tree path in let _res : create_cluster_request = { cluster_endpoint_encryption_type = option_of_yojson (value_for_key (cluster_endpoint_encryption_type_of_yojson) "ClusterEndpointEncryptionType") _list path; sse_specification = option_of_yojson (value_for_key (sse_specification_of_yojson) "SSESpecification") _list path; tags = option_of_yojson (value_for_key (tag_list_of_yojson) "Tags") _list path; parameter_group_name = option_of_yojson (value_for_key (string__of_yojson) "ParameterGroupName") _list path; iam_role_arn = value_for_key (string__of_yojson) "IamRoleArn" _list path; notification_topic_arn = option_of_yojson (value_for_key (string__of_yojson) "NotificationTopicArn") _list path; preferred_maintenance_window = option_of_yojson (value_for_key (string__of_yojson) "PreferredMaintenanceWindow") _list path; security_group_ids = option_of_yojson (value_for_key (security_group_identifier_list_of_yojson) "SecurityGroupIds") _list path; subnet_group_name = option_of_yojson (value_for_key (string__of_yojson) "SubnetGroupName") _list path; availability_zones = option_of_yojson (value_for_key (availability_zone_list_of_yojson) "AvailabilityZones") _list path; replication_factor = value_for_key (integer__of_yojson) "ReplicationFactor" _list path; description = option_of_yojson (value_for_key (string__of_yojson) "Description") _list path; node_type = value_for_key (string__of_yojson) "NodeType" _list path; cluster_name = value_for_key (string__of_yojson) "ClusterName" _list path; } in _res let cluster_quota_for_customer_exceeded_fault_of_yojson = fun tree path : cluster_quota_for_customer_exceeded_fault -> let _list = assoc_of_yojson tree path in let _res : cluster_quota_for_customer_exceeded_fault = { message = option_of_yojson (value_for_key (exception_message_of_yojson) "message") _list path; } in _res let cluster_already_exists_fault_of_yojson = fun tree path : cluster_already_exists_fault -> let _list = assoc_of_yojson tree path in let _res : cluster_already_exists_fault = { message = option_of_yojson (value_for_key (exception_message_of_yojson) "message") _list path; } in _res let base_string_of_yojson = string_of_yojson let base_boolean_of_yojson = bool_of_yojson let base_integer_of_yojson = int_of_yojson let base_timestamp_of_yojson = timestamp_of_yojson let base_long_of_yojson = long_of_yojson let base_document_of_yojson = json_of_yojson
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>