Fix for issue https://github.com/aws/aws-sdk-ruby/issues/464

incorrect variable name