es.d.ts
87.5 KB
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
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
import {Request} from '../lib/request';
import {Response} from '../lib/response';
import {AWSError} from '../lib/error';
import {Service} from '../lib/service';
import {ServiceConfigurationOptions} from '../lib/service';
import {ConfigBase as Config} from '../lib/config-base';
interface Blob {}
declare class ES extends Service {
/**
* Constructs a service object. This object has one method for each API operation.
*/
constructor(options?: ES.Types.ClientConfiguration)
config: Config & ES.Types.ClientConfiguration;
/**
* Allows the destination domain owner to accept an inbound cross-cluster search connection request.
*/
acceptInboundCrossClusterSearchConnection(params: ES.Types.AcceptInboundCrossClusterSearchConnectionRequest, callback?: (err: AWSError, data: ES.Types.AcceptInboundCrossClusterSearchConnectionResponse) => void): Request<ES.Types.AcceptInboundCrossClusterSearchConnectionResponse, AWSError>;
/**
* Allows the destination domain owner to accept an inbound cross-cluster search connection request.
*/
acceptInboundCrossClusterSearchConnection(callback?: (err: AWSError, data: ES.Types.AcceptInboundCrossClusterSearchConnectionResponse) => void): Request<ES.Types.AcceptInboundCrossClusterSearchConnectionResponse, AWSError>;
/**
* Attaches tags to an existing Elasticsearch domain. Tags are a set of case-sensitive key value pairs. An Elasticsearch domain may have up to 10 tags. See Tagging Amazon Elasticsearch Service Domains for more information.
*/
addTags(params: ES.Types.AddTagsRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
/**
* Attaches tags to an existing Elasticsearch domain. Tags are a set of case-sensitive key value pairs. An Elasticsearch domain may have up to 10 tags. See Tagging Amazon Elasticsearch Service Domains for more information.
*/
addTags(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
/**
* Associates a package with an Amazon ES domain.
*/
associatePackage(params: ES.Types.AssociatePackageRequest, callback?: (err: AWSError, data: ES.Types.AssociatePackageResponse) => void): Request<ES.Types.AssociatePackageResponse, AWSError>;
/**
* Associates a package with an Amazon ES domain.
*/
associatePackage(callback?: (err: AWSError, data: ES.Types.AssociatePackageResponse) => void): Request<ES.Types.AssociatePackageResponse, AWSError>;
/**
* Cancels a scheduled service software update for an Amazon ES domain. You can only perform this operation before the AutomatedUpdateDate and when the UpdateStatus is in the PENDING_UPDATE state.
*/
cancelElasticsearchServiceSoftwareUpdate(params: ES.Types.CancelElasticsearchServiceSoftwareUpdateRequest, callback?: (err: AWSError, data: ES.Types.CancelElasticsearchServiceSoftwareUpdateResponse) => void): Request<ES.Types.CancelElasticsearchServiceSoftwareUpdateResponse, AWSError>;
/**
* Cancels a scheduled service software update for an Amazon ES domain. You can only perform this operation before the AutomatedUpdateDate and when the UpdateStatus is in the PENDING_UPDATE state.
*/
cancelElasticsearchServiceSoftwareUpdate(callback?: (err: AWSError, data: ES.Types.CancelElasticsearchServiceSoftwareUpdateResponse) => void): Request<ES.Types.CancelElasticsearchServiceSoftwareUpdateResponse, AWSError>;
/**
* Creates a new Elasticsearch domain. For more information, see Creating Elasticsearch Domains in the Amazon Elasticsearch Service Developer Guide.
*/
createElasticsearchDomain(params: ES.Types.CreateElasticsearchDomainRequest, callback?: (err: AWSError, data: ES.Types.CreateElasticsearchDomainResponse) => void): Request<ES.Types.CreateElasticsearchDomainResponse, AWSError>;
/**
* Creates a new Elasticsearch domain. For more information, see Creating Elasticsearch Domains in the Amazon Elasticsearch Service Developer Guide.
*/
createElasticsearchDomain(callback?: (err: AWSError, data: ES.Types.CreateElasticsearchDomainResponse) => void): Request<ES.Types.CreateElasticsearchDomainResponse, AWSError>;
/**
* Creates a new cross-cluster search connection from a source domain to a destination domain.
*/
createOutboundCrossClusterSearchConnection(params: ES.Types.CreateOutboundCrossClusterSearchConnectionRequest, callback?: (err: AWSError, data: ES.Types.CreateOutboundCrossClusterSearchConnectionResponse) => void): Request<ES.Types.CreateOutboundCrossClusterSearchConnectionResponse, AWSError>;
/**
* Creates a new cross-cluster search connection from a source domain to a destination domain.
*/
createOutboundCrossClusterSearchConnection(callback?: (err: AWSError, data: ES.Types.CreateOutboundCrossClusterSearchConnectionResponse) => void): Request<ES.Types.CreateOutboundCrossClusterSearchConnectionResponse, AWSError>;
/**
* Create a package for use with Amazon ES domains.
*/
createPackage(params: ES.Types.CreatePackageRequest, callback?: (err: AWSError, data: ES.Types.CreatePackageResponse) => void): Request<ES.Types.CreatePackageResponse, AWSError>;
/**
* Create a package for use with Amazon ES domains.
*/
createPackage(callback?: (err: AWSError, data: ES.Types.CreatePackageResponse) => void): Request<ES.Types.CreatePackageResponse, AWSError>;
/**
* Permanently deletes the specified Elasticsearch domain and all of its data. Once a domain is deleted, it cannot be recovered.
*/
deleteElasticsearchDomain(params: ES.Types.DeleteElasticsearchDomainRequest, callback?: (err: AWSError, data: ES.Types.DeleteElasticsearchDomainResponse) => void): Request<ES.Types.DeleteElasticsearchDomainResponse, AWSError>;
/**
* Permanently deletes the specified Elasticsearch domain and all of its data. Once a domain is deleted, it cannot be recovered.
*/
deleteElasticsearchDomain(callback?: (err: AWSError, data: ES.Types.DeleteElasticsearchDomainResponse) => void): Request<ES.Types.DeleteElasticsearchDomainResponse, AWSError>;
/**
* Deletes the service-linked role that Elasticsearch Service uses to manage and maintain VPC domains. Role deletion will fail if any existing VPC domains use the role. You must delete any such Elasticsearch domains before deleting the role. See Deleting Elasticsearch Service Role in VPC Endpoints for Amazon Elasticsearch Service Domains.
*/
deleteElasticsearchServiceRole(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
/**
* Allows the destination domain owner to delete an existing inbound cross-cluster search connection.
*/
deleteInboundCrossClusterSearchConnection(params: ES.Types.DeleteInboundCrossClusterSearchConnectionRequest, callback?: (err: AWSError, data: ES.Types.DeleteInboundCrossClusterSearchConnectionResponse) => void): Request<ES.Types.DeleteInboundCrossClusterSearchConnectionResponse, AWSError>;
/**
* Allows the destination domain owner to delete an existing inbound cross-cluster search connection.
*/
deleteInboundCrossClusterSearchConnection(callback?: (err: AWSError, data: ES.Types.DeleteInboundCrossClusterSearchConnectionResponse) => void): Request<ES.Types.DeleteInboundCrossClusterSearchConnectionResponse, AWSError>;
/**
* Allows the source domain owner to delete an existing outbound cross-cluster search connection.
*/
deleteOutboundCrossClusterSearchConnection(params: ES.Types.DeleteOutboundCrossClusterSearchConnectionRequest, callback?: (err: AWSError, data: ES.Types.DeleteOutboundCrossClusterSearchConnectionResponse) => void): Request<ES.Types.DeleteOutboundCrossClusterSearchConnectionResponse, AWSError>;
/**
* Allows the source domain owner to delete an existing outbound cross-cluster search connection.
*/
deleteOutboundCrossClusterSearchConnection(callback?: (err: AWSError, data: ES.Types.DeleteOutboundCrossClusterSearchConnectionResponse) => void): Request<ES.Types.DeleteOutboundCrossClusterSearchConnectionResponse, AWSError>;
/**
* Delete the package.
*/
deletePackage(params: ES.Types.DeletePackageRequest, callback?: (err: AWSError, data: ES.Types.DeletePackageResponse) => void): Request<ES.Types.DeletePackageResponse, AWSError>;
/**
* Delete the package.
*/
deletePackage(callback?: (err: AWSError, data: ES.Types.DeletePackageResponse) => void): Request<ES.Types.DeletePackageResponse, AWSError>;
/**
* Returns domain configuration information about the specified Elasticsearch domain, including the domain ID, domain endpoint, and domain ARN.
*/
describeElasticsearchDomain(params: ES.Types.DescribeElasticsearchDomainRequest, callback?: (err: AWSError, data: ES.Types.DescribeElasticsearchDomainResponse) => void): Request<ES.Types.DescribeElasticsearchDomainResponse, AWSError>;
/**
* Returns domain configuration information about the specified Elasticsearch domain, including the domain ID, domain endpoint, and domain ARN.
*/
describeElasticsearchDomain(callback?: (err: AWSError, data: ES.Types.DescribeElasticsearchDomainResponse) => void): Request<ES.Types.DescribeElasticsearchDomainResponse, AWSError>;
/**
* Provides cluster configuration information about the specified Elasticsearch domain, such as the state, creation date, update version, and update date for cluster options.
*/
describeElasticsearchDomainConfig(params: ES.Types.DescribeElasticsearchDomainConfigRequest, callback?: (err: AWSError, data: ES.Types.DescribeElasticsearchDomainConfigResponse) => void): Request<ES.Types.DescribeElasticsearchDomainConfigResponse, AWSError>;
/**
* Provides cluster configuration information about the specified Elasticsearch domain, such as the state, creation date, update version, and update date for cluster options.
*/
describeElasticsearchDomainConfig(callback?: (err: AWSError, data: ES.Types.DescribeElasticsearchDomainConfigResponse) => void): Request<ES.Types.DescribeElasticsearchDomainConfigResponse, AWSError>;
/**
* Returns domain configuration information about the specified Elasticsearch domains, including the domain ID, domain endpoint, and domain ARN.
*/
describeElasticsearchDomains(params: ES.Types.DescribeElasticsearchDomainsRequest, callback?: (err: AWSError, data: ES.Types.DescribeElasticsearchDomainsResponse) => void): Request<ES.Types.DescribeElasticsearchDomainsResponse, AWSError>;
/**
* Returns domain configuration information about the specified Elasticsearch domains, including the domain ID, domain endpoint, and domain ARN.
*/
describeElasticsearchDomains(callback?: (err: AWSError, data: ES.Types.DescribeElasticsearchDomainsResponse) => void): Request<ES.Types.DescribeElasticsearchDomainsResponse, AWSError>;
/**
* Describe Elasticsearch Limits for a given InstanceType and ElasticsearchVersion. When modifying existing Domain, specify the DomainName to know what Limits are supported for modifying.
*/
describeElasticsearchInstanceTypeLimits(params: ES.Types.DescribeElasticsearchInstanceTypeLimitsRequest, callback?: (err: AWSError, data: ES.Types.DescribeElasticsearchInstanceTypeLimitsResponse) => void): Request<ES.Types.DescribeElasticsearchInstanceTypeLimitsResponse, AWSError>;
/**
* Describe Elasticsearch Limits for a given InstanceType and ElasticsearchVersion. When modifying existing Domain, specify the DomainName to know what Limits are supported for modifying.
*/
describeElasticsearchInstanceTypeLimits(callback?: (err: AWSError, data: ES.Types.DescribeElasticsearchInstanceTypeLimitsResponse) => void): Request<ES.Types.DescribeElasticsearchInstanceTypeLimitsResponse, AWSError>;
/**
* Lists all the inbound cross-cluster search connections for a destination domain.
*/
describeInboundCrossClusterSearchConnections(params: ES.Types.DescribeInboundCrossClusterSearchConnectionsRequest, callback?: (err: AWSError, data: ES.Types.DescribeInboundCrossClusterSearchConnectionsResponse) => void): Request<ES.Types.DescribeInboundCrossClusterSearchConnectionsResponse, AWSError>;
/**
* Lists all the inbound cross-cluster search connections for a destination domain.
*/
describeInboundCrossClusterSearchConnections(callback?: (err: AWSError, data: ES.Types.DescribeInboundCrossClusterSearchConnectionsResponse) => void): Request<ES.Types.DescribeInboundCrossClusterSearchConnectionsResponse, AWSError>;
/**
* Lists all the outbound cross-cluster search connections for a source domain.
*/
describeOutboundCrossClusterSearchConnections(params: ES.Types.DescribeOutboundCrossClusterSearchConnectionsRequest, callback?: (err: AWSError, data: ES.Types.DescribeOutboundCrossClusterSearchConnectionsResponse) => void): Request<ES.Types.DescribeOutboundCrossClusterSearchConnectionsResponse, AWSError>;
/**
* Lists all the outbound cross-cluster search connections for a source domain.
*/
describeOutboundCrossClusterSearchConnections(callback?: (err: AWSError, data: ES.Types.DescribeOutboundCrossClusterSearchConnectionsResponse) => void): Request<ES.Types.DescribeOutboundCrossClusterSearchConnectionsResponse, AWSError>;
/**
* Describes all packages available to Amazon ES. Includes options for filtering, limiting the number of results, and pagination.
*/
describePackages(params: ES.Types.DescribePackagesRequest, callback?: (err: AWSError, data: ES.Types.DescribePackagesResponse) => void): Request<ES.Types.DescribePackagesResponse, AWSError>;
/**
* Describes all packages available to Amazon ES. Includes options for filtering, limiting the number of results, and pagination.
*/
describePackages(callback?: (err: AWSError, data: ES.Types.DescribePackagesResponse) => void): Request<ES.Types.DescribePackagesResponse, AWSError>;
/**
* Lists available reserved Elasticsearch instance offerings.
*/
describeReservedElasticsearchInstanceOfferings(params: ES.Types.DescribeReservedElasticsearchInstanceOfferingsRequest, callback?: (err: AWSError, data: ES.Types.DescribeReservedElasticsearchInstanceOfferingsResponse) => void): Request<ES.Types.DescribeReservedElasticsearchInstanceOfferingsResponse, AWSError>;
/**
* Lists available reserved Elasticsearch instance offerings.
*/
describeReservedElasticsearchInstanceOfferings(callback?: (err: AWSError, data: ES.Types.DescribeReservedElasticsearchInstanceOfferingsResponse) => void): Request<ES.Types.DescribeReservedElasticsearchInstanceOfferingsResponse, AWSError>;
/**
* Returns information about reserved Elasticsearch instances for this account.
*/
describeReservedElasticsearchInstances(params: ES.Types.DescribeReservedElasticsearchInstancesRequest, callback?: (err: AWSError, data: ES.Types.DescribeReservedElasticsearchInstancesResponse) => void): Request<ES.Types.DescribeReservedElasticsearchInstancesResponse, AWSError>;
/**
* Returns information about reserved Elasticsearch instances for this account.
*/
describeReservedElasticsearchInstances(callback?: (err: AWSError, data: ES.Types.DescribeReservedElasticsearchInstancesResponse) => void): Request<ES.Types.DescribeReservedElasticsearchInstancesResponse, AWSError>;
/**
* Dissociates a package from the Amazon ES domain.
*/
dissociatePackage(params: ES.Types.DissociatePackageRequest, callback?: (err: AWSError, data: ES.Types.DissociatePackageResponse) => void): Request<ES.Types.DissociatePackageResponse, AWSError>;
/**
* Dissociates a package from the Amazon ES domain.
*/
dissociatePackage(callback?: (err: AWSError, data: ES.Types.DissociatePackageResponse) => void): Request<ES.Types.DissociatePackageResponse, AWSError>;
/**
* Returns a list of upgrade compatible Elastisearch versions. You can optionally pass a DomainName to get all upgrade compatible Elasticsearch versions for that specific domain.
*/
getCompatibleElasticsearchVersions(params: ES.Types.GetCompatibleElasticsearchVersionsRequest, callback?: (err: AWSError, data: ES.Types.GetCompatibleElasticsearchVersionsResponse) => void): Request<ES.Types.GetCompatibleElasticsearchVersionsResponse, AWSError>;
/**
* Returns a list of upgrade compatible Elastisearch versions. You can optionally pass a DomainName to get all upgrade compatible Elasticsearch versions for that specific domain.
*/
getCompatibleElasticsearchVersions(callback?: (err: AWSError, data: ES.Types.GetCompatibleElasticsearchVersionsResponse) => void): Request<ES.Types.GetCompatibleElasticsearchVersionsResponse, AWSError>;
/**
* Retrieves the complete history of the last 10 upgrades that were performed on the domain.
*/
getUpgradeHistory(params: ES.Types.GetUpgradeHistoryRequest, callback?: (err: AWSError, data: ES.Types.GetUpgradeHistoryResponse) => void): Request<ES.Types.GetUpgradeHistoryResponse, AWSError>;
/**
* Retrieves the complete history of the last 10 upgrades that were performed on the domain.
*/
getUpgradeHistory(callback?: (err: AWSError, data: ES.Types.GetUpgradeHistoryResponse) => void): Request<ES.Types.GetUpgradeHistoryResponse, AWSError>;
/**
* Retrieves the latest status of the last upgrade or upgrade eligibility check that was performed on the domain.
*/
getUpgradeStatus(params: ES.Types.GetUpgradeStatusRequest, callback?: (err: AWSError, data: ES.Types.GetUpgradeStatusResponse) => void): Request<ES.Types.GetUpgradeStatusResponse, AWSError>;
/**
* Retrieves the latest status of the last upgrade or upgrade eligibility check that was performed on the domain.
*/
getUpgradeStatus(callback?: (err: AWSError, data: ES.Types.GetUpgradeStatusResponse) => void): Request<ES.Types.GetUpgradeStatusResponse, AWSError>;
/**
* Returns the name of all Elasticsearch domains owned by the current user's account.
*/
listDomainNames(callback?: (err: AWSError, data: ES.Types.ListDomainNamesResponse) => void): Request<ES.Types.ListDomainNamesResponse, AWSError>;
/**
* Lists all Amazon ES domains associated with the package.
*/
listDomainsForPackage(params: ES.Types.ListDomainsForPackageRequest, callback?: (err: AWSError, data: ES.Types.ListDomainsForPackageResponse) => void): Request<ES.Types.ListDomainsForPackageResponse, AWSError>;
/**
* Lists all Amazon ES domains associated with the package.
*/
listDomainsForPackage(callback?: (err: AWSError, data: ES.Types.ListDomainsForPackageResponse) => void): Request<ES.Types.ListDomainsForPackageResponse, AWSError>;
/**
* List all Elasticsearch instance types that are supported for given ElasticsearchVersion
*/
listElasticsearchInstanceTypes(params: ES.Types.ListElasticsearchInstanceTypesRequest, callback?: (err: AWSError, data: ES.Types.ListElasticsearchInstanceTypesResponse) => void): Request<ES.Types.ListElasticsearchInstanceTypesResponse, AWSError>;
/**
* List all Elasticsearch instance types that are supported for given ElasticsearchVersion
*/
listElasticsearchInstanceTypes(callback?: (err: AWSError, data: ES.Types.ListElasticsearchInstanceTypesResponse) => void): Request<ES.Types.ListElasticsearchInstanceTypesResponse, AWSError>;
/**
* List all supported Elasticsearch versions
*/
listElasticsearchVersions(params: ES.Types.ListElasticsearchVersionsRequest, callback?: (err: AWSError, data: ES.Types.ListElasticsearchVersionsResponse) => void): Request<ES.Types.ListElasticsearchVersionsResponse, AWSError>;
/**
* List all supported Elasticsearch versions
*/
listElasticsearchVersions(callback?: (err: AWSError, data: ES.Types.ListElasticsearchVersionsResponse) => void): Request<ES.Types.ListElasticsearchVersionsResponse, AWSError>;
/**
* Lists all packages associated with the Amazon ES domain.
*/
listPackagesForDomain(params: ES.Types.ListPackagesForDomainRequest, callback?: (err: AWSError, data: ES.Types.ListPackagesForDomainResponse) => void): Request<ES.Types.ListPackagesForDomainResponse, AWSError>;
/**
* Lists all packages associated with the Amazon ES domain.
*/
listPackagesForDomain(callback?: (err: AWSError, data: ES.Types.ListPackagesForDomainResponse) => void): Request<ES.Types.ListPackagesForDomainResponse, AWSError>;
/**
* Returns all tags for the given Elasticsearch domain.
*/
listTags(params: ES.Types.ListTagsRequest, callback?: (err: AWSError, data: ES.Types.ListTagsResponse) => void): Request<ES.Types.ListTagsResponse, AWSError>;
/**
* Returns all tags for the given Elasticsearch domain.
*/
listTags(callback?: (err: AWSError, data: ES.Types.ListTagsResponse) => void): Request<ES.Types.ListTagsResponse, AWSError>;
/**
* Allows you to purchase reserved Elasticsearch instances.
*/
purchaseReservedElasticsearchInstanceOffering(params: ES.Types.PurchaseReservedElasticsearchInstanceOfferingRequest, callback?: (err: AWSError, data: ES.Types.PurchaseReservedElasticsearchInstanceOfferingResponse) => void): Request<ES.Types.PurchaseReservedElasticsearchInstanceOfferingResponse, AWSError>;
/**
* Allows you to purchase reserved Elasticsearch instances.
*/
purchaseReservedElasticsearchInstanceOffering(callback?: (err: AWSError, data: ES.Types.PurchaseReservedElasticsearchInstanceOfferingResponse) => void): Request<ES.Types.PurchaseReservedElasticsearchInstanceOfferingResponse, AWSError>;
/**
* Allows the destination domain owner to reject an inbound cross-cluster search connection request.
*/
rejectInboundCrossClusterSearchConnection(params: ES.Types.RejectInboundCrossClusterSearchConnectionRequest, callback?: (err: AWSError, data: ES.Types.RejectInboundCrossClusterSearchConnectionResponse) => void): Request<ES.Types.RejectInboundCrossClusterSearchConnectionResponse, AWSError>;
/**
* Allows the destination domain owner to reject an inbound cross-cluster search connection request.
*/
rejectInboundCrossClusterSearchConnection(callback?: (err: AWSError, data: ES.Types.RejectInboundCrossClusterSearchConnectionResponse) => void): Request<ES.Types.RejectInboundCrossClusterSearchConnectionResponse, AWSError>;
/**
* Removes the specified set of tags from the specified Elasticsearch domain.
*/
removeTags(params: ES.Types.RemoveTagsRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
/**
* Removes the specified set of tags from the specified Elasticsearch domain.
*/
removeTags(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
/**
* Schedules a service software update for an Amazon ES domain.
*/
startElasticsearchServiceSoftwareUpdate(params: ES.Types.StartElasticsearchServiceSoftwareUpdateRequest, callback?: (err: AWSError, data: ES.Types.StartElasticsearchServiceSoftwareUpdateResponse) => void): Request<ES.Types.StartElasticsearchServiceSoftwareUpdateResponse, AWSError>;
/**
* Schedules a service software update for an Amazon ES domain.
*/
startElasticsearchServiceSoftwareUpdate(callback?: (err: AWSError, data: ES.Types.StartElasticsearchServiceSoftwareUpdateResponse) => void): Request<ES.Types.StartElasticsearchServiceSoftwareUpdateResponse, AWSError>;
/**
* Modifies the cluster configuration of the specified Elasticsearch domain, setting as setting the instance type and the number of instances.
*/
updateElasticsearchDomainConfig(params: ES.Types.UpdateElasticsearchDomainConfigRequest, callback?: (err: AWSError, data: ES.Types.UpdateElasticsearchDomainConfigResponse) => void): Request<ES.Types.UpdateElasticsearchDomainConfigResponse, AWSError>;
/**
* Modifies the cluster configuration of the specified Elasticsearch domain, setting as setting the instance type and the number of instances.
*/
updateElasticsearchDomainConfig(callback?: (err: AWSError, data: ES.Types.UpdateElasticsearchDomainConfigResponse) => void): Request<ES.Types.UpdateElasticsearchDomainConfigResponse, AWSError>;
/**
* Allows you to either upgrade your domain or perform an Upgrade eligibility check to a compatible Elasticsearch version.
*/
upgradeElasticsearchDomain(params: ES.Types.UpgradeElasticsearchDomainRequest, callback?: (err: AWSError, data: ES.Types.UpgradeElasticsearchDomainResponse) => void): Request<ES.Types.UpgradeElasticsearchDomainResponse, AWSError>;
/**
* Allows you to either upgrade your domain or perform an Upgrade eligibility check to a compatible Elasticsearch version.
*/
upgradeElasticsearchDomain(callback?: (err: AWSError, data: ES.Types.UpgradeElasticsearchDomainResponse) => void): Request<ES.Types.UpgradeElasticsearchDomainResponse, AWSError>;
}
declare namespace ES {
export type ARN = string;
export interface AcceptInboundCrossClusterSearchConnectionRequest {
/**
* The id of the inbound connection that you want to accept.
*/
CrossClusterSearchConnectionId: CrossClusterSearchConnectionId;
}
export interface AcceptInboundCrossClusterSearchConnectionResponse {
/**
* Specifies the InboundCrossClusterSearchConnection of accepted inbound connection.
*/
CrossClusterSearchConnection?: InboundCrossClusterSearchConnection;
}
export interface AccessPoliciesStatus {
/**
* The access policy configured for the Elasticsearch domain. Access policies may be resource-based, IP-based, or IAM-based. See Configuring Access Policiesfor more information.
*/
Options: PolicyDocument;
/**
* The status of the access policy for the Elasticsearch domain. See OptionStatus for the status information that's included.
*/
Status: OptionStatus;
}
export interface AddTagsRequest {
/**
* Specify the ARN for which you want to add the tags.
*/
ARN: ARN;
/**
* List of Tag that need to be added for the Elasticsearch domain.
*/
TagList: TagList;
}
export interface AdditionalLimit {
/**
* Name of Additional Limit is specific to a given InstanceType and for each of it's InstanceRole etc. Attributes and their details: MaximumNumberOfDataNodesSupported This attribute will be present in Master node only to specify how much data nodes upto which given ESPartitionInstanceType can support as master node. MaximumNumberOfDataNodesWithoutMasterNode This attribute will be present in Data node only to specify how much data nodes of given ESPartitionInstanceType upto which you don't need any master nodes to govern them.
*/
LimitName?: LimitName;
/**
* Value for given AdditionalLimit$LimitName .
*/
LimitValues?: LimitValueList;
}
export type AdditionalLimitList = AdditionalLimit[];
export type AdvancedOptions = {[key: string]: String};
export interface AdvancedOptionsStatus {
/**
* Specifies the status of advanced options for the specified Elasticsearch domain.
*/
Options: AdvancedOptions;
/**
* Specifies the status of OptionStatus for advanced options for the specified Elasticsearch domain.
*/
Status: OptionStatus;
}
export interface AdvancedSecurityOptions {
/**
* True if advanced security is enabled.
*/
Enabled?: Boolean;
/**
* True if the internal user database is enabled.
*/
InternalUserDatabaseEnabled?: Boolean;
}
export interface AdvancedSecurityOptionsInput {
/**
* True if advanced security is enabled.
*/
Enabled?: Boolean;
/**
* True if the internal user database is enabled.
*/
InternalUserDatabaseEnabled?: Boolean;
/**
* Credentials for the master user: username and password, ARN, or both.
*/
MasterUserOptions?: MasterUserOptions;
}
export interface AdvancedSecurityOptionsStatus {
/**
* Specifies advanced security options for the specified Elasticsearch domain.
*/
Options: AdvancedSecurityOptions;
/**
* Status of the advanced security options for the specified Elasticsearch domain.
*/
Status: OptionStatus;
}
export interface AssociatePackageRequest {
/**
* Internal ID of the package that you want to associate with a domain. Use DescribePackages to find this value.
*/
PackageID: PackageID;
/**
* Name of the domain that you want to associate the package with.
*/
DomainName: DomainName;
}
export interface AssociatePackageResponse {
/**
* DomainPackageDetails
*/
DomainPackageDetails?: DomainPackageDetails;
}
export type Boolean = boolean;
export interface CancelElasticsearchServiceSoftwareUpdateRequest {
/**
* The name of the domain that you want to stop the latest service software update on.
*/
DomainName: DomainName;
}
export interface CancelElasticsearchServiceSoftwareUpdateResponse {
/**
* The current status of the Elasticsearch service software update.
*/
ServiceSoftwareOptions?: ServiceSoftwareOptions;
}
export type CloudWatchLogsLogGroupArn = string;
export interface CognitoOptions {
/**
* Specifies the option to enable Cognito for Kibana authentication.
*/
Enabled?: Boolean;
/**
* Specifies the Cognito user pool ID for Kibana authentication.
*/
UserPoolId?: UserPoolId;
/**
* Specifies the Cognito identity pool ID for Kibana authentication.
*/
IdentityPoolId?: IdentityPoolId;
/**
* Specifies the role ARN that provides Elasticsearch permissions for accessing Cognito resources.
*/
RoleArn?: RoleArn;
}
export interface CognitoOptionsStatus {
/**
* Specifies the Cognito options for the specified Elasticsearch domain.
*/
Options: CognitoOptions;
/**
* Specifies the status of the Cognito options for the specified Elasticsearch domain.
*/
Status: OptionStatus;
}
export type CompatibleElasticsearchVersionsList = CompatibleVersionsMap[];
export interface CompatibleVersionsMap {
/**
* The current version of Elasticsearch on which a domain is.
*/
SourceVersion?: ElasticsearchVersionString;
TargetVersions?: ElasticsearchVersionList;
}
export type ConnectionAlias = string;
export interface CreateElasticsearchDomainRequest {
/**
* The name of the Elasticsearch domain that you are creating. Domain names are unique across the domains owned by an account within an AWS region. Domain names must start with a lowercase letter and can contain the following characters: a-z (lowercase), 0-9, and - (hyphen).
*/
DomainName: DomainName;
/**
* String of format X.Y to specify version for the Elasticsearch domain eg. "1.5" or "2.3". For more information, see Creating Elasticsearch Domains in the Amazon Elasticsearch Service Developer Guide.
*/
ElasticsearchVersion?: ElasticsearchVersionString;
/**
* Configuration options for an Elasticsearch domain. Specifies the instance type and number of instances in the domain cluster.
*/
ElasticsearchClusterConfig?: ElasticsearchClusterConfig;
/**
* Options to enable, disable and specify the type and size of EBS storage volumes.
*/
EBSOptions?: EBSOptions;
/**
* IAM access policy as a JSON-formatted string.
*/
AccessPolicies?: PolicyDocument;
/**
* Option to set time, in UTC format, of the daily automated snapshot. Default value is 0 hours.
*/
SnapshotOptions?: SnapshotOptions;
/**
* Options to specify the subnets and security groups for VPC endpoint. For more information, see Creating a VPC in VPC Endpoints for Amazon Elasticsearch Service Domains
*/
VPCOptions?: VPCOptions;
/**
* Options to specify the Cognito user and identity pools for Kibana authentication. For more information, see Amazon Cognito Authentication for Kibana.
*/
CognitoOptions?: CognitoOptions;
/**
* Specifies the Encryption At Rest Options.
*/
EncryptionAtRestOptions?: EncryptionAtRestOptions;
/**
* Specifies the NodeToNodeEncryptionOptions.
*/
NodeToNodeEncryptionOptions?: NodeToNodeEncryptionOptions;
/**
* Option to allow references to indices in an HTTP request body. Must be false when configuring access to individual sub-resources. By default, the value is true. See Configuration Advanced Options for more information.
*/
AdvancedOptions?: AdvancedOptions;
/**
* Map of LogType and LogPublishingOption, each containing options to publish a given type of Elasticsearch log.
*/
LogPublishingOptions?: LogPublishingOptions;
/**
* Options to specify configuration that will be applied to the domain endpoint.
*/
DomainEndpointOptions?: DomainEndpointOptions;
/**
* Specifies advanced security options.
*/
AdvancedSecurityOptions?: AdvancedSecurityOptionsInput;
}
export interface CreateElasticsearchDomainResponse {
/**
* The status of the newly created Elasticsearch domain.
*/
DomainStatus?: ElasticsearchDomainStatus;
}
export interface CreateOutboundCrossClusterSearchConnectionRequest {
/**
* Specifies the DomainInformation for the source Elasticsearch domain.
*/
SourceDomainInfo: DomainInformation;
/**
* Specifies the DomainInformation for the destination Elasticsearch domain.
*/
DestinationDomainInfo: DomainInformation;
/**
* Specifies the connection alias that will be used by the customer for this connection.
*/
ConnectionAlias: ConnectionAlias;
}
export interface CreateOutboundCrossClusterSearchConnectionResponse {
/**
* Specifies the DomainInformation for the source Elasticsearch domain.
*/
SourceDomainInfo?: DomainInformation;
/**
* Specifies the DomainInformation for the destination Elasticsearch domain.
*/
DestinationDomainInfo?: DomainInformation;
/**
* Specifies the connection alias provided during the create connection request.
*/
ConnectionAlias?: ConnectionAlias;
/**
* Specifies the OutboundCrossClusterSearchConnectionStatus for the newly created connection.
*/
ConnectionStatus?: OutboundCrossClusterSearchConnectionStatus;
/**
* Unique id for the created outbound connection, which is used for subsequent operations on connection.
*/
CrossClusterSearchConnectionId?: CrossClusterSearchConnectionId;
}
export interface CreatePackageRequest {
/**
* Unique identifier for the package.
*/
PackageName: PackageName;
/**
* Type of package. Currently supports only TXT-DICTIONARY.
*/
PackageType: PackageType;
/**
* Description of the package.
*/
PackageDescription?: PackageDescription;
/**
* The customer S3 location PackageSource for importing the package.
*/
PackageSource: PackageSource;
}
export interface CreatePackageResponse {
/**
* Information about the package PackageDetails.
*/
PackageDetails?: PackageDetails;
}
export type CreatedAt = Date;
export type CrossClusterSearchConnectionId = string;
export type CrossClusterSearchConnectionStatusMessage = string;
export interface DeleteElasticsearchDomainRequest {
/**
* The name of the Elasticsearch domain that you want to permanently delete.
*/
DomainName: DomainName;
}
export interface DeleteElasticsearchDomainResponse {
/**
* The status of the Elasticsearch domain being deleted.
*/
DomainStatus?: ElasticsearchDomainStatus;
}
export interface DeleteInboundCrossClusterSearchConnectionRequest {
/**
* The id of the inbound connection that you want to permanently delete.
*/
CrossClusterSearchConnectionId: CrossClusterSearchConnectionId;
}
export interface DeleteInboundCrossClusterSearchConnectionResponse {
/**
* Specifies the InboundCrossClusterSearchConnection of deleted inbound connection.
*/
CrossClusterSearchConnection?: InboundCrossClusterSearchConnection;
}
export interface DeleteOutboundCrossClusterSearchConnectionRequest {
/**
* The id of the outbound connection that you want to permanently delete.
*/
CrossClusterSearchConnectionId: CrossClusterSearchConnectionId;
}
export interface DeleteOutboundCrossClusterSearchConnectionResponse {
/**
* Specifies the OutboundCrossClusterSearchConnection of deleted outbound connection.
*/
CrossClusterSearchConnection?: OutboundCrossClusterSearchConnection;
}
export interface DeletePackageRequest {
/**
* Internal ID of the package that you want to delete. Use DescribePackages to find this value.
*/
PackageID: PackageID;
}
export interface DeletePackageResponse {
/**
* PackageDetails
*/
PackageDetails?: PackageDetails;
}
export type DeploymentCloseDateTimeStamp = Date;
export type DeploymentStatus = "PENDING_UPDATE"|"IN_PROGRESS"|"COMPLETED"|"NOT_ELIGIBLE"|"ELIGIBLE"|string;
export interface DescribeElasticsearchDomainConfigRequest {
/**
* The Elasticsearch domain that you want to get information about.
*/
DomainName: DomainName;
}
export interface DescribeElasticsearchDomainConfigResponse {
/**
* The configuration information of the domain requested in the DescribeElasticsearchDomainConfig request.
*/
DomainConfig: ElasticsearchDomainConfig;
}
export interface DescribeElasticsearchDomainRequest {
/**
* The name of the Elasticsearch domain for which you want information.
*/
DomainName: DomainName;
}
export interface DescribeElasticsearchDomainResponse {
/**
* The current status of the Elasticsearch domain.
*/
DomainStatus: ElasticsearchDomainStatus;
}
export interface DescribeElasticsearchDomainsRequest {
/**
* The Elasticsearch domains for which you want information.
*/
DomainNames: DomainNameList;
}
export interface DescribeElasticsearchDomainsResponse {
/**
* The status of the domains requested in the DescribeElasticsearchDomains request.
*/
DomainStatusList: ElasticsearchDomainStatusList;
}
export interface DescribeElasticsearchInstanceTypeLimitsRequest {
/**
* DomainName represents the name of the Domain that we are trying to modify. This should be present only if we are querying for Elasticsearch Limits for existing domain.
*/
DomainName?: DomainName;
/**
* The instance type for an Elasticsearch cluster for which Elasticsearch Limits are needed.
*/
InstanceType: ESPartitionInstanceType;
/**
* Version of Elasticsearch for which Limits are needed.
*/
ElasticsearchVersion: ElasticsearchVersionString;
}
export interface DescribeElasticsearchInstanceTypeLimitsResponse {
LimitsByRole?: LimitsByRole;
}
export interface DescribeInboundCrossClusterSearchConnectionsRequest {
/**
* A list of filters used to match properties for inbound cross-cluster search connection. Available Filter names for this operation are: cross-cluster-search-connection-id source-domain-info.domain-name source-domain-info.owner-id source-domain-info.region destination-domain-info.domain-name
*/
Filters?: FilterList;
/**
* Set this value to limit the number of results returned. If not specified, defaults to 100.
*/
MaxResults?: MaxResults;
/**
* NextToken is sent in case the earlier API call results contain the NextToken. It is used for pagination.
*/
NextToken?: NextToken;
}
export interface DescribeInboundCrossClusterSearchConnectionsResponse {
/**
* Consists of list of InboundCrossClusterSearchConnection matching the specified filter criteria.
*/
CrossClusterSearchConnections?: InboundCrossClusterSearchConnections;
/**
* If more results are available and NextToken is present, make the next request to the same API with the received NextToken to paginate the remaining results.
*/
NextToken?: NextToken;
}
export interface DescribeOutboundCrossClusterSearchConnectionsRequest {
/**
* A list of filters used to match properties for outbound cross-cluster search connection. Available Filter names for this operation are: cross-cluster-search-connection-id destination-domain-info.domain-name destination-domain-info.owner-id destination-domain-info.region source-domain-info.domain-name
*/
Filters?: FilterList;
/**
* Set this value to limit the number of results returned. If not specified, defaults to 100.
*/
MaxResults?: MaxResults;
/**
* NextToken is sent in case the earlier API call results contain the NextToken. It is used for pagination.
*/
NextToken?: NextToken;
}
export interface DescribeOutboundCrossClusterSearchConnectionsResponse {
/**
* Consists of list of OutboundCrossClusterSearchConnection matching the specified filter criteria.
*/
CrossClusterSearchConnections?: OutboundCrossClusterSearchConnections;
/**
* If more results are available and NextToken is present, make the next request to the same API with the received NextToken to paginate the remaining results.
*/
NextToken?: NextToken;
}
export interface DescribePackagesFilter {
/**
* Any field from PackageDetails.
*/
Name?: DescribePackagesFilterName;
/**
* A list of values for the specified field.
*/
Value?: DescribePackagesFilterValues;
}
export type DescribePackagesFilterList = DescribePackagesFilter[];
export type DescribePackagesFilterName = "PackageID"|"PackageName"|"PackageStatus"|string;
export type DescribePackagesFilterValue = string;
export type DescribePackagesFilterValues = DescribePackagesFilterValue[];
export interface DescribePackagesRequest {
/**
* Only returns packages that match the DescribePackagesFilterList values.
*/
Filters?: DescribePackagesFilterList;
/**
* Limits results to a maximum number of packages.
*/
MaxResults?: MaxResults;
/**
* Used for pagination. Only necessary if a previous API call includes a non-null NextToken value. If provided, returns results for the next page.
*/
NextToken?: NextToken;
}
export interface DescribePackagesResponse {
/**
* List of PackageDetails objects.
*/
PackageDetailsList?: PackageDetailsList;
NextToken?: String;
}
export interface DescribeReservedElasticsearchInstanceOfferingsRequest {
/**
* The offering identifier filter value. Use this parameter to show only the available offering that matches the specified reservation identifier.
*/
ReservedElasticsearchInstanceOfferingId?: GUID;
/**
* Set this value to limit the number of results returned. If not specified, defaults to 100.
*/
MaxResults?: MaxResults;
/**
* NextToken should be sent in case if earlier API call produced result containing NextToken. It is used for pagination.
*/
NextToken?: NextToken;
}
export interface DescribeReservedElasticsearchInstanceOfferingsResponse {
/**
* Provides an identifier to allow retrieval of paginated results.
*/
NextToken?: NextToken;
/**
* List of reserved Elasticsearch instance offerings
*/
ReservedElasticsearchInstanceOfferings?: ReservedElasticsearchInstanceOfferingList;
}
export interface DescribeReservedElasticsearchInstancesRequest {
/**
* The reserved instance identifier filter value. Use this parameter to show only the reservation that matches the specified reserved Elasticsearch instance ID.
*/
ReservedElasticsearchInstanceId?: GUID;
/**
* Set this value to limit the number of results returned. If not specified, defaults to 100.
*/
MaxResults?: MaxResults;
/**
* NextToken should be sent in case if earlier API call produced result containing NextToken. It is used for pagination.
*/
NextToken?: NextToken;
}
export interface DescribeReservedElasticsearchInstancesResponse {
/**
* Provides an identifier to allow retrieval of paginated results.
*/
NextToken?: String;
/**
* List of reserved Elasticsearch instances.
*/
ReservedElasticsearchInstances?: ReservedElasticsearchInstanceList;
}
export interface DissociatePackageRequest {
/**
* Internal ID of the package that you want to associate with a domain. Use DescribePackages to find this value.
*/
PackageID: PackageID;
/**
* Name of the domain that you want to associate the package with.
*/
DomainName: DomainName;
}
export interface DissociatePackageResponse {
/**
* DomainPackageDetails
*/
DomainPackageDetails?: DomainPackageDetails;
}
export interface DomainEndpointOptions {
/**
* Specify if only HTTPS endpoint should be enabled for the Elasticsearch domain.
*/
EnforceHTTPS?: Boolean;
/**
* Specify the TLS security policy that needs to be applied to the HTTPS endpoint of Elasticsearch domain. It can be one of the following values: Policy-Min-TLS-1-0-2019-07: TLS security policy which supports TLSv1.0 and higher. Policy-Min-TLS-1-2-2019-07: TLS security policy which supports only TLSv1.2
*/
TLSSecurityPolicy?: TLSSecurityPolicy;
}
export interface DomainEndpointOptionsStatus {
/**
* Options to configure endpoint for the Elasticsearch domain.
*/
Options: DomainEndpointOptions;
/**
* The status of the endpoint options for the Elasticsearch domain. See OptionStatus for the status information that's included.
*/
Status: OptionStatus;
}
export type DomainId = string;
export interface DomainInfo {
/**
* Specifies the DomainName.
*/
DomainName?: DomainName;
}
export type DomainInfoList = DomainInfo[];
export interface DomainInformation {
OwnerId?: OwnerId;
DomainName: DomainName;
Region?: Region;
}
export type DomainName = string;
export type DomainNameList = DomainName[];
export interface DomainPackageDetails {
/**
* Internal ID of the package.
*/
PackageID?: PackageID;
/**
* User specified name of the package.
*/
PackageName?: PackageName;
/**
* Currently supports only TXT-DICTIONARY.
*/
PackageType?: PackageType;
/**
* Timestamp of the most-recent update to the association status.
*/
LastUpdated?: LastUpdated;
/**
* Name of the domain you've associated a package with.
*/
DomainName?: DomainName;
/**
* State of the association. Values are ASSOCIATING/ASSOCIATION_FAILED/ACTIVE/DISSOCIATING/DISSOCIATION_FAILED.
*/
DomainPackageStatus?: DomainPackageStatus;
/**
* The relative path on Amazon ES nodes, which can be used as synonym_path when the package is synonym file.
*/
ReferencePath?: ReferencePath;
/**
* Additional information if the package is in an error state. Null otherwise.
*/
ErrorDetails?: ErrorDetails;
}
export type DomainPackageDetailsList = DomainPackageDetails[];
export type DomainPackageStatus = "ASSOCIATING"|"ASSOCIATION_FAILED"|"ACTIVE"|"DISSOCIATING"|"DISSOCIATION_FAILED"|string;
export type Double = number;
export interface EBSOptions {
/**
* Specifies whether EBS-based storage is enabled.
*/
EBSEnabled?: Boolean;
/**
* Specifies the volume type for EBS-based storage.
*/
VolumeType?: VolumeType;
/**
* Integer to specify the size of an EBS volume.
*/
VolumeSize?: IntegerClass;
/**
* Specifies the IOPD for a Provisioned IOPS EBS volume (SSD).
*/
Iops?: IntegerClass;
}
export interface EBSOptionsStatus {
/**
* Specifies the EBS options for the specified Elasticsearch domain.
*/
Options: EBSOptions;
/**
* Specifies the status of the EBS options for the specified Elasticsearch domain.
*/
Status: OptionStatus;
}
export type ESPartitionInstanceType = "m3.medium.elasticsearch"|"m3.large.elasticsearch"|"m3.xlarge.elasticsearch"|"m3.2xlarge.elasticsearch"|"m4.large.elasticsearch"|"m4.xlarge.elasticsearch"|"m4.2xlarge.elasticsearch"|"m4.4xlarge.elasticsearch"|"m4.10xlarge.elasticsearch"|"m5.large.elasticsearch"|"m5.xlarge.elasticsearch"|"m5.2xlarge.elasticsearch"|"m5.4xlarge.elasticsearch"|"m5.12xlarge.elasticsearch"|"r5.large.elasticsearch"|"r5.xlarge.elasticsearch"|"r5.2xlarge.elasticsearch"|"r5.4xlarge.elasticsearch"|"r5.12xlarge.elasticsearch"|"c5.large.elasticsearch"|"c5.xlarge.elasticsearch"|"c5.2xlarge.elasticsearch"|"c5.4xlarge.elasticsearch"|"c5.9xlarge.elasticsearch"|"c5.18xlarge.elasticsearch"|"ultrawarm1.medium.elasticsearch"|"ultrawarm1.large.elasticsearch"|"t2.micro.elasticsearch"|"t2.small.elasticsearch"|"t2.medium.elasticsearch"|"r3.large.elasticsearch"|"r3.xlarge.elasticsearch"|"r3.2xlarge.elasticsearch"|"r3.4xlarge.elasticsearch"|"r3.8xlarge.elasticsearch"|"i2.xlarge.elasticsearch"|"i2.2xlarge.elasticsearch"|"d2.xlarge.elasticsearch"|"d2.2xlarge.elasticsearch"|"d2.4xlarge.elasticsearch"|"d2.8xlarge.elasticsearch"|"c4.large.elasticsearch"|"c4.xlarge.elasticsearch"|"c4.2xlarge.elasticsearch"|"c4.4xlarge.elasticsearch"|"c4.8xlarge.elasticsearch"|"r4.large.elasticsearch"|"r4.xlarge.elasticsearch"|"r4.2xlarge.elasticsearch"|"r4.4xlarge.elasticsearch"|"r4.8xlarge.elasticsearch"|"r4.16xlarge.elasticsearch"|"i3.large.elasticsearch"|"i3.xlarge.elasticsearch"|"i3.2xlarge.elasticsearch"|"i3.4xlarge.elasticsearch"|"i3.8xlarge.elasticsearch"|"i3.16xlarge.elasticsearch"|string;
export type ESWarmPartitionInstanceType = "ultrawarm1.medium.elasticsearch"|"ultrawarm1.large.elasticsearch"|string;
export interface ElasticsearchClusterConfig {
/**
* The instance type for an Elasticsearch cluster. UltraWarm instance types are not supported for data instances.
*/
InstanceType?: ESPartitionInstanceType;
/**
* The number of instances in the specified domain cluster.
*/
InstanceCount?: IntegerClass;
/**
* A boolean value to indicate whether a dedicated master node is enabled. See About Dedicated Master Nodes for more information.
*/
DedicatedMasterEnabled?: Boolean;
/**
* A boolean value to indicate whether zone awareness is enabled. See About Zone Awareness for more information.
*/
ZoneAwarenessEnabled?: Boolean;
/**
* Specifies the zone awareness configuration for a domain when zone awareness is enabled.
*/
ZoneAwarenessConfig?: ZoneAwarenessConfig;
/**
* The instance type for a dedicated master node.
*/
DedicatedMasterType?: ESPartitionInstanceType;
/**
* Total number of dedicated master nodes, active and on standby, for the cluster.
*/
DedicatedMasterCount?: IntegerClass;
/**
* True to enable warm storage.
*/
WarmEnabled?: Boolean;
/**
* The instance type for the Elasticsearch cluster's warm nodes.
*/
WarmType?: ESWarmPartitionInstanceType;
/**
* The number of warm nodes in the cluster.
*/
WarmCount?: IntegerClass;
}
export interface ElasticsearchClusterConfigStatus {
/**
* Specifies the cluster configuration for the specified Elasticsearch domain.
*/
Options: ElasticsearchClusterConfig;
/**
* Specifies the status of the configuration for the specified Elasticsearch domain.
*/
Status: OptionStatus;
}
export interface ElasticsearchDomainConfig {
/**
* String of format X.Y to specify version for the Elasticsearch domain.
*/
ElasticsearchVersion?: ElasticsearchVersionStatus;
/**
* Specifies the ElasticsearchClusterConfig for the Elasticsearch domain.
*/
ElasticsearchClusterConfig?: ElasticsearchClusterConfigStatus;
/**
* Specifies the EBSOptions for the Elasticsearch domain.
*/
EBSOptions?: EBSOptionsStatus;
/**
* IAM access policy as a JSON-formatted string.
*/
AccessPolicies?: AccessPoliciesStatus;
/**
* Specifies the SnapshotOptions for the Elasticsearch domain.
*/
SnapshotOptions?: SnapshotOptionsStatus;
/**
* The VPCOptions for the specified domain. For more information, see VPC Endpoints for Amazon Elasticsearch Service Domains.
*/
VPCOptions?: VPCDerivedInfoStatus;
/**
* The CognitoOptions for the specified domain. For more information, see Amazon Cognito Authentication for Kibana.
*/
CognitoOptions?: CognitoOptionsStatus;
/**
* Specifies the EncryptionAtRestOptions for the Elasticsearch domain.
*/
EncryptionAtRestOptions?: EncryptionAtRestOptionsStatus;
/**
* Specifies the NodeToNodeEncryptionOptions for the Elasticsearch domain.
*/
NodeToNodeEncryptionOptions?: NodeToNodeEncryptionOptionsStatus;
/**
* Specifies the AdvancedOptions for the domain. See Configuring Advanced Options for more information.
*/
AdvancedOptions?: AdvancedOptionsStatus;
/**
* Log publishing options for the given domain.
*/
LogPublishingOptions?: LogPublishingOptionsStatus;
/**
* Specifies the DomainEndpointOptions for the Elasticsearch domain.
*/
DomainEndpointOptions?: DomainEndpointOptionsStatus;
/**
* Specifies AdvancedSecurityOptions for the domain.
*/
AdvancedSecurityOptions?: AdvancedSecurityOptionsStatus;
}
export interface ElasticsearchDomainStatus {
/**
* The unique identifier for the specified Elasticsearch domain.
*/
DomainId: DomainId;
/**
* The name of an Elasticsearch domain. Domain names are unique across the domains owned by an account within an AWS region. Domain names start with a letter or number and can contain the following characters: a-z (lowercase), 0-9, and - (hyphen).
*/
DomainName: DomainName;
/**
* The Amazon resource name (ARN) of an Elasticsearch domain. See Identifiers for IAM Entities in Using AWS Identity and Access Management for more information.
*/
ARN: ARN;
/**
* The domain creation status. True if the creation of an Elasticsearch domain is complete. False if domain creation is still in progress.
*/
Created?: Boolean;
/**
* The domain deletion status. True if a delete request has been received for the domain but resource cleanup is still in progress. False if the domain has not been deleted. Once domain deletion is complete, the status of the domain is no longer returned.
*/
Deleted?: Boolean;
/**
* The Elasticsearch domain endpoint that you use to submit index and search requests.
*/
Endpoint?: ServiceUrl;
/**
* Map containing the Elasticsearch domain endpoints used to submit index and search requests. Example key, value: 'vpc','vpc-endpoint-h2dsd34efgyghrtguk5gt6j2foh4.us-east-1.es.amazonaws.com'.
*/
Endpoints?: EndpointsMap;
/**
* The status of the Elasticsearch domain configuration. True if Amazon Elasticsearch Service is processing configuration changes. False if the configuration is active.
*/
Processing?: Boolean;
/**
* The status of an Elasticsearch domain version upgrade. True if Amazon Elasticsearch Service is undergoing a version upgrade. False if the configuration is active.
*/
UpgradeProcessing?: Boolean;
ElasticsearchVersion?: ElasticsearchVersionString;
/**
* The type and number of instances in the domain cluster.
*/
ElasticsearchClusterConfig: ElasticsearchClusterConfig;
/**
* The EBSOptions for the specified domain. See Configuring EBS-based Storage for more information.
*/
EBSOptions?: EBSOptions;
/**
* IAM access policy as a JSON-formatted string.
*/
AccessPolicies?: PolicyDocument;
/**
* Specifies the status of the SnapshotOptions
*/
SnapshotOptions?: SnapshotOptions;
/**
* The VPCOptions for the specified domain. For more information, see VPC Endpoints for Amazon Elasticsearch Service Domains.
*/
VPCOptions?: VPCDerivedInfo;
/**
* The CognitoOptions for the specified domain. For more information, see Amazon Cognito Authentication for Kibana.
*/
CognitoOptions?: CognitoOptions;
/**
* Specifies the status of the EncryptionAtRestOptions.
*/
EncryptionAtRestOptions?: EncryptionAtRestOptions;
/**
* Specifies the status of the NodeToNodeEncryptionOptions.
*/
NodeToNodeEncryptionOptions?: NodeToNodeEncryptionOptions;
/**
* Specifies the status of the AdvancedOptions
*/
AdvancedOptions?: AdvancedOptions;
/**
* Log publishing options for the given domain.
*/
LogPublishingOptions?: LogPublishingOptions;
/**
* The current status of the Elasticsearch domain's service software.
*/
ServiceSoftwareOptions?: ServiceSoftwareOptions;
/**
* The current status of the Elasticsearch domain's endpoint options.
*/
DomainEndpointOptions?: DomainEndpointOptions;
/**
* The current status of the Elasticsearch domain's advanced security options.
*/
AdvancedSecurityOptions?: AdvancedSecurityOptions;
}
export type ElasticsearchDomainStatusList = ElasticsearchDomainStatus[];
export type ElasticsearchInstanceTypeList = ESPartitionInstanceType[];
export type ElasticsearchVersionList = ElasticsearchVersionString[];
export interface ElasticsearchVersionStatus {
/**
* Specifies the Elasticsearch version for the specified Elasticsearch domain.
*/
Options: ElasticsearchVersionString;
/**
* Specifies the status of the Elasticsearch version options for the specified Elasticsearch domain.
*/
Status: OptionStatus;
}
export type ElasticsearchVersionString = string;
export interface EncryptionAtRestOptions {
/**
* Specifies the option to enable Encryption At Rest.
*/
Enabled?: Boolean;
/**
* Specifies the KMS Key ID for Encryption At Rest options.
*/
KmsKeyId?: KmsKeyId;
}
export interface EncryptionAtRestOptionsStatus {
/**
* Specifies the Encryption At Rest options for the specified Elasticsearch domain.
*/
Options: EncryptionAtRestOptions;
/**
* Specifies the status of the Encryption At Rest options for the specified Elasticsearch domain.
*/
Status: OptionStatus;
}
export type EndpointsMap = {[key: string]: ServiceUrl};
export interface ErrorDetails {
ErrorType?: ErrorType;
ErrorMessage?: ErrorMessage;
}
export type ErrorMessage = string;
export type ErrorType = string;
export interface Filter {
/**
* Specifies the name of the filter.
*/
Name?: NonEmptyString;
/**
* Contains one or more values for the filter.
*/
Values?: ValueStringList;
}
export type FilterList = Filter[];
export type GUID = string;
export interface GetCompatibleElasticsearchVersionsRequest {
DomainName?: DomainName;
}
export interface GetCompatibleElasticsearchVersionsResponse {
/**
* A map of compatible Elasticsearch versions returned as part of the GetCompatibleElasticsearchVersions operation.
*/
CompatibleElasticsearchVersions?: CompatibleElasticsearchVersionsList;
}
export interface GetUpgradeHistoryRequest {
DomainName: DomainName;
MaxResults?: MaxResults;
NextToken?: NextToken;
}
export interface GetUpgradeHistoryResponse {
/**
* A list of UpgradeHistory objects corresponding to each Upgrade or Upgrade Eligibility Check performed on a domain returned as part of GetUpgradeHistoryResponse object.
*/
UpgradeHistories?: UpgradeHistoryList;
/**
* Pagination token that needs to be supplied to the next call to get the next page of results
*/
NextToken?: String;
}
export interface GetUpgradeStatusRequest {
DomainName: DomainName;
}
export interface GetUpgradeStatusResponse {
/**
* Represents one of 3 steps that an Upgrade or Upgrade Eligibility Check does through: PreUpgradeCheck Snapshot Upgrade
*/
UpgradeStep?: UpgradeStep;
/**
* One of 4 statuses that a step can go through returned as part of the GetUpgradeStatusResponse object. The status can take one of the following values: In Progress Succeeded Succeeded with Issues Failed
*/
StepStatus?: UpgradeStatus;
/**
* A string that describes the update briefly
*/
UpgradeName?: UpgradeName;
}
export type IdentityPoolId = string;
export interface InboundCrossClusterSearchConnection {
/**
* Specifies the DomainInformation for the source Elasticsearch domain.
*/
SourceDomainInfo?: DomainInformation;
/**
* Specifies the DomainInformation for the destination Elasticsearch domain.
*/
DestinationDomainInfo?: DomainInformation;
/**
* Specifies the connection id for the inbound cross-cluster search connection.
*/
CrossClusterSearchConnectionId?: CrossClusterSearchConnectionId;
/**
* Specifies the InboundCrossClusterSearchConnectionStatus for the outbound connection.
*/
ConnectionStatus?: InboundCrossClusterSearchConnectionStatus;
}
export interface InboundCrossClusterSearchConnectionStatus {
/**
* The state code for inbound connection. This can be one of the following: PENDING_ACCEPTANCE: Inbound connection is not yet accepted by destination domain owner. APPROVED: Inbound connection is pending acceptance by destination domain owner. REJECTING: Inbound connection rejection is in process. REJECTED: Inbound connection is rejected. DELETING: Inbound connection deletion is in progress. DELETED: Inbound connection is deleted and cannot be used further.
*/
StatusCode?: InboundCrossClusterSearchConnectionStatusCode;
/**
* Specifies verbose information for the inbound connection status.
*/
Message?: CrossClusterSearchConnectionStatusMessage;
}
export type InboundCrossClusterSearchConnectionStatusCode = "PENDING_ACCEPTANCE"|"APPROVED"|"REJECTING"|"REJECTED"|"DELETING"|"DELETED"|string;
export type InboundCrossClusterSearchConnections = InboundCrossClusterSearchConnection[];
export type InstanceCount = number;
export interface InstanceCountLimits {
MinimumInstanceCount?: MinimumInstanceCount;
MaximumInstanceCount?: MaximumInstanceCount;
}
export interface InstanceLimits {
InstanceCountLimits?: InstanceCountLimits;
}
export type InstanceRole = string;
export type Integer = number;
export type IntegerClass = number;
export type Issue = string;
export type Issues = Issue[];
export type KmsKeyId = string;
export type LastUpdated = Date;
export type LimitName = string;
export type LimitValue = string;
export type LimitValueList = LimitValue[];
export interface Limits {
/**
* StorageType represents the list of storage related types and attributes that are available for given InstanceType.
*/
StorageTypes?: StorageTypeList;
InstanceLimits?: InstanceLimits;
/**
* List of additional limits that are specific to a given InstanceType and for each of it's InstanceRole .
*/
AdditionalLimits?: AdditionalLimitList;
}
export type LimitsByRole = {[key: string]: Limits};
export interface ListDomainNamesResponse {
/**
* List of Elasticsearch domain names.
*/
DomainNames?: DomainInfoList;
}
export interface ListDomainsForPackageRequest {
/**
* The package for which to list domains.
*/
PackageID: PackageID;
/**
* Limits results to a maximum number of domains.
*/
MaxResults?: MaxResults;
/**
* Used for pagination. Only necessary if a previous API call includes a non-null NextToken value. If provided, returns results for the next page.
*/
NextToken?: NextToken;
}
export interface ListDomainsForPackageResponse {
/**
* List of DomainPackageDetails objects.
*/
DomainPackageDetailsList?: DomainPackageDetailsList;
NextToken?: String;
}
export interface ListElasticsearchInstanceTypesRequest {
/**
* Version of Elasticsearch for which list of supported elasticsearch instance types are needed.
*/
ElasticsearchVersion: ElasticsearchVersionString;
/**
* DomainName represents the name of the Domain that we are trying to modify. This should be present only if we are querying for list of available Elasticsearch instance types when modifying existing domain.
*/
DomainName?: DomainName;
/**
* Set this value to limit the number of results returned. Value provided must be greater than 30 else it wont be honored.
*/
MaxResults?: MaxResults;
/**
* NextToken should be sent in case if earlier API call produced result containing NextToken. It is used for pagination.
*/
NextToken?: NextToken;
}
export interface ListElasticsearchInstanceTypesResponse {
/**
* List of instance types supported by Amazon Elasticsearch service for given ElasticsearchVersion
*/
ElasticsearchInstanceTypes?: ElasticsearchInstanceTypeList;
/**
* In case if there are more results available NextToken would be present, make further request to the same API with received NextToken to paginate remaining results.
*/
NextToken?: NextToken;
}
export interface ListElasticsearchVersionsRequest {
/**
* Set this value to limit the number of results returned. Value provided must be greater than 10 else it wont be honored.
*/
MaxResults?: MaxResults;
NextToken?: NextToken;
}
export interface ListElasticsearchVersionsResponse {
ElasticsearchVersions?: ElasticsearchVersionList;
NextToken?: NextToken;
}
export interface ListPackagesForDomainRequest {
/**
* The name of the domain for which you want to list associated packages.
*/
DomainName: DomainName;
/**
* Limits results to a maximum number of packages.
*/
MaxResults?: MaxResults;
/**
* Used for pagination. Only necessary if a previous API call includes a non-null NextToken value. If provided, returns results for the next page.
*/
NextToken?: NextToken;
}
export interface ListPackagesForDomainResponse {
/**
* List of DomainPackageDetails objects.
*/
DomainPackageDetailsList?: DomainPackageDetailsList;
/**
* Pagination token that needs to be supplied to the next call to get the next page of results.
*/
NextToken?: String;
}
export interface ListTagsRequest {
/**
* Specify the ARN for the Elasticsearch domain to which the tags are attached that you want to view.
*/
ARN: ARN;
}
export interface ListTagsResponse {
/**
* List of Tag for the requested Elasticsearch domain.
*/
TagList?: TagList;
}
export interface LogPublishingOption {
CloudWatchLogsLogGroupArn?: CloudWatchLogsLogGroupArn;
/**
* Specifies whether given log publishing option is enabled or not.
*/
Enabled?: Boolean;
}
export type LogPublishingOptions = {[key: string]: LogPublishingOption};
export interface LogPublishingOptionsStatus {
/**
* The log publishing options configured for the Elasticsearch domain.
*/
Options?: LogPublishingOptions;
/**
* The status of the log publishing options for the Elasticsearch domain. See OptionStatus for the status information that's included.
*/
Status?: OptionStatus;
}
export type LogType = "INDEX_SLOW_LOGS"|"SEARCH_SLOW_LOGS"|"ES_APPLICATION_LOGS"|"AUDIT_LOGS"|string;
export interface MasterUserOptions {
/**
* ARN for the master user (if IAM is enabled).
*/
MasterUserARN?: ARN;
/**
* The master user's username, which is stored in the Amazon Elasticsearch Service domain's internal database.
*/
MasterUserName?: Username;
/**
* The master user's password, which is stored in the Amazon Elasticsearch Service domain's internal database.
*/
MasterUserPassword?: Password;
}
export type MaxResults = number;
export type MaximumInstanceCount = number;
export type MinimumInstanceCount = number;
export type NextToken = string;
export interface NodeToNodeEncryptionOptions {
/**
* Specify true to enable node-to-node encryption.
*/
Enabled?: Boolean;
}
export interface NodeToNodeEncryptionOptionsStatus {
/**
* Specifies the node-to-node encryption options for the specified Elasticsearch domain.
*/
Options: NodeToNodeEncryptionOptions;
/**
* Specifies the status of the node-to-node encryption options for the specified Elasticsearch domain.
*/
Status: OptionStatus;
}
export type NonEmptyString = string;
export type OptionState = "RequiresIndexDocuments"|"Processing"|"Active"|string;
export interface OptionStatus {
/**
* Timestamp which tells the creation date for the entity.
*/
CreationDate: UpdateTimestamp;
/**
* Timestamp which tells the last updated time for the entity.
*/
UpdateDate: UpdateTimestamp;
/**
* Specifies the latest version for the entity.
*/
UpdateVersion?: UIntValue;
/**
* Provides the OptionState for the Elasticsearch domain.
*/
State: OptionState;
/**
* Indicates whether the Elasticsearch domain is being deleted.
*/
PendingDeletion?: Boolean;
}
export interface OutboundCrossClusterSearchConnection {
/**
* Specifies the DomainInformation for the source Elasticsearch domain.
*/
SourceDomainInfo?: DomainInformation;
/**
* Specifies the DomainInformation for the destination Elasticsearch domain.
*/
DestinationDomainInfo?: DomainInformation;
/**
* Specifies the connection id for the outbound cross-cluster search connection.
*/
CrossClusterSearchConnectionId?: CrossClusterSearchConnectionId;
/**
* Specifies the connection alias for the outbound cross-cluster search connection.
*/
ConnectionAlias?: ConnectionAlias;
/**
* Specifies the OutboundCrossClusterSearchConnectionStatus for the outbound connection.
*/
ConnectionStatus?: OutboundCrossClusterSearchConnectionStatus;
}
export interface OutboundCrossClusterSearchConnectionStatus {
/**
* The state code for outbound connection. This can be one of the following: VALIDATING: The outbound connection request is being validated. VALIDATION_FAILED: Validation failed for the connection request. PENDING_ACCEPTANCE: Outbound connection request is validated and is not yet accepted by destination domain owner. PROVISIONING: Outbound connection request is in process. ACTIVE: Outbound connection is active and ready to use. REJECTED: Outbound connection request is rejected by destination domain owner. DELETING: Outbound connection deletion is in progress. DELETED: Outbound connection is deleted and cannot be used further.
*/
StatusCode?: OutboundCrossClusterSearchConnectionStatusCode;
/**
* Specifies verbose information for the outbound connection status.
*/
Message?: CrossClusterSearchConnectionStatusMessage;
}
export type OutboundCrossClusterSearchConnectionStatusCode = "PENDING_ACCEPTANCE"|"VALIDATING"|"VALIDATION_FAILED"|"PROVISIONING"|"ACTIVE"|"REJECTED"|"DELETING"|"DELETED"|string;
export type OutboundCrossClusterSearchConnections = OutboundCrossClusterSearchConnection[];
export type OwnerId = string;
export type PackageDescription = string;
export interface PackageDetails {
/**
* Internal ID of the package.
*/
PackageID?: PackageID;
/**
* User specified name of the package.
*/
PackageName?: PackageName;
/**
* Currently supports only TXT-DICTIONARY.
*/
PackageType?: PackageType;
/**
* User-specified description of the package.
*/
PackageDescription?: PackageDescription;
/**
* Current state of the package. Values are COPYING/COPY_FAILED/AVAILABLE/DELETING/DELETE_FAILED
*/
PackageStatus?: PackageStatus;
/**
* Timestamp which tells creation date of the package.
*/
CreatedAt?: CreatedAt;
/**
* Additional information if the package is in an error state. Null otherwise.
*/
ErrorDetails?: ErrorDetails;
}
export type PackageDetailsList = PackageDetails[];
export type PackageID = string;
export type PackageName = string;
export interface PackageSource {
/**
* Name of the bucket containing the package.
*/
S3BucketName?: S3BucketName;
/**
* Key (file name) of the package.
*/
S3Key?: S3Key;
}
export type PackageStatus = "COPYING"|"COPY_FAILED"|"VALIDATING"|"VALIDATION_FAILED"|"AVAILABLE"|"DELETING"|"DELETED"|"DELETE_FAILED"|string;
export type PackageType = "TXT-DICTIONARY"|string;
export type Password = string;
export type PolicyDocument = string;
export interface PurchaseReservedElasticsearchInstanceOfferingRequest {
/**
* The ID of the reserved Elasticsearch instance offering to purchase.
*/
ReservedElasticsearchInstanceOfferingId: GUID;
/**
* A customer-specified identifier to track this reservation.
*/
ReservationName: ReservationToken;
/**
* The number of Elasticsearch instances to reserve.
*/
InstanceCount?: InstanceCount;
}
export interface PurchaseReservedElasticsearchInstanceOfferingResponse {
/**
* Details of the reserved Elasticsearch instance which was purchased.
*/
ReservedElasticsearchInstanceId?: GUID;
/**
* The customer-specified identifier used to track this reservation.
*/
ReservationName?: ReservationToken;
}
export interface RecurringCharge {
/**
* The monetary amount of the recurring charge.
*/
RecurringChargeAmount?: Double;
/**
* The frequency of the recurring charge.
*/
RecurringChargeFrequency?: String;
}
export type RecurringChargeList = RecurringCharge[];
export type ReferencePath = string;
export type Region = string;
export interface RejectInboundCrossClusterSearchConnectionRequest {
/**
* The id of the inbound connection that you want to reject.
*/
CrossClusterSearchConnectionId: CrossClusterSearchConnectionId;
}
export interface RejectInboundCrossClusterSearchConnectionResponse {
/**
* Specifies the InboundCrossClusterSearchConnection of rejected inbound connection.
*/
CrossClusterSearchConnection?: InboundCrossClusterSearchConnection;
}
export interface RemoveTagsRequest {
/**
* Specifies the ARN for the Elasticsearch domain from which you want to delete the specified tags.
*/
ARN: ARN;
/**
* Specifies the TagKey list which you want to remove from the Elasticsearch domain.
*/
TagKeys: StringList;
}
export type ReservationToken = string;
export interface ReservedElasticsearchInstance {
/**
* The customer-specified identifier to track this reservation.
*/
ReservationName?: ReservationToken;
/**
* The unique identifier for the reservation.
*/
ReservedElasticsearchInstanceId?: GUID;
/**
* The offering identifier.
*/
ReservedElasticsearchInstanceOfferingId?: String;
/**
* The Elasticsearch instance type offered by the reserved instance offering.
*/
ElasticsearchInstanceType?: ESPartitionInstanceType;
/**
* The time the reservation started.
*/
StartTime?: UpdateTimestamp;
/**
* The duration, in seconds, for which the Elasticsearch instance is reserved.
*/
Duration?: Integer;
/**
* The upfront fixed charge you will paid to purchase the specific reserved Elasticsearch instance offering.
*/
FixedPrice?: Double;
/**
* The rate you are charged for each hour for the domain that is using this reserved instance.
*/
UsagePrice?: Double;
/**
* The currency code for the reserved Elasticsearch instance offering.
*/
CurrencyCode?: String;
/**
* The number of Elasticsearch instances that have been reserved.
*/
ElasticsearchInstanceCount?: Integer;
/**
* The state of the reserved Elasticsearch instance.
*/
State?: String;
/**
* The payment option as defined in the reserved Elasticsearch instance offering.
*/
PaymentOption?: ReservedElasticsearchInstancePaymentOption;
/**
* The charge to your account regardless of whether you are creating any domains using the instance offering.
*/
RecurringCharges?: RecurringChargeList;
}
export type ReservedElasticsearchInstanceList = ReservedElasticsearchInstance[];
export interface ReservedElasticsearchInstanceOffering {
/**
* The Elasticsearch reserved instance offering identifier.
*/
ReservedElasticsearchInstanceOfferingId?: GUID;
/**
* The Elasticsearch instance type offered by the reserved instance offering.
*/
ElasticsearchInstanceType?: ESPartitionInstanceType;
/**
* The duration, in seconds, for which the offering will reserve the Elasticsearch instance.
*/
Duration?: Integer;
/**
* The upfront fixed charge you will pay to purchase the specific reserved Elasticsearch instance offering.
*/
FixedPrice?: Double;
/**
* The rate you are charged for each hour the domain that is using the offering is running.
*/
UsagePrice?: Double;
/**
* The currency code for the reserved Elasticsearch instance offering.
*/
CurrencyCode?: String;
/**
* Payment option for the reserved Elasticsearch instance offering
*/
PaymentOption?: ReservedElasticsearchInstancePaymentOption;
/**
* The charge to your account regardless of whether you are creating any domains using the instance offering.
*/
RecurringCharges?: RecurringChargeList;
}
export type ReservedElasticsearchInstanceOfferingList = ReservedElasticsearchInstanceOffering[];
export type ReservedElasticsearchInstancePaymentOption = "ALL_UPFRONT"|"PARTIAL_UPFRONT"|"NO_UPFRONT"|string;
export type RoleArn = string;
export type S3BucketName = string;
export type S3Key = string;
export interface ServiceSoftwareOptions {
/**
* The current service software version that is present on the domain.
*/
CurrentVersion?: String;
/**
* The new service software version if one is available.
*/
NewVersion?: String;
/**
* True if you are able to update you service software version. False if you are not able to update your service software version.
*/
UpdateAvailable?: Boolean;
/**
* True if you are able to cancel your service software version update. False if you are not able to cancel your service software version.
*/
Cancellable?: Boolean;
/**
* The status of your service software update. This field can take the following values: ELIGIBLE, PENDING_UPDATE, IN_PROGRESS, COMPLETED, and NOT_ELIGIBLE.
*/
UpdateStatus?: DeploymentStatus;
/**
* The description of the UpdateStatus.
*/
Description?: String;
/**
* Timestamp, in Epoch time, until which you can manually request a service software update. After this date, we automatically update your service software.
*/
AutomatedUpdateDate?: DeploymentCloseDateTimeStamp;
/**
* True if a service software is never automatically updated. False if a service software is automatically updated after AutomatedUpdateDate.
*/
OptionalDeployment?: Boolean;
}
export type ServiceUrl = string;
export interface SnapshotOptions {
/**
* Specifies the time, in UTC format, when the service takes a daily automated snapshot of the specified Elasticsearch domain. Default value is 0 hours.
*/
AutomatedSnapshotStartHour?: IntegerClass;
}
export interface SnapshotOptionsStatus {
/**
* Specifies the daily snapshot options specified for the Elasticsearch domain.
*/
Options: SnapshotOptions;
/**
* Specifies the status of a daily automated snapshot.
*/
Status: OptionStatus;
}
export interface StartElasticsearchServiceSoftwareUpdateRequest {
/**
* The name of the domain that you want to update to the latest service software.
*/
DomainName: DomainName;
}
export interface StartElasticsearchServiceSoftwareUpdateResponse {
/**
* The current status of the Elasticsearch service software update.
*/
ServiceSoftwareOptions?: ServiceSoftwareOptions;
}
export type StartTimestamp = Date;
export type StorageSubTypeName = string;
export interface StorageType {
StorageTypeName?: StorageTypeName;
StorageSubTypeName?: StorageSubTypeName;
/**
* List of limits that are applicable for given storage type.
*/
StorageTypeLimits?: StorageTypeLimitList;
}
export interface StorageTypeLimit {
/**
* Name of storage limits that are applicable for given storage type. If StorageType is ebs, following storage options are applicable MinimumVolumeSize Minimum amount of volume size that is applicable for given storage type.It can be empty if it is not applicable. MaximumVolumeSize Maximum amount of volume size that is applicable for given storage type.It can be empty if it is not applicable. MaximumIops Maximum amount of Iops that is applicable for given storage type.It can be empty if it is not applicable. MinimumIops Minimum amount of Iops that is applicable for given storage type.It can be empty if it is not applicable.
*/
LimitName?: LimitName;
/**
* Values for the StorageTypeLimit$LimitName .
*/
LimitValues?: LimitValueList;
}
export type StorageTypeLimitList = StorageTypeLimit[];
export type StorageTypeList = StorageType[];
export type StorageTypeName = string;
export type String = string;
export type StringList = String[];
export type TLSSecurityPolicy = "Policy-Min-TLS-1-0-2019-07"|"Policy-Min-TLS-1-2-2019-07"|string;
export interface Tag {
/**
* Specifies the TagKey, the name of the tag. Tag keys must be unique for the Elasticsearch domain to which they are attached.
*/
Key: TagKey;
/**
* Specifies the TagValue, the value assigned to the corresponding tag key. Tag values can be null and do not have to be unique in a tag set. For example, you can have a key value pair in a tag set of project : Trinity and cost-center : Trinity
*/
Value: TagValue;
}
export type TagKey = string;
export type TagList = Tag[];
export type TagValue = string;
export type UIntValue = number;
export interface UpdateElasticsearchDomainConfigRequest {
/**
* The name of the Elasticsearch domain that you are updating.
*/
DomainName: DomainName;
/**
* The type and number of instances to instantiate for the domain cluster.
*/
ElasticsearchClusterConfig?: ElasticsearchClusterConfig;
/**
* Specify the type and size of the EBS volume that you want to use.
*/
EBSOptions?: EBSOptions;
/**
* Option to set the time, in UTC format, for the daily automated snapshot. Default value is 0 hours.
*/
SnapshotOptions?: SnapshotOptions;
/**
* Options to specify the subnets and security groups for VPC endpoint. For more information, see Creating a VPC in VPC Endpoints for Amazon Elasticsearch Service Domains
*/
VPCOptions?: VPCOptions;
/**
* Options to specify the Cognito user and identity pools for Kibana authentication. For more information, see Amazon Cognito Authentication for Kibana.
*/
CognitoOptions?: CognitoOptions;
/**
* Modifies the advanced option to allow references to indices in an HTTP request body. Must be false when configuring access to individual sub-resources. By default, the value is true. See Configuration Advanced Options for more information.
*/
AdvancedOptions?: AdvancedOptions;
/**
* IAM access policy as a JSON-formatted string.
*/
AccessPolicies?: PolicyDocument;
/**
* Map of LogType and LogPublishingOption, each containing options to publish a given type of Elasticsearch log.
*/
LogPublishingOptions?: LogPublishingOptions;
/**
* Options to specify configuration that will be applied to the domain endpoint.
*/
DomainEndpointOptions?: DomainEndpointOptions;
/**
* Specifies advanced security options.
*/
AdvancedSecurityOptions?: AdvancedSecurityOptionsInput;
}
export interface UpdateElasticsearchDomainConfigResponse {
/**
* The status of the updated Elasticsearch domain.
*/
DomainConfig: ElasticsearchDomainConfig;
}
export type UpdateTimestamp = Date;
export interface UpgradeElasticsearchDomainRequest {
DomainName: DomainName;
/**
* The version of Elasticsearch that you intend to upgrade the domain to.
*/
TargetVersion: ElasticsearchVersionString;
/**
* This flag, when set to True, indicates that an Upgrade Eligibility Check needs to be performed. This will not actually perform the Upgrade.
*/
PerformCheckOnly?: Boolean;
}
export interface UpgradeElasticsearchDomainResponse {
DomainName?: DomainName;
/**
* The version of Elasticsearch that you intend to upgrade the domain to.
*/
TargetVersion?: ElasticsearchVersionString;
/**
* This flag, when set to True, indicates that an Upgrade Eligibility Check needs to be performed. This will not actually perform the Upgrade.
*/
PerformCheckOnly?: Boolean;
}
export interface UpgradeHistory {
/**
* A string that describes the update briefly
*/
UpgradeName?: UpgradeName;
/**
* UTC Timestamp at which the Upgrade API call was made in "yyyy-MM-ddTHH:mm:ssZ" format.
*/
StartTimestamp?: StartTimestamp;
/**
* The overall status of the update. The status can take one of the following values: In Progress Succeeded Succeeded with Issues Failed
*/
UpgradeStatus?: UpgradeStatus;
/**
* A list of UpgradeStepItem s representing information about each step performed as pard of a specific Upgrade or Upgrade Eligibility Check.
*/
StepsList?: UpgradeStepsList;
}
export type UpgradeHistoryList = UpgradeHistory[];
export type UpgradeName = string;
export type UpgradeStatus = "IN_PROGRESS"|"SUCCEEDED"|"SUCCEEDED_WITH_ISSUES"|"FAILED"|string;
export type UpgradeStep = "PRE_UPGRADE_CHECK"|"SNAPSHOT"|"UPGRADE"|string;
export interface UpgradeStepItem {
/**
* Represents one of 3 steps that an Upgrade or Upgrade Eligibility Check does through: PreUpgradeCheck Snapshot Upgrade
*/
UpgradeStep?: UpgradeStep;
/**
* The status of a particular step during an upgrade. The status can take one of the following values: In Progress Succeeded Succeeded with Issues Failed
*/
UpgradeStepStatus?: UpgradeStatus;
/**
* A list of strings containing detailed information about the errors encountered in a particular step.
*/
Issues?: Issues;
/**
* The Floating point value representing progress percentage of a particular step.
*/
ProgressPercent?: Double;
}
export type UpgradeStepsList = UpgradeStepItem[];
export type UserPoolId = string;
export type Username = string;
export interface VPCDerivedInfo {
/**
* The VPC Id for the Elasticsearch domain. Exists only if the domain was created with VPCOptions.
*/
VPCId?: String;
/**
* Specifies the subnets for VPC endpoint.
*/
SubnetIds?: StringList;
/**
* The availability zones for the Elasticsearch domain. Exists only if the domain was created with VPCOptions.
*/
AvailabilityZones?: StringList;
/**
* Specifies the security groups for VPC endpoint.
*/
SecurityGroupIds?: StringList;
}
export interface VPCDerivedInfoStatus {
/**
* Specifies the VPC options for the specified Elasticsearch domain.
*/
Options: VPCDerivedInfo;
/**
* Specifies the status of the VPC options for the specified Elasticsearch domain.
*/
Status: OptionStatus;
}
export interface VPCOptions {
/**
* Specifies the subnets for VPC endpoint.
*/
SubnetIds?: StringList;
/**
* Specifies the security groups for VPC endpoint.
*/
SecurityGroupIds?: StringList;
}
export type ValueStringList = NonEmptyString[];
export type VolumeType = "standard"|"gp2"|"io1"|string;
export interface ZoneAwarenessConfig {
/**
* An integer value to indicate the number of availability zones for a domain when zone awareness is enabled. This should be equal to number of subnets if VPC endpoints is enabled
*/
AvailabilityZoneCount?: IntegerClass;
}
/**
* A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
*/
export type apiVersion = "2015-01-01"|"latest"|string;
export interface ClientApiVersions {
/**
* A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
*/
apiVersion?: apiVersion;
}
export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions;
/**
* Contains interfaces for use with the ES client.
*/
export import Types = ES;
}
export = ES;