| Copyright | (c) 2013-2016 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.OpsWorks.UpdateUserProfile
Description
Updates a specified user profile.
Required Permissions: To use this action, an IAM user must have an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
- updateUserProfile :: Text -> UpdateUserProfile
- data UpdateUserProfile
- uupAllowSelfManagement :: Lens' UpdateUserProfile (Maybe Bool)
- uupSSHPublicKey :: Lens' UpdateUserProfile (Maybe Text)
- uupSSHUsername :: Lens' UpdateUserProfile (Maybe Text)
- uupIAMUserARN :: Lens' UpdateUserProfile Text
- updateUserProfileResponse :: UpdateUserProfileResponse
- data UpdateUserProfileResponse
Creating a Request
Arguments
| :: Text | |
| -> UpdateUserProfile |
Creates a value of UpdateUserProfile with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data UpdateUserProfile Source #
See: updateUserProfile smart constructor.
Instances
Request Lenses
uupAllowSelfManagement :: Lens' UpdateUserProfile (Maybe Bool) Source #
Whether users can specify their own SSH public key through the My Settings page. For more information, see Managing User Permissions.
uupSSHPublicKey :: Lens' UpdateUserProfile (Maybe Text) Source #
The user's new SSH public key.
uupSSHUsername :: Lens' UpdateUserProfile (Maybe Text) Source #
The user's SSH user name. The allowable characters are [a-z], [A-Z], [0-9], '-', and '_'. If the specified name includes other punctuation marks, AWS OpsWorks removes them. For example, 'my.name' will be changed to myname. If you do not specify an SSH user name, AWS OpsWorks generates one from the IAM user name.
uupIAMUserARN :: Lens' UpdateUserProfile Text Source #
The user IAM ARN.
Destructuring the Response
updateUserProfileResponse :: UpdateUserProfileResponse Source #
Creates a value of UpdateUserProfileResponse with the minimum fields required to make a request.
data UpdateUserProfileResponse Source #
See: updateUserProfileResponse smart constructor.