elasticsearch 8.16.0__py3-none-any.whl → 8.17.1__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 (90) hide show
  1. elasticsearch/_async/client/__init__.py +234 -96
  2. elasticsearch/_async/client/async_search.py +12 -22
  3. elasticsearch/_async/client/autoscaling.py +39 -4
  4. elasticsearch/_async/client/cat.py +90 -221
  5. elasticsearch/_async/client/ccr.py +85 -35
  6. elasticsearch/_async/client/cluster.py +160 -68
  7. elasticsearch/_async/client/connector.py +362 -25
  8. elasticsearch/_async/client/dangling_indices.py +3 -3
  9. elasticsearch/_async/client/enrich.py +6 -6
  10. elasticsearch/_async/client/eql.py +13 -11
  11. elasticsearch/_async/client/esql.py +3 -2
  12. elasticsearch/_async/client/features.py +27 -5
  13. elasticsearch/_async/client/fleet.py +1 -1
  14. elasticsearch/_async/client/graph.py +9 -3
  15. elasticsearch/_async/client/ilm.py +74 -39
  16. elasticsearch/_async/client/indices.py +633 -152
  17. elasticsearch/_async/client/inference.py +99 -16
  18. elasticsearch/_async/client/ingest.py +201 -23
  19. elasticsearch/_async/client/license.py +38 -22
  20. elasticsearch/_async/client/logstash.py +12 -9
  21. elasticsearch/_async/client/migration.py +17 -8
  22. elasticsearch/_async/client/ml.py +137 -79
  23. elasticsearch/_async/client/monitoring.py +3 -2
  24. elasticsearch/_async/client/nodes.py +37 -23
  25. elasticsearch/_async/client/query_rules.py +47 -25
  26. elasticsearch/_async/client/rollup.py +96 -21
  27. elasticsearch/_async/client/search_application.py +138 -9
  28. elasticsearch/_async/client/searchable_snapshots.py +33 -24
  29. elasticsearch/_async/client/security.py +751 -123
  30. elasticsearch/_async/client/shutdown.py +38 -15
  31. elasticsearch/_async/client/simulate.py +151 -0
  32. elasticsearch/_async/client/slm.py +147 -28
  33. elasticsearch/_async/client/snapshot.py +309 -25
  34. elasticsearch/_async/client/sql.py +79 -58
  35. elasticsearch/_async/client/ssl.py +1 -1
  36. elasticsearch/_async/client/synonyms.py +52 -29
  37. elasticsearch/_async/client/tasks.py +71 -31
  38. elasticsearch/_async/client/text_structure.py +468 -48
  39. elasticsearch/_async/client/transform.py +21 -14
  40. elasticsearch/_async/client/watcher.py +226 -60
  41. elasticsearch/_async/client/xpack.py +13 -8
  42. elasticsearch/_sync/client/__init__.py +234 -96
  43. elasticsearch/_sync/client/async_search.py +12 -22
  44. elasticsearch/_sync/client/autoscaling.py +39 -4
  45. elasticsearch/_sync/client/cat.py +90 -221
  46. elasticsearch/_sync/client/ccr.py +85 -35
  47. elasticsearch/_sync/client/cluster.py +160 -68
  48. elasticsearch/_sync/client/connector.py +362 -25
  49. elasticsearch/_sync/client/dangling_indices.py +3 -3
  50. elasticsearch/_sync/client/enrich.py +6 -6
  51. elasticsearch/_sync/client/eql.py +13 -11
  52. elasticsearch/_sync/client/esql.py +3 -2
  53. elasticsearch/_sync/client/features.py +27 -5
  54. elasticsearch/_sync/client/fleet.py +1 -1
  55. elasticsearch/_sync/client/graph.py +9 -3
  56. elasticsearch/_sync/client/ilm.py +74 -39
  57. elasticsearch/_sync/client/indices.py +633 -152
  58. elasticsearch/_sync/client/inference.py +99 -16
  59. elasticsearch/_sync/client/ingest.py +201 -23
  60. elasticsearch/_sync/client/license.py +38 -22
  61. elasticsearch/_sync/client/logstash.py +12 -9
  62. elasticsearch/_sync/client/migration.py +17 -8
  63. elasticsearch/_sync/client/ml.py +137 -79
  64. elasticsearch/_sync/client/monitoring.py +3 -2
  65. elasticsearch/_sync/client/nodes.py +37 -23
  66. elasticsearch/_sync/client/query_rules.py +47 -25
  67. elasticsearch/_sync/client/rollup.py +96 -21
  68. elasticsearch/_sync/client/search_application.py +138 -9
  69. elasticsearch/_sync/client/searchable_snapshots.py +33 -24
  70. elasticsearch/_sync/client/security.py +751 -123
  71. elasticsearch/_sync/client/shutdown.py +38 -15
  72. elasticsearch/_sync/client/simulate.py +151 -0
  73. elasticsearch/_sync/client/slm.py +147 -28
  74. elasticsearch/_sync/client/snapshot.py +309 -25
  75. elasticsearch/_sync/client/sql.py +79 -58
  76. elasticsearch/_sync/client/ssl.py +1 -1
  77. elasticsearch/_sync/client/synonyms.py +52 -29
  78. elasticsearch/_sync/client/tasks.py +71 -31
  79. elasticsearch/_sync/client/text_structure.py +468 -48
  80. elasticsearch/_sync/client/transform.py +21 -14
  81. elasticsearch/_sync/client/watcher.py +226 -60
  82. elasticsearch/_sync/client/xpack.py +13 -8
  83. elasticsearch/_version.py +1 -1
  84. elasticsearch/client.py +2 -0
  85. {elasticsearch-8.16.0.dist-info → elasticsearch-8.17.1.dist-info}/METADATA +6 -4
  86. elasticsearch-8.17.1.dist-info/RECORD +119 -0
  87. {elasticsearch-8.16.0.dist-info → elasticsearch-8.17.1.dist-info}/WHEEL +1 -1
  88. elasticsearch-8.16.0.dist-info/RECORD +0 -117
  89. {elasticsearch-8.16.0.dist-info → elasticsearch-8.17.1.dist-info}/licenses/LICENSE +0 -0
  90. {elasticsearch-8.16.0.dist-info → elasticsearch-8.17.1.dist-info}/licenses/NOTICE +0 -0
@@ -63,7 +63,7 @@ class CatClient(NamespacedClient):
63
63
  not intended for use by applications. For application consumption, use the aliases
64
64
  API.
65
65
 
66
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.16/cat-alias.html>`_
66
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-alias.html>`_
67
67
 
68
68
  :param name: A comma-separated list of aliases to retrieve. Supports wildcards
69
69
  (`*`). To retrieve all aliases, omit this parameter or use `*` or `_all`.
@@ -151,7 +151,7 @@ class CatClient(NamespacedClient):
151
151
  disk space. IMPORTANT: cat APIs are only intended for human consumption using
152
152
  the command line or Kibana console. They are not intended for use by applications.
153
153
 
154
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.16/cat-allocation.html>`_
154
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-allocation.html>`_
155
155
 
156
156
  :param node_id: Comma-separated list of node identifiers or names used to limit
157
157
  the returned information.
@@ -238,7 +238,7 @@ class CatClient(NamespacedClient):
238
238
  for use by applications. For application consumption, use the get component template
239
239
  API.
240
240
 
241
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.16/cat-component-templates.html>`_
241
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-component-templates.html>`_
242
242
 
243
243
  :param name: The name of the component template. Accepts wildcard expressions.
244
244
  If omitted, all component templates are returned.
@@ -308,8 +308,6 @@ class CatClient(NamespacedClient):
308
308
  h: t.Optional[t.Union[str, t.Sequence[str]]] = None,
309
309
  help: t.Optional[bool] = None,
310
310
  human: t.Optional[bool] = None,
311
- local: t.Optional[bool] = None,
312
- master_timeout: t.Optional[t.Union[str, t.Literal[-1], t.Literal[0]]] = None,
313
311
  pretty: t.Optional[bool] = None,
314
312
  s: t.Optional[t.Union[str, t.Sequence[str]]] = None,
315
313
  v: t.Optional[bool] = None,
@@ -322,7 +320,7 @@ class CatClient(NamespacedClient):
322
320
  console. They are not intended for use by applications. For application consumption,
323
321
  use the count API.
324
322
 
325
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.16/cat-count.html>`_
323
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-count.html>`_
326
324
 
327
325
  :param index: Comma-separated list of data streams, indices, and aliases used
328
326
  to limit the request. Supports wildcards (`*`). To target all data streams
@@ -332,11 +330,6 @@ class CatClient(NamespacedClient):
332
330
  :param h: List of columns to appear in the response. Supports simple wildcards.
333
331
  :param help: When set to `true` will output available columns. This option can't
334
332
  be combined with any other query string option.
335
- :param local: If `true`, the request computes the list of selected nodes from
336
- the local cluster state. If `false` the list of selected nodes are computed
337
- from the cluster state of the master node. In both cases the coordinating
338
- node will send requests for further information to each selected node.
339
- :param master_timeout: Period to wait for a connection to the master node.
340
333
  :param s: List of columns that determine how the table should be sorted. Sorting
341
334
  defaults to ascending and can be changed by setting `:asc` or `:desc` as
342
335
  a suffix to the column name.
@@ -362,10 +355,6 @@ class CatClient(NamespacedClient):
362
355
  __query["help"] = help
363
356
  if human is not None:
364
357
  __query["human"] = human
365
- if local is not None:
366
- __query["local"] = local
367
- if master_timeout is not None:
368
- __query["master_timeout"] = master_timeout
369
358
  if pretty is not None:
370
359
  __query["pretty"] = pretty
371
360
  if s is not None:
@@ -396,8 +385,6 @@ class CatClient(NamespacedClient):
396
385
  h: t.Optional[t.Union[str, t.Sequence[str]]] = None,
397
386
  help: t.Optional[bool] = None,
398
387
  human: t.Optional[bool] = None,
399
- local: t.Optional[bool] = None,
400
- master_timeout: t.Optional[t.Union[str, t.Literal[-1], t.Literal[0]]] = None,
401
388
  pretty: t.Optional[bool] = None,
402
389
  s: t.Optional[t.Union[str, t.Sequence[str]]] = None,
403
390
  v: t.Optional[bool] = None,
@@ -408,7 +395,7 @@ class CatClient(NamespacedClient):
408
395
  using the command line or Kibana console. They are not intended for use by applications.
409
396
  For application consumption, use the nodes stats API.
410
397
 
411
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.16/cat-fielddata.html>`_
398
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-fielddata.html>`_
412
399
 
413
400
  :param fields: Comma-separated list of fields used to limit returned information.
414
401
  To retrieve all fields, omit this parameter.
@@ -418,11 +405,6 @@ class CatClient(NamespacedClient):
418
405
  :param h: List of columns to appear in the response. Supports simple wildcards.
419
406
  :param help: When set to `true` will output available columns. This option can't
420
407
  be combined with any other query string option.
421
- :param local: If `true`, the request computes the list of selected nodes from
422
- the local cluster state. If `false` the list of selected nodes are computed
423
- from the cluster state of the master node. In both cases the coordinating
424
- node will send requests for further information to each selected node.
425
- :param master_timeout: Period to wait for a connection to the master node.
426
408
  :param s: List of columns that determine how the table should be sorted. Sorting
427
409
  defaults to ascending and can be changed by setting `:asc` or `:desc` as
428
410
  a suffix to the column name.
@@ -450,10 +432,6 @@ class CatClient(NamespacedClient):
450
432
  __query["help"] = help
451
433
  if human is not None:
452
434
  __query["human"] = human
453
- if local is not None:
454
- __query["local"] = local
455
- if master_timeout is not None:
456
- __query["master_timeout"] = master_timeout
457
435
  if pretty is not None:
458
436
  __query["pretty"] = pretty
459
437
  if s is not None:
@@ -480,8 +458,6 @@ class CatClient(NamespacedClient):
480
458
  h: t.Optional[t.Union[str, t.Sequence[str]]] = None,
481
459
  help: t.Optional[bool] = None,
482
460
  human: t.Optional[bool] = None,
483
- local: t.Optional[bool] = None,
484
- master_timeout: t.Optional[t.Union[str, t.Literal[-1], t.Literal[0]]] = None,
485
461
  pretty: t.Optional[bool] = None,
486
462
  s: t.Optional[t.Union[str, t.Sequence[str]]] = None,
487
463
  time: t.Optional[
@@ -503,18 +479,13 @@ class CatClient(NamespacedClient):
503
479
  across multiple nodes. You also can use the API to track the recovery of a large
504
480
  cluster over a longer period of time.
505
481
 
506
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.16/cat-health.html>`_
482
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-health.html>`_
507
483
 
508
484
  :param format: Specifies the format to return the columnar data in, can be set
509
485
  to `text`, `json`, `cbor`, `yaml`, or `smile`.
510
486
  :param h: List of columns to appear in the response. Supports simple wildcards.
511
487
  :param help: When set to `true` will output available columns. This option can't
512
488
  be combined with any other query string option.
513
- :param local: If `true`, the request computes the list of selected nodes from
514
- the local cluster state. If `false` the list of selected nodes are computed
515
- from the cluster state of the master node. In both cases the coordinating
516
- node will send requests for further information to each selected node.
517
- :param master_timeout: Period to wait for a connection to the master node.
518
489
  :param s: List of columns that determine how the table should be sorted. Sorting
519
490
  defaults to ascending and can be changed by setting `:asc` or `:desc` as
520
491
  a suffix to the column name.
@@ -537,10 +508,6 @@ class CatClient(NamespacedClient):
537
508
  __query["help"] = help
538
509
  if human is not None:
539
510
  __query["human"] = human
540
- if local is not None:
541
- __query["local"] = local
542
- if master_timeout is not None:
543
- __query["master_timeout"] = master_timeout
544
511
  if pretty is not None:
545
512
  __query["pretty"] = pretty
546
513
  if s is not None:
@@ -562,66 +529,15 @@ class CatClient(NamespacedClient):
562
529
  )
563
530
 
564
531
  @_rewrite_parameters()
565
- def help(
566
- self,
567
- *,
568
- error_trace: t.Optional[bool] = None,
569
- filter_path: t.Optional[t.Union[str, t.Sequence[str]]] = None,
570
- format: t.Optional[str] = None,
571
- h: t.Optional[t.Union[str, t.Sequence[str]]] = None,
572
- help: t.Optional[bool] = None,
573
- human: t.Optional[bool] = None,
574
- local: t.Optional[bool] = None,
575
- master_timeout: t.Optional[t.Union[str, t.Literal[-1], t.Literal[0]]] = None,
576
- pretty: t.Optional[bool] = None,
577
- s: t.Optional[t.Union[str, t.Sequence[str]]] = None,
578
- v: t.Optional[bool] = None,
579
- ) -> TextApiResponse:
532
+ def help(self) -> TextApiResponse:
580
533
  """
581
534
  Get CAT help. Returns help for the CAT APIs.
582
535
 
583
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.16/cat.html>`_
584
-
585
- :param format: Specifies the format to return the columnar data in, can be set
586
- to `text`, `json`, `cbor`, `yaml`, or `smile`.
587
- :param h: List of columns to appear in the response. Supports simple wildcards.
588
- :param help: When set to `true` will output available columns. This option can't
589
- be combined with any other query string option.
590
- :param local: If `true`, the request computes the list of selected nodes from
591
- the local cluster state. If `false` the list of selected nodes are computed
592
- from the cluster state of the master node. In both cases the coordinating
593
- node will send requests for further information to each selected node.
594
- :param master_timeout: Period to wait for a connection to the master node.
595
- :param s: List of columns that determine how the table should be sorted. Sorting
596
- defaults to ascending and can be changed by setting `:asc` or `:desc` as
597
- a suffix to the column name.
598
- :param v: When set to `true` will enable verbose output.
536
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat.html>`_
599
537
  """
600
538
  __path_parts: t.Dict[str, str] = {}
601
539
  __path = "/_cat"
602
540
  __query: t.Dict[str, t.Any] = {}
603
- if error_trace is not None:
604
- __query["error_trace"] = error_trace
605
- if filter_path is not None:
606
- __query["filter_path"] = filter_path
607
- if format is not None:
608
- __query["format"] = format
609
- if h is not None:
610
- __query["h"] = h
611
- if help is not None:
612
- __query["help"] = help
613
- if human is not None:
614
- __query["human"] = human
615
- if local is not None:
616
- __query["local"] = local
617
- if master_timeout is not None:
618
- __query["master_timeout"] = master_timeout
619
- if pretty is not None:
620
- __query["pretty"] = pretty
621
- if s is not None:
622
- __query["s"] = s
623
- if v is not None:
624
- __query["v"] = v
625
541
  __headers = {"accept": "text/plain"}
626
542
  return self.perform_request( # type: ignore[return-value]
627
543
  "GET",
@@ -656,7 +572,6 @@ class CatClient(NamespacedClient):
656
572
  help: t.Optional[bool] = None,
657
573
  human: t.Optional[bool] = None,
658
574
  include_unloaded_segments: t.Optional[bool] = None,
659
- local: t.Optional[bool] = None,
660
575
  master_timeout: t.Optional[t.Union[str, t.Literal[-1], t.Literal[0]]] = None,
661
576
  pretty: t.Optional[bool] = None,
662
577
  pri: t.Optional[bool] = None,
@@ -678,7 +593,7 @@ class CatClient(NamespacedClient):
678
593
  using the command line or Kibana console. They are not intended for use by applications.
679
594
  For application consumption, use an index endpoint.
680
595
 
681
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.16/cat-indices.html>`_
596
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-indices.html>`_
682
597
 
683
598
  :param index: Comma-separated list of data streams, indices, and aliases used
684
599
  to limit the request. Supports wildcards (`*`). To target all data streams
@@ -694,10 +609,6 @@ class CatClient(NamespacedClient):
694
609
  be combined with any other query string option.
695
610
  :param include_unloaded_segments: If true, the response includes information
696
611
  from segments that are not loaded into memory.
697
- :param local: If `true`, the request computes the list of selected nodes from
698
- the local cluster state. If `false` the list of selected nodes are computed
699
- from the cluster state of the master node. In both cases the coordinating
700
- node will send requests for further information to each selected node.
701
612
  :param master_timeout: Period to wait for a connection to the master node.
702
613
  :param pri: If true, the response only includes information from primary shards.
703
614
  :param s: List of columns that determine how the table should be sorted. Sorting
@@ -734,8 +645,6 @@ class CatClient(NamespacedClient):
734
645
  __query["human"] = human
735
646
  if include_unloaded_segments is not None:
736
647
  __query["include_unloaded_segments"] = include_unloaded_segments
737
- if local is not None:
738
- __query["local"] = local
739
648
  if master_timeout is not None:
740
649
  __query["master_timeout"] = master_timeout
741
650
  if pretty is not None:
@@ -780,7 +689,7 @@ class CatClient(NamespacedClient):
780
689
  command line or Kibana console. They are not intended for use by applications.
781
690
  For application consumption, use the nodes info API.
782
691
 
783
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.16/cat-master.html>`_
692
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-master.html>`_
784
693
 
785
694
  :param format: Specifies the format to return the columnar data in, can be set
786
695
  to `text`, `json`, `cbor`, `yaml`, or `smile`.
@@ -894,8 +803,6 @@ class CatClient(NamespacedClient):
894
803
  ] = None,
895
804
  help: t.Optional[bool] = None,
896
805
  human: t.Optional[bool] = None,
897
- local: t.Optional[bool] = None,
898
- master_timeout: t.Optional[t.Union[str, t.Literal[-1], t.Literal[0]]] = None,
899
806
  pretty: t.Optional[bool] = None,
900
807
  s: t.Optional[
901
808
  t.Union[
@@ -945,7 +852,9 @@ class CatClient(NamespacedClient):
945
852
  ],
946
853
  ]
947
854
  ] = None,
948
- time: t.Optional[t.Union[str, t.Literal[-1], t.Literal[0]]] = None,
855
+ time: t.Optional[
856
+ t.Union[str, t.Literal["d", "h", "m", "micros", "ms", "nanos", "s"]]
857
+ ] = None,
949
858
  v: t.Optional[bool] = None,
950
859
  ) -> t.Union[ObjectApiResponse[t.Any], TextApiResponse]:
951
860
  """
@@ -955,7 +864,7 @@ class CatClient(NamespacedClient):
955
864
  For application consumption, use the get data frame analytics jobs statistics
956
865
  API.
957
866
 
958
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.16/cat-dfanalytics.html>`_
867
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-dfanalytics.html>`_
959
868
 
960
869
  :param id: The ID of the data frame analytics to fetch
961
870
  :param allow_no_match: Whether to ignore if a wildcard expression matches no
@@ -966,11 +875,6 @@ class CatClient(NamespacedClient):
966
875
  :param h: Comma-separated list of column names to display.
967
876
  :param help: When set to `true` will output available columns. This option can't
968
877
  be combined with any other query string option.
969
- :param local: If `true`, the request computes the list of selected nodes from
970
- the local cluster state. If `false` the list of selected nodes are computed
971
- from the cluster state of the master node. In both cases the coordinating
972
- node will send requests for further information to each selected node.
973
- :param master_timeout: Period to wait for a connection to the master node.
974
878
  :param s: Comma-separated list of column names or column aliases used to sort
975
879
  the response.
976
880
  :param time: Unit used to display time values.
@@ -1000,10 +904,6 @@ class CatClient(NamespacedClient):
1000
904
  __query["help"] = help
1001
905
  if human is not None:
1002
906
  __query["human"] = human
1003
- if local is not None:
1004
- __query["local"] = local
1005
- if master_timeout is not None:
1006
- __query["master_timeout"] = master_timeout
1007
907
  if pretty is not None:
1008
908
  __query["pretty"] = pretty
1009
909
  if s is not None:
@@ -1073,8 +973,6 @@ class CatClient(NamespacedClient):
1073
973
  ] = None,
1074
974
  help: t.Optional[bool] = None,
1075
975
  human: t.Optional[bool] = None,
1076
- local: t.Optional[bool] = None,
1077
- master_timeout: t.Optional[t.Union[str, t.Literal[-1], t.Literal[0]]] = None,
1078
976
  pretty: t.Optional[bool] = None,
1079
977
  s: t.Optional[
1080
978
  t.Union[
@@ -1129,7 +1027,7 @@ class CatClient(NamespacedClient):
1129
1027
  using the Kibana console or command line. They are not intended for use by applications.
1130
1028
  For application consumption, use the get datafeed statistics API.
1131
1029
 
1132
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.16/cat-datafeeds.html>`_
1030
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-datafeeds.html>`_
1133
1031
 
1134
1032
  :param datafeed_id: A numerical character string that uniquely identifies the
1135
1033
  datafeed.
@@ -1145,11 +1043,6 @@ class CatClient(NamespacedClient):
1145
1043
  :param h: Comma-separated list of column names to display.
1146
1044
  :param help: When set to `true` will output available columns. This option can't
1147
1045
  be combined with any other query string option.
1148
- :param local: If `true`, the request computes the list of selected nodes from
1149
- the local cluster state. If `false` the list of selected nodes are computed
1150
- from the cluster state of the master node. In both cases the coordinating
1151
- node will send requests for further information to each selected node.
1152
- :param master_timeout: Period to wait for a connection to the master node.
1153
1046
  :param s: Comma-separated list of column names or column aliases used to sort
1154
1047
  the response.
1155
1048
  :param time: The unit used to display time values.
@@ -1177,10 +1070,6 @@ class CatClient(NamespacedClient):
1177
1070
  __query["help"] = help
1178
1071
  if human is not None:
1179
1072
  __query["human"] = human
1180
- if local is not None:
1181
- __query["local"] = local
1182
- if master_timeout is not None:
1183
- __query["master_timeout"] = master_timeout
1184
1073
  if pretty is not None:
1185
1074
  __query["pretty"] = pretty
1186
1075
  if s is not None:
@@ -1349,8 +1238,6 @@ class CatClient(NamespacedClient):
1349
1238
  ] = None,
1350
1239
  help: t.Optional[bool] = None,
1351
1240
  human: t.Optional[bool] = None,
1352
- local: t.Optional[bool] = None,
1353
- master_timeout: t.Optional[t.Union[str, t.Literal[-1], t.Literal[0]]] = None,
1354
1241
  pretty: t.Optional[bool] = None,
1355
1242
  s: t.Optional[
1356
1243
  t.Union[
@@ -1502,7 +1389,7 @@ class CatClient(NamespacedClient):
1502
1389
  for use by applications. For application consumption, use the get anomaly detection
1503
1390
  job statistics API.
1504
1391
 
1505
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.16/cat-anomaly-detectors.html>`_
1392
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-anomaly-detectors.html>`_
1506
1393
 
1507
1394
  :param job_id: Identifier for the anomaly detection job.
1508
1395
  :param allow_no_match: Specifies what to do when the request: * Contains wildcard
@@ -1518,11 +1405,6 @@ class CatClient(NamespacedClient):
1518
1405
  :param h: Comma-separated list of column names to display.
1519
1406
  :param help: When set to `true` will output available columns. This option can't
1520
1407
  be combined with any other query string option.
1521
- :param local: If `true`, the request computes the list of selected nodes from
1522
- the local cluster state. If `false` the list of selected nodes are computed
1523
- from the cluster state of the master node. In both cases the coordinating
1524
- node will send requests for further information to each selected node.
1525
- :param master_timeout: Period to wait for a connection to the master node.
1526
1408
  :param s: Comma-separated list of column names or column aliases used to sort
1527
1409
  the response.
1528
1410
  :param time: The unit used to display time values.
@@ -1552,10 +1434,6 @@ class CatClient(NamespacedClient):
1552
1434
  __query["help"] = help
1553
1435
  if human is not None:
1554
1436
  __query["human"] = human
1555
- if local is not None:
1556
- __query["local"] = local
1557
- if master_timeout is not None:
1558
- __query["master_timeout"] = master_timeout
1559
1437
  if pretty is not None:
1560
1438
  __query["pretty"] = pretty
1561
1439
  if s is not None:
@@ -1635,8 +1513,6 @@ class CatClient(NamespacedClient):
1635
1513
  ] = None,
1636
1514
  help: t.Optional[bool] = None,
1637
1515
  human: t.Optional[bool] = None,
1638
- local: t.Optional[bool] = None,
1639
- master_timeout: t.Optional[t.Union[str, t.Literal[-1], t.Literal[0]]] = None,
1640
1516
  pretty: t.Optional[bool] = None,
1641
1517
  s: t.Optional[
1642
1518
  t.Union[
@@ -1683,6 +1559,9 @@ class CatClient(NamespacedClient):
1683
1559
  ]
1684
1560
  ] = None,
1685
1561
  size: t.Optional[int] = None,
1562
+ time: t.Optional[
1563
+ t.Union[str, t.Literal["d", "h", "m", "micros", "ms", "nanos", "s"]]
1564
+ ] = None,
1686
1565
  v: t.Optional[bool] = None,
1687
1566
  ) -> t.Union[ObjectApiResponse[t.Any], TextApiResponse]:
1688
1567
  """
@@ -1691,7 +1570,7 @@ class CatClient(NamespacedClient):
1691
1570
  console or command line. They are not intended for use by applications. For application
1692
1571
  consumption, use the get trained models statistics API.
1693
1572
 
1694
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.16/cat-trained-model.html>`_
1573
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-trained-model.html>`_
1695
1574
 
1696
1575
  :param model_id: A unique identifier for the trained model.
1697
1576
  :param allow_no_match: Specifies what to do when the request: contains wildcard
@@ -1708,14 +1587,10 @@ class CatClient(NamespacedClient):
1708
1587
  :param h: A comma-separated list of column names to display.
1709
1588
  :param help: When set to `true` will output available columns. This option can't
1710
1589
  be combined with any other query string option.
1711
- :param local: If `true`, the request computes the list of selected nodes from
1712
- the local cluster state. If `false` the list of selected nodes are computed
1713
- from the cluster state of the master node. In both cases the coordinating
1714
- node will send requests for further information to each selected node.
1715
- :param master_timeout: Period to wait for a connection to the master node.
1716
1590
  :param s: A comma-separated list of column names or aliases used to sort the
1717
1591
  response.
1718
1592
  :param size: The maximum number of transforms to display.
1593
+ :param time: Unit used to display time values.
1719
1594
  :param v: When set to `true` will enable verbose output.
1720
1595
  """
1721
1596
  __path_parts: t.Dict[str, str]
@@ -1744,16 +1619,14 @@ class CatClient(NamespacedClient):
1744
1619
  __query["help"] = help
1745
1620
  if human is not None:
1746
1621
  __query["human"] = human
1747
- if local is not None:
1748
- __query["local"] = local
1749
- if master_timeout is not None:
1750
- __query["master_timeout"] = master_timeout
1751
1622
  if pretty is not None:
1752
1623
  __query["pretty"] = pretty
1753
1624
  if s is not None:
1754
1625
  __query["s"] = s
1755
1626
  if size is not None:
1756
1627
  __query["size"] = size
1628
+ if time is not None:
1629
+ __query["time"] = time
1757
1630
  if v is not None:
1758
1631
  __query["v"] = v
1759
1632
  __headers = {"accept": "text/plain,application/json"}
@@ -1788,7 +1661,7 @@ class CatClient(NamespacedClient):
1788
1661
  are not intended for use by applications. For application consumption, use the
1789
1662
  nodes info API.
1790
1663
 
1791
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.16/cat-nodeattrs.html>`_
1664
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-nodeattrs.html>`_
1792
1665
 
1793
1666
  :param format: Specifies the format to return the columnar data in, can be set
1794
1667
  to `text`, `json`, `cbor`, `yaml`, or `smile`.
@@ -1855,10 +1728,12 @@ class CatClient(NamespacedClient):
1855
1728
  help: t.Optional[bool] = None,
1856
1729
  human: t.Optional[bool] = None,
1857
1730
  include_unloaded_segments: t.Optional[bool] = None,
1858
- local: t.Optional[bool] = None,
1859
1731
  master_timeout: t.Optional[t.Union[str, t.Literal[-1], t.Literal[0]]] = None,
1860
1732
  pretty: t.Optional[bool] = None,
1861
1733
  s: t.Optional[t.Union[str, t.Sequence[str]]] = None,
1734
+ time: t.Optional[
1735
+ t.Union[str, t.Literal["d", "h", "m", "micros", "ms", "nanos", "s"]]
1736
+ ] = None,
1862
1737
  v: t.Optional[bool] = None,
1863
1738
  ) -> t.Union[ObjectApiResponse[t.Any], TextApiResponse]:
1864
1739
  """
@@ -1867,7 +1742,7 @@ class CatClient(NamespacedClient):
1867
1742
  are not intended for use by applications. For application consumption, use the
1868
1743
  nodes info API.
1869
1744
 
1870
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.16/cat-nodes.html>`_
1745
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-nodes.html>`_
1871
1746
 
1872
1747
  :param bytes: The unit used to display byte values.
1873
1748
  :param format: Specifies the format to return the columnar data in, can be set
@@ -1879,14 +1754,11 @@ class CatClient(NamespacedClient):
1879
1754
  be combined with any other query string option.
1880
1755
  :param include_unloaded_segments: If true, the response includes information
1881
1756
  from segments that are not loaded into memory.
1882
- :param local: If `true`, the request computes the list of selected nodes from
1883
- the local cluster state. If `false` the list of selected nodes are computed
1884
- from the cluster state of the master node. In both cases the coordinating
1885
- node will send requests for further information to each selected node.
1886
1757
  :param master_timeout: Period to wait for a connection to the master node.
1887
1758
  :param s: List of columns that determine how the table should be sorted. Sorting
1888
1759
  defaults to ascending and can be changed by setting `:asc` or `:desc` as
1889
1760
  a suffix to the column name.
1761
+ :param time: Unit used to display time values.
1890
1762
  :param v: When set to `true` will enable verbose output.
1891
1763
  """
1892
1764
  __path_parts: t.Dict[str, str] = {}
@@ -1910,14 +1782,14 @@ class CatClient(NamespacedClient):
1910
1782
  __query["human"] = human
1911
1783
  if include_unloaded_segments is not None:
1912
1784
  __query["include_unloaded_segments"] = include_unloaded_segments
1913
- if local is not None:
1914
- __query["local"] = local
1915
1785
  if master_timeout is not None:
1916
1786
  __query["master_timeout"] = master_timeout
1917
1787
  if pretty is not None:
1918
1788
  __query["pretty"] = pretty
1919
1789
  if s is not None:
1920
1790
  __query["s"] = s
1791
+ if time is not None:
1792
+ __query["time"] = time
1921
1793
  if v is not None:
1922
1794
  __query["v"] = v
1923
1795
  __headers = {"accept": "text/plain,application/json"}
@@ -1944,6 +1816,9 @@ class CatClient(NamespacedClient):
1944
1816
  master_timeout: t.Optional[t.Union[str, t.Literal[-1], t.Literal[0]]] = None,
1945
1817
  pretty: t.Optional[bool] = None,
1946
1818
  s: t.Optional[t.Union[str, t.Sequence[str]]] = None,
1819
+ time: t.Optional[
1820
+ t.Union[str, t.Literal["d", "h", "m", "micros", "ms", "nanos", "s"]]
1821
+ ] = None,
1947
1822
  v: t.Optional[bool] = None,
1948
1823
  ) -> t.Union[ObjectApiResponse[t.Any], TextApiResponse]:
1949
1824
  """
@@ -1952,7 +1827,7 @@ class CatClient(NamespacedClient):
1952
1827
  console. They are not intended for use by applications. For application consumption,
1953
1828
  use the pending cluster tasks API.
1954
1829
 
1955
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.16/cat-pending-tasks.html>`_
1830
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-pending-tasks.html>`_
1956
1831
 
1957
1832
  :param format: Specifies the format to return the columnar data in, can be set
1958
1833
  to `text`, `json`, `cbor`, `yaml`, or `smile`.
@@ -1967,6 +1842,7 @@ class CatClient(NamespacedClient):
1967
1842
  :param s: List of columns that determine how the table should be sorted. Sorting
1968
1843
  defaults to ascending and can be changed by setting `:asc` or `:desc` as
1969
1844
  a suffix to the column name.
1845
+ :param time: Unit used to display time values.
1970
1846
  :param v: When set to `true` will enable verbose output.
1971
1847
  """
1972
1848
  __path_parts: t.Dict[str, str] = {}
@@ -1992,6 +1868,8 @@ class CatClient(NamespacedClient):
1992
1868
  __query["pretty"] = pretty
1993
1869
  if s is not None:
1994
1870
  __query["s"] = s
1871
+ if time is not None:
1872
+ __query["time"] = time
1995
1873
  if v is not None:
1996
1874
  __query["v"] = v
1997
1875
  __headers = {"accept": "text/plain,application/json"}
@@ -2014,6 +1892,7 @@ class CatClient(NamespacedClient):
2014
1892
  h: t.Optional[t.Union[str, t.Sequence[str]]] = None,
2015
1893
  help: t.Optional[bool] = None,
2016
1894
  human: t.Optional[bool] = None,
1895
+ include_bootstrap: t.Optional[bool] = None,
2017
1896
  local: t.Optional[bool] = None,
2018
1897
  master_timeout: t.Optional[t.Union[str, t.Literal[-1], t.Literal[0]]] = None,
2019
1898
  pretty: t.Optional[bool] = None,
@@ -2026,13 +1905,14 @@ class CatClient(NamespacedClient):
2026
1905
  They are not intended for use by applications. For application consumption, use
2027
1906
  the nodes info API.
2028
1907
 
2029
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.16/cat-plugins.html>`_
1908
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-plugins.html>`_
2030
1909
 
2031
1910
  :param format: Specifies the format to return the columnar data in, can be set
2032
1911
  to `text`, `json`, `cbor`, `yaml`, or `smile`.
2033
1912
  :param h: List of columns to appear in the response. Supports simple wildcards.
2034
1913
  :param help: When set to `true` will output available columns. This option can't
2035
1914
  be combined with any other query string option.
1915
+ :param include_bootstrap: Include bootstrap plugins in the response
2036
1916
  :param local: If `true`, the request computes the list of selected nodes from
2037
1917
  the local cluster state. If `false` the list of selected nodes are computed
2038
1918
  from the cluster state of the master node. In both cases the coordinating
@@ -2058,6 +1938,8 @@ class CatClient(NamespacedClient):
2058
1938
  __query["help"] = help
2059
1939
  if human is not None:
2060
1940
  __query["human"] = human
1941
+ if include_bootstrap is not None:
1942
+ __query["include_bootstrap"] = include_bootstrap
2061
1943
  if local is not None:
2062
1944
  __query["local"] = local
2063
1945
  if master_timeout is not None:
@@ -2094,10 +1976,11 @@ class CatClient(NamespacedClient):
2094
1976
  h: t.Optional[t.Union[str, t.Sequence[str]]] = None,
2095
1977
  help: t.Optional[bool] = None,
2096
1978
  human: t.Optional[bool] = None,
2097
- local: t.Optional[bool] = None,
2098
- master_timeout: t.Optional[t.Union[str, t.Literal[-1], t.Literal[0]]] = None,
2099
1979
  pretty: t.Optional[bool] = None,
2100
1980
  s: t.Optional[t.Union[str, t.Sequence[str]]] = None,
1981
+ time: t.Optional[
1982
+ t.Union[str, t.Literal["d", "h", "m", "micros", "ms", "nanos", "s"]]
1983
+ ] = None,
2101
1984
  v: t.Optional[bool] = None,
2102
1985
  ) -> t.Union[ObjectApiResponse[t.Any], TextApiResponse]:
2103
1986
  """
@@ -2110,7 +1993,7 @@ class CatClient(NamespacedClient):
2110
1993
  line or Kibana console. They are not intended for use by applications. For application
2111
1994
  consumption, use the index recovery API.
2112
1995
 
2113
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.16/cat-recovery.html>`_
1996
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-recovery.html>`_
2114
1997
 
2115
1998
  :param index: A comma-separated list of data streams, indices, and aliases used
2116
1999
  to limit the request. Supports wildcards (`*`). To target all data streams
@@ -2124,14 +2007,10 @@ class CatClient(NamespacedClient):
2124
2007
  :param h: List of columns to appear in the response. Supports simple wildcards.
2125
2008
  :param help: When set to `true` will output available columns. This option can't
2126
2009
  be combined with any other query string option.
2127
- :param local: If `true`, the request computes the list of selected nodes from
2128
- the local cluster state. If `false` the list of selected nodes are computed
2129
- from the cluster state of the master node. In both cases the coordinating
2130
- node will send requests for further information to each selected node.
2131
- :param master_timeout: Period to wait for a connection to the master node.
2132
2010
  :param s: List of columns that determine how the table should be sorted. Sorting
2133
2011
  defaults to ascending and can be changed by setting `:asc` or `:desc` as
2134
2012
  a suffix to the column name.
2013
+ :param time: Unit used to display time values.
2135
2014
  :param v: When set to `true` will enable verbose output.
2136
2015
  """
2137
2016
  __path_parts: t.Dict[str, str]
@@ -2160,14 +2039,12 @@ class CatClient(NamespacedClient):
2160
2039
  __query["help"] = help
2161
2040
  if human is not None:
2162
2041
  __query["human"] = human
2163
- if local is not None:
2164
- __query["local"] = local
2165
- if master_timeout is not None:
2166
- __query["master_timeout"] = master_timeout
2167
2042
  if pretty is not None:
2168
2043
  __query["pretty"] = pretty
2169
2044
  if s is not None:
2170
2045
  __query["s"] = s
2046
+ if time is not None:
2047
+ __query["time"] = time
2171
2048
  if v is not None:
2172
2049
  __query["v"] = v
2173
2050
  __headers = {"accept": "text/plain,application/json"}
@@ -2202,7 +2079,7 @@ class CatClient(NamespacedClient):
2202
2079
  are not intended for use by applications. For application consumption, use the
2203
2080
  get snapshot repository API.
2204
2081
 
2205
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.16/cat-repositories.html>`_
2082
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-repositories.html>`_
2206
2083
 
2207
2084
  :param format: Specifies the format to return the columnar data in, can be set
2208
2085
  to `text`, `json`, `cbor`, `yaml`, or `smile`.
@@ -2281,7 +2158,7 @@ class CatClient(NamespacedClient):
2281
2158
  console. They are not intended for use by applications. For application consumption,
2282
2159
  use the index segments API.
2283
2160
 
2284
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.16/cat-segments.html>`_
2161
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-segments.html>`_
2285
2162
 
2286
2163
  :param index: A comma-separated list of data streams, indices, and aliases used
2287
2164
  to limit the request. Supports wildcards (`*`). To target all data streams
@@ -2358,10 +2235,12 @@ class CatClient(NamespacedClient):
2358
2235
  h: t.Optional[t.Union[str, t.Sequence[str]]] = None,
2359
2236
  help: t.Optional[bool] = None,
2360
2237
  human: t.Optional[bool] = None,
2361
- local: t.Optional[bool] = None,
2362
2238
  master_timeout: t.Optional[t.Union[str, t.Literal[-1], t.Literal[0]]] = None,
2363
2239
  pretty: t.Optional[bool] = None,
2364
2240
  s: t.Optional[t.Union[str, t.Sequence[str]]] = None,
2241
+ time: t.Optional[
2242
+ t.Union[str, t.Literal["d", "h", "m", "micros", "ms", "nanos", "s"]]
2243
+ ] = None,
2365
2244
  v: t.Optional[bool] = None,
2366
2245
  ) -> t.Union[ObjectApiResponse[t.Any], TextApiResponse]:
2367
2246
  """
@@ -2370,7 +2249,7 @@ class CatClient(NamespacedClient):
2370
2249
  for human consumption using the command line or Kibana console. They are not
2371
2250
  intended for use by applications.
2372
2251
 
2373
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.16/cat-shards.html>`_
2252
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-shards.html>`_
2374
2253
 
2375
2254
  :param index: A comma-separated list of data streams, indices, and aliases used
2376
2255
  to limit the request. Supports wildcards (`*`). To target all data streams
@@ -2381,14 +2260,11 @@ class CatClient(NamespacedClient):
2381
2260
  :param h: List of columns to appear in the response. Supports simple wildcards.
2382
2261
  :param help: When set to `true` will output available columns. This option can't
2383
2262
  be combined with any other query string option.
2384
- :param local: If `true`, the request computes the list of selected nodes from
2385
- the local cluster state. If `false` the list of selected nodes are computed
2386
- from the cluster state of the master node. In both cases the coordinating
2387
- node will send requests for further information to each selected node.
2388
2263
  :param master_timeout: Period to wait for a connection to the master node.
2389
2264
  :param s: List of columns that determine how the table should be sorted. Sorting
2390
2265
  defaults to ascending and can be changed by setting `:asc` or `:desc` as
2391
2266
  a suffix to the column name.
2267
+ :param time: Unit used to display time values.
2392
2268
  :param v: When set to `true` will enable verbose output.
2393
2269
  """
2394
2270
  __path_parts: t.Dict[str, str]
@@ -2413,14 +2289,14 @@ class CatClient(NamespacedClient):
2413
2289
  __query["help"] = help
2414
2290
  if human is not None:
2415
2291
  __query["human"] = human
2416
- if local is not None:
2417
- __query["local"] = local
2418
2292
  if master_timeout is not None:
2419
2293
  __query["master_timeout"] = master_timeout
2420
2294
  if pretty is not None:
2421
2295
  __query["pretty"] = pretty
2422
2296
  if s is not None:
2423
2297
  __query["s"] = s
2298
+ if time is not None:
2299
+ __query["time"] = time
2424
2300
  if v is not None:
2425
2301
  __query["v"] = v
2426
2302
  __headers = {"accept": "text/plain,application/json"}
@@ -2445,10 +2321,12 @@ class CatClient(NamespacedClient):
2445
2321
  help: t.Optional[bool] = None,
2446
2322
  human: t.Optional[bool] = None,
2447
2323
  ignore_unavailable: t.Optional[bool] = None,
2448
- local: t.Optional[bool] = None,
2449
2324
  master_timeout: t.Optional[t.Union[str, t.Literal[-1], t.Literal[0]]] = None,
2450
2325
  pretty: t.Optional[bool] = None,
2451
2326
  s: t.Optional[t.Union[str, t.Sequence[str]]] = None,
2327
+ time: t.Optional[
2328
+ t.Union[str, t.Literal["d", "h", "m", "micros", "ms", "nanos", "s"]]
2329
+ ] = None,
2452
2330
  v: t.Optional[bool] = None,
2453
2331
  ) -> t.Union[ObjectApiResponse[t.Any], TextApiResponse]:
2454
2332
  """
@@ -2458,7 +2336,7 @@ class CatClient(NamespacedClient):
2458
2336
  console. They are not intended for use by applications. For application consumption,
2459
2337
  use the get snapshot API.
2460
2338
 
2461
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.16/cat-snapshots.html>`_
2339
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-snapshots.html>`_
2462
2340
 
2463
2341
  :param repository: A comma-separated list of snapshot repositories used to limit
2464
2342
  the request. Accepts wildcard expressions. `_all` returns all repositories.
@@ -2470,14 +2348,11 @@ class CatClient(NamespacedClient):
2470
2348
  be combined with any other query string option.
2471
2349
  :param ignore_unavailable: If `true`, the response does not include information
2472
2350
  from unavailable snapshots.
2473
- :param local: If `true`, the request computes the list of selected nodes from
2474
- the local cluster state. If `false` the list of selected nodes are computed
2475
- from the cluster state of the master node. In both cases the coordinating
2476
- node will send requests for further information to each selected node.
2477
2351
  :param master_timeout: Period to wait for a connection to the master node.
2478
2352
  :param s: List of columns that determine how the table should be sorted. Sorting
2479
2353
  defaults to ascending and can be changed by setting `:asc` or `:desc` as
2480
2354
  a suffix to the column name.
2355
+ :param time: Unit used to display time values.
2481
2356
  :param v: When set to `true` will enable verbose output.
2482
2357
  """
2483
2358
  __path_parts: t.Dict[str, str]
@@ -2502,14 +2377,14 @@ class CatClient(NamespacedClient):
2502
2377
  __query["human"] = human
2503
2378
  if ignore_unavailable is not None:
2504
2379
  __query["ignore_unavailable"] = ignore_unavailable
2505
- if local is not None:
2506
- __query["local"] = local
2507
2380
  if master_timeout is not None:
2508
2381
  __query["master_timeout"] = master_timeout
2509
2382
  if pretty is not None:
2510
2383
  __query["pretty"] = pretty
2511
2384
  if s is not None:
2512
2385
  __query["s"] = s
2386
+ if time is not None:
2387
+ __query["time"] = time
2513
2388
  if v is not None:
2514
2389
  __query["v"] = v
2515
2390
  __headers = {"accept": "text/plain,application/json"}
@@ -2535,13 +2410,16 @@ class CatClient(NamespacedClient):
2535
2410
  h: t.Optional[t.Union[str, t.Sequence[str]]] = None,
2536
2411
  help: t.Optional[bool] = None,
2537
2412
  human: t.Optional[bool] = None,
2538
- local: t.Optional[bool] = None,
2539
- master_timeout: t.Optional[t.Union[str, t.Literal[-1], t.Literal[0]]] = None,
2540
- node_id: t.Optional[t.Sequence[str]] = None,
2413
+ nodes: t.Optional[t.Sequence[str]] = None,
2541
2414
  parent_task_id: t.Optional[str] = None,
2542
2415
  pretty: t.Optional[bool] = None,
2543
2416
  s: t.Optional[t.Union[str, t.Sequence[str]]] = None,
2417
+ time: t.Optional[
2418
+ t.Union[str, t.Literal["d", "h", "m", "micros", "ms", "nanos", "s"]]
2419
+ ] = None,
2420
+ timeout: t.Optional[t.Union[str, t.Literal[-1], t.Literal[0]]] = None,
2544
2421
  v: t.Optional[bool] = None,
2422
+ wait_for_completion: t.Optional[bool] = None,
2545
2423
  ) -> t.Union[ObjectApiResponse[t.Any], TextApiResponse]:
2546
2424
  """
2547
2425
  Returns information about tasks currently executing in the cluster. IMPORTANT:
@@ -2549,7 +2427,7 @@ class CatClient(NamespacedClient):
2549
2427
  console. They are not intended for use by applications. For application consumption,
2550
2428
  use the task management API.
2551
2429
 
2552
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.16/tasks.html>`_
2430
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/tasks.html>`_
2553
2431
 
2554
2432
  :param actions: The task action names, which are used to limit the response.
2555
2433
  :param detailed: If `true`, the response includes detailed information about
@@ -2559,18 +2437,18 @@ class CatClient(NamespacedClient):
2559
2437
  :param h: List of columns to appear in the response. Supports simple wildcards.
2560
2438
  :param help: When set to `true` will output available columns. This option can't
2561
2439
  be combined with any other query string option.
2562
- :param local: If `true`, the request computes the list of selected nodes from
2563
- the local cluster state. If `false` the list of selected nodes are computed
2564
- from the cluster state of the master node. In both cases the coordinating
2565
- node will send requests for further information to each selected node.
2566
- :param master_timeout: Period to wait for a connection to the master node.
2567
- :param node_id: Unique node identifiers, which are used to limit the response.
2440
+ :param nodes: Unique node identifiers, which are used to limit the response.
2568
2441
  :param parent_task_id: The parent task identifier, which is used to limit the
2569
2442
  response.
2570
2443
  :param s: List of columns that determine how the table should be sorted. Sorting
2571
2444
  defaults to ascending and can be changed by setting `:asc` or `:desc` as
2572
2445
  a suffix to the column name.
2446
+ :param time: Unit used to display time values.
2447
+ :param timeout: Period to wait for a response. If no response is received before
2448
+ the timeout expires, the request fails and returns an error.
2573
2449
  :param v: When set to `true` will enable verbose output.
2450
+ :param wait_for_completion: If `true`, the request blocks until the task has
2451
+ completed.
2574
2452
  """
2575
2453
  __path_parts: t.Dict[str, str] = {}
2576
2454
  __path = "/_cat/tasks"
@@ -2591,20 +2469,22 @@ class CatClient(NamespacedClient):
2591
2469
  __query["help"] = help
2592
2470
  if human is not None:
2593
2471
  __query["human"] = human
2594
- if local is not None:
2595
- __query["local"] = local
2596
- if master_timeout is not None:
2597
- __query["master_timeout"] = master_timeout
2598
- if node_id is not None:
2599
- __query["node_id"] = node_id
2472
+ if nodes is not None:
2473
+ __query["nodes"] = nodes
2600
2474
  if parent_task_id is not None:
2601
2475
  __query["parent_task_id"] = parent_task_id
2602
2476
  if pretty is not None:
2603
2477
  __query["pretty"] = pretty
2604
2478
  if s is not None:
2605
2479
  __query["s"] = s
2480
+ if time is not None:
2481
+ __query["time"] = time
2482
+ if timeout is not None:
2483
+ __query["timeout"] = timeout
2606
2484
  if v is not None:
2607
2485
  __query["v"] = v
2486
+ if wait_for_completion is not None:
2487
+ __query["wait_for_completion"] = wait_for_completion
2608
2488
  __headers = {"accept": "text/plain,application/json"}
2609
2489
  return self.perform_request( # type: ignore[return-value]
2610
2490
  "GET",
@@ -2639,7 +2519,7 @@ class CatClient(NamespacedClient):
2639
2519
  console. They are not intended for use by applications. For application consumption,
2640
2520
  use the get index template API.
2641
2521
 
2642
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.16/cat-templates.html>`_
2522
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-templates.html>`_
2643
2523
 
2644
2524
  :param name: The name of the template to return. Accepts wildcard expressions.
2645
2525
  If omitted, all templates are returned.
@@ -2725,7 +2605,7 @@ class CatClient(NamespacedClient):
2725
2605
  They are not intended for use by applications. For application consumption, use
2726
2606
  the nodes info API.
2727
2607
 
2728
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.16/cat-thread-pool.html>`_
2608
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-thread-pool.html>`_
2729
2609
 
2730
2610
  :param thread_pool_patterns: A comma-separated list of thread pool names used
2731
2611
  to limit the request. Accepts wildcard expressions.
@@ -2883,8 +2763,6 @@ class CatClient(NamespacedClient):
2883
2763
  ] = None,
2884
2764
  help: t.Optional[bool] = None,
2885
2765
  human: t.Optional[bool] = None,
2886
- local: t.Optional[bool] = None,
2887
- master_timeout: t.Optional[t.Union[str, t.Literal[-1], t.Literal[0]]] = None,
2888
2766
  pretty: t.Optional[bool] = None,
2889
2767
  s: t.Optional[
2890
2768
  t.Union[
@@ -2980,7 +2858,7 @@ class CatClient(NamespacedClient):
2980
2858
  command line. They are not intended for use by applications. For application
2981
2859
  consumption, use the get transform statistics API.
2982
2860
 
2983
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.16/cat-transforms.html>`_
2861
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-transforms.html>`_
2984
2862
 
2985
2863
  :param transform_id: A transform identifier or a wildcard expression. If you
2986
2864
  do not specify one of these options, the API returns information for all
@@ -2998,11 +2876,6 @@ class CatClient(NamespacedClient):
2998
2876
  :param h: Comma-separated list of column names to display.
2999
2877
  :param help: When set to `true` will output available columns. This option can't
3000
2878
  be combined with any other query string option.
3001
- :param local: If `true`, the request computes the list of selected nodes from
3002
- the local cluster state. If `false` the list of selected nodes are computed
3003
- from the cluster state of the master node. In both cases the coordinating
3004
- node will send requests for further information to each selected node.
3005
- :param master_timeout: Period to wait for a connection to the master node.
3006
2879
  :param s: Comma-separated list of column names or column aliases used to sort
3007
2880
  the response.
3008
2881
  :param size: The maximum number of transforms to obtain.
@@ -3033,10 +2906,6 @@ class CatClient(NamespacedClient):
3033
2906
  __query["help"] = help
3034
2907
  if human is not None:
3035
2908
  __query["human"] = human
3036
- if local is not None:
3037
- __query["local"] = local
3038
- if master_timeout is not None:
3039
- __query["master_timeout"] = master_timeout
3040
2909
  if pretty is not None:
3041
2910
  __query["pretty"] = pretty
3042
2911
  if s is not None: