public void removeFrom(final LocalDateTime time) {
        val epoch = time.toEpochSecond(ZoneOffset.UTC);
        val query =
            List.of(
                DynamoDbQueryBuilder.builder()
                    .key(ColumnNames.CREATION_TIME.getColumnName())
                    .attributeValue(List.of(AttributeValue.builder().n(String.valueOf(epoch)).build()))
                    .operator(ComparisonOperator.GE)
                    .build());
        val records = getRecordsByKeys(query);

        records
            .stream()
            .map(record -> DeleteItemRequest.builder()
                .tableName(dynamoDbProperties.getTokenTableName())
                .key(CollectionUtils.wrap(ColumnNames.ID.getColumnName(),
                    AttributeValue.builder().n(String.valueOf(record.getId())).build()))
                .build())
            .forEach(del -> {
                LOGGER.debug("Submitting delete request [{}] since [{}]", del, epoch);
                val res = amazonDynamoDBClient.deleteItem(del);
                LOGGER.debug("Delete request came back with result [{}]", res);
            });
    }
Remove from.

@param time the time
support/cas-server-support-gauth-dynamodb/src/main/java/org/apereo/cas/gauth/token/GoogleAuthenticatorDynamoDbTokenRepositoryFacilitator.java