Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
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
- updateUserProfile :: Text -> UpdateUserProfile
- data UpdateUserProfile
- uupSshPublicKey :: Lens' UpdateUserProfile (Maybe Text)
- uupEmailAddress :: Lens' UpdateUserProfile (Maybe Text)
- uupDisplayName :: Lens' UpdateUserProfile (Maybe Text)
- uupUserARN :: Lens' UpdateUserProfile Text
- updateUserProfileResponse :: Int -> Text -> UpdateUserProfileResponse
- data UpdateUserProfileResponse
- uuprsLastModifiedTimestamp :: Lens' UpdateUserProfileResponse (Maybe UTCTime)
- uuprsSshPublicKey :: Lens' UpdateUserProfileResponse (Maybe Text)
- uuprsEmailAddress :: Lens' UpdateUserProfileResponse (Maybe Text)
- uuprsDisplayName :: Lens' UpdateUserProfileResponse (Maybe Text)
- uuprsCreatedTimestamp :: Lens' UpdateUserProfileResponse (Maybe UTCTime)
- uuprsResponseStatus :: Lens' UpdateUserProfileResponse Int
- uuprsUserARN :: Lens' UpdateUserProfileResponse Text
Creating a Request
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:
uupSshPublicKey
- 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.uupEmailAddress
- The email address that is displayed as part of the user's profile in AWS CodeStar.uupDisplayName
- The name that is displayed as the friendly name for the user in AWS CodeStar.uupUserARN
- The name that will be displayed as the friendly name for the user in AWS CodeStar.
data UpdateUserProfile Source #
See: updateUserProfile
smart constructor.
Instances
Request Lenses
uupSshPublicKey :: 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.
uupEmailAddress :: Lens' UpdateUserProfile (Maybe Text) Source #
The email address that is displayed as part of the user's profile in AWS CodeStar.
uupDisplayName :: Lens' UpdateUserProfile (Maybe Text) Source #
The name that is displayed as the friendly name for the user in AWS CodeStar.
uupUserARN :: Lens' UpdateUserProfile Text Source #
The name that will be displayed as the friendly name for the user in AWS CodeStar.
Destructuring the Response
updateUserProfileResponse Source #
Creates a value of UpdateUserProfileResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
uuprsLastModifiedTimestamp
- The date the user profile was last modified, in timestamp format.uuprsSshPublicKey
- 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.uuprsEmailAddress
- The email address that is displayed as part of the user's profile in AWS CodeStar.uuprsDisplayName
- The name that is displayed as the friendly name for the user in AWS CodeStar.uuprsCreatedTimestamp
- The date the user profile was created, in timestamp format.uuprsResponseStatus
- -- | The response status code.uuprsUserARN
- The Amazon Resource Name (ARN) of the user in IAM.
data UpdateUserProfileResponse Source #
See: updateUserProfileResponse
smart constructor.
Instances
Response Lenses
uuprsLastModifiedTimestamp :: Lens' UpdateUserProfileResponse (Maybe UTCTime) Source #
The date the user profile was last modified, in timestamp format.
uuprsSshPublicKey :: 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.
uuprsEmailAddress :: Lens' UpdateUserProfileResponse (Maybe Text) Source #
The email address that is displayed as part of the user's profile in AWS CodeStar.
uuprsDisplayName :: Lens' UpdateUserProfileResponse (Maybe Text) Source #
The name that is displayed as the friendly name for the user in AWS CodeStar.
uuprsCreatedTimestamp :: Lens' UpdateUserProfileResponse (Maybe UTCTime) Source #
The date the user profile was created, in timestamp format.
uuprsResponseStatus :: Lens' UpdateUserProfileResponse Int Source #
- - | The response status code.
uuprsUserARN :: Lens' UpdateUserProfileResponse Text Source #
The Amazon Resource Name (ARN) of the user in IAM.