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.apprunner/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 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 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541
open Smaws_Lib.Json.DeserializeHelpers open Types let app_runner_resource_arn_of_yojson = string_of_yojson let vpc_ingress_connection_summary_of_yojson = fun tree path : vpc_ingress_connection_summary -> let _list = assoc_of_yojson tree path in let _res : vpc_ingress_connection_summary = { service_arn = option_of_yojson (value_for_key (app_runner_resource_arn_of_yojson) "ServiceArn") _list path; vpc_ingress_connection_arn = option_of_yojson (value_for_key (app_runner_resource_arn_of_yojson) "VpcIngressConnectionArn") _list path; } in _res let vpc_ingress_connection_summary_list_of_yojson = fun tree path -> list_of_yojson vpc_ingress_connection_summary_of_yojson tree path let base_unit_of_yojson = unit_of_yojson let vpc_ingress_connection_status_of_yojson = fun (tree: t) path : vpc_ingress_connection_status -> match tree with | `String "DELETED" -> DELETED | `String "FAILED_DELETION" -> FAILED_DELETION | `String "FAILED_UPDATE" -> FAILED_UPDATE | `String "FAILED_CREATION" -> FAILED_CREATION | `String "PENDING_DELETION" -> PENDING_DELETION | `String "PENDING_UPDATE" -> PENDING_UPDATE | `String "PENDING_CREATION" -> PENDING_CREATION | `String "AVAILABLE" -> AVAILABLE | `String value -> raise (deserialize_unknown_enum_value_error path "VpcIngressConnectionStatus" value) | _ -> raise (deserialize_wrong_type_error path "VpcIngressConnectionStatus") let vpc_ingress_connection_name_of_yojson = string_of_yojson let customer_account_id_of_yojson = string_of_yojson let domain_name_of_yojson = string_of_yojson let string__of_yojson = string_of_yojson let ingress_vpc_configuration_of_yojson = fun tree path : ingress_vpc_configuration -> let _list = assoc_of_yojson tree path in let _res : ingress_vpc_configuration = { vpc_endpoint_id = option_of_yojson (value_for_key (string__of_yojson) "VpcEndpointId") _list path; vpc_id = option_of_yojson (value_for_key (string__of_yojson) "VpcId") _list path; } in _res let timestamp__of_yojson = timestamp_of_yojson let vpc_ingress_connection_of_yojson = fun tree path : vpc_ingress_connection -> let _list = assoc_of_yojson tree path in let _res : vpc_ingress_connection = { deleted_at = option_of_yojson (value_for_key (timestamp__of_yojson) "DeletedAt") _list path; created_at = option_of_yojson (value_for_key (timestamp__of_yojson) "CreatedAt") _list path; ingress_vpc_configuration = option_of_yojson (value_for_key (ingress_vpc_configuration_of_yojson) "IngressVpcConfiguration") _list path; domain_name = option_of_yojson (value_for_key (domain_name_of_yojson) "DomainName") _list path; account_id = option_of_yojson (value_for_key (customer_account_id_of_yojson) "AccountId") _list path; status = option_of_yojson (value_for_key (vpc_ingress_connection_status_of_yojson) "Status") _list path; service_arn = option_of_yojson (value_for_key (app_runner_resource_arn_of_yojson) "ServiceArn") _list path; vpc_ingress_connection_name = option_of_yojson (value_for_key (vpc_ingress_connection_name_of_yojson) "VpcIngressConnectionName") _list path; vpc_ingress_connection_arn = option_of_yojson (value_for_key (app_runner_resource_arn_of_yojson) "VpcIngressConnectionArn") _list path; } in _res let vpc_dns_target_of_yojson = fun tree path : vpc_dns_target -> let _list = assoc_of_yojson tree path in let _res : vpc_dns_target = { domain_name = option_of_yojson (value_for_key (domain_name_of_yojson) "DomainName") _list path; vpc_id = option_of_yojson (value_for_key (string__of_yojson) "VpcId") _list path; vpc_ingress_connection_arn = option_of_yojson (value_for_key (app_runner_resource_arn_of_yojson) "VpcIngressConnectionArn") _list path; } in _res let vpc_dns_target_list_of_yojson = fun tree path -> list_of_yojson vpc_dns_target_of_yojson tree path let vpc_connector_name_of_yojson = string_of_yojson let integer__of_yojson = int_of_yojson let string_list_of_yojson = fun tree path -> list_of_yojson string__of_yojson tree path let vpc_connector_status_of_yojson = fun (tree: t) path : vpc_connector_status -> match tree with | `String "INACTIVE" -> INACTIVE | `String "ACTIVE" -> ACTIVE | `String value -> raise (deserialize_unknown_enum_value_error path "VpcConnectorStatus" value) | _ -> raise (deserialize_wrong_type_error path "VpcConnectorStatus") let vpc_connector_of_yojson = fun tree path : vpc_connector -> let _list = assoc_of_yojson tree path in let _res : vpc_connector = { deleted_at = option_of_yojson (value_for_key (timestamp__of_yojson) "DeletedAt") _list path; created_at = option_of_yojson (value_for_key (timestamp__of_yojson) "CreatedAt") _list path; status = option_of_yojson (value_for_key (vpc_connector_status_of_yojson) "Status") _list path; security_groups = option_of_yojson (value_for_key (string_list_of_yojson) "SecurityGroups") _list path; subnets = option_of_yojson (value_for_key (string_list_of_yojson) "Subnets") _list path; vpc_connector_revision = option_of_yojson (value_for_key (integer__of_yojson) "VpcConnectorRevision") _list path; vpc_connector_arn = option_of_yojson (value_for_key (app_runner_resource_arn_of_yojson) "VpcConnectorArn") _list path; vpc_connector_name = option_of_yojson (value_for_key (vpc_connector_name_of_yojson) "VpcConnectorName") _list path; } in _res let vpc_connectors_of_yojson = fun tree path -> list_of_yojson vpc_connector_of_yojson tree path let update_vpc_ingress_connection_response_of_yojson = fun tree path : update_vpc_ingress_connection_response -> let _list = assoc_of_yojson tree path in let _res : update_vpc_ingress_connection_response = { vpc_ingress_connection = value_for_key (vpc_ingress_connection_of_yojson) "VpcIngressConnection" _list path; } in _res let update_vpc_ingress_connection_request_of_yojson = fun tree path : update_vpc_ingress_connection_request -> let _list = assoc_of_yojson tree path in let _res : update_vpc_ingress_connection_request = { ingress_vpc_configuration = value_for_key (ingress_vpc_configuration_of_yojson) "IngressVpcConfiguration" _list path; vpc_ingress_connection_arn = value_for_key (app_runner_resource_arn_of_yojson) "VpcIngressConnectionArn" _list path; } in _res let error_message_of_yojson = string_of_yojson let resource_not_found_exception_of_yojson = fun tree path : resource_not_found_exception -> let _list = assoc_of_yojson tree path in let _res : resource_not_found_exception = { message = option_of_yojson (value_for_key (error_message_of_yojson) "Message") _list path; } in _res let invalid_state_exception_of_yojson = fun tree path : invalid_state_exception -> let _list = assoc_of_yojson tree path in let _res : invalid_state_exception = { message = option_of_yojson (value_for_key (error_message_of_yojson) "Message") _list path; } in _res let invalid_request_exception_of_yojson = fun tree path : invalid_request_exception -> let _list = assoc_of_yojson tree path in let _res : invalid_request_exception = { message = option_of_yojson (value_for_key (error_message_of_yojson) "Message") _list path; } in _res let internal_service_error_exception_of_yojson = fun tree path : internal_service_error_exception -> let _list = assoc_of_yojson tree path in let _res : internal_service_error_exception = { message = option_of_yojson (value_for_key (error_message_of_yojson) "Message") _list path; } in _res let service_name_of_yojson = string_of_yojson let service_id_of_yojson = string_of_yojson let service_status_of_yojson = fun (tree: t) path : service_status -> match tree with | `String "OPERATION_IN_PROGRESS" -> OPERATION_IN_PROGRESS | `String "PAUSED" -> PAUSED | `String "DELETE_FAILED" -> DELETE_FAILED | `String "DELETED" -> DELETED | `String "RUNNING" -> RUNNING | `String "CREATE_FAILED" -> CREATE_FAILED | `String value -> raise (deserialize_unknown_enum_value_error path "ServiceStatus" value) | _ -> raise (deserialize_wrong_type_error path "ServiceStatus") let source_code_version_type_of_yojson = fun (tree: t) path : source_code_version_type -> match tree with | `String "BRANCH" -> BRANCH | `String value -> raise (deserialize_unknown_enum_value_error path "SourceCodeVersionType" value) | _ -> raise (deserialize_wrong_type_error path "SourceCodeVersionType") let source_code_version_of_yojson = fun tree path : source_code_version -> let _list = assoc_of_yojson tree path in let _res : source_code_version = { value = value_for_key (string__of_yojson) "Value" _list path; type_ = value_for_key (source_code_version_type_of_yojson) "Type" _list path; } in _res let configuration_source_of_yojson = fun (tree: t) path : configuration_source -> match tree with | `String "API" -> API | `String "REPOSITORY" -> REPOSITORY | `String value -> raise (deserialize_unknown_enum_value_error path "ConfigurationSource" value) | _ -> raise (deserialize_wrong_type_error path "ConfigurationSource") let runtime_of_yojson = fun (tree: t) path : runtime -> match tree with | `String "NODEJS_18" -> NODEJS_18 | `String "PYTHON_311" -> PYTHON_311 | `String "RUBY_31" -> RUBY_31 | `String "PHP_81" -> PHP_81 | `String "DOTNET_6" -> DOTNET_6 | `String "GO_1" -> GO_1 | `String "NODEJS_16" -> NODEJS_16 | `String "CORRETTO_11" -> CORRETTO_11 | `String "CORRETTO_8" -> CORRETTO_8 | `String "NODEJS_14" -> NODEJS_14 | `String "NODEJS_12" -> NODEJS_12 | `String "PYTHON_3" -> PYTHON_3 | `String value -> raise (deserialize_unknown_enum_value_error path "Runtime" value) | _ -> raise (deserialize_wrong_type_error path "Runtime") let build_command_of_yojson = string_of_yojson let start_command_of_yojson = string_of_yojson let runtime_environment_variables_value_of_yojson = string_of_yojson let runtime_environment_variables_key_of_yojson = string_of_yojson let runtime_environment_variables_of_yojson = fun tree path -> map_of_yojson runtime_environment_variables_value_of_yojson tree path let runtime_environment_secrets_value_of_yojson = string_of_yojson let runtime_environment_secrets_name_of_yojson = string_of_yojson let runtime_environment_secrets_of_yojson = fun tree path -> map_of_yojson runtime_environment_secrets_value_of_yojson tree path let code_configuration_values_of_yojson = fun tree path : code_configuration_values -> let _list = assoc_of_yojson tree path in let _res : code_configuration_values = { runtime_environment_secrets = option_of_yojson (value_for_key (runtime_environment_secrets_of_yojson) "RuntimeEnvironmentSecrets") _list path; runtime_environment_variables = option_of_yojson (value_for_key (runtime_environment_variables_of_yojson) "RuntimeEnvironmentVariables") _list path; port = option_of_yojson (value_for_key (string__of_yojson) "Port") _list path; start_command = option_of_yojson (value_for_key (start_command_of_yojson) "StartCommand") _list path; build_command = option_of_yojson (value_for_key (build_command_of_yojson) "BuildCommand") _list path; runtime = value_for_key (runtime_of_yojson) "Runtime" _list path; } in _res let code_configuration_of_yojson = fun tree path : code_configuration -> let _list = assoc_of_yojson tree path in let _res : code_configuration = { code_configuration_values = option_of_yojson (value_for_key (code_configuration_values_of_yojson) "CodeConfigurationValues") _list path; configuration_source = value_for_key (configuration_source_of_yojson) "ConfigurationSource" _list path; } in _res let source_directory_of_yojson = string_of_yojson let code_repository_of_yojson = fun tree path : code_repository -> let _list = assoc_of_yojson tree path in let _res : code_repository = { source_directory = option_of_yojson (value_for_key (source_directory_of_yojson) "SourceDirectory") _list path; code_configuration = option_of_yojson (value_for_key (code_configuration_of_yojson) "CodeConfiguration") _list path; source_code_version = value_for_key (source_code_version_of_yojson) "SourceCodeVersion" _list path; repository_url = value_for_key (string__of_yojson) "RepositoryUrl" _list path; } in _res let image_identifier_of_yojson = string_of_yojson let image_configuration_of_yojson = fun tree path : image_configuration -> let _list = assoc_of_yojson tree path in let _res : image_configuration = { runtime_environment_secrets = option_of_yojson (value_for_key (runtime_environment_secrets_of_yojson) "RuntimeEnvironmentSecrets") _list path; port = option_of_yojson (value_for_key (string__of_yojson) "Port") _list path; start_command = option_of_yojson (value_for_key (start_command_of_yojson) "StartCommand") _list path; runtime_environment_variables = option_of_yojson (value_for_key (runtime_environment_variables_of_yojson) "RuntimeEnvironmentVariables") _list path; } in _res let image_repository_type_of_yojson = fun (tree: t) path : image_repository_type -> match tree with | `String "ECR_PUBLIC" -> ECR_PUBLIC | `String "ECR" -> ECR | `String value -> raise (deserialize_unknown_enum_value_error path "ImageRepositoryType" value) | _ -> raise (deserialize_wrong_type_error path "ImageRepositoryType") let image_repository_of_yojson = fun tree path : image_repository -> let _list = assoc_of_yojson tree path in let _res : image_repository = { image_repository_type = value_for_key (image_repository_type_of_yojson) "ImageRepositoryType" _list path; image_configuration = option_of_yojson (value_for_key (image_configuration_of_yojson) "ImageConfiguration") _list path; image_identifier = value_for_key (image_identifier_of_yojson) "ImageIdentifier" _list path; } in _res let nullable_boolean_of_yojson = bool_of_yojson let role_arn_of_yojson = string_of_yojson let authentication_configuration_of_yojson = fun tree path : authentication_configuration -> let _list = assoc_of_yojson tree path in let _res : authentication_configuration = { access_role_arn = option_of_yojson (value_for_key (role_arn_of_yojson) "AccessRoleArn") _list path; connection_arn = option_of_yojson (value_for_key (app_runner_resource_arn_of_yojson) "ConnectionArn") _list path; } in _res let source_configuration_of_yojson = fun tree path : source_configuration -> let _list = assoc_of_yojson tree path in let _res : source_configuration = { authentication_configuration = option_of_yojson (value_for_key (authentication_configuration_of_yojson) "AuthenticationConfiguration") _list path; auto_deployments_enabled = option_of_yojson (value_for_key (nullable_boolean_of_yojson) "AutoDeploymentsEnabled") _list path; image_repository = option_of_yojson (value_for_key (image_repository_of_yojson) "ImageRepository") _list path; code_repository = option_of_yojson (value_for_key (code_repository_of_yojson) "CodeRepository") _list path; } in _res let cpu_of_yojson = string_of_yojson let memory_of_yojson = string_of_yojson let instance_configuration_of_yojson = fun tree path : instance_configuration -> let _list = assoc_of_yojson tree path in let _res : instance_configuration = { instance_role_arn = option_of_yojson (value_for_key (role_arn_of_yojson) "InstanceRoleArn") _list path; memory = option_of_yojson (value_for_key (memory_of_yojson) "Memory") _list path; cpu = option_of_yojson (value_for_key (cpu_of_yojson) "Cpu") _list path; } in _res let kms_key_arn_of_yojson = string_of_yojson let encryption_configuration_of_yojson = fun tree path : encryption_configuration -> let _list = assoc_of_yojson tree path in let _res : encryption_configuration = { kms_key = value_for_key (kms_key_arn_of_yojson) "KmsKey" _list path; } in _res let health_check_protocol_of_yojson = fun (tree: t) path : health_check_protocol -> match tree with | `String "HTTP" -> HTTP | `String "TCP" -> TCP | `String value -> raise (deserialize_unknown_enum_value_error path "HealthCheckProtocol" value) | _ -> raise (deserialize_wrong_type_error path "HealthCheckProtocol") let health_check_path_of_yojson = string_of_yojson let health_check_interval_of_yojson = int_of_yojson let health_check_timeout_of_yojson = int_of_yojson let health_check_healthy_threshold_of_yojson = int_of_yojson let health_check_unhealthy_threshold_of_yojson = int_of_yojson let health_check_configuration_of_yojson = fun tree path : health_check_configuration -> let _list = assoc_of_yojson tree path in let _res : health_check_configuration = { unhealthy_threshold = option_of_yojson (value_for_key (health_check_unhealthy_threshold_of_yojson) "UnhealthyThreshold") _list path; healthy_threshold = option_of_yojson (value_for_key (health_check_healthy_threshold_of_yojson) "HealthyThreshold") _list path; timeout = option_of_yojson (value_for_key (health_check_timeout_of_yojson) "Timeout") _list path; interval = option_of_yojson (value_for_key (health_check_interval_of_yojson) "Interval") _list path; path = option_of_yojson (value_for_key (health_check_path_of_yojson) "Path") _list path; protocol = option_of_yojson (value_for_key (health_check_protocol_of_yojson) "Protocol") _list path; } in _res let auto_scaling_configuration_name_of_yojson = string_of_yojson let auto_scaling_configuration_status_of_yojson = fun (tree: t) path : auto_scaling_configuration_status -> match tree with | `String "INACTIVE" -> INACTIVE | `String "ACTIVE" -> ACTIVE | `String value -> raise (deserialize_unknown_enum_value_error path "AutoScalingConfigurationStatus" value) | _ -> raise (deserialize_wrong_type_error path "AutoScalingConfigurationStatus") let has_associated_service_of_yojson = bool_of_yojson let is_default_of_yojson = bool_of_yojson let auto_scaling_configuration_summary_of_yojson = fun tree path : auto_scaling_configuration_summary -> let _list = assoc_of_yojson tree path in let _res : auto_scaling_configuration_summary = { is_default = option_of_yojson (value_for_key (is_default_of_yojson) "IsDefault") _list path; has_associated_service = option_of_yojson (value_for_key (has_associated_service_of_yojson) "HasAssociatedService") _list path; created_at = option_of_yojson (value_for_key (timestamp__of_yojson) "CreatedAt") _list path; status = option_of_yojson (value_for_key (auto_scaling_configuration_status_of_yojson) "Status") _list path; auto_scaling_configuration_revision = option_of_yojson (value_for_key (integer__of_yojson) "AutoScalingConfigurationRevision") _list path; auto_scaling_configuration_name = option_of_yojson (value_for_key (auto_scaling_configuration_name_of_yojson) "AutoScalingConfigurationName") _list path; auto_scaling_configuration_arn = option_of_yojson (value_for_key (app_runner_resource_arn_of_yojson) "AutoScalingConfigurationArn") _list path; } in _res let egress_type_of_yojson = fun (tree: t) path : egress_type -> match tree with | `String "VPC" -> VPC | `String "DEFAULT" -> DEFAULT | `String value -> raise (deserialize_unknown_enum_value_error path "EgressType" value) | _ -> raise (deserialize_wrong_type_error path "EgressType") let egress_configuration_of_yojson = fun tree path : egress_configuration -> let _list = assoc_of_yojson tree path in let _res : egress_configuration = { vpc_connector_arn = option_of_yojson (value_for_key (app_runner_resource_arn_of_yojson) "VpcConnectorArn") _list path; egress_type = option_of_yojson (value_for_key (egress_type_of_yojson) "EgressType") _list path; } in _res let boolean__of_yojson = bool_of_yojson let ingress_configuration_of_yojson = fun tree path : ingress_configuration -> let _list = assoc_of_yojson tree path in let _res : ingress_configuration = { is_publicly_accessible = option_of_yojson (value_for_key (boolean__of_yojson) "IsPubliclyAccessible") _list path; } in _res let ip_address_type_of_yojson = fun (tree: t) path : ip_address_type -> match tree with | `String "DUAL_STACK" -> DUAL_STACK | `String "IPV4" -> IPV4 | `String value -> raise (deserialize_unknown_enum_value_error path "IpAddressType" value) | _ -> raise (deserialize_wrong_type_error path "IpAddressType") let network_configuration_of_yojson = fun tree path : network_configuration -> let _list = assoc_of_yojson tree path in let _res : network_configuration = { ip_address_type = option_of_yojson (value_for_key (ip_address_type_of_yojson) "IpAddressType") _list path; ingress_configuration = option_of_yojson (value_for_key (ingress_configuration_of_yojson) "IngressConfiguration") _list path; egress_configuration = option_of_yojson (value_for_key (egress_configuration_of_yojson) "EgressConfiguration") _list path; } in _res let service_observability_configuration_of_yojson = fun tree path : service_observability_configuration -> let _list = assoc_of_yojson tree path in let _res : service_observability_configuration = { observability_configuration_arn = option_of_yojson (value_for_key (app_runner_resource_arn_of_yojson) "ObservabilityConfigurationArn") _list path; observability_enabled = value_for_key (boolean__of_yojson) "ObservabilityEnabled" _list path; } in _res let service_of_yojson = fun tree path : service -> let _list = assoc_of_yojson tree path in let _res : service = { observability_configuration = option_of_yojson (value_for_key (service_observability_configuration_of_yojson) "ObservabilityConfiguration") _list path; network_configuration = value_for_key (network_configuration_of_yojson) "NetworkConfiguration" _list path; auto_scaling_configuration_summary = value_for_key (auto_scaling_configuration_summary_of_yojson) "AutoScalingConfigurationSummary" _list path; health_check_configuration = option_of_yojson (value_for_key (health_check_configuration_of_yojson) "HealthCheckConfiguration") _list path; encryption_configuration = option_of_yojson (value_for_key (encryption_configuration_of_yojson) "EncryptionConfiguration") _list path; instance_configuration = value_for_key (instance_configuration_of_yojson) "InstanceConfiguration" _list path; source_configuration = value_for_key (source_configuration_of_yojson) "SourceConfiguration" _list path; status = value_for_key (service_status_of_yojson) "Status" _list path; deleted_at = option_of_yojson (value_for_key (timestamp__of_yojson) "DeletedAt") _list path; updated_at = value_for_key (timestamp__of_yojson) "UpdatedAt" _list path; created_at = value_for_key (timestamp__of_yojson) "CreatedAt" _list path; service_url = option_of_yojson (value_for_key (string__of_yojson) "ServiceUrl") _list path; service_arn = value_for_key (app_runner_resource_arn_of_yojson) "ServiceArn" _list path; service_id = value_for_key (service_id_of_yojson) "ServiceId" _list path; service_name = value_for_key (service_name_of_yojson) "ServiceName" _list path; } in _res let uui_d_of_yojson = string_of_yojson let update_service_response_of_yojson = fun tree path : update_service_response -> let _list = assoc_of_yojson tree path in let _res : update_service_response = { operation_id = value_for_key (uui_d_of_yojson) "OperationId" _list path; service = value_for_key (service_of_yojson) "Service" _list path; } in _res let update_service_request_of_yojson = fun tree path : update_service_request -> let _list = assoc_of_yojson tree path in let _res : update_service_request = { observability_configuration = option_of_yojson (value_for_key (service_observability_configuration_of_yojson) "ObservabilityConfiguration") _list path; network_configuration = option_of_yojson (value_for_key (network_configuration_of_yojson) "NetworkConfiguration") _list path; health_check_configuration = option_of_yojson (value_for_key (health_check_configuration_of_yojson) "HealthCheckConfiguration") _list path; auto_scaling_configuration_arn = option_of_yojson (value_for_key (app_runner_resource_arn_of_yojson) "AutoScalingConfigurationArn") _list path; instance_configuration = option_of_yojson (value_for_key (instance_configuration_of_yojson) "InstanceConfiguration") _list path; source_configuration = option_of_yojson (value_for_key (source_configuration_of_yojson) "SourceConfiguration") _list path; service_arn = value_for_key (app_runner_resource_arn_of_yojson) "ServiceArn" _list path; } in _res let auto_scaling_configuration_revision_of_yojson = int_of_yojson let latest_of_yojson = bool_of_yojson let max_concurrency_of_yojson = int_of_yojson let min_size_of_yojson = int_of_yojson let max_size_of_yojson = int_of_yojson let auto_scaling_configuration_of_yojson = fun tree path : auto_scaling_configuration -> let _list = assoc_of_yojson tree path in let _res : auto_scaling_configuration = { is_default = option_of_yojson (value_for_key (is_default_of_yojson) "IsDefault") _list path; has_associated_service = option_of_yojson (value_for_key (has_associated_service_of_yojson) "HasAssociatedService") _list path; deleted_at = option_of_yojson (value_for_key (timestamp__of_yojson) "DeletedAt") _list path; created_at = option_of_yojson (value_for_key (timestamp__of_yojson) "CreatedAt") _list path; max_size = option_of_yojson (value_for_key (max_size_of_yojson) "MaxSize") _list path; min_size = option_of_yojson (value_for_key (min_size_of_yojson) "MinSize") _list path; max_concurrency = option_of_yojson (value_for_key (max_concurrency_of_yojson) "MaxConcurrency") _list path; status = option_of_yojson (value_for_key (auto_scaling_configuration_status_of_yojson) "Status") _list path; latest = option_of_yojson (value_for_key (latest_of_yojson) "Latest") _list path; auto_scaling_configuration_revision = option_of_yojson (value_for_key (auto_scaling_configuration_revision_of_yojson) "AutoScalingConfigurationRevision") _list path; auto_scaling_configuration_name = option_of_yojson (value_for_key (auto_scaling_configuration_name_of_yojson) "AutoScalingConfigurationName") _list path; auto_scaling_configuration_arn = option_of_yojson (value_for_key (app_runner_resource_arn_of_yojson) "AutoScalingConfigurationArn") _list path; } in _res let update_default_auto_scaling_configuration_response_of_yojson = fun tree path : update_default_auto_scaling_configuration_response -> let _list = assoc_of_yojson tree path in let _res : update_default_auto_scaling_configuration_response = { auto_scaling_configuration = value_for_key (auto_scaling_configuration_of_yojson) "AutoScalingConfiguration" _list path; } in _res let update_default_auto_scaling_configuration_request_of_yojson = fun tree path : update_default_auto_scaling_configuration_request -> let _list = assoc_of_yojson tree path in let _res : update_default_auto_scaling_configuration_request = { auto_scaling_configuration_arn = value_for_key (app_runner_resource_arn_of_yojson) "AutoScalingConfigurationArn" _list path; } in _res 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 = () in _res let tag_key_of_yojson = string_of_yojson let tag_key_list_of_yojson = fun tree path -> list_of_yojson tag_key_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 (tag_key_list_of_yojson) "TagKeys" _list path; resource_arn = value_for_key (app_runner_resource_arn_of_yojson) "ResourceArn" _list path; } in _res let tracing_vendor_of_yojson = fun (tree: t) path : tracing_vendor -> match tree with | `String "AWSXRAY" -> AWSXRAY | `String value -> raise (deserialize_unknown_enum_value_error path "TracingVendor" value) | _ -> raise (deserialize_wrong_type_error path "TracingVendor") let trace_configuration_of_yojson = fun tree path : trace_configuration -> let _list = assoc_of_yojson tree path in let _res : trace_configuration = { vendor = value_for_key (tracing_vendor_of_yojson) "Vendor" _list path; } in _res let tag_value_of_yojson = string_of_yojson 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 = () 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 (tag_value_of_yojson) "Value") _list path; key = option_of_yojson (value_for_key (tag_key_of_yojson) "Key") _list path; } in _res let tag_list_of_yojson = fun tree path -> list_of_yojson tag_of_yojson tree path 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_arn = value_for_key (app_runner_resource_arn_of_yojson) "ResourceArn" _list path; } in _res let start_deployment_response_of_yojson = fun tree path : start_deployment_response -> let _list = assoc_of_yojson tree path in let _res : start_deployment_response = { operation_id = value_for_key (uui_d_of_yojson) "OperationId" _list path; } in _res let start_deployment_request_of_yojson = fun tree path : start_deployment_request -> let _list = assoc_of_yojson tree path in let _res : start_deployment_request = { service_arn = value_for_key (app_runner_resource_arn_of_yojson) "ServiceArn" _list path; } in _res let service_summary_of_yojson = fun tree path : service_summary -> let _list = assoc_of_yojson tree path in let _res : service_summary = { status = option_of_yojson (value_for_key (service_status_of_yojson) "Status") _list path; updated_at = option_of_yojson (value_for_key (timestamp__of_yojson) "UpdatedAt") _list path; created_at = option_of_yojson (value_for_key (timestamp__of_yojson) "CreatedAt") _list path; service_url = option_of_yojson (value_for_key (string__of_yojson) "ServiceUrl") _list path; service_arn = option_of_yojson (value_for_key (app_runner_resource_arn_of_yojson) "ServiceArn") _list path; service_id = option_of_yojson (value_for_key (service_id_of_yojson) "ServiceId") _list path; service_name = option_of_yojson (value_for_key (service_name_of_yojson) "ServiceName") _list path; } in _res let service_summary_list_of_yojson = fun tree path -> list_of_yojson service_summary_of_yojson tree path 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 = { message = option_of_yojson (value_for_key (error_message_of_yojson) "Message") _list path; } in _res let service_max_results_of_yojson = int_of_yojson let service_arn_list_of_yojson = fun tree path -> list_of_yojson app_runner_resource_arn_of_yojson tree path let resume_service_response_of_yojson = fun tree path : resume_service_response -> let _list = assoc_of_yojson tree path in let _res : resume_service_response = { operation_id = option_of_yojson (value_for_key (uui_d_of_yojson) "OperationId") _list path; service = value_for_key (service_of_yojson) "Service" _list path; } in _res let resume_service_request_of_yojson = fun tree path : resume_service_request -> let _list = assoc_of_yojson tree path in let _res : resume_service_request = { service_arn = value_for_key (app_runner_resource_arn_of_yojson) "ServiceArn" _list path; } in _res let provider_type_of_yojson = fun (tree: t) path : provider_type -> match tree with | `String "BITBUCKET" -> BITBUCKET | `String "GITHUB" -> GITHUB | `String value -> raise (deserialize_unknown_enum_value_error path "ProviderType" value) | _ -> raise (deserialize_wrong_type_error path "ProviderType") let pause_service_response_of_yojson = fun tree path : pause_service_response -> let _list = assoc_of_yojson tree path in let _res : pause_service_response = { operation_id = option_of_yojson (value_for_key (uui_d_of_yojson) "OperationId") _list path; service = value_for_key (service_of_yojson) "Service" _list path; } in _res let pause_service_request_of_yojson = fun tree path : pause_service_request -> let _list = assoc_of_yojson tree path in let _res : pause_service_request = { service_arn = value_for_key (app_runner_resource_arn_of_yojson) "ServiceArn" _list path; } in _res let operation_type_of_yojson = fun (tree: t) path : operation_type -> match tree with | `String "UPDATE_SERVICE" -> UPDATE_SERVICE | `String "DELETE_SERVICE" -> DELETE_SERVICE | `String "RESUME_SERVICE" -> RESUME_SERVICE | `String "PAUSE_SERVICE" -> PAUSE_SERVICE | `String "CREATE_SERVICE" -> CREATE_SERVICE | `String "START_DEPLOYMENT" -> START_DEPLOYMENT | `String value -> raise (deserialize_unknown_enum_value_error path "OperationType" value) | _ -> raise (deserialize_wrong_type_error path "OperationType") let operation_status_of_yojson = fun (tree: t) path : operation_status -> match tree with | `String "ROLLBACK_SUCCEEDED" -> ROLLBACK_SUCCEEDED | `String "ROLLBACK_FAILED" -> ROLLBACK_FAILED | `String "ROLLBACK_IN_PROGRESS" -> ROLLBACK_IN_PROGRESS | `String "SUCCEEDED" -> SUCCEEDED | `String "FAILED" -> FAILED | `String "IN_PROGRESS" -> IN_PROGRESS | `String "PENDING" -> PENDING | `String value -> raise (deserialize_unknown_enum_value_error path "OperationStatus" value) | _ -> raise (deserialize_wrong_type_error path "OperationStatus") let operation_summary_of_yojson = fun tree path : operation_summary -> let _list = assoc_of_yojson tree path in let _res : operation_summary = { updated_at = option_of_yojson (value_for_key (timestamp__of_yojson) "UpdatedAt") _list path; ended_at = option_of_yojson (value_for_key (timestamp__of_yojson) "EndedAt") _list path; started_at = option_of_yojson (value_for_key (timestamp__of_yojson) "StartedAt") _list path; target_arn = option_of_yojson (value_for_key (app_runner_resource_arn_of_yojson) "TargetArn") _list path; status = option_of_yojson (value_for_key (operation_status_of_yojson) "Status") _list path; type_ = option_of_yojson (value_for_key (operation_type_of_yojson) "Type") _list path; id = option_of_yojson (value_for_key (uui_d_of_yojson) "Id") _list path; } in _res let operation_summary_list_of_yojson = fun tree path -> list_of_yojson operation_summary_of_yojson tree path let observability_configuration_name_of_yojson = string_of_yojson let observability_configuration_summary_of_yojson = fun tree path : observability_configuration_summary -> let _list = assoc_of_yojson tree path in let _res : observability_configuration_summary = { observability_configuration_revision = option_of_yojson (value_for_key (integer__of_yojson) "ObservabilityConfigurationRevision") _list path; observability_configuration_name = option_of_yojson (value_for_key (observability_configuration_name_of_yojson) "ObservabilityConfigurationName") _list path; observability_configuration_arn = option_of_yojson (value_for_key (app_runner_resource_arn_of_yojson) "ObservabilityConfigurationArn") _list path; } in _res let observability_configuration_summary_list_of_yojson = fun tree path -> list_of_yojson observability_configuration_summary_of_yojson tree path let observability_configuration_status_of_yojson = fun (tree: t) path : observability_configuration_status -> match tree with | `String "INACTIVE" -> INACTIVE | `String "ACTIVE" -> ACTIVE | `String value -> raise (deserialize_unknown_enum_value_error path "ObservabilityConfigurationStatus" value) | _ -> raise (deserialize_wrong_type_error path "ObservabilityConfigurationStatus") let observability_configuration_of_yojson = fun tree path : observability_configuration -> let _list = assoc_of_yojson tree path in let _res : observability_configuration = { deleted_at = option_of_yojson (value_for_key (timestamp__of_yojson) "DeletedAt") _list path; created_at = option_of_yojson (value_for_key (timestamp__of_yojson) "CreatedAt") _list path; status = option_of_yojson (value_for_key (observability_configuration_status_of_yojson) "Status") _list path; latest = option_of_yojson (value_for_key (boolean__of_yojson) "Latest") _list path; observability_configuration_revision = option_of_yojson (value_for_key (integer__of_yojson) "ObservabilityConfigurationRevision") _list path; trace_configuration = option_of_yojson (value_for_key (trace_configuration_of_yojson) "TraceConfiguration") _list path; observability_configuration_name = option_of_yojson (value_for_key (observability_configuration_name_of_yojson) "ObservabilityConfigurationName") _list path; observability_configuration_arn = option_of_yojson (value_for_key (app_runner_resource_arn_of_yojson) "ObservabilityConfigurationArn") _list path; } in _res let next_token_of_yojson = string_of_yojson let max_results_of_yojson = int_of_yojson let list_vpc_ingress_connections_response_of_yojson = fun tree path : list_vpc_ingress_connections_response -> let _list = assoc_of_yojson tree path in let _res : list_vpc_ingress_connections_response = { next_token = option_of_yojson (value_for_key (next_token_of_yojson) "NextToken") _list path; vpc_ingress_connection_summary_list = value_for_key (vpc_ingress_connection_summary_list_of_yojson) "VpcIngressConnectionSummaryList" _list path; } in _res let list_vpc_ingress_connections_filter_of_yojson = fun tree path : list_vpc_ingress_connections_filter -> let _list = assoc_of_yojson tree path in let _res : list_vpc_ingress_connections_filter = { vpc_endpoint_id = option_of_yojson (value_for_key (string__of_yojson) "VpcEndpointId") _list path; service_arn = option_of_yojson (value_for_key (app_runner_resource_arn_of_yojson) "ServiceArn") _list path; } in _res let list_vpc_ingress_connections_request_of_yojson = fun tree path : list_vpc_ingress_connections_request -> let _list = assoc_of_yojson tree path in let _res : list_vpc_ingress_connections_request = { next_token = option_of_yojson (value_for_key (next_token_of_yojson) "NextToken") _list path; max_results = option_of_yojson (value_for_key (max_results_of_yojson) "MaxResults") _list path; filter = option_of_yojson (value_for_key (list_vpc_ingress_connections_filter_of_yojson) "Filter") _list path; } in _res let list_vpc_connectors_response_of_yojson = fun tree path : list_vpc_connectors_response -> let _list = assoc_of_yojson tree path in let _res : list_vpc_connectors_response = { next_token = option_of_yojson (value_for_key (next_token_of_yojson) "NextToken") _list path; vpc_connectors = value_for_key (vpc_connectors_of_yojson) "VpcConnectors" _list path; } in _res let list_vpc_connectors_request_of_yojson = fun tree path : list_vpc_connectors_request -> let _list = assoc_of_yojson tree path in let _res : list_vpc_connectors_request = { next_token = option_of_yojson (value_for_key (next_token_of_yojson) "NextToken") _list path; max_results = option_of_yojson (value_for_key (max_results_of_yojson) "MaxResults") _list path; } in _res let = fun tree path : list_tags_for_resource_response -> let _list = assoc_of_yojson tree path in let _res : list_tags_for_resource_response = { tags = option_of_yojson (value_for_key (tag_list_of_yojson) "Tags") _list path; } in _res let = fun tree path : list_tags_for_resource_request -> let _list = assoc_of_yojson tree path in let _res : list_tags_for_resource_request = { resource_arn = value_for_key (app_runner_resource_arn_of_yojson) "ResourceArn" _list path; } in _res let list_services_response_of_yojson = fun tree path : list_services_response -> let _list = assoc_of_yojson tree path in let _res : list_services_response = { next_token = option_of_yojson (value_for_key (string__of_yojson) "NextToken") _list path; service_summary_list = value_for_key (service_summary_list_of_yojson) "ServiceSummaryList" _list path; } in _res let list_services_request_of_yojson = fun tree path : list_services_request -> let _list = assoc_of_yojson tree path in let _res : list_services_request = { max_results = option_of_yojson (value_for_key (service_max_results_of_yojson) "MaxResults") _list path; next_token = option_of_yojson (value_for_key (string__of_yojson) "NextToken") _list path; } in _res let list_services_for_auto_scaling_configuration_response_of_yojson = fun tree path : list_services_for_auto_scaling_configuration_response -> let _list = assoc_of_yojson tree path in let _res : list_services_for_auto_scaling_configuration_response = { next_token = option_of_yojson (value_for_key (next_token_of_yojson) "NextToken") _list path; service_arn_list = value_for_key (service_arn_list_of_yojson) "ServiceArnList" _list path; } in _res let list_services_for_auto_scaling_configuration_request_of_yojson = fun tree path : list_services_for_auto_scaling_configuration_request -> let _list = assoc_of_yojson tree path in let _res : list_services_for_auto_scaling_configuration_request = { next_token = option_of_yojson (value_for_key (next_token_of_yojson) "NextToken") _list path; max_results = option_of_yojson (value_for_key (max_results_of_yojson) "MaxResults") _list path; auto_scaling_configuration_arn = value_for_key (app_runner_resource_arn_of_yojson) "AutoScalingConfigurationArn" _list path; } in _res let list_operations_response_of_yojson = fun tree path : list_operations_response -> let _list = assoc_of_yojson tree path in let _res : list_operations_response = { next_token = option_of_yojson (value_for_key (string__of_yojson) "NextToken") _list path; operation_summary_list = option_of_yojson (value_for_key (operation_summary_list_of_yojson) "OperationSummaryList") _list path; } in _res let list_operations_max_results_of_yojson = int_of_yojson let list_operations_request_of_yojson = fun tree path : list_operations_request -> let _list = assoc_of_yojson tree path in let _res : list_operations_request = { max_results = option_of_yojson (value_for_key (list_operations_max_results_of_yojson) "MaxResults") _list path; next_token = option_of_yojson (value_for_key (string__of_yojson) "NextToken") _list path; service_arn = value_for_key (app_runner_resource_arn_of_yojson) "ServiceArn" _list path; } in _res let list_observability_configurations_response_of_yojson = fun tree path : list_observability_configurations_response -> let _list = assoc_of_yojson tree path in let _res : list_observability_configurations_response = { next_token = option_of_yojson (value_for_key (next_token_of_yojson) "NextToken") _list path; observability_configuration_summary_list = value_for_key (observability_configuration_summary_list_of_yojson) "ObservabilityConfigurationSummaryList" _list path; } in _res let list_observability_configurations_request_of_yojson = fun tree path : list_observability_configurations_request -> let _list = assoc_of_yojson tree path in let _res : list_observability_configurations_request = { next_token = option_of_yojson (value_for_key (next_token_of_yojson) "NextToken") _list path; max_results = option_of_yojson (value_for_key (max_results_of_yojson) "MaxResults") _list path; latest_only = option_of_yojson (value_for_key (boolean__of_yojson) "LatestOnly") _list path; observability_configuration_name = option_of_yojson (value_for_key (observability_configuration_name_of_yojson) "ObservabilityConfigurationName") _list path; } in _res let connection_name_of_yojson = string_of_yojson let connection_status_of_yojson = fun (tree: t) path : connection_status -> match tree with | `String "DELETED" -> DELETED | `String "ERROR" -> ERROR | `String "AVAILABLE" -> AVAILABLE | `String "PENDING_HANDSHAKE" -> PENDING_HANDSHAKE | `String value -> raise (deserialize_unknown_enum_value_error path "ConnectionStatus" value) | _ -> raise (deserialize_wrong_type_error path "ConnectionStatus") let connection_summary_of_yojson = fun tree path : connection_summary -> let _list = assoc_of_yojson tree path in let _res : connection_summary = { created_at = option_of_yojson (value_for_key (timestamp__of_yojson) "CreatedAt") _list path; status = option_of_yojson (value_for_key (connection_status_of_yojson) "Status") _list path; provider_type = option_of_yojson (value_for_key (provider_type_of_yojson) "ProviderType") _list path; connection_arn = option_of_yojson (value_for_key (app_runner_resource_arn_of_yojson) "ConnectionArn") _list path; connection_name = option_of_yojson (value_for_key (connection_name_of_yojson) "ConnectionName") _list path; } in _res let connection_summary_list_of_yojson = fun tree path -> list_of_yojson connection_summary_of_yojson tree path let list_connections_response_of_yojson = fun tree path : list_connections_response -> let _list = assoc_of_yojson tree path in let _res : list_connections_response = { next_token = option_of_yojson (value_for_key (next_token_of_yojson) "NextToken") _list path; connection_summary_list = value_for_key (connection_summary_list_of_yojson) "ConnectionSummaryList" _list path; } in _res let list_connections_request_of_yojson = fun tree path : list_connections_request -> let _list = assoc_of_yojson tree path in let _res : list_connections_request = { next_token = option_of_yojson (value_for_key (next_token_of_yojson) "NextToken") _list path; max_results = option_of_yojson (value_for_key (max_results_of_yojson) "MaxResults") _list path; connection_name = option_of_yojson (value_for_key (connection_name_of_yojson) "ConnectionName") _list path; } in _res let auto_scaling_configuration_summary_list_of_yojson = fun tree path -> list_of_yojson auto_scaling_configuration_summary_of_yojson tree path let list_auto_scaling_configurations_response_of_yojson = fun tree path : list_auto_scaling_configurations_response -> let _list = assoc_of_yojson tree path in let _res : list_auto_scaling_configurations_response = { next_token = option_of_yojson (value_for_key (next_token_of_yojson) "NextToken") _list path; auto_scaling_configuration_summary_list = value_for_key (auto_scaling_configuration_summary_list_of_yojson) "AutoScalingConfigurationSummaryList" _list path; } in _res let list_auto_scaling_configurations_request_of_yojson = fun tree path : list_auto_scaling_configurations_request -> let _list = assoc_of_yojson tree path in let _res : list_auto_scaling_configurations_request = { next_token = option_of_yojson (value_for_key (next_token_of_yojson) "NextToken") _list path; max_results = option_of_yojson (value_for_key (max_results_of_yojson) "MaxResults") _list path; latest_only = option_of_yojson (value_for_key (boolean__of_yojson) "LatestOnly") _list path; auto_scaling_configuration_name = option_of_yojson (value_for_key (auto_scaling_configuration_name_of_yojson) "AutoScalingConfigurationName") _list path; } in _res let certificate_validation_record_status_of_yojson = fun (tree: t) path : certificate_validation_record_status -> match tree with | `String "FAILED" -> FAILED | `String "SUCCESS" -> SUCCESS | `String "PENDING_VALIDATION" -> PENDING_VALIDATION | `String value -> raise (deserialize_unknown_enum_value_error path "CertificateValidationRecordStatus" value) | _ -> raise (deserialize_wrong_type_error path "CertificateValidationRecordStatus") let certificate_validation_record_of_yojson = fun tree path : certificate_validation_record -> let _list = assoc_of_yojson tree path in let _res : certificate_validation_record = { status = option_of_yojson (value_for_key (certificate_validation_record_status_of_yojson) "Status") _list path; value = option_of_yojson (value_for_key (string__of_yojson) "Value") _list path; type_ = option_of_yojson (value_for_key (string__of_yojson) "Type") _list path; name = option_of_yojson (value_for_key (string__of_yojson) "Name") _list path; } in _res let certificate_validation_record_list_of_yojson = fun tree path -> list_of_yojson certificate_validation_record_of_yojson tree path let custom_domain_association_status_of_yojson = fun (tree: t) path : custom_domain_association_status -> match tree with | `String "BINDING_CERTIFICATE" -> BINDING_CERTIFICATE | `String "PENDING_CERTIFICATE_DNS_VALIDATION" -> PENDING_CERTIFICATE_DNS_VALIDATION | `String "DELETE_FAILED" -> DELETE_FAILED | `String "DELETING" -> DELETING | `String "ACTIVE" -> ACTIVE | `String "CREATE_FAILED" -> CREATE_FAILED | `String "CREATING" -> CREATING | `String value -> raise (deserialize_unknown_enum_value_error path "CustomDomainAssociationStatus" value) | _ -> raise (deserialize_wrong_type_error path "CustomDomainAssociationStatus") let custom_domain_of_yojson = fun tree path : custom_domain -> let _list = assoc_of_yojson tree path in let _res : custom_domain = { status = value_for_key (custom_domain_association_status_of_yojson) "Status" _list path; certificate_validation_records = option_of_yojson (value_for_key (certificate_validation_record_list_of_yojson) "CertificateValidationRecords") _list path; enable_www_subdomain = value_for_key (nullable_boolean_of_yojson) "EnableWWWSubdomain" _list path; domain_name = value_for_key (domain_name_of_yojson) "DomainName" _list path; } in _res let disassociate_custom_domain_response_of_yojson = fun tree path : disassociate_custom_domain_response -> let _list = assoc_of_yojson tree path in let _res : disassociate_custom_domain_response = { vpc_dns_targets = value_for_key (vpc_dns_target_list_of_yojson) "VpcDNSTargets" _list path; custom_domain = value_for_key (custom_domain_of_yojson) "CustomDomain" _list path; service_arn = value_for_key (app_runner_resource_arn_of_yojson) "ServiceArn" _list path; dns_target = value_for_key (string__of_yojson) "DNSTarget" _list path; } in _res let disassociate_custom_domain_request_of_yojson = fun tree path : disassociate_custom_domain_request -> let _list = assoc_of_yojson tree path in let _res : disassociate_custom_domain_request = { domain_name = value_for_key (domain_name_of_yojson) "DomainName" _list path; service_arn = value_for_key (app_runner_resource_arn_of_yojson) "ServiceArn" _list path; } in _res let describe_vpc_ingress_connection_response_of_yojson = fun tree path : describe_vpc_ingress_connection_response -> let _list = assoc_of_yojson tree path in let _res : describe_vpc_ingress_connection_response = { vpc_ingress_connection = value_for_key (vpc_ingress_connection_of_yojson) "VpcIngressConnection" _list path; } in _res let describe_vpc_ingress_connection_request_of_yojson = fun tree path : describe_vpc_ingress_connection_request -> let _list = assoc_of_yojson tree path in let _res : describe_vpc_ingress_connection_request = { vpc_ingress_connection_arn = value_for_key (app_runner_resource_arn_of_yojson) "VpcIngressConnectionArn" _list path; } in _res let describe_vpc_connector_response_of_yojson = fun tree path : describe_vpc_connector_response -> let _list = assoc_of_yojson tree path in let _res : describe_vpc_connector_response = { vpc_connector = value_for_key (vpc_connector_of_yojson) "VpcConnector" _list path; } in _res let describe_vpc_connector_request_of_yojson = fun tree path : describe_vpc_connector_request -> let _list = assoc_of_yojson tree path in let _res : describe_vpc_connector_request = { vpc_connector_arn = value_for_key (app_runner_resource_arn_of_yojson) "VpcConnectorArn" _list path; } in _res let describe_service_response_of_yojson = fun tree path : describe_service_response -> let _list = assoc_of_yojson tree path in let _res : describe_service_response = { service = value_for_key (service_of_yojson) "Service" _list path; } in _res let describe_service_request_of_yojson = fun tree path : describe_service_request -> let _list = assoc_of_yojson tree path in let _res : describe_service_request = { service_arn = value_for_key (app_runner_resource_arn_of_yojson) "ServiceArn" _list path; } in _res let describe_observability_configuration_response_of_yojson = fun tree path : describe_observability_configuration_response -> let _list = assoc_of_yojson tree path in let _res : describe_observability_configuration_response = { observability_configuration = value_for_key (observability_configuration_of_yojson) "ObservabilityConfiguration" _list path; } in _res let describe_observability_configuration_request_of_yojson = fun tree path : describe_observability_configuration_request -> let _list = assoc_of_yojson tree path in let _res : describe_observability_configuration_request = { observability_configuration_arn = value_for_key (app_runner_resource_arn_of_yojson) "ObservabilityConfigurationArn" _list path; } in _res let custom_domain_list_of_yojson = fun tree path -> list_of_yojson custom_domain_of_yojson tree path let describe_custom_domains_response_of_yojson = fun tree path : describe_custom_domains_response -> let _list = assoc_of_yojson tree path in let _res : describe_custom_domains_response = { next_token = option_of_yojson (value_for_key (string__of_yojson) "NextToken") _list path; vpc_dns_targets = value_for_key (vpc_dns_target_list_of_yojson) "VpcDNSTargets" _list path; custom_domains = value_for_key (custom_domain_list_of_yojson) "CustomDomains" _list path; service_arn = value_for_key (app_runner_resource_arn_of_yojson) "ServiceArn" _list path; dns_target = value_for_key (string__of_yojson) "DNSTarget" _list path; } in _res let describe_custom_domains_max_results_of_yojson = int_of_yojson let describe_custom_domains_request_of_yojson = fun tree path : describe_custom_domains_request -> let _list = assoc_of_yojson tree path in let _res : describe_custom_domains_request = { max_results = option_of_yojson (value_for_key (describe_custom_domains_max_results_of_yojson) "MaxResults") _list path; next_token = option_of_yojson (value_for_key (string__of_yojson) "NextToken") _list path; service_arn = value_for_key (app_runner_resource_arn_of_yojson) "ServiceArn" _list path; } in _res let describe_auto_scaling_configuration_response_of_yojson = fun tree path : describe_auto_scaling_configuration_response -> let _list = assoc_of_yojson tree path in let _res : describe_auto_scaling_configuration_response = { auto_scaling_configuration = value_for_key (auto_scaling_configuration_of_yojson) "AutoScalingConfiguration" _list path; } in _res let describe_auto_scaling_configuration_request_of_yojson = fun tree path : describe_auto_scaling_configuration_request -> let _list = assoc_of_yojson tree path in let _res : describe_auto_scaling_configuration_request = { auto_scaling_configuration_arn = value_for_key (app_runner_resource_arn_of_yojson) "AutoScalingConfigurationArn" _list path; } in _res let delete_vpc_ingress_connection_response_of_yojson = fun tree path : delete_vpc_ingress_connection_response -> let _list = assoc_of_yojson tree path in let _res : delete_vpc_ingress_connection_response = { vpc_ingress_connection = value_for_key (vpc_ingress_connection_of_yojson) "VpcIngressConnection" _list path; } in _res let delete_vpc_ingress_connection_request_of_yojson = fun tree path : delete_vpc_ingress_connection_request -> let _list = assoc_of_yojson tree path in let _res : delete_vpc_ingress_connection_request = { vpc_ingress_connection_arn = value_for_key (app_runner_resource_arn_of_yojson) "VpcIngressConnectionArn" _list path; } in _res let delete_vpc_connector_response_of_yojson = fun tree path : delete_vpc_connector_response -> let _list = assoc_of_yojson tree path in let _res : delete_vpc_connector_response = { vpc_connector = value_for_key (vpc_connector_of_yojson) "VpcConnector" _list path; } in _res let delete_vpc_connector_request_of_yojson = fun tree path : delete_vpc_connector_request -> let _list = assoc_of_yojson tree path in let _res : delete_vpc_connector_request = { vpc_connector_arn = value_for_key (app_runner_resource_arn_of_yojson) "VpcConnectorArn" _list path; } in _res let delete_service_response_of_yojson = fun tree path : delete_service_response -> let _list = assoc_of_yojson tree path in let _res : delete_service_response = { operation_id = value_for_key (uui_d_of_yojson) "OperationId" _list path; service = value_for_key (service_of_yojson) "Service" _list path; } in _res let delete_service_request_of_yojson = fun tree path : delete_service_request -> let _list = assoc_of_yojson tree path in let _res : delete_service_request = { service_arn = value_for_key (app_runner_resource_arn_of_yojson) "ServiceArn" _list path; } in _res let delete_observability_configuration_response_of_yojson = fun tree path : delete_observability_configuration_response -> let _list = assoc_of_yojson tree path in let _res : delete_observability_configuration_response = { observability_configuration = value_for_key (observability_configuration_of_yojson) "ObservabilityConfiguration" _list path; } in _res let delete_observability_configuration_request_of_yojson = fun tree path : delete_observability_configuration_request -> let _list = assoc_of_yojson tree path in let _res : delete_observability_configuration_request = { observability_configuration_arn = value_for_key (app_runner_resource_arn_of_yojson) "ObservabilityConfigurationArn" _list path; } in _res let connection_of_yojson = fun tree path : connection -> let _list = assoc_of_yojson tree path in let _res : connection = { created_at = option_of_yojson (value_for_key (timestamp__of_yojson) "CreatedAt") _list path; status = option_of_yojson (value_for_key (connection_status_of_yojson) "Status") _list path; provider_type = option_of_yojson (value_for_key (provider_type_of_yojson) "ProviderType") _list path; connection_arn = option_of_yojson (value_for_key (app_runner_resource_arn_of_yojson) "ConnectionArn") _list path; connection_name = option_of_yojson (value_for_key (connection_name_of_yojson) "ConnectionName") _list path; } in _res let delete_connection_response_of_yojson = fun tree path : delete_connection_response -> let _list = assoc_of_yojson tree path in let _res : delete_connection_response = { connection = option_of_yojson (value_for_key (connection_of_yojson) "Connection") _list path; } in _res let delete_connection_request_of_yojson = fun tree path : delete_connection_request -> let _list = assoc_of_yojson tree path in let _res : delete_connection_request = { connection_arn = value_for_key (app_runner_resource_arn_of_yojson) "ConnectionArn" _list path; } in _res let delete_auto_scaling_configuration_response_of_yojson = fun tree path : delete_auto_scaling_configuration_response -> let _list = assoc_of_yojson tree path in let _res : delete_auto_scaling_configuration_response = { auto_scaling_configuration = value_for_key (auto_scaling_configuration_of_yojson) "AutoScalingConfiguration" _list path; } in _res let delete_auto_scaling_configuration_request_of_yojson = fun tree path : delete_auto_scaling_configuration_request -> let _list = assoc_of_yojson tree path in let _res : delete_auto_scaling_configuration_request = { delete_all_revisions = option_of_yojson (value_for_key (boolean__of_yojson) "DeleteAllRevisions") _list path; auto_scaling_configuration_arn = value_for_key (app_runner_resource_arn_of_yojson) "AutoScalingConfigurationArn" _list path; } in _res let create_vpc_ingress_connection_response_of_yojson = fun tree path : create_vpc_ingress_connection_response -> let _list = assoc_of_yojson tree path in let _res : create_vpc_ingress_connection_response = { vpc_ingress_connection = value_for_key (vpc_ingress_connection_of_yojson) "VpcIngressConnection" _list path; } in _res let create_vpc_ingress_connection_request_of_yojson = fun tree path : create_vpc_ingress_connection_request -> let _list = assoc_of_yojson tree path in let _res : create_vpc_ingress_connection_request = { tags = option_of_yojson (value_for_key (tag_list_of_yojson) "Tags") _list path; ingress_vpc_configuration = value_for_key (ingress_vpc_configuration_of_yojson) "IngressVpcConfiguration" _list path; vpc_ingress_connection_name = value_for_key (vpc_ingress_connection_name_of_yojson) "VpcIngressConnectionName" _list path; service_arn = value_for_key (app_runner_resource_arn_of_yojson) "ServiceArn" _list path; } in _res let create_vpc_connector_response_of_yojson = fun tree path : create_vpc_connector_response -> let _list = assoc_of_yojson tree path in let _res : create_vpc_connector_response = { vpc_connector = value_for_key (vpc_connector_of_yojson) "VpcConnector" _list path; } in _res let create_vpc_connector_request_of_yojson = fun tree path : create_vpc_connector_request -> let _list = assoc_of_yojson tree path in let _res : create_vpc_connector_request = { tags = option_of_yojson (value_for_key (tag_list_of_yojson) "Tags") _list path; security_groups = option_of_yojson (value_for_key (string_list_of_yojson) "SecurityGroups") _list path; subnets = value_for_key (string_list_of_yojson) "Subnets" _list path; vpc_connector_name = value_for_key (vpc_connector_name_of_yojson) "VpcConnectorName" _list path; } in _res let create_service_response_of_yojson = fun tree path : create_service_response -> let _list = assoc_of_yojson tree path in let _res : create_service_response = { operation_id = value_for_key (uui_d_of_yojson) "OperationId" _list path; service = value_for_key (service_of_yojson) "Service" _list path; } in _res let create_service_request_of_yojson = fun tree path : create_service_request -> let _list = assoc_of_yojson tree path in let _res : create_service_request = { observability_configuration = option_of_yojson (value_for_key (service_observability_configuration_of_yojson) "ObservabilityConfiguration") _list path; network_configuration = option_of_yojson (value_for_key (network_configuration_of_yojson) "NetworkConfiguration") _list path; auto_scaling_configuration_arn = option_of_yojson (value_for_key (app_runner_resource_arn_of_yojson) "AutoScalingConfigurationArn") _list path; health_check_configuration = option_of_yojson (value_for_key (health_check_configuration_of_yojson) "HealthCheckConfiguration") _list path; encryption_configuration = option_of_yojson (value_for_key (encryption_configuration_of_yojson) "EncryptionConfiguration") _list path; tags = option_of_yojson (value_for_key (tag_list_of_yojson) "Tags") _list path; instance_configuration = option_of_yojson (value_for_key (instance_configuration_of_yojson) "InstanceConfiguration") _list path; source_configuration = value_for_key (source_configuration_of_yojson) "SourceConfiguration" _list path; service_name = value_for_key (service_name_of_yojson) "ServiceName" _list path; } in _res let create_observability_configuration_response_of_yojson = fun tree path : create_observability_configuration_response -> let _list = assoc_of_yojson tree path in let _res : create_observability_configuration_response = { observability_configuration = value_for_key (observability_configuration_of_yojson) "ObservabilityConfiguration" _list path; } in _res let create_observability_configuration_request_of_yojson = fun tree path : create_observability_configuration_request -> let _list = assoc_of_yojson tree path in let _res : create_observability_configuration_request = { tags = option_of_yojson (value_for_key (tag_list_of_yojson) "Tags") _list path; trace_configuration = option_of_yojson (value_for_key (trace_configuration_of_yojson) "TraceConfiguration") _list path; observability_configuration_name = value_for_key (observability_configuration_name_of_yojson) "ObservabilityConfigurationName" _list path; } in _res let create_connection_response_of_yojson = fun tree path : create_connection_response -> let _list = assoc_of_yojson tree path in let _res : create_connection_response = { connection = value_for_key (connection_of_yojson) "Connection" _list path; } in _res let create_connection_request_of_yojson = fun tree path : create_connection_request -> let _list = assoc_of_yojson tree path in let _res : create_connection_request = { tags = option_of_yojson (value_for_key (tag_list_of_yojson) "Tags") _list path; provider_type = value_for_key (provider_type_of_yojson) "ProviderType" _list path; connection_name = value_for_key (connection_name_of_yojson) "ConnectionName" _list path; } in _res let create_auto_scaling_configuration_response_of_yojson = fun tree path : create_auto_scaling_configuration_response -> let _list = assoc_of_yojson tree path in let _res : create_auto_scaling_configuration_response = { auto_scaling_configuration = value_for_key (auto_scaling_configuration_of_yojson) "AutoScalingConfiguration" _list path; } in _res let as_config_max_concurrency_of_yojson = int_of_yojson let as_config_min_size_of_yojson = int_of_yojson let as_config_max_size_of_yojson = int_of_yojson let create_auto_scaling_configuration_request_of_yojson = fun tree path : create_auto_scaling_configuration_request -> let _list = assoc_of_yojson tree path in let _res : create_auto_scaling_configuration_request = { tags = option_of_yojson (value_for_key (tag_list_of_yojson) "Tags") _list path; max_size = option_of_yojson (value_for_key (as_config_max_size_of_yojson) "MaxSize") _list path; min_size = option_of_yojson (value_for_key (as_config_min_size_of_yojson) "MinSize") _list path; max_concurrency = option_of_yojson (value_for_key (as_config_max_concurrency_of_yojson) "MaxConcurrency") _list path; auto_scaling_configuration_name = value_for_key (auto_scaling_configuration_name_of_yojson) "AutoScalingConfigurationName" _list path; } in _res let associate_custom_domain_response_of_yojson = fun tree path : associate_custom_domain_response -> let _list = assoc_of_yojson tree path in let _res : associate_custom_domain_response = { vpc_dns_targets = value_for_key (vpc_dns_target_list_of_yojson) "VpcDNSTargets" _list path; custom_domain = value_for_key (custom_domain_of_yojson) "CustomDomain" _list path; service_arn = value_for_key (app_runner_resource_arn_of_yojson) "ServiceArn" _list path; dns_target = value_for_key (string__of_yojson) "DNSTarget" _list path; } in _res let associate_custom_domain_request_of_yojson = fun tree path : associate_custom_domain_request -> let _list = assoc_of_yojson tree path in let _res : associate_custom_domain_request = { enable_www_subdomain = option_of_yojson (value_for_key (nullable_boolean_of_yojson) "EnableWWWSubdomain") _list path; domain_name = value_for_key (domain_name_of_yojson) "DomainName" _list path; service_arn = value_for_key (app_runner_resource_arn_of_yojson) "ServiceArn" _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)"
>