typelevel / typelevel/feral

Create models for the myriad of AWS Lambda event types

Open
#48 4 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement good first issue help wanted lambda
Dominant language
Scala
Stars
195
Forks
53
PR merge metrics
No merged PRs in 30d

Description

For feral-lambda to be useful for the "zoo" of Lambda types available on AWS, we need to provide models for the various events (aka "triggers") and responses used by each of these lambdas. These will live in the feral-lambda-events module.

We are currently sourcing them from the Java and JavaScript/TypeScript implementations.

The TypeScript definitions are especially important, because they are the definitive representation of these events as "plain old JavaScript objects" which is isomorphic to their JSON representation. Therefore, our models should match them exactly in name, structure, etc. in order for parsing to work correctly.

For an example of this, see the existing events:
https://github.com/typelevel/feral/blob/main/lambda/shared/src/main/scala/feral/lambda/events/

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in the existing event models under lambda/shared/src/main/scala/feral/lambda/events/ and compare the unchecked event types with the AWS Java and TypeScript definitions linked in the issue. Add models in the feral-lambda-events module that match the TypeScript names and JSON structure; done means the selected event types and responses are represented for parsing.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, scala
Domain
cloud
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.