code: def put_alias(self, using=None, **kwargs):
          
          return self._get_connection(using).indices.put_alias(index=self._name, **kwargs)
docs: Create an alias for the index.
  
          Any additional keyword arguments will be passed to
          ``Elasticsearch.indices.put_alias`` unchanged.