Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Deletes a user as an administrator. Works on any user.
Calling this action requires developer credentials.
Synopsis
- data AdminDeleteUser = AdminDeleteUser' {
- userPoolId :: Text
- username :: Sensitive Text
- newAdminDeleteUser :: Text -> Text -> AdminDeleteUser
- adminDeleteUser_userPoolId :: Lens' AdminDeleteUser Text
- adminDeleteUser_username :: Lens' AdminDeleteUser Text
- data AdminDeleteUserResponse = AdminDeleteUserResponse' {
- newAdminDeleteUserResponse :: AdminDeleteUserResponse
Creating a Request
data AdminDeleteUser Source #
Represents the request to delete a user as an administrator.
See: newAdminDeleteUser
smart constructor.
AdminDeleteUser' | |
|
Instances
Create a value of AdminDeleteUser
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:userPoolId:AdminDeleteUser'
, adminDeleteUser_userPoolId
- The user pool ID for the user pool where you want to delete the user.
$sel:username:AdminDeleteUser'
, adminDeleteUser_username
- The user name of the user you wish to delete.
Request Lenses
adminDeleteUser_userPoolId :: Lens' AdminDeleteUser Text Source #
The user pool ID for the user pool where you want to delete the user.
adminDeleteUser_username :: Lens' AdminDeleteUser Text Source #
The user name of the user you wish to delete.
Destructuring the Response
data AdminDeleteUserResponse Source #
See: newAdminDeleteUserResponse
smart constructor.
Instances
newAdminDeleteUserResponse :: AdminDeleteUserResponse Source #
Create a value of AdminDeleteUserResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.