Skip to content

Commit

Permalink
docs(data-classes): Correct import for DynamoDBRecordEventName (#299)
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Brewer committed Feb 26, 2021
1 parent f1a8832 commit fe53a2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/utilities/data_classes.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ attributes values (`AttributeValue`), as well as enums for stream view type (`St
=== "lambda_app.py"

```python
from aws_lambda_powertools.utilities.data_classes import DynamoDBStreamEvent, DynamoDBRecordEventName
from aws_lambda_powertools.utilities.data_classes.dynamo_db_stream_event import DynamoDBStreamEvent, DynamoDBRecordEventName

def lambda_handler(event, context):
event: DynamoDBStreamEvent = DynamoDBStreamEvent(event)
Expand Down

0 comments on commit fe53a2e

Please sign in to comment.