code: def client_mock():
      """Mock client.
  
      Considerations when appropriate:
  
          * utilize botocore.stub.Stubber
          * separate runtime client from client
      """
      client_mock = Mock()
      client_mock._client_config.user_agent = "Boto3/1.14.24 Python/3.8.5 Linux/5.4.0-42-generic Botocore/1.17.24 Resource"
      return client_mock
  
imports: from __future__ import absolute_import
  import pytest
  from mock import Mock, PropertyMock
  from sagemaker import Model
  from sagemaker.workflow.pipeline_context import PipelineSession
  from sagemaker.workflow import is_pipeline_variable, is_pipeline_parameter_string
  from sagemaker.workflow.parameters import ParameterString, ParameterInteger, ParameterBoolean, ParameterFloat
  from sagemaker.workflow.functions import Join, JsonGet
  from tests.unit.sagemaker.workflow.helpers import CustomStep
  from tests.unit import DATA_DIR, SAGEMAKER_CONFIG_SESSION
label_desc: Use image node_id 1 for calling a global function with example usage: client_mock() and returns: client_mock