[aws] mock update_server_certificate