Update api.py

I spent a while figuring out what I did wrong when I didn't pass in an argument to the decorator. It's obvious in hindsight, but still. The error message I've written is a bit casual; I didn't put a lot of thought into what you might want to write.

* Catch error caused by forgetting the argument on the ec2instance decorator, and give the user a hint.