def METHOD_NAME(
    self,
    filter_parameters,  # type: "models.RunFilterParameters"
    **kwargs  # type: Any
):
    # type: (...) -> "models.TriggerRunsQueryResponse"
    """Query trigger runs.
    :param filter_parameters: Parameters to filter the pipeline run.
    :type filter_parameters: ~azure.synapse.artifacts.models.RunFilterParameters
    :keyword callable cls: A custom type or function that will be passed the direct response
    :return: TriggerRunsQueryResponse, or the result of cls(response)
    :rtype: ~azure.synapse.artifacts.models.TriggerRunsQueryResponse
    :raises: ~azure.core.exceptions.HttpResponseError
    """
    cls = kwargs.pop('cls', None)  # type: ClsType["models.TriggerRunsQueryResponse"]
    error_map = {404: ResourceNotFoundError, 409: ResourceExistsError}
    error_map.update(kwargs.pop('error_map', {}))
    api_version = "2019-06-01-preview"
    content_type = kwargs.pop("content_type", "application/json")
    # Construct URL
    url = self.METHOD_NAME.metadata['url']  # type: ignore
    path_format_arguments = {
        'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True),
    }
    url = self._client.format_url(url, **path_format_arguments)
    # Construct parameters
    query_parameters = {}  # type: Dict[str, Any]
    query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str')
    # Construct headers
    header_parameters = {}  # type: Dict[str, Any]
    header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str')
    header_parameters['Accept'] = 'application/json'
    body_content_kwargs = {}  # type: Dict[str, Any]
    body_content = self._serialize.body(filter_parameters, 'RunFilterParameters')
    body_content_kwargs['content'] = body_content
    request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs)
    pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs)
    response = pipeline_response.http_response
    if response.status_code not in [200]:
        map_error(status_code=response.status_code, response=response, error_map=error_map)
        error = self._deserialize(models.CloudError, response)
        raise HttpResponseError(response=response, model=error)
    deserialized = self._deserialize('TriggerRunsQueryResponse', pipeline_response)
    if cls:
        return cls(pipeline_response, deserialized, {})
    return deserialized