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 |
Synopsis
- defaultService :: Service
- _ConflictException :: AsError a => Fold a ServiceError
- _InternalServerException :: AsError a => Fold a ServiceError
- _ResourceNotFoundException :: AsError a => Fold a ServiceError
- _ValidationException :: AsError a => Fold a ServiceError
- newtype Protocol where
- Protocol' {
- fromProtocol :: Text
- pattern Protocol_MqttV3_1_1 :: Protocol
- pattern Protocol_MqttV5 :: Protocol
- Protocol' {
- 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
- newtype TestCaseScenarioStatus where
- TestCaseScenarioStatus' { }
- pattern TestCaseScenarioStatus_CANCELED :: TestCaseScenarioStatus
- pattern TestCaseScenarioStatus_ERROR :: TestCaseScenarioStatus
- pattern TestCaseScenarioStatus_FAIL :: TestCaseScenarioStatus
- pattern TestCaseScenarioStatus_PASS :: TestCaseScenarioStatus
- pattern TestCaseScenarioStatus_PASS_WITH_WARNINGS :: TestCaseScenarioStatus
- pattern TestCaseScenarioStatus_PENDING :: TestCaseScenarioStatus
- pattern TestCaseScenarioStatus_RUNNING :: TestCaseScenarioStatus
- pattern TestCaseScenarioStatus_STOPPED :: TestCaseScenarioStatus
- pattern TestCaseScenarioStatus_STOPPING :: TestCaseScenarioStatus
- newtype TestCaseScenarioType where
- data DeviceUnderTest = DeviceUnderTest' {}
- newDeviceUnderTest :: DeviceUnderTest
- deviceUnderTest_certificateArn :: Lens' DeviceUnderTest (Maybe Text)
- deviceUnderTest_thingArn :: Lens' DeviceUnderTest (Maybe Text)
- data GroupResult = GroupResult' {}
- newGroupResult :: GroupResult
- groupResult_groupId :: Lens' GroupResult (Maybe Text)
- groupResult_groupName :: Lens' GroupResult (Maybe Text)
- groupResult_tests :: Lens' GroupResult (Maybe [TestCaseRun])
- data SuiteDefinitionConfiguration = SuiteDefinitionConfiguration' {}
- newSuiteDefinitionConfiguration :: Text -> Text -> Text -> SuiteDefinitionConfiguration
- suiteDefinitionConfiguration_devices :: Lens' SuiteDefinitionConfiguration (Maybe [DeviceUnderTest])
- suiteDefinitionConfiguration_intendedForQualification :: Lens' SuiteDefinitionConfiguration (Maybe Bool)
- suiteDefinitionConfiguration_isLongDurationTest :: Lens' SuiteDefinitionConfiguration (Maybe Bool)
- suiteDefinitionConfiguration_protocol :: Lens' SuiteDefinitionConfiguration (Maybe Protocol)
- suiteDefinitionConfiguration_suiteDefinitionName :: Lens' SuiteDefinitionConfiguration Text
- suiteDefinitionConfiguration_rootGroup :: Lens' SuiteDefinitionConfiguration Text
- suiteDefinitionConfiguration_devicePermissionRoleArn :: Lens' SuiteDefinitionConfiguration Text
- data SuiteDefinitionInformation = SuiteDefinitionInformation' {}
- newSuiteDefinitionInformation :: SuiteDefinitionInformation
- suiteDefinitionInformation_createdAt :: Lens' SuiteDefinitionInformation (Maybe UTCTime)
- suiteDefinitionInformation_defaultDevices :: Lens' SuiteDefinitionInformation (Maybe [DeviceUnderTest])
- suiteDefinitionInformation_intendedForQualification :: Lens' SuiteDefinitionInformation (Maybe Bool)
- suiteDefinitionInformation_isLongDurationTest :: Lens' SuiteDefinitionInformation (Maybe Bool)
- suiteDefinitionInformation_protocol :: Lens' SuiteDefinitionInformation (Maybe Protocol)
- suiteDefinitionInformation_suiteDefinitionId :: Lens' SuiteDefinitionInformation (Maybe Text)
- suiteDefinitionInformation_suiteDefinitionName :: Lens' SuiteDefinitionInformation (Maybe Text)
- data SuiteRunConfiguration = SuiteRunConfiguration' {}
- newSuiteRunConfiguration :: DeviceUnderTest -> SuiteRunConfiguration
- suiteRunConfiguration_parallelRun :: Lens' SuiteRunConfiguration (Maybe Bool)
- suiteRunConfiguration_selectedTestList :: Lens' SuiteRunConfiguration (Maybe [Text])
- suiteRunConfiguration_primaryDevice :: Lens' SuiteRunConfiguration DeviceUnderTest
- data SuiteRunInformation = SuiteRunInformation' {}
- newSuiteRunInformation :: SuiteRunInformation
- suiteRunInformation_createdAt :: Lens' SuiteRunInformation (Maybe UTCTime)
- suiteRunInformation_endAt :: Lens' SuiteRunInformation (Maybe UTCTime)
- suiteRunInformation_failed :: Lens' SuiteRunInformation (Maybe Natural)
- suiteRunInformation_passed :: Lens' SuiteRunInformation (Maybe Natural)
- suiteRunInformation_startedAt :: Lens' SuiteRunInformation (Maybe UTCTime)
- suiteRunInformation_status :: Lens' SuiteRunInformation (Maybe SuiteRunStatus)
- suiteRunInformation_suiteDefinitionId :: Lens' SuiteRunInformation (Maybe Text)
- suiteRunInformation_suiteDefinitionName :: Lens' SuiteRunInformation (Maybe Text)
- suiteRunInformation_suiteDefinitionVersion :: Lens' SuiteRunInformation (Maybe Text)
- suiteRunInformation_suiteRunId :: Lens' SuiteRunInformation (Maybe Text)
- data TestCaseRun = TestCaseRun' {}
- newTestCaseRun :: TestCaseRun
- testCaseRun_endTime :: Lens' TestCaseRun (Maybe UTCTime)
- testCaseRun_failure :: Lens' TestCaseRun (Maybe Text)
- testCaseRun_logUrl :: Lens' TestCaseRun (Maybe Text)
- testCaseRun_startTime :: Lens' TestCaseRun (Maybe UTCTime)
- testCaseRun_status :: Lens' TestCaseRun (Maybe Status)
- testCaseRun_testCaseDefinitionId :: Lens' TestCaseRun (Maybe Text)
- testCaseRun_testCaseDefinitionName :: Lens' TestCaseRun (Maybe Text)
- testCaseRun_testCaseRunId :: Lens' TestCaseRun (Maybe Text)
- testCaseRun_testScenarios :: Lens' TestCaseRun (Maybe [TestCaseScenario])
- testCaseRun_warnings :: Lens' TestCaseRun (Maybe Text)
- data TestCaseScenario = TestCaseScenario' {}
- newTestCaseScenario :: TestCaseScenario
- testCaseScenario_failure :: Lens' TestCaseScenario (Maybe Text)
- testCaseScenario_status :: Lens' TestCaseScenario (Maybe TestCaseScenarioStatus)
- testCaseScenario_systemMessage :: Lens' TestCaseScenario (Maybe Text)
- testCaseScenario_testCaseScenarioId :: Lens' TestCaseScenario (Maybe Text)
- testCaseScenario_testCaseScenarioType :: Lens' TestCaseScenario (Maybe TestCaseScenarioType)
- 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
_ConflictException :: AsError a => Fold a ServiceError Source #
Sends a Conflict Exception.
_InternalServerException :: AsError a => Fold a ServiceError Source #
Sends an Internal Failure exception.
_ResourceNotFoundException :: AsError a => Fold a ServiceError Source #
Sends a Resource Not Found exception.
_ValidationException :: AsError a => Fold a ServiceError Source #
Sends a validation exception.
Protocol
pattern Protocol_MqttV3_1_1 :: Protocol | |
pattern Protocol_MqttV5 :: Protocol |
Instances
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
TestCaseScenarioStatus
newtype TestCaseScenarioStatus Source #
Instances
TestCaseScenarioType
newtype TestCaseScenarioType Source #
pattern TestCaseScenarioType_Advanced :: TestCaseScenarioType | |
pattern TestCaseScenarioType_Basic :: TestCaseScenarioType |
Instances
DeviceUnderTest
data DeviceUnderTest Source #
Information of a test device. A thing ARN or a certificate ARN is required.
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:groupId:GroupResult'
, groupResult_groupId
- Group result ID.
$sel:groupName:GroupResult'
, groupResult_groupName
- Group Result Name.
$sel:tests:GroupResult'
, groupResult_tests
- Tests under Group Result.
groupResult_groupId :: Lens' GroupResult (Maybe Text) Source #
Group result ID.
groupResult_groupName :: Lens' GroupResult (Maybe Text) Source #
Group Result Name.
groupResult_tests :: Lens' GroupResult (Maybe [TestCaseRun]) Source #
Tests under Group Result.
SuiteDefinitionConfiguration
data SuiteDefinitionConfiguration Source #
Gets the suite definition configuration.
See: newSuiteDefinitionConfiguration
smart constructor.
SuiteDefinitionConfiguration' | |
|
Instances
newSuiteDefinitionConfiguration Source #
:: Text | |
-> Text | |
-> Text | |
-> SuiteDefinitionConfiguration |
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:devices:SuiteDefinitionConfiguration'
, suiteDefinitionConfiguration_devices
- Gets the devices configured.
$sel:intendedForQualification:SuiteDefinitionConfiguration'
, suiteDefinitionConfiguration_intendedForQualification
- Gets the tests intended for qualification in a suite.
$sel:isLongDurationTest:SuiteDefinitionConfiguration'
, suiteDefinitionConfiguration_isLongDurationTest
- Verifies if the test suite is a long duration test.
$sel:protocol:SuiteDefinitionConfiguration'
, suiteDefinitionConfiguration_protocol
- Sets the MQTT protocol that is configured in the suite definition.
$sel:suiteDefinitionName:SuiteDefinitionConfiguration'
, suiteDefinitionConfiguration_suiteDefinitionName
- Gets the suite definition name. This is a required parameter.
$sel:rootGroup:SuiteDefinitionConfiguration'
, suiteDefinitionConfiguration_rootGroup
- Gets the test suite root group. This is a required parameter.
$sel:devicePermissionRoleArn:SuiteDefinitionConfiguration'
, suiteDefinitionConfiguration_devicePermissionRoleArn
- Gets the device permission ARN. This is a required parameter.
suiteDefinitionConfiguration_devices :: Lens' SuiteDefinitionConfiguration (Maybe [DeviceUnderTest]) Source #
Gets the devices configured.
suiteDefinitionConfiguration_intendedForQualification :: Lens' SuiteDefinitionConfiguration (Maybe Bool) Source #
Gets the tests intended for qualification in a suite.
suiteDefinitionConfiguration_isLongDurationTest :: Lens' SuiteDefinitionConfiguration (Maybe Bool) Source #
Verifies if the test suite is a long duration test.
suiteDefinitionConfiguration_protocol :: Lens' SuiteDefinitionConfiguration (Maybe Protocol) Source #
Sets the MQTT protocol that is configured in the suite definition.
suiteDefinitionConfiguration_suiteDefinitionName :: Lens' SuiteDefinitionConfiguration Text Source #
Gets the suite definition name. This is a required parameter.
suiteDefinitionConfiguration_rootGroup :: Lens' SuiteDefinitionConfiguration Text Source #
Gets the test suite root group. This is a required parameter.
suiteDefinitionConfiguration_devicePermissionRoleArn :: Lens' SuiteDefinitionConfiguration Text Source #
Gets the device permission ARN. This is a required parameter.
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 that are under test for the test suite.
$sel:intendedForQualification:SuiteDefinitionInformation'
, suiteDefinitionInformation_intendedForQualification
- Specifies if the test suite is intended for qualification.
$sel:isLongDurationTest:SuiteDefinitionInformation'
, suiteDefinitionInformation_isLongDurationTest
- Verifies if the test suite is a long duration test.
$sel:protocol:SuiteDefinitionInformation'
, suiteDefinitionInformation_protocol
- Gets the MQTT protocol that is configured in the suite definition.
$sel:suiteDefinitionId:SuiteDefinitionInformation'
, suiteDefinitionInformation_suiteDefinitionId
- Suite definition ID of the test suite.
$sel:suiteDefinitionName:SuiteDefinitionInformation'
, suiteDefinitionInformation_suiteDefinitionName
- Suite name of the test suite.
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 that are under test for the test suite.
suiteDefinitionInformation_intendedForQualification :: Lens' SuiteDefinitionInformation (Maybe Bool) Source #
Specifies if the test suite is intended for qualification.
suiteDefinitionInformation_isLongDurationTest :: Lens' SuiteDefinitionInformation (Maybe Bool) Source #
Verifies if the test suite is a long duration test.
suiteDefinitionInformation_protocol :: Lens' SuiteDefinitionInformation (Maybe Protocol) Source #
Gets the MQTT protocol that is configured in the suite definition.
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.
SuiteRunConfiguration
data SuiteRunConfiguration Source #
Gets suite run configuration.
See: newSuiteRunConfiguration
smart constructor.
SuiteRunConfiguration' | |
|
Instances
newSuiteRunConfiguration 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:parallelRun:SuiteRunConfiguration'
, suiteRunConfiguration_parallelRun
- TRUE if multiple test suites run in parallel.
$sel:selectedTestList:SuiteRunConfiguration'
, suiteRunConfiguration_selectedTestList
- Sets test case list.
$sel:primaryDevice:SuiteRunConfiguration'
, suiteRunConfiguration_primaryDevice
- Sets the primary device for the test suite run. This requires a thing
ARN or a certificate ARN.
suiteRunConfiguration_parallelRun :: Lens' SuiteRunConfiguration (Maybe Bool) Source #
TRUE if multiple test suites run in parallel.
suiteRunConfiguration_selectedTestList :: Lens' SuiteRunConfiguration (Maybe [Text]) Source #
Sets test case list.
suiteRunConfiguration_primaryDevice :: Lens' SuiteRunConfiguration DeviceUnderTest Source #
Sets the primary device for the test suite run. This requires a thing ARN or a certificate ARN.
SuiteRunInformation
data SuiteRunInformation Source #
Information about the suite run.
Requires permission to access the SuiteRunInformation action.
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:createdAt:SuiteRunInformation'
, suiteRunInformation_createdAt
- Date (in Unix epoch time) when the suite run was created.
$sel:endAt:SuiteRunInformation'
, suiteRunInformation_endAt
- Date (in Unix epoch time) when the suite run ended.
$sel:failed:SuiteRunInformation'
, suiteRunInformation_failed
- Number of test cases that failed in the suite run.
$sel:passed:SuiteRunInformation'
, suiteRunInformation_passed
- Number of test cases that passed in the suite run.
$sel:startedAt:SuiteRunInformation'
, suiteRunInformation_startedAt
- Date (in Unix epoch time) when the suite run was started.
$sel:status:SuiteRunInformation'
, suiteRunInformation_status
- Status of the suite run.
$sel:suiteDefinitionId:SuiteRunInformation'
, suiteRunInformation_suiteDefinitionId
- Suite definition ID of the suite run.
$sel:suiteDefinitionName:SuiteRunInformation'
, suiteRunInformation_suiteDefinitionName
- Suite definition name of the suite run.
$sel:suiteDefinitionVersion:SuiteRunInformation'
, suiteRunInformation_suiteDefinitionVersion
- Suite definition version of the suite run.
$sel:suiteRunId:SuiteRunInformation'
, suiteRunInformation_suiteRunId
- Suite run ID of the suite run.
suiteRunInformation_createdAt :: Lens' SuiteRunInformation (Maybe UTCTime) Source #
Date (in Unix epoch time) when the suite run was created.
suiteRunInformation_endAt :: Lens' SuiteRunInformation (Maybe UTCTime) Source #
Date (in Unix epoch time) when the suite run ended.
suiteRunInformation_failed :: Lens' SuiteRunInformation (Maybe Natural) Source #
Number of test cases that failed in the suite run.
suiteRunInformation_passed :: Lens' SuiteRunInformation (Maybe Natural) Source #
Number of test cases that passed in the suite run.
suiteRunInformation_startedAt :: Lens' SuiteRunInformation (Maybe UTCTime) Source #
Date (in Unix epoch time) when the suite run was started.
suiteRunInformation_status :: Lens' SuiteRunInformation (Maybe SuiteRunStatus) Source #
Status of the suite run.
suiteRunInformation_suiteDefinitionId :: Lens' SuiteRunInformation (Maybe Text) Source #
Suite definition ID of the suite run.
suiteRunInformation_suiteDefinitionName :: Lens' SuiteRunInformation (Maybe Text) Source #
Suite definition name of the suite run.
suiteRunInformation_suiteDefinitionVersion :: Lens' SuiteRunInformation (Maybe Text) Source #
Suite definition version of the suite run.
suiteRunInformation_suiteRunId :: Lens' SuiteRunInformation (Maybe Text) Source #
Suite run ID of the suite run.
TestCaseRun
data TestCaseRun Source #
Provides the 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:endTime:TestCaseRun'
, testCaseRun_endTime
- Provides test case run end time.
TestCaseRun
, testCaseRun_failure
- Provides test case run failure result.
$sel:logUrl:TestCaseRun'
, testCaseRun_logUrl
- Provides test case run log URL.
$sel:startTime:TestCaseRun'
, testCaseRun_startTime
- Provides test case run start time.
TestCaseRun
, testCaseRun_status
- Provides the test case run status. Status is one of the following:
PASS
: Test passed.FAIL
: Test failed.PENDING
: Test has not started running but is scheduled.RUNNING
: Test is running.STOPPING
: Test is performing cleanup steps. You will see this status only if you stop a suite run.STOPPED
Test is stopped. You will see this status only if you stop a suite run.PASS_WITH_WARNINGS
: Test passed with warnings.ERORR
: Test faced an error when running due to an internal issue.
$sel:testCaseDefinitionId:TestCaseRun'
, testCaseRun_testCaseDefinitionId
- Provides the test case run definition ID.
$sel:testCaseDefinitionName:TestCaseRun'
, testCaseRun_testCaseDefinitionName
- Provides the test case run definition name.
$sel:testCaseRunId:TestCaseRun'
, testCaseRun_testCaseRunId
- Provides the test case run ID.
$sel:testScenarios:TestCaseRun'
, testCaseRun_testScenarios
- Provides the test scenarios for the test case run.
$sel:warnings:TestCaseRun'
, testCaseRun_warnings
- Provides test case run warnings.
testCaseRun_endTime :: Lens' TestCaseRun (Maybe UTCTime) Source #
Provides test case run end time.
testCaseRun_failure :: Lens' TestCaseRun (Maybe Text) Source #
Provides test case run failure result.
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_status :: Lens' TestCaseRun (Maybe Status) Source #
Provides the test case run status. Status is one of the following:
PASS
: Test passed.FAIL
: Test failed.PENDING
: Test has not started running but is scheduled.RUNNING
: Test is running.STOPPING
: Test is performing cleanup steps. You will see this status only if you stop a suite run.STOPPED
Test is stopped. You will see this status only if you stop a suite run.PASS_WITH_WARNINGS
: Test passed with warnings.ERORR
: Test faced an error when running due to an internal issue.
testCaseRun_testCaseDefinitionId :: Lens' TestCaseRun (Maybe Text) Source #
Provides the test case run definition ID.
testCaseRun_testCaseDefinitionName :: Lens' TestCaseRun (Maybe Text) Source #
Provides the test case run definition name.
testCaseRun_testCaseRunId :: Lens' TestCaseRun (Maybe Text) Source #
Provides the test case run ID.
testCaseRun_testScenarios :: Lens' TestCaseRun (Maybe [TestCaseScenario]) Source #
Provides the test scenarios for the test case run.
testCaseRun_warnings :: Lens' TestCaseRun (Maybe Text) Source #
Provides test case run warnings.
TestCaseScenario
data TestCaseScenario Source #
Provides test case scenario.
See: newTestCaseScenario
smart constructor.
TestCaseScenario' | |
|
Instances
newTestCaseScenario :: TestCaseScenario Source #
Create a value of TestCaseScenario
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:failure:TestCaseScenario'
, testCaseScenario_failure
- Provides test case scenario failure result.
$sel:status:TestCaseScenario'
, testCaseScenario_status
- Provides the test case scenario status. Status is one of the following:
PASS
: Test passed.FAIL
: Test failed.PENDING
: Test has not started running but is scheduled.RUNNING
: Test is running.STOPPING
: Test is performing cleanup steps. You will see this status only if you stop a suite run.STOPPED
Test is stopped. You will see this status only if you stop a suite run.PASS_WITH_WARNINGS
: Test passed with warnings.ERORR
: Test faced an error when running due to an internal issue.
$sel:systemMessage:TestCaseScenario'
, testCaseScenario_systemMessage
-
$sel:testCaseScenarioId:TestCaseScenario'
, testCaseScenario_testCaseScenarioId
- Provides test case scenario ID.
$sel:testCaseScenarioType:TestCaseScenario'
, testCaseScenario_testCaseScenarioType
- Provides test case scenario type. Type is one of the following:
- Advanced
- Basic
testCaseScenario_failure :: Lens' TestCaseScenario (Maybe Text) Source #
Provides test case scenario failure result.
testCaseScenario_status :: Lens' TestCaseScenario (Maybe TestCaseScenarioStatus) Source #
Provides the test case scenario status. Status is one of the following:
PASS
: Test passed.FAIL
: Test failed.PENDING
: Test has not started running but is scheduled.RUNNING
: Test is running.STOPPING
: Test is performing cleanup steps. You will see this status only if you stop a suite run.STOPPED
Test is stopped. You will see this status only if you stop a suite run.PASS_WITH_WARNINGS
: Test passed with warnings.ERORR
: Test faced an error when running due to an internal issue.
testCaseScenario_testCaseScenarioId :: Lens' TestCaseScenario (Maybe Text) Source #
Provides test case scenario ID.
testCaseScenario_testCaseScenarioType :: Lens' TestCaseScenario (Maybe TestCaseScenarioType) Source #
Provides test case scenario type. Type is one of the following:
- Advanced
- Basic
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.