API Gateway Async Lambda Invocation #822
Labels
feature-request
A feature should be added or improved.
language/typescript
Related to Typescript examples
needs-triage
This issue or PR still needs to be triaged.
p2
Describe the feature
This feature allows users to build an API Gateway with an asynchronous Lambda integration, in addition to a DynamoDB integration. The POST method submits an async request to Lambda, and returns a jobID to the user.
The user can then use the GET method to query the jobStatus for that jobId. The GET method relies on direct DynamoDB integration with API Gateway.
Use Case
Giving users the ability to receive a jobId for an async invocation, thus allowing them to check the jobStatus for that jobId.
Proposed Solution
I am using API Gateway context to return a requestId upon a POST request. The Lambda function stores this requestId in the DynamoDB table.
The GET method queries the DynamoDB table for that requestId, and returns the value of the status attribute.
Other Information
No response
Acknowledgements
Language
Typescript
The text was updated successfully, but these errors were encountered: