| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.MemoryDb.UpdateUser
Description
Changes user password(s) and/or access string.
Synopsis
- data UpdateUser = UpdateUser' {}
- newUpdateUser :: Text -> UpdateUser
- updateUser_accessString :: Lens' UpdateUser (Maybe Text)
- updateUser_authenticationMode :: Lens' UpdateUser (Maybe AuthenticationMode)
- 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.
Constructors
| UpdateUser' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> UpdateUser |
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:
UpdateUser, updateUser_accessString - Access permissions string used for this user.
$sel:authenticationMode:UpdateUser', updateUser_authenticationMode - Denotes the user's authentication properties, such as whether it
requires a password to authenticate.
$sel:userName:UpdateUser', updateUser_userName - The name of the user
Request Lenses
updateUser_accessString :: Lens' UpdateUser (Maybe Text) Source #
Access permissions string used for this user.
updateUser_authenticationMode :: Lens' UpdateUser (Maybe AuthenticationMode) Source #
Denotes the user's authentication properties, such as whether it requires a password to authenticate.
updateUser_userName :: Lens' UpdateUser Text Source #
The name of the user
Destructuring the Response
data UpdateUserResponse Source #
See: newUpdateUserResponse smart constructor.
Constructors
| UpdateUserResponse' | |
Fields
| |
Instances
newUpdateUserResponse Source #
Arguments
| :: Int | |
| -> UpdateUserResponse |
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.