Migrate library to use V2 of the AWS SDK for PHP