fix API for latest aws-sdk gem