lib/s3-upload-stream.js
function Client(client) {
  if (this instanceof Client === false) {
    return new Client(client);
  }

  if (!client) {
    throw new Error('Must configure an S3 client before attempting to create an S3 upload stream.');
  }

  this.cachedClient = client;
}
function Client(client) {
  if (this instanceof Client === false) {
    return new Client(client);
  }

  if (!client) {
    throw new Error('Must configure an S3 client before attempting to create an S3 upload stream.');
  }

  this.cachedClient = client;
}
function Client ( client ) { if ( this instanceof Client === false ) { return new Client ( client ) ; } if ( ! client ) { throw new Error ( 'Must configure an S3 client before attempting to create an S3 upload stream.' ) ; } this . cachedClient = client ; }
Set the S3 client to be used for this upload.
Set the S3 client to be used for this upload .