I am trying fetch items from DynamoDB using BatchGetItem. I'm searching in 2 tables. This is the example I am following. Is hash key and range key mandatory to fetch items? I want to fetch using attributes which are not either hash key or range key. Is this possible using BatchGetItem? Or can we fetch with indexed attributes?
Thanks in advance.