No, it isn't - there's no getApi() on the return from unwrap().
Ah, yes...there's indeed a cast of context to ApiContext missing in my example, which probably should have been something like:
(AWSEC2Api) ((ApiContext) unwrap()).getApi() But I see you worked around it in a different way, anyway ;-) ap
