| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.AlexaBusiness.DeleteUser
Description
Deletes a specified user by user ARN and enrollment ARN.
Synopsis
- data DeleteUser = DeleteUser' {
- userArn :: Maybe Text
- enrollmentId :: Text
- newDeleteUser :: Text -> DeleteUser
- deleteUser_userArn :: Lens' DeleteUser (Maybe Text)
- deleteUser_enrollmentId :: Lens' DeleteUser Text
- data DeleteUserResponse = DeleteUserResponse' {
- httpStatus :: Int
- newDeleteUserResponse :: Int -> DeleteUserResponse
- deleteUserResponse_httpStatus :: Lens' DeleteUserResponse Int
Creating a Request
data DeleteUser Source #
See: newDeleteUser smart constructor.
Constructors
| DeleteUser' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> 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:
DeleteUser, deleteUser_userArn - The ARN of the user to delete in the organization. Required.
DeleteUser, deleteUser_enrollmentId - The ARN of the user's enrollment in the organization. Required.
Request Lenses
deleteUser_userArn :: Lens' DeleteUser (Maybe Text) Source #
The ARN of the user to delete in the organization. Required.
deleteUser_enrollmentId :: Lens' DeleteUser Text Source #
The ARN of the user's enrollment in the organization. Required.
Destructuring the Response
data DeleteUserResponse Source #
See: newDeleteUserResponse smart constructor.
Constructors
| DeleteUserResponse' | |
Fields
| |
Instances
newDeleteUserResponse Source #
Arguments
| :: Int | |
| -> DeleteUserResponse |
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.