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 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.
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 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.
$sel:brokerId: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.
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.