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 |
Network.AWS.IAM.GetLoginProfile
Description
Retrieves the user name and password-creation date for the specified IAM 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
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:
glpUserName
- The name of the user whose login profile you want to retrieve. The regex pattern for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@-
data GetLoginProfile #
See: getLoginProfile
smart constructor.
Instances
Request Lenses
glpUserName :: Lens' GetLoginProfile Text #
The name of the user whose login profile you want to retrieve. The regex pattern for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@-
Destructuring the Response
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:
glprsResponseStatus
- -- | The response status code.glprsLoginProfile
- A structure containing the user name and password create date for the user.
data GetLoginProfileResponse #
Contains the response to a successful GetLoginProfile
request.
See: getLoginProfileResponse
smart constructor.
Response Lenses
glprsResponseStatus :: Lens' GetLoginProfileResponse Int #
- - | The response status code.
glprsLoginProfile :: Lens' GetLoginProfileResponse LoginProfile #
A structure containing the user name and password create date for the user.