Skip to content

Commit 9424826

Browse files
committed
chore: remove envelope ref and consistency test docstring
1 parent e8041b1 commit 9424826

File tree

2 files changed

+20
-20
lines changed

2 files changed

+20
-20
lines changed

docs/utilities/parser.md

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -156,25 +156,25 @@ def my_function():
156156

157157
Parser comes with the following built-in models:
158158

159-
| Model name | Description |
160-
| --------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------ |
161-
| **DynamoDBStreamModel** | Lambda Event Source payload for Amazon DynamoDB Streams |
162-
| **EventBridgeModel** | Lambda Event Source payload for Amazon EventBridge |
163-
| **SqsModel** | Lambda Event Source payload for Amazon SQS |
164-
| **AlbModel** | Lambda Event Source payload for Amazon Application Load Balancer |
165-
| **CloudwatchLogsModel** | Lambda Event Source payload for Amazon CloudWatch Logs |
166-
| **S3Model** | Lambda Event Source payload for Amazon S3 |
167-
| **S3ObjectLambdaEvent** | Lambda Event Source payload for Amazon S3 Object Lambda |
168-
| **S3EventNotificationEventBridgeModel** | Lambda Event Source payload for Amazon S3 Event Notification to EventBridge. <br /> It's compatible with `EventBridgeEnvelope` [envelope](#envelopes). |
169-
| **KinesisDataStreamModel** | Lambda Event Source payload for Amazon Kinesis Data Streams |
170-
| **KinesisFirehoseModel** | Lambda Event Source payload for Amazon Kinesis Firehose |
171-
| **SesModel** | Lambda Event Source payload for Amazon Simple Email Service |
172-
| **SnsModel** | Lambda Event Source payload for Amazon Simple Notification Service |
173-
| **APIGatewayProxyEventModel** | Lambda Event Source payload for Amazon API Gateway |
174-
| **APIGatewayProxyEventV2Model** | Lambda Event Source payload for Amazon API Gateway v2 payload |
175-
| **LambdaFunctionUrlModel** | Lambda Event Source payload for Lambda Function URL payload |
176-
| **KafkaSelfManagedEventModel** | Lambda Event Source payload for self managed Kafka payload |
177-
| **KafkaMskEventModel** | Lambda Event Source payload for AWS MSK payload |
159+
| Model name | Description |
160+
| --------------------------------------- | ---------------------------------------------------------------------------- |
161+
| **DynamoDBStreamModel** | Lambda Event Source payload for Amazon DynamoDB Streams |
162+
| **EventBridgeModel** | Lambda Event Source payload for Amazon EventBridge |
163+
| **SqsModel** | Lambda Event Source payload for Amazon SQS |
164+
| **AlbModel** | Lambda Event Source payload for Amazon Application Load Balancer |
165+
| **CloudwatchLogsModel** | Lambda Event Source payload for Amazon CloudWatch Logs |
166+
| **S3Model** | Lambda Event Source payload for Amazon S3 |
167+
| **S3ObjectLambdaEvent** | Lambda Event Source payload for Amazon S3 Object Lambda |
168+
| **S3EventNotificationEventBridgeModel** | Lambda Event Source payload for Amazon S3 Event Notification to EventBridge. |
169+
| **KinesisDataStreamModel** | Lambda Event Source payload for Amazon Kinesis Data Streams |
170+
| **KinesisFirehoseModel** | Lambda Event Source payload for Amazon Kinesis Firehose |
171+
| **SesModel** | Lambda Event Source payload for Amazon Simple Email Service |
172+
| **SnsModel** | Lambda Event Source payload for Amazon Simple Notification Service |
173+
| **APIGatewayProxyEventModel** | Lambda Event Source payload for Amazon API Gateway |
174+
| **APIGatewayProxyEventV2Model** | Lambda Event Source payload for Amazon API Gateway v2 payload |
175+
| **LambdaFunctionUrlModel** | Lambda Event Source payload for Lambda Function URL payload |
176+
| **KafkaSelfManagedEventModel** | Lambda Event Source payload for self managed Kafka payload |
177+
| **KafkaMskEventModel** | Lambda Event Source payload for AWS MSK payload |
178178

179179
#### Extending built-in models
180180

tests/functional/parser/test_s3.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ def handle_s3_eventbridge_object_created(event: S3EventNotificationEventBridgeDe
236236
@event_parser(model=S3EventNotificationEventBridgeModel)
237237
def handle_s3_eventbridge_object_created_no_envelope(event: S3EventNotificationEventBridgeModel, _: LambdaContext):
238238
"""
239-
Tests that the `S3EventNotificationEventBridgeDetailModel` parses events from
239+
Tests that the `S3EventNotificationEventBridgeModel` parses events from
240240
https://docs.aws.amazon.com/AmazonS3/latest/userguide/ev-events.html
241241
"""
242242

0 commit comments

Comments
 (0)