I\'ve got the following client instantiation code that works when deployed to AWS:
pom.xml
com.amazonaws