@Override
    public RegisteredService save(final RegisteredService registeredService) {
        return FunctionUtils.doUnchecked(() -> {
            registeredService.assignIdIfNecessary();
            invokeServiceRegistryListenerPreSave(registeredService);
            dbTableService.put(registeredService);
            return registeredService;
        });
    }
This is {@link DynamoDbServiceRegistry}.

@author Misagh Moayyed
@since 5.1.0
support/cas-server-support-dynamodb-service-registry/src/main/java/org/apereo/cas/services/DynamoDbServiceRegistry.java