Midway through the penultimate turn, Niyonsaba edged in front of Semenya, the other runners collapsing into lane 1 rather than following her around the now open outside.
For Semenya, her 1:55.28 was a new South African National Record, a .05 improvement over the mark she set a month earlier at Herculis.
For Bishop it was also a Canadian National Record, improving upon the mark she set the same day as Semenya in Edmonton.
The medals were presented by Barbara Kendall, IOC member, New Zealand and Hamad Kalkaba Malboum, Vice President of the IAAF.
"[2] Sharp, Canada's Melissa Bishop and Poland's Joanna Jóźwik embraced after the race.
According to testing by World Athletics, all three medalists had the 46,XY karyotype and produced levels of testosterone in the male range.