code: func AddLogStreamPathFilter(q *ds.Query, path string) (*ds.Query, error) {
  	prefix, name := types.StreamPath(path).Split()
  
  	err := error(nil)
  	q, err = addComponentFilter(q, "Prefix", "_C", "P", prefix)
  	if err != nil {
  		return nil, err
  	}
  	q, err = addComponentFilter(q, "Name", "_C", "N", name)
  	if err != nil {
  		return nil, err
  	}
  	return q, nil
  }
docs: // AddLogStreamPathFilter constructs a compiled LogStreamPathQuery. It will
  // return an error if the supllied query string describes an invalid query.