Copyright | (c) 2013-2021 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 |
Changes user password(s) and/or access string.
Synopsis
- data UpdateUser = UpdateUser' {}
- newUpdateUser :: Text -> UpdateUser
- updateUser_authenticationMode :: Lens' UpdateUser (Maybe AuthenticationMode)
- updateUser_accessString :: Lens' UpdateUser (Maybe Text)
- updateUser_userName :: Lens' UpdateUser Text
- data UpdateUserResponse = UpdateUserResponse' {
- user :: Maybe User
- httpStatus :: Int
- newUpdateUserResponse :: Int -> UpdateUserResponse
- updateUserResponse_user :: Lens' UpdateUserResponse (Maybe User)
- updateUserResponse_httpStatus :: Lens' UpdateUserResponse Int
Creating a Request
data UpdateUser Source #
See: newUpdateUser
smart constructor.
UpdateUser' | |
|
Instances
Create a value of UpdateUser
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:authenticationMode:UpdateUser'
, updateUser_authenticationMode
- Denotes the user's authentication properties, such as whether it
requires a password to authenticate.
$sel:accessString:UpdateUser'
, updateUser_accessString
- Access permissions string used for this user.
$sel:userName:UpdateUser'
, updateUser_userName
- The name of the user
Request Lenses
updateUser_authenticationMode :: Lens' UpdateUser (Maybe AuthenticationMode) Source #
Denotes the user's authentication properties, such as whether it requires a password to authenticate.
updateUser_accessString :: Lens' UpdateUser (Maybe Text) Source #
Access permissions string used for this user.
updateUser_userName :: Lens' UpdateUser Text Source #
The name of the user
Destructuring the Response
data UpdateUserResponse Source #
See: newUpdateUserResponse
smart constructor.
UpdateUserResponse' | |
|
Instances
newUpdateUserResponse Source #
Create a value of UpdateUserResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:user:UpdateUserResponse'
, updateUserResponse_user
- The updated user
$sel:httpStatus:UpdateUserResponse'
, updateUserResponse_httpStatus
- The response's http status code.
Response Lenses
updateUserResponse_user :: Lens' UpdateUserResponse (Maybe User) Source #
The updated user
updateUserResponse_httpStatus :: Lens' UpdateUserResponse Int Source #
The response's http status code.