@aws-sdk/client-device-farm 3.28.0 → 3.32.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/CHANGELOG.md +32 -0
- package/dist/cjs/package.json +31 -31
- package/dist/cjs/protocols/Aws_json1_1.js +112 -68
- package/dist/cjs/protocols/Aws_json1_1.js.map +1 -1
- package/dist/es/endpoints.js +1 -2
- package/dist/es/endpoints.js.map +1 -1
- package/dist/es/package.json +31 -31
- package/dist/es/protocols/Aws_json1_1.js +113 -69
- package/dist/es/protocols/Aws_json1_1.js.map +1 -1
- package/package.json +31 -31
- package/protocols/Aws_json1_1.ts +119 -70
package/dist/es/endpoints.js
CHANGED
|
@@ -47,8 +47,7 @@ var partitionHash = {
|
|
|
47
47
|
};
|
|
48
48
|
export var defaultRegionInfoProvider = function (region, options) { return __awaiter(void 0, void 0, void 0, function () {
|
|
49
49
|
return __generator(this, function (_a) {
|
|
50
|
-
return [2 /*return*/, getRegionInfo(region, __assign(__assign({}, options), { signingService: "devicefarm", regionHash: regionHash,
|
|
51
|
-
partitionHash: partitionHash }))];
|
|
50
|
+
return [2 /*return*/, getRegionInfo(region, __assign(__assign({}, options), { signingService: "devicefarm", regionHash: regionHash, partitionHash: partitionHash }))];
|
|
52
51
|
});
|
|
53
52
|
}); };
|
|
54
53
|
//# sourceMappingURL=endpoints.js.map
|
package/dist/es/endpoints.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"endpoints.js","sourceRoot":"","sources":["../../endpoints.ts"],"names":[],"mappings":";AAAA,OAAO,EAA6B,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAGpF,IAAM,UAAU,GAAe,EAAE,CAAC;AAElC,IAAM,aAAa,GAAkB;IACnC,GAAG,EAAE;QACH,OAAO,EAAE;YACP,YAAY;YACZ,WAAW;YACX,gBAAgB;YAChB,gBAAgB;YAChB,gBAAgB;YAChB,YAAY;YACZ,gBAAgB;YAChB,gBAAgB;YAChB,cAAc;YACd,cAAc;YACd,YAAY;YACZ,YAAY;YACZ,WAAW;YACX,WAAW;YACX,WAAW;YACX,YAAY;YACZ,WAAW;YACX,WAAW;YACX,WAAW;YACX,WAAW;YACX,WAAW;SACZ;QACD,QAAQ,EAAE,mCAAmC;KAC9C;IACD,QAAQ,EAAE;QACR,OAAO,EAAE,CAAC,YAAY,EAAE,gBAAgB,CAAC;QACzC,QAAQ,EAAE,sCAAsC;KACjD;IACD,SAAS,EAAE;QACT,OAAO,EAAE,CAAC,eAAe,CAAC;QAC1B,QAAQ,EAAE,gCAAgC;KAC3C;IACD,WAAW,EAAE;QACX,OAAO,EAAE,CAAC,gBAAgB,CAAC;QAC3B,QAAQ,EAAE,mCAAmC;KAC9C;IACD,YAAY,EAAE;QACZ,OAAO,EAAE,CAAC,eAAe,EAAE,eAAe,CAAC;QAC3C,QAAQ,EAAE,mCAAmC;KAC9C;CACF,CAAC;AAEF,MAAM,CAAC,IAAM,yBAAyB,GAAuB,UAAO,MAAc,EAAE,OAAa;;QAC/F,sBAAA,aAAa,CAAC,MAAM,wBACf,OAAO,KACV,cAAc,EAAE,YAAY,EAC5B,UAAU,YAAA
|
|
1
|
+
{"version":3,"file":"endpoints.js","sourceRoot":"","sources":["../../endpoints.ts"],"names":[],"mappings":";AAAA,OAAO,EAA6B,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAGpF,IAAM,UAAU,GAAe,EAAE,CAAC;AAElC,IAAM,aAAa,GAAkB;IACnC,GAAG,EAAE;QACH,OAAO,EAAE;YACP,YAAY;YACZ,WAAW;YACX,gBAAgB;YAChB,gBAAgB;YAChB,gBAAgB;YAChB,YAAY;YACZ,gBAAgB;YAChB,gBAAgB;YAChB,cAAc;YACd,cAAc;YACd,YAAY;YACZ,YAAY;YACZ,WAAW;YACX,WAAW;YACX,WAAW;YACX,YAAY;YACZ,WAAW;YACX,WAAW;YACX,WAAW;YACX,WAAW;YACX,WAAW;SACZ;QACD,QAAQ,EAAE,mCAAmC;KAC9C;IACD,QAAQ,EAAE;QACR,OAAO,EAAE,CAAC,YAAY,EAAE,gBAAgB,CAAC;QACzC,QAAQ,EAAE,sCAAsC;KACjD;IACD,SAAS,EAAE;QACT,OAAO,EAAE,CAAC,eAAe,CAAC;QAC1B,QAAQ,EAAE,gCAAgC;KAC3C;IACD,WAAW,EAAE;QACX,OAAO,EAAE,CAAC,gBAAgB,CAAC;QAC3B,QAAQ,EAAE,mCAAmC;KAC9C;IACD,YAAY,EAAE;QACZ,OAAO,EAAE,CAAC,eAAe,EAAE,eAAe,CAAC;QAC3C,QAAQ,EAAE,mCAAmC;KAC9C;CACF,CAAC;AAEF,MAAM,CAAC,IAAM,yBAAyB,GAAuB,UAAO,MAAc,EAAE,OAAa;;QAC/F,sBAAA,aAAa,CAAC,MAAM,wBACf,OAAO,KACV,cAAc,EAAE,YAAY,EAC5B,UAAU,YAAA,EACV,aAAa,eAAA,IACb,EAAA;;KAAA,CAAC"}
|
package/dist/es/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.32.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation",
|
|
7
7
|
"build-documentation": "yarn remove-documentation && typedoc ./",
|
|
@@ -27,45 +27,45 @@
|
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@aws-crypto/sha256-browser": "^1.0.0",
|
|
29
29
|
"@aws-crypto/sha256-js": "^1.0.0",
|
|
30
|
-
"@aws-sdk/client-sts": "3.
|
|
31
|
-
"@aws-sdk/config-resolver": "3.
|
|
32
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
33
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
34
|
-
"@aws-sdk/hash-node": "3.
|
|
35
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
36
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
37
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
38
|
-
"@aws-sdk/middleware-logger": "3.
|
|
39
|
-
"@aws-sdk/middleware-retry": "3.
|
|
40
|
-
"@aws-sdk/middleware-serde": "3.
|
|
41
|
-
"@aws-sdk/middleware-signing": "3.
|
|
42
|
-
"@aws-sdk/middleware-stack": "3.
|
|
43
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
44
|
-
"@aws-sdk/node-config-provider": "3.
|
|
45
|
-
"@aws-sdk/node-http-handler": "3.
|
|
46
|
-
"@aws-sdk/protocol-http": "3.
|
|
47
|
-
"@aws-sdk/smithy-client": "3.
|
|
48
|
-
"@aws-sdk/types": "3.
|
|
49
|
-
"@aws-sdk/url-parser": "3.
|
|
50
|
-
"@aws-sdk/util-base64-browser": "3.
|
|
51
|
-
"@aws-sdk/util-base64-node": "3.
|
|
52
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
53
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
54
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
55
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
56
|
-
"@aws-sdk/util-utf8-browser": "3.
|
|
57
|
-
"@aws-sdk/util-utf8-node": "3.
|
|
30
|
+
"@aws-sdk/client-sts": "3.32.0",
|
|
31
|
+
"@aws-sdk/config-resolver": "3.32.0",
|
|
32
|
+
"@aws-sdk/credential-provider-node": "3.32.0",
|
|
33
|
+
"@aws-sdk/fetch-http-handler": "3.32.0",
|
|
34
|
+
"@aws-sdk/hash-node": "3.32.0",
|
|
35
|
+
"@aws-sdk/invalid-dependency": "3.32.0",
|
|
36
|
+
"@aws-sdk/middleware-content-length": "3.32.0",
|
|
37
|
+
"@aws-sdk/middleware-host-header": "3.32.0",
|
|
38
|
+
"@aws-sdk/middleware-logger": "3.32.0",
|
|
39
|
+
"@aws-sdk/middleware-retry": "3.32.0",
|
|
40
|
+
"@aws-sdk/middleware-serde": "3.32.0",
|
|
41
|
+
"@aws-sdk/middleware-signing": "3.32.0",
|
|
42
|
+
"@aws-sdk/middleware-stack": "3.32.0",
|
|
43
|
+
"@aws-sdk/middleware-user-agent": "3.32.0",
|
|
44
|
+
"@aws-sdk/node-config-provider": "3.32.0",
|
|
45
|
+
"@aws-sdk/node-http-handler": "3.32.0",
|
|
46
|
+
"@aws-sdk/protocol-http": "3.32.0",
|
|
47
|
+
"@aws-sdk/smithy-client": "3.32.0",
|
|
48
|
+
"@aws-sdk/types": "3.32.0",
|
|
49
|
+
"@aws-sdk/url-parser": "3.32.0",
|
|
50
|
+
"@aws-sdk/util-base64-browser": "3.32.0",
|
|
51
|
+
"@aws-sdk/util-base64-node": "3.32.0",
|
|
52
|
+
"@aws-sdk/util-body-length-browser": "3.32.0",
|
|
53
|
+
"@aws-sdk/util-body-length-node": "3.32.0",
|
|
54
|
+
"@aws-sdk/util-user-agent-browser": "3.32.0",
|
|
55
|
+
"@aws-sdk/util-user-agent-node": "3.32.0",
|
|
56
|
+
"@aws-sdk/util-utf8-browser": "3.32.0",
|
|
57
|
+
"@aws-sdk/util-utf8-node": "3.32.0",
|
|
58
58
|
"tslib": "^2.3.0"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
|
-
"@aws-sdk/client-documentation-generator": "3.
|
|
61
|
+
"@aws-sdk/client-documentation-generator": "3.32.0",
|
|
62
62
|
"@types/node": "^12.7.5",
|
|
63
63
|
"downlevel-dts": "0.7.0",
|
|
64
64
|
"jest": "^26.1.0",
|
|
65
65
|
"rimraf": "^3.0.0",
|
|
66
66
|
"ts-jest": "^26.4.1",
|
|
67
67
|
"typedoc": "^0.19.2",
|
|
68
|
-
"typescript": "~4.3.
|
|
68
|
+
"typescript": "~4.3.5"
|
|
69
69
|
},
|
|
70
70
|
"engines": {
|
|
71
71
|
"node": ">=10.0.0"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { __assign, __awaiter, __generator, __read } from "tslib";
|
|
2
2
|
import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { expectBoolean as __expectBoolean,
|
|
3
|
+
import { expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, limitedParseDouble as __limitedParseDouble, parseEpochTimestamp as __parseEpochTimestamp, serializeFloat as __serializeFloat, } from "@aws-sdk/smithy-client";
|
|
4
4
|
export var serializeAws_json1_1CreateDevicePoolCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
5
5
|
var headers, body;
|
|
6
6
|
return __generator(this, function (_a) {
|
|
@@ -7586,8 +7586,8 @@ var serializeAws_json1_1UpdateVPCEConfigurationRequest = function (input, contex
|
|
|
7586
7586
|
var deserializeAws_json1_1AccountSettings = function (output, context) {
|
|
7587
7587
|
return {
|
|
7588
7588
|
awsAccountNumber: __expectString(output.awsAccountNumber),
|
|
7589
|
-
defaultJobTimeoutMinutes:
|
|
7590
|
-
maxJobTimeoutMinutes:
|
|
7589
|
+
defaultJobTimeoutMinutes: __expectInt32(output.defaultJobTimeoutMinutes),
|
|
7590
|
+
maxJobTimeoutMinutes: __expectInt32(output.maxJobTimeoutMinutes),
|
|
7591
7591
|
maxSlots: output.maxSlots !== undefined && output.maxSlots !== null
|
|
7592
7592
|
? deserializeAws_json1_1MaxSlotMap(output.maxSlots, context)
|
|
7593
7593
|
: undefined,
|
|
@@ -7644,19 +7644,19 @@ var deserializeAws_json1_1CannotDeleteException = function (output, context) {
|
|
|
7644
7644
|
};
|
|
7645
7645
|
var deserializeAws_json1_1Counters = function (output, context) {
|
|
7646
7646
|
return {
|
|
7647
|
-
errored:
|
|
7648
|
-
failed:
|
|
7649
|
-
passed:
|
|
7650
|
-
skipped:
|
|
7651
|
-
stopped:
|
|
7652
|
-
total:
|
|
7653
|
-
warned:
|
|
7647
|
+
errored: __expectInt32(output.errored),
|
|
7648
|
+
failed: __expectInt32(output.failed),
|
|
7649
|
+
passed: __expectInt32(output.passed),
|
|
7650
|
+
skipped: __expectInt32(output.skipped),
|
|
7651
|
+
stopped: __expectInt32(output.stopped),
|
|
7652
|
+
total: __expectInt32(output.total),
|
|
7653
|
+
warned: __expectInt32(output.warned),
|
|
7654
7654
|
};
|
|
7655
7655
|
};
|
|
7656
7656
|
var deserializeAws_json1_1CPU = function (output, context) {
|
|
7657
7657
|
return {
|
|
7658
7658
|
architecture: __expectString(output.architecture),
|
|
7659
|
-
clock:
|
|
7659
|
+
clock: __limitedParseDouble(output.clock),
|
|
7660
7660
|
frequency: __expectString(output.frequency),
|
|
7661
7661
|
};
|
|
7662
7662
|
};
|
|
@@ -7704,7 +7704,9 @@ var deserializeAws_json1_1CreateTestGridProjectResult = function (output, contex
|
|
|
7704
7704
|
};
|
|
7705
7705
|
var deserializeAws_json1_1CreateTestGridUrlResult = function (output, context) {
|
|
7706
7706
|
return {
|
|
7707
|
-
expires: output.expires !== undefined && output.expires !== null
|
|
7707
|
+
expires: output.expires !== undefined && output.expires !== null
|
|
7708
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.expires)))
|
|
7709
|
+
: undefined,
|
|
7708
7710
|
url: __expectString(output.url),
|
|
7709
7711
|
};
|
|
7710
7712
|
};
|
|
@@ -7771,13 +7773,13 @@ var deserializeAws_json1_1Device = function (output, context) {
|
|
|
7771
7773
|
fleetName: __expectString(output.fleetName),
|
|
7772
7774
|
fleetType: __expectString(output.fleetType),
|
|
7773
7775
|
formFactor: __expectString(output.formFactor),
|
|
7774
|
-
heapSize:
|
|
7776
|
+
heapSize: __expectLong(output.heapSize),
|
|
7775
7777
|
image: __expectString(output.image),
|
|
7776
7778
|
instances: output.instances !== undefined && output.instances !== null
|
|
7777
7779
|
? deserializeAws_json1_1DeviceInstances(output.instances, context)
|
|
7778
7780
|
: undefined,
|
|
7779
7781
|
manufacturer: __expectString(output.manufacturer),
|
|
7780
|
-
memory:
|
|
7782
|
+
memory: __expectLong(output.memory),
|
|
7781
7783
|
model: __expectString(output.model),
|
|
7782
7784
|
modelId: __expectString(output.modelId),
|
|
7783
7785
|
name: __expectString(output.name),
|
|
@@ -7856,16 +7858,16 @@ var deserializeAws_json1_1DeviceInstances = function (output, context) {
|
|
|
7856
7858
|
};
|
|
7857
7859
|
var deserializeAws_json1_1DeviceMinutes = function (output, context) {
|
|
7858
7860
|
return {
|
|
7859
|
-
metered:
|
|
7860
|
-
total:
|
|
7861
|
-
unmetered:
|
|
7861
|
+
metered: __limitedParseDouble(output.metered),
|
|
7862
|
+
total: __limitedParseDouble(output.total),
|
|
7863
|
+
unmetered: __limitedParseDouble(output.unmetered),
|
|
7862
7864
|
};
|
|
7863
7865
|
};
|
|
7864
7866
|
var deserializeAws_json1_1DevicePool = function (output, context) {
|
|
7865
7867
|
return {
|
|
7866
7868
|
arn: __expectString(output.arn),
|
|
7867
7869
|
description: __expectString(output.description),
|
|
7868
|
-
maxDevices:
|
|
7870
|
+
maxDevices: __expectInt32(output.maxDevices),
|
|
7869
7871
|
name: __expectString(output.name),
|
|
7870
7872
|
rules: output.rules !== undefined && output.rules !== null
|
|
7871
7873
|
? deserializeAws_json1_1Rules(output.rules, context)
|
|
@@ -7919,8 +7921,8 @@ var deserializeAws_json1_1DeviceSelectionResult = function (output, context) {
|
|
|
7919
7921
|
filters: output.filters !== undefined && output.filters !== null
|
|
7920
7922
|
? deserializeAws_json1_1DeviceFilters(output.filters, context)
|
|
7921
7923
|
: undefined,
|
|
7922
|
-
matchedDevicesCount:
|
|
7923
|
-
maxDevices:
|
|
7924
|
+
matchedDevicesCount: __expectInt32(output.matchedDevicesCount),
|
|
7925
|
+
maxDevices: __expectInt32(output.maxDevices),
|
|
7924
7926
|
};
|
|
7925
7927
|
};
|
|
7926
7928
|
var deserializeAws_json1_1GetAccountSettingsResult = function (output, context) {
|
|
@@ -8136,7 +8138,9 @@ var deserializeAws_json1_1Job = function (output, context) {
|
|
|
8136
8138
|
counters: output.counters !== undefined && output.counters !== null
|
|
8137
8139
|
? deserializeAws_json1_1Counters(output.counters, context)
|
|
8138
8140
|
: undefined,
|
|
8139
|
-
created: output.created !== undefined && output.created !== null
|
|
8141
|
+
created: output.created !== undefined && output.created !== null
|
|
8142
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.created)))
|
|
8143
|
+
: undefined,
|
|
8140
8144
|
device: output.device !== undefined && output.device !== null
|
|
8141
8145
|
? deserializeAws_json1_1Device(output.device, context)
|
|
8142
8146
|
: undefined,
|
|
@@ -8147,9 +8151,13 @@ var deserializeAws_json1_1Job = function (output, context) {
|
|
|
8147
8151
|
message: __expectString(output.message),
|
|
8148
8152
|
name: __expectString(output.name),
|
|
8149
8153
|
result: __expectString(output.result),
|
|
8150
|
-
started: output.started !== undefined && output.started !== null
|
|
8154
|
+
started: output.started !== undefined && output.started !== null
|
|
8155
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.started)))
|
|
8156
|
+
: undefined,
|
|
8151
8157
|
status: __expectString(output.status),
|
|
8152
|
-
stopped: output.stopped !== undefined && output.stopped !== null
|
|
8158
|
+
stopped: output.stopped !== undefined && output.stopped !== null
|
|
8159
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.stopped)))
|
|
8160
|
+
: undefined,
|
|
8153
8161
|
type: __expectString(output.type),
|
|
8154
8162
|
videoCapture: __expectBoolean(output.videoCapture),
|
|
8155
8163
|
videoEndpoint: __expectString(output.videoEndpoint),
|
|
@@ -8359,8 +8367,8 @@ var deserializeAws_json1_1ListVPCEConfigurationsResult = function (output, conte
|
|
|
8359
8367
|
};
|
|
8360
8368
|
var deserializeAws_json1_1Location = function (output, context) {
|
|
8361
8369
|
return {
|
|
8362
|
-
latitude:
|
|
8363
|
-
longitude:
|
|
8370
|
+
latitude: __limitedParseDouble(output.latitude),
|
|
8371
|
+
longitude: __limitedParseDouble(output.longitude),
|
|
8364
8372
|
};
|
|
8365
8373
|
};
|
|
8366
8374
|
var deserializeAws_json1_1MaxSlotMap = function (output, context) {
|
|
@@ -8370,12 +8378,12 @@ var deserializeAws_json1_1MaxSlotMap = function (output, context) {
|
|
|
8370
8378
|
if (value === null) {
|
|
8371
8379
|
return acc;
|
|
8372
8380
|
}
|
|
8373
|
-
return __assign(__assign({}, acc), (_b = {}, _b[key] =
|
|
8381
|
+
return __assign(__assign({}, acc), (_b = {}, _b[key] = __expectInt32(value), _b));
|
|
8374
8382
|
}, {});
|
|
8375
8383
|
};
|
|
8376
8384
|
var deserializeAws_json1_1MonetaryAmount = function (output, context) {
|
|
8377
8385
|
return {
|
|
8378
|
-
amount:
|
|
8386
|
+
amount: __limitedParseDouble(output.amount),
|
|
8379
8387
|
currencyCode: __expectString(output.currencyCode),
|
|
8380
8388
|
};
|
|
8381
8389
|
};
|
|
@@ -8383,16 +8391,16 @@ var deserializeAws_json1_1NetworkProfile = function (output, context) {
|
|
|
8383
8391
|
return {
|
|
8384
8392
|
arn: __expectString(output.arn),
|
|
8385
8393
|
description: __expectString(output.description),
|
|
8386
|
-
downlinkBandwidthBits:
|
|
8387
|
-
downlinkDelayMs:
|
|
8388
|
-
downlinkJitterMs:
|
|
8389
|
-
downlinkLossPercent:
|
|
8394
|
+
downlinkBandwidthBits: __expectLong(output.downlinkBandwidthBits),
|
|
8395
|
+
downlinkDelayMs: __expectLong(output.downlinkDelayMs),
|
|
8396
|
+
downlinkJitterMs: __expectLong(output.downlinkJitterMs),
|
|
8397
|
+
downlinkLossPercent: __expectInt32(output.downlinkLossPercent),
|
|
8390
8398
|
name: __expectString(output.name),
|
|
8391
8399
|
type: __expectString(output.type),
|
|
8392
|
-
uplinkBandwidthBits:
|
|
8393
|
-
uplinkDelayMs:
|
|
8394
|
-
uplinkJitterMs:
|
|
8395
|
-
uplinkLossPercent:
|
|
8400
|
+
uplinkBandwidthBits: __expectLong(output.uplinkBandwidthBits),
|
|
8401
|
+
uplinkDelayMs: __expectLong(output.uplinkDelayMs),
|
|
8402
|
+
uplinkJitterMs: __expectLong(output.uplinkJitterMs),
|
|
8403
|
+
uplinkLossPercent: __expectInt32(output.uplinkLossPercent),
|
|
8396
8404
|
};
|
|
8397
8405
|
};
|
|
8398
8406
|
var deserializeAws_json1_1NetworkProfiles = function (output, context) {
|
|
@@ -8455,12 +8463,12 @@ var deserializeAws_json1_1Offerings = function (output, context) {
|
|
|
8455
8463
|
var deserializeAws_json1_1OfferingStatus = function (output, context) {
|
|
8456
8464
|
return {
|
|
8457
8465
|
effectiveOn: output.effectiveOn !== undefined && output.effectiveOn !== null
|
|
8458
|
-
?
|
|
8466
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.effectiveOn)))
|
|
8459
8467
|
: undefined,
|
|
8460
8468
|
offering: output.offering !== undefined && output.offering !== null
|
|
8461
8469
|
? deserializeAws_json1_1Offering(output.offering, context)
|
|
8462
8470
|
: undefined,
|
|
8463
|
-
quantity:
|
|
8471
|
+
quantity: __expectInt32(output.quantity),
|
|
8464
8472
|
type: __expectString(output.type),
|
|
8465
8473
|
};
|
|
8466
8474
|
};
|
|
@@ -8480,7 +8488,7 @@ var deserializeAws_json1_1OfferingTransaction = function (output, context) {
|
|
|
8480
8488
|
? deserializeAws_json1_1MonetaryAmount(output.cost, context)
|
|
8481
8489
|
: undefined,
|
|
8482
8490
|
createdOn: output.createdOn !== undefined && output.createdOn !== null
|
|
8483
|
-
?
|
|
8491
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdOn)))
|
|
8484
8492
|
: undefined,
|
|
8485
8493
|
offeringPromotionId: __expectString(output.offeringPromotionId),
|
|
8486
8494
|
offeringStatus: output.offeringStatus !== undefined && output.offeringStatus !== null
|
|
@@ -8549,8 +8557,10 @@ var deserializeAws_json1_1Problems = function (output, context) {
|
|
|
8549
8557
|
var deserializeAws_json1_1Project = function (output, context) {
|
|
8550
8558
|
return {
|
|
8551
8559
|
arn: __expectString(output.arn),
|
|
8552
|
-
created: output.created !== undefined && output.created !== null
|
|
8553
|
-
|
|
8560
|
+
created: output.created !== undefined && output.created !== null
|
|
8561
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.created)))
|
|
8562
|
+
: undefined,
|
|
8563
|
+
defaultJobTimeoutMinutes: __expectInt32(output.defaultJobTimeoutMinutes),
|
|
8554
8564
|
name: __expectString(output.name),
|
|
8555
8565
|
};
|
|
8556
8566
|
};
|
|
@@ -8571,7 +8581,7 @@ var deserializeAws_json1_1PurchasedDevicesMap = function (output, context) {
|
|
|
8571
8581
|
if (value === null) {
|
|
8572
8582
|
return acc;
|
|
8573
8583
|
}
|
|
8574
|
-
return __assign(__assign({}, acc), (_b = {}, _b[key] =
|
|
8584
|
+
return __assign(__assign({}, acc), (_b = {}, _b[key] = __expectInt32(value), _b));
|
|
8575
8585
|
}, {});
|
|
8576
8586
|
};
|
|
8577
8587
|
var deserializeAws_json1_1PurchaseOfferingResult = function (output, context) {
|
|
@@ -8612,7 +8622,9 @@ var deserializeAws_json1_1RemoteAccessSession = function (output, context) {
|
|
|
8612
8622
|
arn: __expectString(output.arn),
|
|
8613
8623
|
billingMethod: __expectString(output.billingMethod),
|
|
8614
8624
|
clientId: __expectString(output.clientId),
|
|
8615
|
-
created: output.created !== undefined && output.created !== null
|
|
8625
|
+
created: output.created !== undefined && output.created !== null
|
|
8626
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.created)))
|
|
8627
|
+
: undefined,
|
|
8616
8628
|
device: output.device !== undefined && output.device !== null
|
|
8617
8629
|
? deserializeAws_json1_1Device(output.device, context)
|
|
8618
8630
|
: undefined,
|
|
@@ -8631,9 +8643,13 @@ var deserializeAws_json1_1RemoteAccessSession = function (output, context) {
|
|
|
8631
8643
|
remoteRecordEnabled: __expectBoolean(output.remoteRecordEnabled),
|
|
8632
8644
|
result: __expectString(output.result),
|
|
8633
8645
|
skipAppResign: __expectBoolean(output.skipAppResign),
|
|
8634
|
-
started: output.started !== undefined && output.started !== null
|
|
8646
|
+
started: output.started !== undefined && output.started !== null
|
|
8647
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.started)))
|
|
8648
|
+
: undefined,
|
|
8635
8649
|
status: __expectString(output.status),
|
|
8636
|
-
stopped: output.stopped !== undefined && output.stopped !== null
|
|
8650
|
+
stopped: output.stopped !== undefined && output.stopped !== null
|
|
8651
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.stopped)))
|
|
8652
|
+
: undefined,
|
|
8637
8653
|
};
|
|
8638
8654
|
};
|
|
8639
8655
|
var deserializeAws_json1_1RemoteAccessSessions = function (output, context) {
|
|
@@ -8655,8 +8671,8 @@ var deserializeAws_json1_1RenewOfferingResult = function (output, context) {
|
|
|
8655
8671
|
};
|
|
8656
8672
|
var deserializeAws_json1_1Resolution = function (output, context) {
|
|
8657
8673
|
return {
|
|
8658
|
-
height:
|
|
8659
|
-
width:
|
|
8674
|
+
height: __expectInt32(output.height),
|
|
8675
|
+
width: __expectInt32(output.width),
|
|
8660
8676
|
};
|
|
8661
8677
|
};
|
|
8662
8678
|
var deserializeAws_json1_1Rule = function (output, context) {
|
|
@@ -8681,11 +8697,13 @@ var deserializeAws_json1_1Run = function (output, context) {
|
|
|
8681
8697
|
appUpload: __expectString(output.appUpload),
|
|
8682
8698
|
arn: __expectString(output.arn),
|
|
8683
8699
|
billingMethod: __expectString(output.billingMethod),
|
|
8684
|
-
completedJobs:
|
|
8700
|
+
completedJobs: __expectInt32(output.completedJobs),
|
|
8685
8701
|
counters: output.counters !== undefined && output.counters !== null
|
|
8686
8702
|
? deserializeAws_json1_1Counters(output.counters, context)
|
|
8687
8703
|
: undefined,
|
|
8688
|
-
created: output.created !== undefined && output.created !== null
|
|
8704
|
+
created: output.created !== undefined && output.created !== null
|
|
8705
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.created)))
|
|
8706
|
+
: undefined,
|
|
8689
8707
|
customerArtifactPaths: output.customerArtifactPaths !== undefined && output.customerArtifactPaths !== null
|
|
8690
8708
|
? deserializeAws_json1_1CustomerArtifactPaths(output.customerArtifactPaths, context)
|
|
8691
8709
|
: undefined,
|
|
@@ -8696,8 +8714,8 @@ var deserializeAws_json1_1Run = function (output, context) {
|
|
|
8696
8714
|
deviceSelectionResult: output.deviceSelectionResult !== undefined && output.deviceSelectionResult !== null
|
|
8697
8715
|
? deserializeAws_json1_1DeviceSelectionResult(output.deviceSelectionResult, context)
|
|
8698
8716
|
: undefined,
|
|
8699
|
-
eventCount:
|
|
8700
|
-
jobTimeoutMinutes:
|
|
8717
|
+
eventCount: __expectInt32(output.eventCount),
|
|
8718
|
+
jobTimeoutMinutes: __expectInt32(output.jobTimeoutMinutes),
|
|
8701
8719
|
locale: __expectString(output.locale),
|
|
8702
8720
|
location: output.location !== undefined && output.location !== null
|
|
8703
8721
|
? deserializeAws_json1_1Location(output.location, context)
|
|
@@ -8714,13 +8732,17 @@ var deserializeAws_json1_1Run = function (output, context) {
|
|
|
8714
8732
|
: undefined,
|
|
8715
8733
|
result: __expectString(output.result),
|
|
8716
8734
|
resultCode: __expectString(output.resultCode),
|
|
8717
|
-
seed:
|
|
8735
|
+
seed: __expectInt32(output.seed),
|
|
8718
8736
|
skipAppResign: __expectBoolean(output.skipAppResign),
|
|
8719
|
-
started: output.started !== undefined && output.started !== null
|
|
8737
|
+
started: output.started !== undefined && output.started !== null
|
|
8738
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.started)))
|
|
8739
|
+
: undefined,
|
|
8720
8740
|
status: __expectString(output.status),
|
|
8721
|
-
stopped: output.stopped !== undefined && output.stopped !== null
|
|
8741
|
+
stopped: output.stopped !== undefined && output.stopped !== null
|
|
8742
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.stopped)))
|
|
8743
|
+
: undefined,
|
|
8722
8744
|
testSpecArn: __expectString(output.testSpecArn),
|
|
8723
|
-
totalJobs:
|
|
8745
|
+
totalJobs: __expectInt32(output.totalJobs),
|
|
8724
8746
|
type: __expectString(output.type),
|
|
8725
8747
|
webUrl: __expectString(output.webUrl),
|
|
8726
8748
|
};
|
|
@@ -8805,16 +8827,22 @@ var deserializeAws_json1_1Suite = function (output, context) {
|
|
|
8805
8827
|
counters: output.counters !== undefined && output.counters !== null
|
|
8806
8828
|
? deserializeAws_json1_1Counters(output.counters, context)
|
|
8807
8829
|
: undefined,
|
|
8808
|
-
created: output.created !== undefined && output.created !== null
|
|
8830
|
+
created: output.created !== undefined && output.created !== null
|
|
8831
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.created)))
|
|
8832
|
+
: undefined,
|
|
8809
8833
|
deviceMinutes: output.deviceMinutes !== undefined && output.deviceMinutes !== null
|
|
8810
8834
|
? deserializeAws_json1_1DeviceMinutes(output.deviceMinutes, context)
|
|
8811
8835
|
: undefined,
|
|
8812
8836
|
message: __expectString(output.message),
|
|
8813
8837
|
name: __expectString(output.name),
|
|
8814
8838
|
result: __expectString(output.result),
|
|
8815
|
-
started: output.started !== undefined && output.started !== null
|
|
8839
|
+
started: output.started !== undefined && output.started !== null
|
|
8840
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.started)))
|
|
8841
|
+
: undefined,
|
|
8816
8842
|
status: __expectString(output.status),
|
|
8817
|
-
stopped: output.stopped !== undefined && output.stopped !== null
|
|
8843
|
+
stopped: output.stopped !== undefined && output.stopped !== null
|
|
8844
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.stopped)))
|
|
8845
|
+
: undefined,
|
|
8818
8846
|
type: __expectString(output.type),
|
|
8819
8847
|
};
|
|
8820
8848
|
};
|
|
@@ -8865,23 +8893,31 @@ var deserializeAws_json1_1Test = function (output, context) {
|
|
|
8865
8893
|
counters: output.counters !== undefined && output.counters !== null
|
|
8866
8894
|
? deserializeAws_json1_1Counters(output.counters, context)
|
|
8867
8895
|
: undefined,
|
|
8868
|
-
created: output.created !== undefined && output.created !== null
|
|
8896
|
+
created: output.created !== undefined && output.created !== null
|
|
8897
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.created)))
|
|
8898
|
+
: undefined,
|
|
8869
8899
|
deviceMinutes: output.deviceMinutes !== undefined && output.deviceMinutes !== null
|
|
8870
8900
|
? deserializeAws_json1_1DeviceMinutes(output.deviceMinutes, context)
|
|
8871
8901
|
: undefined,
|
|
8872
8902
|
message: __expectString(output.message),
|
|
8873
8903
|
name: __expectString(output.name),
|
|
8874
8904
|
result: __expectString(output.result),
|
|
8875
|
-
started: output.started !== undefined && output.started !== null
|
|
8905
|
+
started: output.started !== undefined && output.started !== null
|
|
8906
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.started)))
|
|
8907
|
+
: undefined,
|
|
8876
8908
|
status: __expectString(output.status),
|
|
8877
|
-
stopped: output.stopped !== undefined && output.stopped !== null
|
|
8909
|
+
stopped: output.stopped !== undefined && output.stopped !== null
|
|
8910
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.stopped)))
|
|
8911
|
+
: undefined,
|
|
8878
8912
|
type: __expectString(output.type),
|
|
8879
8913
|
};
|
|
8880
8914
|
};
|
|
8881
8915
|
var deserializeAws_json1_1TestGridProject = function (output, context) {
|
|
8882
8916
|
return {
|
|
8883
8917
|
arn: __expectString(output.arn),
|
|
8884
|
-
created: output.created !== undefined && output.created !== null
|
|
8918
|
+
created: output.created !== undefined && output.created !== null
|
|
8919
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.created)))
|
|
8920
|
+
: undefined,
|
|
8885
8921
|
description: __expectString(output.description),
|
|
8886
8922
|
name: __expectString(output.name),
|
|
8887
8923
|
vpcConfig: output.vpcConfig !== undefined && output.vpcConfig !== null
|
|
@@ -8902,9 +8938,13 @@ var deserializeAws_json1_1TestGridProjects = function (output, context) {
|
|
|
8902
8938
|
var deserializeAws_json1_1TestGridSession = function (output, context) {
|
|
8903
8939
|
return {
|
|
8904
8940
|
arn: __expectString(output.arn),
|
|
8905
|
-
billingMinutes:
|
|
8906
|
-
created: output.created !== undefined && output.created !== null
|
|
8907
|
-
|
|
8941
|
+
billingMinutes: __limitedParseDouble(output.billingMinutes),
|
|
8942
|
+
created: output.created !== undefined && output.created !== null
|
|
8943
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.created)))
|
|
8944
|
+
: undefined,
|
|
8945
|
+
ended: output.ended !== undefined && output.ended !== null
|
|
8946
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ended)))
|
|
8947
|
+
: undefined,
|
|
8908
8948
|
seleniumProperties: __expectString(output.seleniumProperties),
|
|
8909
8949
|
status: __expectString(output.status),
|
|
8910
8950
|
};
|
|
@@ -8912,9 +8952,11 @@ var deserializeAws_json1_1TestGridSession = function (output, context) {
|
|
|
8912
8952
|
var deserializeAws_json1_1TestGridSessionAction = function (output, context) {
|
|
8913
8953
|
return {
|
|
8914
8954
|
action: __expectString(output.action),
|
|
8915
|
-
duration:
|
|
8955
|
+
duration: __expectLong(output.duration),
|
|
8916
8956
|
requestMethod: __expectString(output.requestMethod),
|
|
8917
|
-
started: output.started !== undefined && output.started !== null
|
|
8957
|
+
started: output.started !== undefined && output.started !== null
|
|
8958
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.started)))
|
|
8959
|
+
: undefined,
|
|
8918
8960
|
statusCode: __expectString(output.statusCode),
|
|
8919
8961
|
};
|
|
8920
8962
|
};
|
|
@@ -8984,8 +9026,8 @@ var deserializeAws_json1_1TooManyTagsException = function (output, context) {
|
|
|
8984
9026
|
};
|
|
8985
9027
|
var deserializeAws_json1_1TrialMinutes = function (output, context) {
|
|
8986
9028
|
return {
|
|
8987
|
-
remaining:
|
|
8988
|
-
total:
|
|
9029
|
+
remaining: __limitedParseDouble(output.remaining),
|
|
9030
|
+
total: __limitedParseDouble(output.total),
|
|
8989
9031
|
};
|
|
8990
9032
|
};
|
|
8991
9033
|
var deserializeAws_json1_1UniqueProblem = function (output, context) {
|
|
@@ -9080,7 +9122,9 @@ var deserializeAws_json1_1Upload = function (output, context) {
|
|
|
9080
9122
|
arn: __expectString(output.arn),
|
|
9081
9123
|
category: __expectString(output.category),
|
|
9082
9124
|
contentType: __expectString(output.contentType),
|
|
9083
|
-
created: output.created !== undefined && output.created !== null
|
|
9125
|
+
created: output.created !== undefined && output.created !== null
|
|
9126
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.created)))
|
|
9127
|
+
: undefined,
|
|
9084
9128
|
message: __expectString(output.message),
|
|
9085
9129
|
metadata: __expectString(output.metadata),
|
|
9086
9130
|
name: __expectString(output.name),
|