| 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.SimSpaceWeaver.StopSimulation
Description
Stops the given simulation.
You can't restart a simulation after you stop it. If you need to restart a simulation, you must stop it, delete it, and start a new instance of it.
Synopsis
- data StopSimulation = StopSimulation' {
- simulation :: Text
- newStopSimulation :: Text -> StopSimulation
- stopSimulation_simulation :: Lens' StopSimulation Text
- data StopSimulationResponse = StopSimulationResponse' {
- httpStatus :: Int
- newStopSimulationResponse :: Int -> StopSimulationResponse
- stopSimulationResponse_httpStatus :: Lens' StopSimulationResponse Int
Creating a Request
data StopSimulation Source #
See: newStopSimulation smart constructor.
Constructors
| StopSimulation' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> StopSimulation |
Create a value of StopSimulation 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:
StopSimulation, stopSimulation_simulation - The name of the simulation.
Request Lenses
stopSimulation_simulation :: Lens' StopSimulation Text Source #
The name of the simulation.
Destructuring the Response
data StopSimulationResponse Source #
See: newStopSimulationResponse smart constructor.
Constructors
| StopSimulationResponse' | |
Fields
| |
Instances
newStopSimulationResponse Source #
Create a value of StopSimulationResponse 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:StopSimulationResponse', stopSimulationResponse_httpStatus - The response's http status code.
Response Lenses
stopSimulationResponse_httpStatus :: Lens' StopSimulationResponse Int Source #
The response's http status code.