#NEWLINE# def invoke_lambda_function( self , function_name , payload , invocation_type = 'Event' , log_type = 'Tail' , client_context = None , qualifier = None ) : #NEWLINE# #INDENT# '\n        Directly invoke a named Lambda function with a payload.\n        Returns the response.\n\n        ' #NEWLINE# client = self . boto_session . client ( 'lambda' ) #NEWLINE# response = client . invoke ( FunctionName = function_name , InvocationType = invocation_type , LogType = log_type , Payload = payload ) #NEWLINE# return response