Skip to content

Commit 90fddf4

Browse files
[Backport 8.15] Add Connector API (#2623)
* Add Connector API (#2621) (cherry picked from commit 928bdb7) * Fix Connector API --------- Co-authored-by: Quentin Pradet <[email protected]>
1 parent 0ec8d2f commit 90fddf4

File tree

7 files changed

+2956
-0
lines changed

7 files changed

+2956
-0
lines changed

Diff for: docs/sphinx/api.rst

+1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ arguments are required for all calls.
2121
api/cat
2222
api/ccr
2323
api/cluster
24+
api/connector
2425
api/dangling-indices
2526
api/enrich-policies
2627
api/eql

Diff for: docs/sphinx/api/connector.rst

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
.. _connector:
2+
3+
Connector
4+
---------
5+
.. py:module:: elasticsearch.client
6+
:noindex:
7+
8+
.. autoclass:: ConnectorClient
9+
:members:

Diff for: elasticsearch/_async/client/__init__.py

+2
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@
4646
from .cat import CatClient
4747
from .ccr import CcrClient
4848
from .cluster import ClusterClient
49+
from .connector import ConnectorClient
4950
from .dangling_indices import DanglingIndicesClient
5051
from .enrich import EnrichClient
5152
from .eql import EqlClient
@@ -433,6 +434,7 @@ def __init__(
433434
self.autoscaling = AutoscalingClient(self)
434435
self.cat = CatClient(self)
435436
self.cluster = ClusterClient(self)
437+
self.connector = ConnectorClient(self)
436438
self.fleet = FleetClient(self)
437439
self.features = FeaturesClient(self)
438440
self.indices = IndicesClient(self)

0 commit comments

Comments
 (0)