| 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.CodeStar.UpdateUserProfile
Description
Updates a user's profile in AWS CodeStar. The user profile is not project-specific. Information in the user profile is displayed wherever the user's information appears to other users in AWS CodeStar.
Synopsis
- data UpdateUserProfile = UpdateUserProfile' {
- displayName :: Maybe (Sensitive Text)
- emailAddress :: Maybe (Sensitive Text)
- sshPublicKey :: Maybe Text
- userArn :: Text
- newUpdateUserProfile :: Text -> UpdateUserProfile
- updateUserProfile_displayName :: Lens' UpdateUserProfile (Maybe Text)
- updateUserProfile_emailAddress :: Lens' UpdateUserProfile (Maybe Text)
- updateUserProfile_sshPublicKey :: Lens' UpdateUserProfile (Maybe Text)
- updateUserProfile_userArn :: Lens' UpdateUserProfile Text
- data UpdateUserProfileResponse = UpdateUserProfileResponse' {}
- newUpdateUserProfileResponse :: Int -> Text -> UpdateUserProfileResponse
- updateUserProfileResponse_createdTimestamp :: Lens' UpdateUserProfileResponse (Maybe UTCTime)
- updateUserProfileResponse_displayName :: Lens' UpdateUserProfileResponse (Maybe Text)
- updateUserProfileResponse_emailAddress :: Lens' UpdateUserProfileResponse (Maybe Text)
- updateUserProfileResponse_lastModifiedTimestamp :: Lens' UpdateUserProfileResponse (Maybe UTCTime)
- updateUserProfileResponse_sshPublicKey :: Lens' UpdateUserProfileResponse (Maybe Text)
- updateUserProfileResponse_httpStatus :: Lens' UpdateUserProfileResponse Int
- updateUserProfileResponse_userArn :: Lens' UpdateUserProfileResponse Text
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_displayName - The name that is displayed as the friendly name for the user in AWS
CodeStar.
UpdateUserProfile, updateUserProfile_emailAddress - The email address that is displayed as part of the user's profile in
AWS CodeStar.
UpdateUserProfile, updateUserProfile_sshPublicKey - The SSH public key associated with the user in AWS CodeStar. If a
project owner allows the user remote access to project resources, this
public key will be used along with the user's private key for SSH
access.
UpdateUserProfile, updateUserProfile_userArn - The name that will be displayed as the friendly name for the user in AWS
CodeStar.
Request Lenses
updateUserProfile_displayName :: Lens' UpdateUserProfile (Maybe Text) Source #
The name that is displayed as the friendly name for the user in AWS CodeStar.
updateUserProfile_emailAddress :: Lens' UpdateUserProfile (Maybe Text) Source #
The email address that is displayed as part of the user's profile in AWS CodeStar.
updateUserProfile_sshPublicKey :: Lens' UpdateUserProfile (Maybe Text) Source #
The SSH public key associated with the user in AWS CodeStar. If a project owner allows the user remote access to project resources, this public key will be used along with the user's private key for SSH access.
updateUserProfile_userArn :: Lens' UpdateUserProfile Text Source #
The name that will be displayed as the friendly name for the user in AWS CodeStar.
Destructuring the Response
data UpdateUserProfileResponse Source #
See: newUpdateUserProfileResponse smart constructor.
Constructors
| UpdateUserProfileResponse' | |
Fields
| |
Instances
newUpdateUserProfileResponse Source #
Arguments
| :: Int | |
| -> Text | |
| -> UpdateUserProfileResponse |
Create a value of UpdateUserProfileResponse 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:createdTimestamp:UpdateUserProfileResponse', updateUserProfileResponse_createdTimestamp - The date the user profile was created, in timestamp format.
UpdateUserProfile, updateUserProfileResponse_displayName - The name that is displayed as the friendly name for the user in AWS
CodeStar.
UpdateUserProfile, updateUserProfileResponse_emailAddress - The email address that is displayed as part of the user's profile in
AWS CodeStar.
$sel:lastModifiedTimestamp:UpdateUserProfileResponse', updateUserProfileResponse_lastModifiedTimestamp - The date the user profile was last modified, in timestamp format.
UpdateUserProfile, updateUserProfileResponse_sshPublicKey - The SSH public key associated with the user in AWS CodeStar. This is the
public portion of the public/private keypair the user can use to access
project resources if a project owner allows the user remote access to
those resources.
$sel:httpStatus:UpdateUserProfileResponse', updateUserProfileResponse_httpStatus - The response's http status code.
UpdateUserProfile, updateUserProfileResponse_userArn - The Amazon Resource Name (ARN) of the user in IAM.
Response Lenses
updateUserProfileResponse_createdTimestamp :: Lens' UpdateUserProfileResponse (Maybe UTCTime) Source #
The date the user profile was created, in timestamp format.
updateUserProfileResponse_displayName :: Lens' UpdateUserProfileResponse (Maybe Text) Source #
The name that is displayed as the friendly name for the user in AWS CodeStar.
updateUserProfileResponse_emailAddress :: Lens' UpdateUserProfileResponse (Maybe Text) Source #
The email address that is displayed as part of the user's profile in AWS CodeStar.
updateUserProfileResponse_lastModifiedTimestamp :: Lens' UpdateUserProfileResponse (Maybe UTCTime) Source #
The date the user profile was last modified, in timestamp format.
updateUserProfileResponse_sshPublicKey :: Lens' UpdateUserProfileResponse (Maybe Text) Source #
The SSH public key associated with the user in AWS CodeStar. This is the public portion of the public/private keypair the user can use to access project resources if a project owner allows the user remote access to those resources.
updateUserProfileResponse_httpStatus :: Lens' UpdateUserProfileResponse Int Source #
The response's http status code.
updateUserProfileResponse_userArn :: Lens' UpdateUserProfileResponse Text Source #
The Amazon Resource Name (ARN) of the user in IAM.