Fixes #2364889: Uncaught TypeError: Cannot read property 'settings' of undefined
s3fs.make allows you to install the AWS SDK for PHP using drush. Simply run this command from the root folder of your Drupal site:
drush make --no-core sites/all/modules/s3fs/s3fs.make
Some minor refactoring and maintainability fixes.
Drupal is a registered trademark of Dries Buytaert.