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 |
Describes a user in AWS CodeStar and the user attributes across all projects.
Synopsis
- describeUserProfile :: Text -> DescribeUserProfile
- data DescribeUserProfile
- dupUserARN :: Lens' DescribeUserProfile Text
- describeUserProfileResponse :: Int -> Text -> UTCTime -> UTCTime -> DescribeUserProfileResponse
- data DescribeUserProfileResponse
- duprsSshPublicKey :: Lens' DescribeUserProfileResponse (Maybe Text)
- duprsEmailAddress :: Lens' DescribeUserProfileResponse (Maybe Text)
- duprsDisplayName :: Lens' DescribeUserProfileResponse (Maybe Text)
- duprsResponseStatus :: Lens' DescribeUserProfileResponse Int
- duprsUserARN :: Lens' DescribeUserProfileResponse Text
- duprsCreatedTimestamp :: Lens' DescribeUserProfileResponse UTCTime
- duprsLastModifiedTimestamp :: Lens' DescribeUserProfileResponse UTCTime
Creating a Request
Creates a value of DescribeUserProfile
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dupUserARN
- The Amazon Resource Name (ARN) of the user.
data DescribeUserProfile Source #
See: describeUserProfile
smart constructor.
Instances
Request Lenses
dupUserARN :: Lens' DescribeUserProfile Text Source #
The Amazon Resource Name (ARN) of the user.
Destructuring the Response
describeUserProfileResponse Source #
:: Int | |
-> Text | |
-> UTCTime | |
-> UTCTime | |
-> DescribeUserProfileResponse |
Creates a value of DescribeUserProfileResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
duprsSshPublicKey
- The SSH public key associated with the user. This SSH public key is associated with the user profile, and can be used in conjunction with the associated private key for access to project resources, such as Amazon EC2 instances, if a project owner grants remote access to those resources.duprsEmailAddress
- The email address for the user. Optional.duprsDisplayName
- The display name shown for the user in AWS CodeStar projects. For example, this could be set to both first and last name ("Mary Major") or a single name (Mary). The display name is also used to generate the initial icon associated with the user in AWS CodeStar projects. If spaces are included in the display name, the first character that appears after the space will be used as the second character in the user initial icon. The initial icon displays a maximum of two characters, so a display name with more than one space (for example "Mary Jane Major") would generate an initial icon using the first character and the first character after the space (MJ, not MM).duprsResponseStatus
- -- | The response status code.duprsUserARN
- The Amazon Resource Name (ARN) of the user.duprsCreatedTimestamp
- The date and time when the user profile was created in AWS CodeStar, in timestamp format.duprsLastModifiedTimestamp
- The date and time when the user profile was last modified, in timestamp format.
data DescribeUserProfileResponse Source #
See: describeUserProfileResponse
smart constructor.
Instances
Response Lenses
duprsSshPublicKey :: Lens' DescribeUserProfileResponse (Maybe Text) Source #
The SSH public key associated with the user. This SSH public key is associated with the user profile, and can be used in conjunction with the associated private key for access to project resources, such as Amazon EC2 instances, if a project owner grants remote access to those resources.
duprsEmailAddress :: Lens' DescribeUserProfileResponse (Maybe Text) Source #
The email address for the user. Optional.
duprsDisplayName :: Lens' DescribeUserProfileResponse (Maybe Text) Source #
The display name shown for the user in AWS CodeStar projects. For example, this could be set to both first and last name ("Mary Major") or a single name (Mary). The display name is also used to generate the initial icon associated with the user in AWS CodeStar projects. If spaces are included in the display name, the first character that appears after the space will be used as the second character in the user initial icon. The initial icon displays a maximum of two characters, so a display name with more than one space (for example "Mary Jane Major") would generate an initial icon using the first character and the first character after the space (MJ, not MM).
duprsResponseStatus :: Lens' DescribeUserProfileResponse Int Source #
- - | The response status code.
duprsUserARN :: Lens' DescribeUserProfileResponse Text Source #
The Amazon Resource Name (ARN) of the user.
duprsCreatedTimestamp :: Lens' DescribeUserProfileResponse UTCTime Source #
The date and time when the user profile was created in AWS CodeStar, in timestamp format.
duprsLastModifiedTimestamp :: Lens' DescribeUserProfileResponse UTCTime Source #
The date and time when the user profile was last modified, in timestamp format.