index.js
function _buildS3Client(s3ClientOpts) {
  var s3ConstructorArgins = _stripKeysWithUndefinedValues({
    apiVersion: '2006-03-01',
    region: s3ClientOpts.region,
    accessKeyId: s3ClientOpts.key,
    secretAccessKey: s3ClientOpts.secret,
    endpoint: s3ClientOpts.endpoint
  });
  return new AWS.S3(s3ConstructorArgins);
}
function _buildS3Client(s3ClientOpts) {
  var s3ConstructorArgins = _stripKeysWithUndefinedValues({
    apiVersion: '2006-03-01',
    region: s3ClientOpts.region,
    accessKeyId: s3ClientOpts.key,
    secretAccessKey: s3ClientOpts.secret,
    endpoint: s3ClientOpts.endpoint
  });
  return new AWS.S3(s3ConstructorArgins);
}
ƒ