code: def pop_no_diff_fields(latest_config, current_config):
      
      for field in ['userIdentity', 'principalId', 'userAgent', 'sourceIpAddress', 'requestParameters', 'eventName']:
          latest_config.pop(field, None)
          current_config.pop(field, None)
docs: Pops off fields that should not be included in the diff.