Catch AWS errors (moved datasheet).
Keep a log file.