| 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.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 about user permissions, see Managing User Permissions.
Synopsis
- data UpdateUserProfile = UpdateUserProfile' {}
- newUpdateUserProfile :: Text -> UpdateUserProfile
- updateUserProfile_allowSelfManagement :: Lens' UpdateUserProfile (Maybe Bool)
- updateUserProfile_sshPublicKey :: Lens' UpdateUserProfile (Maybe Text)
- updateUserProfile_sshUsername :: Lens' UpdateUserProfile (Maybe Text)
- updateUserProfile_iamUserArn :: Lens' UpdateUserProfile Text
- data UpdateUserProfileResponse = UpdateUserProfileResponse' {
- newUpdateUserProfileResponse :: UpdateUserProfileResponse
Creating a Request
data UpdateUserProfile Source #
See: newUpdateUserProfile smart constructor.
Constructors
| UpdateUserProfile' | |
| Fields 
 | |
Instances
Arguments
| :: Text | |
| -> UpdateUserProfile | 
Create a value of UpdateUserProfile 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:
UpdateUserProfile, updateUserProfile_allowSelfManagement - Whether users can specify their own SSH public key through the My
 Settings page. For more information, see
 Managing User Permissions.
UpdateUserProfile, updateUserProfile_sshPublicKey - The user's new SSH public key.
UpdateUserProfile, updateUserProfile_sshUsername - 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 Stacks removes them. For example,
 my.name will be changed to myname. If you do not specify an SSH user
 name, AWS OpsWorks Stacks generates one from the IAM user name.
UpdateUserProfile, updateUserProfile_iamUserArn - The user IAM ARN. This can also be a federated user's ARN.
Request Lenses
updateUserProfile_allowSelfManagement :: 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.
updateUserProfile_sshPublicKey :: Lens' UpdateUserProfile (Maybe Text) Source #
The user's new SSH public key.
updateUserProfile_sshUsername :: 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 Stacks removes them. For example,
 my.name will be changed to myname. If you do not specify an SSH user
 name, AWS OpsWorks Stacks generates one from the IAM user name.
updateUserProfile_iamUserArn :: Lens' UpdateUserProfile Text Source #
The user IAM ARN. This can also be a federated user's ARN.
Destructuring the Response
data UpdateUserProfileResponse Source #
See: newUpdateUserProfileResponse smart constructor.
Constructors
| UpdateUserProfileResponse' | |
Instances
newUpdateUserProfileResponse :: UpdateUserProfileResponse Source #
Create a value of UpdateUserProfileResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.