usign aws::records for query