public function updateAliases(array $aliasActions)
    {
        if (!isset($aliasActions['actions'])) {
            throw new RepositoryException('Actions key is missing');
        }

        $request = $this->createRequestInstance(self::INDEX_UPDATE_ALIASES, null, null);
        $request->setBody($aliasActions);

        return $this->client->send($request);
    }