@aws-sdk/client-device-farm 3.936.0 → 3.937.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 +43 -6
- package/dist-es/schemas/schemas_0.js +43 -6
- package/dist-types/commands/CreateProjectCommand.d.ts +14 -0
- package/dist-types/commands/GetDevicePoolCompatibilityCommand.d.ts +7 -0
- package/dist-types/commands/GetProjectCommand.d.ts +7 -0
- package/dist-types/commands/GetRunCommand.d.ts +7 -0
- package/dist-types/commands/ListProjectsCommand.d.ts +7 -0
- package/dist-types/commands/ListRunsCommand.d.ts +7 -0
- package/dist-types/commands/ScheduleRunCommand.d.ts +14 -0
- package/dist-types/commands/StopRunCommand.d.ts +7 -0
- package/dist-types/commands/UpdateProjectCommand.d.ts +14 -0
- package/dist-types/models/models_0.d.ts +85 -3
- package/dist-types/schemas/schemas_0.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +14 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +2 -0
- package/package.json +1 -1
package/dist-cjs/index.js
CHANGED
|
@@ -346,6 +346,8 @@ const _DVPCECR = "DeleteVPCEConfigurationRequest";
|
|
|
346
346
|
const _DVPCECRe = "DeleteVPCEConfigurationResult";
|
|
347
347
|
const _De = "Devices";
|
|
348
348
|
const _EC = "ExecutionConfiguration";
|
|
349
|
+
const _EV = "EnvironmentVariable";
|
|
350
|
+
const _EVn = "EnvironmentVariables";
|
|
349
351
|
const _GAS = "GetAccountSettings";
|
|
350
352
|
const _GASR = "GetAccountSettingsRequest";
|
|
351
353
|
const _GASRe = "GetAccountSettingsResult";
|
|
@@ -670,8 +672,10 @@ const _eCx = "executionConfiguration";
|
|
|
670
672
|
const _eDPA = "extraDataPackageArn";
|
|
671
673
|
const _eIS = "expiresInSeconds";
|
|
672
674
|
const _eO = "effectiveOn";
|
|
675
|
+
const _eRA = "executionRoleArn";
|
|
673
676
|
const _eTA = "endTimeAfter";
|
|
674
677
|
const _eTB = "endTimeBefore";
|
|
678
|
+
const _eV = "environmentVariables";
|
|
675
679
|
const _en = "endpoint";
|
|
676
680
|
const _end = "endpoints";
|
|
677
681
|
const _ende = "ended";
|
|
@@ -895,7 +899,14 @@ var CreateNetworkProfileRequest = [
|
|
|
895
899
|
[0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1],
|
|
896
900
|
];
|
|
897
901
|
var CreateNetworkProfileResult = [3, n0, _CNPRr, 0, [_nP], [() => NetworkProfile]];
|
|
898
|
-
var CreateProjectRequest = [
|
|
902
|
+
var CreateProjectRequest = [
|
|
903
|
+
3,
|
|
904
|
+
n0,
|
|
905
|
+
_CPR,
|
|
906
|
+
0,
|
|
907
|
+
[_n, _dJTM, _vC, _eV, _eRA],
|
|
908
|
+
[0, 1, () => VpcConfig, () => EnvironmentVariables, 0],
|
|
909
|
+
];
|
|
899
910
|
var CreateProjectResult = [3, n0, _CPRr, 0, [_pr], [() => Project]];
|
|
900
911
|
var CreateRemoteAccessSessionConfiguration = [
|
|
901
912
|
3,
|
|
@@ -1013,6 +1024,7 @@ var DeviceSelectionResult = [
|
|
|
1013
1024
|
[_fi, _mDC, _mD],
|
|
1014
1025
|
[() => DeviceFilters, 1, 1],
|
|
1015
1026
|
];
|
|
1027
|
+
var EnvironmentVariable = [3, n0, _EV, 0, [_n, _va], [0, 0]];
|
|
1016
1028
|
var ExecutionConfiguration = [
|
|
1017
1029
|
3,
|
|
1018
1030
|
n0,
|
|
@@ -1354,7 +1366,14 @@ var Problem = [
|
|
|
1354
1366
|
[() => ProblemDetail, () => ProblemDetail, () => ProblemDetail, () => ProblemDetail, () => Device, 0, 0],
|
|
1355
1367
|
];
|
|
1356
1368
|
var ProblemDetail = [3, n0, _PD, 0, [_a, _n], [0, 0]];
|
|
1357
|
-
var Project = [
|
|
1369
|
+
var Project = [
|
|
1370
|
+
3,
|
|
1371
|
+
n0,
|
|
1372
|
+
_Pr,
|
|
1373
|
+
0,
|
|
1374
|
+
[_a, _n, _dJTM, _cr, _vC, _eV, _eRA],
|
|
1375
|
+
[0, 0, 1, 4, () => VpcConfig, () => EnvironmentVariables, 0],
|
|
1376
|
+
];
|
|
1358
1377
|
var PurchaseOfferingRequest = [3, n0, _POR, 0, [_oI, _q, _oPI], [0, 1, 0]];
|
|
1359
1378
|
var PurchaseOfferingResult = [3, n0, _PORu, 0, [_oTf], [() => OfferingTransaction]];
|
|
1360
1379
|
var Radios = [3, n0, _R, 0, [_wi, _b, _nf, _g], [2, 2, 2, 2]];
|
|
@@ -1442,6 +1461,8 @@ var Run = [
|
|
|
1442
1461
|
_tSA,
|
|
1443
1462
|
_dSR,
|
|
1444
1463
|
_vC,
|
|
1464
|
+
_eRA,
|
|
1465
|
+
_eV,
|
|
1445
1466
|
],
|
|
1446
1467
|
[
|
|
1447
1468
|
0,
|
|
@@ -1477,6 +1498,8 @@ var Run = [
|
|
|
1477
1498
|
0,
|
|
1478
1499
|
() => DeviceSelectionResult,
|
|
1479
1500
|
() => VpcConfig,
|
|
1501
|
+
0,
|
|
1502
|
+
() => EnvironmentVariables,
|
|
1480
1503
|
],
|
|
1481
1504
|
];
|
|
1482
1505
|
var Sample = [3, n0, _S, 0, [_a, _t, _u], [0, 0, 0]];
|
|
@@ -1485,8 +1508,21 @@ var ScheduleRunConfiguration = [
|
|
|
1485
1508
|
n0,
|
|
1486
1509
|
_SRC,
|
|
1487
1510
|
0,
|
|
1488
|
-
[_eDPA, _nPA, _loc, _loca, _vCA, _dPe, _cAP, _rad, _aA, _bM],
|
|
1489
|
-
[
|
|
1511
|
+
[_eDPA, _nPA, _loc, _loca, _vCA, _dPe, _cAP, _rad, _aA, _bM, _eV, _eRA],
|
|
1512
|
+
[
|
|
1513
|
+
0,
|
|
1514
|
+
0,
|
|
1515
|
+
0,
|
|
1516
|
+
() => Location,
|
|
1517
|
+
64 | 0,
|
|
1518
|
+
() => DeviceProxy,
|
|
1519
|
+
() => CustomerArtifactPaths,
|
|
1520
|
+
() => Radios,
|
|
1521
|
+
64 | 0,
|
|
1522
|
+
0,
|
|
1523
|
+
() => EnvironmentVariables,
|
|
1524
|
+
0,
|
|
1525
|
+
],
|
|
1490
1526
|
];
|
|
1491
1527
|
var ScheduleRunRequest = [
|
|
1492
1528
|
3,
|
|
@@ -1664,8 +1700,8 @@ var UpdateProjectRequest = [
|
|
|
1664
1700
|
n0,
|
|
1665
1701
|
_UPR,
|
|
1666
1702
|
0,
|
|
1667
|
-
[_a, _n, _dJTM, _vC],
|
|
1668
|
-
[0, 0, 1, () => VpcConfig],
|
|
1703
|
+
[_a, _n, _dJTM, _vC, _eV, _eRA],
|
|
1704
|
+
[0, 0, 1, () => VpcConfig, () => EnvironmentVariables, 0],
|
|
1669
1705
|
];
|
|
1670
1706
|
var UpdateProjectResult = [3, n0, _UPRp, 0, [_pr], [() => Project]];
|
|
1671
1707
|
var UpdateTestGridProjectRequest = [
|
|
@@ -1713,6 +1749,7 @@ var DeviceInstances = [1, n0, _DIe, 0, () => DeviceInstance];
|
|
|
1713
1749
|
var DevicePoolCompatibilityResults = [1, n0, _DPCRe, 0, () => DevicePoolCompatibilityResult];
|
|
1714
1750
|
var DevicePools = [1, n0, _DPev, 0, () => DevicePool];
|
|
1715
1751
|
var Devices = [1, n0, _De, 0, () => Device];
|
|
1752
|
+
var EnvironmentVariables = [1, n0, _EVn, 0, () => EnvironmentVariable];
|
|
1716
1753
|
var IncompatibilityMessages = [1, n0, _IMn, 0, () => IncompatibilityMessage];
|
|
1717
1754
|
var InstanceProfiles = [1, n0, _IPn, 0, () => InstanceProfile];
|
|
1718
1755
|
var Jobs = [1, n0, _Jo, 0, () => Job];
|
|
@@ -76,6 +76,8 @@ const _DVPCECR = "DeleteVPCEConfigurationRequest";
|
|
|
76
76
|
const _DVPCECRe = "DeleteVPCEConfigurationResult";
|
|
77
77
|
const _De = "Devices";
|
|
78
78
|
const _EC = "ExecutionConfiguration";
|
|
79
|
+
const _EV = "EnvironmentVariable";
|
|
80
|
+
const _EVn = "EnvironmentVariables";
|
|
79
81
|
const _GAS = "GetAccountSettings";
|
|
80
82
|
const _GASR = "GetAccountSettingsRequest";
|
|
81
83
|
const _GASRe = "GetAccountSettingsResult";
|
|
@@ -400,8 +402,10 @@ const _eCx = "executionConfiguration";
|
|
|
400
402
|
const _eDPA = "extraDataPackageArn";
|
|
401
403
|
const _eIS = "expiresInSeconds";
|
|
402
404
|
const _eO = "effectiveOn";
|
|
405
|
+
const _eRA = "executionRoleArn";
|
|
403
406
|
const _eTA = "endTimeAfter";
|
|
404
407
|
const _eTB = "endTimeBefore";
|
|
408
|
+
const _eV = "environmentVariables";
|
|
405
409
|
const _en = "endpoint";
|
|
406
410
|
const _end = "endpoints";
|
|
407
411
|
const _ende = "ended";
|
|
@@ -628,7 +632,14 @@ export var CreateNetworkProfileRequest = [
|
|
|
628
632
|
[0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1],
|
|
629
633
|
];
|
|
630
634
|
export var CreateNetworkProfileResult = [3, n0, _CNPRr, 0, [_nP], [() => NetworkProfile]];
|
|
631
|
-
export var CreateProjectRequest = [
|
|
635
|
+
export var CreateProjectRequest = [
|
|
636
|
+
3,
|
|
637
|
+
n0,
|
|
638
|
+
_CPR,
|
|
639
|
+
0,
|
|
640
|
+
[_n, _dJTM, _vC, _eV, _eRA],
|
|
641
|
+
[0, 1, () => VpcConfig, () => EnvironmentVariables, 0],
|
|
642
|
+
];
|
|
632
643
|
export var CreateProjectResult = [3, n0, _CPRr, 0, [_pr], [() => Project]];
|
|
633
644
|
export var CreateRemoteAccessSessionConfiguration = [
|
|
634
645
|
3,
|
|
@@ -746,6 +757,7 @@ export var DeviceSelectionResult = [
|
|
|
746
757
|
[_fi, _mDC, _mD],
|
|
747
758
|
[() => DeviceFilters, 1, 1],
|
|
748
759
|
];
|
|
760
|
+
export var EnvironmentVariable = [3, n0, _EV, 0, [_n, _va], [0, 0]];
|
|
749
761
|
export var ExecutionConfiguration = [
|
|
750
762
|
3,
|
|
751
763
|
n0,
|
|
@@ -1087,7 +1099,14 @@ export var Problem = [
|
|
|
1087
1099
|
[() => ProblemDetail, () => ProblemDetail, () => ProblemDetail, () => ProblemDetail, () => Device, 0, 0],
|
|
1088
1100
|
];
|
|
1089
1101
|
export var ProblemDetail = [3, n0, _PD, 0, [_a, _n], [0, 0]];
|
|
1090
|
-
export var Project = [
|
|
1102
|
+
export var Project = [
|
|
1103
|
+
3,
|
|
1104
|
+
n0,
|
|
1105
|
+
_Pr,
|
|
1106
|
+
0,
|
|
1107
|
+
[_a, _n, _dJTM, _cr, _vC, _eV, _eRA],
|
|
1108
|
+
[0, 0, 1, 4, () => VpcConfig, () => EnvironmentVariables, 0],
|
|
1109
|
+
];
|
|
1091
1110
|
export var PurchaseOfferingRequest = [3, n0, _POR, 0, [_oI, _q, _oPI], [0, 1, 0]];
|
|
1092
1111
|
export var PurchaseOfferingResult = [3, n0, _PORu, 0, [_oTf], [() => OfferingTransaction]];
|
|
1093
1112
|
export var Radios = [3, n0, _R, 0, [_wi, _b, _nf, _g], [2, 2, 2, 2]];
|
|
@@ -1175,6 +1194,8 @@ export var Run = [
|
|
|
1175
1194
|
_tSA,
|
|
1176
1195
|
_dSR,
|
|
1177
1196
|
_vC,
|
|
1197
|
+
_eRA,
|
|
1198
|
+
_eV,
|
|
1178
1199
|
],
|
|
1179
1200
|
[
|
|
1180
1201
|
0,
|
|
@@ -1210,6 +1231,8 @@ export var Run = [
|
|
|
1210
1231
|
0,
|
|
1211
1232
|
() => DeviceSelectionResult,
|
|
1212
1233
|
() => VpcConfig,
|
|
1234
|
+
0,
|
|
1235
|
+
() => EnvironmentVariables,
|
|
1213
1236
|
],
|
|
1214
1237
|
];
|
|
1215
1238
|
export var Sample = [3, n0, _S, 0, [_a, _t, _u], [0, 0, 0]];
|
|
@@ -1218,8 +1241,21 @@ export var ScheduleRunConfiguration = [
|
|
|
1218
1241
|
n0,
|
|
1219
1242
|
_SRC,
|
|
1220
1243
|
0,
|
|
1221
|
-
[_eDPA, _nPA, _loc, _loca, _vCA, _dPe, _cAP, _rad, _aA, _bM],
|
|
1222
|
-
[
|
|
1244
|
+
[_eDPA, _nPA, _loc, _loca, _vCA, _dPe, _cAP, _rad, _aA, _bM, _eV, _eRA],
|
|
1245
|
+
[
|
|
1246
|
+
0,
|
|
1247
|
+
0,
|
|
1248
|
+
0,
|
|
1249
|
+
() => Location,
|
|
1250
|
+
64 | 0,
|
|
1251
|
+
() => DeviceProxy,
|
|
1252
|
+
() => CustomerArtifactPaths,
|
|
1253
|
+
() => Radios,
|
|
1254
|
+
64 | 0,
|
|
1255
|
+
0,
|
|
1256
|
+
() => EnvironmentVariables,
|
|
1257
|
+
0,
|
|
1258
|
+
],
|
|
1223
1259
|
];
|
|
1224
1260
|
export var ScheduleRunRequest = [
|
|
1225
1261
|
3,
|
|
@@ -1397,8 +1433,8 @@ export var UpdateProjectRequest = [
|
|
|
1397
1433
|
n0,
|
|
1398
1434
|
_UPR,
|
|
1399
1435
|
0,
|
|
1400
|
-
[_a, _n, _dJTM, _vC],
|
|
1401
|
-
[0, 0, 1, () => VpcConfig],
|
|
1436
|
+
[_a, _n, _dJTM, _vC, _eV, _eRA],
|
|
1437
|
+
[0, 0, 1, () => VpcConfig, () => EnvironmentVariables, 0],
|
|
1402
1438
|
];
|
|
1403
1439
|
export var UpdateProjectResult = [3, n0, _UPRp, 0, [_pr], [() => Project]];
|
|
1404
1440
|
export var UpdateTestGridProjectRequest = [
|
|
@@ -1452,6 +1488,7 @@ export var DeviceInstances = [1, n0, _DIe, 0, () => DeviceInstance];
|
|
|
1452
1488
|
export var DevicePoolCompatibilityResults = [1, n0, _DPCRe, 0, () => DevicePoolCompatibilityResult];
|
|
1453
1489
|
export var DevicePools = [1, n0, _DPev, 0, () => DevicePool];
|
|
1454
1490
|
export var Devices = [1, n0, _De, 0, () => Device];
|
|
1491
|
+
export var EnvironmentVariables = [1, n0, _EVn, 0, () => EnvironmentVariable];
|
|
1455
1492
|
export var IncompatibilityMessages = [1, n0, _IMn, 0, () => IncompatibilityMessage];
|
|
1456
1493
|
export var InstanceLabels = 64 | 0;
|
|
1457
1494
|
export var InstanceProfiles = [1, n0, _IPn, 0, () => InstanceProfile];
|
|
@@ -48,6 +48,13 @@ declare const CreateProjectCommand_base: {
|
|
|
48
48
|
* ],
|
|
49
49
|
* vpcId: "STRING_VALUE", // required
|
|
50
50
|
* },
|
|
51
|
+
* environmentVariables: [ // EnvironmentVariables
|
|
52
|
+
* { // EnvironmentVariable
|
|
53
|
+
* name: "STRING_VALUE", // required
|
|
54
|
+
* value: "STRING_VALUE", // required
|
|
55
|
+
* },
|
|
56
|
+
* ],
|
|
57
|
+
* executionRoleArn: "STRING_VALUE",
|
|
51
58
|
* };
|
|
52
59
|
* const command = new CreateProjectCommand(input);
|
|
53
60
|
* const response = await client.send(command);
|
|
@@ -66,6 +73,13 @@ declare const CreateProjectCommand_base: {
|
|
|
66
73
|
* // ],
|
|
67
74
|
* // vpcId: "STRING_VALUE", // required
|
|
68
75
|
* // },
|
|
76
|
+
* // environmentVariables: [ // EnvironmentVariables
|
|
77
|
+
* // { // EnvironmentVariable
|
|
78
|
+
* // name: "STRING_VALUE", // required
|
|
79
|
+
* // value: "STRING_VALUE", // required
|
|
80
|
+
* // },
|
|
81
|
+
* // ],
|
|
82
|
+
* // executionRoleArn: "STRING_VALUE",
|
|
69
83
|
* // },
|
|
70
84
|
* // };
|
|
71
85
|
*
|
|
@@ -85,6 +85,13 @@ declare const GetDevicePoolCompatibilityCommand_base: {
|
|
|
85
85
|
* "STRING_VALUE",
|
|
86
86
|
* ],
|
|
87
87
|
* billingMethod: "METERED" || "UNMETERED",
|
|
88
|
+
* environmentVariables: [ // EnvironmentVariables
|
|
89
|
+
* { // EnvironmentVariable
|
|
90
|
+
* name: "STRING_VALUE", // required
|
|
91
|
+
* value: "STRING_VALUE", // required
|
|
92
|
+
* },
|
|
93
|
+
* ],
|
|
94
|
+
* executionRoleArn: "STRING_VALUE",
|
|
88
95
|
* },
|
|
89
96
|
* projectArn: "STRING_VALUE",
|
|
90
97
|
* };
|
|
@@ -56,6 +56,13 @@ declare const GetProjectCommand_base: {
|
|
|
56
56
|
* // ],
|
|
57
57
|
* // vpcId: "STRING_VALUE", // required
|
|
58
58
|
* // },
|
|
59
|
+
* // environmentVariables: [ // EnvironmentVariables
|
|
60
|
+
* // { // EnvironmentVariable
|
|
61
|
+
* // name: "STRING_VALUE", // required
|
|
62
|
+
* // value: "STRING_VALUE", // required
|
|
63
|
+
* // },
|
|
64
|
+
* // ],
|
|
65
|
+
* // executionRoleArn: "STRING_VALUE",
|
|
59
66
|
* // },
|
|
60
67
|
* // };
|
|
61
68
|
*
|
|
@@ -142,6 +142,13 @@ declare const GetRunCommand_base: {
|
|
|
142
142
|
* // ],
|
|
143
143
|
* // vpcId: "STRING_VALUE", // required
|
|
144
144
|
* // },
|
|
145
|
+
* // executionRoleArn: "STRING_VALUE",
|
|
146
|
+
* // environmentVariables: [ // EnvironmentVariables
|
|
147
|
+
* // { // EnvironmentVariable
|
|
148
|
+
* // name: "STRING_VALUE", // required
|
|
149
|
+
* // value: "STRING_VALUE", // required
|
|
150
|
+
* // },
|
|
151
|
+
* // ],
|
|
145
152
|
* // },
|
|
146
153
|
* // };
|
|
147
154
|
*
|
|
@@ -58,6 +58,13 @@ declare const ListProjectsCommand_base: {
|
|
|
58
58
|
* // ],
|
|
59
59
|
* // vpcId: "STRING_VALUE", // required
|
|
60
60
|
* // },
|
|
61
|
+
* // environmentVariables: [ // EnvironmentVariables
|
|
62
|
+
* // { // EnvironmentVariable
|
|
63
|
+
* // name: "STRING_VALUE", // required
|
|
64
|
+
* // value: "STRING_VALUE", // required
|
|
65
|
+
* // },
|
|
66
|
+
* // ],
|
|
67
|
+
* // executionRoleArn: "STRING_VALUE",
|
|
61
68
|
* // },
|
|
62
69
|
* // ],
|
|
63
70
|
* // nextToken: "STRING_VALUE",
|
|
@@ -144,6 +144,13 @@ declare const ListRunsCommand_base: {
|
|
|
144
144
|
* // ],
|
|
145
145
|
* // vpcId: "STRING_VALUE", // required
|
|
146
146
|
* // },
|
|
147
|
+
* // executionRoleArn: "STRING_VALUE",
|
|
148
|
+
* // environmentVariables: [ // EnvironmentVariables
|
|
149
|
+
* // { // EnvironmentVariable
|
|
150
|
+
* // name: "STRING_VALUE", // required
|
|
151
|
+
* // value: "STRING_VALUE", // required
|
|
152
|
+
* // },
|
|
153
|
+
* // ],
|
|
147
154
|
* // },
|
|
148
155
|
* // ],
|
|
149
156
|
* // nextToken: "STRING_VALUE",
|
|
@@ -98,6 +98,13 @@ declare const ScheduleRunCommand_base: {
|
|
|
98
98
|
* "STRING_VALUE",
|
|
99
99
|
* ],
|
|
100
100
|
* billingMethod: "METERED" || "UNMETERED",
|
|
101
|
+
* environmentVariables: [ // EnvironmentVariables
|
|
102
|
+
* { // EnvironmentVariable
|
|
103
|
+
* name: "STRING_VALUE", // required
|
|
104
|
+
* value: "STRING_VALUE", // required
|
|
105
|
+
* },
|
|
106
|
+
* ],
|
|
107
|
+
* executionRoleArn: "STRING_VALUE",
|
|
101
108
|
* },
|
|
102
109
|
* executionConfiguration: { // ExecutionConfiguration
|
|
103
110
|
* jobTimeoutMinutes: Number("int"),
|
|
@@ -210,6 +217,13 @@ declare const ScheduleRunCommand_base: {
|
|
|
210
217
|
* // ],
|
|
211
218
|
* // vpcId: "STRING_VALUE", // required
|
|
212
219
|
* // },
|
|
220
|
+
* // executionRoleArn: "STRING_VALUE",
|
|
221
|
+
* // environmentVariables: [ // EnvironmentVariables
|
|
222
|
+
* // { // EnvironmentVariable
|
|
223
|
+
* // name: "STRING_VALUE", // required
|
|
224
|
+
* // value: "STRING_VALUE", // required
|
|
225
|
+
* // },
|
|
226
|
+
* // ],
|
|
213
227
|
* // },
|
|
214
228
|
* // };
|
|
215
229
|
*
|
|
@@ -145,6 +145,13 @@ declare const StopRunCommand_base: {
|
|
|
145
145
|
* // ],
|
|
146
146
|
* // vpcId: "STRING_VALUE", // required
|
|
147
147
|
* // },
|
|
148
|
+
* // executionRoleArn: "STRING_VALUE",
|
|
149
|
+
* // environmentVariables: [ // EnvironmentVariables
|
|
150
|
+
* // { // EnvironmentVariable
|
|
151
|
+
* // name: "STRING_VALUE", // required
|
|
152
|
+
* // value: "STRING_VALUE", // required
|
|
153
|
+
* // },
|
|
154
|
+
* // ],
|
|
148
155
|
* // },
|
|
149
156
|
* // };
|
|
150
157
|
*
|
|
@@ -50,6 +50,13 @@ declare const UpdateProjectCommand_base: {
|
|
|
50
50
|
* ],
|
|
51
51
|
* vpcId: "STRING_VALUE", // required
|
|
52
52
|
* },
|
|
53
|
+
* environmentVariables: [ // EnvironmentVariables
|
|
54
|
+
* { // EnvironmentVariable
|
|
55
|
+
* name: "STRING_VALUE", // required
|
|
56
|
+
* value: "STRING_VALUE", // required
|
|
57
|
+
* },
|
|
58
|
+
* ],
|
|
59
|
+
* executionRoleArn: "STRING_VALUE",
|
|
53
60
|
* };
|
|
54
61
|
* const command = new UpdateProjectCommand(input);
|
|
55
62
|
* const response = await client.send(command);
|
|
@@ -68,6 +75,13 @@ declare const UpdateProjectCommand_base: {
|
|
|
68
75
|
* // ],
|
|
69
76
|
* // vpcId: "STRING_VALUE", // required
|
|
70
77
|
* // },
|
|
78
|
+
* // environmentVariables: [ // EnvironmentVariables
|
|
79
|
+
* // { // EnvironmentVariable
|
|
80
|
+
* // name: "STRING_VALUE", // required
|
|
81
|
+
* // value: "STRING_VALUE", // required
|
|
82
|
+
* // },
|
|
83
|
+
* // ],
|
|
84
|
+
* // executionRoleArn: "STRING_VALUE",
|
|
71
85
|
* // },
|
|
72
86
|
* // };
|
|
73
87
|
*
|
|
@@ -697,6 +697,22 @@ export interface CreateNetworkProfileResult {
|
|
|
697
697
|
*/
|
|
698
698
|
networkProfile?: NetworkProfile | undefined;
|
|
699
699
|
}
|
|
700
|
+
/**
|
|
701
|
+
* <p>Information about an environment variable for a project or a run.</p>
|
|
702
|
+
* @public
|
|
703
|
+
*/
|
|
704
|
+
export interface EnvironmentVariable {
|
|
705
|
+
/**
|
|
706
|
+
* <p>The name of the environment variable.</p>
|
|
707
|
+
* @public
|
|
708
|
+
*/
|
|
709
|
+
name: string | undefined;
|
|
710
|
+
/**
|
|
711
|
+
* <p>The value of the environment variable.</p>
|
|
712
|
+
* @public
|
|
713
|
+
*/
|
|
714
|
+
value: string | undefined;
|
|
715
|
+
}
|
|
700
716
|
/**
|
|
701
717
|
* <p>Contains the VPC configuration data necessary to interface with AWS Device Farm's services.</p>
|
|
702
718
|
* @public
|
|
@@ -739,6 +755,24 @@ export interface CreateProjectRequest {
|
|
|
739
755
|
* @public
|
|
740
756
|
*/
|
|
741
757
|
vpcConfig?: VpcConfig | undefined;
|
|
758
|
+
/**
|
|
759
|
+
* <p>
|
|
760
|
+
* A set of environment variables which are used by default for all runs in the project.
|
|
761
|
+
* These environment variables are applied to the test run during the execution of a test spec file.
|
|
762
|
+
* </p>
|
|
763
|
+
* <p>
|
|
764
|
+
* For more information about using test spec files, please see
|
|
765
|
+
* <a href="https://docs.aws.amazon.com/devicefarm/latest/developerguide/custom-test-environments.html">Custom test environments </a> in <i>AWS Device
|
|
766
|
+
* Farm.</i>
|
|
767
|
+
* </p>
|
|
768
|
+
* @public
|
|
769
|
+
*/
|
|
770
|
+
environmentVariables?: EnvironmentVariable[] | undefined;
|
|
771
|
+
/**
|
|
772
|
+
* <p>An IAM role to be assumed by the test host for all runs in the project.</p>
|
|
773
|
+
* @public
|
|
774
|
+
*/
|
|
775
|
+
executionRoleArn?: string | undefined;
|
|
742
776
|
}
|
|
743
777
|
/**
|
|
744
778
|
* <p>Represents an operating-system neutral workspace for running and managing
|
|
@@ -772,6 +806,16 @@ export interface Project {
|
|
|
772
806
|
* @public
|
|
773
807
|
*/
|
|
774
808
|
vpcConfig?: VpcConfig | undefined;
|
|
809
|
+
/**
|
|
810
|
+
* <p>Environment variables associated with the project.</p>
|
|
811
|
+
* @public
|
|
812
|
+
*/
|
|
813
|
+
environmentVariables?: EnvironmentVariable[] | undefined;
|
|
814
|
+
/**
|
|
815
|
+
* <p>The IAM execution role associated with the project.</p>
|
|
816
|
+
* @public
|
|
817
|
+
*/
|
|
818
|
+
executionRoleArn?: string | undefined;
|
|
775
819
|
}
|
|
776
820
|
/**
|
|
777
821
|
* <p>Represents the result of a create project request.</p>
|
|
@@ -2151,6 +2195,16 @@ export interface ScheduleRunConfiguration {
|
|
|
2151
2195
|
* @public
|
|
2152
2196
|
*/
|
|
2153
2197
|
billingMethod?: BillingMethod | undefined;
|
|
2198
|
+
/**
|
|
2199
|
+
* <p>Environment variables associated with the run.</p>
|
|
2200
|
+
* @public
|
|
2201
|
+
*/
|
|
2202
|
+
environmentVariables?: EnvironmentVariable[] | undefined;
|
|
2203
|
+
/**
|
|
2204
|
+
* <p>An IAM role to be assumed by the test host for the run.</p>
|
|
2205
|
+
* @public
|
|
2206
|
+
*/
|
|
2207
|
+
executionRoleArn?: string | undefined;
|
|
2154
2208
|
}
|
|
2155
2209
|
/**
|
|
2156
2210
|
* <p>Represents test settings. This data structure is passed in as the test parameter to ScheduleRun. For an
|
|
@@ -3361,6 +3415,16 @@ export interface Run {
|
|
|
3361
3415
|
* @public
|
|
3362
3416
|
*/
|
|
3363
3417
|
vpcConfig?: VpcConfig | undefined;
|
|
3418
|
+
/**
|
|
3419
|
+
* <p>The IAM role associated with the run.</p>
|
|
3420
|
+
* @public
|
|
3421
|
+
*/
|
|
3422
|
+
executionRoleArn?: string | undefined;
|
|
3423
|
+
/**
|
|
3424
|
+
* <p>Environment variables associated with the run.</p>
|
|
3425
|
+
* @public
|
|
3426
|
+
*/
|
|
3427
|
+
environmentVariables?: EnvironmentVariable[] | undefined;
|
|
3364
3428
|
}
|
|
3365
3429
|
/**
|
|
3366
3430
|
* <p>Represents the result of a get run request.</p>
|
|
@@ -4670,7 +4734,7 @@ export interface ListSuitesResult {
|
|
|
4670
4734
|
export interface ListTagsForResourceRequest {
|
|
4671
4735
|
/**
|
|
4672
4736
|
* <p>The Amazon Resource Name (ARN) of the resource or resources for which to list tags. You can associate tags
|
|
4673
|
-
* with the following Device Farm resources: <code>PROJECT</code>, <code>RUN</code>,
|
|
4737
|
+
* with the following Device Farm resources: <code>PROJECT</code>, <code>TESTGRID_PROJECT</code>, <code>RUN</code>,
|
|
4674
4738
|
* <code>NETWORK_PROFILE</code>, <code>INSTANCE_PROFILE</code>, <code>DEVICE_INSTANCE</code>,
|
|
4675
4739
|
* <code>SESSION</code>, <code>DEVICE_POOL</code>, <code>DEVICE</code>, and
|
|
4676
4740
|
* <code>VPCE_CONFIGURATION</code>.</p>
|
|
@@ -5656,7 +5720,7 @@ export interface StopRunResult {
|
|
|
5656
5720
|
export interface TagResourceRequest {
|
|
5657
5721
|
/**
|
|
5658
5722
|
* <p>The Amazon Resource Name (ARN) of the resource or resources to which to add tags. You can associate tags
|
|
5659
|
-
* with the following Device Farm resources: <code>PROJECT</code>, <code>RUN</code>,
|
|
5723
|
+
* with the following Device Farm resources: <code>PROJECT</code>, <code>TESTGRID_PROJECT</code>, <code>RUN</code>,
|
|
5660
5724
|
* <code>NETWORK_PROFILE</code>, <code>INSTANCE_PROFILE</code>, <code>DEVICE_INSTANCE</code>,
|
|
5661
5725
|
* <code>SESSION</code>, <code>DEVICE_POOL</code>, <code>DEVICE</code>, and
|
|
5662
5726
|
* <code>VPCE_CONFIGURATION</code>.</p>
|
|
@@ -5681,7 +5745,7 @@ export interface TagResourceResponse {
|
|
|
5681
5745
|
export interface UntagResourceRequest {
|
|
5682
5746
|
/**
|
|
5683
5747
|
* <p>The Amazon Resource Name (ARN) of the resource or resources from which to delete tags. You can associate
|
|
5684
|
-
* tags with the following Device Farm resources: <code>PROJECT</code>, <code>RUN</code>,
|
|
5748
|
+
* tags with the following Device Farm resources: <code>PROJECT</code>, <code>TESTGRID_PROJECT</code>, <code>RUN</code>,
|
|
5685
5749
|
* <code>NETWORK_PROFILE</code>, <code>INSTANCE_PROFILE</code>, <code>DEVICE_INSTANCE</code>,
|
|
5686
5750
|
* <code>SESSION</code>, <code>DEVICE_POOL</code>, <code>DEVICE</code>, and
|
|
5687
5751
|
* <code>VPCE_CONFIGURATION</code>.</p>
|
|
@@ -5949,6 +6013,24 @@ export interface UpdateProjectRequest {
|
|
|
5949
6013
|
* @public
|
|
5950
6014
|
*/
|
|
5951
6015
|
vpcConfig?: VpcConfig | undefined;
|
|
6016
|
+
/**
|
|
6017
|
+
* <p>
|
|
6018
|
+
* A set of environment variables which are used by default for all runs in the project.
|
|
6019
|
+
* These environment variables are applied to the test run during the execution of a test spec file.
|
|
6020
|
+
* </p>
|
|
6021
|
+
* <p>
|
|
6022
|
+
* For more information about using test spec files, please see
|
|
6023
|
+
* <a href="https://docs.aws.amazon.com/devicefarm/latest/developerguide/custom-test-environments.html">Custom test environments </a> in <i>AWS Device
|
|
6024
|
+
* Farm.</i>
|
|
6025
|
+
* </p>
|
|
6026
|
+
* @public
|
|
6027
|
+
*/
|
|
6028
|
+
environmentVariables?: EnvironmentVariable[] | undefined;
|
|
6029
|
+
/**
|
|
6030
|
+
* <p>An IAM role to be assumed by the test host for all runs in the project.</p>
|
|
6031
|
+
* @public
|
|
6032
|
+
*/
|
|
6033
|
+
executionRoleArn?: string | undefined;
|
|
5952
6034
|
}
|
|
5953
6035
|
/**
|
|
5954
6036
|
* <p>Represents the result of an update project request.</p>
|
|
@@ -54,6 +54,7 @@ export declare var DevicePoolCompatibilityResult: StaticStructureSchema;
|
|
|
54
54
|
export declare var DeviceProxy: StaticStructureSchema;
|
|
55
55
|
export declare var DeviceSelectionConfiguration: StaticStructureSchema;
|
|
56
56
|
export declare var DeviceSelectionResult: StaticStructureSchema;
|
|
57
|
+
export declare var EnvironmentVariable: StaticStructureSchema;
|
|
57
58
|
export declare var ExecutionConfiguration: StaticStructureSchema;
|
|
58
59
|
export declare var GetAccountSettingsRequest: StaticStructureSchema;
|
|
59
60
|
export declare var GetAccountSettingsResult: StaticStructureSchema;
|
|
@@ -232,6 +233,7 @@ export declare var DeviceInstances: StaticListSchema;
|
|
|
232
233
|
export declare var DevicePoolCompatibilityResults: StaticListSchema;
|
|
233
234
|
export declare var DevicePools: StaticListSchema;
|
|
234
235
|
export declare var Devices: StaticListSchema;
|
|
236
|
+
export declare var EnvironmentVariables: StaticListSchema;
|
|
235
237
|
export declare var IncompatibilityMessages: StaticListSchema;
|
|
236
238
|
export declare var InstanceLabels: number;
|
|
237
239
|
export declare var InstanceProfiles: StaticListSchema;
|
|
@@ -137,6 +137,10 @@ export interface NetworkProfile {
|
|
|
137
137
|
export interface CreateNetworkProfileResult {
|
|
138
138
|
networkProfile?: NetworkProfile | undefined;
|
|
139
139
|
}
|
|
140
|
+
export interface EnvironmentVariable {
|
|
141
|
+
name: string | undefined;
|
|
142
|
+
value: string | undefined;
|
|
143
|
+
}
|
|
140
144
|
export interface VpcConfig {
|
|
141
145
|
securityGroupIds: string[] | undefined;
|
|
142
146
|
subnetIds: string[] | undefined;
|
|
@@ -146,6 +150,8 @@ export interface CreateProjectRequest {
|
|
|
146
150
|
name: string | undefined;
|
|
147
151
|
defaultJobTimeoutMinutes?: number | undefined;
|
|
148
152
|
vpcConfig?: VpcConfig | undefined;
|
|
153
|
+
environmentVariables?: EnvironmentVariable[] | undefined;
|
|
154
|
+
executionRoleArn?: string | undefined;
|
|
149
155
|
}
|
|
150
156
|
export interface Project {
|
|
151
157
|
arn?: string | undefined;
|
|
@@ -153,6 +159,8 @@ export interface Project {
|
|
|
153
159
|
defaultJobTimeoutMinutes?: number | undefined;
|
|
154
160
|
created?: Date | undefined;
|
|
155
161
|
vpcConfig?: VpcConfig | undefined;
|
|
162
|
+
environmentVariables?: EnvironmentVariable[] | undefined;
|
|
163
|
+
executionRoleArn?: string | undefined;
|
|
156
164
|
}
|
|
157
165
|
export interface CreateProjectResult {
|
|
158
166
|
project?: Project | undefined;
|
|
@@ -395,6 +403,8 @@ export interface ScheduleRunConfiguration {
|
|
|
395
403
|
radios?: Radios | undefined;
|
|
396
404
|
auxiliaryApps?: string[] | undefined;
|
|
397
405
|
billingMethod?: BillingMethod | undefined;
|
|
406
|
+
environmentVariables?: EnvironmentVariable[] | undefined;
|
|
407
|
+
executionRoleArn?: string | undefined;
|
|
398
408
|
}
|
|
399
409
|
export interface ScheduleRunTest {
|
|
400
410
|
type: TestType | undefined;
|
|
@@ -547,6 +557,8 @@ export interface Run {
|
|
|
547
557
|
testSpecArn?: string | undefined;
|
|
548
558
|
deviceSelectionResult?: DeviceSelectionResult | undefined;
|
|
549
559
|
vpcConfig?: VpcConfig | undefined;
|
|
560
|
+
executionRoleArn?: string | undefined;
|
|
561
|
+
environmentVariables?: EnvironmentVariable[] | undefined;
|
|
550
562
|
}
|
|
551
563
|
export interface GetRunResult {
|
|
552
564
|
run?: Run | undefined;
|
|
@@ -1001,6 +1013,8 @@ export interface UpdateProjectRequest {
|
|
|
1001
1013
|
name?: string | undefined;
|
|
1002
1014
|
defaultJobTimeoutMinutes?: number | undefined;
|
|
1003
1015
|
vpcConfig?: VpcConfig | undefined;
|
|
1016
|
+
environmentVariables?: EnvironmentVariable[] | undefined;
|
|
1017
|
+
executionRoleArn?: string | undefined;
|
|
1004
1018
|
}
|
|
1005
1019
|
export interface UpdateProjectResult {
|
|
1006
1020
|
project?: Project | undefined;
|
|
@@ -61,6 +61,7 @@ export declare var DevicePoolCompatibilityResult: StaticStructureSchema;
|
|
|
61
61
|
export declare var DeviceProxy: StaticStructureSchema;
|
|
62
62
|
export declare var DeviceSelectionConfiguration: StaticStructureSchema;
|
|
63
63
|
export declare var DeviceSelectionResult: StaticStructureSchema;
|
|
64
|
+
export declare var EnvironmentVariable: StaticStructureSchema;
|
|
64
65
|
export declare var ExecutionConfiguration: StaticStructureSchema;
|
|
65
66
|
export declare var GetAccountSettingsRequest: StaticStructureSchema;
|
|
66
67
|
export declare var GetAccountSettingsResult: StaticStructureSchema;
|
|
@@ -239,6 +240,7 @@ export declare var DeviceInstances: StaticListSchema;
|
|
|
239
240
|
export declare var DevicePoolCompatibilityResults: StaticListSchema;
|
|
240
241
|
export declare var DevicePools: StaticListSchema;
|
|
241
242
|
export declare var Devices: StaticListSchema;
|
|
243
|
+
export declare var EnvironmentVariables: StaticListSchema;
|
|
242
244
|
export declare var IncompatibilityMessages: StaticListSchema;
|
|
243
245
|
export declare var InstanceLabels: number;
|
|
244
246
|
export declare var InstanceProfiles: StaticListSchema;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-device-farm",
|
|
3
3
|
"description": "AWS SDK for JavaScript Device Farm Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.937.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-device-farm",
|