#NEWLINE# def _delete_function( self , request , full_url , headers ) : #NEWLINE# #INDENT# lambda_backend = self . get_lambda_backend ( full_url ) #NEWLINE# function_name = request . path . split ( '/' ) [ ( - 1 ) ] #NEWLINE# if lambda_backend . has_function ( function_name ) : #NEWLINE# #INDENT# lambda_backend . delete_function ( request ) #NEWLINE# return ( 204 , headers , '' ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# return ( 404 , headers , '{}' )