Copyright | (c) 2013-2016 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 |
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.
- getLoginProfile :: Text -> GetLoginProfile
- data GetLoginProfile
- glpUserName :: Lens' GetLoginProfile Text
- getLoginProfileResponse :: Int -> LoginProfile -> GetLoginProfileResponse
- data GetLoginProfileResponse
- glprsResponseStatus :: Lens' GetLoginProfileResponse Int
- glprsLoginProfile :: Lens' GetLoginProfileResponse LoginProfile
Creating a Request
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.
Request Lenses
glpUserName :: Lens' GetLoginProfile Text Source #
The name of the user whose login profile you want to retrieve.
Destructuring the Response
getLoginProfileResponse Source #
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
glprsResponseStatus :: Lens' GetLoginProfileResponse Int Source #
The response status code.
glprsLoginProfile :: Lens' GetLoginProfileResponse LoginProfile Source #
The user name and password create date for the user.