Switch from InvokeAsync to the newer Invoke API #21
Labels
good first issue
Good for newcomers
help wanted
Extra attention is needed
maintenance
Keep the technology up to date
I have received an automated email from AWS regarding the use of the deprecated
InvokeAsync
API to call lambda function that logs an event in the event-log DynamoDB table:littermap-aws-backend/layers/common/nodejs/lib/interface/eventlog.js
Line 10 in b2c0fa3
The recommendation is to use the newer
Invoke
function withInvocationType
set toEvent
to make the call asynchronous.Here is the text from the email:
There is nothing urgent about making this change, however AWS recommends switching to the newer and better supported API for the reasons given in the email.
I would strongly recommend taking a closer look at the code in the first place to see if it could be written differently to begin with.
The text was updated successfully, but these errors were encountered: