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 |
Synopsis
- defaultService :: Service
- _ValidationException :: AsError a => Getting (First ServiceError) a ServiceError
- _ConflictException :: AsError a => Getting (First ServiceError) a ServiceError
- _InternalServerException :: AsError a => Getting (First ServiceError) a ServiceError
- _ResourceNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- newtype Status where
- Status' {
- fromStatus :: Text
- pattern Status_CANCELED :: Status
- pattern Status_ERROR :: Status
- pattern Status_FAIL :: Status
- pattern Status_PASS :: Status
- pattern Status_PASS_WITH_WARNINGS :: Status
- pattern Status_PENDING :: Status
- pattern Status_RUNNING :: Status
- pattern Status_STOPPED :: Status
- pattern Status_STOPPING :: Status
- Status' {
- newtype SuiteRunStatus where
- SuiteRunStatus' { }
- pattern SuiteRunStatus_CANCELED :: SuiteRunStatus
- pattern SuiteRunStatus_ERROR :: SuiteRunStatus
- pattern SuiteRunStatus_FAIL :: SuiteRunStatus
- pattern SuiteRunStatus_PASS :: SuiteRunStatus
- pattern SuiteRunStatus_PASS_WITH_WARNINGS :: SuiteRunStatus
- pattern SuiteRunStatus_PENDING :: SuiteRunStatus
- pattern SuiteRunStatus_RUNNING :: SuiteRunStatus
- pattern SuiteRunStatus_STOPPED :: SuiteRunStatus
- pattern SuiteRunStatus_STOPPING :: SuiteRunStatus
- data DeviceUnderTest = DeviceUnderTest' {}
- newDeviceUnderTest :: DeviceUnderTest
- deviceUnderTest_certificateArn :: Lens' DeviceUnderTest (Maybe Text)
- deviceUnderTest_thingArn :: Lens' DeviceUnderTest (Maybe Text)
- data GroupResult = GroupResult' {}
- newGroupResult :: GroupResult
- groupResult_tests :: Lens' GroupResult (Maybe [TestCaseRun])
- groupResult_groupId :: Lens' GroupResult (Maybe Text)
- groupResult_groupName :: Lens' GroupResult (Maybe Text)
- data SuiteDefinitionConfiguration = SuiteDefinitionConfiguration' {}
- newSuiteDefinitionConfiguration :: SuiteDefinitionConfiguration
- suiteDefinitionConfiguration_suiteDefinitionName :: Lens' SuiteDefinitionConfiguration (Maybe Text)
- suiteDefinitionConfiguration_intendedForQualification :: Lens' SuiteDefinitionConfiguration (Maybe Bool)
- suiteDefinitionConfiguration_devicePermissionRoleArn :: Lens' SuiteDefinitionConfiguration (Maybe Text)
- suiteDefinitionConfiguration_devices :: Lens' SuiteDefinitionConfiguration (Maybe [DeviceUnderTest])
- suiteDefinitionConfiguration_rootGroup :: Lens' SuiteDefinitionConfiguration (Maybe Text)
- data SuiteDefinitionInformation = SuiteDefinitionInformation' {}
- newSuiteDefinitionInformation :: SuiteDefinitionInformation
- suiteDefinitionInformation_createdAt :: Lens' SuiteDefinitionInformation (Maybe UTCTime)
- suiteDefinitionInformation_defaultDevices :: Lens' SuiteDefinitionInformation (Maybe [DeviceUnderTest])
- suiteDefinitionInformation_suiteDefinitionId :: Lens' SuiteDefinitionInformation (Maybe Text)
- suiteDefinitionInformation_suiteDefinitionName :: Lens' SuiteDefinitionInformation (Maybe Text)
- suiteDefinitionInformation_intendedForQualification :: Lens' SuiteDefinitionInformation (Maybe Bool)
- data SuiteRunConfiguration = SuiteRunConfiguration' {}
- newSuiteRunConfiguration :: SuiteRunConfiguration
- suiteRunConfiguration_primaryDevice :: Lens' SuiteRunConfiguration (Maybe DeviceUnderTest)
- suiteRunConfiguration_selectedTestList :: Lens' SuiteRunConfiguration (Maybe [Text])
- data SuiteRunInformation = SuiteRunInformation' {}
- newSuiteRunInformation :: SuiteRunInformation
- suiteRunInformation_status :: Lens' SuiteRunInformation (Maybe SuiteRunStatus)
- suiteRunInformation_createdAt :: Lens' SuiteRunInformation (Maybe UTCTime)
- suiteRunInformation_passed :: Lens' SuiteRunInformation (Maybe Natural)
- suiteRunInformation_suiteDefinitionId :: Lens' SuiteRunInformation (Maybe Text)
- suiteRunInformation_suiteDefinitionVersion :: Lens' SuiteRunInformation (Maybe Text)
- suiteRunInformation_startedAt :: Lens' SuiteRunInformation (Maybe UTCTime)
- suiteRunInformation_suiteDefinitionName :: Lens' SuiteRunInformation (Maybe Text)
- suiteRunInformation_endAt :: Lens' SuiteRunInformation (Maybe UTCTime)
- suiteRunInformation_suiteRunId :: Lens' SuiteRunInformation (Maybe Text)
- suiteRunInformation_failed :: Lens' SuiteRunInformation (Maybe Natural)
- data TestCaseRun = TestCaseRun' {}
- newTestCaseRun :: TestCaseRun
- testCaseRun_status :: Lens' TestCaseRun (Maybe Status)
- testCaseRun_logUrl :: Lens' TestCaseRun (Maybe Text)
- testCaseRun_startTime :: Lens' TestCaseRun (Maybe UTCTime)
- testCaseRun_testCaseRunId :: Lens' TestCaseRun (Maybe Text)
- testCaseRun_warnings :: Lens' TestCaseRun (Maybe Text)
- testCaseRun_endTime :: Lens' TestCaseRun (Maybe UTCTime)
- testCaseRun_testCaseDefinitionId :: Lens' TestCaseRun (Maybe Text)
- testCaseRun_failure :: Lens' TestCaseRun (Maybe Text)
- testCaseRun_testCaseDefinitionName :: Lens' TestCaseRun (Maybe Text)
- data TestResult = TestResult' {
- groups :: Maybe [GroupResult]
- newTestResult :: TestResult
- testResult_groups :: Lens' TestResult (Maybe [GroupResult])
Service Configuration
defaultService :: Service Source #
API version 2020-09-18
of the Amazon IoT Core Device Advisor SDK configuration.
Errors
_ValidationException :: AsError a => Getting (First ServiceError) a ServiceError Source #
Sends invalid request exception.
_ConflictException :: AsError a => Getting (First ServiceError) a ServiceError Source #
Sends Conflict Exception.
_InternalServerException :: AsError a => Getting (First ServiceError) a ServiceError Source #
Sends Internal Failure Exception.
_ResourceNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #
Sends Resource Not Found Exception.
Status
pattern Status_CANCELED :: Status | |
pattern Status_ERROR :: Status | |
pattern Status_FAIL :: Status | |
pattern Status_PASS :: Status | |
pattern Status_PASS_WITH_WARNINGS :: Status | |
pattern Status_PENDING :: Status | |
pattern Status_RUNNING :: Status | |
pattern Status_STOPPED :: Status | |
pattern Status_STOPPING :: Status |
Instances
SuiteRunStatus
newtype SuiteRunStatus Source #
pattern SuiteRunStatus_CANCELED :: SuiteRunStatus | |
pattern SuiteRunStatus_ERROR :: SuiteRunStatus | |
pattern SuiteRunStatus_FAIL :: SuiteRunStatus | |
pattern SuiteRunStatus_PASS :: SuiteRunStatus | |
pattern SuiteRunStatus_PASS_WITH_WARNINGS :: SuiteRunStatus | |
pattern SuiteRunStatus_PENDING :: SuiteRunStatus | |
pattern SuiteRunStatus_RUNNING :: SuiteRunStatus | |
pattern SuiteRunStatus_STOPPED :: SuiteRunStatus | |
pattern SuiteRunStatus_STOPPING :: SuiteRunStatus |
Instances
DeviceUnderTest
data DeviceUnderTest Source #
Lists all the devices under test
See: newDeviceUnderTest
smart constructor.
Instances
newDeviceUnderTest :: DeviceUnderTest Source #
Create a value of DeviceUnderTest
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:certificateArn:DeviceUnderTest'
, deviceUnderTest_certificateArn
- Lists devices certificate arn
$sel:thingArn:DeviceUnderTest'
, deviceUnderTest_thingArn
- Lists devices thing arn
deviceUnderTest_certificateArn :: Lens' DeviceUnderTest (Maybe Text) Source #
Lists devices certificate arn
deviceUnderTest_thingArn :: Lens' DeviceUnderTest (Maybe Text) Source #
Lists devices thing arn
GroupResult
data GroupResult Source #
Show Group Result.
See: newGroupResult
smart constructor.
Instances
newGroupResult :: GroupResult Source #
Create a value of GroupResult
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:tests:GroupResult'
, groupResult_tests
- Tests under Group Result.
$sel:groupId:GroupResult'
, groupResult_groupId
- Group result Id.
$sel:groupName:GroupResult'
, groupResult_groupName
- Group Result Name.
groupResult_tests :: Lens' GroupResult (Maybe [TestCaseRun]) Source #
Tests under Group Result.
groupResult_groupId :: Lens' GroupResult (Maybe Text) Source #
Group result Id.
groupResult_groupName :: Lens' GroupResult (Maybe Text) Source #
Group Result Name.
SuiteDefinitionConfiguration
data SuiteDefinitionConfiguration Source #
Gets Suite Definition Configuration.
See: newSuiteDefinitionConfiguration
smart constructor.
SuiteDefinitionConfiguration' | |
|
Instances
newSuiteDefinitionConfiguration :: SuiteDefinitionConfiguration Source #
Create a value of SuiteDefinitionConfiguration
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:suiteDefinitionName:SuiteDefinitionConfiguration'
, suiteDefinitionConfiguration_suiteDefinitionName
- Gets Suite Definition Configuration name.
$sel:intendedForQualification:SuiteDefinitionConfiguration'
, suiteDefinitionConfiguration_intendedForQualification
- Gets the tests intended for qualification in a suite.
$sel:devicePermissionRoleArn:SuiteDefinitionConfiguration'
, suiteDefinitionConfiguration_devicePermissionRoleArn
- Gets device permission arn.
$sel:devices:SuiteDefinitionConfiguration'
, suiteDefinitionConfiguration_devices
- Gets the devices configured.
$sel:rootGroup:SuiteDefinitionConfiguration'
, suiteDefinitionConfiguration_rootGroup
- Gets test suite root group.
suiteDefinitionConfiguration_suiteDefinitionName :: Lens' SuiteDefinitionConfiguration (Maybe Text) Source #
Gets Suite Definition Configuration name.
suiteDefinitionConfiguration_intendedForQualification :: Lens' SuiteDefinitionConfiguration (Maybe Bool) Source #
Gets the tests intended for qualification in a suite.
suiteDefinitionConfiguration_devicePermissionRoleArn :: Lens' SuiteDefinitionConfiguration (Maybe Text) Source #
Gets device permission arn.
suiteDefinitionConfiguration_devices :: Lens' SuiteDefinitionConfiguration (Maybe [DeviceUnderTest]) Source #
Gets the devices configured.
suiteDefinitionConfiguration_rootGroup :: Lens' SuiteDefinitionConfiguration (Maybe Text) Source #
Gets test suite root group.
SuiteDefinitionInformation
data SuiteDefinitionInformation Source #
Information about the suite definition.
See: newSuiteDefinitionInformation
smart constructor.
SuiteDefinitionInformation' | |
|
Instances
newSuiteDefinitionInformation :: SuiteDefinitionInformation Source #
Create a value of SuiteDefinitionInformation
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:SuiteDefinitionInformation'
, suiteDefinitionInformation_createdAt
- Date (in Unix epoch time) when the test suite was created.
$sel:defaultDevices:SuiteDefinitionInformation'
, suiteDefinitionInformation_defaultDevices
- Specifies the devices under test for the test suite.
$sel:suiteDefinitionId:SuiteDefinitionInformation'
, suiteDefinitionInformation_suiteDefinitionId
- Suite definition Id of the test suite.
$sel:suiteDefinitionName:SuiteDefinitionInformation'
, suiteDefinitionInformation_suiteDefinitionName
- Suite name of the test suite.
$sel:intendedForQualification:SuiteDefinitionInformation'
, suiteDefinitionInformation_intendedForQualification
- Specifies if the test suite is intended for qualification.
suiteDefinitionInformation_createdAt :: Lens' SuiteDefinitionInformation (Maybe UTCTime) Source #
Date (in Unix epoch time) when the test suite was created.
suiteDefinitionInformation_defaultDevices :: Lens' SuiteDefinitionInformation (Maybe [DeviceUnderTest]) Source #
Specifies the devices under test for the test suite.
suiteDefinitionInformation_suiteDefinitionId :: Lens' SuiteDefinitionInformation (Maybe Text) Source #
Suite definition Id of the test suite.
suiteDefinitionInformation_suiteDefinitionName :: Lens' SuiteDefinitionInformation (Maybe Text) Source #
Suite name of the test suite.
suiteDefinitionInformation_intendedForQualification :: Lens' SuiteDefinitionInformation (Maybe Bool) Source #
Specifies if the test suite is intended for qualification.
SuiteRunConfiguration
data SuiteRunConfiguration Source #
Gets suite run configuration.
See: newSuiteRunConfiguration
smart constructor.
SuiteRunConfiguration' | |
|
Instances
newSuiteRunConfiguration :: SuiteRunConfiguration Source #
Create a value of SuiteRunConfiguration
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:primaryDevice:SuiteRunConfiguration'
, suiteRunConfiguration_primaryDevice
- Gets the primary device for suite run.
$sel:selectedTestList:SuiteRunConfiguration'
, suiteRunConfiguration_selectedTestList
- Gets test case list.
suiteRunConfiguration_primaryDevice :: Lens' SuiteRunConfiguration (Maybe DeviceUnderTest) Source #
Gets the primary device for suite run.
suiteRunConfiguration_selectedTestList :: Lens' SuiteRunConfiguration (Maybe [Text]) Source #
Gets test case list.
SuiteRunInformation
data SuiteRunInformation Source #
Information about the suite run.
See: newSuiteRunInformation
smart constructor.
SuiteRunInformation' | |
|
Instances
newSuiteRunInformation :: SuiteRunInformation Source #
Create a value of SuiteRunInformation
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:status:SuiteRunInformation'
, suiteRunInformation_status
- Status of the suite run.
$sel:createdAt:SuiteRunInformation'
, suiteRunInformation_createdAt
- Date (in Unix epoch time) when the suite run was created.
$sel:passed:SuiteRunInformation'
, suiteRunInformation_passed
- Number of test cases that passed in the suite run.
$sel:suiteDefinitionId:SuiteRunInformation'
, suiteRunInformation_suiteDefinitionId
- Suite definition Id of the suite run.
$sel:suiteDefinitionVersion:SuiteRunInformation'
, suiteRunInformation_suiteDefinitionVersion
- Suite definition version of the suite run.
$sel:startedAt:SuiteRunInformation'
, suiteRunInformation_startedAt
- Date (in Unix epoch time) when the suite run was started.
$sel:suiteDefinitionName:SuiteRunInformation'
, suiteRunInformation_suiteDefinitionName
- Suite definition name of the suite run.
$sel:endAt:SuiteRunInformation'
, suiteRunInformation_endAt
- Date (in Unix epoch time) when the suite run ended.
$sel:suiteRunId:SuiteRunInformation'
, suiteRunInformation_suiteRunId
- Suite run Id of the suite run.
$sel:failed:SuiteRunInformation'
, suiteRunInformation_failed
- Number of test cases that failed in the suite run.
suiteRunInformation_status :: Lens' SuiteRunInformation (Maybe SuiteRunStatus) Source #
Status of the suite run.
suiteRunInformation_createdAt :: Lens' SuiteRunInformation (Maybe UTCTime) Source #
Date (in Unix epoch time) when the suite run was created.
suiteRunInformation_passed :: Lens' SuiteRunInformation (Maybe Natural) Source #
Number of test cases that passed in the suite run.
suiteRunInformation_suiteDefinitionId :: Lens' SuiteRunInformation (Maybe Text) Source #
Suite definition Id of the suite run.
suiteRunInformation_suiteDefinitionVersion :: Lens' SuiteRunInformation (Maybe Text) Source #
Suite definition version of the suite run.
suiteRunInformation_startedAt :: Lens' SuiteRunInformation (Maybe UTCTime) Source #
Date (in Unix epoch time) when the suite run was started.
suiteRunInformation_suiteDefinitionName :: Lens' SuiteRunInformation (Maybe Text) Source #
Suite definition name of the suite run.
suiteRunInformation_endAt :: Lens' SuiteRunInformation (Maybe UTCTime) Source #
Date (in Unix epoch time) when the suite run ended.
suiteRunInformation_suiteRunId :: Lens' SuiteRunInformation (Maybe Text) Source #
Suite run Id of the suite run.
suiteRunInformation_failed :: Lens' SuiteRunInformation (Maybe Natural) Source #
Number of test cases that failed in the suite run.
TestCaseRun
data TestCaseRun Source #
Provides test case run.
See: newTestCaseRun
smart constructor.
TestCaseRun' | |
|
Instances
newTestCaseRun :: TestCaseRun Source #
Create a value of TestCaseRun
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:status:TestCaseRun'
, testCaseRun_status
- Provides test case run status.
$sel:logUrl:TestCaseRun'
, testCaseRun_logUrl
- Provides test case run log Url.
$sel:startTime:TestCaseRun'
, testCaseRun_startTime
- Provides test case run start time.
$sel:testCaseRunId:TestCaseRun'
, testCaseRun_testCaseRunId
- Provides test case run Id.
$sel:warnings:TestCaseRun'
, testCaseRun_warnings
- Provides test case run warnings.
$sel:endTime:TestCaseRun'
, testCaseRun_endTime
- Provides test case run end time.
$sel:testCaseDefinitionId:TestCaseRun'
, testCaseRun_testCaseDefinitionId
- Provides test case run definition Id.
$sel:failure:TestCaseRun'
, testCaseRun_failure
- Provides test case run failure result.
$sel:testCaseDefinitionName:TestCaseRun'
, testCaseRun_testCaseDefinitionName
- Provides test case run definition Name.
testCaseRun_status :: Lens' TestCaseRun (Maybe Status) Source #
Provides test case run status.
testCaseRun_logUrl :: Lens' TestCaseRun (Maybe Text) Source #
Provides test case run log Url.
testCaseRun_startTime :: Lens' TestCaseRun (Maybe UTCTime) Source #
Provides test case run start time.
testCaseRun_testCaseRunId :: Lens' TestCaseRun (Maybe Text) Source #
Provides test case run Id.
testCaseRun_warnings :: Lens' TestCaseRun (Maybe Text) Source #
Provides test case run warnings.
testCaseRun_endTime :: Lens' TestCaseRun (Maybe UTCTime) Source #
Provides test case run end time.
testCaseRun_testCaseDefinitionId :: Lens' TestCaseRun (Maybe Text) Source #
Provides test case run definition Id.
testCaseRun_failure :: Lens' TestCaseRun (Maybe Text) Source #
Provides test case run failure result.
testCaseRun_testCaseDefinitionName :: Lens' TestCaseRun (Maybe Text) Source #
Provides test case run definition Name.
TestResult
data TestResult Source #
Show each group result.
See: newTestResult
smart constructor.
TestResult' | |
|
Instances
newTestResult :: TestResult Source #
Create a value of TestResult
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:groups:TestResult'
, testResult_groups
- Show each group of test results.
testResult_groups :: Lens' TestResult (Maybe [GroupResult]) Source #
Show each group of test results.