| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.OpsWorks.DescribeMyUserProfile
Description
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.
Constructors
| DescribeMyUserProfile' | |
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.
Constructors
| DescribeMyUserProfileResponse' | |
Fields
| |
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.