def export_pipeline(url, pipeline_id, auth, verify_ssl):
export_result = requests.get(url + '<STR_LIT:/>' + pipeline_id + '<STR_LIT>', headers=X_REQ_BY, auth=auth, verify=verify_ssl)<EOL>if export_result.status_code == <NUM_LIT>:<EOL><INDENT>logging.error('<STR_LIT>' + pipeline_id)<EOL><DEDENT>export_result.raise_for_status()<EOL>return export_result.json()<EOL>
Export the config and rules for a pipeline.

    Args:
        url        (str): the host url in the form 'http://host:port/'.
        pipeline_id (str): the ID of of the exported pipeline.
        auth     (tuple): a tuple of username, and password.
        verify_ssl   (bool): whether to verify ssl certificates

    Returns:
        dict: the response json