public static <T> Stream<T> scanPaginator(final DynamoDbClient amazonDynamoDBClient,
                                              final String tableName,
                                              final List<DynamoDbQueryBuilder> keys,
                                              final Function<Map<String, AttributeValue>, T> itemMapper) {
        return scanPaginator(amazonDynamoDBClient, tableName, 0L, keys, itemMapper);
    }
Stream and scan using pagination.

@param <T>                  the type parameter
@param amazonDynamoDBClient the amazon dynamo db client
@param tableName            the table name
@param keys                 the keys
@param itemMapper           the item mapper
@return the stream
support/cas-server-support-dynamodb-core/src/main/java/org/apereo/cas/dynamodb/DynamoDbTableUtils.java