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 |
Stops the given custom app and shuts down all of its allocated compute resources.
Synopsis
- data StopApp = StopApp' {}
- newStopApp :: Text -> Text -> Text -> StopApp
- stopApp_app :: Lens' StopApp Text
- stopApp_domain :: Lens' StopApp Text
- stopApp_simulation :: Lens' StopApp Text
- data StopAppResponse = StopAppResponse' {
- httpStatus :: Int
- newStopAppResponse :: Int -> StopAppResponse
- stopAppResponse_httpStatus :: Lens' StopAppResponse Int
Creating a Request
See: newStopApp
smart constructor.
Instances
Create a value of StopApp
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:app:StopApp'
, stopApp_app
- The name of the app.
StopApp
, stopApp_domain
- The name of the domain of the app.
StopApp
, stopApp_simulation
- The name of the simulation of the app.
Request Lenses
Destructuring the Response
data StopAppResponse Source #
See: newStopAppResponse
smart constructor.
StopAppResponse' | |
|
Instances
Create a value of StopAppResponse
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:StopAppResponse'
, stopAppResponse_httpStatus
- The response's http status code.
Response Lenses
stopAppResponse_httpStatus :: Lens' StopAppResponse Int Source #
The response's http status code.