| 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.MQ.DeleteUser
Description
Deletes an ActiveMQ user.
Synopsis
- data DeleteUser = DeleteUser' {}
- newDeleteUser :: Text -> Text -> DeleteUser
- deleteUser_username :: Lens' DeleteUser Text
- deleteUser_brokerId :: 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' | |
Instances
Arguments
| :: Text | |
| -> 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_username - The username of the ActiveMQ user. This value can contain only
alphanumeric characters, dashes, periods, underscores, and tildes (- . _
~). This value must be 2-100 characters long.
DeleteUser, deleteUser_brokerId - The unique ID that Amazon MQ generates for the broker.
Request Lenses
deleteUser_username :: Lens' DeleteUser Text Source #
The username of the ActiveMQ user. This value can contain only alphanumeric characters, dashes, periods, underscores, and tildes (- . _ ~). This value must be 2-100 characters long.
deleteUser_brokerId :: Lens' DeleteUser Text Source #
The unique ID that Amazon MQ generates for the broker.
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.