You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am struggling with finding the counterpart event types in the new implementation. I want to import types in lambda handlers such as
// version 2import{APIGatewayProxyEvent,APIGatewayProxyResult,Context}from'aws-lambda';
but I am unable to find it anywhere. Please can you provide more information about the proper typings for lambda invocations and other types of events?
I also hope to get some feedback on how I migrated DynamoDBStream and CloudWatch events, as it took me long to find it and I am even not sure it is correct.
For example, I migrated DynamoDB Stream event like this as the type has the same structure:
Another issue was to find the proper CloudWatch event type. This is how I handled it (unfortunately I failed finding the equivalent types for Context and Callback, see below):
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Dear colleagues,
I am struggling with finding the counterpart event types in the new implementation. I want to import types in lambda handlers such as
but I am unable to find it anywhere. Please can you provide more information about the proper typings for lambda invocations and other types of events?
I also hope to get some feedback on how I migrated
DynamoDBStream
andCloudWatch
events, as it took me long to find it and I am even not sure it is correct.For example, I migrated DynamoDB Stream event like this as the type has the same structure:
Another issue was to find the proper CloudWatch event type. This is how I handled it (unfortunately I failed finding the equivalent types for Context and Callback, see below):
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions