| Copyright | (c) 2013-2015 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.IAM.GetLoginProfile
Description
Retrieves the user name and password-creation date for the specified
user. If the user has not been assigned a password, the action returns a
404 (NoSuchEntity) error.
See: AWS API Reference for GetLoginProfile.
- getLoginProfile :: Text -> GetLoginProfile
- data GetLoginProfile
- glpUserName :: Lens' GetLoginProfile Text
- getLoginProfileResponse :: Int -> LoginProfile -> GetLoginProfileResponse
- data GetLoginProfileResponse
- glprsStatus :: Lens' GetLoginProfileResponse Int
- glprsLoginProfile :: Lens' GetLoginProfileResponse LoginProfile
Creating a Request
Arguments
| :: Text | |
| -> GetLoginProfile |
Creates a value of GetLoginProfile with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data GetLoginProfile Source
See: getLoginProfile smart constructor.
Instances
Request Lenses
glpUserName :: Lens' GetLoginProfile Text Source
The name of the user whose login profile you want to retrieve.
Destructuring the Response
getLoginProfileResponse Source
Arguments
| :: Int | |
| -> LoginProfile | |
| -> GetLoginProfileResponse |
Creates a value of GetLoginProfileResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data GetLoginProfileResponse Source
Contains the response to a successful GetLoginProfile request.
See: getLoginProfileResponse smart constructor.
Response Lenses
glprsStatus :: Lens' GetLoginProfileResponse Int Source
The response status code.
glprsLoginProfile :: Lens' GetLoginProfileResponse LoginProfile Source
The user name and password create date for the user.