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 |
Reboots a broker. Note: This API is asynchronous.
Synopsis
- data RebootBroker = RebootBroker' {}
- newRebootBroker :: Text -> RebootBroker
- rebootBroker_brokerId :: Lens' RebootBroker Text
- data RebootBrokerResponse = RebootBrokerResponse' {
- httpStatus :: Int
- newRebootBrokerResponse :: Int -> RebootBrokerResponse
- rebootBrokerResponse_httpStatus :: Lens' RebootBrokerResponse Int
Creating a Request
data RebootBroker Source #
See: newRebootBroker
smart constructor.
Instances
Create a value of RebootBroker
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:RebootBroker'
, rebootBroker_brokerId
- The unique ID that Amazon MQ generates for the broker.
Request Lenses
rebootBroker_brokerId :: Lens' RebootBroker Text Source #
The unique ID that Amazon MQ generates for the broker.
Destructuring the Response
data RebootBrokerResponse Source #
See: newRebootBrokerResponse
smart constructor.
RebootBrokerResponse' | |
|
Instances
newRebootBrokerResponse Source #
Create a value of RebootBrokerResponse
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:RebootBrokerResponse'
, rebootBrokerResponse_httpStatus
- The response's http status code.
Response Lenses
rebootBrokerResponse_httpStatus :: Lens' RebootBrokerResponse Int Source #
The response's http status code.