class_docstr: A class to load, modify, and display the StreamAlertCLI Config
docstr: Helper function to add the metric alarm to the respective config
  
  Args:
      alarm_info (dict): All the necessary values needed to add a CloudWatch
          metric alarm
      current_alarms (dict): All of the current metric alarms from the config
  
  Returns:
      dict: The new metric alarms dictionary with the added metric alarm
docstr_tok: ["Helper","function","to","add","the","metric","alarm","to","the","respective","config","Args",":","alarm_info","(","dict",")",":","All","the","necessary","values","needed","to","add","a","CloudWatch","metric","alarm","current_alarms","(","dict",")",":","All","of","the","current","metric","alarms","from","the","config","Returns",":","dict",":","The","new","metric","alarms","dictionary","with","the","added","metric","alarm"]
code: def _add_metric_alarm_config(alarm_info, current_alarms):
      """Helper function to add the metric alarm to the respective config
  
      Args:
          alarm_info (dict): All the necessary values needed to add a CloudWatch
              metric alarm
          current_alarms (dict): All of the current metric alarms from the config
  
      Returns:
          dict: The new metric alarms dictionary with the added metric alarm
      """
      # Some keys that come from the argparse options can be omitted
      omitted_keys = {
          "debug",
          "alarm_name",
          "command",
          "clusters",
          "function",
      }
  
      current_alarms[alarm_info["alarm_name"]] = {
          key: value
          for key, value in alarm_info.items()
          if key not in omitted_keys
      }
  
      return current_alarms
  
imports: import json
  import os
  import re
  import shutil
  import string
  import tempfile
  from streamalert.apps import StreamAlertApp
  from streamalert.shared import CLUSTERED_FUNCTIONS, config, metrics
  from streamalert.shared.logger import get_logger
  from streamalert_cli.terraform import TERRAFORM_FILES_PATH
  from streamalert_cli.apps.helpers import save_app_auth_info
  from streamalert_cli.helpers import continue_prompt
label_desc: Use image node_id 15 for calling the CLIConfig obj's underlying member method code with example usage: obj._add_metric_alarm_config(alarm_info, current_alarms) and returns: current_alarms