modified project according to new version of AWS SDK