| 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 |
Amazonka.IoTDeviceAdvisor.StartSuiteRun
Description
Starts a Device Advisor test suite run.
Synopsis
- data StartSuiteRun = StartSuiteRun' {}
- newStartSuiteRun :: Text -> StartSuiteRun
- startSuiteRun_suiteRunConfiguration :: Lens' StartSuiteRun (Maybe SuiteRunConfiguration)
- startSuiteRun_suiteDefinitionVersion :: Lens' StartSuiteRun (Maybe Text)
- startSuiteRun_tags :: Lens' StartSuiteRun (Maybe (HashMap Text Text))
- startSuiteRun_suiteDefinitionId :: Lens' StartSuiteRun Text
- data StartSuiteRunResponse = StartSuiteRunResponse' {
- createdAt :: Maybe POSIX
- suiteRunArn :: Maybe Text
- suiteRunId :: Maybe Text
- httpStatus :: Int
- newStartSuiteRunResponse :: Int -> StartSuiteRunResponse
- startSuiteRunResponse_createdAt :: Lens' StartSuiteRunResponse (Maybe UTCTime)
- 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.
Constructors
| StartSuiteRun' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> StartSuiteRun |
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:
$sel:suiteRunConfiguration:StartSuiteRun', startSuiteRun_suiteRunConfiguration - Suite run configuration.
$sel:suiteDefinitionVersion:StartSuiteRun', startSuiteRun_suiteDefinitionVersion - Suite definition version of the test suite.
$sel:tags:StartSuiteRun', startSuiteRun_tags - The tags to be attached to the suite run.
$sel:suiteDefinitionId:StartSuiteRun', startSuiteRun_suiteDefinitionId - Suite definition Id of the test suite.
Request Lenses
startSuiteRun_suiteRunConfiguration :: Lens' StartSuiteRun (Maybe SuiteRunConfiguration) Source #
Suite run configuration.
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.
Destructuring the Response
data StartSuiteRunResponse Source #
See: newStartSuiteRunResponse smart constructor.
Constructors
| StartSuiteRunResponse' | |
Fields
| |
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:
$sel:createdAt:StartSuiteRunResponse', startSuiteRunResponse_createdAt - Date (in Unix epoch time) when the suite run was created.
$sel:suiteRunArn:StartSuiteRunResponse', startSuiteRunResponse_suiteRunArn - Amazon resource name of the started suite run.
$sel:suiteRunId: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 #
Date (in Unix epoch time) when the suite run was created.
startSuiteRunResponse_suiteRunArn :: Lens' StartSuiteRunResponse (Maybe Text) Source #
Amazon resource name 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.