She is named by the president as head of the spy agency, succeeding Mike Pompeo.