| 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.RebootBroker
Description
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.
Constructors
| RebootBroker' | |
Instances
Arguments
| :: Text | |
| -> RebootBroker |
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:
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.
Constructors
| RebootBrokerResponse' | |
Fields
| |
Instances
newRebootBrokerResponse Source #
Arguments
| :: Int | |
| -> RebootBrokerResponse |
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.