I have a GSI setup on my personId field:
@DynamoDBIndexHashKey(attributeName = "personId", globalSecondaryIndexName = "personIndex")
private UUID personId;
Now the use case is where I will get a request containing List<UUID> personsIds
and I need to query the DDB and get the results.
One option that I know is that I will have to call dynamoDB one by one to get the results.
Is there a way where this can be done in a single call (a batch request may be) ? Though I am not sure if that is possible using GSI.
Would appreciate any help in this.
Thanks.