1 Answer
- Newest
- Most votes
- Most comments
0
Hi,
I believe you are performing GetItem API on your DynamoDB table. Please correct me if I am mistaken here.
As per GetItem API call, it is expected that if the item does not exist for that primary key then it returns empty response.
Excerpt from documentation:
The GetItem operation returns a set of attributes for the item with the given primary key. If there is no matching item, GetItem does not return any data and there will be no Item element in the response.
Reference: https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_GetItem.html
Hope it helps you.
Should you have any other concerns, do let us know. We'd be happy to help you.
answered 6 years ago
Relevant content
- asked 3 years ago
- asked 2 years ago
