Skip to content

Commit fe53a2e

Browse files
author
Michael Brewer
authored
docs(data-classes): Correct import for DynamoDBRecordEventName (#299)
1 parent f1a8832 commit fe53a2e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/utilities/data_classes.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ attributes values (`AttributeValue`), as well as enums for stream view type (`St
142142
=== "lambda_app.py"
143143

144144
```python
145-
from aws_lambda_powertools.utilities.data_classes import DynamoDBStreamEvent, DynamoDBRecordEventName
145+
from aws_lambda_powertools.utilities.data_classes.dynamo_db_stream_event import DynamoDBStreamEvent, DynamoDBRecordEventName
146146

147147
def lambda_handler(event, context):
148148
event: DynamoDBStreamEvent = DynamoDBStreamEvent(event)

0 commit comments

Comments
 (0)