this is a fork from https://drupal.org/node/1865568 and supporting awssdk v2 . We here to continuous maintain on github and avoid duplication in drupal.org