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 |
Starts the simulation clock.
Synopsis
- data StartClock = StartClock' {
- simulation :: Text
- newStartClock :: Text -> StartClock
- startClock_simulation :: Lens' StartClock Text
- data StartClockResponse = StartClockResponse' {
- httpStatus :: Int
- newStartClockResponse :: Int -> StartClockResponse
- startClockResponse_httpStatus :: Lens' StartClockResponse Int
Creating a Request
data StartClock Source #
See: newStartClock
smart constructor.
StartClock' | |
|
Instances
:: Text | |
-> StartClock |
Create a value of StartClock
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:
StartClock
, startClock_simulation
- The name of the simulation.
Request Lenses
startClock_simulation :: Lens' StartClock Text Source #
The name of the simulation.
Destructuring the Response
data StartClockResponse Source #
See: newStartClockResponse
smart constructor.
StartClockResponse' | |
|
Instances
newStartClockResponse Source #
Create a value of StartClockResponse
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:StartClockResponse'
, startClockResponse_httpStatus
- The response's http status code.
Response Lenses
startClockResponse_httpStatus :: Lens' StartClockResponse Int Source #
The response's http status code.