Jay Clayton will become the next director of national intelligence after the Senate confirmed his nomination on a 51-47 party-line vote.