code: def test_auto_ml_describe_auto_ml_job(
      sagemaker_session, test_session_job_name
  ):
      expected_default_input_config = [
          {
              "DataSource": {
                  "S3DataSource": {
                      "S3DataType": "S3Prefix",
                      "S3Uri": "s3://{}/{}/{}/input/iris_training.csv".format(
                          sagemaker_session.default_bucket(),
                          CUSTOM_S3_OBJECT_KEY_PREFIX,
                          PREFIX,
                      ),
                  }
              },
              "TargetAttributeName": TARGET_ATTRIBUTE_NAME,
              "ContentType": "text/csv;header=present",
              "ChannelType": "training",
          }
      ]
      expected_default_output_config = {
          "S3OutputPath": "s3://{}/{}/".format(
              sagemaker_session.default_bucket(),
              CUSTOM_S3_OBJECT_KEY_PREFIX,
          )
      }
  
      auto_ml_utils.create_auto_ml_job_if_not_exist(
          sagemaker_session, test_session_job_name
      )
      auto_ml = AutoML(
          role=ROLE,
          target_attribute_name=TARGET_ATTRIBUTE_NAME,
          sagemaker_session=sagemaker_session,
      )
  
      desc = auto_ml.describe_auto_ml_job(
          job_name=test_session_job_name
      )
      assert desc["AutoMLJobName"] == test_session_job_name
      assert desc["AutoMLJobStatus"] == "Completed"
      assert isinstance(desc["BestCandidate"], dict)
      assert desc["InputDataConfig"] == expected_default_input_config
      assert desc["AutoMLJobConfig"] == EXPECTED_DEFAULT_JOB_CONFIG
      assert desc["OutputDataConfig"] == expected_default_output_config
  
imports: from __future__ import absolute_import
  import os
  import pytest
  from botocore.exceptions import ClientError
  import tests.integ
  from sagemaker import AutoML, AutoMLInput, CandidateEstimator
  from sagemaker.utils import unique_name_from_base
  from tests.integ import AUTO_ML_DEFAULT_TIMEMOUT_MINUTES, DATA_DIR, auto_ml_utils
  from tests.integ.timeout import timeout
  from tests.conftest import CUSTOM_S3_OBJECT_KEY_PREFIX
label_desc: Use image node_id 8 for calling a global function with example usage: test_auto_ml_describe_auto_ml_job(sagemaker_session, test_session_job_name) without return types