private static ConsentDecision extractAttributeValuesFrom(final Map<String, AttributeValue> item) {
        val principal = item.get(ColumnNames.PRINCIPAL.getColumnName()).s();
        val id = Long.valueOf(item.get(ColumnNames.ID.getColumnName()).n());
        val body = item.get(ColumnNames.BODY.getColumnName()).s();
        LOGGER.debug("Extracting consent decision id [{}] for [{}]", id, principal);
        return FunctionUtils.doUnchecked(() -> MAPPER.readValue(body, ConsentDecision.class));
    }
This is {@link DynamoDbConsentFacilitator}.

@author Misagh Moayyed
@since 6.5.0
support/cas-server-support-consent-dynamodb/src/main/java/org/apereo/cas/consent/DynamoDbConsentFacilitator.java