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. The user will be removed from all ACLs and in turn removed from all clusters.
Synopsis
- data DeleteUser = DeleteUser' {}
- newDeleteUser :: Text -> DeleteUser
- deleteUser_userName :: Lens' DeleteUser Text
- data DeleteUserResponse = DeleteUserResponse' {
- user :: Maybe User
- httpStatus :: Int
- newDeleteUserResponse :: Int -> DeleteUserResponse
- deleteUserResponse_user :: Lens' DeleteUserResponse (Maybe User)
- deleteUserResponse_httpStatus :: Lens' DeleteUserResponse Int
Creating a Request
data DeleteUser Source #
See: newDeleteUser
smart constructor.
Instances
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 name of the user to delete
Request Lenses
deleteUser_userName :: Lens' DeleteUser Text Source #
The name of the user to delete
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:user:DeleteUserResponse'
, deleteUserResponse_user
- The user object that has been deleted.
$sel:httpStatus:DeleteUserResponse'
, deleteUserResponse_httpStatus
- The response's http status code.
Response Lenses
deleteUserResponse_user :: Lens' DeleteUserResponse (Maybe User) Source #
The user object that has been deleted.
deleteUserResponse_httpStatus :: Lens' DeleteUserResponse Int Source #
The response's http status code.