code: def s3_client(sagemaker_session):
      return sagemaker_session.boto_session.client(
          "s3", region_name=sagemaker_session.boto_region_name
      )
  
imports: from __future__ import print_function, absolute_import
  import os
  import pytest
  from mock import Mock, patch
  from botocore.exceptions import ClientError
  from sagemaker import lambda_helper
label_desc: Use image node_id 2 for calling a global function with example usage: s3_client(sagemaker_session) and returns: sagemaker_session