2019-03-28 21:13:12 +01:00
|
|
|
from ..utils import NamespacedClient, query_params, _make_path
|
2018-03-20 12:36:13 -06:00
|
|
|
|
|
|
|
|
class DeprecationClient(NamespacedClient):
|
|
|
|
|
@query_params()
|
|
|
|
|
def info(self, index=None, params=None):
|
|
|
|
|
"""
|
|
|
|
|
`<http://www.elastic.co/guide/en/migration/current/migration-api-deprecation.html>`_
|
|
|
|
|
|
|
|
|
|
:arg index: Index pattern
|
|
|
|
|
"""
|
|
|
|
|
return self.transport.perform_request('GET', _make_path(index, '_xpack',
|
|
|
|
|
'migration', 'deprecations'), params=params)
|
|
|
|
|
|