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 Device Advisor test suite run.
Requires permission to access the StartSuiteRun action.
Synopsis
- data StartSuiteRun = StartSuiteRun' {}
- newStartSuiteRun :: Text -> SuiteRunConfiguration -> StartSuiteRun
- startSuiteRun_suiteDefinitionVersion :: Lens' StartSuiteRun (Maybe Text)
- startSuiteRun_tags :: Lens' StartSuiteRun (Maybe (HashMap Text Text))
- startSuiteRun_suiteDefinitionId :: Lens' StartSuiteRun Text
- startSuiteRun_suiteRunConfiguration :: Lens' StartSuiteRun SuiteRunConfiguration
- data StartSuiteRunResponse = StartSuiteRunResponse' {
- createdAt :: Maybe POSIX
- endpoint :: Maybe Text
- suiteRunArn :: Maybe Text
- suiteRunId :: Maybe Text
- httpStatus :: Int
- newStartSuiteRunResponse :: Int -> StartSuiteRunResponse
- startSuiteRunResponse_createdAt :: Lens' StartSuiteRunResponse (Maybe UTCTime)
- startSuiteRunResponse_endpoint :: Lens' StartSuiteRunResponse (Maybe Text)
- startSuiteRunResponse_suiteRunArn :: Lens' StartSuiteRunResponse (Maybe Text)
- startSuiteRunResponse_suiteRunId :: Lens' StartSuiteRunResponse (Maybe Text)
- startSuiteRunResponse_httpStatus :: Lens' StartSuiteRunResponse Int
Creating a Request
data StartSuiteRun Source #
See: newStartSuiteRun
smart constructor.
StartSuiteRun' | |
|
Instances
Create a value of StartSuiteRun
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:
StartSuiteRun
, startSuiteRun_suiteDefinitionVersion
- Suite definition version of the test suite.
$sel:tags:StartSuiteRun'
, startSuiteRun_tags
- The tags to be attached to the suite run.
StartSuiteRun
, startSuiteRun_suiteDefinitionId
- Suite definition ID of the test suite.
$sel:suiteRunConfiguration:StartSuiteRun'
, startSuiteRun_suiteRunConfiguration
- Suite run configuration.
Request Lenses
startSuiteRun_suiteDefinitionVersion :: Lens' StartSuiteRun (Maybe Text) Source #
Suite definition version of the test suite.
startSuiteRun_tags :: Lens' StartSuiteRun (Maybe (HashMap Text Text)) Source #
The tags to be attached to the suite run.
startSuiteRun_suiteDefinitionId :: Lens' StartSuiteRun Text Source #
Suite definition ID of the test suite.
startSuiteRun_suiteRunConfiguration :: Lens' StartSuiteRun SuiteRunConfiguration Source #
Suite run configuration.
Destructuring the Response
data StartSuiteRunResponse Source #
See: newStartSuiteRunResponse
smart constructor.
StartSuiteRunResponse' | |
|
Instances
newStartSuiteRunResponse Source #
Create a value of StartSuiteRunResponse
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:
StartSuiteRunResponse
, startSuiteRunResponse_createdAt
- Starts a Device Advisor test suite run based on suite create time.
$sel:endpoint:StartSuiteRunResponse'
, startSuiteRunResponse_endpoint
- The response of an Device Advisor test endpoint.
$sel:suiteRunArn:StartSuiteRunResponse'
, startSuiteRunResponse_suiteRunArn
- Amazon Resource Name (ARN) of the started suite run.
StartSuiteRunResponse
, startSuiteRunResponse_suiteRunId
- Suite Run ID of the started suite run.
$sel:httpStatus:StartSuiteRunResponse'
, startSuiteRunResponse_httpStatus
- The response's http status code.
Response Lenses
startSuiteRunResponse_createdAt :: Lens' StartSuiteRunResponse (Maybe UTCTime) Source #
Starts a Device Advisor test suite run based on suite create time.
startSuiteRunResponse_endpoint :: Lens' StartSuiteRunResponse (Maybe Text) Source #
The response of an Device Advisor test endpoint.
startSuiteRunResponse_suiteRunArn :: Lens' StartSuiteRunResponse (Maybe Text) Source #
Amazon Resource Name (ARN) of the started suite run.
startSuiteRunResponse_suiteRunId :: Lens' StartSuiteRunResponse (Maybe Text) Source #
Suite Run ID of the started suite run.
startSuiteRunResponse_httpStatus :: Lens' StartSuiteRunResponse Int Source #
The response's http status code.