code: def test_create_lambda_happycase3(sagemaker_session):
      lambda_obj = lambda_helper.Lambda(
          function_name=FUNCTION_NAME,
          execution_role_arn=EXECUTION_ROLE,
          script=SCRIPT,
          handler=HANDLER,
          session=sagemaker_session,
          environment={"Name": "my-test-lambda"},
          vpc_config={
              "SubnetIds": ["test-subnet-1"],
              "SecurityGroupIds": ["sec-group-1"],
          },
          layers=["my-test-layer-1", "my-test-layer-2"],
      )
  
      lambda_obj.create()
      code = {"ZipFile": ZIPPED_CODE}
  
      sagemaker_session.lambda_client.create_function.assert_called_with(
          FunctionName=FUNCTION_NAME,
          Runtime="python3.8",
          Handler=HANDLER,
          Role=EXECUTION_ROLE,
          Code=code,
          Timeout=120,
          MemorySize=128,
          VpcConfig={
              "SubnetIds": ["test-subnet-1"],
              "SecurityGroupIds": ["sec-group-1"],
          },
          Environment={"Name": "my-test-lambda"},
          Layers=["my-test-layer-1", "my-test-layer-2"],
      )
  
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 14 for calling a global function with example usage: test_create_lambda_happycase3(sagemaker_session) without return types