You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|**DynamoDBStreamEnvelope**| 1. Parses data using `DynamoDBStreamModel`. <br/> 2. Parses records in `NewImage` and `OldImage` keys using your model. <br/> 3. Returns a list with a dictionary containing `NewImage` and `OldImage` keys |`List[Dict[str, Optional[Model]]]`|
301
-
|**EventBridgeEnvelope**| 1. Parses data using `EventBridgeModel`. <br/> 2. Parses `detail` key using your model and returns it. |`Model`|
302
-
|**SqsEnvelope**| 1. Parses data using `SqsModel`. <br/> 2. Parses records in `body` key using your model and return them in a list. |`List[Model]`|
303
-
|**CloudWatchLogsEnvelope**| 1. Parses data using `CloudwatchLogsModel` which will base64 decode and decompress it. <br/> 2. Parses records in `message` key using your model and return them in a list. |`List[Model]`|
304
-
|**KinesisDataStreamEnvelope**| 1. Parses data using `KinesisDataStreamModel` which will base64 decode it. <br/> 2. Parses records in in `Records` key using your model and returns them in a list. |`List[Model]`|
305
-
|**SnsEnvelope**| 1. Parses data using `SnsModel`. <br/> 2. Parses records in `body` key using your model and return them in a list. |`List[Model]`|
306
-
|**SnsSqsEnvelope**| 1. Parses data using `SqsModel`. <br/> 2. Parses SNS records in `body` key using `SnsNotificationModel`. <br/> 3. Parses data in `Message` key using your model and return them in a list. |`List[Model]`|
307
-
|**ApiGatewayEnvelope** 1. Parses data using `APIGatewayProxyEvent`. <br/> 2. Parses `body` key using your model and returns it. |`Model`|
|**DynamoDBStreamEnvelope**| 1. Parses data using `DynamoDBStreamModel`. <br/> 2. Parses records in `NewImage` and `OldImage` keys using your model. <br/> 3. Returns a list with a dictionary containing `NewImage` and `OldImage` keys |`List[Dict[str, Optional[Model]]]`|
301
+
|**EventBridgeEnvelope**| 1. Parses data using `EventBridgeModel`. <br/> 2. Parses `detail` key using your model and returns it. |`Model`|
302
+
|**SqsEnvelope**| 1. Parses data using `SqsModel`. <br/> 2. Parses records in `body` key using your model and return them in a list. |`List[Model]`|
303
+
|**CloudWatchLogsEnvelope**| 1. Parses data using `CloudwatchLogsModel` which will base64 decode and decompress it. <br/> 2. Parses records in `message` key using your model and return them in a list. |`List[Model]`|
304
+
|**KinesisDataStreamEnvelope**| 1. Parses data using `KinesisDataStreamModel` which will base64 decode it. <br/> 2. Parses records in in `Records` key using your model and returns them in a list. |`List[Model]`|
305
+
|**SnsEnvelope**| 1. Parses data using `SnsModel`. <br/> 2. Parses records in `body` key using your model and return them in a list. |`List[Model]`|
306
+
|**SnsSqsEnvelope**| 1. Parses data using `SqsModel`. <br/> 2. Parses SNS records in `body` key using `SnsNotificationModel`. <br/> 3. Parses data in `Message` key using your model and return them in a list. |`List[Model]`|
307
+
|**ApiGatewayEnvelope** 1. Parses data using `APIGatewayProxyEventModel`. <br/> 2. Parses `body` key using your model and returns it. |`Model`|
308
308
### bringing your own envelope
309
309
310
310
You can create your own Envelope model and logic by inheriting from `BaseEnvelope`, and implementing the `parse` method.
0 commit comments