From a0ef46d6ddbe9490ccfd5eff605c271c6da0c087 Mon Sep 17 00:00:00 2001 From: Ran Isenberg Date: Thu, 11 Aug 2022 19:58:58 +0300 Subject: [PATCH] Update parser.md --- docs/utilities/parser.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/utilities/parser.md b/docs/utilities/parser.md index cb69cf9699b..84bc6af017d 100644 --- a/docs/utilities/parser.md +++ b/docs/utilities/parser.md @@ -2,6 +2,7 @@ title: Parser description: Utility --- + This utility provides data parsing and deep validation using [Pydantic](https://pydantic-docs.helpmanual.io/). @@ -166,6 +167,7 @@ Parser comes with the following built-in models: | **SnsModel** | Lambda Event Source payload for Amazon Simple Notification Service | | **APIGatewayProxyEventModel** | Lambda Event Source payload for Amazon API Gateway | | **APIGatewayProxyEventV2Model** | Lambda Event Source payload for Amazon API Gateway v2 payload | +| **LambdaFunctionUrlModel** | Lambda Event Source payload for Lambda function URL payload | ### extending built-in models @@ -305,6 +307,7 @@ Parser comes with the following built-in envelopes, where `Model` in the return | **SnsSqsEnvelope** | 1. Parses data using `SqsModel`.
2. Parses SNS records in `body` key using `SnsNotificationModel`.
3. Parses data in `Message` key using your model and return them in a list. | `List[Model]` | | **ApiGatewayEnvelope** | 1. Parses data using `APIGatewayProxyEventModel`.
2. Parses `body` key using your model and returns it. | `Model` | | **ApiGatewayV2Envelope** | 1. Parses data using `APIGatewayProxyEventV2Model`.
2. Parses `body` key using your model and returns it. | `Model` | +| **LambdaFunctionUrlEnvelope** | 1. Parses data using `LambdaFunctionUrlModel`.
2. Parses `body` key using your model and returns it. | `Model` | ### Bringing your own envelope