in aws-iotfleethub-application/src/main/java/software/amazon/iotfleethub/application/Translator.java [136:147]
static boolean isReadOnlyFieldChanged(
Logger logger,
String fieldType,
String previousFieldValue,
String currentFieldValue) {
if (!StringUtils.equals(previousFieldValue, currentFieldValue)) {
logger.log(String.format("%s is Read-Only, but the caller attempted to modify %s to %s", fieldType, previousFieldValue, currentFieldValue));
return true;
}
return false;
}