def METHOD_NAME(self, http_request, **kwargs):
    # type: (HttpRequest, Any) -> HttpResponse
    """Runs the network request through the client's chained policies.
    :param http_request: The network request you want to make. Required.
    :type http_request: ~azure.core.pipeline.transport.HttpRequest
    :keyword bool stream: Whether the response payload will be streamed. Defaults to True.
    :return: The response of your network call. Does not do error handling on your response.
    :rtype: ~azure.core.pipeline.transport.HttpResponse
    """
    path_format_arguments = {
        'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True),
        'livyApiVersion': self._serialize.url("self._config.livy_api_version", self._config.livy_api_version, 'str', skip_quote=True),
        'sparkPoolName': self._serialize.url("self._config.spark_pool_name", self._config.spark_pool_name, 'str', skip_quote=True),
    }
    http_request.url = self._client.format_url(http_request.url, **path_format_arguments)
    stream = kwargs.pop("stream", True)
    pipeline_response = self._client._pipeline.run(http_request, stream=stream, **kwargs)
    return pipeline_response.http_response