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 ModifyUser = ModifyUser' {}
- newModifyUser :: Text -> ModifyUser
- modifyUser_appendAccessString :: Lens' ModifyUser (Maybe Text)
- modifyUser_accessString :: Lens' ModifyUser (Maybe Text)
- modifyUser_passwords :: Lens' ModifyUser (Maybe (NonEmpty Text))
- modifyUser_noPasswordRequired :: Lens' ModifyUser (Maybe Bool)
- modifyUser_userId :: Lens' ModifyUser Text
- data User = User' {}
- newUser :: User
- user_status :: Lens' User (Maybe Text)
- user_arn :: Lens' User (Maybe Text)
- user_userGroupIds :: Lens' User (Maybe [Text])
- user_authentication :: Lens' User (Maybe Authentication)
- user_engine :: Lens' User (Maybe Text)
- user_userName :: Lens' User (Maybe Text)
- user_accessString :: Lens' User (Maybe Text)
- user_userId :: Lens' User (Maybe Text)
Creating a Request
data ModifyUser Source #
See: newModifyUser
smart constructor.
ModifyUser' | |
|
Instances
Create a value of ModifyUser
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:appendAccessString:ModifyUser'
, modifyUser_appendAccessString
- Adds additional user permissions to the access string.
$sel:accessString:ModifyUser'
, modifyUser_accessString
- Access permissions string used for this user.
$sel:passwords:ModifyUser'
, modifyUser_passwords
- The passwords belonging to the user. You are allowed up to two.
$sel:noPasswordRequired:ModifyUser'
, modifyUser_noPasswordRequired
- Indicates no password is required for the user.
$sel:userId:ModifyUser'
, modifyUser_userId
- The ID of the user.
Request Lenses
modifyUser_appendAccessString :: Lens' ModifyUser (Maybe Text) Source #
Adds additional user permissions to the access string.
modifyUser_accessString :: Lens' ModifyUser (Maybe Text) Source #
Access permissions string used for this user.
modifyUser_passwords :: Lens' ModifyUser (Maybe (NonEmpty Text)) Source #
The passwords belonging to the user. You are allowed up to two.
modifyUser_noPasswordRequired :: Lens' ModifyUser (Maybe Bool) Source #
Indicates no password is required for the user.
modifyUser_userId :: Lens' ModifyUser Text Source #
The ID of the user.
Destructuring the Response
See: newUser
smart constructor.
User' | |
|
Instances
Create a value of User
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:status:User'
, user_status
- Indicates the user status. Can be "active", "modifying" or
"deleting".
$sel:arn:User'
, user_arn
- The Amazon Resource Name (ARN) of the user.
$sel:userGroupIds:User'
, user_userGroupIds
- Returns a list of the user group IDs the user belongs to.
$sel:authentication:User'
, user_authentication
- Denotes whether the user requires a password to authenticate.
$sel:engine:User'
, user_engine
- The current supported value is Redis.
$sel:userName:User'
, user_userName
- The username of the user.
$sel:accessString:User'
, user_accessString
- Access permissions string used for this user.
$sel:userId:User'
, user_userId
- The ID of the user.
Response Lenses
user_status :: Lens' User (Maybe Text) Source #
Indicates the user status. Can be "active", "modifying" or "deleting".
user_userGroupIds :: Lens' User (Maybe [Text]) Source #
Returns a list of the user group IDs the user belongs to.
user_authentication :: Lens' User (Maybe Authentication) Source #
Denotes whether the user requires a password to authenticate.