aws-toolkit-vscode
aws-toolkit-vscode copied to clipboard
Users can browse sample Lambda events to use as starting points for input into their Lambda handlers
Lambda invocations require a JSON "event". You can find sample events for AWS services in the public docs, but this requires the user to leave their IDE and isn't very discoverable.
- Create a "Sample Lambda Event Manager" view, and add it to the AWS viewCollection
- event manager tree would have two top level nodes: "Curated Events", and "Custom Events". This issue deals with the former (#107 deals with the latter)
- The sample request manifest references sample definitions, and hosted url locations. Each sample should be represented by a node on the tree
- Clicking on the node would download the sample event and open it in a new editor pane for user to see
- initial implementation is simple - no caching
- The manifest might have some structured information that groups/categorizes the events. Bonus marks for adding this structure into the tree
Later on, when we have the ability to Run/Debug Lambda Handlers locally, these events will be referenced as options to pass into the handler.
Also sam local generate-event
contains samples we could access