Book says 10W30 to 80F, 20W40 to 104F, 20W50 over 104F. SE, SF, SG, SH, SJ, SL. I assume 10W40 motorcycle oil is just fine for the 20W40 temp range. Likely 15W40 HDEO covers it also.
I've used both 10W-40 marine oil and 15W-40 diesel oil in my 2008's, got 2 of them. The Yamaha motor is pretty bulletproof on anything, and they're still running strong.