code: def actions():
      return rule_configs.ActionList(
          rule_configs.StopTraining(),
          rule_configs.Email("abc@abc.com"),
          rule_configs.SMS("+01234567890"),
      )
  
imports: from __future__ import absolute_import
  import os
  import uuid
  import pytest
  from sagemaker.debugger.debugger import DebuggerHookConfig, Rule, rule_configs, TensorBoardOutputConfig
  from sagemaker.mxnet.estimator import MXNet
  from sagemaker.pytorch.estimator import PyTorch
  from sagemaker.tensorflow.estimator import TensorFlow
  from sagemaker.xgboost.estimator import XGBoost
  from tests.integ import DATA_DIR, TRAINING_DEFAULT_TIMEOUT_MINUTES
  from tests.integ.retry import retries
  from tests.integ.timeout import timeout
label_desc: Use image node_id 1 for calling a global function with example usage: actions() and returns: rule_configs