Lambda service is a service help us execute scripting on aws server. To use lambda, we need to know at least one of dotnet, go, java, node.js or ts, python, ruby these scripting languages.
We may find some code online and want to use them in unreal. But the code is written in dotnet, go, java, node.js or ts, python, ruby and we don't know how to translate it into unreal engine. Then we can use lambda service to execute these code for us.
Or maybe we want to execute some functions in a sequence and don't want any crash to interrupt the execution, Then we can use lambda service to make sure all functions have ran in a sequence.
create lambda object
To access lambda service, we need to create a lambda object on client side.
Access key id and secret key credentials is required by all lambda object nodes. We can get access key id and secret key from pre-created IAM user or get allocated from cognito identity pool.
invoke
To invoke functions on lambda server, we need to call invoke with the function name, body.
Content in body will be passed to the lambda function as event. The function response will be in payload in the result of invoke.