US and Canadian air defenses were placed on heightened alert after a shooting in Canada's parliament, a US defense official told AFP on Wednesday.