def delete(client, region = 'AWS_REGION')
      super
      puts "Deleting all versions and aliases for Lambda: #{@lambda_name}"
      lambda_details = retrieve_lambda_details
      if lambda_details.nil?
        puts 'No Lambda to delete.'
      else
        options = { function_name: @lambda_name }
        @client.delete_function(options)
        puts "Lambda #{@lambda_name} and all Versions & Aliases have been deleted."
      end
      true
    end
def delete(client, region = 'AWS_REGION')
      super
      puts "Deleting all versions and aliases for Lambda: #{@lambda_name}"
      lambda_details = retrieve_lambda_details
      if lambda_details.nil?
        puts 'No Lambda to delete.'
      else
        options = { function_name: @lambda_name }
        @client.delete_function(options)
        puts "Lambda #{@lambda_name} and all Versions & Aliases have been deleted."
      end
      true
    end
Deletes the Lambda Object with associated versions, code, configuration, and aliases.

 @param client [Aws::Lambda::Client] Client to use with SDK. Should be passed in by the API class.
 @param region [String] AWS Region string. Should be passed in by the API class.