Updated ECSErrorCode, ECSConstants, added ECSInstanceState