package awso-async
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
AWS client for Async (400+ services, auto-generated from botocore)
Install
dune-project
Dependency
Authors
Maintainers
Sources
awso-0.9.0.tbz
sha256=47224890900b1f5d2bd717000a02fa8918f92eafa99f702f7d59a1b053ff8e95
sha512=e187288f7c8fccb221f5417671732c8c8de95cdbacba1514db592b5700df2293468bde07956539bd44f3d460f6c75d38bd66ca161d0eae68a8b1b4e081882367
doc/src/awso-async.kendra/cli.ml.html
Source file cli.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 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871(* generated by: awso-codegen generate-all --botocore-data vendor/botocore/botocore/data -o aws --runtime-dir lib/runtime/awso --cli-dir awso-cli *) open Core open Async let json_arg = Command.Arg_type.create Yojson.Safe.from_string let call ?endpoint_url ?profile ?region f m result_to_json error_to_json = let region = match region with | Some region -> Some (Awso.Region.of_string region) | None -> None in (Awso_async.Cfg.get_exn ?profile ?region ()) >>= (fun cfg -> (f ?endpoint_url ?cfg:(Some cfg) m) >>= (fun result -> match result with | Error err -> (match error_to_json with | None -> failwithf "endpoint error, but no error values defined in boto" () | Some to_json -> let s = (err |> to_json) |> Yojson.Safe.to_string in failwithf "AWS error: %s" s ()) | Ok result -> ((match result_to_json with | None -> print_endline "ok response from endpoint" | Some to_json -> ((result |> to_json) |> Yojson.Safe.to_string) |> print_endline); return ()))) let associate_entities_to_experience = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and id = flag "id" (required string) ~doc:"STRING ExperienceId" and indexId = flag "index-id" (required string) ~doc:"STRING IndexId" and entityList = flag "entity-list" (required json_arg) ~doc:"JSON AssociateEntityList" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.associate_entities_to_experience (Values.AssociateEntitiesToExperienceRequest.make ~id ~indexId ~entityList:(Values.AssociateEntityList.of_json entityList) ()) (Some Values.AssociateEntitiesToExperienceResponse.to_json) (Some Values.AssociateEntitiesToExperienceResponse.error_to_json)]) let associate_personas_to_entities = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and id = flag "id" (required string) ~doc:"STRING ExperienceId" and indexId = flag "index-id" (required string) ~doc:"STRING IndexId" and personas = flag "personas" (required json_arg) ~doc:"JSON EntityPersonaConfigurationList" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.associate_personas_to_entities (Values.AssociatePersonasToEntitiesRequest.make ~id ~indexId ~personas:(Values.EntityPersonaConfigurationList.of_json personas) ()) (Some Values.AssociatePersonasToEntitiesResponse.to_json) (Some Values.AssociatePersonasToEntitiesResponse.error_to_json)]) let batch_delete_document = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and dataSourceSyncJobMetricTarget = flag "data-source-sync-job-metric-target" (optional json_arg) ~doc:"JSON DataSourceSyncJobMetricTarget" and indexId = flag "index-id" (required string) ~doc:"STRING IndexId" and documentIdList = flag "document-id-list" (required json_arg) ~doc:"JSON DocumentIdList" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.batch_delete_document (Values.BatchDeleteDocumentRequest.make ?dataSourceSyncJobMetricTarget:(Option.map ~f:Values.DataSourceSyncJobMetricTarget.of_json dataSourceSyncJobMetricTarget) ~indexId ~documentIdList:(Values.DocumentIdList.of_json documentIdList) ()) (Some Values.BatchDeleteDocumentResponse.to_json) (Some Values.BatchDeleteDocumentResponse.error_to_json)]) let batch_delete_featured_results_set = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and indexId = flag "index-id" (required string) ~doc:"STRING IndexId" and featuredResultsSetIds = flag "featured-results-set-ids" (required json_arg) ~doc:"JSON FeaturedResultsSetIdList" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.batch_delete_featured_results_set (Values.BatchDeleteFeaturedResultsSetRequest.make ~indexId ~featuredResultsSetIds:(Values.FeaturedResultsSetIdList.of_json featuredResultsSetIds) ()) (Some Values.BatchDeleteFeaturedResultsSetResponse.to_json) (Some Values.BatchDeleteFeaturedResultsSetResponse.error_to_json)]) let batch_get_document_status = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and indexId = flag "index-id" (required string) ~doc:"STRING IndexId" and documentInfoList = flag "document-info-list" (required json_arg) ~doc:"JSON DocumentInfoList" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.batch_get_document_status (Values.BatchGetDocumentStatusRequest.make ~indexId ~documentInfoList:(Values.DocumentInfoList.of_json documentInfoList) ()) (Some Values.BatchGetDocumentStatusResponse.to_json) (Some Values.BatchGetDocumentStatusResponse.error_to_json)]) let batch_put_document = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and roleArn = flag "role-arn" (optional string) ~doc:"STRING RoleArn" and customDocumentEnrichmentConfiguration = flag "custom-document-enrichment-configuration" (optional json_arg) ~doc:"JSON CustomDocumentEnrichmentConfiguration" and indexId = flag "index-id" (required string) ~doc:"STRING IndexId" and documents = flag "documents" (required json_arg) ~doc:"JSON DocumentList" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.batch_put_document (Values.BatchPutDocumentRequest.make ?roleArn ?customDocumentEnrichmentConfiguration:(Option.map ~f:Values.CustomDocumentEnrichmentConfiguration.of_json customDocumentEnrichmentConfiguration) ~indexId ~documents:(Values.DocumentList.of_json documents) ()) (Some Values.BatchPutDocumentResponse.to_json) (Some Values.BatchPutDocumentResponse.error_to_json)]) let clear_query_suggestions = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and indexId = flag "index-id" (required string) ~doc:"STRING IndexId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.clear_query_suggestions (Values.ClearQuerySuggestionsRequest.make ~indexId ()) None None]) let create_access_control_configuration = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and description = flag "description" (optional string) ~doc:"STRING Description" and accessControlList = flag "access-control-list" (optional json_arg) ~doc:"JSON PrincipalList" and hierarchicalAccessControlList = flag "hierarchical-access-control-list" (optional json_arg) ~doc:"JSON HierarchicalPrincipalList" and clientToken = flag "client-token" (optional string) ~doc:"STRING ClientTokenName" and indexId = flag "index-id" (required string) ~doc:"STRING IndexId" and name = flag "name" (required string) ~doc:"STRING AccessControlConfigurationName" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.create_access_control_configuration (Values.CreateAccessControlConfigurationRequest.make ?description ?accessControlList:(Option.map ~f:Values.PrincipalList.of_json accessControlList) ?hierarchicalAccessControlList:(Option.map ~f:Values.HierarchicalPrincipalList.of_json hierarchicalAccessControlList) ?clientToken ~indexId ~name ()) (Some Values.CreateAccessControlConfigurationResponse.to_json) (Some Values.CreateAccessControlConfigurationResponse.error_to_json)]) let create_data_source = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and configuration = flag "configuration" (optional json_arg) ~doc:"JSON DataSourceConfiguration" and vpcConfiguration = flag "vpc-configuration" (optional json_arg) ~doc:"JSON DataSourceVpcConfiguration" and description = flag "description" (optional string) ~doc:"STRING Description" and schedule = flag "schedule" (optional string) ~doc:"STRING ScanSchedule" and roleArn = flag "role-arn" (optional string) ~doc:"STRING RoleArn" and = flag "tags" (optional json_arg) ~doc:"JSON TagList" and clientToken = flag "client-token" (optional string) ~doc:"STRING ClientTokenName" and languageCode = flag "language-code" (optional string) ~doc:"STRING LanguageCode" and customDocumentEnrichmentConfiguration = flag "custom-document-enrichment-configuration" (optional json_arg) ~doc:"JSON CustomDocumentEnrichmentConfiguration" and name = flag "name" (required string) ~doc:"STRING DataSourceName" and indexId = flag "index-id" (required string) ~doc:"STRING IndexId" and type_ = flag "type-" (required json_arg) ~doc:"JSON DataSourceType" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.create_data_source (Values.CreateDataSourceRequest.make ?configuration:(Option.map ~f:Values.DataSourceConfiguration.of_json configuration) ?vpcConfiguration:(Option.map ~f:Values.DataSourceVpcConfiguration.of_json vpcConfiguration) ?description ?schedule ?roleArn ?tags:(Option.map ~f:Values.TagList.of_json tags) ?clientToken ?languageCode ?customDocumentEnrichmentConfiguration:(Option.map ~f:Values.CustomDocumentEnrichmentConfiguration.of_json customDocumentEnrichmentConfiguration) ~name ~indexId ~type_:(Values.DataSourceType.of_json type_) ()) (Some Values.CreateDataSourceResponse.to_json) (Some Values.CreateDataSourceResponse.error_to_json)]) let create_experience = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and roleArn = flag "role-arn" (optional string) ~doc:"STRING RoleArn" and configuration = flag "configuration" (optional json_arg) ~doc:"JSON ExperienceConfiguration" and description = flag "description" (optional string) ~doc:"STRING Description" and clientToken = flag "client-token" (optional string) ~doc:"STRING ClientTokenName" and name = flag "name" (required string) ~doc:"STRING ExperienceName" and indexId = flag "index-id" (required string) ~doc:"STRING IndexId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.create_experience (Values.CreateExperienceRequest.make ?roleArn ?configuration:(Option.map ~f:Values.ExperienceConfiguration.of_json configuration) ?description ?clientToken ~name ~indexId ()) (Some Values.CreateExperienceResponse.to_json) (Some Values.CreateExperienceResponse.error_to_json)]) let create_faq = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and description = flag "description" (optional string) ~doc:"STRING Description" and = flag "tags" (optional json_arg) ~doc:"JSON TagList" and fileFormat = flag "file-format" (optional json_arg) ~doc:"JSON FaqFileFormat" and clientToken = flag "client-token" (optional string) ~doc:"STRING ClientTokenName" and languageCode = flag "language-code" (optional string) ~doc:"STRING LanguageCode" and indexId = flag "index-id" (required string) ~doc:"STRING IndexId" and name = flag "name" (required string) ~doc:"STRING FaqName" and s3Path = flag "s3-path" (required json_arg) ~doc:"JSON S3Path" and roleArn = flag "role-arn" (required string) ~doc:"STRING RoleArn" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.create_faq (Values.CreateFaqRequest.make ?description ?tags:(Option.map ~f:Values.TagList.of_json tags) ?fileFormat:(Option.map ~f:Values.FaqFileFormat.of_json fileFormat) ?clientToken ?languageCode ~indexId ~name ~s3Path:(Values.S3Path.of_json s3Path) ~roleArn ()) (Some Values.CreateFaqResponse.to_json) (Some Values.CreateFaqResponse.error_to_json)]) let create_featured_results_set = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and description = flag "description" (optional string) ~doc:"STRING FeaturedResultsSetDescription" and clientToken = flag "client-token" (optional string) ~doc:"STRING ClientTokenName" and status = flag "status" (optional json_arg) ~doc:"JSON FeaturedResultsSetStatus" and queryTexts = flag "query-texts" (optional json_arg) ~doc:"JSON QueryTextList" and featuredDocuments = flag "featured-documents" (optional json_arg) ~doc:"JSON FeaturedDocumentList" and = flag "tags" (optional json_arg) ~doc:"JSON TagList" and indexId = flag "index-id" (required string) ~doc:"STRING IndexId" and featuredResultsSetName = flag "featured-results-set-name" (required string) ~doc:"STRING FeaturedResultsSetName" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.create_featured_results_set (Values.CreateFeaturedResultsSetRequest.make ?description ?clientToken ?status:(Option.map ~f:Values.FeaturedResultsSetStatus.of_json status) ?queryTexts:(Option.map ~f:Values.QueryTextList.of_json queryTexts) ?featuredDocuments:(Option.map ~f:Values.FeaturedDocumentList.of_json featuredDocuments) ?tags:(Option.map ~f:Values.TagList.of_json tags) ~indexId ~featuredResultsSetName ()) (Some Values.CreateFeaturedResultsSetResponse.to_json) (Some Values.CreateFeaturedResultsSetResponse.error_to_json)]) let create_index = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and edition = flag "edition" (optional json_arg) ~doc:"JSON IndexEdition" and serverSideEncryptionConfiguration = flag "server-side-encryption-configuration" (optional json_arg) ~doc:"JSON ServerSideEncryptionConfiguration" and description = flag "description" (optional string) ~doc:"STRING Description" and clientToken = flag "client-token" (optional string) ~doc:"STRING ClientTokenName" and = flag "tags" (optional json_arg) ~doc:"JSON TagList" and userTokenConfigurations = flag "user-token-configurations" (optional json_arg) ~doc:"JSON UserTokenConfigurationList" and userContextPolicy = flag "user-context-policy" (optional json_arg) ~doc:"JSON UserContextPolicy" and userGroupResolutionConfiguration = flag "user-group-resolution-configuration" (optional json_arg) ~doc:"JSON UserGroupResolutionConfiguration" and name = flag "name" (required string) ~doc:"STRING IndexName" and roleArn = flag "role-arn" (required string) ~doc:"STRING RoleArn" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.create_index (Values.CreateIndexRequest.make ?edition:(Option.map ~f:Values.IndexEdition.of_json edition) ?serverSideEncryptionConfiguration:(Option.map ~f:Values.ServerSideEncryptionConfiguration.of_json serverSideEncryptionConfiguration) ?description ?clientToken ?tags:(Option.map ~f:Values.TagList.of_json tags) ?userTokenConfigurations:(Option.map ~f:Values.UserTokenConfigurationList.of_json userTokenConfigurations) ?userContextPolicy:(Option.map ~f:Values.UserContextPolicy.of_json userContextPolicy) ?userGroupResolutionConfiguration:(Option.map ~f:Values.UserGroupResolutionConfiguration.of_json userGroupResolutionConfiguration) ~name ~roleArn ()) (Some Values.CreateIndexResponse.to_json) (Some Values.CreateIndexResponse.error_to_json)]) let create_query_suggestions_block_list = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and description = flag "description" (optional string) ~doc:"STRING Description" and clientToken = flag "client-token" (optional string) ~doc:"STRING ClientTokenName" and = flag "tags" (optional json_arg) ~doc:"JSON TagList" and indexId = flag "index-id" (required string) ~doc:"STRING IndexId" and name = flag "name" (required string) ~doc:"STRING QuerySuggestionsBlockListName" and sourceS3Path = flag "source-s3-path" (required json_arg) ~doc:"JSON S3Path" and roleArn = flag "role-arn" (required string) ~doc:"STRING RoleArn" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.create_query_suggestions_block_list (Values.CreateQuerySuggestionsBlockListRequest.make ?description ?clientToken ?tags:(Option.map ~f:Values.TagList.of_json tags) ~indexId ~name ~sourceS3Path:(Values.S3Path.of_json sourceS3Path) ~roleArn ()) (Some Values.CreateQuerySuggestionsBlockListResponse.to_json) (Some Values.CreateQuerySuggestionsBlockListResponse.error_to_json)]) let create_thesaurus = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and description = flag "description" (optional string) ~doc:"STRING Description" and = flag "tags" (optional json_arg) ~doc:"JSON TagList" and clientToken = flag "client-token" (optional string) ~doc:"STRING ClientTokenName" and indexId = flag "index-id" (required string) ~doc:"STRING IndexId" and name = flag "name" (required string) ~doc:"STRING ThesaurusName" and roleArn = flag "role-arn" (required string) ~doc:"STRING RoleArn" and sourceS3Path = flag "source-s3-path" (required json_arg) ~doc:"JSON S3Path" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.create_thesaurus (Values.CreateThesaurusRequest.make ?description ?tags:(Option.map ~f:Values.TagList.of_json tags) ?clientToken ~indexId ~name ~roleArn ~sourceS3Path:(Values.S3Path.of_json sourceS3Path) ()) (Some Values.CreateThesaurusResponse.to_json) (Some Values.CreateThesaurusResponse.error_to_json)]) let delete_access_control_configuration = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and indexId = flag "index-id" (required string) ~doc:"STRING IndexId" and id = flag "id" (required string) ~doc:"STRING AccessControlConfigurationId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.delete_access_control_configuration (Values.DeleteAccessControlConfigurationRequest.make ~indexId ~id ()) (Some Values.DeleteAccessControlConfigurationResponse.to_json) (Some Values.DeleteAccessControlConfigurationResponse.error_to_json)]) let delete_data_source = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and id = flag "id" (required string) ~doc:"STRING DataSourceId" and indexId = flag "index-id" (required string) ~doc:"STRING IndexId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.delete_data_source (Values.DeleteDataSourceRequest.make ~id ~indexId ()) None None]) let delete_experience = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and id = flag "id" (required string) ~doc:"STRING ExperienceId" and indexId = flag "index-id" (required string) ~doc:"STRING IndexId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.delete_experience (Values.DeleteExperienceRequest.make ~id ~indexId ()) (Some Values.DeleteExperienceResponse.to_json) (Some Values.DeleteExperienceResponse.error_to_json)]) let delete_faq = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and id = flag "id" (required string) ~doc:"STRING FaqId" and indexId = flag "index-id" (required string) ~doc:"STRING IndexId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.delete_faq (Values.DeleteFaqRequest.make ~id ~indexId ()) None None]) let delete_index = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and id = flag "id" (required string) ~doc:"STRING IndexId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.delete_index (Values.DeleteIndexRequest.make ~id ()) None None]) let delete_principal_mapping = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and dataSourceId = flag "data-source-id" (optional string) ~doc:"STRING DataSourceId" and orderingId = flag "ordering-id" (optional json_arg) ~doc:"JSON PrincipalOrderingId" and indexId = flag "index-id" (required string) ~doc:"STRING IndexId" and groupId = flag "group-id" (required string) ~doc:"STRING GroupId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.delete_principal_mapping (Values.DeletePrincipalMappingRequest.make ?dataSourceId ?orderingId:(Option.map ~f:Values.PrincipalOrderingId.of_json orderingId) ~indexId ~groupId ()) None None]) let delete_query_suggestions_block_list = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and indexId = flag "index-id" (required string) ~doc:"STRING IndexId" and id = flag "id" (required string) ~doc:"STRING QuerySuggestionsBlockListId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.delete_query_suggestions_block_list (Values.DeleteQuerySuggestionsBlockListRequest.make ~indexId ~id ()) None None]) let delete_thesaurus = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and id = flag "id" (required string) ~doc:"STRING ThesaurusId" and indexId = flag "index-id" (required string) ~doc:"STRING IndexId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.delete_thesaurus (Values.DeleteThesaurusRequest.make ~id ~indexId ()) None None]) let describe_access_control_configuration = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and indexId = flag "index-id" (required string) ~doc:"STRING IndexId" and id = flag "id" (required string) ~doc:"STRING AccessControlConfigurationId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.describe_access_control_configuration (Values.DescribeAccessControlConfigurationRequest.make ~indexId ~id ()) (Some Values.DescribeAccessControlConfigurationResponse.to_json) (Some Values.DescribeAccessControlConfigurationResponse.error_to_json)]) let describe_data_source = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and id = flag "id" (required string) ~doc:"STRING DataSourceId" and indexId = flag "index-id" (required string) ~doc:"STRING IndexId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.describe_data_source (Values.DescribeDataSourceRequest.make ~id ~indexId ()) (Some Values.DescribeDataSourceResponse.to_json) (Some Values.DescribeDataSourceResponse.error_to_json)]) let describe_experience = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and id = flag "id" (required string) ~doc:"STRING ExperienceId" and indexId = flag "index-id" (required string) ~doc:"STRING IndexId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.describe_experience (Values.DescribeExperienceRequest.make ~id ~indexId ()) (Some Values.DescribeExperienceResponse.to_json) (Some Values.DescribeExperienceResponse.error_to_json)]) let describe_faq = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and id = flag "id" (required string) ~doc:"STRING FaqId" and indexId = flag "index-id" (required string) ~doc:"STRING IndexId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.describe_faq (Values.DescribeFaqRequest.make ~id ~indexId ()) (Some Values.DescribeFaqResponse.to_json) (Some Values.DescribeFaqResponse.error_to_json)]) let describe_featured_results_set = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and indexId = flag "index-id" (required string) ~doc:"STRING IndexId" and featuredResultsSetId = flag "featured-results-set-id" (required string) ~doc:"STRING FeaturedResultsSetId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.describe_featured_results_set (Values.DescribeFeaturedResultsSetRequest.make ~indexId ~featuredResultsSetId ()) (Some Values.DescribeFeaturedResultsSetResponse.to_json) (Some Values.DescribeFeaturedResultsSetResponse.error_to_json)]) let describe_index = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and id = flag "id" (required string) ~doc:"STRING IndexId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.describe_index (Values.DescribeIndexRequest.make ~id ()) (Some Values.DescribeIndexResponse.to_json) (Some Values.DescribeIndexResponse.error_to_json)]) let describe_principal_mapping = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and dataSourceId = flag "data-source-id" (optional string) ~doc:"STRING DataSourceId" and indexId = flag "index-id" (required string) ~doc:"STRING IndexId" and groupId = flag "group-id" (required string) ~doc:"STRING GroupId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.describe_principal_mapping (Values.DescribePrincipalMappingRequest.make ?dataSourceId ~indexId ~groupId ()) (Some Values.DescribePrincipalMappingResponse.to_json) (Some Values.DescribePrincipalMappingResponse.error_to_json)]) let describe_query_suggestions_block_list = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and indexId = flag "index-id" (required string) ~doc:"STRING IndexId" and id = flag "id" (required string) ~doc:"STRING QuerySuggestionsBlockListId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.describe_query_suggestions_block_list (Values.DescribeQuerySuggestionsBlockListRequest.make ~indexId ~id ()) (Some Values.DescribeQuerySuggestionsBlockListResponse.to_json) (Some Values.DescribeQuerySuggestionsBlockListResponse.error_to_json)]) let describe_query_suggestions_config = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and indexId = flag "index-id" (required string) ~doc:"STRING IndexId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.describe_query_suggestions_config (Values.DescribeQuerySuggestionsConfigRequest.make ~indexId ()) (Some Values.DescribeQuerySuggestionsConfigResponse.to_json) (Some Values.DescribeQuerySuggestionsConfigResponse.error_to_json)]) let describe_thesaurus = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and id = flag "id" (required string) ~doc:"STRING ThesaurusId" and indexId = flag "index-id" (required string) ~doc:"STRING IndexId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.describe_thesaurus (Values.DescribeThesaurusRequest.make ~id ~indexId ()) (Some Values.DescribeThesaurusResponse.to_json) (Some Values.DescribeThesaurusResponse.error_to_json)]) let disassociate_entities_from_experience = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and id = flag "id" (required string) ~doc:"STRING ExperienceId" and indexId = flag "index-id" (required string) ~doc:"STRING IndexId" and entityList = flag "entity-list" (required json_arg) ~doc:"JSON DisassociateEntityList" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.disassociate_entities_from_experience (Values.DisassociateEntitiesFromExperienceRequest.make ~id ~indexId ~entityList:(Values.DisassociateEntityList.of_json entityList) ()) (Some Values.DisassociateEntitiesFromExperienceResponse.to_json) (Some Values.DisassociateEntitiesFromExperienceResponse.error_to_json)]) let disassociate_personas_from_entities = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and id = flag "id" (required string) ~doc:"STRING ExperienceId" and indexId = flag "index-id" (required string) ~doc:"STRING IndexId" and entityIds = flag "entity-ids" (required json_arg) ~doc:"JSON EntityIdsList" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.disassociate_personas_from_entities (Values.DisassociatePersonasFromEntitiesRequest.make ~id ~indexId ~entityIds:(Values.EntityIdsList.of_json entityIds) ()) (Some Values.DisassociatePersonasFromEntitiesResponse.to_json) (Some Values.DisassociatePersonasFromEntitiesResponse.error_to_json)]) let get_query_suggestions = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and maxSuggestionsCount = flag "max-suggestions-count" (optional int) ~doc:"INT Integer" and suggestionTypes = flag "suggestion-types" (optional json_arg) ~doc:"JSON SuggestionTypes" and attributeSuggestionsConfig = flag "attribute-suggestions-config" (optional json_arg) ~doc:"JSON AttributeSuggestionsGetConfig" and indexId = flag "index-id" (required string) ~doc:"STRING IndexId" and queryText = flag "query-text" (required string) ~doc:"STRING SuggestionQueryText" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.get_query_suggestions (Values.GetQuerySuggestionsRequest.make ?maxSuggestionsCount ?suggestionTypes:(Option.map ~f:Values.SuggestionTypes.of_json suggestionTypes) ?attributeSuggestionsConfig:(Option.map ~f:Values.AttributeSuggestionsGetConfig.of_json attributeSuggestionsConfig) ~indexId ~queryText ()) (Some Values.GetQuerySuggestionsResponse.to_json) (Some Values.GetQuerySuggestionsResponse.error_to_json)]) let get_snapshots = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and nextToken = flag "next-token" (optional string) ~doc:"STRING NextToken" and maxResults = flag "max-results" (optional int) ~doc:"INT Integer" and indexId = flag "index-id" (required string) ~doc:"STRING IndexId" and interval = flag "interval" (required json_arg) ~doc:"JSON Interval" and metricType = flag "metric-type" (required json_arg) ~doc:"JSON MetricType" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.get_snapshots (Values.GetSnapshotsRequest.make ?nextToken ?maxResults ~indexId ~interval:(Values.Interval.of_json interval) ~metricType:(Values.MetricType.of_json metricType) ()) (Some Values.GetSnapshotsResponse.to_json) (Some Values.GetSnapshotsResponse.error_to_json)]) let list_access_control_configurations = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and nextToken = flag "next-token" (optional string) ~doc:"STRING String" and maxResults = flag "max-results" (optional int) ~doc:"INT MaxResultsIntegerForListAccessControlConfigurationsRequest" and indexId = flag "index-id" (required string) ~doc:"STRING IndexId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.list_access_control_configurations (Values.ListAccessControlConfigurationsRequest.make ?nextToken ?maxResults ~indexId ()) (Some Values.ListAccessControlConfigurationsResponse.to_json) (Some Values.ListAccessControlConfigurationsResponse.error_to_json)]) let list_data_source_sync_jobs = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and nextToken = flag "next-token" (optional string) ~doc:"STRING NextToken" and maxResults = flag "max-results" (optional int) ~doc:"INT MaxResultsIntegerForListDataSourceSyncJobsRequest" and startTimeFilter = flag "start-time-filter" (optional json_arg) ~doc:"JSON TimeRange" and statusFilter = flag "status-filter" (optional json_arg) ~doc:"JSON DataSourceSyncJobStatus" and id = flag "id" (required string) ~doc:"STRING DataSourceId" and indexId = flag "index-id" (required string) ~doc:"STRING IndexId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.list_data_source_sync_jobs (Values.ListDataSourceSyncJobsRequest.make ?nextToken ?maxResults ?startTimeFilter:(Option.map ~f:Values.TimeRange.of_json startTimeFilter) ?statusFilter:(Option.map ~f:Values.DataSourceSyncJobStatus.of_json statusFilter) ~id ~indexId ()) (Some Values.ListDataSourceSyncJobsResponse.to_json) (Some Values.ListDataSourceSyncJobsResponse.error_to_json)]) let list_data_sources = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and nextToken = flag "next-token" (optional string) ~doc:"STRING NextToken" and maxResults = flag "max-results" (optional int) ~doc:"INT MaxResultsIntegerForListDataSourcesRequest" and indexId = flag "index-id" (required string) ~doc:"STRING IndexId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.list_data_sources (Values.ListDataSourcesRequest.make ?nextToken ?maxResults ~indexId ()) (Some Values.ListDataSourcesResponse.to_json) (Some Values.ListDataSourcesResponse.error_to_json)]) let list_entity_personas = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and nextToken = flag "next-token" (optional string) ~doc:"STRING NextToken" and maxResults = flag "max-results" (optional int) ~doc:"INT MaxResultsIntegerForListEntityPersonasRequest" and id = flag "id" (required string) ~doc:"STRING ExperienceId" and indexId = flag "index-id" (required string) ~doc:"STRING IndexId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.list_entity_personas (Values.ListEntityPersonasRequest.make ?nextToken ?maxResults ~id ~indexId ()) (Some Values.ListEntityPersonasResponse.to_json) (Some Values.ListEntityPersonasResponse.error_to_json)]) let list_experience_entities = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and nextToken = flag "next-token" (optional string) ~doc:"STRING NextToken" and id = flag "id" (required string) ~doc:"STRING ExperienceId" and indexId = flag "index-id" (required string) ~doc:"STRING IndexId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.list_experience_entities (Values.ListExperienceEntitiesRequest.make ?nextToken ~id ~indexId ()) (Some Values.ListExperienceEntitiesResponse.to_json) (Some Values.ListExperienceEntitiesResponse.error_to_json)]) let list_experiences = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and nextToken = flag "next-token" (optional string) ~doc:"STRING NextToken" and maxResults = flag "max-results" (optional int) ~doc:"INT MaxResultsIntegerForListExperiencesRequest" and indexId = flag "index-id" (required string) ~doc:"STRING IndexId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.list_experiences (Values.ListExperiencesRequest.make ?nextToken ?maxResults ~indexId ()) (Some Values.ListExperiencesResponse.to_json) (Some Values.ListExperiencesResponse.error_to_json)]) let list_faqs = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and nextToken = flag "next-token" (optional string) ~doc:"STRING NextToken" and maxResults = flag "max-results" (optional int) ~doc:"INT MaxResultsIntegerForListFaqsRequest" and indexId = flag "index-id" (required string) ~doc:"STRING IndexId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.list_faqs (Values.ListFaqsRequest.make ?nextToken ?maxResults ~indexId ()) (Some Values.ListFaqsResponse.to_json) (Some Values.ListFaqsResponse.error_to_json)]) let list_featured_results_sets = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and nextToken = flag "next-token" (optional string) ~doc:"STRING NextToken" and maxResults = flag "max-results" (optional int) ~doc:"INT MaxResultsIntegerForListFeaturedResultsSetsRequest" and indexId = flag "index-id" (required string) ~doc:"STRING IndexId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.list_featured_results_sets (Values.ListFeaturedResultsSetsRequest.make ?nextToken ?maxResults ~indexId ()) (Some Values.ListFeaturedResultsSetsResponse.to_json) (Some Values.ListFeaturedResultsSetsResponse.error_to_json)]) let list_groups_older_than_ordering_id = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and dataSourceId = flag "data-source-id" (optional string) ~doc:"STRING DataSourceId" and nextToken = flag "next-token" (optional string) ~doc:"STRING NextToken" and maxResults = flag "max-results" (optional int) ~doc:"INT MaxResultsIntegerForListPrincipalsRequest" and indexId = flag "index-id" (required string) ~doc:"STRING IndexId" and orderingId = flag "ordering-id" (required json_arg) ~doc:"JSON PrincipalOrderingId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.list_groups_older_than_ordering_id (Values.ListGroupsOlderThanOrderingIdRequest.make ?dataSourceId ?nextToken ?maxResults ~indexId ~orderingId:(Values.PrincipalOrderingId.of_json orderingId) ()) (Some Values.ListGroupsOlderThanOrderingIdResponse.to_json) (Some Values.ListGroupsOlderThanOrderingIdResponse.error_to_json)]) let list_indices = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and nextToken = flag "next-token" (optional string) ~doc:"STRING NextToken" and maxResults = flag "max-results" (optional int) ~doc:"INT MaxResultsIntegerForListIndicesRequest" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.list_indices (Values.ListIndicesRequest.make ?nextToken ?maxResults ()) (Some Values.ListIndicesResponse.to_json) (Some Values.ListIndicesResponse.error_to_json)]) let list_query_suggestions_block_lists = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and nextToken = flag "next-token" (optional string) ~doc:"STRING NextToken" and maxResults = flag "max-results" (optional int) ~doc:"INT MaxResultsIntegerForListQuerySuggestionsBlockLists" and indexId = flag "index-id" (required string) ~doc:"STRING IndexId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.list_query_suggestions_block_lists (Values.ListQuerySuggestionsBlockListsRequest.make ?nextToken ?maxResults ~indexId ()) (Some Values.ListQuerySuggestionsBlockListsResponse.to_json) (Some Values.ListQuerySuggestionsBlockListsResponse.error_to_json)]) let = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and resourceARN = flag "resource-a-r-n" (required string) ~doc:"STRING AmazonResourceName" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.list_tags_for_resource (Values.ListTagsForResourceRequest.make ~resourceARN ()) (Some Values.ListTagsForResourceResponse.to_json) (Some Values.ListTagsForResourceResponse.error_to_json)]) let list_thesauri = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and nextToken = flag "next-token" (optional string) ~doc:"STRING NextToken" and maxResults = flag "max-results" (optional int) ~doc:"INT MaxResultsIntegerForListThesauriRequest" and indexId = flag "index-id" (required string) ~doc:"STRING IndexId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.list_thesauri (Values.ListThesauriRequest.make ?nextToken ?maxResults ~indexId ()) (Some Values.ListThesauriResponse.to_json) (Some Values.ListThesauriResponse.error_to_json)]) let put_principal_mapping = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and dataSourceId = flag "data-source-id" (optional string) ~doc:"STRING DataSourceId" and orderingId = flag "ordering-id" (optional json_arg) ~doc:"JSON PrincipalOrderingId" and roleArn = flag "role-arn" (optional string) ~doc:"STRING RoleArn" and indexId = flag "index-id" (required string) ~doc:"STRING IndexId" and groupId = flag "group-id" (required string) ~doc:"STRING GroupId" and groupMembers = flag "group-members" (required json_arg) ~doc:"JSON GroupMembers" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.put_principal_mapping (Values.PutPrincipalMappingRequest.make ?dataSourceId ?orderingId:(Option.map ~f:Values.PrincipalOrderingId.of_json orderingId) ?roleArn ~indexId ~groupId ~groupMembers:(Values.GroupMembers.of_json groupMembers) ()) None None]) let query = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and queryText = flag "query-text" (optional string) ~doc:"STRING QueryText" and attributeFilter = flag "attribute-filter" (optional json_arg) ~doc:"JSON AttributeFilter" and facets = flag "facets" (optional json_arg) ~doc:"JSON FacetList" and requestedDocumentAttributes = flag "requested-document-attributes" (optional json_arg) ~doc:"JSON DocumentAttributeKeyList" and queryResultTypeFilter = flag "query-result-type-filter" (optional json_arg) ~doc:"JSON QueryResultType" and documentRelevanceOverrideConfigurations = flag "document-relevance-override-configurations" (optional json_arg) ~doc:"JSON DocumentRelevanceOverrideConfigurationList" and pageNumber = flag "page-number" (optional int) ~doc:"INT Integer" and pageSize = flag "page-size" (optional int) ~doc:"INT Integer" and sortingConfiguration = flag "sorting-configuration" (optional json_arg) ~doc:"JSON SortingConfiguration" and sortingConfigurations = flag "sorting-configurations" (optional json_arg) ~doc:"JSON SortingConfigurationList" and userContext = flag "user-context" (optional json_arg) ~doc:"JSON UserContext" and visitorId = flag "visitor-id" (optional string) ~doc:"STRING VisitorId" and spellCorrectionConfiguration = flag "spell-correction-configuration" (optional json_arg) ~doc:"JSON SpellCorrectionConfiguration" and collapseConfiguration = flag "collapse-configuration" (optional json_arg) ~doc:"JSON CollapseConfiguration" and indexId = flag "index-id" (required string) ~doc:"STRING IndexId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.query (Values.QueryRequest.make ?queryText ?attributeFilter:(Option.map ~f:Values.AttributeFilter.of_json attributeFilter) ?facets:(Option.map ~f:Values.FacetList.of_json facets) ?requestedDocumentAttributes:(Option.map ~f:Values.DocumentAttributeKeyList.of_json requestedDocumentAttributes) ?queryResultTypeFilter:(Option.map ~f:Values.QueryResultType.of_json queryResultTypeFilter) ?documentRelevanceOverrideConfigurations:(Option.map ~f:Values.DocumentRelevanceOverrideConfigurationList.of_json documentRelevanceOverrideConfigurations) ?pageNumber ?pageSize ?sortingConfiguration:(Option.map ~f:Values.SortingConfiguration.of_json sortingConfiguration) ?sortingConfigurations:(Option.map ~f:Values.SortingConfigurationList.of_json sortingConfigurations) ?userContext:(Option.map ~f:Values.UserContext.of_json userContext) ?visitorId ?spellCorrectionConfiguration:(Option.map ~f:Values.SpellCorrectionConfiguration.of_json spellCorrectionConfiguration) ?collapseConfiguration:(Option.map ~f:Values.CollapseConfiguration.of_json collapseConfiguration) ~indexId ()) (Some Values.QueryResult.to_json) (Some Values.QueryResult.error_to_json)]) let retrieve = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and attributeFilter = flag "attribute-filter" (optional json_arg) ~doc:"JSON AttributeFilter" and requestedDocumentAttributes = flag "requested-document-attributes" (optional json_arg) ~doc:"JSON DocumentAttributeKeyList" and documentRelevanceOverrideConfigurations = flag "document-relevance-override-configurations" (optional json_arg) ~doc:"JSON DocumentRelevanceOverrideConfigurationList" and pageNumber = flag "page-number" (optional int) ~doc:"INT Integer" and pageSize = flag "page-size" (optional int) ~doc:"INT Integer" and userContext = flag "user-context" (optional json_arg) ~doc:"JSON UserContext" and indexId = flag "index-id" (required string) ~doc:"STRING IndexId" and queryText = flag "query-text" (required string) ~doc:"STRING QueryText" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.retrieve (Values.RetrieveRequest.make ?attributeFilter:(Option.map ~f:Values.AttributeFilter.of_json attributeFilter) ?requestedDocumentAttributes:(Option.map ~f:Values.DocumentAttributeKeyList.of_json requestedDocumentAttributes) ?documentRelevanceOverrideConfigurations:(Option.map ~f:Values.DocumentRelevanceOverrideConfigurationList.of_json documentRelevanceOverrideConfigurations) ?pageNumber ?pageSize ?userContext:(Option.map ~f:Values.UserContext.of_json userContext) ~indexId ~queryText ()) (Some Values.RetrieveResult.to_json) (Some Values.RetrieveResult.error_to_json)]) let start_data_source_sync_job = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and id = flag "id" (required string) ~doc:"STRING DataSourceId" and indexId = flag "index-id" (required string) ~doc:"STRING IndexId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.start_data_source_sync_job (Values.StartDataSourceSyncJobRequest.make ~id ~indexId ()) (Some Values.StartDataSourceSyncJobResponse.to_json) (Some Values.StartDataSourceSyncJobResponse.error_to_json)]) let stop_data_source_sync_job = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and id = flag "id" (required string) ~doc:"STRING DataSourceId" and indexId = flag "index-id" (required string) ~doc:"STRING IndexId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.stop_data_source_sync_job (Values.StopDataSourceSyncJobRequest.make ~id ~indexId ()) None None]) let submit_feedback = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and clickFeedbackItems = flag "click-feedback-items" (optional json_arg) ~doc:"JSON ClickFeedbackList" and relevanceFeedbackItems = flag "relevance-feedback-items" (optional json_arg) ~doc:"JSON RelevanceFeedbackList" and indexId = flag "index-id" (required string) ~doc:"STRING IndexId" and queryId = flag "query-id" (required string) ~doc:"STRING QueryId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.submit_feedback (Values.SubmitFeedbackRequest.make ?clickFeedbackItems:(Option.map ~f:Values.ClickFeedbackList.of_json clickFeedbackItems) ?relevanceFeedbackItems:(Option.map ~f:Values.RelevanceFeedbackList.of_json relevanceFeedbackItems) ~indexId ~queryId ()) None None]) let tag_resource = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and resourceARN = flag "resource-a-r-n" (required string) ~doc:"STRING AmazonResourceName" and = flag "tags" (required json_arg) ~doc:"JSON TagList" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.tag_resource (Values.TagResourceRequest.make ~resourceARN ~tags:(Values.TagList.of_json tags) ()) (Some Values.TagResourceResponse.to_json) (Some Values.TagResourceResponse.error_to_json)]) let untag_resource = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and resourceARN = flag "resource-a-r-n" (required string) ~doc:"STRING AmazonResourceName" and tagKeys = flag "tag-keys" (required json_arg) ~doc:"JSON TagKeyList" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.untag_resource (Values.UntagResourceRequest.make ~resourceARN ~tagKeys:(Values.TagKeyList.of_json tagKeys) ()) (Some Values.UntagResourceResponse.to_json) (Some Values.UntagResourceResponse.error_to_json)]) let update_access_control_configuration = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and name = flag "name" (optional string) ~doc:"STRING AccessControlConfigurationName" and description = flag "description" (optional string) ~doc:"STRING Description" and accessControlList = flag "access-control-list" (optional json_arg) ~doc:"JSON PrincipalList" and hierarchicalAccessControlList = flag "hierarchical-access-control-list" (optional json_arg) ~doc:"JSON HierarchicalPrincipalList" and indexId = flag "index-id" (required string) ~doc:"STRING IndexId" and id = flag "id" (required string) ~doc:"STRING AccessControlConfigurationId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.update_access_control_configuration (Values.UpdateAccessControlConfigurationRequest.make ?name ?description ?accessControlList:(Option.map ~f:Values.PrincipalList.of_json accessControlList) ?hierarchicalAccessControlList:(Option.map ~f:Values.HierarchicalPrincipalList.of_json hierarchicalAccessControlList) ~indexId ~id ()) (Some Values.UpdateAccessControlConfigurationResponse.to_json) (Some Values.UpdateAccessControlConfigurationResponse.error_to_json)]) let update_data_source = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and name = flag "name" (optional string) ~doc:"STRING DataSourceName" and configuration = flag "configuration" (optional json_arg) ~doc:"JSON DataSourceConfiguration" and vpcConfiguration = flag "vpc-configuration" (optional json_arg) ~doc:"JSON DataSourceVpcConfiguration" and description = flag "description" (optional string) ~doc:"STRING Description" and schedule = flag "schedule" (optional string) ~doc:"STRING ScanSchedule" and roleArn = flag "role-arn" (optional string) ~doc:"STRING RoleArn" and languageCode = flag "language-code" (optional string) ~doc:"STRING LanguageCode" and customDocumentEnrichmentConfiguration = flag "custom-document-enrichment-configuration" (optional json_arg) ~doc:"JSON CustomDocumentEnrichmentConfiguration" and id = flag "id" (required string) ~doc:"STRING DataSourceId" and indexId = flag "index-id" (required string) ~doc:"STRING IndexId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.update_data_source (Values.UpdateDataSourceRequest.make ?name ?configuration:(Option.map ~f:Values.DataSourceConfiguration.of_json configuration) ?vpcConfiguration:(Option.map ~f:Values.DataSourceVpcConfiguration.of_json vpcConfiguration) ?description ?schedule ?roleArn ?languageCode ?customDocumentEnrichmentConfiguration:(Option.map ~f:Values.CustomDocumentEnrichmentConfiguration.of_json customDocumentEnrichmentConfiguration) ~id ~indexId ()) None None]) let update_experience = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and name = flag "name" (optional string) ~doc:"STRING ExperienceName" and roleArn = flag "role-arn" (optional string) ~doc:"STRING RoleArn" and configuration = flag "configuration" (optional json_arg) ~doc:"JSON ExperienceConfiguration" and description = flag "description" (optional string) ~doc:"STRING Description" and id = flag "id" (required string) ~doc:"STRING ExperienceId" and indexId = flag "index-id" (required string) ~doc:"STRING IndexId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.update_experience (Values.UpdateExperienceRequest.make ?name ?roleArn ?configuration:(Option.map ~f:Values.ExperienceConfiguration.of_json configuration) ?description ~id ~indexId ()) None None]) let update_featured_results_set = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and featuredResultsSetName = flag "featured-results-set-name" (optional string) ~doc:"STRING FeaturedResultsSetName" and description = flag "description" (optional string) ~doc:"STRING FeaturedResultsSetDescription" and status = flag "status" (optional json_arg) ~doc:"JSON FeaturedResultsSetStatus" and queryTexts = flag "query-texts" (optional json_arg) ~doc:"JSON QueryTextList" and featuredDocuments = flag "featured-documents" (optional json_arg) ~doc:"JSON FeaturedDocumentList" and indexId = flag "index-id" (required string) ~doc:"STRING IndexId" and featuredResultsSetId = flag "featured-results-set-id" (required string) ~doc:"STRING FeaturedResultsSetId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.update_featured_results_set (Values.UpdateFeaturedResultsSetRequest.make ?featuredResultsSetName ?description ?status:(Option.map ~f:Values.FeaturedResultsSetStatus.of_json status) ?queryTexts:(Option.map ~f:Values.QueryTextList.of_json queryTexts) ?featuredDocuments:(Option.map ~f:Values.FeaturedDocumentList.of_json featuredDocuments) ~indexId ~featuredResultsSetId ()) (Some Values.UpdateFeaturedResultsSetResponse.to_json) (Some Values.UpdateFeaturedResultsSetResponse.error_to_json)]) let update_index = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and name = flag "name" (optional string) ~doc:"STRING IndexName" and roleArn = flag "role-arn" (optional string) ~doc:"STRING RoleArn" and description = flag "description" (optional string) ~doc:"STRING Description" and documentMetadataConfigurationUpdates = flag "document-metadata-configuration-updates" (optional json_arg) ~doc:"JSON DocumentMetadataConfigurationList" and capacityUnits = flag "capacity-units" (optional json_arg) ~doc:"JSON CapacityUnitsConfiguration" and userTokenConfigurations = flag "user-token-configurations" (optional json_arg) ~doc:"JSON UserTokenConfigurationList" and userContextPolicy = flag "user-context-policy" (optional json_arg) ~doc:"JSON UserContextPolicy" and userGroupResolutionConfiguration = flag "user-group-resolution-configuration" (optional json_arg) ~doc:"JSON UserGroupResolutionConfiguration" and id = flag "id" (required string) ~doc:"STRING IndexId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.update_index (Values.UpdateIndexRequest.make ?name ?roleArn ?description ?documentMetadataConfigurationUpdates:(Option.map ~f:Values.DocumentMetadataConfigurationList.of_json documentMetadataConfigurationUpdates) ?capacityUnits:(Option.map ~f:Values.CapacityUnitsConfiguration.of_json capacityUnits) ?userTokenConfigurations:(Option.map ~f:Values.UserTokenConfigurationList.of_json userTokenConfigurations) ?userContextPolicy:(Option.map ~f:Values.UserContextPolicy.of_json userContextPolicy) ?userGroupResolutionConfiguration:(Option.map ~f:Values.UserGroupResolutionConfiguration.of_json userGroupResolutionConfiguration) ~id ()) None None]) let update_query_suggestions_block_list = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and name = flag "name" (optional string) ~doc:"STRING QuerySuggestionsBlockListName" and description = flag "description" (optional string) ~doc:"STRING Description" and sourceS3Path = flag "source-s3-path" (optional json_arg) ~doc:"JSON S3Path" and roleArn = flag "role-arn" (optional string) ~doc:"STRING RoleArn" and indexId = flag "index-id" (required string) ~doc:"STRING IndexId" and id = flag "id" (required string) ~doc:"STRING QuerySuggestionsBlockListId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.update_query_suggestions_block_list (Values.UpdateQuerySuggestionsBlockListRequest.make ?name ?description ?sourceS3Path:(Option.map ~f:Values.S3Path.of_json sourceS3Path) ?roleArn ~indexId ~id ()) None None]) let update_query_suggestions_config = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and mode = flag "mode" (optional json_arg) ~doc:"JSON Mode" and queryLogLookBackWindowInDays = flag "query-log-look-back-window-in-days" (optional int) ~doc:"INT Integer" and includeQueriesWithoutUserInformation = flag "include-queries-without-user-information" (optional bool) ~doc:"BOOL ObjectBoolean" and minimumNumberOfQueryingUsers = flag "minimum-number-of-querying-users" (optional int) ~doc:"INT MinimumNumberOfQueryingUsers" and minimumQueryCount = flag "minimum-query-count" (optional int) ~doc:"INT MinimumQueryCount" and attributeSuggestionsConfig = flag "attribute-suggestions-config" (optional json_arg) ~doc:"JSON AttributeSuggestionsUpdateConfig" and indexId = flag "index-id" (required string) ~doc:"STRING IndexId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.update_query_suggestions_config (Values.UpdateQuerySuggestionsConfigRequest.make ?mode:(Option.map ~f:Values.Mode.of_json mode) ?queryLogLookBackWindowInDays ?includeQueriesWithoutUserInformation ?minimumNumberOfQueryingUsers ?minimumQueryCount ?attributeSuggestionsConfig:(Option.map ~f:Values.AttributeSuggestionsUpdateConfig.of_json attributeSuggestionsConfig) ~indexId ()) None None]) let update_thesaurus = Command.async ~summary:"" ([%map_open.Command let cli_profile = flag "-cli-profile" (optional string) ~doc:"NAME aws profile to use" and cli_region = flag "-cli-region" (optional string) ~doc:"REGION override region" and endpoint_url = flag "-endpoint-url" (optional string) ~doc:"URL override endpoint url" and name = flag "name" (optional string) ~doc:"STRING ThesaurusName" and description = flag "description" (optional string) ~doc:"STRING Description" and roleArn = flag "role-arn" (optional string) ~doc:"STRING RoleArn" and sourceS3Path = flag "source-s3-path" (optional json_arg) ~doc:"JSON S3Path" and id = flag "id" (required string) ~doc:"STRING ThesaurusId" and indexId = flag "index-id" (required string) ~doc:"STRING IndexId" in fun () -> call ?endpoint_url ?profile:cli_profile ?region:cli_region Io.update_thesaurus (Values.UpdateThesaurusRequest.make ?name ?description ?roleArn ?sourceS3Path:(Option.map ~f:Values.S3Path.of_json sourceS3Path) ~id ~indexId ()) None None]) let main = Command.group ~summary:((Awso.Service.to_string Values.service) ^ " commands") [("associate-entities-to-experience", associate_entities_to_experience); ("associate-personas-to-entities", associate_personas_to_entities); ("batch-delete-document", batch_delete_document); ("batch-delete-featured-results-set", batch_delete_featured_results_set); ("batch-get-document-status", batch_get_document_status); ("batch-put-document", batch_put_document); ("clear-query-suggestions", clear_query_suggestions); ("create-access-control-configuration", create_access_control_configuration); ("create-data-source", create_data_source); ("create-experience", create_experience); ("create-faq", create_faq); ("create-featured-results-set", create_featured_results_set); ("create-index", create_index); ("create-query-suggestions-block-list", create_query_suggestions_block_list); ("create-thesaurus", create_thesaurus); ("delete-access-control-configuration", delete_access_control_configuration); ("delete-data-source", delete_data_source); ("delete-experience", delete_experience); ("delete-faq", delete_faq); ("delete-index", delete_index); ("delete-principal-mapping", delete_principal_mapping); ("delete-query-suggestions-block-list", delete_query_suggestions_block_list); ("delete-thesaurus", delete_thesaurus); ("describe-access-control-configuration", describe_access_control_configuration); ("describe-data-source", describe_data_source); ("describe-experience", describe_experience); ("describe-faq", describe_faq); ("describe-featured-results-set", describe_featured_results_set); ("describe-index", describe_index); ("describe-principal-mapping", describe_principal_mapping); ("describe-query-suggestions-block-list", describe_query_suggestions_block_list); ("describe-query-suggestions-config", describe_query_suggestions_config); ("describe-thesaurus", describe_thesaurus); ("disassociate-entities-from-experience", disassociate_entities_from_experience); ("disassociate-personas-from-entities", disassociate_personas_from_entities); ("get-query-suggestions", get_query_suggestions); ("get-snapshots", get_snapshots); ("list-access-control-configurations", list_access_control_configurations); ("list-data-source-sync-jobs", list_data_source_sync_jobs); ("list-data-sources", list_data_sources); ("list-entity-personas", list_entity_personas); ("list-experience-entities", list_experience_entities); ("list-experiences", list_experiences); ("list-faqs", list_faqs); ("list-featured-results-sets", list_featured_results_sets); ("list-groups-older-than-ordering-id", list_groups_older_than_ordering_id); ("list-indices", list_indices); ("list-query-suggestions-block-lists", list_query_suggestions_block_lists); ("list-tags-for-resource", list_tags_for_resource); ("list-thesauri", list_thesauri); ("put-principal-mapping", put_principal_mapping); ("query", query); ("retrieve", retrieve); ("start-data-source-sync-job", start_data_source_sync_job); ("stop-data-source-sync-job", stop_data_source_sync_job); ("submit-feedback", submit_feedback); ("tag-resource", tag_resource); ("untag-resource", untag_resource); ("update-access-control-configuration", update_access_control_configuration); ("update-data-source", update_data_source); ("update-experience", update_experience); ("update-featured-results-set", update_featured_results_set); ("update-index", update_index); ("update-query-suggestions-block-list", update_query_suggestions_block_list); ("update-query-suggestions-config", update_query_suggestions_config); ("update-thesaurus", update_thesaurus)]
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>