@Override
    public List<? extends Ticket> addTicket(final Stream<? extends Ticket> toSave) {
        val initialList = toSave.toList();
        val toPut = initialList.stream().map(Unchecked.function(this::toTicketPayload));
        dbTableService.put(toPut);
        return initialList;
    }
This is {@link DynamoDbTicketRegistry}.

@author Misagh Moayyed
@since 5.1.0
support/cas-server-support-dynamodb-ticket-registry/src/main/java/org/apereo/cas/ticket/registry/DynamoDbTicketRegistry.java