2017-06-14 19:25:53 +02:00
|
|
|
from .utils import NamespacedClient, query_params, _make_path, SKIP_IN_PATH
|
|
|
|
|
|
2019-05-10 09:16:33 -06:00
|
|
|
|
2017-06-14 19:25:53 +02:00
|
|
|
class RemoteClient(NamespacedClient):
|
|
|
|
|
@query_params()
|
|
|
|
|
def info(self, params=None):
|
|
|
|
|
"""
|
|
|
|
|
`<http://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-remote-info.html>`_
|
|
|
|
|
"""
|
2019-05-10 09:16:33 -06:00
|
|
|
return self.transport.perform_request("GET", "/_remote/info", params=params)
|