diff --git a/elasticsearch/client/indices.py b/elasticsearch/client/indices.py index 259d215c..5eb7ec01 100644 --- a/elasticsearch/client/indices.py +++ b/elasticsearch/client/indices.py @@ -327,12 +327,13 @@ class IndicesClient(NamespacedClient): return data @query_params('timeout') - def get_aliases(self, index=None, params=None): + def get_aliases(self, index=None, name=None, params=None): """ Retrieve specified aliases ``_ :arg index: A comma-separated list of index names to filter aliases + :arg name: A comma-separated list of alias names to filter :arg timeout: Explicit operation timeout """ _, data = self.transport.perform_request('GET', _make_path(index, '_aliases'),