simplify using aws-sdk