Is it possible to do batch write to DynamoDB (using the Java SDK v1.11.1 with the document API) while using the value of a global secondary index as a conditional expression?
For example, I'd like to issue a batch update request that would update the attributes A, B and C for any items where the GSI MyIndex
is equal to some value.
Is this possible, or do I have to do a query on the GSI and use the resulting primary keys for the batch write?