| 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.DeleteBroker
Description
Deletes a broker. Note: This API is asynchronous.
Synopsis
- data DeleteBroker = DeleteBroker' {}
- newDeleteBroker :: Text -> DeleteBroker
- deleteBroker_brokerId :: Lens' DeleteBroker Text
- data DeleteBrokerResponse = DeleteBrokerResponse' {
- brokerId :: Maybe Text
- httpStatus :: Int
- newDeleteBrokerResponse :: Int -> DeleteBrokerResponse
- deleteBrokerResponse_brokerId :: Lens' DeleteBrokerResponse (Maybe Text)
- deleteBrokerResponse_httpStatus :: Lens' DeleteBrokerResponse Int
Creating a Request
data DeleteBroker Source #
See: newDeleteBroker smart constructor.
Constructors
| DeleteBroker' | |
Instances
Arguments
| :: Text | |
| -> DeleteBroker |
Create a value of DeleteBroker 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:
DeleteBroker, deleteBroker_brokerId - The unique ID that Amazon MQ generates for the broker.
Request Lenses
deleteBroker_brokerId :: Lens' DeleteBroker Text Source #
The unique ID that Amazon MQ generates for the broker.
Destructuring the Response
data DeleteBrokerResponse Source #
See: newDeleteBrokerResponse smart constructor.
Constructors
| DeleteBrokerResponse' | |
Fields
| |
Instances
newDeleteBrokerResponse Source #
Arguments
| :: Int | |
| -> DeleteBrokerResponse |
Create a value of DeleteBrokerResponse 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:
DeleteBroker, deleteBrokerResponse_brokerId - The unique ID that Amazon MQ generates for the broker.
$sel:httpStatus:DeleteBrokerResponse', deleteBrokerResponse_httpStatus - The response's http status code.
Response Lenses
deleteBrokerResponse_brokerId :: Lens' DeleteBrokerResponse (Maybe Text) Source #
The unique ID that Amazon MQ generates for the broker.
deleteBrokerResponse_httpStatus :: Lens' DeleteBrokerResponse Int Source #
The response's http status code.