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.acm/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
open Smaws_Lib.Json.DeserializeHelpers open Types let base_unit_of_yojson = unit_of_yojson let validation_method_of_yojson = fun (tree: t) path : validation_method -> match tree with | `String "DNS" -> DNS | `String "EMAIL" -> EMAIL | `String value -> raise (deserialize_unknown_enum_value_error path "ValidationMethod" value) | _ -> raise (deserialize_wrong_type_error path "ValidationMethod") let validation_exception_message_of_yojson = string_of_yojson let validation_exception_of_yojson = fun tree path : validation_exception -> let _list = assoc_of_yojson tree path in let _res : validation_exception = { message = option_of_yojson (value_for_key (validation_exception_message_of_yojson) "message") _list path; } in _res let string__of_yojson = string_of_yojson let validation_email_list_of_yojson = fun tree path -> list_of_yojson string__of_yojson tree path let arn_of_yojson = string_of_yojson let certificate_transparency_logging_preference_of_yojson = fun (tree: t) path : certificate_transparency_logging_preference -> match tree with | `String "DISABLED" -> DISABLED | `String "ENABLED" -> ENABLED | `String value -> raise (deserialize_unknown_enum_value_error path "CertificateTransparencyLoggingPreference" value) | _ -> raise (deserialize_wrong_type_error path "CertificateTransparencyLoggingPreference") let certificate_options_of_yojson = fun tree path : certificate_options -> let _list = assoc_of_yojson tree path in let _res : certificate_options = { certificate_transparency_logging_preference = option_of_yojson (value_for_key (certificate_transparency_logging_preference_of_yojson) "CertificateTransparencyLoggingPreference") _list path; } in _res let update_certificate_options_request_of_yojson = fun tree path : update_certificate_options_request -> let _list = assoc_of_yojson tree path in let _res : update_certificate_options_request = { options = value_for_key (certificate_options_of_yojson) "Options" _list path; certificate_arn = value_for_key (arn_of_yojson) "CertificateArn" _list path; } in _res 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 (string__of_yojson) "message") _list path; } in _res let limit_exceeded_exception_of_yojson = fun tree path : limit_exceeded_exception -> let _list = assoc_of_yojson tree path in let _res : limit_exceeded_exception = { message = option_of_yojson (value_for_key (string__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 (string__of_yojson) "message") _list path; } in _res let invalid_arn_exception_of_yojson = fun tree path : invalid_arn_exception -> let _list = assoc_of_yojson tree path in let _res : invalid_arn_exception = { message = option_of_yojson (value_for_key (string__of_yojson) "message") _list path; } in _res let = fun tree path : too_many_tags_exception -> let _list = assoc_of_yojson tree path in let _res : too_many_tags_exception = { message = option_of_yojson (value_for_key (string__of_yojson) "message") _list path; } in _res let availability_error_message_of_yojson = string_of_yojson let throttling_exception_of_yojson = fun tree path : throttling_exception -> let _list = assoc_of_yojson tree path in let _res : throttling_exception = { message = option_of_yojson (value_for_key (availability_error_message_of_yojson) "message") _list path; } in _res let tag_value_of_yojson = string_of_yojson let tag_policy_exception_of_yojson = fun tree path : tag_policy_exception -> let _list = assoc_of_yojson tree path in let _res : tag_policy_exception = { message = option_of_yojson (value_for_key (string__of_yojson) "message") _list path; } in _res let tag_key_of_yojson = string_of_yojson 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 = 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 t_stamp_of_yojson = timestamp_of_yojson let sort_order_of_yojson = fun (tree: t) path : sort_order -> match tree with | `String "DESCENDING" -> DESCENDING | `String "ASCENDING" -> ASCENDING | `String value -> raise (deserialize_unknown_enum_value_error path "SortOrder" value) | _ -> raise (deserialize_wrong_type_error path "SortOrder") let sort_by_of_yojson = fun (tree: t) path : sort_by -> match tree with | `String "CREATED_AT" -> CREATED_AT | `String value -> raise (deserialize_unknown_enum_value_error path "SortBy" value) | _ -> raise (deserialize_wrong_type_error path "SortBy") let service_error_message_of_yojson = string_of_yojson let revocation_reason_of_yojson = fun (tree: t) path : revocation_reason -> match tree with | `String "A_A_COMPROMISE" -> A_A_COMPROMISE | `String "PRIVILEGE_WITHDRAWN" -> PRIVILEGE_WITHDRAWN | `String "REMOVE_FROM_CRL" -> REMOVE_FROM_CRL | `String "CERTIFICATE_HOLD" -> CERTIFICATE_HOLD | `String "CESSATION_OF_OPERATION" -> CESSATION_OF_OPERATION | `String "SUPERCEDED" -> SUPERCEDED | `String "AFFILIATION_CHANGED" -> AFFILIATION_CHANGED | `String "CA_COMPROMISE" -> CA_COMPROMISE | `String "KEY_COMPROMISE" -> KEY_COMPROMISE | `String "UNSPECIFIED" -> UNSPECIFIED | `String value -> raise (deserialize_unknown_enum_value_error path "RevocationReason" value) | _ -> raise (deserialize_wrong_type_error path "RevocationReason") let record_type_of_yojson = fun (tree: t) path : record_type -> match tree with | `String "CNAME" -> CNAME | `String value -> raise (deserialize_unknown_enum_value_error path "RecordType" value) | _ -> raise (deserialize_wrong_type_error path "RecordType") let resource_record_of_yojson = fun tree path : resource_record -> let _list = assoc_of_yojson tree path in let _res : resource_record = { value = value_for_key (string__of_yojson) "Value" _list path; type_ = value_for_key (record_type_of_yojson) "Type" _list path; name = value_for_key (string__of_yojson) "Name" _list path; } in _res let resource_in_use_exception_of_yojson = fun tree path : resource_in_use_exception -> let _list = assoc_of_yojson tree path in let _res : resource_in_use_exception = { message = option_of_yojson (value_for_key (string__of_yojson) "message") _list path; } in _res let domain_name_string_of_yojson = string_of_yojson let resend_validation_email_request_of_yojson = fun tree path : resend_validation_email_request -> let _list = assoc_of_yojson tree path in let _res : resend_validation_email_request = { validation_domain = value_for_key (domain_name_string_of_yojson) "ValidationDomain" _list path; domain = value_for_key (domain_name_string_of_yojson) "Domain" _list path; certificate_arn = value_for_key (arn_of_yojson) "CertificateArn" _list path; } in _res let invalid_domain_validation_options_exception_of_yojson = fun tree path : invalid_domain_validation_options_exception -> let _list = assoc_of_yojson tree path in let _res : invalid_domain_validation_options_exception = { message = option_of_yojson (value_for_key (string__of_yojson) "message") _list path; } in _res let request_in_progress_exception_of_yojson = fun tree path : request_in_progress_exception -> let _list = assoc_of_yojson tree path in let _res : request_in_progress_exception = { message = option_of_yojson (value_for_key (string__of_yojson) "message") _list path; } in _res let request_certificate_response_of_yojson = fun tree path : request_certificate_response -> let _list = assoc_of_yojson tree path in let _res : request_certificate_response = { certificate_arn = option_of_yojson (value_for_key (arn_of_yojson) "CertificateArn") _list path; } in _res let domain_list_of_yojson = fun tree path -> list_of_yojson domain_name_string_of_yojson tree path let idempotency_token_of_yojson = string_of_yojson let domain_validation_option_of_yojson = fun tree path : domain_validation_option -> let _list = assoc_of_yojson tree path in let _res : domain_validation_option = { validation_domain = value_for_key (domain_name_string_of_yojson) "ValidationDomain" _list path; domain_name = value_for_key (domain_name_string_of_yojson) "DomainName" _list path; } in _res let domain_validation_option_list_of_yojson = fun tree path -> list_of_yojson domain_validation_option_of_yojson tree path let pca_arn_of_yojson = string_of_yojson let key_algorithm_of_yojson = fun (tree: t) path : key_algorithm -> match tree with | `String "EC_secp521r1" -> EC_secp521r1 | `String "EC_secp384r1" -> EC_secp384r1 | `String "EC_prime256v1" -> EC_prime256v1 | `String "RSA_4096" -> RSA_4096 | `String "RSA_3072" -> RSA_3072 | `String "RSA_2048" -> RSA_2048 | `String "RSA_1024" -> RSA_1024 | `String value -> raise (deserialize_unknown_enum_value_error path "KeyAlgorithm" value) | _ -> raise (deserialize_wrong_type_error path "KeyAlgorithm") let request_certificate_request_of_yojson = fun tree path : request_certificate_request -> let _list = assoc_of_yojson tree path in let _res : request_certificate_request = { key_algorithm = option_of_yojson (value_for_key (key_algorithm_of_yojson) "KeyAlgorithm") _list path; tags = option_of_yojson (value_for_key (tag_list_of_yojson) "Tags") _list path; certificate_authority_arn = option_of_yojson (value_for_key (pca_arn_of_yojson) "CertificateAuthorityArn") _list path; options = option_of_yojson (value_for_key (certificate_options_of_yojson) "Options") _list path; domain_validation_options = option_of_yojson (value_for_key (domain_validation_option_list_of_yojson) "DomainValidationOptions") _list path; idempotency_token = option_of_yojson (value_for_key (idempotency_token_of_yojson) "IdempotencyToken") _list path; subject_alternative_names = option_of_yojson (value_for_key (domain_list_of_yojson) "SubjectAlternativeNames") _list path; validation_method = option_of_yojson (value_for_key (validation_method_of_yojson) "ValidationMethod") _list path; domain_name = value_for_key (domain_name_string_of_yojson) "DomainName" _list path; } in _res let invalid_tag_exception_of_yojson = fun tree path : invalid_tag_exception -> let _list = assoc_of_yojson tree path in let _res : invalid_tag_exception = { message = option_of_yojson (value_for_key (string__of_yojson) "message") _list path; } in _res let invalid_parameter_exception_of_yojson = fun tree path : invalid_parameter_exception -> let _list = assoc_of_yojson tree path in let _res : invalid_parameter_exception = { message = option_of_yojson (value_for_key (string__of_yojson) "message") _list path; } in _res let renewal_status_of_yojson = fun (tree: t) path : renewal_status -> match tree with | `String "FAILED" -> FAILED | `String "SUCCESS" -> SUCCESS | `String "PENDING_VALIDATION" -> PENDING_VALIDATION | `String "PENDING_AUTO_RENEWAL" -> PENDING_AUTO_RENEWAL | `String value -> raise (deserialize_unknown_enum_value_error path "RenewalStatus" value) | _ -> raise (deserialize_wrong_type_error path "RenewalStatus") let domain_status_of_yojson = fun (tree: t) path : domain_status -> match tree with | `String "FAILED" -> FAILED | `String "SUCCESS" -> SUCCESS | `String "PENDING_VALIDATION" -> PENDING_VALIDATION | `String value -> raise (deserialize_unknown_enum_value_error path "DomainStatus" value) | _ -> raise (deserialize_wrong_type_error path "DomainStatus") let domain_validation_of_yojson = fun tree path : domain_validation -> let _list = assoc_of_yojson tree path in let _res : domain_validation = { validation_method = option_of_yojson (value_for_key (validation_method_of_yojson) "ValidationMethod") _list path; resource_record = option_of_yojson (value_for_key (resource_record_of_yojson) "ResourceRecord") _list path; validation_status = option_of_yojson (value_for_key (domain_status_of_yojson) "ValidationStatus") _list path; validation_domain = option_of_yojson (value_for_key (domain_name_string_of_yojson) "ValidationDomain") _list path; validation_emails = option_of_yojson (value_for_key (validation_email_list_of_yojson) "ValidationEmails") _list path; domain_name = value_for_key (domain_name_string_of_yojson) "DomainName" _list path; } in _res let domain_validation_list_of_yojson = fun tree path -> list_of_yojson domain_validation_of_yojson tree path let failure_reason_of_yojson = fun (tree: t) path : failure_reason -> match tree with | `String "OTHER" -> OTHER | `String "SLR_NOT_FOUND" -> SLR_NOT_FOUND | `String "PCA_ACCESS_DENIED" -> PCA_ACCESS_DENIED | `String "PCA_INVALID_DURATION" -> PCA_INVALID_DURATION | `String "PCA_INVALID_ARGS" -> PCA_INVALID_ARGS | `String "PCA_RESOURCE_NOT_FOUND" -> PCA_RESOURCE_NOT_FOUND | `String "PCA_NAME_CONSTRAINTS_VALIDATION" -> PCA_NAME_CONSTRAINTS_VALIDATION | `String "PCA_REQUEST_FAILED" -> PCA_REQUEST_FAILED | `String "PCA_INVALID_STATE" -> PCA_INVALID_STATE | `String "PCA_INVALID_ARN" -> PCA_INVALID_ARN | `String "PCA_LIMIT_EXCEEDED" -> PCA_LIMIT_EXCEEDED | `String "CAA_ERROR" -> CAA_ERROR | `String "DOMAIN_VALIDATION_DENIED" -> DOMAIN_VALIDATION_DENIED | `String "INVALID_PUBLIC_DOMAIN" -> INVALID_PUBLIC_DOMAIN | `String "DOMAIN_NOT_ALLOWED" -> DOMAIN_NOT_ALLOWED | `String "ADDITIONAL_VERIFICATION_REQUIRED" -> ADDITIONAL_VERIFICATION_REQUIRED | `String "NO_AVAILABLE_CONTACTS" -> NO_AVAILABLE_CONTACTS | `String value -> raise (deserialize_unknown_enum_value_error path "FailureReason" value) | _ -> raise (deserialize_wrong_type_error path "FailureReason") let renewal_summary_of_yojson = fun tree path : renewal_summary -> let _list = assoc_of_yojson tree path in let _res : renewal_summary = { updated_at = value_for_key (t_stamp_of_yojson) "UpdatedAt" _list path; renewal_status_reason = option_of_yojson (value_for_key (failure_reason_of_yojson) "RenewalStatusReason") _list path; domain_validation_options = value_for_key (domain_validation_list_of_yojson) "DomainValidationOptions" _list path; renewal_status = value_for_key (renewal_status_of_yojson) "RenewalStatus" _list path; } in _res let renewal_eligibility_of_yojson = fun (tree: t) path : renewal_eligibility -> match tree with | `String "INELIGIBLE" -> INELIGIBLE | `String "ELIGIBLE" -> ELIGIBLE | `String value -> raise (deserialize_unknown_enum_value_error path "RenewalEligibility" value) | _ -> raise (deserialize_wrong_type_error path "RenewalEligibility") let renew_certificate_request_of_yojson = fun tree path : renew_certificate_request -> let _list = assoc_of_yojson tree path in let _res : renew_certificate_request = { certificate_arn = value_for_key (arn_of_yojson) "CertificateArn" _list path; } in _res let = fun tree path : remove_tags_from_certificate_request -> let _list = assoc_of_yojson tree path in let _res : remove_tags_from_certificate_request = { tags = value_for_key (tag_list_of_yojson) "Tags" _list path; certificate_arn = value_for_key (arn_of_yojson) "CertificateArn" _list path; } in _res let positive_integer_of_yojson = int_of_yojson let expiry_events_configuration_of_yojson = fun tree path : expiry_events_configuration -> let _list = assoc_of_yojson tree path in let _res : expiry_events_configuration = { days_before_expiry = option_of_yojson (value_for_key (positive_integer_of_yojson) "DaysBeforeExpiry") _list path; } in _res let put_account_configuration_request_of_yojson = fun tree path : put_account_configuration_request -> let _list = assoc_of_yojson tree path in let _res : put_account_configuration_request = { idempotency_token = value_for_key (idempotency_token_of_yojson) "IdempotencyToken" _list path; expiry_events = option_of_yojson (value_for_key (expiry_events_configuration_of_yojson) "ExpiryEvents") _list path; } in _res let conflict_exception_of_yojson = fun tree path : conflict_exception -> let _list = assoc_of_yojson tree path in let _res : conflict_exception = { message = option_of_yojson (value_for_key (string__of_yojson) "message") _list path; } in _res let access_denied_exception_of_yojson = fun tree path : access_denied_exception -> let _list = assoc_of_yojson tree path in let _res : access_denied_exception = { message = option_of_yojson (value_for_key (service_error_message_of_yojson) "Message") _list path; } in _res let private_key_blob_of_yojson = blob_of_yojson let private_key_of_yojson = string_of_yojson let passphrase_blob_of_yojson = blob_of_yojson let nullable_boolean_of_yojson = bool_of_yojson let next_token_of_yojson = string_of_yojson let max_items_of_yojson = int_of_yojson let = fun tree path : list_tags_for_certificate_response -> let _list = assoc_of_yojson tree path in let _res : list_tags_for_certificate_response = { tags = option_of_yojson (value_for_key (tag_list_of_yojson) "Tags") _list path; } in _res let = fun tree path : list_tags_for_certificate_request -> let _list = assoc_of_yojson tree path in let _res : list_tags_for_certificate_request = { certificate_arn = value_for_key (arn_of_yojson) "CertificateArn" _list path; } in _res let certificate_status_of_yojson = fun (tree: t) path : certificate_status -> match tree with | `String "FAILED" -> FAILED | `String "REVOKED" -> REVOKED | `String "VALIDATION_TIMED_OUT" -> VALIDATION_TIMED_OUT | `String "EXPIRED" -> EXPIRED | `String "INACTIVE" -> INACTIVE | `String "ISSUED" -> ISSUED | `String "PENDING_VALIDATION" -> PENDING_VALIDATION | `String value -> raise (deserialize_unknown_enum_value_error path "CertificateStatus" value) | _ -> raise (deserialize_wrong_type_error path "CertificateStatus") let certificate_type_of_yojson = fun (tree: t) path : certificate_type -> match tree with | `String "PRIVATE" -> PRIVATE | `String "AMAZON_ISSUED" -> AMAZON_ISSUED | `String "IMPORTED" -> IMPORTED | `String value -> raise (deserialize_unknown_enum_value_error path "CertificateType" value) | _ -> raise (deserialize_wrong_type_error path "CertificateType") let key_usage_name_of_yojson = fun (tree: t) path : key_usage_name -> match tree with | `String "CUSTOM" -> CUSTOM | `String "ANY" -> ANY | `String "DECIPHER_ONLY" -> DECIPHER_ONLY | `String "ENCIPHER_ONLY" -> ENCHIPER_ONLY | `String "CRL_SIGNING" -> CRL_SIGNING | `String "CERTIFICATE_SIGNING" -> CERTIFICATE_SIGNING | `String "KEY_AGREEMENT" -> KEY_AGREEMENT | `String "DATA_ENCIPHERMENT" -> DATA_ENCIPHERMENT | `String "KEY_ENCIPHERMENT" -> KEY_ENCIPHERMENT | `String "NON_REPUDIATION" -> NON_REPUDATION | `String "DIGITAL_SIGNATURE" -> DIGITAL_SIGNATURE | `String value -> raise (deserialize_unknown_enum_value_error path "KeyUsageName" value) | _ -> raise (deserialize_wrong_type_error path "KeyUsageName") let key_usage_names_of_yojson = fun tree path -> list_of_yojson key_usage_name_of_yojson tree path let extended_key_usage_name_of_yojson = fun (tree: t) path : extended_key_usage_name -> match tree with | `String "CUSTOM" -> CUSTOM | `String "NONE" -> NONE | `String "ANY" -> ANY | `String "IPSEC_USER" -> IPSEC_USER | `String "IPSEC_TUNNEL" -> IPSEC_TUNNEL | `String "IPSEC_END_SYSTEM" -> IPSEC_END_SYSTEM | `String "OCSP_SIGNING" -> OCSP_SIGNING | `String "TIME_STAMPING" -> TIME_STAMPING | `String "EMAIL_PROTECTION" -> EMAIL_PROTECTION | `String "CODE_SIGNING" -> CODE_SIGNING | `String "TLS_WEB_CLIENT_AUTHENTICATION" -> TLS_WEB_CLIENT_AUTHENTICATION | `String "TLS_WEB_SERVER_AUTHENTICATION" -> TLS_WEB_SERVER_AUTHENTICATION | `String value -> raise (deserialize_unknown_enum_value_error path "ExtendedKeyUsageName" value) | _ -> raise (deserialize_wrong_type_error path "ExtendedKeyUsageName") let extended_key_usage_names_of_yojson = fun tree path -> list_of_yojson extended_key_usage_name_of_yojson tree path let certificate_summary_of_yojson = fun tree path : certificate_summary -> let _list = assoc_of_yojson tree path in let _res : certificate_summary = { revoked_at = option_of_yojson (value_for_key (t_stamp_of_yojson) "RevokedAt") _list path; imported_at = option_of_yojson (value_for_key (t_stamp_of_yojson) "ImportedAt") _list path; issued_at = option_of_yojson (value_for_key (t_stamp_of_yojson) "IssuedAt") _list path; created_at = option_of_yojson (value_for_key (t_stamp_of_yojson) "CreatedAt") _list path; not_after = option_of_yojson (value_for_key (t_stamp_of_yojson) "NotAfter") _list path; not_before = option_of_yojson (value_for_key (t_stamp_of_yojson) "NotBefore") _list path; renewal_eligibility = option_of_yojson (value_for_key (renewal_eligibility_of_yojson) "RenewalEligibility") _list path; exported = option_of_yojson (value_for_key (nullable_boolean_of_yojson) "Exported") _list path; in_use = option_of_yojson (value_for_key (nullable_boolean_of_yojson) "InUse") _list path; extended_key_usages = option_of_yojson (value_for_key (extended_key_usage_names_of_yojson) "ExtendedKeyUsages") _list path; key_usages = option_of_yojson (value_for_key (key_usage_names_of_yojson) "KeyUsages") _list path; key_algorithm = option_of_yojson (value_for_key (key_algorithm_of_yojson) "KeyAlgorithm") _list path; type_ = option_of_yojson (value_for_key (certificate_type_of_yojson) "Type") _list path; status = option_of_yojson (value_for_key (certificate_status_of_yojson) "Status") _list path; has_additional_subject_alternative_names = option_of_yojson (value_for_key (nullable_boolean_of_yojson) "HasAdditionalSubjectAlternativeNames") _list path; subject_alternative_name_summaries = option_of_yojson (value_for_key (domain_list_of_yojson) "SubjectAlternativeNameSummaries") _list path; domain_name = option_of_yojson (value_for_key (domain_name_string_of_yojson) "DomainName") _list path; certificate_arn = option_of_yojson (value_for_key (arn_of_yojson) "CertificateArn") _list path; } in _res let certificate_summary_list_of_yojson = fun tree path -> list_of_yojson certificate_summary_of_yojson tree path let list_certificates_response_of_yojson = fun tree path : list_certificates_response -> let _list = assoc_of_yojson tree path in let _res : list_certificates_response = { certificate_summary_list = option_of_yojson (value_for_key (certificate_summary_list_of_yojson) "CertificateSummaryList") _list path; next_token = option_of_yojson (value_for_key (next_token_of_yojson) "NextToken") _list path; } in _res let certificate_statuses_of_yojson = fun tree path -> list_of_yojson certificate_status_of_yojson tree path let extended_key_usage_filter_list_of_yojson = fun tree path -> list_of_yojson extended_key_usage_name_of_yojson tree path let key_usage_filter_list_of_yojson = fun tree path -> list_of_yojson key_usage_name_of_yojson tree path let key_algorithm_list_of_yojson = fun tree path -> list_of_yojson key_algorithm_of_yojson tree path let filters_of_yojson = fun tree path : filters -> let _list = assoc_of_yojson tree path in let _res : filters = { key_types = option_of_yojson (value_for_key (key_algorithm_list_of_yojson) "keyTypes") _list path; key_usage = option_of_yojson (value_for_key (key_usage_filter_list_of_yojson) "keyUsage") _list path; extended_key_usage = option_of_yojson (value_for_key (extended_key_usage_filter_list_of_yojson) "extendedKeyUsage") _list path; } in _res let list_certificates_request_of_yojson = fun tree path : list_certificates_request -> let _list = assoc_of_yojson tree path in let _res : list_certificates_request = { sort_order = option_of_yojson (value_for_key (sort_order_of_yojson) "SortOrder") _list path; sort_by = option_of_yojson (value_for_key (sort_by_of_yojson) "SortBy") _list path; max_items = option_of_yojson (value_for_key (max_items_of_yojson) "MaxItems") _list path; next_token = option_of_yojson (value_for_key (next_token_of_yojson) "NextToken") _list path; includes = option_of_yojson (value_for_key (filters_of_yojson) "Includes") _list path; certificate_statuses = option_of_yojson (value_for_key (certificate_statuses_of_yojson) "CertificateStatuses") _list path; } in _res let invalid_args_exception_of_yojson = fun tree path : invalid_args_exception -> let _list = assoc_of_yojson tree path in let _res : invalid_args_exception = { message = option_of_yojson (value_for_key (string__of_yojson) "message") _list path; } in _res let key_usage_of_yojson = fun tree path : key_usage -> let _list = assoc_of_yojson tree path in let _res : key_usage = { name = option_of_yojson (value_for_key (key_usage_name_of_yojson) "Name") _list path; } in _res let key_usage_list_of_yojson = fun tree path -> list_of_yojson key_usage_of_yojson tree path let in_use_list_of_yojson = fun tree path -> list_of_yojson string__of_yojson tree path let import_certificate_response_of_yojson = fun tree path : import_certificate_response -> let _list = assoc_of_yojson tree path in let _res : import_certificate_response = { certificate_arn = option_of_yojson (value_for_key (arn_of_yojson) "CertificateArn") _list path; } in _res let certificate_body_blob_of_yojson = blob_of_yojson let certificate_chain_blob_of_yojson = blob_of_yojson let import_certificate_request_of_yojson = fun tree path : import_certificate_request -> let _list = assoc_of_yojson tree path in let _res : import_certificate_request = { tags = option_of_yojson (value_for_key (tag_list_of_yojson) "Tags") _list path; certificate_chain = option_of_yojson (value_for_key (certificate_chain_blob_of_yojson) "CertificateChain") _list path; private_key = value_for_key (private_key_blob_of_yojson) "PrivateKey" _list path; certificate = value_for_key (certificate_body_blob_of_yojson) "Certificate" _list path; certificate_arn = option_of_yojson (value_for_key (arn_of_yojson) "CertificateArn") _list path; } in _res let certificate_body_of_yojson = string_of_yojson let certificate_chain_of_yojson = string_of_yojson let get_certificate_response_of_yojson = fun tree path : get_certificate_response -> let _list = assoc_of_yojson tree path in let _res : get_certificate_response = { certificate_chain = option_of_yojson (value_for_key (certificate_chain_of_yojson) "CertificateChain") _list path; certificate = option_of_yojson (value_for_key (certificate_body_of_yojson) "Certificate") _list path; } in _res let get_certificate_request_of_yojson = fun tree path : get_certificate_request -> let _list = assoc_of_yojson tree path in let _res : get_certificate_request = { certificate_arn = value_for_key (arn_of_yojson) "CertificateArn" _list path; } in _res let get_account_configuration_response_of_yojson = fun tree path : get_account_configuration_response -> let _list = assoc_of_yojson tree path in let _res : get_account_configuration_response = { expiry_events = option_of_yojson (value_for_key (expiry_events_configuration_of_yojson) "ExpiryEvents") _list path; } in _res let extended_key_usage_of_yojson = fun tree path : extended_key_usage -> let _list = assoc_of_yojson tree path in let _res : extended_key_usage = { oi_d = option_of_yojson (value_for_key (string__of_yojson) "OID") _list path; name = option_of_yojson (value_for_key (extended_key_usage_name_of_yojson) "Name") _list path; } in _res let extended_key_usage_list_of_yojson = fun tree path -> list_of_yojson extended_key_usage_of_yojson tree path let export_certificate_response_of_yojson = fun tree path : export_certificate_response -> let _list = assoc_of_yojson tree path in let _res : export_certificate_response = { private_key = option_of_yojson (value_for_key (private_key_of_yojson) "PrivateKey") _list path; certificate_chain = option_of_yojson (value_for_key (certificate_chain_of_yojson) "CertificateChain") _list path; certificate = option_of_yojson (value_for_key (certificate_body_of_yojson) "Certificate") _list path; } in _res let export_certificate_request_of_yojson = fun tree path : export_certificate_request -> let _list = assoc_of_yojson tree path in let _res : export_certificate_request = { passphrase = value_for_key (passphrase_blob_of_yojson) "Passphrase" _list path; certificate_arn = value_for_key (arn_of_yojson) "CertificateArn" _list path; } in _res let certificate_detail_of_yojson = fun tree path : certificate_detail -> let _list = assoc_of_yojson tree path in let _res : certificate_detail = { options = option_of_yojson (value_for_key (certificate_options_of_yojson) "Options") _list path; renewal_eligibility = option_of_yojson (value_for_key (renewal_eligibility_of_yojson) "RenewalEligibility") _list path; certificate_authority_arn = option_of_yojson (value_for_key (arn_of_yojson) "CertificateAuthorityArn") _list path; extended_key_usages = option_of_yojson (value_for_key (extended_key_usage_list_of_yojson) "ExtendedKeyUsages") _list path; key_usages = option_of_yojson (value_for_key (key_usage_list_of_yojson) "KeyUsages") _list path; renewal_summary = option_of_yojson (value_for_key (renewal_summary_of_yojson) "RenewalSummary") _list path; type_ = option_of_yojson (value_for_key (certificate_type_of_yojson) "Type") _list path; failure_reason = option_of_yojson (value_for_key (failure_reason_of_yojson) "FailureReason") _list path; in_use_by = option_of_yojson (value_for_key (in_use_list_of_yojson) "InUseBy") _list path; signature_algorithm = option_of_yojson (value_for_key (string__of_yojson) "SignatureAlgorithm") _list path; key_algorithm = option_of_yojson (value_for_key (key_algorithm_of_yojson) "KeyAlgorithm") _list path; not_after = option_of_yojson (value_for_key (t_stamp_of_yojson) "NotAfter") _list path; not_before = option_of_yojson (value_for_key (t_stamp_of_yojson) "NotBefore") _list path; revocation_reason = option_of_yojson (value_for_key (revocation_reason_of_yojson) "RevocationReason") _list path; revoked_at = option_of_yojson (value_for_key (t_stamp_of_yojson) "RevokedAt") _list path; status = option_of_yojson (value_for_key (certificate_status_of_yojson) "Status") _list path; imported_at = option_of_yojson (value_for_key (t_stamp_of_yojson) "ImportedAt") _list path; issued_at = option_of_yojson (value_for_key (t_stamp_of_yojson) "IssuedAt") _list path; created_at = option_of_yojson (value_for_key (t_stamp_of_yojson) "CreatedAt") _list path; issuer = option_of_yojson (value_for_key (string__of_yojson) "Issuer") _list path; subject = option_of_yojson (value_for_key (string__of_yojson) "Subject") _list path; serial = option_of_yojson (value_for_key (string__of_yojson) "Serial") _list path; domain_validation_options = option_of_yojson (value_for_key (domain_validation_list_of_yojson) "DomainValidationOptions") _list path; subject_alternative_names = option_of_yojson (value_for_key (domain_list_of_yojson) "SubjectAlternativeNames") _list path; domain_name = option_of_yojson (value_for_key (domain_name_string_of_yojson) "DomainName") _list path; certificate_arn = option_of_yojson (value_for_key (arn_of_yojson) "CertificateArn") _list path; } in _res let describe_certificate_response_of_yojson = fun tree path : describe_certificate_response -> let _list = assoc_of_yojson tree path in let _res : describe_certificate_response = { certificate = option_of_yojson (value_for_key (certificate_detail_of_yojson) "Certificate") _list path; } in _res let describe_certificate_request_of_yojson = fun tree path : describe_certificate_request -> let _list = assoc_of_yojson tree path in let _res : describe_certificate_request = { certificate_arn = value_for_key (arn_of_yojson) "CertificateArn" _list path; } in _res let delete_certificate_request_of_yojson = fun tree path : delete_certificate_request -> let _list = assoc_of_yojson tree path in let _res : delete_certificate_request = { certificate_arn = value_for_key (arn_of_yojson) "CertificateArn" _list path; } in _res let = fun tree path : add_tags_to_certificate_request -> let _list = assoc_of_yojson tree path in let _res : add_tags_to_certificate_request = { tags = value_for_key (tag_list_of_yojson) "Tags" _list path; certificate_arn = value_for_key (arn_of_yojson) "CertificateArn" _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)"
>