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 |
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.
Synopsis
- data CreateUserProfile = CreateUserProfile' {}
- newCreateUserProfile :: Text -> Text -> Text -> CreateUserProfile
- createUserProfile_sshPublicKey :: Lens' CreateUserProfile (Maybe Text)
- createUserProfile_userArn :: Lens' CreateUserProfile Text
- createUserProfile_displayName :: Lens' CreateUserProfile Text
- createUserProfile_emailAddress :: Lens' CreateUserProfile Text
- data CreateUserProfileResponse = CreateUserProfileResponse' {}
- newCreateUserProfileResponse :: Int -> Text -> CreateUserProfileResponse
- createUserProfileResponse_lastModifiedTimestamp :: Lens' CreateUserProfileResponse (Maybe UTCTime)
- createUserProfileResponse_sshPublicKey :: Lens' CreateUserProfileResponse (Maybe Text)
- createUserProfileResponse_emailAddress :: Lens' CreateUserProfileResponse (Maybe Text)
- createUserProfileResponse_displayName :: Lens' CreateUserProfileResponse (Maybe Text)
- createUserProfileResponse_createdTimestamp :: Lens' CreateUserProfileResponse (Maybe UTCTime)
- createUserProfileResponse_httpStatus :: Lens' CreateUserProfileResponse Int
- createUserProfileResponse_userArn :: Lens' CreateUserProfileResponse Text
Creating a Request
data CreateUserProfile Source #
See: newCreateUserProfile
smart constructor.
CreateUserProfile' | |
|
Instances
:: Text | |
-> Text | |
-> Text | |
-> CreateUserProfile |
Create a value of CreateUserProfile
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:CreateUserProfile'
, createUserProfile_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:userArn:CreateUserProfile'
, createUserProfile_userArn
- The Amazon Resource Name (ARN) of the user in IAM.
$sel:displayName:CreateUserProfile'
, createUserProfile_displayName
- The name that will be displayed as the friendly name for the user in AWS
CodeStar.
$sel:emailAddress:CreateUserProfile'
, createUserProfile_emailAddress
- The email address that will be displayed as part of the user's profile
in AWS CodeStar.
Request Lenses
createUserProfile_sshPublicKey :: 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.
createUserProfile_userArn :: Lens' CreateUserProfile Text Source #
The Amazon Resource Name (ARN) of the user in IAM.
createUserProfile_displayName :: Lens' CreateUserProfile Text Source #
The name that will be displayed as the friendly name for the user in AWS CodeStar.
createUserProfile_emailAddress :: Lens' CreateUserProfile Text Source #
The email address that will be displayed as part of the user's profile in AWS CodeStar.
Destructuring the Response
data CreateUserProfileResponse Source #
See: newCreateUserProfileResponse
smart constructor.
CreateUserProfileResponse' | |
|
Instances
newCreateUserProfileResponse Source #
:: Int | |
-> Text | |
-> CreateUserProfileResponse |
Create a value of CreateUserProfileResponse
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:CreateUserProfileResponse'
, createUserProfileResponse_lastModifiedTimestamp
- The date the user profile was last modified, in timestamp format.
$sel:sshPublicKey:CreateUserProfile'
, createUserProfileResponse_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:CreateUserProfile'
, createUserProfileResponse_emailAddress
- The email address that is displayed as part of the user's profile in
AWS CodeStar.
$sel:displayName:CreateUserProfile'
, createUserProfileResponse_displayName
- The name that is displayed as the friendly name for the user in AWS
CodeStar.
$sel:createdTimestamp:CreateUserProfileResponse'
, createUserProfileResponse_createdTimestamp
- The date the user profile was created, in timestamp format.
$sel:httpStatus:CreateUserProfileResponse'
, createUserProfileResponse_httpStatus
- The response's http status code.
$sel:userArn:CreateUserProfile'
, createUserProfileResponse_userArn
- The Amazon Resource Name (ARN) of the user in IAM.
Response Lenses
createUserProfileResponse_lastModifiedTimestamp :: Lens' CreateUserProfileResponse (Maybe UTCTime) Source #
The date the user profile was last modified, in timestamp format.
createUserProfileResponse_sshPublicKey :: 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.
createUserProfileResponse_emailAddress :: Lens' CreateUserProfileResponse (Maybe Text) Source #
The email address that is displayed as part of the user's profile in AWS CodeStar.
createUserProfileResponse_displayName :: Lens' CreateUserProfileResponse (Maybe Text) Source #
The name that is displayed as the friendly name for the user in AWS CodeStar.
createUserProfileResponse_createdTimestamp :: Lens' CreateUserProfileResponse (Maybe UTCTime) Source #
The date the user profile was created, in timestamp format.
createUserProfileResponse_httpStatus :: Lens' CreateUserProfileResponse Int Source #
The response's http status code.
createUserProfileResponse_userArn :: Lens' CreateUserProfileResponse Text Source #
The Amazon Resource Name (ARN) of the user in IAM.