Skip to content

Commit 3809763

Browse files
committed
docs: add Kinesis Streams as a supported model & envelope
1 parent c822713 commit 3809763

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/content/utilities/parser.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,7 @@ Model name | Description
159159
**AlbModel** | Lambda Event Source payload for Amazon Application Load Balancer
160160
**CloudwatchLogsModel** | Lambda Event Source payload for Amazon CloudWatch Logs
161161
**S3Model** | Lambda Event Source payload for Amazon S3
162+
**KinesisDataStreamModel** | Lambda Event Source payload for Amazon Kinesis Data Streams
162163

163164
You can extend them to include your own models, and yet have all other known fields parsed along the way.
164165

@@ -296,6 +297,7 @@ Envelope name | Behaviour | Return
296297
**EventBridgeEnvelope** | 1. Parses data using `EventBridgeModel`. <br/> 2. Parses `detail` key using your model and returns it. | `Model`
297298
**SqsEnvelope** | 1. Parses data using `SqsModel`. <br/> 2. Parses records in `body` key using your model and return them in a list. | `List[Model]`
298299
**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]`
300+
**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]`
299301

300302
### Bringing your own envelope
301303

0 commit comments

Comments
 (0)