code: def create_auto_ml_job_if_not_exist(
      sagemaker_session, auto_ml_job_name
  ):
      try:
          sagemaker_session.describe_auto_ml_job(
              job_name=auto_ml_job_name
          )
      except Exception as e:  # noqa: F841
          auto_ml = AutoML(
              role=ROLE,
              target_attribute_name=TARGET_ATTRIBUTE_NAME,
              sagemaker_session=sagemaker_session,
              max_candidates=3,
          )
          inputs = sagemaker_session.upload_data(
              path=TRAINING_DATA, key_prefix=PREFIX + "/input"
          )
          with timeout(minutes=AUTO_ML_DEFAULT_TIMEMOUT_MINUTES):
              auto_ml.fit(inputs, job_name=auto_ml_job_name, wait=True)
  
imports: from __future__ import absolute_import
  import os
  from sagemaker import AutoML
  from tests.integ import DATA_DIR, AUTO_ML_DEFAULT_TIMEMOUT_MINUTES
  from tests.integ.timeout import timeout
label_desc: Use image node_id 1 for calling a global function with example usage: create_auto_ml_job_if_not_exist(sagemaker_session, auto_ml_job_name) without return types