The Princess of Wales will not attend the Diplomatic Corps event at Buckingham Palace on Tuesday evening.