code: def test_update_lambda_s3bucket_not_provided(
      s3_upload, sagemaker_session
  ):
      lambda_obj = lambda_helper.Lambda(
          function_arn=LAMBDA_ARN,
          execution_role_arn=EXECUTION_ROLE,
          zipped_code_dir=ZIPPED_CODE_DIR,
          handler=HANDLER,
          session=sagemaker_session,
      )
  
      lambda_obj.update()
  
      sagemaker_session.lambda_client.update_function_code.assert_called_with(
          FunctionName=LAMBDA_ARN,
          S3Bucket=sagemaker_session.default_bucket(),
          S3Key=s3_upload.return_value,
      )
  
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 20 for calling a global function with example usage: test_update_lambda_s3bucket_not_provided(s3_upload, sagemaker_session) without return types