code: 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;
  }
docs: Set the S3 client to be used for this upload.