code: def test_created_transform_job_is_listed_by_list_transform_jobs_function(
      sagemaker_client,
  ):
      model_name = "sample-model"
      create_sagemaker_model(
          sagemaker_client=sagemaker_client, model_name=model_name
      )
  
      transform_input = {
          "DataSource": {
              "S3DataSource": {
                  "S3DataType": "Some Data Type",
                  "S3Uri": "Some Input Uri",
              }
          }
      }
  
      transform_output = {"S3OutputPath": "Some Output Path"}
  
      transform_resources = {
          "InstanceType": "Some Instance Type",
          "InstanceCount": 1,
      }
  
      job_name = "sample-job"
  
      sagemaker_client.create_transform_job(
          TransformJobName=job_name,
          ModelName=model_name,
          TransformInput=transform_input,
          TransformOutput=transform_output,
          TransformResources=transform_resources,
          Tags=[{"Key": "Some Key", "Value": "Some Value"}],
      )
  
      transform_jobs_response = sagemaker_client.list_transform_jobs()
      assert "TransformJobSummaries" in transform_jobs_response
      transform_jobs = transform_jobs_response["TransformJobSummaries"]
      assert all(
          "TransformJobName" in transform_job
          for transform_job in transform_jobs
      )
      assert job_name in [
          transform_job["TransformJobName"]
          for transform_job in transform_jobs
      ]
  
imports: import boto3
  import pytest
  from tests.helper_functions import set_boto_credentials
  from tests.sagemaker.mock import mock_sagemaker
label_desc: Use image node_id 27 for calling a global function with example usage: test_created_transform_job_is_listed_by_list_transform_jobs_function(sagemaker_client) without return types