elasticsearch9 9.0.1__py3-none-any.whl → 9.0.3__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (52) hide show
  1. elasticsearch9/_async/client/__init__.py +47 -203
  2. elasticsearch9/_async/client/cat.py +594 -32
  3. elasticsearch9/_async/client/cluster.py +14 -4
  4. elasticsearch9/_async/client/eql.py +10 -2
  5. elasticsearch9/_async/client/esql.py +17 -4
  6. elasticsearch9/_async/client/indices.py +100 -47
  7. elasticsearch9/_async/client/inference.py +110 -75
  8. elasticsearch9/_async/client/ingest.py +0 -7
  9. elasticsearch9/_async/client/license.py +4 -4
  10. elasticsearch9/_async/client/ml.py +6 -17
  11. elasticsearch9/_async/client/monitoring.py +1 -1
  12. elasticsearch9/_async/client/rollup.py +1 -22
  13. elasticsearch9/_async/client/security.py +11 -17
  14. elasticsearch9/_async/client/snapshot.py +6 -0
  15. elasticsearch9/_async/client/synonyms.py +1 -0
  16. elasticsearch9/_async/client/watcher.py +4 -2
  17. elasticsearch9/_sync/client/__init__.py +47 -203
  18. elasticsearch9/_sync/client/cat.py +594 -32
  19. elasticsearch9/_sync/client/cluster.py +14 -4
  20. elasticsearch9/_sync/client/eql.py +10 -2
  21. elasticsearch9/_sync/client/esql.py +17 -4
  22. elasticsearch9/_sync/client/indices.py +100 -47
  23. elasticsearch9/_sync/client/inference.py +110 -75
  24. elasticsearch9/_sync/client/ingest.py +0 -7
  25. elasticsearch9/_sync/client/license.py +4 -4
  26. elasticsearch9/_sync/client/ml.py +6 -17
  27. elasticsearch9/_sync/client/monitoring.py +1 -1
  28. elasticsearch9/_sync/client/rollup.py +1 -22
  29. elasticsearch9/_sync/client/security.py +11 -17
  30. elasticsearch9/_sync/client/snapshot.py +6 -0
  31. elasticsearch9/_sync/client/synonyms.py +1 -0
  32. elasticsearch9/_sync/client/watcher.py +4 -2
  33. elasticsearch9/_version.py +1 -1
  34. elasticsearch9/compat.py +5 -0
  35. elasticsearch9/dsl/__init__.py +2 -1
  36. elasticsearch9/dsl/_async/document.py +1 -1
  37. elasticsearch9/dsl/_sync/document.py +1 -1
  38. elasticsearch9/dsl/document_base.py +176 -16
  39. elasticsearch9/dsl/field.py +223 -38
  40. elasticsearch9/dsl/query.py +49 -4
  41. elasticsearch9/dsl/types.py +107 -16
  42. elasticsearch9/dsl/utils.py +1 -1
  43. elasticsearch9/esql/__init__.py +18 -0
  44. elasticsearch9/esql/esql.py +1105 -0
  45. elasticsearch9/esql/functions.py +1738 -0
  46. {elasticsearch9-9.0.1.dist-info → elasticsearch9-9.0.3.dist-info}/METADATA +1 -3
  47. {elasticsearch9-9.0.1.dist-info → elasticsearch9-9.0.3.dist-info}/RECORD +50 -49
  48. elasticsearch9-9.0.1.dist-info/licenses/LICENSE.txt +0 -175
  49. elasticsearch9-9.0.1.dist-info/licenses/NOTICE.txt +0 -559
  50. {elasticsearch9-9.0.1.dist-info → elasticsearch9-9.0.3.dist-info}/WHEEL +0 -0
  51. {elasticsearch9-9.0.1.dist-info → elasticsearch9-9.0.3.dist-info}/licenses/LICENSE +0 -0
  52. {elasticsearch9-9.0.1.dist-info → elasticsearch9-9.0.3.dist-info}/licenses/NOTICE +0 -0
@@ -584,7 +584,9 @@ class CatClient(NamespacedClient):
584
584
  filter_path: t.Optional[t.Union[str, t.Sequence[str]]] = None,
585
585
  format: t.Optional[str] = None,
586
586
  h: t.Optional[t.Union[str, t.Sequence[str]]] = None,
587
- health: t.Optional[t.Union[str, t.Literal["green", "red", "yellow"]]] = None,
587
+ health: t.Optional[
588
+ t.Union[str, t.Literal["green", "red", "unavailable", "unknown", "yellow"]]
589
+ ] = None,
588
590
  help: t.Optional[bool] = None,
589
591
  human: t.Optional[bool] = None,
590
592
  include_unloaded_segments: t.Optional[bool] = None,
@@ -1767,7 +1769,200 @@ class CatClient(NamespacedClient):
1767
1769
  filter_path: t.Optional[t.Union[str, t.Sequence[str]]] = None,
1768
1770
  format: t.Optional[str] = None,
1769
1771
  full_id: t.Optional[t.Union[bool, str]] = None,
1770
- h: t.Optional[t.Union[str, t.Sequence[str]]] = None,
1772
+ h: t.Optional[
1773
+ t.Union[
1774
+ t.Sequence[
1775
+ t.Union[
1776
+ str,
1777
+ t.Literal[
1778
+ "build",
1779
+ "completion.size",
1780
+ "cpu",
1781
+ "disk.avail",
1782
+ "disk.total",
1783
+ "disk.used",
1784
+ "disk.used_percent",
1785
+ "fielddata.evictions",
1786
+ "fielddata.memory_size",
1787
+ "file_desc.current",
1788
+ "file_desc.max",
1789
+ "file_desc.percent",
1790
+ "flush.total",
1791
+ "flush.total_time",
1792
+ "get.current",
1793
+ "get.exists_time",
1794
+ "get.exists_total",
1795
+ "get.missing_time",
1796
+ "get.missing_total",
1797
+ "get.time",
1798
+ "get.total",
1799
+ "heap.current",
1800
+ "heap.max",
1801
+ "heap.percent",
1802
+ "http_address",
1803
+ "id",
1804
+ "indexing.delete_current",
1805
+ "indexing.delete_time",
1806
+ "indexing.delete_total",
1807
+ "indexing.index_current",
1808
+ "indexing.index_failed",
1809
+ "indexing.index_failed_due_to_version_conflict",
1810
+ "indexing.index_time",
1811
+ "indexing.index_total",
1812
+ "ip",
1813
+ "jdk",
1814
+ "load_15m",
1815
+ "load_1m",
1816
+ "load_5m",
1817
+ "mappings.total_count",
1818
+ "mappings.total_estimated_overhead_in_bytes",
1819
+ "master",
1820
+ "merges.current",
1821
+ "merges.current_docs",
1822
+ "merges.current_size",
1823
+ "merges.total",
1824
+ "merges.total_docs",
1825
+ "merges.total_size",
1826
+ "merges.total_time",
1827
+ "name",
1828
+ "node.role",
1829
+ "pid",
1830
+ "port",
1831
+ "query_cache.evictions",
1832
+ "query_cache.hit_count",
1833
+ "query_cache.memory_size",
1834
+ "query_cache.miss_count",
1835
+ "ram.current",
1836
+ "ram.max",
1837
+ "ram.percent",
1838
+ "refresh.time",
1839
+ "refresh.total",
1840
+ "request_cache.evictions",
1841
+ "request_cache.hit_count",
1842
+ "request_cache.memory_size",
1843
+ "request_cache.miss_count",
1844
+ "script.cache_evictions",
1845
+ "script.compilations",
1846
+ "search.fetch_current",
1847
+ "search.fetch_time",
1848
+ "search.fetch_total",
1849
+ "search.open_contexts",
1850
+ "search.query_current",
1851
+ "search.query_time",
1852
+ "search.query_total",
1853
+ "search.scroll_current",
1854
+ "search.scroll_time",
1855
+ "search.scroll_total",
1856
+ "segments.count",
1857
+ "segments.fixed_bitset_memory",
1858
+ "segments.index_writer_memory",
1859
+ "segments.memory",
1860
+ "segments.version_map_memory",
1861
+ "shard_stats.total_count",
1862
+ "suggest.current",
1863
+ "suggest.time",
1864
+ "suggest.total",
1865
+ "uptime",
1866
+ "version",
1867
+ ],
1868
+ ]
1869
+ ],
1870
+ t.Union[
1871
+ str,
1872
+ t.Literal[
1873
+ "build",
1874
+ "completion.size",
1875
+ "cpu",
1876
+ "disk.avail",
1877
+ "disk.total",
1878
+ "disk.used",
1879
+ "disk.used_percent",
1880
+ "fielddata.evictions",
1881
+ "fielddata.memory_size",
1882
+ "file_desc.current",
1883
+ "file_desc.max",
1884
+ "file_desc.percent",
1885
+ "flush.total",
1886
+ "flush.total_time",
1887
+ "get.current",
1888
+ "get.exists_time",
1889
+ "get.exists_total",
1890
+ "get.missing_time",
1891
+ "get.missing_total",
1892
+ "get.time",
1893
+ "get.total",
1894
+ "heap.current",
1895
+ "heap.max",
1896
+ "heap.percent",
1897
+ "http_address",
1898
+ "id",
1899
+ "indexing.delete_current",
1900
+ "indexing.delete_time",
1901
+ "indexing.delete_total",
1902
+ "indexing.index_current",
1903
+ "indexing.index_failed",
1904
+ "indexing.index_failed_due_to_version_conflict",
1905
+ "indexing.index_time",
1906
+ "indexing.index_total",
1907
+ "ip",
1908
+ "jdk",
1909
+ "load_15m",
1910
+ "load_1m",
1911
+ "load_5m",
1912
+ "mappings.total_count",
1913
+ "mappings.total_estimated_overhead_in_bytes",
1914
+ "master",
1915
+ "merges.current",
1916
+ "merges.current_docs",
1917
+ "merges.current_size",
1918
+ "merges.total",
1919
+ "merges.total_docs",
1920
+ "merges.total_size",
1921
+ "merges.total_time",
1922
+ "name",
1923
+ "node.role",
1924
+ "pid",
1925
+ "port",
1926
+ "query_cache.evictions",
1927
+ "query_cache.hit_count",
1928
+ "query_cache.memory_size",
1929
+ "query_cache.miss_count",
1930
+ "ram.current",
1931
+ "ram.max",
1932
+ "ram.percent",
1933
+ "refresh.time",
1934
+ "refresh.total",
1935
+ "request_cache.evictions",
1936
+ "request_cache.hit_count",
1937
+ "request_cache.memory_size",
1938
+ "request_cache.miss_count",
1939
+ "script.cache_evictions",
1940
+ "script.compilations",
1941
+ "search.fetch_current",
1942
+ "search.fetch_time",
1943
+ "search.fetch_total",
1944
+ "search.open_contexts",
1945
+ "search.query_current",
1946
+ "search.query_time",
1947
+ "search.query_total",
1948
+ "search.scroll_current",
1949
+ "search.scroll_time",
1950
+ "search.scroll_total",
1951
+ "segments.count",
1952
+ "segments.fixed_bitset_memory",
1953
+ "segments.index_writer_memory",
1954
+ "segments.memory",
1955
+ "segments.version_map_memory",
1956
+ "shard_stats.total_count",
1957
+ "suggest.current",
1958
+ "suggest.time",
1959
+ "suggest.total",
1960
+ "uptime",
1961
+ "version",
1962
+ ],
1963
+ ],
1964
+ ]
1965
+ ] = None,
1771
1966
  help: t.Optional[bool] = None,
1772
1967
  human: t.Optional[bool] = None,
1773
1968
  include_unloaded_segments: t.Optional[bool] = None,
@@ -1794,16 +1989,17 @@ class CatClient(NamespacedClient):
1794
1989
  to `text`, `json`, `cbor`, `yaml`, or `smile`.
1795
1990
  :param full_id: If `true`, return the full node ID. If `false`, return the shortened
1796
1991
  node ID.
1797
- :param h: List of columns to appear in the response. Supports simple wildcards.
1992
+ :param h: A comma-separated list of columns names to display. It supports simple
1993
+ wildcards.
1798
1994
  :param help: When set to `true` will output available columns. This option can't
1799
1995
  be combined with any other query string option.
1800
1996
  :param include_unloaded_segments: If true, the response includes information
1801
1997
  from segments that are not loaded into memory.
1802
- :param master_timeout: Period to wait for a connection to the master node.
1803
- :param s: List of columns that determine how the table should be sorted. Sorting
1804
- defaults to ascending and can be changed by setting `:asc` or `:desc` as
1805
- a suffix to the column name.
1806
- :param time: Unit used to display time values.
1998
+ :param master_timeout: The period to wait for a connection to the master node.
1999
+ :param s: A comma-separated list of column names or aliases that determines the
2000
+ sort order. Sorting defaults to ascending and can be changed by setting `:asc`
2001
+ or `:desc` as a suffix to the column name.
2002
+ :param time: The unit used to display time values.
1807
2003
  :param v: When set to `true` will enable verbose output.
1808
2004
  """
1809
2005
  __path_parts: t.Dict[str, str] = {}
@@ -2022,7 +2218,74 @@ class CatClient(NamespacedClient):
2022
2218
  error_trace: t.Optional[bool] = None,
2023
2219
  filter_path: t.Optional[t.Union[str, t.Sequence[str]]] = None,
2024
2220
  format: t.Optional[str] = None,
2025
- h: t.Optional[t.Union[str, t.Sequence[str]]] = None,
2221
+ h: t.Optional[
2222
+ t.Union[
2223
+ t.Sequence[
2224
+ t.Union[
2225
+ str,
2226
+ t.Literal[
2227
+ "bytes",
2228
+ "bytes_percent",
2229
+ "bytes_recovered",
2230
+ "bytes_total",
2231
+ "files",
2232
+ "files_percent",
2233
+ "files_recovered",
2234
+ "files_total",
2235
+ "index",
2236
+ "repository",
2237
+ "shard",
2238
+ "snapshot",
2239
+ "source_host",
2240
+ "source_node",
2241
+ "stage",
2242
+ "start_time",
2243
+ "start_time_millis",
2244
+ "stop_time",
2245
+ "stop_time_millis",
2246
+ "target_host",
2247
+ "target_node",
2248
+ "time",
2249
+ "translog_ops",
2250
+ "translog_ops_percent",
2251
+ "translog_ops_recovered",
2252
+ "type",
2253
+ ],
2254
+ ]
2255
+ ],
2256
+ t.Union[
2257
+ str,
2258
+ t.Literal[
2259
+ "bytes",
2260
+ "bytes_percent",
2261
+ "bytes_recovered",
2262
+ "bytes_total",
2263
+ "files",
2264
+ "files_percent",
2265
+ "files_recovered",
2266
+ "files_total",
2267
+ "index",
2268
+ "repository",
2269
+ "shard",
2270
+ "snapshot",
2271
+ "source_host",
2272
+ "source_node",
2273
+ "stage",
2274
+ "start_time",
2275
+ "start_time_millis",
2276
+ "stop_time",
2277
+ "stop_time_millis",
2278
+ "target_host",
2279
+ "target_node",
2280
+ "time",
2281
+ "translog_ops",
2282
+ "translog_ops_percent",
2283
+ "translog_ops_recovered",
2284
+ "type",
2285
+ ],
2286
+ ],
2287
+ ]
2288
+ ] = None,
2026
2289
  help: t.Optional[bool] = None,
2027
2290
  human: t.Optional[bool] = None,
2028
2291
  pretty: t.Optional[bool] = None,
@@ -2053,13 +2316,14 @@ class CatClient(NamespacedClient):
2053
2316
  shard recoveries.
2054
2317
  :param format: Specifies the format to return the columnar data in, can be set
2055
2318
  to `text`, `json`, `cbor`, `yaml`, or `smile`.
2056
- :param h: List of columns to appear in the response. Supports simple wildcards.
2319
+ :param h: A comma-separated list of columns names to display. It supports simple
2320
+ wildcards.
2057
2321
  :param help: When set to `true` will output available columns. This option can't
2058
2322
  be combined with any other query string option.
2059
- :param s: List of columns that determine how the table should be sorted. Sorting
2060
- defaults to ascending and can be changed by setting `:asc` or `:desc` as
2061
- a suffix to the column name.
2062
- :param time: Unit used to display time values.
2323
+ :param s: A comma-separated list of column names or aliases that determines the
2324
+ sort order. Sorting defaults to ascending and can be changed by setting `:asc`
2325
+ or `:desc` as a suffix to the column name.
2326
+ :param time: The unit used to display time values.
2063
2327
  :param v: When set to `true` will enable verbose output.
2064
2328
  """
2065
2329
  __path_parts: t.Dict[str, str]
@@ -2193,7 +2457,52 @@ class CatClient(NamespacedClient):
2193
2457
  error_trace: t.Optional[bool] = None,
2194
2458
  filter_path: t.Optional[t.Union[str, t.Sequence[str]]] = None,
2195
2459
  format: t.Optional[str] = None,
2196
- h: t.Optional[t.Union[str, t.Sequence[str]]] = None,
2460
+ h: t.Optional[
2461
+ t.Union[
2462
+ t.Sequence[
2463
+ t.Union[
2464
+ str,
2465
+ t.Literal[
2466
+ "committed",
2467
+ "compound",
2468
+ "docs.count",
2469
+ "docs.deleted",
2470
+ "generation",
2471
+ "id",
2472
+ "index",
2473
+ "ip",
2474
+ "prirep",
2475
+ "searchable",
2476
+ "segment",
2477
+ "shard",
2478
+ "size",
2479
+ "size.memory",
2480
+ "version",
2481
+ ],
2482
+ ]
2483
+ ],
2484
+ t.Union[
2485
+ str,
2486
+ t.Literal[
2487
+ "committed",
2488
+ "compound",
2489
+ "docs.count",
2490
+ "docs.deleted",
2491
+ "generation",
2492
+ "id",
2493
+ "index",
2494
+ "ip",
2495
+ "prirep",
2496
+ "searchable",
2497
+ "segment",
2498
+ "shard",
2499
+ "size",
2500
+ "size.memory",
2501
+ "version",
2502
+ ],
2503
+ ],
2504
+ ]
2505
+ ] = None,
2197
2506
  help: t.Optional[bool] = None,
2198
2507
  human: t.Optional[bool] = None,
2199
2508
  local: t.Optional[bool] = None,
@@ -2219,7 +2528,8 @@ class CatClient(NamespacedClient):
2219
2528
  :param bytes: The unit used to display byte values.
2220
2529
  :param format: Specifies the format to return the columnar data in, can be set
2221
2530
  to `text`, `json`, `cbor`, `yaml`, or `smile`.
2222
- :param h: List of columns to appear in the response. Supports simple wildcards.
2531
+ :param h: A comma-separated list of columns names to display. It supports simple
2532
+ wildcards.
2223
2533
  :param help: When set to `true` will output available columns. This option can't
2224
2534
  be combined with any other query string option.
2225
2535
  :param local: If `true`, the request computes the list of selected nodes from
@@ -2227,9 +2537,9 @@ class CatClient(NamespacedClient):
2227
2537
  from the cluster state of the master node. In both cases the coordinating
2228
2538
  node will send requests for further information to each selected node.
2229
2539
  :param master_timeout: Period to wait for a connection to the master node.
2230
- :param s: List of columns that determine how the table should be sorted. Sorting
2231
- defaults to ascending and can be changed by setting `:asc` or `:desc` as
2232
- a suffix to the column name.
2540
+ :param s: A comma-separated list of column names or aliases that determines the
2541
+ sort order. Sorting defaults to ascending and can be changed by setting `:asc`
2542
+ or `:desc` as a suffix to the column name.
2233
2543
  :param v: When set to `true` will enable verbose output.
2234
2544
  """
2235
2545
  __path_parts: t.Dict[str, str]
@@ -2285,7 +2595,162 @@ class CatClient(NamespacedClient):
2285
2595
  error_trace: t.Optional[bool] = None,
2286
2596
  filter_path: t.Optional[t.Union[str, t.Sequence[str]]] = None,
2287
2597
  format: t.Optional[str] = None,
2288
- h: t.Optional[t.Union[str, t.Sequence[str]]] = None,
2598
+ h: t.Optional[
2599
+ t.Union[
2600
+ t.Sequence[
2601
+ t.Union[
2602
+ str,
2603
+ t.Literal[
2604
+ "completion.size",
2605
+ "dataset.size",
2606
+ "dense_vector.value_count",
2607
+ "docs",
2608
+ "dsparse_vector.value_count",
2609
+ "fielddata.evictions",
2610
+ "fielddata.memory_size",
2611
+ "flush.total",
2612
+ "flush.total_time",
2613
+ "get.current",
2614
+ "get.exists_time",
2615
+ "get.exists_total",
2616
+ "get.missing_time",
2617
+ "get.missing_total",
2618
+ "get.time",
2619
+ "get.total",
2620
+ "id",
2621
+ "index",
2622
+ "indexing.delete_current",
2623
+ "indexing.delete_time",
2624
+ "indexing.delete_total",
2625
+ "indexing.index_current",
2626
+ "indexing.index_failed",
2627
+ "indexing.index_failed_due_to_version_conflict",
2628
+ "indexing.index_time",
2629
+ "indexing.index_total",
2630
+ "ip",
2631
+ "merges.current",
2632
+ "merges.current_docs",
2633
+ "merges.current_size",
2634
+ "merges.total",
2635
+ "merges.total_docs",
2636
+ "merges.total_size",
2637
+ "merges.total_time",
2638
+ "node",
2639
+ "prirep",
2640
+ "query_cache.evictions",
2641
+ "query_cache.memory_size",
2642
+ "recoverysource.type",
2643
+ "refresh.time",
2644
+ "refresh.total",
2645
+ "search.fetch_current",
2646
+ "search.fetch_time",
2647
+ "search.fetch_total",
2648
+ "search.open_contexts",
2649
+ "search.query_current",
2650
+ "search.query_time",
2651
+ "search.query_total",
2652
+ "search.scroll_current",
2653
+ "search.scroll_time",
2654
+ "search.scroll_total",
2655
+ "segments.count",
2656
+ "segments.fixed_bitset_memory",
2657
+ "segments.index_writer_memory",
2658
+ "segments.memory",
2659
+ "segments.version_map_memory",
2660
+ "seq_no.global_checkpoint",
2661
+ "seq_no.local_checkpoint",
2662
+ "seq_no.max",
2663
+ "shard",
2664
+ "state",
2665
+ "store",
2666
+ "suggest.current",
2667
+ "suggest.time",
2668
+ "suggest.total",
2669
+ "sync_id",
2670
+ "unassigned.at",
2671
+ "unassigned.details",
2672
+ "unassigned.for",
2673
+ "unassigned.reason",
2674
+ ],
2675
+ ]
2676
+ ],
2677
+ t.Union[
2678
+ str,
2679
+ t.Literal[
2680
+ "completion.size",
2681
+ "dataset.size",
2682
+ "dense_vector.value_count",
2683
+ "docs",
2684
+ "dsparse_vector.value_count",
2685
+ "fielddata.evictions",
2686
+ "fielddata.memory_size",
2687
+ "flush.total",
2688
+ "flush.total_time",
2689
+ "get.current",
2690
+ "get.exists_time",
2691
+ "get.exists_total",
2692
+ "get.missing_time",
2693
+ "get.missing_total",
2694
+ "get.time",
2695
+ "get.total",
2696
+ "id",
2697
+ "index",
2698
+ "indexing.delete_current",
2699
+ "indexing.delete_time",
2700
+ "indexing.delete_total",
2701
+ "indexing.index_current",
2702
+ "indexing.index_failed",
2703
+ "indexing.index_failed_due_to_version_conflict",
2704
+ "indexing.index_time",
2705
+ "indexing.index_total",
2706
+ "ip",
2707
+ "merges.current",
2708
+ "merges.current_docs",
2709
+ "merges.current_size",
2710
+ "merges.total",
2711
+ "merges.total_docs",
2712
+ "merges.total_size",
2713
+ "merges.total_time",
2714
+ "node",
2715
+ "prirep",
2716
+ "query_cache.evictions",
2717
+ "query_cache.memory_size",
2718
+ "recoverysource.type",
2719
+ "refresh.time",
2720
+ "refresh.total",
2721
+ "search.fetch_current",
2722
+ "search.fetch_time",
2723
+ "search.fetch_total",
2724
+ "search.open_contexts",
2725
+ "search.query_current",
2726
+ "search.query_time",
2727
+ "search.query_total",
2728
+ "search.scroll_current",
2729
+ "search.scroll_time",
2730
+ "search.scroll_total",
2731
+ "segments.count",
2732
+ "segments.fixed_bitset_memory",
2733
+ "segments.index_writer_memory",
2734
+ "segments.memory",
2735
+ "segments.version_map_memory",
2736
+ "seq_no.global_checkpoint",
2737
+ "seq_no.local_checkpoint",
2738
+ "seq_no.max",
2739
+ "shard",
2740
+ "state",
2741
+ "store",
2742
+ "suggest.current",
2743
+ "suggest.time",
2744
+ "suggest.total",
2745
+ "sync_id",
2746
+ "unassigned.at",
2747
+ "unassigned.details",
2748
+ "unassigned.for",
2749
+ "unassigned.reason",
2750
+ ],
2751
+ ],
2752
+ ]
2753
+ ] = None,
2289
2754
  help: t.Optional[bool] = None,
2290
2755
  human: t.Optional[bool] = None,
2291
2756
  master_timeout: t.Optional[t.Union[str, t.Literal[-1], t.Literal[0]]] = None,
@@ -2316,11 +2781,11 @@ class CatClient(NamespacedClient):
2316
2781
  :param h: List of columns to appear in the response. Supports simple wildcards.
2317
2782
  :param help: When set to `true` will output available columns. This option can't
2318
2783
  be combined with any other query string option.
2319
- :param master_timeout: Period to wait for a connection to the master node.
2320
- :param s: List of columns that determine how the table should be sorted. Sorting
2321
- defaults to ascending and can be changed by setting `:asc` or `:desc` as
2322
- a suffix to the column name.
2323
- :param time: Unit used to display time values.
2784
+ :param master_timeout: The period to wait for a connection to the master node.
2785
+ :param s: A comma-separated list of column names or aliases that determines the
2786
+ sort order. Sorting defaults to ascending and can be changed by setting `:asc`
2787
+ or `:desc` as a suffix to the column name.
2788
+ :param time: The unit used to display time values.
2324
2789
  :param v: When set to `true` will enable verbose output.
2325
2790
  """
2326
2791
  __path_parts: t.Dict[str, str]
@@ -2373,7 +2838,48 @@ class CatClient(NamespacedClient):
2373
2838
  error_trace: t.Optional[bool] = None,
2374
2839
  filter_path: t.Optional[t.Union[str, t.Sequence[str]]] = None,
2375
2840
  format: t.Optional[str] = None,
2376
- h: t.Optional[t.Union[str, t.Sequence[str]]] = None,
2841
+ h: t.Optional[
2842
+ t.Union[
2843
+ t.Sequence[
2844
+ t.Union[
2845
+ str,
2846
+ t.Literal[
2847
+ "duration",
2848
+ "end_epoch",
2849
+ "end_time",
2850
+ "failed_shards",
2851
+ "id",
2852
+ "indices",
2853
+ "reason",
2854
+ "repository",
2855
+ "start_epoch",
2856
+ "start_time",
2857
+ "status",
2858
+ "successful_shards",
2859
+ "total_shards",
2860
+ ],
2861
+ ]
2862
+ ],
2863
+ t.Union[
2864
+ str,
2865
+ t.Literal[
2866
+ "duration",
2867
+ "end_epoch",
2868
+ "end_time",
2869
+ "failed_shards",
2870
+ "id",
2871
+ "indices",
2872
+ "reason",
2873
+ "repository",
2874
+ "start_epoch",
2875
+ "start_time",
2876
+ "status",
2877
+ "successful_shards",
2878
+ "total_shards",
2879
+ ],
2880
+ ],
2881
+ ]
2882
+ ] = None,
2377
2883
  help: t.Optional[bool] = None,
2378
2884
  human: t.Optional[bool] = None,
2379
2885
  ignore_unavailable: t.Optional[bool] = None,
@@ -2401,7 +2907,8 @@ class CatClient(NamespacedClient):
2401
2907
  If any repository fails during the request, Elasticsearch returns an error.
2402
2908
  :param format: Specifies the format to return the columnar data in, can be set
2403
2909
  to `text`, `json`, `cbor`, `yaml`, or `smile`.
2404
- :param h: List of columns to appear in the response. Supports simple wildcards.
2910
+ :param h: A comma-separated list of columns names to display. It supports simple
2911
+ wildcards.
2405
2912
  :param help: When set to `true` will output available columns. This option can't
2406
2913
  be combined with any other query string option.
2407
2914
  :param ignore_unavailable: If `true`, the response does not include information
@@ -2648,7 +3155,62 @@ class CatClient(NamespacedClient):
2648
3155
  error_trace: t.Optional[bool] = None,
2649
3156
  filter_path: t.Optional[t.Union[str, t.Sequence[str]]] = None,
2650
3157
  format: t.Optional[str] = None,
2651
- h: t.Optional[t.Union[str, t.Sequence[str]]] = None,
3158
+ h: t.Optional[
3159
+ t.Union[
3160
+ t.Sequence[
3161
+ t.Union[
3162
+ str,
3163
+ t.Literal[
3164
+ "active",
3165
+ "completed",
3166
+ "core",
3167
+ "ephemeral_id",
3168
+ "host",
3169
+ "ip",
3170
+ "keep_alive",
3171
+ "largest",
3172
+ "max",
3173
+ "name",
3174
+ "node_id",
3175
+ "node_name",
3176
+ "pid",
3177
+ "pool_size",
3178
+ "port",
3179
+ "queue",
3180
+ "queue_size",
3181
+ "rejected",
3182
+ "size",
3183
+ "type",
3184
+ ],
3185
+ ]
3186
+ ],
3187
+ t.Union[
3188
+ str,
3189
+ t.Literal[
3190
+ "active",
3191
+ "completed",
3192
+ "core",
3193
+ "ephemeral_id",
3194
+ "host",
3195
+ "ip",
3196
+ "keep_alive",
3197
+ "largest",
3198
+ "max",
3199
+ "name",
3200
+ "node_id",
3201
+ "node_name",
3202
+ "pid",
3203
+ "pool_size",
3204
+ "port",
3205
+ "queue",
3206
+ "queue_size",
3207
+ "rejected",
3208
+ "size",
3209
+ "type",
3210
+ ],
3211
+ ],
3212
+ ]
3213
+ ] = None,
2652
3214
  help: t.Optional[bool] = None,
2653
3215
  human: t.Optional[bool] = None,
2654
3216
  local: t.Optional[bool] = None,
@@ -2682,10 +3244,10 @@ class CatClient(NamespacedClient):
2682
3244
  the local cluster state. If `false` the list of selected nodes are computed
2683
3245
  from the cluster state of the master node. In both cases the coordinating
2684
3246
  node will send requests for further information to each selected node.
2685
- :param master_timeout: Period to wait for a connection to the master node.
2686
- :param s: List of columns that determine how the table should be sorted. Sorting
2687
- defaults to ascending and can be changed by setting `:asc` or `:desc` as
2688
- a suffix to the column name.
3247
+ :param master_timeout: The period to wait for a connection to the master node.
3248
+ :param s: A comma-separated list of column names or aliases that determines the
3249
+ sort order. Sorting defaults to ascending and can be changed by setting `:asc`
3250
+ or `:desc` as a suffix to the column name.
2689
3251
  :param time: The unit used to display time values.
2690
3252
  :param v: When set to `true` will enable verbose output.
2691
3253
  """