Update aws gem

update aws-sdk version and fixed latest usage of aws-sdk.