According to DynamoDB documentation, ScanFilter has been deprecated and has been replaced by FilterExpression.
I don't think it would be difficult to use data.FilterExpression instead of data.ScanFilter around here (and subsequent data.ScanFilter mentions.
Would that be feasible?