-
Notifications
You must be signed in to change notification settings - Fork 171
Closed
Closed
Copy link
Labels
completedThis item is complete and has been merged/shippedThis item is complete and has been merged/shippedevent-handlerThis item relates to the Event Handler UtilityThis item relates to the Event Handler Utilityfeature-requestThis item refers to a feature request for an existing or new utilityThis item refers to a feature request for an existing or new utility
Milestone
Description
Use case
The event handler will eventually support multiple event type (ALB etc). types, as such we need a common format to represent these requests. We should use the standard Fetch Request
object for this purpose.
Solution/User Experience
We will have a utility function to convert an APIGatewayProxyEvent
to a Request
. We should also add a type guard to test whether the event to be converted is actually is of type APIGatewayProxyEvent
.
Alternative solutions
Acknowledgment
- This feature request meets Powertools for AWS Lambda (TypeScript) Tenets
- Should this be considered in other Powertools for AWS Lambda languages? i.e. Python, Java, and .NET
Future readers
Please react with 👍 and your use case to help us understand customer demand.
dreamorosi
Metadata
Metadata
Assignees
Labels
completedThis item is complete and has been merged/shippedThis item is complete and has been merged/shippedevent-handlerThis item relates to the Event Handler UtilityThis item relates to the Event Handler Utilityfeature-requestThis item refers to a feature request for an existing or new utilityThis item refers to a feature request for an existing or new utility
Type
Projects
Status
Shipped