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.codeconnections/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 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249
open Smaws_Lib.Json.SerializeHelpers open Types let vpc_id_to_yojson = string_to_yojson let subnet_id_to_yojson = string_to_yojson let subnet_ids_to_yojson = fun tree -> list_to_yojson subnet_id_to_yojson tree let security_group_id_to_yojson = string_to_yojson let security_group_ids_to_yojson = fun tree -> list_to_yojson security_group_id_to_yojson tree let tls_certificate_to_yojson = string_to_yojson let vpc_configuration_to_yojson = fun (x: vpc_configuration) -> assoc_to_yojson( [( "TlsCertificate", (option_to_yojson tls_certificate_to_yojson x.tls_certificate)); ( "SecurityGroupIds", (Some (security_group_ids_to_yojson x.security_group_ids))); ( "SubnetIds", (Some (subnet_ids_to_yojson x.subnet_ids))); ( "VpcId", (Some (vpc_id_to_yojson x.vpc_id))); ]) let url_to_yojson = string_to_yojson let branch_name_to_yojson = string_to_yojson let deployment_file_path_to_yojson = string_to_yojson let owner_id_to_yojson = string_to_yojson let base_unit_to_yojson = unit_to_yojson let provider_type_to_yojson = fun (x: provider_type) -> match x with | GITLAB_SELF_MANAGED -> `String "GitLabSelfManaged" | GITLAB -> `String "GitLab" | GITHUB_ENTERPRISE_SERVER -> `String "GitHubEnterpriseServer" | GITHUB -> `String "GitHub" | BITBUCKET -> `String "Bitbucket" let repository_link_id_to_yojson = string_to_yojson let repository_name_to_yojson = string_to_yojson let resource_name_to_yojson = string_to_yojson let iam_role_arn_to_yojson = string_to_yojson let sync_configuration_type_to_yojson = fun (x: sync_configuration_type) -> match x with | CFN_STACK_SYNC -> `String "CFN_STACK_SYNC" let publish_deployment_status_to_yojson = fun (x: publish_deployment_status) -> match x with | DISABLED -> `String "DISABLED" | ENABLED -> `String "ENABLED" let trigger_resource_update_on_to_yojson = fun (x: trigger_resource_update_on) -> match x with | FILE_CHANGE -> `String "FILE_CHANGE" | ANY_CHANGE -> `String "ANY_CHANGE" let sync_configuration_to_yojson = fun (x: sync_configuration) -> assoc_to_yojson( [( "TriggerResourceUpdateOn", (option_to_yojson trigger_resource_update_on_to_yojson x.trigger_resource_update_on)); ( "PublishDeploymentStatus", (option_to_yojson publish_deployment_status_to_yojson x.publish_deployment_status)); ( "SyncType", (Some (sync_configuration_type_to_yojson x.sync_type))); ( "RoleArn", (Some (iam_role_arn_to_yojson x.role_arn))); ( "ResourceName", (Some (resource_name_to_yojson x.resource_name))); ( "RepositoryName", (Some (repository_name_to_yojson x.repository_name))); ( "RepositoryLinkId", (Some (repository_link_id_to_yojson x.repository_link_id))); ( "ProviderType", (Some (provider_type_to_yojson x.provider_type))); ( "OwnerId", (Some (owner_id_to_yojson x.owner_id))); ( "ConfigFile", (option_to_yojson deployment_file_path_to_yojson x.config_file)); ( "Branch", (Some (branch_name_to_yojson x.branch))); ]) let update_sync_configuration_output_to_yojson = fun (x: update_sync_configuration_output) -> assoc_to_yojson( [( "SyncConfiguration", (Some (sync_configuration_to_yojson x.sync_configuration))); ]) let update_sync_configuration_input_to_yojson = fun (x: update_sync_configuration_input) -> assoc_to_yojson( [( "TriggerResourceUpdateOn", (option_to_yojson trigger_resource_update_on_to_yojson x.trigger_resource_update_on)); ( "PublishDeploymentStatus", (option_to_yojson publish_deployment_status_to_yojson x.publish_deployment_status)); ( "SyncType", (Some (sync_configuration_type_to_yojson x.sync_type))); ( "RoleArn", (option_to_yojson iam_role_arn_to_yojson x.role_arn)); ( "ResourceName", (Some (resource_name_to_yojson x.resource_name))); ( "RepositoryLinkId", (option_to_yojson repository_link_id_to_yojson x.repository_link_id)); ( "ConfigFile", (option_to_yojson deployment_file_path_to_yojson x.config_file)); ( "Branch", (option_to_yojson branch_name_to_yojson x.branch)); ]) let error_message_to_yojson = string_to_yojson let update_out_of_sync_exception_to_yojson = fun (x: update_out_of_sync_exception) -> assoc_to_yojson( [( "Message", (option_to_yojson error_message_to_yojson x.message)); ]) let throttling_exception_to_yojson = fun (x: throttling_exception) -> assoc_to_yojson( [( "Message", (option_to_yojson error_message_to_yojson x.message)); ]) let resource_not_found_exception_to_yojson = fun (x: resource_not_found_exception) -> assoc_to_yojson( [( "Message", (option_to_yojson error_message_to_yojson x.message)); ]) let invalid_input_exception_to_yojson = fun (x: invalid_input_exception) -> assoc_to_yojson( [( "Message", (option_to_yojson error_message_to_yojson x.message)); ]) let internal_server_exception_to_yojson = fun (x: internal_server_exception) -> assoc_to_yojson( [( "Message", (option_to_yojson error_message_to_yojson x.message)); ]) let concurrent_modification_exception_to_yojson = fun (x: concurrent_modification_exception) -> assoc_to_yojson( [( "Message", (option_to_yojson error_message_to_yojson x.message)); ]) let access_denied_exception_to_yojson = fun (x: access_denied_exception) -> assoc_to_yojson( [( "Message", (option_to_yojson error_message_to_yojson x.message)); ]) let id_to_yojson = string_to_yojson let blocker_type_to_yojson = fun (x: blocker_type) -> match x with | AUTOMATED -> `String "AUTOMATED" let blocker_status_to_yojson = fun (x: blocker_status) -> match x with | RESOLVED -> `String "RESOLVED" | ACTIVE -> `String "ACTIVE" let created_reason_to_yojson = string_to_yojson let timestamp__to_yojson = timestamp_to_yojson let sync_blocker_context_key_to_yojson = string_to_yojson let sync_blocker_context_value_to_yojson = string_to_yojson let sync_blocker_context_to_yojson = fun (x: sync_blocker_context) -> assoc_to_yojson( [( "Value", (Some (sync_blocker_context_value_to_yojson x.value))); ( "Key", (Some (sync_blocker_context_key_to_yojson x.key))); ]) let sync_blocker_context_list_to_yojson = fun tree -> list_to_yojson sync_blocker_context_to_yojson tree let resolved_reason_to_yojson = string_to_yojson let sync_blocker_to_yojson = fun (x: sync_blocker) -> assoc_to_yojson( [( "ResolvedAt", (option_to_yojson timestamp__to_yojson x.resolved_at)); ( "ResolvedReason", (option_to_yojson resolved_reason_to_yojson x.resolved_reason)); ( "Contexts", (option_to_yojson sync_blocker_context_list_to_yojson x.contexts)); ( "CreatedAt", (Some (timestamp__to_yojson x.created_at))); ( "CreatedReason", (Some (created_reason_to_yojson x.created_reason))); ( "Status", (Some (blocker_status_to_yojson x.status))); ( "Type", (Some (blocker_type_to_yojson x.type_))); ( "Id", (Some (id_to_yojson x.id))); ]) let update_sync_blocker_output_to_yojson = fun (x: update_sync_blocker_output) -> assoc_to_yojson( [( "SyncBlocker", (Some (sync_blocker_to_yojson x.sync_blocker))); ( "ParentResourceName", (option_to_yojson resource_name_to_yojson x.parent_resource_name)); ( "ResourceName", (Some (resource_name_to_yojson x.resource_name))); ]) let update_sync_blocker_input_to_yojson = fun (x: update_sync_blocker_input) -> assoc_to_yojson( [( "ResolvedReason", (Some (resolved_reason_to_yojson x.resolved_reason))); ( "ResourceName", (Some (resource_name_to_yojson x.resource_name))); ( "SyncType", (Some (sync_configuration_type_to_yojson x.sync_type))); ( "Id", (Some (id_to_yojson x.id))); ]) let sync_blocker_does_not_exist_exception_to_yojson = fun (x: sync_blocker_does_not_exist_exception) -> assoc_to_yojson( [( "Message", (option_to_yojson error_message_to_yojson x.message)); ]) let retry_latest_commit_failed_exception_to_yojson = fun (x: retry_latest_commit_failed_exception) -> assoc_to_yojson( [( "Message", (option_to_yojson error_message_to_yojson x.message)); ]) let connection_arn_to_yojson = string_to_yojson let kms_key_arn_to_yojson = string_to_yojson let repository_link_arn_to_yojson = string_to_yojson let repository_link_info_to_yojson = fun (x: repository_link_info) -> assoc_to_yojson( [( "RepositoryName", (Some (repository_name_to_yojson x.repository_name))); ( "RepositoryLinkId", (Some (repository_link_id_to_yojson x.repository_link_id))); ( "RepositoryLinkArn", (Some (repository_link_arn_to_yojson x.repository_link_arn))); ( "ProviderType", (Some (provider_type_to_yojson x.provider_type))); ( "OwnerId", (Some (owner_id_to_yojson x.owner_id))); ( "EncryptionKeyArn", (option_to_yojson kms_key_arn_to_yojson x.encryption_key_arn)); ( "ConnectionArn", (Some (connection_arn_to_yojson x.connection_arn))); ]) let update_repository_link_output_to_yojson = fun (x: update_repository_link_output) -> assoc_to_yojson( [( "RepositoryLinkInfo", (Some (repository_link_info_to_yojson x.repository_link_info))); ]) let update_repository_link_input_to_yojson = fun (x: update_repository_link_input) -> assoc_to_yojson( [( "RepositoryLinkId", (Some (repository_link_id_to_yojson x.repository_link_id))); ( "EncryptionKeyArn", (option_to_yojson kms_key_arn_to_yojson x.encryption_key_arn)); ( "ConnectionArn", (option_to_yojson connection_arn_to_yojson x.connection_arn)); ]) let conditional_check_failed_exception_to_yojson = fun (x: conditional_check_failed_exception) -> assoc_to_yojson( [( "Message", (option_to_yojson error_message_to_yojson x.message)); ]) let update_host_output_to_yojson = fun (x: update_host_output) -> assoc_to_yojson( [ ]) let host_arn_to_yojson = string_to_yojson let update_host_input_to_yojson = fun (x: update_host_input) -> assoc_to_yojson( [( "VpcConfiguration", (option_to_yojson vpc_configuration_to_yojson x.vpc_configuration)); ( "ProviderEndpoint", (option_to_yojson url_to_yojson x.provider_endpoint)); ( "HostArn", (Some (host_arn_to_yojson x.host_arn))); ]) let unsupported_operation_exception_to_yojson = fun (x: unsupported_operation_exception) -> assoc_to_yojson( [( "Message", (option_to_yojson error_message_to_yojson x.message)); ]) let = fun (x: resource_unavailable_exception) -> assoc_to_yojson( [( "Message", (option_to_yojson error_message_to_yojson x.message)); ]) let conflict_exception_to_yojson = fun (x: conflict_exception) -> assoc_to_yojson( [( "Message", (option_to_yojson error_message_to_yojson x.message)); ]) let untag_resource_output_to_yojson = fun (x: untag_resource_output) -> assoc_to_yojson( [ ]) let amazon_resource_name_to_yojson = string_to_yojson let tag_key_to_yojson = string_to_yojson let tag_key_list_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_key_list_to_yojson x.tag_keys))); ( "ResourceArn", (Some (amazon_resource_name_to_yojson x.resource_arn))); ]) let unsupported_provider_type_exception_to_yojson = fun (x: unsupported_provider_type_exception) -> assoc_to_yojson( [( "Message", (option_to_yojson error_message_to_yojson x.message)); ]) let type__to_yojson = string_to_yojson let target_to_yojson = string_to_yojson let tag_value_to_yojson = string_to_yojson let tag_resource_output_to_yojson = fun (x: tag_resource_output) -> assoc_to_yojson( [ ]) 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 tag_list_to_yojson = fun tree -> list_to_yojson tag_to_yojson tree let tag_resource_input_to_yojson = fun (x: tag_resource_input) -> assoc_to_yojson( [( "Tags", (Some (tag_list_to_yojson x.tags))); ( "ResourceArn", (Some (amazon_resource_name_to_yojson x.resource_arn))); ]) let limit_exceeded_exception_to_yojson = fun (x: limit_exceeded_exception) -> assoc_to_yojson( [( "Message", (option_to_yojson error_message_to_yojson x.message)); ]) let sync_configuration_still_exists_exception_to_yojson = fun (x: sync_configuration_still_exists_exception) -> assoc_to_yojson( [( "Message", (option_to_yojson error_message_to_yojson x.message)); ]) let sync_configuration_list_to_yojson = fun tree -> list_to_yojson sync_configuration_to_yojson tree let latest_sync_blocker_list_to_yojson = fun tree -> list_to_yojson sync_blocker_to_yojson tree let sync_blocker_summary_to_yojson = fun (x: sync_blocker_summary) -> assoc_to_yojson( [( "LatestBlockers", (option_to_yojson latest_sync_blocker_list_to_yojson x.latest_blockers)); ( "ParentResourceName", (option_to_yojson resource_name_to_yojson x.parent_resource_name)); ( "ResourceName", (Some (resource_name_to_yojson x.resource_name))); ]) let sharp_next_token_to_yojson = string_to_yojson let sh_a_to_yojson = string_to_yojson let directory_to_yojson = string_to_yojson let revision_to_yojson = fun (x: revision) -> assoc_to_yojson( [( "Sha", (Some (sh_a_to_yojson x.sha))); ( "ProviderType", (Some (provider_type_to_yojson x.provider_type))); ( "RepositoryName", (Some (repository_name_to_yojson x.repository_name))); ( "OwnerId", (Some (owner_id_to_yojson x.owner_id))); ( "Directory", (Some (directory_to_yojson x.directory))); ( "Branch", (Some (branch_name_to_yojson x.branch))); ]) let resource_sync_status_to_yojson = fun (x: resource_sync_status) -> match x with | SUCCEEDED -> `String "SUCCEEDED" | IN_PROGRESS -> `String "IN_PROGRESS" | INITIATED -> `String "INITIATED" | FAILED -> `String "FAILED" let event_to_yojson = string_to_yojson let external_id_to_yojson = string_to_yojson let resource_sync_event_to_yojson = fun (x: resource_sync_event) -> assoc_to_yojson( [( "Type", (Some (type__to_yojson x.type_))); ( "Time", (Some (timestamp__to_yojson x.time))); ( "ExternalId", (option_to_yojson external_id_to_yojson x.external_id)); ( "Event", (Some (event_to_yojson x.event))); ]) let resource_sync_event_list_to_yojson = fun tree -> list_to_yojson resource_sync_event_to_yojson tree let resource_sync_attempt_to_yojson = fun (x: resource_sync_attempt) -> assoc_to_yojson( [( "Target", (Some (target_to_yojson x.target))); ( "TargetRevision", (Some (revision_to_yojson x.target_revision))); ( "Status", (Some (resource_sync_status_to_yojson x.status))); ( "StartedAt", (Some (timestamp__to_yojson x.started_at))); ( "InitialRevision", (Some (revision_to_yojson x.initial_revision))); ( "Events", (Some (resource_sync_event_list_to_yojson x.events))); ]) let resource_already_exists_exception_to_yojson = fun (x: resource_already_exists_exception) -> assoc_to_yojson( [( "Message", (option_to_yojson error_message_to_yojson x.message)); ]) let repository_sync_status_to_yojson = fun (x: repository_sync_status) -> match x with | QUEUED -> `String "QUEUED" | SUCCEEDED -> `String "SUCCEEDED" | IN_PROGRESS -> `String "IN_PROGRESS" | INITIATED -> `String "INITIATED" | FAILED -> `String "FAILED" let repository_sync_event_to_yojson = fun (x: repository_sync_event) -> assoc_to_yojson( [( "Type", (Some (type__to_yojson x.type_))); ( "Time", (Some (timestamp__to_yojson x.time))); ( "ExternalId", (option_to_yojson external_id_to_yojson x.external_id)); ( "Event", (Some (event_to_yojson x.event))); ]) let repository_sync_event_list_to_yojson = fun tree -> list_to_yojson repository_sync_event_to_yojson tree let parent_to_yojson = string_to_yojson let repository_sync_definition_to_yojson = fun (x: repository_sync_definition) -> assoc_to_yojson( [( "Target", (Some (target_to_yojson x.target))); ( "Parent", (Some (parent_to_yojson x.parent))); ( "Directory", (Some (directory_to_yojson x.directory))); ( "Branch", (Some (branch_name_to_yojson x.branch))); ]) let repository_sync_definition_list_to_yojson = fun tree -> list_to_yojson repository_sync_definition_to_yojson tree let repository_sync_attempt_to_yojson = fun (x: repository_sync_attempt) -> assoc_to_yojson( [( "Events", (Some (repository_sync_event_list_to_yojson x.events))); ( "Status", (Some (repository_sync_status_to_yojson x.status))); ( "StartedAt", (Some (timestamp__to_yojson x.started_at))); ]) let repository_link_list_to_yojson = fun tree -> list_to_yojson repository_link_info_to_yojson tree let next_token_to_yojson = string_to_yojson let max_results_to_yojson = int_to_yojson let = fun (x: list_tags_for_resource_output) -> assoc_to_yojson( [( "Tags", (option_to_yojson tag_list_to_yojson x.tags)); ]) let = fun (x: list_tags_for_resource_input) -> assoc_to_yojson( [( "ResourceArn", (Some (amazon_resource_name_to_yojson x.resource_arn))); ]) let list_sync_configurations_output_to_yojson = fun (x: list_sync_configurations_output) -> assoc_to_yojson( [( "NextToken", (option_to_yojson sharp_next_token_to_yojson x.next_token)); ( "SyncConfigurations", (Some (sync_configuration_list_to_yojson x.sync_configurations))); ]) let list_sync_configurations_input_to_yojson = fun (x: list_sync_configurations_input) -> assoc_to_yojson( [( "SyncType", (Some (sync_configuration_type_to_yojson x.sync_type))); ( "RepositoryLinkId", (Some (repository_link_id_to_yojson x.repository_link_id))); ( "NextToken", (option_to_yojson sharp_next_token_to_yojson x.next_token)); ( "MaxResults", (option_to_yojson max_results_to_yojson x.max_results)); ]) let list_repository_sync_definitions_output_to_yojson = fun (x: list_repository_sync_definitions_output) -> assoc_to_yojson( [( "NextToken", (option_to_yojson sharp_next_token_to_yojson x.next_token)); ( "RepositorySyncDefinitions", (Some (repository_sync_definition_list_to_yojson x.repository_sync_definitions))); ]) let list_repository_sync_definitions_input_to_yojson = fun (x: list_repository_sync_definitions_input) -> assoc_to_yojson( [( "SyncType", (Some (sync_configuration_type_to_yojson x.sync_type))); ( "RepositoryLinkId", (Some (repository_link_id_to_yojson x.repository_link_id))); ]) let list_repository_links_output_to_yojson = fun (x: list_repository_links_output) -> assoc_to_yojson( [( "NextToken", (option_to_yojson sharp_next_token_to_yojson x.next_token)); ( "RepositoryLinks", (Some (repository_link_list_to_yojson x.repository_links))); ]) let list_repository_links_input_to_yojson = fun (x: list_repository_links_input) -> assoc_to_yojson( [( "NextToken", (option_to_yojson sharp_next_token_to_yojson x.next_token)); ( "MaxResults", (option_to_yojson max_results_to_yojson x.max_results)); ]) let host_name_to_yojson = string_to_yojson let host_status_to_yojson = string_to_yojson let host_status_message_to_yojson = string_to_yojson let host_to_yojson = fun (x: host) -> assoc_to_yojson( [( "StatusMessage", (option_to_yojson host_status_message_to_yojson x.status_message)); ( "Status", (option_to_yojson host_status_to_yojson x.status)); ( "VpcConfiguration", (option_to_yojson vpc_configuration_to_yojson x.vpc_configuration)); ( "ProviderEndpoint", (option_to_yojson url_to_yojson x.provider_endpoint)); ( "ProviderType", (option_to_yojson provider_type_to_yojson x.provider_type)); ( "HostArn", (option_to_yojson host_arn_to_yojson x.host_arn)); ( "Name", (option_to_yojson host_name_to_yojson x.name)); ]) let host_list_to_yojson = fun tree -> list_to_yojson host_to_yojson tree let list_hosts_output_to_yojson = fun (x: list_hosts_output) -> assoc_to_yojson( [( "NextToken", (option_to_yojson next_token_to_yojson x.next_token)); ( "Hosts", (option_to_yojson host_list_to_yojson x.hosts)); ]) let list_hosts_input_to_yojson = fun (x: list_hosts_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 connection_name_to_yojson = string_to_yojson let account_id_to_yojson = string_to_yojson let connection_status_to_yojson = fun (x: connection_status) -> match x with | ERROR -> `String "ERROR" | AVAILABLE -> `String "AVAILABLE" | PENDING -> `String "PENDING" let connection_to_yojson = fun (x: connection) -> assoc_to_yojson( [( "HostArn", (option_to_yojson host_arn_to_yojson x.host_arn)); ( "ConnectionStatus", (option_to_yojson connection_status_to_yojson x.connection_status)); ( "OwnerAccountId", (option_to_yojson account_id_to_yojson x.owner_account_id)); ( "ProviderType", (option_to_yojson provider_type_to_yojson x.provider_type)); ( "ConnectionArn", (option_to_yojson connection_arn_to_yojson x.connection_arn)); ( "ConnectionName", (option_to_yojson connection_name_to_yojson x.connection_name)); ]) let connection_list_to_yojson = fun tree -> list_to_yojson connection_to_yojson tree let list_connections_output_to_yojson = fun (x: list_connections_output) -> assoc_to_yojson( [( "NextToken", (option_to_yojson next_token_to_yojson x.next_token)); ( "Connections", (option_to_yojson connection_list_to_yojson x.connections)); ]) let list_connections_input_to_yojson = fun (x: list_connections_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)); ( "HostArnFilter", (option_to_yojson host_arn_to_yojson x.host_arn_filter)); ( "ProviderTypeFilter", (option_to_yojson provider_type_to_yojson x.provider_type_filter)); ]) let get_sync_configuration_output_to_yojson = fun (x: get_sync_configuration_output) -> assoc_to_yojson( [( "SyncConfiguration", (Some (sync_configuration_to_yojson x.sync_configuration))); ]) let get_sync_configuration_input_to_yojson = fun (x: get_sync_configuration_input) -> assoc_to_yojson( [( "ResourceName", (Some (resource_name_to_yojson x.resource_name))); ( "SyncType", (Some (sync_configuration_type_to_yojson x.sync_type))); ]) let get_sync_blocker_summary_output_to_yojson = fun (x: get_sync_blocker_summary_output) -> assoc_to_yojson( [( "SyncBlockerSummary", (Some (sync_blocker_summary_to_yojson x.sync_blocker_summary))); ]) let get_sync_blocker_summary_input_to_yojson = fun (x: get_sync_blocker_summary_input) -> assoc_to_yojson( [( "ResourceName", (Some (resource_name_to_yojson x.resource_name))); ( "SyncType", (Some (sync_configuration_type_to_yojson x.sync_type))); ]) let get_resource_sync_status_output_to_yojson = fun (x: get_resource_sync_status_output) -> assoc_to_yojson( [( "LatestSync", (Some (resource_sync_attempt_to_yojson x.latest_sync))); ( "LatestSuccessfulSync", (option_to_yojson resource_sync_attempt_to_yojson x.latest_successful_sync)); ( "DesiredState", (option_to_yojson revision_to_yojson x.desired_state)); ]) let get_resource_sync_status_input_to_yojson = fun (x: get_resource_sync_status_input) -> assoc_to_yojson( [( "SyncType", (Some (sync_configuration_type_to_yojson x.sync_type))); ( "ResourceName", (Some (resource_name_to_yojson x.resource_name))); ]) let get_repository_sync_status_output_to_yojson = fun (x: get_repository_sync_status_output) -> assoc_to_yojson( [( "LatestSync", (Some (repository_sync_attempt_to_yojson x.latest_sync))); ]) let get_repository_sync_status_input_to_yojson = fun (x: get_repository_sync_status_input) -> assoc_to_yojson( [( "SyncType", (Some (sync_configuration_type_to_yojson x.sync_type))); ( "RepositoryLinkId", (Some (repository_link_id_to_yojson x.repository_link_id))); ( "Branch", (Some (branch_name_to_yojson x.branch))); ]) let get_repository_link_output_to_yojson = fun (x: get_repository_link_output) -> assoc_to_yojson( [( "RepositoryLinkInfo", (Some (repository_link_info_to_yojson x.repository_link_info))); ]) let get_repository_link_input_to_yojson = fun (x: get_repository_link_input) -> assoc_to_yojson( [( "RepositoryLinkId", (Some (repository_link_id_to_yojson x.repository_link_id))); ]) let get_host_output_to_yojson = fun (x: get_host_output) -> assoc_to_yojson( [( "VpcConfiguration", (option_to_yojson vpc_configuration_to_yojson x.vpc_configuration)); ( "ProviderEndpoint", (option_to_yojson url_to_yojson x.provider_endpoint)); ( "ProviderType", (option_to_yojson provider_type_to_yojson x.provider_type)); ( "Status", (option_to_yojson host_status_to_yojson x.status)); ( "Name", (option_to_yojson host_name_to_yojson x.name)); ]) let get_host_input_to_yojson = fun (x: get_host_input) -> assoc_to_yojson( [( "HostArn", (Some (host_arn_to_yojson x.host_arn))); ]) let get_connection_output_to_yojson = fun (x: get_connection_output) -> assoc_to_yojson( [( "Connection", (option_to_yojson connection_to_yojson x.connection)); ]) let get_connection_input_to_yojson = fun (x: get_connection_input) -> assoc_to_yojson( [( "ConnectionArn", (Some (connection_arn_to_yojson x.connection_arn))); ]) let delete_sync_configuration_output_to_yojson = fun (x: delete_sync_configuration_output) -> assoc_to_yojson( [ ]) let delete_sync_configuration_input_to_yojson = fun (x: delete_sync_configuration_input) -> assoc_to_yojson( [( "ResourceName", (Some (resource_name_to_yojson x.resource_name))); ( "SyncType", (Some (sync_configuration_type_to_yojson x.sync_type))); ]) let delete_repository_link_output_to_yojson = fun (x: delete_repository_link_output) -> assoc_to_yojson( [ ]) let delete_repository_link_input_to_yojson = fun (x: delete_repository_link_input) -> assoc_to_yojson( [( "RepositoryLinkId", (Some (repository_link_id_to_yojson x.repository_link_id))); ]) let delete_host_output_to_yojson = fun (x: delete_host_output) -> assoc_to_yojson( [ ]) let delete_host_input_to_yojson = fun (x: delete_host_input) -> assoc_to_yojson( [( "HostArn", (Some (host_arn_to_yojson x.host_arn))); ]) let delete_connection_output_to_yojson = fun (x: delete_connection_output) -> assoc_to_yojson( [ ]) let delete_connection_input_to_yojson = fun (x: delete_connection_input) -> assoc_to_yojson( [( "ConnectionArn", (Some (connection_arn_to_yojson x.connection_arn))); ]) let create_sync_configuration_output_to_yojson = fun (x: create_sync_configuration_output) -> assoc_to_yojson( [( "SyncConfiguration", (Some (sync_configuration_to_yojson x.sync_configuration))); ]) let create_sync_configuration_input_to_yojson = fun (x: create_sync_configuration_input) -> assoc_to_yojson( [( "TriggerResourceUpdateOn", (option_to_yojson trigger_resource_update_on_to_yojson x.trigger_resource_update_on)); ( "PublishDeploymentStatus", (option_to_yojson publish_deployment_status_to_yojson x.publish_deployment_status)); ( "SyncType", (Some (sync_configuration_type_to_yojson x.sync_type))); ( "RoleArn", (Some (iam_role_arn_to_yojson x.role_arn))); ( "ResourceName", (Some (resource_name_to_yojson x.resource_name))); ( "RepositoryLinkId", (Some (repository_link_id_to_yojson x.repository_link_id))); ( "ConfigFile", (Some (deployment_file_path_to_yojson x.config_file))); ( "Branch", (Some (branch_name_to_yojson x.branch))); ]) let create_repository_link_output_to_yojson = fun (x: create_repository_link_output) -> assoc_to_yojson( [( "RepositoryLinkInfo", (Some (repository_link_info_to_yojson x.repository_link_info))); ]) let create_repository_link_input_to_yojson = fun (x: create_repository_link_input) -> assoc_to_yojson( [( "Tags", (option_to_yojson tag_list_to_yojson x.tags)); ( "EncryptionKeyArn", (option_to_yojson kms_key_arn_to_yojson x.encryption_key_arn)); ( "RepositoryName", (Some (repository_name_to_yojson x.repository_name))); ( "OwnerId", (Some (owner_id_to_yojson x.owner_id))); ( "ConnectionArn", (Some (connection_arn_to_yojson x.connection_arn))); ]) let create_host_output_to_yojson = fun (x: create_host_output) -> assoc_to_yojson( [( "Tags", (option_to_yojson tag_list_to_yojson x.tags)); ( "HostArn", (option_to_yojson host_arn_to_yojson x.host_arn)); ]) let create_host_input_to_yojson = fun (x: create_host_input) -> assoc_to_yojson( [( "Tags", (option_to_yojson tag_list_to_yojson x.tags)); ( "VpcConfiguration", (option_to_yojson vpc_configuration_to_yojson x.vpc_configuration)); ( "ProviderEndpoint", (Some (url_to_yojson x.provider_endpoint))); ( "ProviderType", (Some (provider_type_to_yojson x.provider_type))); ( "Name", (Some (host_name_to_yojson x.name))); ]) let create_connection_output_to_yojson = fun (x: create_connection_output) -> assoc_to_yojson( [( "Tags", (option_to_yojson tag_list_to_yojson x.tags)); ( "ConnectionArn", (Some (connection_arn_to_yojson x.connection_arn))); ]) let create_connection_input_to_yojson = fun (x: create_connection_input) -> assoc_to_yojson( [( "HostArn", (option_to_yojson host_arn_to_yojson x.host_arn)); ( "Tags", (option_to_yojson tag_list_to_yojson x.tags)); ( "ConnectionName", (Some (connection_name_to_yojson x.connection_name))); ( "ProviderType", (option_to_yojson provider_type_to_yojson x.provider_type)); ]) 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)"
>