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.sqs/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
open Smaws_Lib.Json.DeserializeHelpers open Types let string__of_yojson = string_of_yojson 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_queue_request_of_yojson = fun tree path : untag_queue_request -> let _list = assoc_of_yojson tree path in let _res : untag_queue_request = { tag_keys = value_for_key (tag_key_list_of_yojson) "TagKeys" _list path; queue_url = value_for_key (string__of_yojson) "QueueUrl" _list path; } in _res let exception_message_of_yojson = string_of_yojson let unsupported_operation_of_yojson = fun tree path : unsupported_operation -> let _list = assoc_of_yojson tree path in let _res : unsupported_operation = { message = option_of_yojson (value_for_key (exception_message_of_yojson) "message") _list path; } in _res let request_throttled_of_yojson = fun tree path : request_throttled -> let _list = assoc_of_yojson tree path in let _res : request_throttled = { message = option_of_yojson (value_for_key (exception_message_of_yojson) "message") _list path; } in _res let queue_does_not_exist_of_yojson = fun tree path : queue_does_not_exist -> let _list = assoc_of_yojson tree path in let _res : queue_does_not_exist = { message = option_of_yojson (value_for_key (exception_message_of_yojson) "message") _list path; } in _res let invalid_security_of_yojson = fun tree path : invalid_security -> let _list = assoc_of_yojson tree path in let _res : invalid_security = { message = option_of_yojson (value_for_key (exception_message_of_yojson) "message") _list path; } in _res let invalid_address_of_yojson = fun tree path : invalid_address -> let _list = assoc_of_yojson tree path in let _res : invalid_address = { message = option_of_yojson (value_for_key (exception_message_of_yojson) "message") _list path; } in _res let base_unit_of_yojson = unit_of_yojson let too_many_entries_in_batch_request_of_yojson = fun tree path : too_many_entries_in_batch_request -> let _list = assoc_of_yojson tree path in let _res : too_many_entries_in_batch_request = { message = option_of_yojson (value_for_key (exception_message_of_yojson) "message") _list path; } in _res let token_of_yojson = string_of_yojson let tag_value_of_yojson = string_of_yojson let tag_map_of_yojson = fun tree path -> map_of_yojson tag_value_of_yojson tree path let tag_queue_request_of_yojson = fun tree path : tag_queue_request -> let _list = assoc_of_yojson tree path in let _res : tag_queue_request = { tags = value_for_key (tag_map_of_yojson) "Tags" _list path; queue_url = value_for_key (string__of_yojson) "QueueUrl" _list path; } in _res let string_list_of_yojson = fun tree path -> list_of_yojson string__of_yojson tree path let start_message_move_task_result_of_yojson = fun tree path : start_message_move_task_result -> let _list = assoc_of_yojson tree path in let _res : start_message_move_task_result = { task_handle = option_of_yojson (value_for_key (string__of_yojson) "TaskHandle") _list path; } in _res let nullable_integer_of_yojson = int_of_yojson let start_message_move_task_request_of_yojson = fun tree path : start_message_move_task_request -> let _list = assoc_of_yojson tree path in let _res : start_message_move_task_request = { max_number_of_messages_per_second = option_of_yojson (value_for_key (nullable_integer_of_yojson) "MaxNumberOfMessagesPerSecond") _list path; destination_arn = option_of_yojson (value_for_key (string__of_yojson) "DestinationArn") _list path; source_arn = value_for_key (string__of_yojson) "SourceArn" _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 (exception_message_of_yojson) "message") _list path; } in _res let queue_attribute_name_of_yojson = fun (tree: t) path : queue_attribute_name -> match tree with | `String "SqsManagedSseEnabled" -> SqsManagedSseEnabled | `String "RedriveAllowPolicy" -> RedriveAllowPolicy | `String "FifoThroughputLimit" -> FifoThroughputLimit | `String "DeduplicationScope" -> DeduplicationScope | `String "KmsDataKeyReusePeriodSeconds" -> KmsDataKeyReusePeriodSeconds | `String "KmsMasterKeyId" -> KmsMasterKeyId | `String "ContentBasedDeduplication" -> ContentBasedDeduplication | `String "FifoQueue" -> FifoQueue | `String "RedrivePolicy" -> RedrivePolicy | `String "ReceiveMessageWaitTimeSeconds" -> ReceiveMessageWaitTimeSeconds | `String "DelaySeconds" -> DelaySeconds | `String "ApproximateNumberOfMessagesDelayed" -> ApproximateNumberOfMessagesDelayed | `String "QueueArn" -> QueueArn | `String "LastModifiedTimestamp" -> LastModifiedTimestamp | `String "CreatedTimestamp" -> CreatedTimestamp | `String "ApproximateNumberOfMessagesNotVisible" -> ApproximateNumberOfMessagesNotVisible | `String "ApproximateNumberOfMessages" -> ApproximateNumberOfMessages | `String "MessageRetentionPeriod" -> MessageRetentionPeriod | `String "MaximumMessageSize" -> MaximumMessageSize | `String "VisibilityTimeout" -> VisibilityTimeout | `String "Policy" -> Policy | `String "All" -> All | `String value -> raise (deserialize_unknown_enum_value_error path "QueueAttributeName" value) | _ -> raise (deserialize_wrong_type_error path "QueueAttributeName") let queue_attribute_map_of_yojson = fun tree path -> map_of_yojson string__of_yojson tree path let set_queue_attributes_request_of_yojson = fun tree path : set_queue_attributes_request -> let _list = assoc_of_yojson tree path in let _res : set_queue_attributes_request = { attributes = value_for_key (queue_attribute_map_of_yojson) "Attributes" _list path; queue_url = value_for_key (string__of_yojson) "QueueUrl" _list path; } in _res let over_limit_of_yojson = fun tree path : over_limit -> let _list = assoc_of_yojson tree path in let _res : over_limit = { message = option_of_yojson (value_for_key (exception_message_of_yojson) "message") _list path; } in _res let invalid_attribute_value_of_yojson = fun tree path : invalid_attribute_value -> let _list = assoc_of_yojson tree path in let _res : invalid_attribute_value = { message = option_of_yojson (value_for_key (exception_message_of_yojson) "message") _list path; } in _res let invalid_attribute_name_of_yojson = fun tree path : invalid_attribute_name -> let _list = assoc_of_yojson tree path in let _res : invalid_attribute_name = { message = option_of_yojson (value_for_key (exception_message_of_yojson) "message") _list path; } in _res let send_message_result_of_yojson = fun tree path : send_message_result -> let _list = assoc_of_yojson tree path in let _res : send_message_result = { sequence_number = option_of_yojson (value_for_key (string__of_yojson) "SequenceNumber") _list path; message_id = option_of_yojson (value_for_key (string__of_yojson) "MessageId") _list path; md5_of_message_system_attributes = option_of_yojson (value_for_key (string__of_yojson) "MD5OfMessageSystemAttributes") _list path; md5_of_message_attributes = option_of_yojson (value_for_key (string__of_yojson) "MD5OfMessageAttributes") _list path; md5_of_message_body = option_of_yojson (value_for_key (string__of_yojson) "MD5OfMessageBody") _list path; } in _res let binary_of_yojson = blob_of_yojson let binary_list_of_yojson = fun tree path -> list_of_yojson binary_of_yojson tree path let message_attribute_value_of_yojson = fun tree path : message_attribute_value -> let _list = assoc_of_yojson tree path in let _res : message_attribute_value = { data_type = value_for_key (string__of_yojson) "DataType" _list path; binary_list_values = option_of_yojson (value_for_key (binary_list_of_yojson) "BinaryListValues") _list path; string_list_values = option_of_yojson (value_for_key (string_list_of_yojson) "StringListValues") _list path; binary_value = option_of_yojson (value_for_key (binary_of_yojson) "BinaryValue") _list path; string_value = option_of_yojson (value_for_key (string__of_yojson) "StringValue") _list path; } in _res let message_body_attribute_map_of_yojson = fun tree path -> map_of_yojson message_attribute_value_of_yojson tree path let message_system_attribute_value_of_yojson = fun tree path : message_system_attribute_value -> let _list = assoc_of_yojson tree path in let _res : message_system_attribute_value = { data_type = value_for_key (string__of_yojson) "DataType" _list path; binary_list_values = option_of_yojson (value_for_key (binary_list_of_yojson) "BinaryListValues") _list path; string_list_values = option_of_yojson (value_for_key (string_list_of_yojson) "StringListValues") _list path; binary_value = option_of_yojson (value_for_key (binary_of_yojson) "BinaryValue") _list path; string_value = option_of_yojson (value_for_key (string__of_yojson) "StringValue") _list path; } in _res let message_system_attribute_name_for_sends_of_yojson = fun (tree: t) path : message_system_attribute_name_for_sends -> match tree with | `String "AWSTraceHeader" -> AWSTraceHeader | `String value -> raise (deserialize_unknown_enum_value_error path "MessageSystemAttributeNameForSends" value) | _ -> raise (deserialize_wrong_type_error path "MessageSystemAttributeNameForSends") let message_body_system_attribute_map_of_yojson = fun tree path -> map_of_yojson message_system_attribute_value_of_yojson tree path let send_message_request_of_yojson = fun tree path : send_message_request -> let _list = assoc_of_yojson tree path in let _res : send_message_request = { message_group_id = option_of_yojson (value_for_key (string__of_yojson) "MessageGroupId") _list path; message_deduplication_id = option_of_yojson (value_for_key (string__of_yojson) "MessageDeduplicationId") _list path; message_system_attributes = option_of_yojson (value_for_key (message_body_system_attribute_map_of_yojson) "MessageSystemAttributes") _list path; message_attributes = option_of_yojson (value_for_key (message_body_attribute_map_of_yojson) "MessageAttributes") _list path; delay_seconds = option_of_yojson (value_for_key (nullable_integer_of_yojson) "DelaySeconds") _list path; message_body = value_for_key (string__of_yojson) "MessageBody" _list path; queue_url = value_for_key (string__of_yojson) "QueueUrl" _list path; } in _res let send_message_batch_result_entry_of_yojson = fun tree path : send_message_batch_result_entry -> let _list = assoc_of_yojson tree path in let _res : send_message_batch_result_entry = { sequence_number = option_of_yojson (value_for_key (string__of_yojson) "SequenceNumber") _list path; md5_of_message_system_attributes = option_of_yojson (value_for_key (string__of_yojson) "MD5OfMessageSystemAttributes") _list path; md5_of_message_attributes = option_of_yojson (value_for_key (string__of_yojson) "MD5OfMessageAttributes") _list path; md5_of_message_body = value_for_key (string__of_yojson) "MD5OfMessageBody" _list path; message_id = value_for_key (string__of_yojson) "MessageId" _list path; id = value_for_key (string__of_yojson) "Id" _list path; } in _res let send_message_batch_result_entry_list_of_yojson = fun tree path -> list_of_yojson send_message_batch_result_entry_of_yojson tree path let boolean__of_yojson = bool_of_yojson let batch_result_error_entry_of_yojson = fun tree path : batch_result_error_entry -> let _list = assoc_of_yojson tree path in let _res : batch_result_error_entry = { message = option_of_yojson (value_for_key (string__of_yojson) "Message") _list path; code = value_for_key (string__of_yojson) "Code" _list path; sender_fault = value_for_key (boolean__of_yojson) "SenderFault" _list path; id = value_for_key (string__of_yojson) "Id" _list path; } in _res let batch_result_error_entry_list_of_yojson = fun tree path -> list_of_yojson batch_result_error_entry_of_yojson tree path let send_message_batch_result_of_yojson = fun tree path : send_message_batch_result -> let _list = assoc_of_yojson tree path in let _res : send_message_batch_result = { failed = value_for_key (batch_result_error_entry_list_of_yojson) "Failed" _list path; successful = value_for_key (send_message_batch_result_entry_list_of_yojson) "Successful" _list path; } in _res let send_message_batch_request_entry_of_yojson = fun tree path : send_message_batch_request_entry -> let _list = assoc_of_yojson tree path in let _res : send_message_batch_request_entry = { message_group_id = option_of_yojson (value_for_key (string__of_yojson) "MessageGroupId") _list path; message_deduplication_id = option_of_yojson (value_for_key (string__of_yojson) "MessageDeduplicationId") _list path; message_system_attributes = option_of_yojson (value_for_key (message_body_system_attribute_map_of_yojson) "MessageSystemAttributes") _list path; message_attributes = option_of_yojson (value_for_key (message_body_attribute_map_of_yojson) "MessageAttributes") _list path; delay_seconds = option_of_yojson (value_for_key (nullable_integer_of_yojson) "DelaySeconds") _list path; message_body = value_for_key (string__of_yojson) "MessageBody" _list path; id = value_for_key (string__of_yojson) "Id" _list path; } in _res let send_message_batch_request_entry_list_of_yojson = fun tree path -> list_of_yojson send_message_batch_request_entry_of_yojson tree path let send_message_batch_request_of_yojson = fun tree path : send_message_batch_request -> let _list = assoc_of_yojson tree path in let _res : send_message_batch_request = { entries = value_for_key (send_message_batch_request_entry_list_of_yojson) "Entries" _list path; queue_url = value_for_key (string__of_yojson) "QueueUrl" _list path; } in _res let kms_throttled_of_yojson = fun tree path : kms_throttled -> let _list = assoc_of_yojson tree path in let _res : kms_throttled = { message = option_of_yojson (value_for_key (exception_message_of_yojson) "message") _list path; } in _res let kms_opt_in_required_of_yojson = fun tree path : kms_opt_in_required -> let _list = assoc_of_yojson tree path in let _res : kms_opt_in_required = { message = option_of_yojson (value_for_key (exception_message_of_yojson) "message") _list path; } in _res let kms_not_found_of_yojson = fun tree path : kms_not_found -> let _list = assoc_of_yojson tree path in let _res : kms_not_found = { message = option_of_yojson (value_for_key (exception_message_of_yojson) "message") _list path; } in _res let kms_invalid_state_of_yojson = fun tree path : kms_invalid_state -> let _list = assoc_of_yojson tree path in let _res : kms_invalid_state = { message = option_of_yojson (value_for_key (exception_message_of_yojson) "message") _list path; } in _res let kms_invalid_key_usage_of_yojson = fun tree path : kms_invalid_key_usage -> let _list = assoc_of_yojson tree path in let _res : kms_invalid_key_usage = { message = option_of_yojson (value_for_key (exception_message_of_yojson) "message") _list path; } in _res let kms_disabled_of_yojson = fun tree path : kms_disabled -> let _list = assoc_of_yojson tree path in let _res : kms_disabled = { message = option_of_yojson (value_for_key (exception_message_of_yojson) "message") _list path; } in _res let kms_access_denied_of_yojson = fun tree path : kms_access_denied -> let _list = assoc_of_yojson tree path in let _res : kms_access_denied = { message = option_of_yojson (value_for_key (exception_message_of_yojson) "message") _list path; } in _res let invalid_batch_entry_id_of_yojson = fun tree path : invalid_batch_entry_id -> let _list = assoc_of_yojson tree path in let _res : invalid_batch_entry_id = { message = option_of_yojson (value_for_key (exception_message_of_yojson) "message") _list path; } in _res let empty_batch_request_of_yojson = fun tree path : empty_batch_request -> let _list = assoc_of_yojson tree path in let _res : empty_batch_request = { message = option_of_yojson (value_for_key (exception_message_of_yojson) "message") _list path; } in _res let batch_request_too_long_of_yojson = fun tree path : batch_request_too_long -> let _list = assoc_of_yojson tree path in let _res : batch_request_too_long = { message = option_of_yojson (value_for_key (exception_message_of_yojson) "message") _list path; } in _res let batch_entry_ids_not_distinct_of_yojson = fun tree path : batch_entry_ids_not_distinct -> let _list = assoc_of_yojson tree path in let _res : batch_entry_ids_not_distinct = { message = option_of_yojson (value_for_key (exception_message_of_yojson) "message") _list path; } in _res let invalid_message_contents_of_yojson = fun tree path : invalid_message_contents -> let _list = assoc_of_yojson tree path in let _res : invalid_message_contents = { message = option_of_yojson (value_for_key (exception_message_of_yojson) "message") _list path; } in _res let remove_permission_request_of_yojson = fun tree path : remove_permission_request -> let _list = assoc_of_yojson tree path in let _res : remove_permission_request = { label = value_for_key (string__of_yojson) "Label" _list path; queue_url = value_for_key (string__of_yojson) "QueueUrl" _list path; } in _res let message_system_attribute_name_of_yojson = fun (tree: t) path : message_system_attribute_name -> match tree with | `String "DeadLetterQueueSourceArn" -> DeadLetterQueueSourceArn | `String "AWSTraceHeader" -> AWSTraceHeader | `String "MessageGroupId" -> MessageGroupId | `String "MessageDeduplicationId" -> MessageDeduplicationId | `String "SequenceNumber" -> SequenceNumber | `String "ApproximateFirstReceiveTimestamp" -> ApproximateFirstReceiveTimestamp | `String "ApproximateReceiveCount" -> ApproximateReceiveCount | `String "SentTimestamp" -> SentTimestamp | `String "SenderId" -> SenderId | `String "All" -> All | `String value -> raise (deserialize_unknown_enum_value_error path "MessageSystemAttributeName" value) | _ -> raise (deserialize_wrong_type_error path "MessageSystemAttributeName") let message_system_attribute_map_of_yojson = fun tree path -> map_of_yojson string__of_yojson tree path let message_of_yojson = fun tree path : message -> let _list = assoc_of_yojson tree path in let _res : message = { message_attributes = option_of_yojson (value_for_key (message_body_attribute_map_of_yojson) "MessageAttributes") _list path; md5_of_message_attributes = option_of_yojson (value_for_key (string__of_yojson) "MD5OfMessageAttributes") _list path; attributes = option_of_yojson (value_for_key (message_system_attribute_map_of_yojson) "Attributes") _list path; body = option_of_yojson (value_for_key (string__of_yojson) "Body") _list path; md5_of_body = option_of_yojson (value_for_key (string__of_yojson) "MD5OfBody") _list path; receipt_handle = option_of_yojson (value_for_key (string__of_yojson) "ReceiptHandle") _list path; message_id = option_of_yojson (value_for_key (string__of_yojson) "MessageId") _list path; } in _res let message_list_of_yojson = fun tree path -> list_of_yojson message_of_yojson tree path let receive_message_result_of_yojson = fun tree path : receive_message_result -> let _list = assoc_of_yojson tree path in let _res : receive_message_result = { messages = option_of_yojson (value_for_key (message_list_of_yojson) "Messages") _list path; } in _res let attribute_name_list_of_yojson = fun tree path -> list_of_yojson queue_attribute_name_of_yojson tree path let message_system_attribute_list_of_yojson = fun tree path -> list_of_yojson message_system_attribute_name_of_yojson tree path let message_attribute_name_of_yojson = string_of_yojson let message_attribute_name_list_of_yojson = fun tree path -> list_of_yojson message_attribute_name_of_yojson tree path let receive_message_request_of_yojson = fun tree path : receive_message_request -> let _list = assoc_of_yojson tree path in let _res : receive_message_request = { receive_request_attempt_id = option_of_yojson (value_for_key (string__of_yojson) "ReceiveRequestAttemptId") _list path; wait_time_seconds = option_of_yojson (value_for_key (nullable_integer_of_yojson) "WaitTimeSeconds") _list path; visibility_timeout = option_of_yojson (value_for_key (nullable_integer_of_yojson) "VisibilityTimeout") _list path; max_number_of_messages = option_of_yojson (value_for_key (nullable_integer_of_yojson) "MaxNumberOfMessages") _list path; message_attribute_names = option_of_yojson (value_for_key (message_attribute_name_list_of_yojson) "MessageAttributeNames") _list path; message_system_attribute_names = option_of_yojson (value_for_key (message_system_attribute_list_of_yojson) "MessageSystemAttributeNames") _list path; attribute_names = option_of_yojson (value_for_key (attribute_name_list_of_yojson) "AttributeNames") _list path; queue_url = value_for_key (string__of_yojson) "QueueUrl" _list path; } in _res let receipt_handle_is_invalid_of_yojson = fun tree path : receipt_handle_is_invalid -> let _list = assoc_of_yojson tree path in let _res : receipt_handle_is_invalid = { message = option_of_yojson (value_for_key (exception_message_of_yojson) "message") _list path; } in _res let queue_url_list_of_yojson = fun tree path -> list_of_yojson string__of_yojson tree path let queue_name_exists_of_yojson = fun tree path : queue_name_exists -> let _list = assoc_of_yojson tree path in let _res : queue_name_exists = { message = option_of_yojson (value_for_key (exception_message_of_yojson) "message") _list path; } in _res let queue_deleted_recently_of_yojson = fun tree path : queue_deleted_recently -> let _list = assoc_of_yojson tree path in let _res : queue_deleted_recently = { message = option_of_yojson (value_for_key (exception_message_of_yojson) "message") _list path; } in _res let purge_queue_request_of_yojson = fun tree path : purge_queue_request -> let _list = assoc_of_yojson tree path in let _res : purge_queue_request = { queue_url = value_for_key (string__of_yojson) "QueueUrl" _list path; } in _res let purge_queue_in_progress_of_yojson = fun tree path : purge_queue_in_progress -> let _list = assoc_of_yojson tree path in let _res : purge_queue_in_progress = { message = option_of_yojson (value_for_key (exception_message_of_yojson) "message") _list path; } in _res let nullable_long_of_yojson = long_of_yojson let message_not_inflight_of_yojson = fun tree path : message_not_inflight -> let _list = assoc_of_yojson tree path in let _res : message_not_inflight = () in _res let long_of_yojson = long_of_yojson let list_queues_result_of_yojson = fun tree path : list_queues_result -> let _list = assoc_of_yojson tree path in let _res : list_queues_result = { next_token = option_of_yojson (value_for_key (token_of_yojson) "NextToken") _list path; queue_urls = option_of_yojson (value_for_key (queue_url_list_of_yojson) "QueueUrls") _list path; } in _res let boxed_integer_of_yojson = int_of_yojson let list_queues_request_of_yojson = fun tree path : list_queues_request -> let _list = assoc_of_yojson tree path in let _res : list_queues_request = { max_results = option_of_yojson (value_for_key (boxed_integer_of_yojson) "MaxResults") _list path; next_token = option_of_yojson (value_for_key (token_of_yojson) "NextToken") _list path; queue_name_prefix = option_of_yojson (value_for_key (string__of_yojson) "QueueNamePrefix") _list path; } in _res let = fun tree path : list_queue_tags_result -> let _list = assoc_of_yojson tree path in let _res : list_queue_tags_result = { tags = option_of_yojson (value_for_key (tag_map_of_yojson) "Tags") _list path; } in _res let = fun tree path : list_queue_tags_request -> let _list = assoc_of_yojson tree path in let _res : list_queue_tags_request = { queue_url = value_for_key (string__of_yojson) "QueueUrl" _list path; } in _res let list_message_move_tasks_result_entry_of_yojson = fun tree path : list_message_move_tasks_result_entry -> let _list = assoc_of_yojson tree path in let _res : list_message_move_tasks_result_entry = { started_timestamp = option_of_yojson (value_for_key (long_of_yojson) "StartedTimestamp") _list path; failure_reason = option_of_yojson (value_for_key (string__of_yojson) "FailureReason") _list path; approximate_number_of_messages_to_move = option_of_yojson (value_for_key (nullable_long_of_yojson) "ApproximateNumberOfMessagesToMove") _list path; approximate_number_of_messages_moved = option_of_yojson (value_for_key (long_of_yojson) "ApproximateNumberOfMessagesMoved") _list path; max_number_of_messages_per_second = option_of_yojson (value_for_key (nullable_integer_of_yojson) "MaxNumberOfMessagesPerSecond") _list path; destination_arn = option_of_yojson (value_for_key (string__of_yojson) "DestinationArn") _list path; source_arn = option_of_yojson (value_for_key (string__of_yojson) "SourceArn") _list path; status = option_of_yojson (value_for_key (string__of_yojson) "Status") _list path; task_handle = option_of_yojson (value_for_key (string__of_yojson) "TaskHandle") _list path; } in _res let list_message_move_tasks_result_entry_list_of_yojson = fun tree path -> list_of_yojson list_message_move_tasks_result_entry_of_yojson tree path let list_message_move_tasks_result_of_yojson = fun tree path : list_message_move_tasks_result -> let _list = assoc_of_yojson tree path in let _res : list_message_move_tasks_result = { results = option_of_yojson (value_for_key (list_message_move_tasks_result_entry_list_of_yojson) "Results") _list path; } in _res let list_message_move_tasks_request_of_yojson = fun tree path : list_message_move_tasks_request -> let _list = assoc_of_yojson tree path in let _res : list_message_move_tasks_request = { max_results = option_of_yojson (value_for_key (nullable_integer_of_yojson) "MaxResults") _list path; source_arn = value_for_key (string__of_yojson) "SourceArn" _list path; } in _res let list_dead_letter_source_queues_result_of_yojson = fun tree path : list_dead_letter_source_queues_result -> let _list = assoc_of_yojson tree path in let _res : list_dead_letter_source_queues_result = { next_token = option_of_yojson (value_for_key (token_of_yojson) "NextToken") _list path; queue_urls = value_for_key (queue_url_list_of_yojson) "queueUrls" _list path; } in _res let list_dead_letter_source_queues_request_of_yojson = fun tree path : list_dead_letter_source_queues_request -> let _list = assoc_of_yojson tree path in let _res : list_dead_letter_source_queues_request = { max_results = option_of_yojson (value_for_key (boxed_integer_of_yojson) "MaxResults") _list path; next_token = option_of_yojson (value_for_key (token_of_yojson) "NextToken") _list path; queue_url = value_for_key (string__of_yojson) "QueueUrl" _list path; } in _res let invalid_id_format_of_yojson = fun tree path : invalid_id_format -> let _list = assoc_of_yojson tree path in let _res : invalid_id_format = () in _res let get_queue_url_result_of_yojson = fun tree path : get_queue_url_result -> let _list = assoc_of_yojson tree path in let _res : get_queue_url_result = { queue_url = option_of_yojson (value_for_key (string__of_yojson) "QueueUrl") _list path; } in _res let get_queue_url_request_of_yojson = fun tree path : get_queue_url_request -> let _list = assoc_of_yojson tree path in let _res : get_queue_url_request = { queue_owner_aws_account_id = option_of_yojson (value_for_key (string__of_yojson) "QueueOwnerAWSAccountId") _list path; queue_name = value_for_key (string__of_yojson) "QueueName" _list path; } in _res let get_queue_attributes_result_of_yojson = fun tree path : get_queue_attributes_result -> let _list = assoc_of_yojson tree path in let _res : get_queue_attributes_result = { attributes = option_of_yojson (value_for_key (queue_attribute_map_of_yojson) "Attributes") _list path; } in _res let get_queue_attributes_request_of_yojson = fun tree path : get_queue_attributes_request -> let _list = assoc_of_yojson tree path in let _res : get_queue_attributes_request = { attribute_names = option_of_yojson (value_for_key (attribute_name_list_of_yojson) "AttributeNames") _list path; queue_url = value_for_key (string__of_yojson) "QueueUrl" _list path; } in _res let delete_queue_request_of_yojson = fun tree path : delete_queue_request -> let _list = assoc_of_yojson tree path in let _res : delete_queue_request = { queue_url = value_for_key (string__of_yojson) "QueueUrl" _list path; } in _res let delete_message_request_of_yojson = fun tree path : delete_message_request -> let _list = assoc_of_yojson tree path in let _res : delete_message_request = { receipt_handle = value_for_key (string__of_yojson) "ReceiptHandle" _list path; queue_url = value_for_key (string__of_yojson) "QueueUrl" _list path; } in _res let delete_message_batch_result_entry_of_yojson = fun tree path : delete_message_batch_result_entry -> let _list = assoc_of_yojson tree path in let _res : delete_message_batch_result_entry = { id = value_for_key (string__of_yojson) "Id" _list path; } in _res let delete_message_batch_result_entry_list_of_yojson = fun tree path -> list_of_yojson delete_message_batch_result_entry_of_yojson tree path let delete_message_batch_result_of_yojson = fun tree path : delete_message_batch_result -> let _list = assoc_of_yojson tree path in let _res : delete_message_batch_result = { failed = value_for_key (batch_result_error_entry_list_of_yojson) "Failed" _list path; successful = value_for_key (delete_message_batch_result_entry_list_of_yojson) "Successful" _list path; } in _res let delete_message_batch_request_entry_of_yojson = fun tree path : delete_message_batch_request_entry -> let _list = assoc_of_yojson tree path in let _res : delete_message_batch_request_entry = { receipt_handle = value_for_key (string__of_yojson) "ReceiptHandle" _list path; id = value_for_key (string__of_yojson) "Id" _list path; } in _res let delete_message_batch_request_entry_list_of_yojson = fun tree path -> list_of_yojson delete_message_batch_request_entry_of_yojson tree path let delete_message_batch_request_of_yojson = fun tree path : delete_message_batch_request -> let _list = assoc_of_yojson tree path in let _res : delete_message_batch_request = { entries = value_for_key (delete_message_batch_request_entry_list_of_yojson) "Entries" _list path; queue_url = value_for_key (string__of_yojson) "QueueUrl" _list path; } in _res let create_queue_result_of_yojson = fun tree path : create_queue_result -> let _list = assoc_of_yojson tree path in let _res : create_queue_result = { queue_url = option_of_yojson (value_for_key (string__of_yojson) "QueueUrl") _list path; } in _res let create_queue_request_of_yojson = fun tree path : create_queue_request -> let _list = assoc_of_yojson tree path in let _res : create_queue_request = { tags = option_of_yojson (value_for_key (tag_map_of_yojson) "tags") _list path; attributes = option_of_yojson (value_for_key (queue_attribute_map_of_yojson) "Attributes") _list path; queue_name = value_for_key (string__of_yojson) "QueueName" _list path; } in _res let change_message_visibility_request_of_yojson = fun tree path : change_message_visibility_request -> let _list = assoc_of_yojson tree path in let _res : change_message_visibility_request = { visibility_timeout = value_for_key (nullable_integer_of_yojson) "VisibilityTimeout" _list path; receipt_handle = value_for_key (string__of_yojson) "ReceiptHandle" _list path; queue_url = value_for_key (string__of_yojson) "QueueUrl" _list path; } in _res let change_message_visibility_batch_result_entry_of_yojson = fun tree path : change_message_visibility_batch_result_entry -> let _list = assoc_of_yojson tree path in let _res : change_message_visibility_batch_result_entry = { id = value_for_key (string__of_yojson) "Id" _list path; } in _res let change_message_visibility_batch_result_entry_list_of_yojson = fun tree path -> list_of_yojson change_message_visibility_batch_result_entry_of_yojson tree path let change_message_visibility_batch_result_of_yojson = fun tree path : change_message_visibility_batch_result -> let _list = assoc_of_yojson tree path in let _res : change_message_visibility_batch_result = { failed = value_for_key (batch_result_error_entry_list_of_yojson) "Failed" _list path; successful = value_for_key (change_message_visibility_batch_result_entry_list_of_yojson) "Successful" _list path; } in _res let change_message_visibility_batch_request_entry_of_yojson = fun tree path : change_message_visibility_batch_request_entry -> let _list = assoc_of_yojson tree path in let _res : change_message_visibility_batch_request_entry = { visibility_timeout = option_of_yojson (value_for_key (nullable_integer_of_yojson) "VisibilityTimeout") _list path; receipt_handle = value_for_key (string__of_yojson) "ReceiptHandle" _list path; id = value_for_key (string__of_yojson) "Id" _list path; } in _res let change_message_visibility_batch_request_entry_list_of_yojson = fun tree path -> list_of_yojson change_message_visibility_batch_request_entry_of_yojson tree path let change_message_visibility_batch_request_of_yojson = fun tree path : change_message_visibility_batch_request -> let _list = assoc_of_yojson tree path in let _res : change_message_visibility_batch_request = { entries = value_for_key (change_message_visibility_batch_request_entry_list_of_yojson) "Entries" _list path; queue_url = value_for_key (string__of_yojson) "QueueUrl" _list path; } in _res let cancel_message_move_task_result_of_yojson = fun tree path : cancel_message_move_task_result -> let _list = assoc_of_yojson tree path in let _res : cancel_message_move_task_result = { approximate_number_of_messages_moved = option_of_yojson (value_for_key (long_of_yojson) "ApproximateNumberOfMessagesMoved") _list path; } in _res let cancel_message_move_task_request_of_yojson = fun tree path : cancel_message_move_task_request -> let _list = assoc_of_yojson tree path in let _res : cancel_message_move_task_request = { task_handle = value_for_key (string__of_yojson) "TaskHandle" _list path; } in _res let aws_account_id_list_of_yojson = fun tree path -> list_of_yojson string__of_yojson tree path let action_name_list_of_yojson = fun tree path -> list_of_yojson string__of_yojson tree path let add_permission_request_of_yojson = fun tree path : add_permission_request -> let _list = assoc_of_yojson tree path in let _res : add_permission_request = { actions = value_for_key (action_name_list_of_yojson) "Actions" _list path; aws_account_ids = value_for_key (aws_account_id_list_of_yojson) "AWSAccountIds" _list path; label = value_for_key (string__of_yojson) "Label" _list path; queue_url = value_for_key (string__of_yojson) "QueueUrl" _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)"
>