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 a custom app with the configuration specified in the simulation schema.
Synopsis
- data StartApp = StartApp' {
- clientToken :: Maybe (Sensitive Text)
- description :: Maybe Text
- launchOverrides :: Maybe LaunchOverrides
- domain :: Text
- name :: Text
- simulation :: Text
- newStartApp :: Text -> Text -> Text -> StartApp
- startApp_clientToken :: Lens' StartApp (Maybe Text)
- startApp_description :: Lens' StartApp (Maybe Text)
- startApp_launchOverrides :: Lens' StartApp (Maybe LaunchOverrides)
- startApp_domain :: Lens' StartApp Text
- startApp_name :: Lens' StartApp Text
- startApp_simulation :: Lens' StartApp Text
- data StartAppResponse = StartAppResponse' {}
- newStartAppResponse :: Int -> StartAppResponse
- startAppResponse_domain :: Lens' StartAppResponse (Maybe Text)
- startAppResponse_name :: Lens' StartAppResponse (Maybe Text)
- startAppResponse_simulation :: Lens' StartAppResponse (Maybe Text)
- startAppResponse_httpStatus :: Lens' StartAppResponse Int
Creating a Request
See: newStartApp
smart constructor.
StartApp' | |
|
Instances
Create a value of StartApp
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:clientToken:StartApp'
, startApp_clientToken
- A value that you provide to ensure that repeated calls to this API
operation using the same parameters complete only once. A ClientToken
is also known as an idempotency token. A ClientToken
expires after
24 hours.
$sel:description:StartApp'
, startApp_description
- The description of the app.
$sel:launchOverrides:StartApp'
, startApp_launchOverrides
- Undocumented member.
StartApp
, startApp_domain
- The name of the domain of the app.
StartApp
, startApp_name
- The name of the app.
StartApp
, startApp_simulation
- The name of the simulation of the app.
Request Lenses
startApp_clientToken :: Lens' StartApp (Maybe Text) Source #
A value that you provide to ensure that repeated calls to this API
operation using the same parameters complete only once. A ClientToken
is also known as an idempotency token. A ClientToken
expires after
24 hours.
startApp_launchOverrides :: Lens' StartApp (Maybe LaunchOverrides) Source #
Undocumented member.
Destructuring the Response
data StartAppResponse Source #
See: newStartAppResponse
smart constructor.
Instances
Create a value of StartAppResponse
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:
StartApp
, startAppResponse_domain
- The name of the domain of the app.
StartApp
, startAppResponse_name
- The name of the app.
StartApp
, startAppResponse_simulation
- The name of the simulation of the app.
$sel:httpStatus:StartAppResponse'
, startAppResponse_httpStatus
- The response's http status code.
Response Lenses
startAppResponse_domain :: Lens' StartAppResponse (Maybe Text) Source #
The name of the domain of the app.
startAppResponse_name :: Lens' StartAppResponse (Maybe Text) Source #
The name of the app.
startAppResponse_simulation :: Lens' StartAppResponse (Maybe Text) Source #
The name of the simulation of the app.
startAppResponse_httpStatus :: Lens' StartAppResponse Int Source #
The response's http status code.