Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
Deletes a user from Amazon WorkMail and all subsequent systems. The action can't be undone. The mailbox is kept as-is for a minimum of 30 days, without any means to restore it.
Creating a Request
Creates a value of DeleteUser
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
delOrganizationId
- The organization that contains the user.delUserId
- The identifier of the user to be deleted.
data DeleteUser Source #
See: deleteUser
smart constructor.
Request Lenses
delOrganizationId :: Lens' DeleteUser Text Source #
The organization that contains the user.
Destructuring the Response
Creates a value of DeleteUserResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
delrsResponseStatus
- -- | The response status code.
data DeleteUserResponse Source #
See: deleteUserResponse
smart constructor.
Response Lenses
delrsResponseStatus :: Lens' DeleteUserResponse Int Source #
- - | The response status code.