Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Updates the name and/or the path of the specified IAM user.
Important: You should understand the implications of changing an IAM user's path or name. For more information, see Renaming an IAM User and Renaming an IAM Group in the IAM User Guide .
Synopsis
Creating a Request
:: Text | |
-> UpdateUser |
Creates a value of UpdateUser
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
uuNewUserName
- New name for the user. Include this parameter only if you're changing the user's name. This parameter allows (per its regex pattern ) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-uuNewPath
- New path for the IAM user. Include this parameter only if you're changing the user's path. This parameter allows (per its regex pattern ) a string of characters consisting of either a forward slash (/) by itself or a string that must begin and end with forward slashes. In addition, it can contain any ASCII character from the ! (u0021) through the DEL character (u007F), including most punctuation characters, digits, and upper and lowercased letters.uuUserName
- Name of the user to update. If you're changing the name of the user, this is the original user name. This parameter allows (per its regex pattern ) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
data UpdateUser Source #
See: updateUser
smart constructor.
Instances
Request Lenses
uuNewUserName :: Lens' UpdateUser (Maybe Text) Source #
New name for the user. Include this parameter only if you're changing the user's name. This parameter allows (per its regex pattern ) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
uuNewPath :: Lens' UpdateUser (Maybe Text) Source #
New path for the IAM user. Include this parameter only if you're changing the user's path. This parameter allows (per its regex pattern ) a string of characters consisting of either a forward slash (/) by itself or a string that must begin and end with forward slashes. In addition, it can contain any ASCII character from the ! (u0021) through the DEL character (u007F), including most punctuation characters, digits, and upper and lowercased letters.
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. This parameter allows (per its regex pattern ) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
Destructuring the Response
updateUserResponse :: UpdateUserResponse Source #
Creates a value of UpdateUserResponse
with the minimum fields required to make a request.
data UpdateUserResponse Source #
See: updateUserResponse
smart constructor.