aws-json.js
function(item) {
  var result = {};

  _.each(item, function(value, key) {
    if (fix[key]) {
      result[key] = parseItem(fix[key](value));
    } else if (key === 'Tags') {
      result[key] = parseTags(value);
    } else {
      result[key] = parseItem(value);
    }
  });

  return result;
}
function(item) {
  var result = {};

  _.each(item, function(value, key) {
    if (fix[key]) {
      result[key] = parseItem(fix[key](value));
    } else if (key === 'Tags') {
      result[key] = parseTags(value);
    } else {
      result[key] = parseItem(value);
    }
  });

  return result;
}
function ( item ) { var result = { } ; _ . each ( item , function ( value , key ) { if ( fix [ key ] ) { result [ key ] = parseItem ( fix [ key ] ( value ) ) ; } else if ( key === 'Tags' ) { result [ key ] = parseTags ( value ) ; } else { result [ key ] = parseItem ( value ) ; } } ) ; return result ; }
Parse an object that we know is an AWS object.
Parse an object that we know is an AWS object .