Lambda function which writes GitHub events into S3.
GitHub provide a Webhook to receive events from your organisation. This repository creates an API Gateway endpoint to receive calls from that webhook and pass them on to a Lambda function for archiving.
The Lambda adds a new timestamp field to the root of
the JSON object and also goes through the keys and removes any ending _url -
these add a lot of extra data that doesn't need to be added to ingested.
If parsing fails - then the original event will get sent to S3.