Let's say I have a DynamoDB table T with H, R, G, and S as attributes; H being the partition/hash key and R being the range/sort key. Let's say I also have a global secondary index (GSI) that is defined with partition key as G and sort key as S.
When a query is performed using the GSI, giving paginated results, what attributes should be expected in LastEvaluatedKey? I have read the docs but it doesn't give this detail.