'Get item as soon as it inserted in dynamodb in python

Looking for example We insert single record in dynamodb We need to retrieve that item as soon as it inserted in dynamodb database using python

Just like get record seeking continuously for latest item in db once it inserted it will retrieved from db



Solution 1:[1]

You typically want an event-based solution without having to poll the database which means using DynamoDB Streams and Lambda functions.

You can, however, also write a Python client that polls DynamoDB Streams.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 jarmod