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 |
Enables the specified user as an administrator. Works on any user.
Creating a Request
Creates a value of AdminEnableUser
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
aeuUserPoolId
- The user pool ID for the user pool where you want to enable the user.aeuUsername
- The user name of the user you wish to ebable.
data AdminEnableUser Source #
Represents the request that enables the user as an administrator.
See: adminEnableUser
smart constructor.
Request Lenses
aeuUserPoolId :: Lens' AdminEnableUser Text Source #
The user pool ID for the user pool where you want to enable the user.
aeuUsername :: Lens' AdminEnableUser Text Source #
The user name of the user you wish to ebable.
Destructuring the Response
adminEnableUserResponse Source #
Creates a value of AdminEnableUserResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
aeursResponseStatus
- -- | The response status code.
data AdminEnableUserResponse Source #
Represents the response from the server for the request to enable a user as an administrator.
See: adminEnableUserResponse
smart constructor.
Response Lenses
aeursResponseStatus :: Lens' AdminEnableUserResponse Int Source #
- - | The response status code.