Skip to content

Commit 917ad0b

Browse files
authored
Remove APIs that do not exist on serverless (#31)
1 parent 91d707c commit 917ad0b

40 files changed

+0
-12342
lines changed

docs/sphinx/api.rst

Lines changed: 0 additions & 102 deletions
Original file line numberDiff line numberDiff line change
@@ -30,36 +30,18 @@ Async Search
3030
.. autoclass:: AsyncSearchClient
3131
:members:
3232

33-
Autoscaling
34-
-----------
35-
36-
.. autoclass:: AutoscalingClient
37-
:members:
38-
3933
Cat
4034
---
4135

4236
.. autoclass:: CatClient
4337
:members:
4438

45-
Cross-Cluster Replication (CCR)
46-
-------------------------------
47-
48-
.. autoclass:: CcrClient
49-
:members:
50-
5139
Cluster
5240
-------
5341

5442
.. autoclass:: ClusterClient
5543
:members:
5644

57-
Dangling Indices
58-
----------------
59-
60-
.. autoclass:: DanglingIndicesClient
61-
:members:
62-
6345
Enrich Policies
6446
---------------
6547

@@ -72,30 +54,12 @@ Event Query Language (EQL)
7254
.. autoclass:: EqlClient
7355
:members:
7456

75-
Snapshottable Features
76-
----------------------
77-
78-
.. autoclass:: FeaturesClient
79-
:members:
80-
81-
Fleet
82-
-----
83-
84-
.. autoclass:: FleetClient
85-
:members:
86-
8757
Graph Explore
8858
-------------
8959

9060
.. autoclass:: GraphClient
9161
:members:
9262

93-
Index Lifecycle Management (ILM)
94-
--------------------------------
95-
96-
.. autoclass:: IlmClient
97-
:members:
98-
9963
Indices
10064
-------
10165

@@ -120,12 +84,6 @@ Logstash
12084
.. autoclass:: LogstashClient
12185
:members:
12286

123-
Migration
124-
---------
125-
126-
.. autoclass:: MigrationClient
127-
:members:
128-
12987
Machine Learning (ML)
13088
---------------------
13189

@@ -138,86 +96,26 @@ Monitoring
13896
.. autoclass:: MonitoringClient
13997
:members:
14098

141-
Nodes
142-
-----
143-
144-
.. autoclass:: NodesClient
145-
:members:
146-
147-
Rollup Indices
148-
--------------
149-
150-
.. autoclass:: RollupClient
151-
:members:
152-
153-
Searchable Snapshots
154-
--------------------
155-
156-
.. autoclass:: SearchableSnapshotsClient
157-
:members:
158-
15999
Security
160100
--------
161101

162102
.. autoclass:: SecurityClient
163103
:members:
164104

165-
Shutdown
166-
--------
167-
168-
.. autoclass:: ShutdownClient
169-
:members:
170-
171-
Snapshot Lifecycle Management (SLM)
172-
-----------------------------------
173-
174-
.. autoclass:: SlmClient
175-
:members:
176-
177-
Snapshots
178-
---------
179-
180-
.. autoclass:: SnapshotClient
181-
:members:
182-
183105
SQL
184106
---
185107

186108
.. autoclass:: SqlClient
187109
:members:
188110

189-
TLS/SSL
190-
-------
191-
192-
.. autoclass:: SslClient
193-
:members:
194-
195111
Tasks
196112
-----
197113

198114
.. autoclass:: TasksClient
199115
:members:
200116

201-
Text Structure
202-
--------------
203-
204-
.. autoclass:: TextStructureClient
205-
:members:
206-
207117
Transforms
208118
----------
209119

210120
.. autoclass:: TransformClient
211121
:members:
212-
213-
Watcher
214-
-------
215-
216-
.. autoclass:: WatcherClient
217-
:members:
218-
219-
X-Pack
220-
------
221-
222-
.. autoclass:: XPackClient
223-
:members:

elasticsearch_serverless/_async/client/__init__.py

Lines changed: 0 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -35,38 +35,22 @@
3535
from ...serializer import DEFAULT_SERIALIZERS
3636
from ._base import BaseClient, resolve_auth_headers
3737
from .async_search import AsyncSearchClient
38-
from .autoscaling import AutoscalingClient
3938
from .cat import CatClient
40-
from .ccr import CcrClient
4139
from .cluster import ClusterClient
42-
from .dangling_indices import DanglingIndicesClient
4340
from .enrich import EnrichClient
4441
from .eql import EqlClient
45-
from .features import FeaturesClient
46-
from .fleet import FleetClient
4742
from .graph import GraphClient
48-
from .ilm import IlmClient
4943
from .indices import IndicesClient
5044
from .ingest import IngestClient
5145
from .license import LicenseClient
5246
from .logstash import LogstashClient
53-
from .migration import MigrationClient
5447
from .ml import MlClient
55-
from .monitoring import MonitoringClient
56-
from .nodes import NodesClient
5748
from .query_ruleset import QueryRulesetClient
58-
from .rollup import RollupClient
5949
from .search_application import SearchApplicationClient
60-
from .searchable_snapshots import SearchableSnapshotsClient
6150
from .security import SecurityClient
62-
from .shutdown import ShutdownClient
63-
from .slm import SlmClient
64-
from .snapshot import SnapshotClient
6551
from .sql import SqlClient
66-
from .ssl import SslClient
6752
from .synonyms import SynonymsClient
6853
from .tasks import TasksClient
69-
from .text_structure import TextStructureClient
7054
from .transform import TransformClient
7155
from .utils import (
7256
_TYPE_HOST,
@@ -78,8 +62,6 @@
7862
is_requests_http_auth,
7963
is_requests_node_class,
8064
)
81-
from .watcher import WatcherClient
82-
from .xpack import XPackClient
8365

8466
logger = logging.getLogger("elasticsearch")
8567

@@ -294,42 +276,24 @@ def __init__(
294276

295277
# namespaced clients for compatibility with API names
296278
self.async_search = AsyncSearchClient(self)
297-
self.autoscaling = AutoscalingClient(self)
298279
self.cat = CatClient(self)
299280
self.cluster = ClusterClient(self)
300-
self.fleet = FleetClient(self)
301-
self.features = FeaturesClient(self)
302281
self.indices = IndicesClient(self)
303282
self.ingest = IngestClient(self)
304-
self.nodes = NodesClient(self)
305-
self.snapshot = SnapshotClient(self)
306283
self.tasks = TasksClient(self)
307284

308-
self.xpack = XPackClient(self)
309-
self.ccr = CcrClient(self)
310-
self.dangling_indices = DanglingIndicesClient(self)
311285
self.enrich = EnrichClient(self)
312286
self.eql = EqlClient(self)
313287
self.graph = GraphClient(self)
314-
self.ilm = IlmClient(self)
315288
self.license = LicenseClient(self)
316289
self.logstash = LogstashClient(self)
317-
self.migration = MigrationClient(self)
318290
self.ml = MlClient(self)
319-
self.monitoring = MonitoringClient(self)
320291
self.query_ruleset = QueryRulesetClient(self)
321-
self.rollup = RollupClient(self)
322292
self.search_application = SearchApplicationClient(self)
323-
self.searchable_snapshots = SearchableSnapshotsClient(self)
324293
self.security = SecurityClient(self)
325-
self.slm = SlmClient(self)
326-
self.shutdown = ShutdownClient(self)
327294
self.sql = SqlClient(self)
328-
self.ssl = SslClient(self)
329295
self.synonyms = SynonymsClient(self)
330-
self.text_structure = TextStructureClient(self)
331296
self.transform = TransformClient(self)
332-
self.watcher = WatcherClient(self)
333297

334298
def __repr__(self) -> str:
335299
try:

0 commit comments

Comments
 (0)