Safe Haskell | None |
---|---|
Language | Haskell2010 |
Retrieves information about the specified user, including the user's creation date, path, unique ID, and ARN.
If you do not specify a user name, IAM determines the user name implicitly based on the AWS access key ID used to sign the request.
http://docs.aws.amazon.com/IAM/latest/APIReference/API_GetUser.html
- data GetUser
- getUser :: GetUser
- guUserName :: Lens' GetUser (Maybe Text)
- data GetUserResponse
- getUserResponse :: User -> GetUserResponse
- gurUser :: Lens' GetUserResponse User
Request
Request constructor
Request lenses
guUserName :: Lens' GetUser (Maybe Text) Source
The name of the user to get information about.
This parameter is optional. If it is not included, it defaults to the user making the request.
Response
Response constructor
Response lenses
gurUser :: Lens' GetUserResponse User Source
Information about the user.