Canada’s prime minister said the country was also ‘prepared’ to quickly respond.