def scanFilter(attributeName, attribute, table): return table.scan(FilterExpression=Attr(attributeName).eq(attribute))