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 |
Describes a user's SSH information.
Required Permissions: To use this action, an IAM user must have self-management enabled or an attached policy that explicitly grants permissions. For more information about user permissions, see Managing User Permissions.
Synopsis
- data DescribeMyUserProfile = DescribeMyUserProfile' {
- newDescribeMyUserProfile :: DescribeMyUserProfile
- data DescribeMyUserProfileResponse = DescribeMyUserProfileResponse' {}
- newDescribeMyUserProfileResponse :: Int -> DescribeMyUserProfileResponse
- describeMyUserProfileResponse_userProfile :: Lens' DescribeMyUserProfileResponse (Maybe SelfUserProfile)
- describeMyUserProfileResponse_httpStatus :: Lens' DescribeMyUserProfileResponse Int
Creating a Request
data DescribeMyUserProfile Source #
See: newDescribeMyUserProfile
smart constructor.
Instances
newDescribeMyUserProfile :: DescribeMyUserProfile Source #
Create a value of DescribeMyUserProfile
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
Destructuring the Response
data DescribeMyUserProfileResponse Source #
Contains the response to a DescribeMyUserProfile
request.
See: newDescribeMyUserProfileResponse
smart constructor.
DescribeMyUserProfileResponse' | |
|
Instances
newDescribeMyUserProfileResponse Source #
Create a value of DescribeMyUserProfileResponse
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:userProfile:DescribeMyUserProfileResponse'
, describeMyUserProfileResponse_userProfile
- A UserProfile
object that describes the user's SSH information.
$sel:httpStatus:DescribeMyUserProfileResponse'
, describeMyUserProfileResponse_httpStatus
- The response's http status code.
Response Lenses
describeMyUserProfileResponse_userProfile :: Lens' DescribeMyUserProfileResponse (Maybe SelfUserProfile) Source #
A UserProfile
object that describes the user's SSH information.
describeMyUserProfileResponse_httpStatus :: Lens' DescribeMyUserProfileResponse Int Source #
The response's http status code.