aws/aws-sdk-js — pull request #387 by lsegal (2014-10-16 06:42:52+00:00)
Title: Allow global configuration to include service-specific settings.

Example:

AWS.config.update({s3: {endpoint: 'localhost'}});
var s3 = new AWS.S3(); // will hit the localhost endpoint
var other_s3 = new AWS.S3(); // this one too