All lambdas should implement the same algorithm in different programming languages:
- Parse
iteration
parameter - Respond with
400 BAD REQUEST
if the params wasn't provieded - Save all params to
dynamodb
alongside with the programming language and AWS Lambda event
langCase | iteration | ... all other parameters as separate columns ... | raw_event |
---|---|---|---|
ruby-2.7-x86 | 1 | ... | ... |
- Try to read item with iteration =
<current iteration from params> - 1
and langCase =<your language>
- Respond with previous item (if it is missing, respond with the newly inserted item)