The suspected shooter, a 15-year-old male student, was taken into custody within five minutes, authorities said.