Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Lauches a Test Instance for specific Source Servers. This command starts a LAUNCH job whose initiatedBy property is StartTest and changes the SourceServer.lifeCycle.state property to TESTING.
Synopsis
- data StartTest = StartTest' {}
- newStartTest :: NonEmpty Text -> StartTest
- startTest_tags :: Lens' StartTest (Maybe (HashMap Text Text))
- startTest_sourceServerIDs :: Lens' StartTest (NonEmpty Text)
- data StartTestResponse = StartTestResponse' {
- job :: Maybe Job
- httpStatus :: Int
- newStartTestResponse :: Int -> StartTestResponse
- startTestResponse_job :: Lens' StartTestResponse (Maybe Job)
- startTestResponse_httpStatus :: Lens' StartTestResponse Int
Creating a Request
See: newStartTest
smart constructor.
Instances
Create a value of StartTest
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:tags:StartTest'
, startTest_tags
- Start Test by Tags.
$sel:sourceServerIDs:StartTest'
, startTest_sourceServerIDs
- Start Test for Source Server IDs.
Request Lenses
startTest_sourceServerIDs :: Lens' StartTest (NonEmpty Text) Source #
Start Test for Source Server IDs.
Destructuring the Response
data StartTestResponse Source #
See: newStartTestResponse
smart constructor.
StartTestResponse' | |
|
Instances
Create a value of StartTestResponse
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:job:StartTestResponse'
, startTestResponse_job
- Start Test Job response.
$sel:httpStatus:StartTestResponse'
, startTestResponse_httpStatus
- The response's http status code.
Response Lenses
startTestResponse_job :: Lens' StartTestResponse (Maybe Job) Source #
Start Test Job response.
startTestResponse_httpStatus :: Lens' StartTestResponse Int Source #
The response's http status code.