Skip to content

Commit 403c6e8

Browse files
author
AWS
committed
AWS IoT Core Device Advisor Update: Added new service feature (Early access only) - Long Duration Test, where customers can test the IoT device to observe how it behaves when the device is in operation for longer period.
1 parent e18c5ae commit 403c6e8

File tree

2 files changed

+87
-0
lines changed

2 files changed

+87
-0
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "AWS IoT Core Device Advisor",
4+
"contributor": "",
5+
"description": "Added new service feature (Early access only) - Long Duration Test, where customers can test the IoT device to observe how it behaves when the device is in operation for longer period."
6+
}

services/iotdeviceadvisor/src/main/resources/codegen-resources/service-2.json

Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -534,6 +534,7 @@
534534
"exception":true,
535535
"fault":true
536536
},
537+
"IsLongDurationTestBoolean":{"type":"boolean"},
537538
"ListSuiteDefinitionsRequest":{
538539
"type":"structure",
539540
"members":{
@@ -639,6 +640,13 @@
639640
"min":1
640641
},
641642
"ParallelRun":{"type":"boolean"},
643+
"Protocol":{
644+
"type":"string",
645+
"enum":[
646+
"MqttV3_1_1",
647+
"MqttV5"
648+
]
649+
},
642650
"QualificationReportDownloadUrl":{"type":"string"},
643651
"ResourceNotFoundException":{
644652
"type":"structure",
@@ -769,13 +777,21 @@
769777
"shape":"IntendedForQualificationBoolean",
770778
"documentation":"<p>Gets the tests intended for qualification in a suite.</p>"
771779
},
780+
"isLongDurationTest":{
781+
"shape":"IsLongDurationTestBoolean",
782+
"documentation":"<p> Verifies if the test suite is a long duration test. </p>"
783+
},
772784
"rootGroup":{
773785
"shape":"RootGroup",
774786
"documentation":"<p>Gets test suite root group.</p>"
775787
},
776788
"devicePermissionRoleArn":{
777789
"shape":"AmazonResourceName",
778790
"documentation":"<p>Gets the device permission ARN.</p>"
791+
},
792+
"protocol":{
793+
"shape":"Protocol",
794+
"documentation":"<p> Gets the MQTT protocol that is configured in the suite definition.</p>"
779795
}
780796
},
781797
"documentation":"<p>Gets Suite Definition Configuration.</p>"
@@ -799,6 +815,14 @@
799815
"shape":"IntendedForQualificationBoolean",
800816
"documentation":"<p>Specifies if the test suite is intended for qualification.</p>"
801817
},
818+
"isLongDurationTest":{
819+
"shape":"IsLongDurationTestBoolean",
820+
"documentation":"<p> Verifies if the test suite is a long duration test. </p>"
821+
},
822+
"protocol":{
823+
"shape":"Protocol",
824+
"documentation":"<p> Gets the MQTT protocol that is configured in the suite definition.</p>"
825+
},
802826
"createdAt":{
803827
"shape":"Timestamp",
804828
"documentation":"<p>Date (in Unix epoch time) when the test suite was created.</p>"
@@ -907,6 +931,7 @@
907931
"type":"list",
908932
"member":{"shape":"SuiteRunInformation"}
909933
},
934+
"SystemMessage":{"type":"string"},
910935
"TagKeyList":{
911936
"type":"list",
912937
"member":{"shape":"String128"},
@@ -983,6 +1008,10 @@
9831008
"failure":{
9841009
"shape":"Failure",
9851010
"documentation":"<p>Provides test case run failure result.</p>"
1011+
},
1012+
"testScenarios":{
1013+
"shape":"TestCaseScenariosList",
1014+
"documentation":"<p> Provides the test scenarios for the test case run. </p>"
9861015
}
9871016
},
9881017
"documentation":"<p>Provides the test case run.</p>"
@@ -992,6 +1021,58 @@
9921021
"member":{"shape":"TestCaseRun"},
9931022
"documentation":"<p>Tests under each group result.</p>"
9941023
},
1024+
"TestCaseScenario":{
1025+
"type":"structure",
1026+
"members":{
1027+
"testCaseScenarioId":{
1028+
"shape":"TestCaseScenarioId",
1029+
"documentation":"<p>Provides test case scenario ID.</p>"
1030+
},
1031+
"testCaseScenarioType":{
1032+
"shape":"TestCaseScenarioType",
1033+
"documentation":"<p>Provides test case scenario type. Type is one of the following:</p> <ul> <li> <p>Advanced</p> </li> <li> <p>Basic</p> </li> </ul>"
1034+
},
1035+
"status":{
1036+
"shape":"TestCaseScenarioStatus",
1037+
"documentation":"<p>Provides the test case scenario status. Status is one of the following:</p> <ul> <li> <p> <code>PASS</code>: Test passed.</p> </li> <li> <p> <code>FAIL</code>: Test failed.</p> </li> <li> <p> <code>PENDING</code>: Test has not started running but is scheduled.</p> </li> <li> <p> <code>RUNNING</code>: Test is running.</p> </li> <li> <p> <code>STOPPING</code>: Test is performing cleanup steps. You will see this status only if you stop a suite run.</p> </li> <li> <p> <code>STOPPED</code> Test is stopped. You will see this status only if you stop a suite run.</p> </li> <li> <p> <code>PASS_WITH_WARNINGS</code>: Test passed with warnings.</p> </li> <li> <p> <code>ERORR</code>: Test faced an error when running due to an internal issue.</p> </li> </ul>"
1038+
},
1039+
"failure":{
1040+
"shape":"Failure",
1041+
"documentation":"<p>Provides test case scenario failure result.</p>"
1042+
},
1043+
"systemMessage":{
1044+
"shape":"SystemMessage",
1045+
"documentation":"<p> </p>"
1046+
}
1047+
},
1048+
"documentation":"<p>Provides test case scenario.</p>"
1049+
},
1050+
"TestCaseScenarioId":{"type":"string"},
1051+
"TestCaseScenarioStatus":{
1052+
"type":"string",
1053+
"enum":[
1054+
"PASS",
1055+
"FAIL",
1056+
"CANCELED",
1057+
"PENDING",
1058+
"RUNNING",
1059+
"STOPPING",
1060+
"STOPPED",
1061+
"PASS_WITH_WARNINGS",
1062+
"ERROR"
1063+
]
1064+
},
1065+
"TestCaseScenarioType":{
1066+
"type":"string",
1067+
"enum":[
1068+
"Advanced",
1069+
"Basic"
1070+
]
1071+
},
1072+
"TestCaseScenariosList":{
1073+
"type":"list",
1074+
"member":{"shape":"TestCaseScenario"}
1075+
},
9951076
"TestResult":{
9961077
"type":"structure",
9971078
"members":{

0 commit comments

Comments
 (0)