def METHOD_NAME(
    self,
    token: Union[str, uuid.UUID],
    name: str,
    params: Dict[str, Any] = {},
    auth_type: AuthType = AuthType.bearer,
    timeout: float = MOONSTREAM_REQUEST_TIMEOUT,
) -> MoonstreamQueryResultUrl:
    """
    Executes queries and upload data to external storage.
    """
    headers = {
        "Authorization": f"{auth_type.value} {token}",
    }
    json = {
        "params": params,
    }
    response = self._call(
        method=Method.POST,
        url=f"{self.api.endpoints[ENDPOINT_QUERIES]}/{name}/update_data",
        headers=headers,
        json=json,
        timeout=timeout,
    )
    return MoonstreamQueryResultUrl(url=response["url"])