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 |
Creates a profile for a user that includes user preferences, such as the display name and email address assocciated with the user, 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.
- createUserProfile :: Text -> Text -> Text -> CreateUserProfile
- data CreateUserProfile
- cupSshPublicKey :: Lens' CreateUserProfile (Maybe Text)
- cupUserARN :: Lens' CreateUserProfile Text
- cupDisplayName :: Lens' CreateUserProfile Text
- cupEmailAddress :: Lens' CreateUserProfile Text
- createUserProfileResponse :: Int -> Text -> CreateUserProfileResponse
- data CreateUserProfileResponse
- cuprsLastModifiedTimestamp :: Lens' CreateUserProfileResponse (Maybe UTCTime)
- cuprsSshPublicKey :: Lens' CreateUserProfileResponse (Maybe Text)
- cuprsEmailAddress :: Lens' CreateUserProfileResponse (Maybe Text)
- cuprsDisplayName :: Lens' CreateUserProfileResponse (Maybe Text)
- cuprsCreatedTimestamp :: Lens' CreateUserProfileResponse (Maybe UTCTime)
- cuprsResponseStatus :: Lens' CreateUserProfileResponse Int
- cuprsUserARN :: Lens' CreateUserProfileResponse Text
Creating a Request
Creates a value of CreateUserProfile
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cupSshPublicKey
- 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.cupUserARN
- The Amazon Resource Name (ARN) of the user in IAM.cupDisplayName
- The name that will be displayed as the friendly name for the user in AWS CodeStar.cupEmailAddress
- The email address that will be displayed as part of the user's profile in AWS CodeStar.
data CreateUserProfile Source #
See: createUserProfile
smart constructor.
Request Lenses
cupSshPublicKey :: Lens' CreateUserProfile (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.
cupUserARN :: Lens' CreateUserProfile Text Source #
The Amazon Resource Name (ARN) of the user in IAM.
cupDisplayName :: Lens' CreateUserProfile Text Source #
The name that will be displayed as the friendly name for the user in AWS CodeStar.
cupEmailAddress :: Lens' CreateUserProfile Text Source #
The email address that will be displayed as part of the user's profile in AWS CodeStar.
Destructuring the Response
createUserProfileResponse Source #
Creates a value of CreateUserProfileResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cuprsLastModifiedTimestamp
- The date the user profile was last modified, in timestamp format.cuprsSshPublicKey
- 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.cuprsEmailAddress
- The email address that is displayed as part of the user's profile in AWS CodeStar.cuprsDisplayName
- The name that is displayed as the friendly name for the user in AWS CodeStar.cuprsCreatedTimestamp
- The date the user profile was created, in timestamp format.cuprsResponseStatus
- -- | The response status code.cuprsUserARN
- The Amazon Resource Name (ARN) of the user in IAM.
data CreateUserProfileResponse Source #
See: createUserProfileResponse
smart constructor.
Response Lenses
cuprsLastModifiedTimestamp :: Lens' CreateUserProfileResponse (Maybe UTCTime) Source #
The date the user profile was last modified, in timestamp format.
cuprsSshPublicKey :: Lens' CreateUserProfileResponse (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.
cuprsEmailAddress :: Lens' CreateUserProfileResponse (Maybe Text) Source #
The email address that is displayed as part of the user's profile in AWS CodeStar.
cuprsDisplayName :: Lens' CreateUserProfileResponse (Maybe Text) Source #
The name that is displayed as the friendly name for the user in AWS CodeStar.
cuprsCreatedTimestamp :: Lens' CreateUserProfileResponse (Maybe UTCTime) Source #
The date the user profile was created, in timestamp format.
cuprsResponseStatus :: Lens' CreateUserProfileResponse Int Source #
- - | The response status code.
cuprsUserARN :: Lens' CreateUserProfileResponse Text Source #
The Amazon Resource Name (ARN) of the user in IAM.