@aws-sdk/client-device-farm 3.1104.0 → 3.1106.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist-cjs/index.js CHANGED
@@ -69,7 +69,7 @@ const commonParams = {
69
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
70
70
  };
71
71
 
72
- var version = "3.1103.0";
72
+ var version = "3.1105.0";
73
73
  var packageInfo = {
74
74
  version: version};
75
75
 
@@ -434,6 +434,9 @@ const _ITRAS = "InstallToRemoteAccessSession";
434
434
  const _ITRASR = "InstallToRemoteAccessSessionRequest";
435
435
  const _ITRASRn = "InstallToRemoteAccessSessionResult";
436
436
  const _J = "Job";
437
+ const _JI = "JobInsights";
438
+ const _JR = "JobReport";
439
+ const _JRM = "JobReportMetrics";
437
440
  const _Jo = "Jobs";
438
441
  const _K = "Key";
439
442
  const _L = "Location";
@@ -538,6 +541,7 @@ const _RAS = "RemoteAccessSession";
538
541
  const _RASe = "RemoteAccessSessions";
539
542
  const _RC = "RecurringCharge";
540
543
  const _RCe = "RecurringCharges";
544
+ const _RI = "RunInsights";
541
545
  const _RO = "RenewOffering";
542
546
  const _ROR = "RenewOfferingRequest";
543
547
  const _RORe = "RenewOfferingResult";
@@ -583,9 +587,11 @@ const _TM = "TrialMinutes";
583
587
  const _TMTE = "TooManyTagsException";
584
588
  const _TOE = "TagOperationException";
585
589
  const _TPE = "TagPolicyException";
586
- const _TR = "TagResource";
590
+ const _TR = "TestReport";
591
+ const _TRM = "TestReportMetrics";
587
592
  const _TRR = "TagResourceRequest";
588
593
  const _TRRa = "TagResourceResponse";
594
+ const _TRa = "TagResource";
589
595
  const _Ta = "Tag";
590
596
  const _Te = "Test";
591
597
  const _Tes = "Tests";
@@ -630,6 +636,7 @@ const _aA = "auxiliaryApps";
630
636
  const _aAN = "awsAccountNumber";
631
637
  const _aAp = "appArn";
632
638
  const _aC = "accountsCleanup";
639
+ const _aJEDS = "averageJobExecutionDurationSeconds";
633
640
  const _aP = "androidPaths";
634
641
  const _aPC = "appPackagesCleanup";
635
642
  const _aS = "accountSettings";
@@ -725,9 +732,20 @@ const _iMn = "incompatibilityMessages";
725
732
  const _iP = "instanceProfile";
726
733
  const _iPn = "instanceProfiles";
727
734
  const _iPo = "iosPaths";
735
+ const _iT = "insightsTypes";
728
736
  const _id = "id";
729
737
  const _in = "instances";
738
+ const _ins = "insights";
730
739
  const _j = "job";
740
+ const _jDU = "jobDetailsUrl";
741
+ const _jE = "jobsErrored";
742
+ const _jF = "jobsFailed";
743
+ const _jP = "jobsPassed";
744
+ const _jPP = "jobsPassedPercentage";
745
+ const _jR = "jobReport";
746
+ const _jS = "jobsSkipped";
747
+ const _jSo = "jobsStopped";
748
+ const _jT = "jobsTotal";
731
749
  const _jTM = "jobTimeoutMinutes";
732
750
  const _jo = "jobs";
733
751
  const _l = "labels";
@@ -739,14 +757,17 @@ const _m = "message";
739
757
  const _mD = "maxDevices";
740
758
  const _mDC = "matchedDevicesCount";
741
759
  const _mI = "modelId";
760
+ const _mJEDS = "medianJobExecutionDurationSeconds";
742
761
  const _mJTM = "maxJobTimeoutMinutes";
743
762
  const _mR = "maxResults";
744
763
  const _mRa = "maxResult";
745
764
  const _mS = "maxSlots";
765
+ const _mTEDS = "medianTestExecutionDurationSeconds";
746
766
  const _ma = "manufacturer";
747
767
  const _me = "memory";
748
768
  const _met = "metered";
749
769
  const _meta = "metadata";
770
+ const _metr = "metrics";
750
771
  const _mo = "model";
751
772
  const _n = "name";
752
773
  const _nP = "networkProfile";
@@ -815,16 +836,27 @@ const _star = "started";
815
836
  const _su = "suite";
816
837
  const _sui = "suites";
817
838
  const _t = "type";
839
+ const _tDU = "testDetailsUrl";
840
+ const _tE = "testsErrored";
841
+ const _tF = "testsFailed";
818
842
  const _tGP = "testGridProject";
819
843
  const _tGPe = "testGridProjects";
820
844
  const _tGS = "testGridSession";
821
845
  const _tGSe = "testGridSessions";
822
846
  const _tI = "transactionId";
823
847
  const _tJ = "totalJobs";
848
+ const _tJEDS = "totalJobExecutionDurationSeconds";
824
849
  const _tM = "trialMinutes";
850
+ const _tO = "testsOther";
851
+ const _tP = "testsPassed";
825
852
  const _tPA = "testPackageArn";
853
+ const _tPP = "testsPassedPercentage";
854
+ const _tR = "testReport";
855
+ const _tS = "testsSkipped";
826
856
  const _tSA = "testSpecArn";
827
857
  const _tT = "testType";
858
+ const _tTEDS = "totalTestExecutionDurationSeconds";
859
+ const _tTe = "testsTotal";
828
860
  const _te = "test";
829
861
  const _tes = "tests";
830
862
  const _to = "total";
@@ -1272,7 +1304,7 @@ var GetJobRequest$ = [3, n0, _GJR,
1272
1304
  var GetJobResult$ = [3, n0, _GJRe,
1273
1305
  0,
1274
1306
  [_j],
1275
- [() => Job$]
1307
+ [[() => Job$, 0]]
1276
1308
  ];
1277
1309
  var GetNetworkProfileRequest$ = [3, n0, _GNPR,
1278
1310
  0,
@@ -1322,7 +1354,7 @@ var GetRunRequest$ = [3, n0, _GRR,
1322
1354
  var GetRunResult$ = [3, n0, _GRRe,
1323
1355
  0,
1324
1356
  [_ru],
1325
- [() => Run$]
1357
+ [[() => Run$, 0]]
1326
1358
  ];
1327
1359
  var GetSuiteRequest$ = [3, n0, _GSR,
1328
1360
  0,
@@ -1406,8 +1438,23 @@ var InstanceProfile$ = [3, n0, _IP,
1406
1438
  ];
1407
1439
  var Job$ = [3, n0, _J,
1408
1440
  0,
1409
- [_a, _n, _t, _cr, _sta, _res, _star, _st, _cou, _m, _de, _iA, _dM, _vE, _vCi],
1410
- [0, 0, 0, 4, 0, 0, 4, 4, () => Counters$, 0, () => Device$, 0, () => DeviceMinutes$, 0, 2]
1441
+ [_a, _n, _t, _cr, _sta, _res, _star, _st, _cou, _m, _de, _iA, _dM, _vE, _vCi, _ins],
1442
+ [0, 0, 0, 4, 0, 0, 4, 4, () => Counters$, 0, () => Device$, 0, () => DeviceMinutes$, 0, 2, [() => JobInsights$, 0]]
1443
+ ];
1444
+ var JobInsights$ = [3, n0, _JI,
1445
+ 0,
1446
+ [_sta, _tR],
1447
+ [0, [() => TestReport$, 0]]
1448
+ ];
1449
+ var JobReport$ = [3, n0, _JR,
1450
+ 0,
1451
+ [_m, _metr, _jDU],
1452
+ [0, () => JobReportMetrics$, [() => SensitiveURL, 0]]
1453
+ ];
1454
+ var JobReportMetrics$ = [3, n0, _JRM,
1455
+ 0,
1456
+ [_jT, _jP, _jF, _jS, _jE, _jSo, _jPP, _tJEDS, _aJEDS, _mJEDS],
1457
+ [1, 1, 1, 1, 1, 1, 1, 1, 1, 1]
1411
1458
  ];
1412
1459
  var ListArtifactsRequest$ = [3, n0, _LAR,
1413
1460
  0,
@@ -1467,7 +1514,7 @@ var ListJobsRequest$ = [3, n0, _LJR,
1467
1514
  var ListJobsResult$ = [3, n0, _LJRi,
1468
1515
  0,
1469
1516
  [_jo, _nT],
1470
- [() => Jobs, 0]
1517
+ [[() => Jobs, 0], 0]
1471
1518
  ];
1472
1519
  var ListNetworkProfilesRequest$ = [3, n0, _LNPR,
1473
1520
  0,
@@ -1537,7 +1584,7 @@ var ListRunsRequest$ = [3, n0, _LRR,
1537
1584
  var ListRunsResult$ = [3, n0, _LRRi,
1538
1585
  0,
1539
1586
  [_run, _nT],
1540
- [() => Runs, 0]
1587
+ [[() => Runs, 0], 0]
1541
1588
  ];
1542
1589
  var ListSamplesRequest$ = [3, n0, _LSR,
1543
1590
  0,
@@ -1751,8 +1798,13 @@ var Rule$ = [3, n0, _Ru,
1751
1798
  ];
1752
1799
  var Run$ = [3, n0, _Run,
1753
1800
  0,
1754
- [_a, _n, _t, _pl, _cr, _sta, _res, _star, _st, _cou, _m, _tJ, _cJ, _bM, _dM, _nP, _dPe, _pRU, _rCe, _see, _aU, _eC, _jTM, _dPA, _loc, _rad, _loca, _cAP, _wU, _sAR, _tSA, _dSR, _vC, _eRA, _eV],
1755
- [0, 0, 0, 0, 4, 0, 0, 4, 4, () => Counters$, 0, 1, 1, 0, () => DeviceMinutes$, () => NetworkProfile$, () => DeviceProxy$, 0, 0, 1, 0, 1, 1, 0, 0, () => Radios$, () => Location$, () => CustomerArtifactPaths$, 0, 2, 0, () => DeviceSelectionResult$, () => VpcConfig$, 0, () => EnvironmentVariables]
1801
+ [_a, _n, _t, _pl, _cr, _sta, _res, _star, _st, _cou, _m, _tJ, _cJ, _bM, _dM, _nP, _dPe, _pRU, _rCe, _see, _aU, _eC, _jTM, _dPA, _loc, _rad, _loca, _cAP, _wU, _sAR, _tSA, _dSR, _vC, _eRA, _eV, _iT, _ins],
1802
+ [0, 0, 0, 0, 4, 0, 0, 4, 4, () => Counters$, 0, 1, 1, 0, () => DeviceMinutes$, () => NetworkProfile$, () => DeviceProxy$, 0, 0, 1, 0, 1, 1, 0, 0, () => Radios$, () => Location$, () => CustomerArtifactPaths$, 0, 2, 0, () => DeviceSelectionResult$, () => VpcConfig$, 0, () => EnvironmentVariables, 64 | 0, [() => RunInsights$, 0]]
1803
+ ];
1804
+ var RunInsights$ = [3, n0, _RI,
1805
+ 0,
1806
+ [_sta, _jR],
1807
+ [0, [() => JobReport$, 0]]
1756
1808
  ];
1757
1809
  var Sample$ = [3, n0, _S,
1758
1810
  0,
@@ -1761,8 +1813,8 @@ var Sample$ = [3, n0, _S,
1761
1813
  ];
1762
1814
  var ScheduleRunConfiguration$ = [3, n0, _SRC,
1763
1815
  0,
1764
- [_eDPA, _nPA, _loc, _loca, _vCA, _dPe, _cAP, _rad, _aA, _bM, _eV, _eRA],
1765
- [0, 0, 0, () => Location$, 64 | 0, () => DeviceProxy$, () => CustomerArtifactPaths$, () => Radios$, 64 | 0, 0, () => EnvironmentVariables, 0]
1816
+ [_eDPA, _nPA, _loc, _loca, _vCA, _dPe, _cAP, _rad, _aA, _bM, _eV, _eRA, _iT],
1817
+ [0, 0, 0, () => Location$, 64 | 0, () => DeviceProxy$, () => CustomerArtifactPaths$, () => Radios$, 64 | 0, 0, () => EnvironmentVariables, 0, 64 | 0]
1766
1818
  ];
1767
1819
  var ScheduleRunRequest$ = [3, n0, _SRR,
1768
1820
  0,
@@ -1772,7 +1824,7 @@ var ScheduleRunRequest$ = [3, n0, _SRR,
1772
1824
  var ScheduleRunResult$ = [3, n0, _SRRc,
1773
1825
  0,
1774
1826
  [_ru],
1775
- [() => Run$]
1827
+ [[() => Run$, 0]]
1776
1828
  ];
1777
1829
  var ScheduleRunTest$ = [3, n0, _SRT,
1778
1830
  0,
@@ -1787,7 +1839,7 @@ var StopJobRequest$ = [3, n0, _SJR,
1787
1839
  var StopJobResult$ = [3, n0, _SJRt,
1788
1840
  0,
1789
1841
  [_j],
1790
- [() => Job$]
1842
+ [[() => Job$, 0]]
1791
1843
  ];
1792
1844
  var StopRemoteAccessSessionRequest$ = [3, n0, _SRASR,
1793
1845
  0,
@@ -1807,7 +1859,7 @@ var StopRunRequest$ = [3, n0, _SRRt,
1807
1859
  var StopRunResult$ = [3, n0, _SRRto,
1808
1860
  0,
1809
1861
  [_ru],
1810
- [() => Run$]
1862
+ [[() => Run$, 0]]
1811
1863
  ];
1812
1864
  var Suite$ = [3, n0, _Su,
1813
1865
  0,
@@ -1859,6 +1911,16 @@ var TestGridVpcConfig$ = [3, n0, _TGVC,
1859
1911
  [_sGI, _sIu, _vI],
1860
1912
  [64 | 0, 64 | 0, 0], 3
1861
1913
  ];
1914
+ var TestReport$ = [3, n0, _TR,
1915
+ 0,
1916
+ [_m, _metr, _tDU],
1917
+ [0, () => TestReportMetrics$, [() => SensitiveURL, 0]]
1918
+ ];
1919
+ var TestReportMetrics$ = [3, n0, _TRM,
1920
+ 0,
1921
+ [_tTe, _tP, _tF, _tS, _tE, _tO, _tPP, _tTEDS, _mTEDS],
1922
+ [1, 1, 1, 1, 1, 1, 1, 1, 1]
1923
+ ];
1862
1924
  var TrialMinutes$ = [3, n0, _TM,
1863
1925
  0,
1864
1926
  [_to, _rem],
@@ -2002,7 +2064,8 @@ var InstanceProfiles = [1, n0, _IPn,
2002
2064
  0, () => InstanceProfile$
2003
2065
  ];
2004
2066
  var Jobs = [1, n0, _Jo,
2005
- 0, () => Job$
2067
+ 0, [() => Job$,
2068
+ 0]
2006
2069
  ];
2007
2070
  var NetworkProfiles = [1, n0, _NPe,
2008
2071
  0, () => NetworkProfile$
@@ -2033,7 +2096,8 @@ var Rules = [1, n0, _Rul,
2033
2096
  0, () => Rule$
2034
2097
  ];
2035
2098
  var Runs = [1, n0, _Runs,
2036
- 0, () => Run$
2099
+ 0, [() => Run$,
2100
+ 0]
2037
2101
  ];
2038
2102
  var Samples = [1, n0, _Sa,
2039
2103
  0, () => Sample$
@@ -2277,7 +2341,7 @@ var StopRemoteAccessSession$ = [9, n0, _SRAS,
2277
2341
  var StopRun$ = [9, n0, _SRt,
2278
2342
  0, () => StopRunRequest$, () => StopRunResult$
2279
2343
  ];
2280
- var TagResource$ = [9, n0, _TR,
2344
+ var TagResource$ = [9, n0, _TRa,
2281
2345
  0, () => TagResourceRequest$, () => TagResourceResponse$
2282
2346
  ];
2283
2347
  var UntagResource$ = [9, n0, _UR,
@@ -2993,6 +3057,9 @@ const UploadStatus = {
2993
3057
  const CurrencyCode = {
2994
3058
  USD: "USD",
2995
3059
  };
3060
+ const InsightsType = {
3061
+ TEST_REPORT: "TEST_REPORT",
3062
+ };
2996
3063
  const TestType = {
2997
3064
  APPIUM_JAVA_JUNIT: "APPIUM_JAVA_JUNIT",
2998
3065
  APPIUM_JAVA_TESTNG: "APPIUM_JAVA_TESTNG",
@@ -3009,6 +3076,13 @@ const TestType = {
3009
3076
  XCTEST: "XCTEST",
3010
3077
  XCTEST_UI: "XCTEST_UI",
3011
3078
  };
3079
+ const ReportStatus = {
3080
+ COMPLETED: "COMPLETED",
3081
+ ERRORED: "ERRORED",
3082
+ PENDING: "PENDING",
3083
+ RUNNING: "RUNNING",
3084
+ SKIPPED: "SKIPPED",
3085
+ };
3012
3086
  const RecurringChargeFrequency = {
3013
3087
  MONTHLY: "MONTHLY",
3014
3088
  };
@@ -3257,6 +3331,7 @@ exports.GetVPCEConfigurationResult$ = GetVPCEConfigurationResult$;
3257
3331
  exports.IdempotencyException = IdempotencyException;
3258
3332
  exports.IdempotencyException$ = IdempotencyException$;
3259
3333
  exports.IncompatibilityMessage$ = IncompatibilityMessage$;
3334
+ exports.InsightsType = InsightsType;
3260
3335
  exports.InstallToRemoteAccessSession$ = InstallToRemoteAccessSession$;
3261
3336
  exports.InstallToRemoteAccessSessionCommand = InstallToRemoteAccessSessionCommand;
3262
3337
  exports.InstallToRemoteAccessSessionRequest$ = InstallToRemoteAccessSessionRequest$;
@@ -3269,6 +3344,9 @@ exports.InternalServiceException$ = InternalServiceException$;
3269
3344
  exports.InvalidOperationException = InvalidOperationException;
3270
3345
  exports.InvalidOperationException$ = InvalidOperationException$;
3271
3346
  exports.Job$ = Job$;
3347
+ exports.JobInsights$ = JobInsights$;
3348
+ exports.JobReport$ = JobReport$;
3349
+ exports.JobReportMetrics$ = JobReportMetrics$;
3272
3350
  exports.LimitExceededException = LimitExceededException;
3273
3351
  exports.LimitExceededException$ = LimitExceededException$;
3274
3352
  exports.ListArtifacts$ = ListArtifacts$;
@@ -3397,10 +3475,12 @@ exports.RenewOffering$ = RenewOffering$;
3397
3475
  exports.RenewOfferingCommand = RenewOfferingCommand;
3398
3476
  exports.RenewOfferingRequest$ = RenewOfferingRequest$;
3399
3477
  exports.RenewOfferingResult$ = RenewOfferingResult$;
3478
+ exports.ReportStatus = ReportStatus;
3400
3479
  exports.Resolution$ = Resolution$;
3401
3480
  exports.Rule$ = Rule$;
3402
3481
  exports.RuleOperator = RuleOperator;
3403
3482
  exports.Run$ = Run$;
3483
+ exports.RunInsights$ = RunInsights$;
3404
3484
  exports.Sample$ = Sample$;
3405
3485
  exports.SampleType = SampleType;
3406
3486
  exports.ScheduleRun$ = ScheduleRun$;
@@ -3442,6 +3522,8 @@ exports.TestGridSessionArtifactCategory = TestGridSessionArtifactCategory;
3442
3522
  exports.TestGridSessionArtifactType = TestGridSessionArtifactType;
3443
3523
  exports.TestGridSessionStatus = TestGridSessionStatus;
3444
3524
  exports.TestGridVpcConfig$ = TestGridVpcConfig$;
3525
+ exports.TestReport$ = TestReport$;
3526
+ exports.TestReportMetrics$ = TestReportMetrics$;
3445
3527
  exports.TestType = TestType;
3446
3528
  exports.TooManyTagsException = TooManyTagsException;
3447
3529
  exports.TooManyTagsException$ = TooManyTagsException$;
@@ -162,6 +162,9 @@ export const UploadStatus = {
162
162
  export const CurrencyCode = {
163
163
  USD: "USD",
164
164
  };
165
+ export const InsightsType = {
166
+ TEST_REPORT: "TEST_REPORT",
167
+ };
165
168
  export const TestType = {
166
169
  APPIUM_JAVA_JUNIT: "APPIUM_JAVA_JUNIT",
167
170
  APPIUM_JAVA_TESTNG: "APPIUM_JAVA_TESTNG",
@@ -178,6 +181,13 @@ export const TestType = {
178
181
  XCTEST: "XCTEST",
179
182
  XCTEST_UI: "XCTEST_UI",
180
183
  };
184
+ export const ReportStatus = {
185
+ COMPLETED: "COMPLETED",
186
+ ERRORED: "ERRORED",
187
+ PENDING: "PENDING",
188
+ RUNNING: "RUNNING",
189
+ SKIPPED: "SKIPPED",
190
+ };
181
191
  export const RecurringChargeFrequency = {
182
192
  MONTHLY: "MONTHLY",
183
193
  };
@@ -143,6 +143,9 @@ const _ITRAS = "InstallToRemoteAccessSession";
143
143
  const _ITRASR = "InstallToRemoteAccessSessionRequest";
144
144
  const _ITRASRn = "InstallToRemoteAccessSessionResult";
145
145
  const _J = "Job";
146
+ const _JI = "JobInsights";
147
+ const _JR = "JobReport";
148
+ const _JRM = "JobReportMetrics";
146
149
  const _Jo = "Jobs";
147
150
  const _K = "Key";
148
151
  const _L = "Location";
@@ -247,6 +250,7 @@ const _RAS = "RemoteAccessSession";
247
250
  const _RASe = "RemoteAccessSessions";
248
251
  const _RC = "RecurringCharge";
249
252
  const _RCe = "RecurringCharges";
253
+ const _RI = "RunInsights";
250
254
  const _RO = "RenewOffering";
251
255
  const _ROR = "RenewOfferingRequest";
252
256
  const _RORe = "RenewOfferingResult";
@@ -292,9 +296,11 @@ const _TM = "TrialMinutes";
292
296
  const _TMTE = "TooManyTagsException";
293
297
  const _TOE = "TagOperationException";
294
298
  const _TPE = "TagPolicyException";
295
- const _TR = "TagResource";
299
+ const _TR = "TestReport";
300
+ const _TRM = "TestReportMetrics";
296
301
  const _TRR = "TagResourceRequest";
297
302
  const _TRRa = "TagResourceResponse";
303
+ const _TRa = "TagResource";
298
304
  const _Ta = "Tag";
299
305
  const _Te = "Test";
300
306
  const _Tes = "Tests";
@@ -339,6 +345,7 @@ const _aA = "auxiliaryApps";
339
345
  const _aAN = "awsAccountNumber";
340
346
  const _aAp = "appArn";
341
347
  const _aC = "accountsCleanup";
348
+ const _aJEDS = "averageJobExecutionDurationSeconds";
342
349
  const _aP = "androidPaths";
343
350
  const _aPC = "appPackagesCleanup";
344
351
  const _aS = "accountSettings";
@@ -434,9 +441,20 @@ const _iMn = "incompatibilityMessages";
434
441
  const _iP = "instanceProfile";
435
442
  const _iPn = "instanceProfiles";
436
443
  const _iPo = "iosPaths";
444
+ const _iT = "insightsTypes";
437
445
  const _id = "id";
438
446
  const _in = "instances";
447
+ const _ins = "insights";
439
448
  const _j = "job";
449
+ const _jDU = "jobDetailsUrl";
450
+ const _jE = "jobsErrored";
451
+ const _jF = "jobsFailed";
452
+ const _jP = "jobsPassed";
453
+ const _jPP = "jobsPassedPercentage";
454
+ const _jR = "jobReport";
455
+ const _jS = "jobsSkipped";
456
+ const _jSo = "jobsStopped";
457
+ const _jT = "jobsTotal";
440
458
  const _jTM = "jobTimeoutMinutes";
441
459
  const _jo = "jobs";
442
460
  const _l = "labels";
@@ -448,14 +466,17 @@ const _m = "message";
448
466
  const _mD = "maxDevices";
449
467
  const _mDC = "matchedDevicesCount";
450
468
  const _mI = "modelId";
469
+ const _mJEDS = "medianJobExecutionDurationSeconds";
451
470
  const _mJTM = "maxJobTimeoutMinutes";
452
471
  const _mR = "maxResults";
453
472
  const _mRa = "maxResult";
454
473
  const _mS = "maxSlots";
474
+ const _mTEDS = "medianTestExecutionDurationSeconds";
455
475
  const _ma = "manufacturer";
456
476
  const _me = "memory";
457
477
  const _met = "metered";
458
478
  const _meta = "metadata";
479
+ const _metr = "metrics";
459
480
  const _mo = "model";
460
481
  const _n = "name";
461
482
  const _nP = "networkProfile";
@@ -524,16 +545,27 @@ const _star = "started";
524
545
  const _su = "suite";
525
546
  const _sui = "suites";
526
547
  const _t = "type";
548
+ const _tDU = "testDetailsUrl";
549
+ const _tE = "testsErrored";
550
+ const _tF = "testsFailed";
527
551
  const _tGP = "testGridProject";
528
552
  const _tGPe = "testGridProjects";
529
553
  const _tGS = "testGridSession";
530
554
  const _tGSe = "testGridSessions";
531
555
  const _tI = "transactionId";
532
556
  const _tJ = "totalJobs";
557
+ const _tJEDS = "totalJobExecutionDurationSeconds";
533
558
  const _tM = "trialMinutes";
559
+ const _tO = "testsOther";
560
+ const _tP = "testsPassed";
534
561
  const _tPA = "testPackageArn";
562
+ const _tPP = "testsPassedPercentage";
563
+ const _tR = "testReport";
564
+ const _tS = "testsSkipped";
535
565
  const _tSA = "testSpecArn";
536
566
  const _tT = "testType";
567
+ const _tTEDS = "totalTestExecutionDurationSeconds";
568
+ const _tTe = "testsTotal";
537
569
  const _te = "test";
538
570
  const _tes = "tests";
539
571
  const _to = "total";
@@ -984,7 +1016,7 @@ export var GetJobRequest$ = [3, n0, _GJR,
984
1016
  export var GetJobResult$ = [3, n0, _GJRe,
985
1017
  0,
986
1018
  [_j],
987
- [() => Job$]
1019
+ [[() => Job$, 0]]
988
1020
  ];
989
1021
  export var GetNetworkProfileRequest$ = [3, n0, _GNPR,
990
1022
  0,
@@ -1034,7 +1066,7 @@ export var GetRunRequest$ = [3, n0, _GRR,
1034
1066
  export var GetRunResult$ = [3, n0, _GRRe,
1035
1067
  0,
1036
1068
  [_ru],
1037
- [() => Run$]
1069
+ [[() => Run$, 0]]
1038
1070
  ];
1039
1071
  export var GetSuiteRequest$ = [3, n0, _GSR,
1040
1072
  0,
@@ -1118,8 +1150,23 @@ export var InstanceProfile$ = [3, n0, _IP,
1118
1150
  ];
1119
1151
  export var Job$ = [3, n0, _J,
1120
1152
  0,
1121
- [_a, _n, _t, _cr, _sta, _res, _star, _st, _cou, _m, _de, _iA, _dM, _vE, _vCi],
1122
- [0, 0, 0, 4, 0, 0, 4, 4, () => Counters$, 0, () => Device$, 0, () => DeviceMinutes$, 0, 2]
1153
+ [_a, _n, _t, _cr, _sta, _res, _star, _st, _cou, _m, _de, _iA, _dM, _vE, _vCi, _ins],
1154
+ [0, 0, 0, 4, 0, 0, 4, 4, () => Counters$, 0, () => Device$, 0, () => DeviceMinutes$, 0, 2, [() => JobInsights$, 0]]
1155
+ ];
1156
+ export var JobInsights$ = [3, n0, _JI,
1157
+ 0,
1158
+ [_sta, _tR],
1159
+ [0, [() => TestReport$, 0]]
1160
+ ];
1161
+ export var JobReport$ = [3, n0, _JR,
1162
+ 0,
1163
+ [_m, _metr, _jDU],
1164
+ [0, () => JobReportMetrics$, [() => SensitiveURL, 0]]
1165
+ ];
1166
+ export var JobReportMetrics$ = [3, n0, _JRM,
1167
+ 0,
1168
+ [_jT, _jP, _jF, _jS, _jE, _jSo, _jPP, _tJEDS, _aJEDS, _mJEDS],
1169
+ [1, 1, 1, 1, 1, 1, 1, 1, 1, 1]
1123
1170
  ];
1124
1171
  export var ListArtifactsRequest$ = [3, n0, _LAR,
1125
1172
  0,
@@ -1179,7 +1226,7 @@ export var ListJobsRequest$ = [3, n0, _LJR,
1179
1226
  export var ListJobsResult$ = [3, n0, _LJRi,
1180
1227
  0,
1181
1228
  [_jo, _nT],
1182
- [() => Jobs, 0]
1229
+ [[() => Jobs, 0], 0]
1183
1230
  ];
1184
1231
  export var ListNetworkProfilesRequest$ = [3, n0, _LNPR,
1185
1232
  0,
@@ -1249,7 +1296,7 @@ export var ListRunsRequest$ = [3, n0, _LRR,
1249
1296
  export var ListRunsResult$ = [3, n0, _LRRi,
1250
1297
  0,
1251
1298
  [_run, _nT],
1252
- [() => Runs, 0]
1299
+ [[() => Runs, 0], 0]
1253
1300
  ];
1254
1301
  export var ListSamplesRequest$ = [3, n0, _LSR,
1255
1302
  0,
@@ -1463,8 +1510,13 @@ export var Rule$ = [3, n0, _Ru,
1463
1510
  ];
1464
1511
  export var Run$ = [3, n0, _Run,
1465
1512
  0,
1466
- [_a, _n, _t, _pl, _cr, _sta, _res, _star, _st, _cou, _m, _tJ, _cJ, _bM, _dM, _nP, _dPe, _pRU, _rCe, _see, _aU, _eC, _jTM, _dPA, _loc, _rad, _loca, _cAP, _wU, _sAR, _tSA, _dSR, _vC, _eRA, _eV],
1467
- [0, 0, 0, 0, 4, 0, 0, 4, 4, () => Counters$, 0, 1, 1, 0, () => DeviceMinutes$, () => NetworkProfile$, () => DeviceProxy$, 0, 0, 1, 0, 1, 1, 0, 0, () => Radios$, () => Location$, () => CustomerArtifactPaths$, 0, 2, 0, () => DeviceSelectionResult$, () => VpcConfig$, 0, () => EnvironmentVariables]
1513
+ [_a, _n, _t, _pl, _cr, _sta, _res, _star, _st, _cou, _m, _tJ, _cJ, _bM, _dM, _nP, _dPe, _pRU, _rCe, _see, _aU, _eC, _jTM, _dPA, _loc, _rad, _loca, _cAP, _wU, _sAR, _tSA, _dSR, _vC, _eRA, _eV, _iT, _ins],
1514
+ [0, 0, 0, 0, 4, 0, 0, 4, 4, () => Counters$, 0, 1, 1, 0, () => DeviceMinutes$, () => NetworkProfile$, () => DeviceProxy$, 0, 0, 1, 0, 1, 1, 0, 0, () => Radios$, () => Location$, () => CustomerArtifactPaths$, 0, 2, 0, () => DeviceSelectionResult$, () => VpcConfig$, 0, () => EnvironmentVariables, 64 | 0, [() => RunInsights$, 0]]
1515
+ ];
1516
+ export var RunInsights$ = [3, n0, _RI,
1517
+ 0,
1518
+ [_sta, _jR],
1519
+ [0, [() => JobReport$, 0]]
1468
1520
  ];
1469
1521
  export var Sample$ = [3, n0, _S,
1470
1522
  0,
@@ -1473,8 +1525,8 @@ export var Sample$ = [3, n0, _S,
1473
1525
  ];
1474
1526
  export var ScheduleRunConfiguration$ = [3, n0, _SRC,
1475
1527
  0,
1476
- [_eDPA, _nPA, _loc, _loca, _vCA, _dPe, _cAP, _rad, _aA, _bM, _eV, _eRA],
1477
- [0, 0, 0, () => Location$, 64 | 0, () => DeviceProxy$, () => CustomerArtifactPaths$, () => Radios$, 64 | 0, 0, () => EnvironmentVariables, 0]
1528
+ [_eDPA, _nPA, _loc, _loca, _vCA, _dPe, _cAP, _rad, _aA, _bM, _eV, _eRA, _iT],
1529
+ [0, 0, 0, () => Location$, 64 | 0, () => DeviceProxy$, () => CustomerArtifactPaths$, () => Radios$, 64 | 0, 0, () => EnvironmentVariables, 0, 64 | 0]
1478
1530
  ];
1479
1531
  export var ScheduleRunRequest$ = [3, n0, _SRR,
1480
1532
  0,
@@ -1484,7 +1536,7 @@ export var ScheduleRunRequest$ = [3, n0, _SRR,
1484
1536
  export var ScheduleRunResult$ = [3, n0, _SRRc,
1485
1537
  0,
1486
1538
  [_ru],
1487
- [() => Run$]
1539
+ [[() => Run$, 0]]
1488
1540
  ];
1489
1541
  export var ScheduleRunTest$ = [3, n0, _SRT,
1490
1542
  0,
@@ -1499,7 +1551,7 @@ export var StopJobRequest$ = [3, n0, _SJR,
1499
1551
  export var StopJobResult$ = [3, n0, _SJRt,
1500
1552
  0,
1501
1553
  [_j],
1502
- [() => Job$]
1554
+ [[() => Job$, 0]]
1503
1555
  ];
1504
1556
  export var StopRemoteAccessSessionRequest$ = [3, n0, _SRASR,
1505
1557
  0,
@@ -1519,7 +1571,7 @@ export var StopRunRequest$ = [3, n0, _SRRt,
1519
1571
  export var StopRunResult$ = [3, n0, _SRRto,
1520
1572
  0,
1521
1573
  [_ru],
1522
- [() => Run$]
1574
+ [[() => Run$, 0]]
1523
1575
  ];
1524
1576
  export var Suite$ = [3, n0, _Su,
1525
1577
  0,
@@ -1571,6 +1623,16 @@ export var TestGridVpcConfig$ = [3, n0, _TGVC,
1571
1623
  [_sGI, _sIu, _vI],
1572
1624
  [64 | 0, 64 | 0, 0], 3
1573
1625
  ];
1626
+ export var TestReport$ = [3, n0, _TR,
1627
+ 0,
1628
+ [_m, _metr, _tDU],
1629
+ [0, () => TestReportMetrics$, [() => SensitiveURL, 0]]
1630
+ ];
1631
+ export var TestReportMetrics$ = [3, n0, _TRM,
1632
+ 0,
1633
+ [_tTe, _tP, _tF, _tS, _tE, _tO, _tPP, _tTEDS, _mTEDS],
1634
+ [1, 1, 1, 1, 1, 1, 1, 1, 1]
1635
+ ];
1574
1636
  export var TrialMinutes$ = [3, n0, _TM,
1575
1637
  0,
1576
1638
  [_to, _rem],
@@ -1715,13 +1777,15 @@ var EnvironmentVariables = [1, n0, _EVn,
1715
1777
  var IncompatibilityMessages = [1, n0, _IMn,
1716
1778
  0, () => IncompatibilityMessage$
1717
1779
  ];
1780
+ var InsightsTypes = 64 | 0;
1718
1781
  var InstanceLabels = 64 | 0;
1719
1782
  var InstanceProfiles = [1, n0, _IPn,
1720
1783
  0, () => InstanceProfile$
1721
1784
  ];
1722
1785
  var IosPaths = 64 | 0;
1723
1786
  var Jobs = [1, n0, _Jo,
1724
- 0, () => Job$
1787
+ 0, [() => Job$,
1788
+ 0]
1725
1789
  ];
1726
1790
  var NetworkProfiles = [1, n0, _NPe,
1727
1791
  0, () => NetworkProfile$
@@ -1753,7 +1817,8 @@ var Rules = [1, n0, _Rul,
1753
1817
  0, () => Rule$
1754
1818
  ];
1755
1819
  var Runs = [1, n0, _Runs,
1756
- 0, () => Run$
1820
+ 0, [() => Run$,
1821
+ 0]
1757
1822
  ];
1758
1823
  var Samples = [1, n0, _Sa,
1759
1824
  0, () => Sample$
@@ -2005,7 +2070,7 @@ export var StopRemoteAccessSession$ = [9, n0, _SRAS,
2005
2070
  export var StopRun$ = [9, n0, _SRt,
2006
2071
  0, () => StopRunRequest$, () => StopRunResult$
2007
2072
  ];
2008
- export var TagResource$ = [9, n0, _TR,
2073
+ export var TagResource$ = [9, n0, _TRa,
2009
2074
  0, () => TagResourceRequest$, () => TagResourceResponse$
2010
2075
  ];
2011
2076
  export var UntagResource$ = [9, n0, _UR,
@@ -89,6 +89,9 @@ declare const GetDevicePoolCompatibilityCommand_base: {
89
89
  * },
90
90
  * ],
91
91
  * executionRoleArn: "STRING_VALUE",
92
+ * insightsTypes: [ // InsightsTypes
93
+ * "TEST_REPORT",
94
+ * ],
92
95
  * },
93
96
  * projectArn: "STRING_VALUE",
94
97
  * };
@@ -116,6 +116,24 @@ declare const GetJobCommand_base: {
116
116
  * // },
117
117
  * // videoEndpoint: "STRING_VALUE",
118
118
  * // videoCapture: true || false,
119
+ * // insights: { // JobInsights
120
+ * // status: "PENDING" || "RUNNING" || "COMPLETED" || "SKIPPED" || "ERRORED",
121
+ * // testReport: { // TestReport
122
+ * // message: "STRING_VALUE",
123
+ * // metrics: { // TestReportMetrics
124
+ * // testsTotal: Number("int"),
125
+ * // testsPassed: Number("int"),
126
+ * // testsFailed: Number("int"),
127
+ * // testsSkipped: Number("int"),
128
+ * // testsErrored: Number("int"),
129
+ * // testsOther: Number("int"),
130
+ * // testsPassedPercentage: Number("double"),
131
+ * // totalTestExecutionDurationSeconds: Number("double"),
132
+ * // medianTestExecutionDurationSeconds: Number("double"),
133
+ * // },
134
+ * // testDetailsUrl: "STRING_VALUE",
135
+ * // },
136
+ * // },
119
137
  * // },
120
138
  * // };
121
139
  *
@@ -146,6 +146,28 @@ declare const GetRunCommand_base: {
146
146
  * // value: "STRING_VALUE", // required
147
147
  * // },
148
148
  * // ],
149
+ * // insightsTypes: [ // InsightsTypes
150
+ * // "TEST_REPORT",
151
+ * // ],
152
+ * // insights: { // RunInsights
153
+ * // status: "PENDING" || "RUNNING" || "COMPLETED" || "SKIPPED" || "ERRORED",
154
+ * // jobReport: { // JobReport
155
+ * // message: "STRING_VALUE",
156
+ * // metrics: { // JobReportMetrics
157
+ * // jobsTotal: Number("int"),
158
+ * // jobsPassed: Number("int"),
159
+ * // jobsFailed: Number("int"),
160
+ * // jobsSkipped: Number("int"),
161
+ * // jobsErrored: Number("int"),
162
+ * // jobsStopped: Number("int"),
163
+ * // jobsPassedPercentage: Number("double"),
164
+ * // totalJobExecutionDurationSeconds: Number("double"),
165
+ * // averageJobExecutionDurationSeconds: Number("double"),
166
+ * // medianJobExecutionDurationSeconds: Number("double"),
167
+ * // },
168
+ * // jobDetailsUrl: "STRING_VALUE",
169
+ * // },
170
+ * // },
149
171
  * // },
150
172
  * // };
151
173
  *
@@ -118,6 +118,24 @@ declare const ListJobsCommand_base: {
118
118
  * // },
119
119
  * // videoEndpoint: "STRING_VALUE",
120
120
  * // videoCapture: true || false,
121
+ * // insights: { // JobInsights
122
+ * // status: "PENDING" || "RUNNING" || "COMPLETED" || "SKIPPED" || "ERRORED",
123
+ * // testReport: { // TestReport
124
+ * // message: "STRING_VALUE",
125
+ * // metrics: { // TestReportMetrics
126
+ * // testsTotal: Number("int"),
127
+ * // testsPassed: Number("int"),
128
+ * // testsFailed: Number("int"),
129
+ * // testsSkipped: Number("int"),
130
+ * // testsErrored: Number("int"),
131
+ * // testsOther: Number("int"),
132
+ * // testsPassedPercentage: Number("double"),
133
+ * // totalTestExecutionDurationSeconds: Number("double"),
134
+ * // medianTestExecutionDurationSeconds: Number("double"),
135
+ * // },
136
+ * // testDetailsUrl: "STRING_VALUE",
137
+ * // },
138
+ * // },
121
139
  * // },
122
140
  * // ],
123
141
  * // nextToken: "STRING_VALUE",
@@ -148,6 +148,28 @@ declare const ListRunsCommand_base: {
148
148
  * // value: "STRING_VALUE", // required
149
149
  * // },
150
150
  * // ],
151
+ * // insightsTypes: [ // InsightsTypes
152
+ * // "TEST_REPORT",
153
+ * // ],
154
+ * // insights: { // RunInsights
155
+ * // status: "PENDING" || "RUNNING" || "COMPLETED" || "SKIPPED" || "ERRORED",
156
+ * // jobReport: { // JobReport
157
+ * // message: "STRING_VALUE",
158
+ * // metrics: { // JobReportMetrics
159
+ * // jobsTotal: Number("int"),
160
+ * // jobsPassed: Number("int"),
161
+ * // jobsFailed: Number("int"),
162
+ * // jobsSkipped: Number("int"),
163
+ * // jobsErrored: Number("int"),
164
+ * // jobsStopped: Number("int"),
165
+ * // jobsPassedPercentage: Number("double"),
166
+ * // totalJobExecutionDurationSeconds: Number("double"),
167
+ * // averageJobExecutionDurationSeconds: Number("double"),
168
+ * // medianJobExecutionDurationSeconds: Number("double"),
169
+ * // },
170
+ * // jobDetailsUrl: "STRING_VALUE",
171
+ * // },
172
+ * // },
151
173
  * // },
152
174
  * // ],
153
175
  * // nextToken: "STRING_VALUE",
@@ -102,6 +102,9 @@ declare const ScheduleRunCommand_base: {
102
102
  * },
103
103
  * ],
104
104
  * executionRoleArn: "STRING_VALUE",
105
+ * insightsTypes: [ // InsightsTypes
106
+ * "TEST_REPORT",
107
+ * ],
105
108
  * },
106
109
  * executionConfiguration: { // ExecutionConfiguration
107
110
  * jobTimeoutMinutes: Number("int"),
@@ -221,6 +224,28 @@ declare const ScheduleRunCommand_base: {
221
224
  * // value: "STRING_VALUE", // required
222
225
  * // },
223
226
  * // ],
227
+ * // insightsTypes: [ // InsightsTypes
228
+ * // "TEST_REPORT",
229
+ * // ],
230
+ * // insights: { // RunInsights
231
+ * // status: "PENDING" || "RUNNING" || "COMPLETED" || "SKIPPED" || "ERRORED",
232
+ * // jobReport: { // JobReport
233
+ * // message: "STRING_VALUE",
234
+ * // metrics: { // JobReportMetrics
235
+ * // jobsTotal: Number("int"),
236
+ * // jobsPassed: Number("int"),
237
+ * // jobsFailed: Number("int"),
238
+ * // jobsSkipped: Number("int"),
239
+ * // jobsErrored: Number("int"),
240
+ * // jobsStopped: Number("int"),
241
+ * // jobsPassedPercentage: Number("double"),
242
+ * // totalJobExecutionDurationSeconds: Number("double"),
243
+ * // averageJobExecutionDurationSeconds: Number("double"),
244
+ * // medianJobExecutionDurationSeconds: Number("double"),
245
+ * // },
246
+ * // jobDetailsUrl: "STRING_VALUE",
247
+ * // },
248
+ * // },
224
249
  * // },
225
250
  * // };
226
251
  *
@@ -119,6 +119,24 @@ declare const StopJobCommand_base: {
119
119
  * // },
120
120
  * // videoEndpoint: "STRING_VALUE",
121
121
  * // videoCapture: true || false,
122
+ * // insights: { // JobInsights
123
+ * // status: "PENDING" || "RUNNING" || "COMPLETED" || "SKIPPED" || "ERRORED",
124
+ * // testReport: { // TestReport
125
+ * // message: "STRING_VALUE",
126
+ * // metrics: { // TestReportMetrics
127
+ * // testsTotal: Number("int"),
128
+ * // testsPassed: Number("int"),
129
+ * // testsFailed: Number("int"),
130
+ * // testsSkipped: Number("int"),
131
+ * // testsErrored: Number("int"),
132
+ * // testsOther: Number("int"),
133
+ * // testsPassedPercentage: Number("double"),
134
+ * // totalTestExecutionDurationSeconds: Number("double"),
135
+ * // medianTestExecutionDurationSeconds: Number("double"),
136
+ * // },
137
+ * // testDetailsUrl: "STRING_VALUE",
138
+ * // },
139
+ * // },
122
140
  * // },
123
141
  * // };
124
142
  *
@@ -149,6 +149,28 @@ declare const StopRunCommand_base: {
149
149
  * // value: "STRING_VALUE", // required
150
150
  * // },
151
151
  * // ],
152
+ * // insightsTypes: [ // InsightsTypes
153
+ * // "TEST_REPORT",
154
+ * // ],
155
+ * // insights: { // RunInsights
156
+ * // status: "PENDING" || "RUNNING" || "COMPLETED" || "SKIPPED" || "ERRORED",
157
+ * // jobReport: { // JobReport
158
+ * // message: "STRING_VALUE",
159
+ * // metrics: { // JobReportMetrics
160
+ * // jobsTotal: Number("int"),
161
+ * // jobsPassed: Number("int"),
162
+ * // jobsFailed: Number("int"),
163
+ * // jobsSkipped: Number("int"),
164
+ * // jobsErrored: Number("int"),
165
+ * // jobsStopped: Number("int"),
166
+ * // jobsPassedPercentage: Number("double"),
167
+ * // totalJobExecutionDurationSeconds: Number("double"),
168
+ * // averageJobExecutionDurationSeconds: Number("double"),
169
+ * // medianJobExecutionDurationSeconds: Number("double"),
170
+ * // },
171
+ * // jobDetailsUrl: "STRING_VALUE",
172
+ * // },
173
+ * // },
152
174
  * // },
153
175
  * // };
154
176
  *
@@ -306,6 +306,17 @@ export declare const CurrencyCode: {
306
306
  * @public
307
307
  */
308
308
  export type CurrencyCode = (typeof CurrencyCode)[keyof typeof CurrencyCode];
309
+ /**
310
+ * @public
311
+ * @enum
312
+ */
313
+ export declare const InsightsType: {
314
+ readonly TEST_REPORT: "TEST_REPORT";
315
+ };
316
+ /**
317
+ * @public
318
+ */
319
+ export type InsightsType = (typeof InsightsType)[keyof typeof InsightsType];
309
320
  /**
310
321
  * @public
311
322
  * @enum
@@ -330,6 +341,21 @@ export declare const TestType: {
330
341
  * @public
331
342
  */
332
343
  export type TestType = (typeof TestType)[keyof typeof TestType];
344
+ /**
345
+ * @public
346
+ * @enum
347
+ */
348
+ export declare const ReportStatus: {
349
+ readonly COMPLETED: "COMPLETED";
350
+ readonly ERRORED: "ERRORED";
351
+ readonly PENDING: "PENDING";
352
+ readonly RUNNING: "RUNNING";
353
+ readonly SKIPPED: "SKIPPED";
354
+ };
355
+ /**
356
+ * @public
357
+ */
358
+ export type ReportStatus = (typeof ReportStatus)[keyof typeof ReportStatus];
333
359
  /**
334
360
  * @public
335
361
  * @enum
@@ -1,4 +1,4 @@
1
- import type { ArtifactCategory, ArtifactType, BillingMethod, CurrencyCode, DeviceAttribute, DeviceAvailability, DeviceFilterAttribute, DeviceFormFactor, DevicePlatform, DevicePoolType, ExecutionResult, ExecutionResultCode, ExecutionStatus, InstanceStatus, InteractionMode, NetworkProfileType, OfferingTransactionType, OfferingType, RecurringChargeFrequency, RuleOperator, SampleType, TestGridSessionArtifactCategory, TestGridSessionArtifactType, TestGridSessionStatus, TestType, UploadCategory, UploadStatus, UploadType } from "./enums";
1
+ import type { ArtifactCategory, ArtifactType, BillingMethod, CurrencyCode, DeviceAttribute, DeviceAvailability, DeviceFilterAttribute, DeviceFormFactor, DevicePlatform, DevicePoolType, ExecutionResult, ExecutionResultCode, ExecutionStatus, InsightsType, InstanceStatus, InteractionMode, NetworkProfileType, OfferingTransactionType, OfferingType, RecurringChargeFrequency, ReportStatus, RuleOperator, SampleType, TestGridSessionArtifactCategory, TestGridSessionArtifactType, TestGridSessionStatus, TestType, UploadCategory, UploadStatus, UploadType } from "./enums";
2
2
  /**
3
3
  * <p>Represents information about free trial device minutes for an AWS
4
4
  * account.</p>
@@ -2205,6 +2205,14 @@ export interface ScheduleRunConfiguration {
2205
2205
  * @public
2206
2206
  */
2207
2207
  executionRoleArn?: string | undefined;
2208
+ /**
2209
+ * <p>The types of insights to generate for a run. Specify one or more values to opt in to
2210
+ * insights generation when scheduling a run.</p>
2211
+ * <p>Insights are currently supported for custom mode runs with Instrumentation, Appium Java TestNG,
2212
+ * and XCTest UI test types.</p>
2213
+ * @public
2214
+ */
2215
+ insightsTypes?: InsightsType[] | undefined;
2208
2216
  }
2209
2217
  /**
2210
2218
  * <p>Represents test settings. This data structure is passed in as the test parameter to ScheduleRun. For an
@@ -2561,6 +2569,94 @@ export interface GetJobRequest {
2561
2569
  */
2562
2570
  arn: string | undefined;
2563
2571
  }
2572
+ /**
2573
+ * <p>Contains aggregated metrics across all tests in a job.</p>
2574
+ * @public
2575
+ */
2576
+ export interface TestReportMetrics {
2577
+ /**
2578
+ * <p>The total number of tests in the job.</p>
2579
+ * @public
2580
+ */
2581
+ testsTotal?: number | undefined;
2582
+ /**
2583
+ * <p>The number of tests that passed.</p>
2584
+ * @public
2585
+ */
2586
+ testsPassed?: number | undefined;
2587
+ /**
2588
+ * <p>The number of tests that failed.</p>
2589
+ * @public
2590
+ */
2591
+ testsFailed?: number | undefined;
2592
+ /**
2593
+ * <p>The number of tests that were skipped.</p>
2594
+ * @public
2595
+ */
2596
+ testsSkipped?: number | undefined;
2597
+ /**
2598
+ * <p>The number of tests that errored.</p>
2599
+ * @public
2600
+ */
2601
+ testsErrored?: number | undefined;
2602
+ /**
2603
+ * <p>The number of tests with other result types.</p>
2604
+ * @public
2605
+ */
2606
+ testsOther?: number | undefined;
2607
+ /**
2608
+ * <p>The percentage of tests that passed.</p>
2609
+ * @public
2610
+ */
2611
+ testsPassedPercentage?: number | undefined;
2612
+ /**
2613
+ * <p>The total execution duration of all tests in the job, in seconds.</p>
2614
+ * @public
2615
+ */
2616
+ totalTestExecutionDurationSeconds?: number | undefined;
2617
+ /**
2618
+ * <p>The median execution duration of tests in the job, in seconds.</p>
2619
+ * @public
2620
+ */
2621
+ medianTestExecutionDurationSeconds?: number | undefined;
2622
+ }
2623
+ /**
2624
+ * <p>Contains aggregated test-level metrics for a job.</p>
2625
+ * @public
2626
+ */
2627
+ export interface TestReport {
2628
+ /**
2629
+ * <p>A message associated with the test report.</p>
2630
+ * @public
2631
+ */
2632
+ message?: string | undefined;
2633
+ /**
2634
+ * <p>The aggregated test-level metrics for the job.</p>
2635
+ * @public
2636
+ */
2637
+ metrics?: TestReportMetrics | undefined;
2638
+ /**
2639
+ * <p>A URL to the detailed test results.</p>
2640
+ * @public
2641
+ */
2642
+ testDetailsUrl?: string | undefined;
2643
+ }
2644
+ /**
2645
+ * <p>Contains insights for a job, including report status, and test-level aggregated metrics such as per test execution time and median test execution time.</p>
2646
+ * @public
2647
+ */
2648
+ export interface JobInsights {
2649
+ /**
2650
+ * <p>The status of the insights report for the job.</p>
2651
+ * @public
2652
+ */
2653
+ status?: ReportStatus | undefined;
2654
+ /**
2655
+ * <p>The test-level aggregated report for the job.</p>
2656
+ * @public
2657
+ */
2658
+ testReport?: TestReport | undefined;
2659
+ }
2564
2660
  /**
2565
2661
  * <p>Represents a device.</p>
2566
2662
  * @public
@@ -2740,6 +2836,11 @@ export interface Job {
2740
2836
  * @public
2741
2837
  */
2742
2838
  videoCapture?: boolean | undefined;
2839
+ /**
2840
+ * <p>The insights for the job, including the report status and test-level metrics. This field contains data only if you specified <code>insightsTypes</code> when you scheduled the run.</p>
2841
+ * @public
2842
+ */
2843
+ insights?: JobInsights | undefined;
2743
2844
  }
2744
2845
  /**
2745
2846
  * <p>Represents the result of a get job request.</p>
@@ -3122,6 +3223,99 @@ export interface DeviceSelectionResult {
3122
3223
  */
3123
3224
  maxDevices?: number | undefined;
3124
3225
  }
3226
+ /**
3227
+ * <p>Contains aggregated metrics across all jobs in a run.</p>
3228
+ * @public
3229
+ */
3230
+ export interface JobReportMetrics {
3231
+ /**
3232
+ * <p>The total number of jobs in the run.</p>
3233
+ * @public
3234
+ */
3235
+ jobsTotal?: number | undefined;
3236
+ /**
3237
+ * <p>The number of jobs that passed.</p>
3238
+ * @public
3239
+ */
3240
+ jobsPassed?: number | undefined;
3241
+ /**
3242
+ * <p>The number of jobs that failed.</p>
3243
+ * @public
3244
+ */
3245
+ jobsFailed?: number | undefined;
3246
+ /**
3247
+ * <p>The number of jobs that were skipped.</p>
3248
+ * @public
3249
+ */
3250
+ jobsSkipped?: number | undefined;
3251
+ /**
3252
+ * <p>The number of jobs that errored.</p>
3253
+ * @public
3254
+ */
3255
+ jobsErrored?: number | undefined;
3256
+ /**
3257
+ * <p>The number of jobs that were stopped.</p>
3258
+ * @public
3259
+ */
3260
+ jobsStopped?: number | undefined;
3261
+ /**
3262
+ * <p>The percentage of jobs that passed.</p>
3263
+ * @public
3264
+ */
3265
+ jobsPassedPercentage?: number | undefined;
3266
+ /**
3267
+ * <p>The total execution duration of all jobs in the run, in seconds.</p>
3268
+ * @public
3269
+ */
3270
+ totalJobExecutionDurationSeconds?: number | undefined;
3271
+ /**
3272
+ * <p>The average execution duration of jobs in the run, in seconds.</p>
3273
+ * @public
3274
+ */
3275
+ averageJobExecutionDurationSeconds?: number | undefined;
3276
+ /**
3277
+ * <p>The median execution duration of jobs in the run, in seconds.</p>
3278
+ * @public
3279
+ */
3280
+ medianJobExecutionDurationSeconds?: number | undefined;
3281
+ }
3282
+ /**
3283
+ * <p>Contains aggregated job-level metrics for a run.</p>
3284
+ * @public
3285
+ */
3286
+ export interface JobReport {
3287
+ /**
3288
+ * <p>A message associated with the job report.</p>
3289
+ * @public
3290
+ */
3291
+ message?: string | undefined;
3292
+ /**
3293
+ * <p>The aggregated job-level metrics for the run.</p>
3294
+ * @public
3295
+ */
3296
+ metrics?: JobReportMetrics | undefined;
3297
+ /**
3298
+ * <p>A URL to the detailed job results.</p>
3299
+ * @public
3300
+ */
3301
+ jobDetailsUrl?: string | undefined;
3302
+ }
3303
+ /**
3304
+ * <p>Contains insights for a run, including report status, and job-level aggregated metrics such as per job execution time and median job execution time.</p>
3305
+ * @public
3306
+ */
3307
+ export interface RunInsights {
3308
+ /**
3309
+ * <p>The status of the insights report for the run.</p>
3310
+ * @public
3311
+ */
3312
+ status?: ReportStatus | undefined;
3313
+ /**
3314
+ * <p>The job-level aggregated report for the run.</p>
3315
+ * @public
3316
+ */
3317
+ jobReport?: JobReport | undefined;
3318
+ }
3125
3319
  /**
3126
3320
  * <p>Represents a test run on a set of devices with a given app package, test parameters, and so
3127
3321
  * on.</p>
@@ -3425,6 +3619,16 @@ export interface Run {
3425
3619
  * @public
3426
3620
  */
3427
3621
  environmentVariables?: EnvironmentVariable[] | undefined;
3622
+ /**
3623
+ * <p>The types of insights requested for the run.</p>
3624
+ * @public
3625
+ */
3626
+ insightsTypes?: InsightsType[] | undefined;
3627
+ /**
3628
+ * <p>The insights for the run, including the report status and job-level metrics. This field contains data only if you specified <code>insightsTypes</code> when you scheduled the run.</p>
3629
+ * @public
3630
+ */
3631
+ insights?: RunInsights | undefined;
3428
3632
  }
3429
3633
  /**
3430
3634
  * <p>Represents the result of a get run request.</p>
@@ -113,6 +113,9 @@ export declare var InstallToRemoteAccessSessionRequest$: StaticStructureSchema;
113
113
  export declare var InstallToRemoteAccessSessionResult$: StaticStructureSchema;
114
114
  export declare var InstanceProfile$: StaticStructureSchema;
115
115
  export declare var Job$: StaticStructureSchema;
116
+ export declare var JobInsights$: StaticStructureSchema;
117
+ export declare var JobReport$: StaticStructureSchema;
118
+ export declare var JobReportMetrics$: StaticStructureSchema;
116
119
  export declare var ListArtifactsRequest$: StaticStructureSchema;
117
120
  export declare var ListArtifactsResult$: StaticStructureSchema;
118
121
  export declare var ListDeviceInstancesRequest$: StaticStructureSchema;
@@ -182,6 +185,7 @@ export declare var RenewOfferingResult$: StaticStructureSchema;
182
185
  export declare var Resolution$: StaticStructureSchema;
183
186
  export declare var Rule$: StaticStructureSchema;
184
187
  export declare var Run$: StaticStructureSchema;
188
+ export declare var RunInsights$: StaticStructureSchema;
185
189
  export declare var Sample$: StaticStructureSchema;
186
190
  export declare var ScheduleRunConfiguration$: StaticStructureSchema;
187
191
  export declare var ScheduleRunRequest$: StaticStructureSchema;
@@ -203,6 +207,8 @@ export declare var TestGridSession$: StaticStructureSchema;
203
207
  export declare var TestGridSessionAction$: StaticStructureSchema;
204
208
  export declare var TestGridSessionArtifact$: StaticStructureSchema;
205
209
  export declare var TestGridVpcConfig$: StaticStructureSchema;
210
+ export declare var TestReport$: StaticStructureSchema;
211
+ export declare var TestReportMetrics$: StaticStructureSchema;
206
212
  export declare var TrialMinutes$: StaticStructureSchema;
207
213
  export declare var UniqueProblem$: StaticStructureSchema;
208
214
  export declare var UntagResourceRequest$: StaticStructureSchema;
@@ -180,6 +180,10 @@ export declare const CurrencyCode: {
180
180
  readonly USD: "USD";
181
181
  };
182
182
  export type CurrencyCode = (typeof CurrencyCode)[keyof typeof CurrencyCode];
183
+ export declare const InsightsType: {
184
+ readonly TEST_REPORT: "TEST_REPORT";
185
+ };
186
+ export type InsightsType = (typeof InsightsType)[keyof typeof InsightsType];
183
187
  export declare const TestType: {
184
188
  readonly APPIUM_JAVA_JUNIT: "APPIUM_JAVA_JUNIT";
185
189
  readonly APPIUM_JAVA_TESTNG: "APPIUM_JAVA_TESTNG";
@@ -197,6 +201,14 @@ export declare const TestType: {
197
201
  readonly XCTEST_UI: "XCTEST_UI";
198
202
  };
199
203
  export type TestType = (typeof TestType)[keyof typeof TestType];
204
+ export declare const ReportStatus: {
205
+ readonly COMPLETED: "COMPLETED";
206
+ readonly ERRORED: "ERRORED";
207
+ readonly PENDING: "PENDING";
208
+ readonly RUNNING: "RUNNING";
209
+ readonly SKIPPED: "SKIPPED";
210
+ };
211
+ export type ReportStatus = (typeof ReportStatus)[keyof typeof ReportStatus];
200
212
  export declare const RecurringChargeFrequency: {
201
213
  readonly MONTHLY: "MONTHLY";
202
214
  };
@@ -12,12 +12,14 @@ import {
12
12
  ExecutionResult,
13
13
  ExecutionResultCode,
14
14
  ExecutionStatus,
15
+ InsightsType,
15
16
  InstanceStatus,
16
17
  InteractionMode,
17
18
  NetworkProfileType,
18
19
  OfferingTransactionType,
19
20
  OfferingType,
20
21
  RecurringChargeFrequency,
22
+ ReportStatus,
21
23
  RuleOperator,
22
24
  SampleType,
23
25
  TestGridSessionArtifactCategory,
@@ -403,6 +405,7 @@ export interface ScheduleRunConfiguration {
403
405
  billingMethod?: BillingMethod | undefined;
404
406
  environmentVariables?: EnvironmentVariable[] | undefined;
405
407
  executionRoleArn?: string | undefined;
408
+ insightsTypes?: InsightsType[] | undefined;
406
409
  }
407
410
  export interface ScheduleRunTest {
408
411
  type: TestType | undefined;
@@ -441,6 +444,26 @@ export interface GetInstanceProfileResult {
441
444
  export interface GetJobRequest {
442
445
  arn: string | undefined;
443
446
  }
447
+ export interface TestReportMetrics {
448
+ testsTotal?: number | undefined;
449
+ testsPassed?: number | undefined;
450
+ testsFailed?: number | undefined;
451
+ testsSkipped?: number | undefined;
452
+ testsErrored?: number | undefined;
453
+ testsOther?: number | undefined;
454
+ testsPassedPercentage?: number | undefined;
455
+ totalTestExecutionDurationSeconds?: number | undefined;
456
+ medianTestExecutionDurationSeconds?: number | undefined;
457
+ }
458
+ export interface TestReport {
459
+ message?: string | undefined;
460
+ metrics?: TestReportMetrics | undefined;
461
+ testDetailsUrl?: string | undefined;
462
+ }
463
+ export interface JobInsights {
464
+ status?: ReportStatus | undefined;
465
+ testReport?: TestReport | undefined;
466
+ }
444
467
  export interface Job {
445
468
  arn?: string | undefined;
446
469
  name?: string | undefined;
@@ -457,6 +480,7 @@ export interface Job {
457
480
  deviceMinutes?: DeviceMinutes | undefined;
458
481
  videoEndpoint?: string | undefined;
459
482
  videoCapture?: boolean | undefined;
483
+ insights?: JobInsights | undefined;
460
484
  }
461
485
  export interface GetJobResult {
462
486
  job?: Job | undefined;
@@ -521,6 +545,27 @@ export interface DeviceSelectionResult {
521
545
  matchedDevicesCount?: number | undefined;
522
546
  maxDevices?: number | undefined;
523
547
  }
548
+ export interface JobReportMetrics {
549
+ jobsTotal?: number | undefined;
550
+ jobsPassed?: number | undefined;
551
+ jobsFailed?: number | undefined;
552
+ jobsSkipped?: number | undefined;
553
+ jobsErrored?: number | undefined;
554
+ jobsStopped?: number | undefined;
555
+ jobsPassedPercentage?: number | undefined;
556
+ totalJobExecutionDurationSeconds?: number | undefined;
557
+ averageJobExecutionDurationSeconds?: number | undefined;
558
+ medianJobExecutionDurationSeconds?: number | undefined;
559
+ }
560
+ export interface JobReport {
561
+ message?: string | undefined;
562
+ metrics?: JobReportMetrics | undefined;
563
+ jobDetailsUrl?: string | undefined;
564
+ }
565
+ export interface RunInsights {
566
+ status?: ReportStatus | undefined;
567
+ jobReport?: JobReport | undefined;
568
+ }
524
569
  export interface Run {
525
570
  arn?: string | undefined;
526
571
  name?: string | undefined;
@@ -557,6 +602,8 @@ export interface Run {
557
602
  vpcConfig?: VpcConfig | undefined;
558
603
  executionRoleArn?: string | undefined;
559
604
  environmentVariables?: EnvironmentVariable[] | undefined;
605
+ insightsTypes?: InsightsType[] | undefined;
606
+ insights?: RunInsights | undefined;
560
607
  }
561
608
  export interface GetRunResult {
562
609
  run?: Run | undefined;
@@ -108,6 +108,9 @@ export declare var InstallToRemoteAccessSessionRequest$: StaticStructureSchema;
108
108
  export declare var InstallToRemoteAccessSessionResult$: StaticStructureSchema;
109
109
  export declare var InstanceProfile$: StaticStructureSchema;
110
110
  export declare var Job$: StaticStructureSchema;
111
+ export declare var JobInsights$: StaticStructureSchema;
112
+ export declare var JobReport$: StaticStructureSchema;
113
+ export declare var JobReportMetrics$: StaticStructureSchema;
111
114
  export declare var ListArtifactsRequest$: StaticStructureSchema;
112
115
  export declare var ListArtifactsResult$: StaticStructureSchema;
113
116
  export declare var ListDeviceInstancesRequest$: StaticStructureSchema;
@@ -177,6 +180,7 @@ export declare var RenewOfferingResult$: StaticStructureSchema;
177
180
  export declare var Resolution$: StaticStructureSchema;
178
181
  export declare var Rule$: StaticStructureSchema;
179
182
  export declare var Run$: StaticStructureSchema;
183
+ export declare var RunInsights$: StaticStructureSchema;
180
184
  export declare var Sample$: StaticStructureSchema;
181
185
  export declare var ScheduleRunConfiguration$: StaticStructureSchema;
182
186
  export declare var ScheduleRunRequest$: StaticStructureSchema;
@@ -198,6 +202,8 @@ export declare var TestGridSession$: StaticStructureSchema;
198
202
  export declare var TestGridSessionAction$: StaticStructureSchema;
199
203
  export declare var TestGridSessionArtifact$: StaticStructureSchema;
200
204
  export declare var TestGridVpcConfig$: StaticStructureSchema;
205
+ export declare var TestReport$: StaticStructureSchema;
206
+ export declare var TestReportMetrics$: StaticStructureSchema;
201
207
  export declare var TrialMinutes$: StaticStructureSchema;
202
208
  export declare var UniqueProblem$: StaticStructureSchema;
203
209
  export declare var UntagResourceRequest$: StaticStructureSchema;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-device-farm",
3
- "version": "3.1104.0",
3
+ "version": "3.1106.0",
4
4
  "description": "AWS SDK for JavaScript Device Farm Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-device-farm",
6
6
  "license": "Apache-2.0",