@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/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,38 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.32.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.31.0...v3.32.0) (2021-09-17)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-device-farm
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.31.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.30.0...v3.31.0) (2021-09-11)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @aws-sdk/client-device-farm
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
# [3.30.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.29.0...v3.30.0) (2021-09-07)
|
|
23
|
+
|
|
24
|
+
**Note:** Version bump only for package @aws-sdk/client-device-farm
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
# [3.29.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.28.0...v3.29.0) (2021-09-02)
|
|
31
|
+
|
|
32
|
+
**Note:** Version bump only for package @aws-sdk/client-device-farm
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
6
38
|
# [3.28.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.27.0...v3.28.0) (2021-08-27)
|
|
7
39
|
|
|
8
40
|
|
package/dist/cjs/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"
|
|
@@ -7181,8 +7181,8 @@ const serializeAws_json1_1UpdateVPCEConfigurationRequest = (input, context) => {
|
|
|
7181
7181
|
const deserializeAws_json1_1AccountSettings = (output, context) => {
|
|
7182
7182
|
return {
|
|
7183
7183
|
awsAccountNumber: smithy_client_1.expectString(output.awsAccountNumber),
|
|
7184
|
-
defaultJobTimeoutMinutes: smithy_client_1.
|
|
7185
|
-
maxJobTimeoutMinutes: smithy_client_1.
|
|
7184
|
+
defaultJobTimeoutMinutes: smithy_client_1.expectInt32(output.defaultJobTimeoutMinutes),
|
|
7185
|
+
maxJobTimeoutMinutes: smithy_client_1.expectInt32(output.maxJobTimeoutMinutes),
|
|
7186
7186
|
maxSlots: output.maxSlots !== undefined && output.maxSlots !== null
|
|
7187
7187
|
? deserializeAws_json1_1MaxSlotMap(output.maxSlots, context)
|
|
7188
7188
|
: undefined,
|
|
@@ -7239,19 +7239,19 @@ const deserializeAws_json1_1CannotDeleteException = (output, context) => {
|
|
|
7239
7239
|
};
|
|
7240
7240
|
const deserializeAws_json1_1Counters = (output, context) => {
|
|
7241
7241
|
return {
|
|
7242
|
-
errored: smithy_client_1.
|
|
7243
|
-
failed: smithy_client_1.
|
|
7244
|
-
passed: smithy_client_1.
|
|
7245
|
-
skipped: smithy_client_1.
|
|
7246
|
-
stopped: smithy_client_1.
|
|
7247
|
-
total: smithy_client_1.
|
|
7248
|
-
warned: smithy_client_1.
|
|
7242
|
+
errored: smithy_client_1.expectInt32(output.errored),
|
|
7243
|
+
failed: smithy_client_1.expectInt32(output.failed),
|
|
7244
|
+
passed: smithy_client_1.expectInt32(output.passed),
|
|
7245
|
+
skipped: smithy_client_1.expectInt32(output.skipped),
|
|
7246
|
+
stopped: smithy_client_1.expectInt32(output.stopped),
|
|
7247
|
+
total: smithy_client_1.expectInt32(output.total),
|
|
7248
|
+
warned: smithy_client_1.expectInt32(output.warned),
|
|
7249
7249
|
};
|
|
7250
7250
|
};
|
|
7251
7251
|
const deserializeAws_json1_1CPU = (output, context) => {
|
|
7252
7252
|
return {
|
|
7253
7253
|
architecture: smithy_client_1.expectString(output.architecture),
|
|
7254
|
-
clock: smithy_client_1.
|
|
7254
|
+
clock: smithy_client_1.limitedParseDouble(output.clock),
|
|
7255
7255
|
frequency: smithy_client_1.expectString(output.frequency),
|
|
7256
7256
|
};
|
|
7257
7257
|
};
|
|
@@ -7299,7 +7299,9 @@ const deserializeAws_json1_1CreateTestGridProjectResult = (output, context) => {
|
|
|
7299
7299
|
};
|
|
7300
7300
|
const deserializeAws_json1_1CreateTestGridUrlResult = (output, context) => {
|
|
7301
7301
|
return {
|
|
7302
|
-
expires: output.expires !== undefined && output.expires !== null
|
|
7302
|
+
expires: output.expires !== undefined && output.expires !== null
|
|
7303
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.expires)))
|
|
7304
|
+
: undefined,
|
|
7303
7305
|
url: smithy_client_1.expectString(output.url),
|
|
7304
7306
|
};
|
|
7305
7307
|
};
|
|
@@ -7366,13 +7368,13 @@ const deserializeAws_json1_1Device = (output, context) => {
|
|
|
7366
7368
|
fleetName: smithy_client_1.expectString(output.fleetName),
|
|
7367
7369
|
fleetType: smithy_client_1.expectString(output.fleetType),
|
|
7368
7370
|
formFactor: smithy_client_1.expectString(output.formFactor),
|
|
7369
|
-
heapSize: smithy_client_1.
|
|
7371
|
+
heapSize: smithy_client_1.expectLong(output.heapSize),
|
|
7370
7372
|
image: smithy_client_1.expectString(output.image),
|
|
7371
7373
|
instances: output.instances !== undefined && output.instances !== null
|
|
7372
7374
|
? deserializeAws_json1_1DeviceInstances(output.instances, context)
|
|
7373
7375
|
: undefined,
|
|
7374
7376
|
manufacturer: smithy_client_1.expectString(output.manufacturer),
|
|
7375
|
-
memory: smithy_client_1.
|
|
7377
|
+
memory: smithy_client_1.expectLong(output.memory),
|
|
7376
7378
|
model: smithy_client_1.expectString(output.model),
|
|
7377
7379
|
modelId: smithy_client_1.expectString(output.modelId),
|
|
7378
7380
|
name: smithy_client_1.expectString(output.name),
|
|
@@ -7451,16 +7453,16 @@ const deserializeAws_json1_1DeviceInstances = (output, context) => {
|
|
|
7451
7453
|
};
|
|
7452
7454
|
const deserializeAws_json1_1DeviceMinutes = (output, context) => {
|
|
7453
7455
|
return {
|
|
7454
|
-
metered: smithy_client_1.
|
|
7455
|
-
total: smithy_client_1.
|
|
7456
|
-
unmetered: smithy_client_1.
|
|
7456
|
+
metered: smithy_client_1.limitedParseDouble(output.metered),
|
|
7457
|
+
total: smithy_client_1.limitedParseDouble(output.total),
|
|
7458
|
+
unmetered: smithy_client_1.limitedParseDouble(output.unmetered),
|
|
7457
7459
|
};
|
|
7458
7460
|
};
|
|
7459
7461
|
const deserializeAws_json1_1DevicePool = (output, context) => {
|
|
7460
7462
|
return {
|
|
7461
7463
|
arn: smithy_client_1.expectString(output.arn),
|
|
7462
7464
|
description: smithy_client_1.expectString(output.description),
|
|
7463
|
-
maxDevices: smithy_client_1.
|
|
7465
|
+
maxDevices: smithy_client_1.expectInt32(output.maxDevices),
|
|
7464
7466
|
name: smithy_client_1.expectString(output.name),
|
|
7465
7467
|
rules: output.rules !== undefined && output.rules !== null
|
|
7466
7468
|
? deserializeAws_json1_1Rules(output.rules, context)
|
|
@@ -7514,8 +7516,8 @@ const deserializeAws_json1_1DeviceSelectionResult = (output, context) => {
|
|
|
7514
7516
|
filters: output.filters !== undefined && output.filters !== null
|
|
7515
7517
|
? deserializeAws_json1_1DeviceFilters(output.filters, context)
|
|
7516
7518
|
: undefined,
|
|
7517
|
-
matchedDevicesCount: smithy_client_1.
|
|
7518
|
-
maxDevices: smithy_client_1.
|
|
7519
|
+
matchedDevicesCount: smithy_client_1.expectInt32(output.matchedDevicesCount),
|
|
7520
|
+
maxDevices: smithy_client_1.expectInt32(output.maxDevices),
|
|
7519
7521
|
};
|
|
7520
7522
|
};
|
|
7521
7523
|
const deserializeAws_json1_1GetAccountSettingsResult = (output, context) => {
|
|
@@ -7731,7 +7733,9 @@ const deserializeAws_json1_1Job = (output, context) => {
|
|
|
7731
7733
|
counters: output.counters !== undefined && output.counters !== null
|
|
7732
7734
|
? deserializeAws_json1_1Counters(output.counters, context)
|
|
7733
7735
|
: undefined,
|
|
7734
|
-
created: output.created !== undefined && output.created !== null
|
|
7736
|
+
created: output.created !== undefined && output.created !== null
|
|
7737
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.created)))
|
|
7738
|
+
: undefined,
|
|
7735
7739
|
device: output.device !== undefined && output.device !== null
|
|
7736
7740
|
? deserializeAws_json1_1Device(output.device, context)
|
|
7737
7741
|
: undefined,
|
|
@@ -7742,9 +7746,13 @@ const deserializeAws_json1_1Job = (output, context) => {
|
|
|
7742
7746
|
message: smithy_client_1.expectString(output.message),
|
|
7743
7747
|
name: smithy_client_1.expectString(output.name),
|
|
7744
7748
|
result: smithy_client_1.expectString(output.result),
|
|
7745
|
-
started: output.started !== undefined && output.started !== null
|
|
7749
|
+
started: output.started !== undefined && output.started !== null
|
|
7750
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.started)))
|
|
7751
|
+
: undefined,
|
|
7746
7752
|
status: smithy_client_1.expectString(output.status),
|
|
7747
|
-
stopped: output.stopped !== undefined && output.stopped !== null
|
|
7753
|
+
stopped: output.stopped !== undefined && output.stopped !== null
|
|
7754
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.stopped)))
|
|
7755
|
+
: undefined,
|
|
7748
7756
|
type: smithy_client_1.expectString(output.type),
|
|
7749
7757
|
videoCapture: smithy_client_1.expectBoolean(output.videoCapture),
|
|
7750
7758
|
videoEndpoint: smithy_client_1.expectString(output.videoEndpoint),
|
|
@@ -7954,8 +7962,8 @@ const deserializeAws_json1_1ListVPCEConfigurationsResult = (output, context) =>
|
|
|
7954
7962
|
};
|
|
7955
7963
|
const deserializeAws_json1_1Location = (output, context) => {
|
|
7956
7964
|
return {
|
|
7957
|
-
latitude: smithy_client_1.
|
|
7958
|
-
longitude: smithy_client_1.
|
|
7965
|
+
latitude: smithy_client_1.limitedParseDouble(output.latitude),
|
|
7966
|
+
longitude: smithy_client_1.limitedParseDouble(output.longitude),
|
|
7959
7967
|
};
|
|
7960
7968
|
};
|
|
7961
7969
|
const deserializeAws_json1_1MaxSlotMap = (output, context) => {
|
|
@@ -7965,13 +7973,13 @@ const deserializeAws_json1_1MaxSlotMap = (output, context) => {
|
|
|
7965
7973
|
}
|
|
7966
7974
|
return {
|
|
7967
7975
|
...acc,
|
|
7968
|
-
[key]: smithy_client_1.
|
|
7976
|
+
[key]: smithy_client_1.expectInt32(value),
|
|
7969
7977
|
};
|
|
7970
7978
|
}, {});
|
|
7971
7979
|
};
|
|
7972
7980
|
const deserializeAws_json1_1MonetaryAmount = (output, context) => {
|
|
7973
7981
|
return {
|
|
7974
|
-
amount: smithy_client_1.
|
|
7982
|
+
amount: smithy_client_1.limitedParseDouble(output.amount),
|
|
7975
7983
|
currencyCode: smithy_client_1.expectString(output.currencyCode),
|
|
7976
7984
|
};
|
|
7977
7985
|
};
|
|
@@ -7979,16 +7987,16 @@ const deserializeAws_json1_1NetworkProfile = (output, context) => {
|
|
|
7979
7987
|
return {
|
|
7980
7988
|
arn: smithy_client_1.expectString(output.arn),
|
|
7981
7989
|
description: smithy_client_1.expectString(output.description),
|
|
7982
|
-
downlinkBandwidthBits: smithy_client_1.
|
|
7983
|
-
downlinkDelayMs: smithy_client_1.
|
|
7984
|
-
downlinkJitterMs: smithy_client_1.
|
|
7985
|
-
downlinkLossPercent: smithy_client_1.
|
|
7990
|
+
downlinkBandwidthBits: smithy_client_1.expectLong(output.downlinkBandwidthBits),
|
|
7991
|
+
downlinkDelayMs: smithy_client_1.expectLong(output.downlinkDelayMs),
|
|
7992
|
+
downlinkJitterMs: smithy_client_1.expectLong(output.downlinkJitterMs),
|
|
7993
|
+
downlinkLossPercent: smithy_client_1.expectInt32(output.downlinkLossPercent),
|
|
7986
7994
|
name: smithy_client_1.expectString(output.name),
|
|
7987
7995
|
type: smithy_client_1.expectString(output.type),
|
|
7988
|
-
uplinkBandwidthBits: smithy_client_1.
|
|
7989
|
-
uplinkDelayMs: smithy_client_1.
|
|
7990
|
-
uplinkJitterMs: smithy_client_1.
|
|
7991
|
-
uplinkLossPercent: smithy_client_1.
|
|
7996
|
+
uplinkBandwidthBits: smithy_client_1.expectLong(output.uplinkBandwidthBits),
|
|
7997
|
+
uplinkDelayMs: smithy_client_1.expectLong(output.uplinkDelayMs),
|
|
7998
|
+
uplinkJitterMs: smithy_client_1.expectLong(output.uplinkJitterMs),
|
|
7999
|
+
uplinkLossPercent: smithy_client_1.expectInt32(output.uplinkLossPercent),
|
|
7992
8000
|
};
|
|
7993
8001
|
};
|
|
7994
8002
|
const deserializeAws_json1_1NetworkProfiles = (output, context) => {
|
|
@@ -8051,12 +8059,12 @@ const deserializeAws_json1_1Offerings = (output, context) => {
|
|
|
8051
8059
|
const deserializeAws_json1_1OfferingStatus = (output, context) => {
|
|
8052
8060
|
return {
|
|
8053
8061
|
effectiveOn: output.effectiveOn !== undefined && output.effectiveOn !== null
|
|
8054
|
-
?
|
|
8062
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.effectiveOn)))
|
|
8055
8063
|
: undefined,
|
|
8056
8064
|
offering: output.offering !== undefined && output.offering !== null
|
|
8057
8065
|
? deserializeAws_json1_1Offering(output.offering, context)
|
|
8058
8066
|
: undefined,
|
|
8059
|
-
quantity: smithy_client_1.
|
|
8067
|
+
quantity: smithy_client_1.expectInt32(output.quantity),
|
|
8060
8068
|
type: smithy_client_1.expectString(output.type),
|
|
8061
8069
|
};
|
|
8062
8070
|
};
|
|
@@ -8077,7 +8085,7 @@ const deserializeAws_json1_1OfferingTransaction = (output, context) => {
|
|
|
8077
8085
|
? deserializeAws_json1_1MonetaryAmount(output.cost, context)
|
|
8078
8086
|
: undefined,
|
|
8079
8087
|
createdOn: output.createdOn !== undefined && output.createdOn !== null
|
|
8080
|
-
?
|
|
8088
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.createdOn)))
|
|
8081
8089
|
: undefined,
|
|
8082
8090
|
offeringPromotionId: smithy_client_1.expectString(output.offeringPromotionId),
|
|
8083
8091
|
offeringStatus: output.offeringStatus !== undefined && output.offeringStatus !== null
|
|
@@ -8146,8 +8154,10 @@ const deserializeAws_json1_1Problems = (output, context) => {
|
|
|
8146
8154
|
const deserializeAws_json1_1Project = (output, context) => {
|
|
8147
8155
|
return {
|
|
8148
8156
|
arn: smithy_client_1.expectString(output.arn),
|
|
8149
|
-
created: output.created !== undefined && output.created !== null
|
|
8150
|
-
|
|
8157
|
+
created: output.created !== undefined && output.created !== null
|
|
8158
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.created)))
|
|
8159
|
+
: undefined,
|
|
8160
|
+
defaultJobTimeoutMinutes: smithy_client_1.expectInt32(output.defaultJobTimeoutMinutes),
|
|
8151
8161
|
name: smithy_client_1.expectString(output.name),
|
|
8152
8162
|
};
|
|
8153
8163
|
};
|
|
@@ -8168,7 +8178,7 @@ const deserializeAws_json1_1PurchasedDevicesMap = (output, context) => {
|
|
|
8168
8178
|
}
|
|
8169
8179
|
return {
|
|
8170
8180
|
...acc,
|
|
8171
|
-
[key]: smithy_client_1.
|
|
8181
|
+
[key]: smithy_client_1.expectInt32(value),
|
|
8172
8182
|
};
|
|
8173
8183
|
}, {});
|
|
8174
8184
|
};
|
|
@@ -8210,7 +8220,9 @@ const deserializeAws_json1_1RemoteAccessSession = (output, context) => {
|
|
|
8210
8220
|
arn: smithy_client_1.expectString(output.arn),
|
|
8211
8221
|
billingMethod: smithy_client_1.expectString(output.billingMethod),
|
|
8212
8222
|
clientId: smithy_client_1.expectString(output.clientId),
|
|
8213
|
-
created: output.created !== undefined && output.created !== null
|
|
8223
|
+
created: output.created !== undefined && output.created !== null
|
|
8224
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.created)))
|
|
8225
|
+
: undefined,
|
|
8214
8226
|
device: output.device !== undefined && output.device !== null
|
|
8215
8227
|
? deserializeAws_json1_1Device(output.device, context)
|
|
8216
8228
|
: undefined,
|
|
@@ -8229,9 +8241,13 @@ const deserializeAws_json1_1RemoteAccessSession = (output, context) => {
|
|
|
8229
8241
|
remoteRecordEnabled: smithy_client_1.expectBoolean(output.remoteRecordEnabled),
|
|
8230
8242
|
result: smithy_client_1.expectString(output.result),
|
|
8231
8243
|
skipAppResign: smithy_client_1.expectBoolean(output.skipAppResign),
|
|
8232
|
-
started: output.started !== undefined && output.started !== null
|
|
8244
|
+
started: output.started !== undefined && output.started !== null
|
|
8245
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.started)))
|
|
8246
|
+
: undefined,
|
|
8233
8247
|
status: smithy_client_1.expectString(output.status),
|
|
8234
|
-
stopped: output.stopped !== undefined && output.stopped !== null
|
|
8248
|
+
stopped: output.stopped !== undefined && output.stopped !== null
|
|
8249
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.stopped)))
|
|
8250
|
+
: undefined,
|
|
8235
8251
|
};
|
|
8236
8252
|
};
|
|
8237
8253
|
const deserializeAws_json1_1RemoteAccessSessions = (output, context) => {
|
|
@@ -8253,8 +8269,8 @@ const deserializeAws_json1_1RenewOfferingResult = (output, context) => {
|
|
|
8253
8269
|
};
|
|
8254
8270
|
const deserializeAws_json1_1Resolution = (output, context) => {
|
|
8255
8271
|
return {
|
|
8256
|
-
height: smithy_client_1.
|
|
8257
|
-
width: smithy_client_1.
|
|
8272
|
+
height: smithy_client_1.expectInt32(output.height),
|
|
8273
|
+
width: smithy_client_1.expectInt32(output.width),
|
|
8258
8274
|
};
|
|
8259
8275
|
};
|
|
8260
8276
|
const deserializeAws_json1_1Rule = (output, context) => {
|
|
@@ -8279,11 +8295,13 @@ const deserializeAws_json1_1Run = (output, context) => {
|
|
|
8279
8295
|
appUpload: smithy_client_1.expectString(output.appUpload),
|
|
8280
8296
|
arn: smithy_client_1.expectString(output.arn),
|
|
8281
8297
|
billingMethod: smithy_client_1.expectString(output.billingMethod),
|
|
8282
|
-
completedJobs: smithy_client_1.
|
|
8298
|
+
completedJobs: smithy_client_1.expectInt32(output.completedJobs),
|
|
8283
8299
|
counters: output.counters !== undefined && output.counters !== null
|
|
8284
8300
|
? deserializeAws_json1_1Counters(output.counters, context)
|
|
8285
8301
|
: undefined,
|
|
8286
|
-
created: output.created !== undefined && output.created !== null
|
|
8302
|
+
created: output.created !== undefined && output.created !== null
|
|
8303
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.created)))
|
|
8304
|
+
: undefined,
|
|
8287
8305
|
customerArtifactPaths: output.customerArtifactPaths !== undefined && output.customerArtifactPaths !== null
|
|
8288
8306
|
? deserializeAws_json1_1CustomerArtifactPaths(output.customerArtifactPaths, context)
|
|
8289
8307
|
: undefined,
|
|
@@ -8294,8 +8312,8 @@ const deserializeAws_json1_1Run = (output, context) => {
|
|
|
8294
8312
|
deviceSelectionResult: output.deviceSelectionResult !== undefined && output.deviceSelectionResult !== null
|
|
8295
8313
|
? deserializeAws_json1_1DeviceSelectionResult(output.deviceSelectionResult, context)
|
|
8296
8314
|
: undefined,
|
|
8297
|
-
eventCount: smithy_client_1.
|
|
8298
|
-
jobTimeoutMinutes: smithy_client_1.
|
|
8315
|
+
eventCount: smithy_client_1.expectInt32(output.eventCount),
|
|
8316
|
+
jobTimeoutMinutes: smithy_client_1.expectInt32(output.jobTimeoutMinutes),
|
|
8299
8317
|
locale: smithy_client_1.expectString(output.locale),
|
|
8300
8318
|
location: output.location !== undefined && output.location !== null
|
|
8301
8319
|
? deserializeAws_json1_1Location(output.location, context)
|
|
@@ -8312,13 +8330,17 @@ const deserializeAws_json1_1Run = (output, context) => {
|
|
|
8312
8330
|
: undefined,
|
|
8313
8331
|
result: smithy_client_1.expectString(output.result),
|
|
8314
8332
|
resultCode: smithy_client_1.expectString(output.resultCode),
|
|
8315
|
-
seed: smithy_client_1.
|
|
8333
|
+
seed: smithy_client_1.expectInt32(output.seed),
|
|
8316
8334
|
skipAppResign: smithy_client_1.expectBoolean(output.skipAppResign),
|
|
8317
|
-
started: output.started !== undefined && output.started !== null
|
|
8335
|
+
started: output.started !== undefined && output.started !== null
|
|
8336
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.started)))
|
|
8337
|
+
: undefined,
|
|
8318
8338
|
status: smithy_client_1.expectString(output.status),
|
|
8319
|
-
stopped: output.stopped !== undefined && output.stopped !== null
|
|
8339
|
+
stopped: output.stopped !== undefined && output.stopped !== null
|
|
8340
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.stopped)))
|
|
8341
|
+
: undefined,
|
|
8320
8342
|
testSpecArn: smithy_client_1.expectString(output.testSpecArn),
|
|
8321
|
-
totalJobs: smithy_client_1.
|
|
8343
|
+
totalJobs: smithy_client_1.expectInt32(output.totalJobs),
|
|
8322
8344
|
type: smithy_client_1.expectString(output.type),
|
|
8323
8345
|
webUrl: smithy_client_1.expectString(output.webUrl),
|
|
8324
8346
|
};
|
|
@@ -8403,16 +8425,22 @@ const deserializeAws_json1_1Suite = (output, context) => {
|
|
|
8403
8425
|
counters: output.counters !== undefined && output.counters !== null
|
|
8404
8426
|
? deserializeAws_json1_1Counters(output.counters, context)
|
|
8405
8427
|
: undefined,
|
|
8406
|
-
created: output.created !== undefined && output.created !== null
|
|
8428
|
+
created: output.created !== undefined && output.created !== null
|
|
8429
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.created)))
|
|
8430
|
+
: undefined,
|
|
8407
8431
|
deviceMinutes: output.deviceMinutes !== undefined && output.deviceMinutes !== null
|
|
8408
8432
|
? deserializeAws_json1_1DeviceMinutes(output.deviceMinutes, context)
|
|
8409
8433
|
: undefined,
|
|
8410
8434
|
message: smithy_client_1.expectString(output.message),
|
|
8411
8435
|
name: smithy_client_1.expectString(output.name),
|
|
8412
8436
|
result: smithy_client_1.expectString(output.result),
|
|
8413
|
-
started: output.started !== undefined && output.started !== null
|
|
8437
|
+
started: output.started !== undefined && output.started !== null
|
|
8438
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.started)))
|
|
8439
|
+
: undefined,
|
|
8414
8440
|
status: smithy_client_1.expectString(output.status),
|
|
8415
|
-
stopped: output.stopped !== undefined && output.stopped !== null
|
|
8441
|
+
stopped: output.stopped !== undefined && output.stopped !== null
|
|
8442
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.stopped)))
|
|
8443
|
+
: undefined,
|
|
8416
8444
|
type: smithy_client_1.expectString(output.type),
|
|
8417
8445
|
};
|
|
8418
8446
|
};
|
|
@@ -8463,23 +8491,31 @@ const deserializeAws_json1_1Test = (output, context) => {
|
|
|
8463
8491
|
counters: output.counters !== undefined && output.counters !== null
|
|
8464
8492
|
? deserializeAws_json1_1Counters(output.counters, context)
|
|
8465
8493
|
: undefined,
|
|
8466
|
-
created: output.created !== undefined && output.created !== null
|
|
8494
|
+
created: output.created !== undefined && output.created !== null
|
|
8495
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.created)))
|
|
8496
|
+
: undefined,
|
|
8467
8497
|
deviceMinutes: output.deviceMinutes !== undefined && output.deviceMinutes !== null
|
|
8468
8498
|
? deserializeAws_json1_1DeviceMinutes(output.deviceMinutes, context)
|
|
8469
8499
|
: undefined,
|
|
8470
8500
|
message: smithy_client_1.expectString(output.message),
|
|
8471
8501
|
name: smithy_client_1.expectString(output.name),
|
|
8472
8502
|
result: smithy_client_1.expectString(output.result),
|
|
8473
|
-
started: output.started !== undefined && output.started !== null
|
|
8503
|
+
started: output.started !== undefined && output.started !== null
|
|
8504
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.started)))
|
|
8505
|
+
: undefined,
|
|
8474
8506
|
status: smithy_client_1.expectString(output.status),
|
|
8475
|
-
stopped: output.stopped !== undefined && output.stopped !== null
|
|
8507
|
+
stopped: output.stopped !== undefined && output.stopped !== null
|
|
8508
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.stopped)))
|
|
8509
|
+
: undefined,
|
|
8476
8510
|
type: smithy_client_1.expectString(output.type),
|
|
8477
8511
|
};
|
|
8478
8512
|
};
|
|
8479
8513
|
const deserializeAws_json1_1TestGridProject = (output, context) => {
|
|
8480
8514
|
return {
|
|
8481
8515
|
arn: smithy_client_1.expectString(output.arn),
|
|
8482
|
-
created: output.created !== undefined && output.created !== null
|
|
8516
|
+
created: output.created !== undefined && output.created !== null
|
|
8517
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.created)))
|
|
8518
|
+
: undefined,
|
|
8483
8519
|
description: smithy_client_1.expectString(output.description),
|
|
8484
8520
|
name: smithy_client_1.expectString(output.name),
|
|
8485
8521
|
vpcConfig: output.vpcConfig !== undefined && output.vpcConfig !== null
|
|
@@ -8500,9 +8536,13 @@ const deserializeAws_json1_1TestGridProjects = (output, context) => {
|
|
|
8500
8536
|
const deserializeAws_json1_1TestGridSession = (output, context) => {
|
|
8501
8537
|
return {
|
|
8502
8538
|
arn: smithy_client_1.expectString(output.arn),
|
|
8503
|
-
billingMinutes: smithy_client_1.
|
|
8504
|
-
created: output.created !== undefined && output.created !== null
|
|
8505
|
-
|
|
8539
|
+
billingMinutes: smithy_client_1.limitedParseDouble(output.billingMinutes),
|
|
8540
|
+
created: output.created !== undefined && output.created !== null
|
|
8541
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.created)))
|
|
8542
|
+
: undefined,
|
|
8543
|
+
ended: output.ended !== undefined && output.ended !== null
|
|
8544
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.ended)))
|
|
8545
|
+
: undefined,
|
|
8506
8546
|
seleniumProperties: smithy_client_1.expectString(output.seleniumProperties),
|
|
8507
8547
|
status: smithy_client_1.expectString(output.status),
|
|
8508
8548
|
};
|
|
@@ -8510,9 +8550,11 @@ const deserializeAws_json1_1TestGridSession = (output, context) => {
|
|
|
8510
8550
|
const deserializeAws_json1_1TestGridSessionAction = (output, context) => {
|
|
8511
8551
|
return {
|
|
8512
8552
|
action: smithy_client_1.expectString(output.action),
|
|
8513
|
-
duration: smithy_client_1.
|
|
8553
|
+
duration: smithy_client_1.expectLong(output.duration),
|
|
8514
8554
|
requestMethod: smithy_client_1.expectString(output.requestMethod),
|
|
8515
|
-
started: output.started !== undefined && output.started !== null
|
|
8555
|
+
started: output.started !== undefined && output.started !== null
|
|
8556
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.started)))
|
|
8557
|
+
: undefined,
|
|
8516
8558
|
statusCode: smithy_client_1.expectString(output.statusCode),
|
|
8517
8559
|
};
|
|
8518
8560
|
};
|
|
@@ -8582,8 +8624,8 @@ const deserializeAws_json1_1TooManyTagsException = (output, context) => {
|
|
|
8582
8624
|
};
|
|
8583
8625
|
const deserializeAws_json1_1TrialMinutes = (output, context) => {
|
|
8584
8626
|
return {
|
|
8585
|
-
remaining: smithy_client_1.
|
|
8586
|
-
total: smithy_client_1.
|
|
8627
|
+
remaining: smithy_client_1.limitedParseDouble(output.remaining),
|
|
8628
|
+
total: smithy_client_1.limitedParseDouble(output.total),
|
|
8587
8629
|
};
|
|
8588
8630
|
};
|
|
8589
8631
|
const deserializeAws_json1_1UniqueProblem = (output, context) => {
|
|
@@ -8679,7 +8721,9 @@ const deserializeAws_json1_1Upload = (output, context) => {
|
|
|
8679
8721
|
arn: smithy_client_1.expectString(output.arn),
|
|
8680
8722
|
category: smithy_client_1.expectString(output.category),
|
|
8681
8723
|
contentType: smithy_client_1.expectString(output.contentType),
|
|
8682
|
-
created: output.created !== undefined && output.created !== null
|
|
8724
|
+
created: output.created !== undefined && output.created !== null
|
|
8725
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.created)))
|
|
8726
|
+
: undefined,
|
|
8683
8727
|
message: smithy_client_1.expectString(output.message),
|
|
8684
8728
|
metadata: smithy_client_1.expectString(output.metadata),
|
|
8685
8729
|
name: smithy_client_1.expectString(output.name),
|