class_docstr: Contains lambda boto3 wrappers to Create, Update, Delete and Invoke Lambda functions.
class_docstr_tok: ["Contains","lambda","boto3","wrappers","to","Create",",","Update",",","Delete","and","Invoke","Lambda","functions","."]
docstr: Method to delete a lambda function.
  
  Returns: boto3 response from Lambda's delete_function method.
docstr_tok: ["Method","to","delete","a","lambda","function",".","Returns",":","boto3","response","from","Lambda","'s","delete_function","method","."]
code: def delete(self):
      """Method to delete a lambda function.
  
      Returns: boto3 response from Lambda's delete_function method.
      """
      lambda_client = _get_lambda_client(self.session)
      try:
          response = lambda_client.delete_function(
              FunctionName=self.function_name or self.function_arn
          )
          return response
      except ClientError as e:
          error = e.response["Error"]
          raise ValueError(error)
  
file_path: sagemaker-python-sdk/src/sagemaker/lambda_helper.py
imports: from __future__ import print_function, absolute_import
  from io import BytesIO
  import zipfile
  import time
  from botocore.exceptions import ClientError
  from sagemaker import s3
  from sagemaker.session import Session
label_desc: Use image node_id 6 for calling the Lambda obj's underlying member method code with example usage: obj.delete() and returns: response