I have a dynamodb structure like below:
{
"PK" : "queue#1234#view",
"SK" : "board#1234",
"items" : [
"1234",
"1234",
"1234",
"1234",
"1234",
"1234"
]
}
I want to know if there is a way to use a filter expression in Dynamodb to get items from the list for pagination by specifying indexes. For example, I want to get items from index 0 to 3 and and index 2 – 5. I was reading through this doc: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.Attributes.html but couldn’t find a solution.