| 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.CognitoIdentityProvider.AdminEnableUser
Description
Enables the specified user as an administrator. Works on any user.
Creating a Request
Arguments
| :: Text | |
| -> Text | |
| -> AdminEnableUser |
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:
data AdminEnableUser Source #
Represents the request that enables the user as an administrator.
See: adminEnableUser smart constructor.
Instances
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 #
Arguments
| :: Int | |
| -> AdminEnableUserResponse |
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:
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.