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 |
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' {
- sshPublicKey :: Maybe Text
- emailAddress :: Maybe (Sensitive Text)
- displayName :: Maybe (Sensitive Text)
- userArn :: Text
- newUpdateUserProfile :: Text -> UpdateUserProfile
- updateUserProfile_sshPublicKey :: Lens' UpdateUserProfile (Maybe Text)
- updateUserProfile_emailAddress :: Lens' UpdateUserProfile (Maybe Text)
- updateUserProfile_displayName :: Lens' UpdateUserProfile (Maybe Text)
- updateUserProfile_userArn :: Lens' UpdateUserProfile Text
- data UpdateUserProfileResponse = UpdateUserProfileResponse' {}
- newUpdateUserProfileResponse :: Int -> Text -> UpdateUserProfileResponse
- updateUserProfileResponse_lastModifiedTimestamp :: Lens' UpdateUserProfileResponse (Maybe UTCTime)
- updateUserProfileResponse_sshPublicKey :: Lens' UpdateUserProfileResponse (Maybe Text)
- updateUserProfileResponse_emailAddress :: Lens' UpdateUserProfileResponse (Maybe Text)
- updateUserProfileResponse_displayName :: Lens' UpdateUserProfileResponse (Maybe Text)
- updateUserProfileResponse_createdTimestamp :: Lens' UpdateUserProfileResponse (Maybe UTCTime)
- updateUserProfileResponse_httpStatus :: Lens' UpdateUserProfileResponse Int
- updateUserProfileResponse_userArn :: Lens' UpdateUserProfileResponse Text
Creating a Request
data UpdateUserProfile Source #
See: newUpdateUserProfile
smart constructor.
UpdateUserProfile' | |
|
Instances
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:
$sel:sshPublicKey: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.
$sel:emailAddress:UpdateUserProfile'
, updateUserProfile_emailAddress
- The email address that is displayed as part of the user's profile in
AWS CodeStar.
$sel:displayName:UpdateUserProfile'
, updateUserProfile_displayName
- The name that is displayed as the friendly name for the user in AWS
CodeStar.
$sel:userArn:UpdateUserProfile'
, updateUserProfile_userArn
- The name that will be displayed as the friendly name for the user in AWS
CodeStar.
Request Lenses
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_emailAddress :: Lens' UpdateUserProfile (Maybe Text) Source #
The email address that is displayed as part of the user's profile in AWS CodeStar.
updateUserProfile_displayName :: Lens' UpdateUserProfile (Maybe Text) Source #
The name that is displayed as the friendly name for the user in AWS CodeStar.
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.
UpdateUserProfileResponse' | |
|
Instances
newUpdateUserProfileResponse Source #
:: 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:lastModifiedTimestamp:UpdateUserProfileResponse'
, updateUserProfileResponse_lastModifiedTimestamp
- The date the user profile was last modified, in timestamp format.
$sel:sshPublicKey: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:emailAddress:UpdateUserProfile'
, updateUserProfileResponse_emailAddress
- The email address that is displayed as part of the user's profile in
AWS CodeStar.
$sel:displayName:UpdateUserProfile'
, updateUserProfileResponse_displayName
- The name that is displayed as the friendly name for the user in AWS
CodeStar.
$sel:createdTimestamp:UpdateUserProfileResponse'
, updateUserProfileResponse_createdTimestamp
- The date the user profile was created, in timestamp format.
$sel:httpStatus:UpdateUserProfileResponse'
, updateUserProfileResponse_httpStatus
- The response's http status code.
$sel:userArn:UpdateUserProfile'
, updateUserProfileResponse_userArn
- The Amazon Resource Name (ARN) of the user in IAM.
Response Lenses
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_emailAddress :: Lens' UpdateUserProfileResponse (Maybe Text) Source #
The email address that is displayed as part of the user's profile in AWS CodeStar.
updateUserProfileResponse_displayName :: Lens' UpdateUserProfileResponse (Maybe Text) Source #
The name that is displayed as the friendly name for the user in AWS CodeStar.
updateUserProfileResponse_createdTimestamp :: Lens' UpdateUserProfileResponse (Maybe UTCTime) Source #
The date the user profile was created, in timestamp format.
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.