Use explicit duration for training purpose

Hello Stas,

I tested your script and it works indeed as expected :-)
I sent you a pull request with a small change : I added an explicit “duration_seconds” parameter to the “assume_role” call 
I think that explicit is better than implicit for training purposes.

Good job - thanks

Seb