The Secretary, through the Director of U.S. Immigration and Customs Enforcement, shall, to the extent permitted by law and subject to the availability of appropriations, take all appropriate action to hire 10,000 additional immigration officers, who shall complete relevant training and be authorized to perform the law enforcement functions described in section 287 of the INA (8 U.S.C.