Create models for the myriad of AWS Lambda event types #48
Labels
enhancement
New feature or request
good first issue
Good for newcomers
help wanted
Extra attention is needed
lambda
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/
ActiveMQEvent
APIGatewayCustomAuthorizerEvent
APIGatewayProxyRequestEvent
AddAPIGatewayProxyRequestEvent
#409APIGatewayProxyResponseEvent
AddAPIGatewayProxyRequestEvent
#409APIGatewayV2CustomAuthorizerEvent
APIGatewayV2HTTPEvent
APIGatewayV2HTTPResponse
APIGatewayV2WebSocketEvent
AddApiGatewayV2WebSocketEvent
#476APIGatewayV2WebSocketResponse
ApplicationLoadBalancerRequestEvent
ApplicationLoadBalancerResponseEvent
AppSyncLambdaAuthorizerEvent
AppSyncLambdaAuthorizerResponse
CloudFormationCustomResourceEvent
CloudFrontEvent
CloudWatchLogsEvent
CodeCommitEvent
CognitoEvent
CognitoUserPoolCreateAuthChallengeEvent
CognitoUserPoolCustomMessageEvent
CognitoUserPoolDefineAuthChallengeEvent
CognitoUserPoolEvent
CognitoUserPoolMigrateUserEvent
CognitoUserPoolPostAuthenticationEvent
CognitoUserPoolPostConfirmationEvent
CognitoUserPoolPreAuthenticationEvent
CognitoUserPoolPreSignUpEvent
CognitoUserPoolPreTokenGenerationEvent
CognitoUserPoolVerifyAuthChallengeResponseEvent
ConfigEvent
ConnectEvent
DynamodbEvent
Add DynamoDBStreamEvent event type #68IoTButtonEvent
KafkaEvent
KinesisAnalyticsFirehoseInputPreprocessingEvent
KinesisAnalyticsInputPreprocessingResponse
KinesisAnalyticsOutputDeliveryEvent
KinesisAnalyticsOutputDeliveryResponse
KinesisAnalyticsStreamsInputPreprocessingEvent
KinesisEvent
Add kinesis event #75KinesisFirehoseEvent
LambdaDestinationEvent
LexEvent
RabbitMQEvent
S3BatchEvent
Add S3BatchEvent and S3BatchResult #231S3BatchResponse
Add S3BatchEvent and S3BatchResult #231S3Event
Add S3Event #354ScheduledEvent
SecretsManagerRotationEvent
SimpleIAMPolicyResponse
SNSEvent
Add SNSEvent, update to circe-* 0.15.0-M1, use jawn on all platforms #195SQSEvent
Add SQSEvent #58The text was updated successfully, but these errors were encountered: