amazonka-iam-0.0.2: Amazon Identity and Access Management SDK.

Safe HaskellNone
LanguageHaskell2010

Network.AWS.IAM.UpdateUser

Contents

Description

Updates the name and/or the path of the specified user.

You should understand the implications of changing a user's path or name. For more information, see Renaming Users and Groups in the Using IAM guide.

http://docs.aws.amazon.com/IAM/latest/APIReference/API_UpdateUser.html

Synopsis

Request

Request constructor

updateUser Source

Arguments

:: Text

uuUserName

-> UpdateUser 

UpdateUser constructor.

The fields accessible through corresponding lenses are:

Request lenses

uuNewPath :: Lens' UpdateUser (Maybe Text) Source

New path for the user. Include this parameter only if you're changing the user's path.

uuNewUserName :: Lens' UpdateUser (Maybe Text) Source

New name for the user. Include this parameter only if you're changing the user's name.

uuUserName :: Lens' UpdateUser Text Source

Name of the user to update. If you're changing the name of the user, this is the original user name.

Response

Response constructor