The Home Secretary gave a short Bible reading at the Lincoln Cathedral ceremony.
Metropolitan Police Commissioner Dame Cressida Dick, the country's most senior officer, said all officers who had been killed in the line of duty had left a legacy of "hope, motivation and inspiration".
The service came a year after Sgt Matt Ratana, 54, was shot dead as a handcuffed suspect was being taken into custody in Croydon, London.