aws / aws/aws-lambda-rust-runtime
Event definitions for AppSync Events
- Lenguaje dominante
- Rust
- Estrellas
- 3.6k
- Forks
- 396
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
There are currently no event definitions for the relatively new AWS AppSync Event service. Going through the [AWS docs](https://docs.aws.amazon.com/appsync/latest/eventapi/event-api-welcome.html), I've collected the following list of events that could be added:
1. ~~[onPublish](https://docs.aws.amazon.com/appsync/latest/eventapi/channel-namespace-handlers.html#event-handler-onpublish)~~
2. ~~[onSubscribe](https://docs.aws.amazon.com/appsync/latest/eventapi/channel-namespace-handlers.html#event-handler-onpublish)~~
3. [Lambda authorization ](https://docs.aws.amazon.com/appsync/latest/eventapi/configure-event-api-auth.html#aws-lambda-authorization), consisting of a `authorizationRequest`, `authorizationContext` and a `authorizationReponse`.
4. Optionally/debatable definitions for the [event API websocket protocol messages](https://docs.aws.amazon.com/appsync/latest/eventapi/event-api-websocket-protocol.html#realtime-websocket-operations).
I'm open to adding these myself, since I'm currently developing a system that will use AppSync Event, so I need to write them regardless.
Should these definitions live in `aws_lambda_events::events::appsync` (potentially in a sub-module) or in a new module `aws_lambda_events::events::appsync_events` ?
Edit: I've just realized that `onPublish` and `onSubscribe` only supports javascript handlers - so scratch that...
Guía de contribución
Línea de trabajo
Lee la documentación de AWS AppSync Events enlazada en el issue y, a continuación, inspecciona el módulo existente aws_lambda_events::events::appsync para comparar su organización con las definiciones solicitadas. Determina si la autorización de Lambda y los mensajes del protocolo websocket están dentro del alcance y si deben pertenecer a appsync o a un submódulo. La tarea estará completada cuando las definiciones acordadas de AppSync Event estén representadas de forma coherente con los módulos de eventos existentes.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- aws, rust
- Área
- api, backend
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 45/100