switch to aws-sdk and make everything work