@@ -46,6 +46,11 @@ export namespace DeviceUnderTest {
46
46
} ) ;
47
47
}
48
48
49
+ export enum Protocol {
50
+ MqttV3_1_1 = "MqttV3_1_1" ,
51
+ MqttV5 = "MqttV5" ,
52
+ }
53
+
49
54
/**
50
55
* <p>Gets Suite Definition Configuration.</p>
51
56
*/
@@ -65,6 +70,11 @@ export interface SuiteDefinitionConfiguration {
65
70
*/
66
71
intendedForQualification ?: boolean ;
67
72
73
+ /**
74
+ * <p> Verifies if the test suite is a long duration test. </p>
75
+ */
76
+ isLongDurationTest ?: boolean ;
77
+
68
78
/**
69
79
* <p>Gets test suite root group.</p>
70
80
*/
@@ -74,6 +84,11 @@ export interface SuiteDefinitionConfiguration {
74
84
* <p>Gets the device permission ARN.</p>
75
85
*/
76
86
devicePermissionRoleArn ?: string ;
87
+
88
+ /**
89
+ * <p> Gets the MQTT protocol that is configured in the suite definition.</p>
90
+ */
91
+ protocol ?: Protocol | string ;
77
92
}
78
93
79
94
export namespace SuiteDefinitionConfiguration {
@@ -404,6 +419,109 @@ export enum Status {
404
419
STOPPING = "STOPPING" ,
405
420
}
406
421
422
+ export enum TestCaseScenarioStatus {
423
+ CANCELED = "CANCELED" ,
424
+ ERROR = "ERROR" ,
425
+ FAIL = "FAIL" ,
426
+ PASS = "PASS" ,
427
+ PASS_WITH_WARNINGS = "PASS_WITH_WARNINGS" ,
428
+ PENDING = "PENDING" ,
429
+ RUNNING = "RUNNING" ,
430
+ STOPPED = "STOPPED" ,
431
+ STOPPING = "STOPPING" ,
432
+ }
433
+
434
+ export enum TestCaseScenarioType {
435
+ Advanced = "Advanced" ,
436
+ Basic = "Basic" ,
437
+ }
438
+
439
+ /**
440
+ * <p>Provides test case scenario.</p>
441
+ */
442
+ export interface TestCaseScenario {
443
+ /**
444
+ * <p>Provides test case scenario ID.</p>
445
+ */
446
+ testCaseScenarioId ?: string ;
447
+
448
+ /**
449
+ * <p>Provides test case scenario type. Type is one of the following:</p>
450
+ * <ul>
451
+ * <li>
452
+ * <p>Advanced</p>
453
+ * </li>
454
+ * <li>
455
+ * <p>Basic</p>
456
+ * </li>
457
+ * </ul>
458
+ */
459
+ testCaseScenarioType ?: TestCaseScenarioType | string ;
460
+
461
+ /**
462
+ * <p>Provides the test case scenario status. Status is one of the following:</p>
463
+ * <ul>
464
+ * <li>
465
+ * <p>
466
+ * <code>PASS</code>: Test passed.</p>
467
+ * </li>
468
+ * <li>
469
+ * <p>
470
+ * <code>FAIL</code>: Test failed.</p>
471
+ * </li>
472
+ * <li>
473
+ * <p>
474
+ * <code>PENDING</code>: Test has not started running but is scheduled.</p>
475
+ * </li>
476
+ * <li>
477
+ * <p>
478
+ * <code>RUNNING</code>: Test is running.</p>
479
+ * </li>
480
+ * <li>
481
+ * <p>
482
+ * <code>STOPPING</code>: Test is performing cleanup steps. You will see this
483
+ * status only if you stop a suite run.</p>
484
+ * </li>
485
+ * <li>
486
+ * <p>
487
+ * <code>STOPPED</code> Test is stopped. You will see this status only if you
488
+ * stop a suite run.</p>
489
+ * </li>
490
+ * <li>
491
+ * <p>
492
+ * <code>PASS_WITH_WARNINGS</code>: Test passed with warnings.</p>
493
+ * </li>
494
+ * <li>
495
+ * <p>
496
+ * <code>ERORR</code>: Test faced an error when running due to an internal
497
+ * issue.</p>
498
+ * </li>
499
+ * </ul>
500
+ */
501
+ status ?: TestCaseScenarioStatus | string ;
502
+
503
+ /**
504
+ * <p>Provides test case scenario failure result.</p>
505
+ */
506
+ failure ?: string ;
507
+
508
+ /**
509
+ * <p>
510
+ *
511
+ * </p>
512
+ */
513
+ systemMessage ?: string ;
514
+ }
515
+
516
+ export namespace TestCaseScenario {
517
+ /**
518
+ * @internal
519
+ */
520
+ export const filterSensitiveLog = ( obj : TestCaseScenario ) : any => ( {
521
+ ...obj ,
522
+ } ) ;
523
+ }
524
+
407
525
/**
408
526
* <p>Provides the test case run.</p>
409
527
*/
@@ -427,36 +545,39 @@ export interface TestCaseRun {
427
545
* <p>Provides the test case run status. Status is one of the following:</p>
428
546
* <ul>
429
547
* <li>
430
- * <p>
548
+ * <p>
431
549
* <code>PASS</code>: Test passed.</p>
432
550
* </li>
433
551
* <li>
434
- * <p>
552
+ * <p>
435
553
* <code>FAIL</code>: Test failed.</p>
436
554
* </li>
437
555
* <li>
438
- * <p>
556
+ * <p>
439
557
* <code>PENDING</code>: Test has not started running but is scheduled.</p>
440
558
* </li>
441
559
* <li>
442
- * <p>
560
+ * <p>
443
561
* <code>RUNNING</code>: Test is running.</p>
444
562
* </li>
445
563
* <li>
446
- * <p>
447
- * <code>STOPPING</code>: Test is performing cleanup steps. You will see this status only if you stop a suite run.</p>
564
+ * <p>
565
+ * <code>STOPPING</code>: Test is performing cleanup steps. You will see this
566
+ * status only if you stop a suite run.</p>
448
567
* </li>
449
568
* <li>
450
- * <p>
451
- * <code>STOPPED</code> Test is stopped. You will see this status only if you stop a suite run.</p>
569
+ * <p>
570
+ * <code>STOPPED</code> Test is stopped. You will see this status only if you
571
+ * stop a suite run.</p>
452
572
* </li>
453
573
* <li>
454
- * <p>
574
+ * <p>
455
575
* <code>PASS_WITH_WARNINGS</code>: Test passed with warnings.</p>
456
576
* </li>
457
577
* <li>
458
- * <p>
459
- * <code>ERORR</code>: Test faced an error when running due to an internal issue.</p>
578
+ * <p>
579
+ * <code>ERORR</code>: Test faced an error when running due to an internal
580
+ * issue.</p>
460
581
* </li>
461
582
* </ul>
462
583
*/
@@ -486,6 +607,11 @@ export interface TestCaseRun {
486
607
* <p>Provides test case run failure result.</p>
487
608
*/
488
609
failure ?: string ;
610
+
611
+ /**
612
+ * <p> Provides the test scenarios for the test case run. </p>
613
+ */
614
+ testScenarios ?: TestCaseScenario [ ] ;
489
615
}
490
616
491
617
export namespace TestCaseRun {
@@ -693,6 +819,16 @@ export interface SuiteDefinitionInformation {
693
819
*/
694
820
intendedForQualification ?: boolean ;
695
821
822
+ /**
823
+ * <p> Verifies if the test suite is a long duration test. </p>
824
+ */
825
+ isLongDurationTest ?: boolean ;
826
+
827
+ /**
828
+ * <p> Gets the MQTT protocol that is configured in the suite definition.</p>
829
+ */
830
+ protocol ?: Protocol | string ;
831
+
696
832
/**
697
833
* <p>Date (in Unix epoch time) when the test suite was created.</p>
698
834
*/
@@ -710,7 +846,8 @@ export namespace SuiteDefinitionInformation {
710
846
711
847
export interface ListSuiteDefinitionsResponse {
712
848
/**
713
- * <p>An array of objects that provide summaries of information about the suite definitions in the list.</p>
849
+ * <p>An array of objects that provide summaries of information about the suite definitions
850
+ * in the list.</p>
714
851
*/
715
852
suiteDefinitionInformationList ?: SuiteDefinitionInformation [ ] ;
716
853
@@ -829,7 +966,8 @@ export namespace SuiteRunInformation {
829
966
830
967
export interface ListSuiteRunsResponse {
831
968
/**
832
- * <p>An array of objects that provide summaries of information about the suite runs in the list.</p>
969
+ * <p>An array of objects that provide summaries of information about the suite runs in the
970
+ * list.</p>
833
971
*/
834
972
suiteRunsList ?: SuiteRunInformation [ ] ;
835
973
0 commit comments