def range_key(self, name, typ=None):
        """
        Set the range key in KeySchema for the active index.
        If you provide a second argument, :meth:`attribute_definition` will be called as well.