Actually all three plus others

Iran as the overall spoiler and backer of the Shia

The Saudis and Jordanians backing the Sunnis (probably with under the table support from Syria's Sunni majority.

The Turks as a counter to the Kurds

Tom