def METHOD_NAME(self):
    """
    :returns: :py:attr:`actions` for use with the
        :py:meth:`~.elasticsearch.client.IndicesClient.update_aliases` API call if actions
        exist, otherwise an exception is raised.
    """
    if not self.actions:
        if not self.warn_if_no_indices:
            raise ActionError('No "add" or "remove" operations')
        raise NoIndices('No "adds" or "removes" found.  Taking no action')
    self.loggit.debug('Alias actions: %s', self.actions)
    return self.actions