module WolfCore::LambdaFunctionDataSource

def invoke(function_name:, payload:)

def invoke(function_name:, payload:)
  parsed_payload = JSON.generate(payload)
  @@client.invoke({
    function_name: function_name,
    invocation_type: 'Event',
    log_type: 'Tail',
    payload: parsed_payload
  })
end