Iran's Revolutionary Guard had threatened to attack energy facilities in Qatar, Saudi Arabia and the United Emirates.