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 from the user pool.
Synopsis
- data DeleteUser = DeleteUser' {}
- newDeleteUser :: Text -> AuthenticationType -> DeleteUser
- deleteUser_userName :: Lens' DeleteUser Text
- deleteUser_authenticationType :: Lens' DeleteUser AuthenticationType
- data DeleteUserResponse = DeleteUserResponse' {
- httpStatus :: Int
- newDeleteUserResponse :: Int -> DeleteUserResponse
- deleteUserResponse_httpStatus :: Lens' DeleteUserResponse Int
Creating a Request
data DeleteUser Source #
See: newDeleteUser
smart constructor.
DeleteUser' | |
|
Instances
:: Text | |
-> AuthenticationType | |
-> DeleteUser |
Create a value of DeleteUser
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:userName:DeleteUser'
, deleteUser_userName
- The email address of the user.
Users' email addresses are case-sensitive.
$sel:authenticationType:DeleteUser'
, deleteUser_authenticationType
- The authentication type for the user. You must specify USERPOOL.
Request Lenses
deleteUser_userName :: Lens' DeleteUser Text Source #
The email address of the user.
Users' email addresses are case-sensitive.
deleteUser_authenticationType :: Lens' DeleteUser AuthenticationType Source #
The authentication type for the user. You must specify USERPOOL.
Destructuring the Response
data DeleteUserResponse Source #
See: newDeleteUserResponse
smart constructor.
DeleteUserResponse' | |
|
Instances
newDeleteUserResponse Source #
Create a value of DeleteUserResponse
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:httpStatus:DeleteUserResponse'
, deleteUserResponse_httpStatus
- The response's http status code.
Response Lenses
deleteUserResponse_httpStatus :: Lens' DeleteUserResponse Int Source #
The response's http status code.