code: def put_alias(self, index, name, body=None, params=None):
          
          for param in (index, name):
              if param in SKIP_IN_PATH:
                  raise ValueError("Empty value passed for a required argument.")
          return self.transport.perform_request(
              "PUT", _make_path(index, "_alias", name), params=params, body=body
          )
docs: Create an alias for a specific index/indices.
          `<http://www.elastic.co/guide/en/elasticsearch/reference/current/indices-aliases.html>`_
  
          :arg index: A comma-separated list of index names the alias should point
              to (supports wildcards); use `_all` to perform the operation on all
              indices.
          :arg name: The name of the alias to be created or updated
          :arg body: The settings for the alias, such as `routing` or `filter`
          :arg master_timeout: Specify timeout for connection to master
          :arg request_timeout: Explicit timeout for the operation