| 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.UpdateMyUserProfile
Description
Updates a user's SSH public key.
Required Permissions: To use this action, an IAM user must have self-management enabled or an attached policy that explicitly grants permissions. For more information about user permissions, see Managing User Permissions.
Synopsis
Creating a Request
data UpdateMyUserProfile Source #
See: newUpdateMyUserProfile smart constructor.
Constructors
| UpdateMyUserProfile' | |
Fields
| |
Instances
newUpdateMyUserProfile :: UpdateMyUserProfile Source #
Create a value of UpdateMyUserProfile 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:
UpdateMyUserProfile, updateMyUserProfile_sshPublicKey - The user's SSH public key.
Request Lenses
updateMyUserProfile_sshPublicKey :: Lens' UpdateMyUserProfile (Maybe Text) Source #
The user's SSH public key.
Destructuring the Response
data UpdateMyUserProfileResponse Source #
See: newUpdateMyUserProfileResponse smart constructor.
Constructors
| UpdateMyUserProfileResponse' | |
Instances
newUpdateMyUserProfileResponse :: UpdateMyUserProfileResponse Source #
Create a value of UpdateMyUserProfileResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.