aws iam update-user
Updates the name and/or the path of the specified IAM user. AWS CLI reference
3 options Its page in the AWS CLI reference
Options
--new-pathNew path for the IAM user.--new-user-nameNew name for the user.--user-nameName of the user to update.