code: def create_sagemaker_model(sagemaker_client, model_name):
      return sagemaker_client.create_model(
          ExecutionRoleArn="arn:aws:iam::012345678910:role/sample-role",
          ModelName=model_name,
          PrimaryContainer={
              "Image": "012345678910.dkr.ecr.us-west-2.amazonaws.com/sample-container",
          },
      )
  
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 2 for calling a global function with example usage: create_sagemaker_model(sagemaker_client, model_name) and returns: sagemaker_client