| 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.AdminDisableUser
Description
Disables the specified user as an administrator. Works on any user.
- adminDisableUser :: Text -> Text -> AdminDisableUser
- data AdminDisableUser
- aduUserPoolId :: Lens' AdminDisableUser Text
- aduUsername :: Lens' AdminDisableUser Text
- adminDisableUserResponse :: Int -> AdminDisableUserResponse
- data AdminDisableUserResponse
- adursResponseStatus :: Lens' AdminDisableUserResponse Int
Creating a Request
Arguments
| :: Text | |
| -> Text | |
| -> AdminDisableUser |
Creates a value of AdminDisableUser with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
aduUserPoolId- The user pool ID for the user pool where you want to disable the user.aduUsername- The user name of the user you wish to disable.
data AdminDisableUser Source #
Represents the request to disable any user as an administrator.
See: adminDisableUser smart constructor.
Instances
Request Lenses
aduUserPoolId :: Lens' AdminDisableUser Text Source #
The user pool ID for the user pool where you want to disable the user.
aduUsername :: Lens' AdminDisableUser Text Source #
The user name of the user you wish to disable.
Destructuring the Response
adminDisableUserResponse Source #
Arguments
| :: Int | |
| -> AdminDisableUserResponse |
Creates a value of AdminDisableUserResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
adursResponseStatus- -- | The response status code.
data AdminDisableUserResponse Source #
Represents the response received from the server to disable the user as an administrator.
See: adminDisableUserResponse smart constructor.
Response Lenses
adursResponseStatus :: Lens' AdminDisableUserResponse Int Source #
- - | The response status code.