using aws-sdk instead of dynode