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 |
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
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:
data AdminDisableUser Source #
Represents the request to disable any user as an administrator.
See: adminDisableUser
smart constructor.
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 #
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:
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.