class_docstr: Normalizer class to handle log key normalization in payloads
docstr: Check for normalized types within record
  
  Args:
      record (dict): Parsed payload of log
      normalized_types (dict): Normalized types mapping
  
  Returns:
      dict: A dict of normalized keys with a list of values
  
  Example:
      return
      {
          'region': [
              {
                  'values': ['us-east-1']
                  'function': 'AWS region'
              },
              {
                  'values': ['us-west-2']
                  'function': 'AWS region'
              }
          ]
      }
docstr_tok: ["Check","for","normalized","types","within","record","Args",":","record","(","dict",")",":","Parsed","payload","of","log","normalized_types","(","dict",")",":","Normalized","types","mapping","Returns",":","dict",":","A","dict","of","normalized","keys","with","a","list","of","values","Example",":","return","{","'region","'",":","[","{","'values","'",":","[","'us-east-1","'","]","'function","'",":","'AWS","region'","}",",","{","'values","'",":","[","'us-west-2","'","]","'function","'",":","'AWS","region'","}","]","}"]
code: def match_types(cls, record, normalized_types):
      """Check for normalized types within record
  
      Args:
          record (dict): Parsed payload of log
          normalized_types (dict): Normalized types mapping
  
      Returns:
          dict: A dict of normalized keys with a list of values
  
      Example:
          return
          {
              'region': [
                  {
                      'values': ['us-east-1']
                      'function': 'AWS region'
                  },
                  {
                      'values': ['us-west-2']
                      'function': 'AWS region'
                  }
              ]
          }
      """
      results = {}
      for type_name, type_info in normalized_types.items():
          result = list(cls._extract_values(record, type_info))
  
          if result:
              results[type_name] = result
  
      if results:
          results[cls.RECORD_ID_KEY] = str(uuid.uuid4())
      return results
  
imports: from collections import defaultdict
  import logging
  import itertools
  import uuid
  from streamalert.shared.config import TopLevelConfigKeys
  from streamalert.shared.exceptions import ConfigError
  from streamalert.shared.logger import get_logger
label_desc: Use image node_id 1 for calling the Normalizer obj's underlying member method code with example usage: obj.match_types(cls, record, normalized_types) and returns: results