packages/core/lib/segments/attributes/aws.js
function appendAWSWhitelist(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.append(source);
}
function appendAWSWhitelist(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.append(source);
}
function appendAWSWhitelist ( 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 . append ( source ) ; }
Appends to 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 appendAWSWhitelist
Appends to the default whitelisting file to specify what params to capture on each AWS Service call .