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
Copy file name to clipboardExpand all lines: docs/utilities/parser.md
+3
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,7 @@
2
2
title: Parser
3
3
description: Utility
4
4
---
5
+
<!-- markdownlint-disable MD043 -->
5
6
6
7
This utility provides data parsing and deep validation using [Pydantic](https://pydantic-docs.helpmanual.io/).
7
8
@@ -166,6 +167,7 @@ Parser comes with the following built-in models:
166
167
|**SnsModel**| Lambda Event Source payload for Amazon Simple Notification Service |
167
168
|**APIGatewayProxyEventModel**| Lambda Event Source payload for Amazon API Gateway |
168
169
|**APIGatewayProxyEventV2Model**| Lambda Event Source payload for Amazon API Gateway v2 payload |
170
+
|**LambdaFunctionUrlModel**| Lambda Event Source payload for Lambda function URL payload |
169
171
170
172
### extending built-in models
171
173
@@ -305,6 +307,7 @@ Parser comes with the following built-in envelopes, where `Model` in the return
305
307
|**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]`|
306
308
|**ApiGatewayEnvelope**| 1. Parses data using `APIGatewayProxyEventModel`. <br/> 2. Parses `body` key using your model and returns it. |`Model`|
307
309
|**ApiGatewayV2Envelope**| 1. Parses data using `APIGatewayProxyEventV2Model`. <br/> 2. Parses `body` key using your model and returns it. |`Model`|
310
+
|**LambdaFunctionUrlEnvelope**| 1. Parses data using `LambdaFunctionUrlModel`. <br/> 2. Parses `body` key using your model and returns it. |`Model`|
0 commit comments