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 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.
Instances
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:
$sel:brokerId: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.
DeleteBrokerResponse' | |
|
Instances
newDeleteBrokerResponse Source #
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:
$sel:brokerId: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.