packages/core/lib/segments/attributes/aws.js
function setAWSWhitelist(source) {
  if (!source || source instanceof String || !(typeof source === 'string' || (source instanceof Object)))
    throw new Error('Please specify a path to the local whitelist file, or supply a whitelist source object.');

  capturer = new CallCapturer(source);
}
function setAWSWhitelist(source) {
  if (!source || source instanceof String || !(typeof source === 'string' || (source instanceof Object)))
    throw new Error('Please specify a path to the local whitelist file, or supply a whitelist source object.');

  capturer = new CallCapturer(source);
}
function setAWSWhitelist ( source ) { if ( ! source || source instanceof String || ! ( typeof source === 'string' || ( source instanceof Object ) ) ) throw new Error ( 'Please specify a path to the local whitelist file, or supply a whitelist source object.' ) ; capturer = new CallCapturer ( source ) ; }
Overrides the default whitelisting file to specify what params to capture on each AWS Service call.
@param {string|Object} source - The path to the custom whitelist file, or a whitelist source JSON object.
@exports setAWSWhitelist
Overrides the default whitelisting file to specify what params to capture on each AWS Service call .