@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/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"
|
package/protocols/Aws_json1_1.ts
CHANGED
|
@@ -393,9 +393,13 @@ import {
|
|
|
393
393
|
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
394
394
|
import {
|
|
395
395
|
expectBoolean as __expectBoolean,
|
|
396
|
-
|
|
396
|
+
expectInt32 as __expectInt32,
|
|
397
|
+
expectLong as __expectLong,
|
|
398
|
+
expectNonNull as __expectNonNull,
|
|
399
|
+
expectNumber as __expectNumber,
|
|
397
400
|
expectString as __expectString,
|
|
398
|
-
|
|
401
|
+
limitedParseDouble as __limitedParseDouble,
|
|
402
|
+
parseEpochTimestamp as __parseEpochTimestamp,
|
|
399
403
|
serializeFloat as __serializeFloat,
|
|
400
404
|
} from "@aws-sdk/smithy-client";
|
|
401
405
|
import {
|
|
@@ -8638,8 +8642,8 @@ const serializeAws_json1_1UpdateVPCEConfigurationRequest = (
|
|
|
8638
8642
|
const deserializeAws_json1_1AccountSettings = (output: any, context: __SerdeContext): AccountSettings => {
|
|
8639
8643
|
return {
|
|
8640
8644
|
awsAccountNumber: __expectString(output.awsAccountNumber),
|
|
8641
|
-
defaultJobTimeoutMinutes:
|
|
8642
|
-
maxJobTimeoutMinutes:
|
|
8645
|
+
defaultJobTimeoutMinutes: __expectInt32(output.defaultJobTimeoutMinutes),
|
|
8646
|
+
maxJobTimeoutMinutes: __expectInt32(output.maxJobTimeoutMinutes),
|
|
8643
8647
|
maxSlots:
|
|
8644
8648
|
output.maxSlots !== undefined && output.maxSlots !== null
|
|
8645
8649
|
? deserializeAws_json1_1MaxSlotMap(output.maxSlots, context)
|
|
@@ -8706,20 +8710,20 @@ const deserializeAws_json1_1CannotDeleteException = (output: any, context: __Ser
|
|
|
8706
8710
|
|
|
8707
8711
|
const deserializeAws_json1_1Counters = (output: any, context: __SerdeContext): Counters => {
|
|
8708
8712
|
return {
|
|
8709
|
-
errored:
|
|
8710
|
-
failed:
|
|
8711
|
-
passed:
|
|
8712
|
-
skipped:
|
|
8713
|
-
stopped:
|
|
8714
|
-
total:
|
|
8715
|
-
warned:
|
|
8713
|
+
errored: __expectInt32(output.errored),
|
|
8714
|
+
failed: __expectInt32(output.failed),
|
|
8715
|
+
passed: __expectInt32(output.passed),
|
|
8716
|
+
skipped: __expectInt32(output.skipped),
|
|
8717
|
+
stopped: __expectInt32(output.stopped),
|
|
8718
|
+
total: __expectInt32(output.total),
|
|
8719
|
+
warned: __expectInt32(output.warned),
|
|
8716
8720
|
} as any;
|
|
8717
8721
|
};
|
|
8718
8722
|
|
|
8719
8723
|
const deserializeAws_json1_1CPU = (output: any, context: __SerdeContext): CPU => {
|
|
8720
8724
|
return {
|
|
8721
8725
|
architecture: __expectString(output.architecture),
|
|
8722
|
-
clock:
|
|
8726
|
+
clock: __limitedParseDouble(output.clock),
|
|
8723
8727
|
frequency: __expectString(output.frequency),
|
|
8724
8728
|
} as any;
|
|
8725
8729
|
};
|
|
@@ -8796,7 +8800,9 @@ const deserializeAws_json1_1CreateTestGridUrlResult = (
|
|
|
8796
8800
|
): CreateTestGridUrlResult => {
|
|
8797
8801
|
return {
|
|
8798
8802
|
expires:
|
|
8799
|
-
output.expires !== undefined && output.expires !== null
|
|
8803
|
+
output.expires !== undefined && output.expires !== null
|
|
8804
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.expires)))
|
|
8805
|
+
: undefined,
|
|
8800
8806
|
url: __expectString(output.url),
|
|
8801
8807
|
} as any;
|
|
8802
8808
|
};
|
|
@@ -8899,14 +8905,14 @@ const deserializeAws_json1_1Device = (output: any, context: __SerdeContext): Dev
|
|
|
8899
8905
|
fleetName: __expectString(output.fleetName),
|
|
8900
8906
|
fleetType: __expectString(output.fleetType),
|
|
8901
8907
|
formFactor: __expectString(output.formFactor),
|
|
8902
|
-
heapSize:
|
|
8908
|
+
heapSize: __expectLong(output.heapSize),
|
|
8903
8909
|
image: __expectString(output.image),
|
|
8904
8910
|
instances:
|
|
8905
8911
|
output.instances !== undefined && output.instances !== null
|
|
8906
8912
|
? deserializeAws_json1_1DeviceInstances(output.instances, context)
|
|
8907
8913
|
: undefined,
|
|
8908
8914
|
manufacturer: __expectString(output.manufacturer),
|
|
8909
|
-
memory:
|
|
8915
|
+
memory: __expectLong(output.memory),
|
|
8910
8916
|
model: __expectString(output.model),
|
|
8911
8917
|
modelId: __expectString(output.modelId),
|
|
8912
8918
|
name: __expectString(output.name),
|
|
@@ -8996,9 +9002,9 @@ const deserializeAws_json1_1DeviceInstances = (output: any, context: __SerdeCont
|
|
|
8996
9002
|
|
|
8997
9003
|
const deserializeAws_json1_1DeviceMinutes = (output: any, context: __SerdeContext): DeviceMinutes => {
|
|
8998
9004
|
return {
|
|
8999
|
-
metered:
|
|
9000
|
-
total:
|
|
9001
|
-
unmetered:
|
|
9005
|
+
metered: __limitedParseDouble(output.metered),
|
|
9006
|
+
total: __limitedParseDouble(output.total),
|
|
9007
|
+
unmetered: __limitedParseDouble(output.unmetered),
|
|
9002
9008
|
} as any;
|
|
9003
9009
|
};
|
|
9004
9010
|
|
|
@@ -9006,7 +9012,7 @@ const deserializeAws_json1_1DevicePool = (output: any, context: __SerdeContext):
|
|
|
9006
9012
|
return {
|
|
9007
9013
|
arn: __expectString(output.arn),
|
|
9008
9014
|
description: __expectString(output.description),
|
|
9009
|
-
maxDevices:
|
|
9015
|
+
maxDevices: __expectInt32(output.maxDevices),
|
|
9010
9016
|
name: __expectString(output.name),
|
|
9011
9017
|
rules:
|
|
9012
9018
|
output.rules !== undefined && output.rules !== null
|
|
@@ -9075,8 +9081,8 @@ const deserializeAws_json1_1DeviceSelectionResult = (output: any, context: __Ser
|
|
|
9075
9081
|
output.filters !== undefined && output.filters !== null
|
|
9076
9082
|
? deserializeAws_json1_1DeviceFilters(output.filters, context)
|
|
9077
9083
|
: undefined,
|
|
9078
|
-
matchedDevicesCount:
|
|
9079
|
-
maxDevices:
|
|
9084
|
+
matchedDevicesCount: __expectInt32(output.matchedDevicesCount),
|
|
9085
|
+
maxDevices: __expectInt32(output.maxDevices),
|
|
9080
9086
|
} as any;
|
|
9081
9087
|
};
|
|
9082
9088
|
|
|
@@ -9385,7 +9391,9 @@ const deserializeAws_json1_1Job = (output: any, context: __SerdeContext): Job =>
|
|
|
9385
9391
|
? deserializeAws_json1_1Counters(output.counters, context)
|
|
9386
9392
|
: undefined,
|
|
9387
9393
|
created:
|
|
9388
|
-
output.created !== undefined && output.created !== null
|
|
9394
|
+
output.created !== undefined && output.created !== null
|
|
9395
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.created)))
|
|
9396
|
+
: undefined,
|
|
9389
9397
|
device:
|
|
9390
9398
|
output.device !== undefined && output.device !== null
|
|
9391
9399
|
? deserializeAws_json1_1Device(output.device, context)
|
|
@@ -9399,10 +9407,14 @@ const deserializeAws_json1_1Job = (output: any, context: __SerdeContext): Job =>
|
|
|
9399
9407
|
name: __expectString(output.name),
|
|
9400
9408
|
result: __expectString(output.result),
|
|
9401
9409
|
started:
|
|
9402
|
-
output.started !== undefined && output.started !== null
|
|
9410
|
+
output.started !== undefined && output.started !== null
|
|
9411
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.started)))
|
|
9412
|
+
: undefined,
|
|
9403
9413
|
status: __expectString(output.status),
|
|
9404
9414
|
stopped:
|
|
9405
|
-
output.stopped !== undefined && output.stopped !== null
|
|
9415
|
+
output.stopped !== undefined && output.stopped !== null
|
|
9416
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.stopped)))
|
|
9417
|
+
: undefined,
|
|
9406
9418
|
type: __expectString(output.type),
|
|
9407
9419
|
videoCapture: __expectBoolean(output.videoCapture),
|
|
9408
9420
|
videoEndpoint: __expectString(output.videoEndpoint),
|
|
@@ -9702,8 +9714,8 @@ const deserializeAws_json1_1ListVPCEConfigurationsResult = (
|
|
|
9702
9714
|
|
|
9703
9715
|
const deserializeAws_json1_1Location = (output: any, context: __SerdeContext): Location => {
|
|
9704
9716
|
return {
|
|
9705
|
-
latitude:
|
|
9706
|
-
longitude:
|
|
9717
|
+
latitude: __limitedParseDouble(output.latitude),
|
|
9718
|
+
longitude: __limitedParseDouble(output.longitude),
|
|
9707
9719
|
} as any;
|
|
9708
9720
|
};
|
|
9709
9721
|
|
|
@@ -9714,14 +9726,14 @@ const deserializeAws_json1_1MaxSlotMap = (output: any, context: __SerdeContext):
|
|
|
9714
9726
|
}
|
|
9715
9727
|
return {
|
|
9716
9728
|
...acc,
|
|
9717
|
-
[key]:
|
|
9729
|
+
[key]: __expectInt32(value) as any,
|
|
9718
9730
|
};
|
|
9719
9731
|
}, {});
|
|
9720
9732
|
};
|
|
9721
9733
|
|
|
9722
9734
|
const deserializeAws_json1_1MonetaryAmount = (output: any, context: __SerdeContext): MonetaryAmount => {
|
|
9723
9735
|
return {
|
|
9724
|
-
amount:
|
|
9736
|
+
amount: __limitedParseDouble(output.amount),
|
|
9725
9737
|
currencyCode: __expectString(output.currencyCode),
|
|
9726
9738
|
} as any;
|
|
9727
9739
|
};
|
|
@@ -9730,16 +9742,16 @@ const deserializeAws_json1_1NetworkProfile = (output: any, context: __SerdeConte
|
|
|
9730
9742
|
return {
|
|
9731
9743
|
arn: __expectString(output.arn),
|
|
9732
9744
|
description: __expectString(output.description),
|
|
9733
|
-
downlinkBandwidthBits:
|
|
9734
|
-
downlinkDelayMs:
|
|
9735
|
-
downlinkJitterMs:
|
|
9736
|
-
downlinkLossPercent:
|
|
9745
|
+
downlinkBandwidthBits: __expectLong(output.downlinkBandwidthBits),
|
|
9746
|
+
downlinkDelayMs: __expectLong(output.downlinkDelayMs),
|
|
9747
|
+
downlinkJitterMs: __expectLong(output.downlinkJitterMs),
|
|
9748
|
+
downlinkLossPercent: __expectInt32(output.downlinkLossPercent),
|
|
9737
9749
|
name: __expectString(output.name),
|
|
9738
9750
|
type: __expectString(output.type),
|
|
9739
|
-
uplinkBandwidthBits:
|
|
9740
|
-
uplinkDelayMs:
|
|
9741
|
-
uplinkJitterMs:
|
|
9742
|
-
uplinkLossPercent:
|
|
9751
|
+
uplinkBandwidthBits: __expectLong(output.uplinkBandwidthBits),
|
|
9752
|
+
uplinkDelayMs: __expectLong(output.uplinkDelayMs),
|
|
9753
|
+
uplinkJitterMs: __expectLong(output.uplinkJitterMs),
|
|
9754
|
+
uplinkLossPercent: __expectInt32(output.uplinkLossPercent),
|
|
9743
9755
|
} as any;
|
|
9744
9756
|
};
|
|
9745
9757
|
|
|
@@ -9812,13 +9824,13 @@ const deserializeAws_json1_1OfferingStatus = (output: any, context: __SerdeConte
|
|
|
9812
9824
|
return {
|
|
9813
9825
|
effectiveOn:
|
|
9814
9826
|
output.effectiveOn !== undefined && output.effectiveOn !== null
|
|
9815
|
-
?
|
|
9827
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.effectiveOn)))
|
|
9816
9828
|
: undefined,
|
|
9817
9829
|
offering:
|
|
9818
9830
|
output.offering !== undefined && output.offering !== null
|
|
9819
9831
|
? deserializeAws_json1_1Offering(output.offering, context)
|
|
9820
9832
|
: undefined,
|
|
9821
|
-
quantity:
|
|
9833
|
+
quantity: __expectInt32(output.quantity),
|
|
9822
9834
|
type: __expectString(output.type),
|
|
9823
9835
|
} as any;
|
|
9824
9836
|
};
|
|
@@ -9846,7 +9858,7 @@ const deserializeAws_json1_1OfferingTransaction = (output: any, context: __Serde
|
|
|
9846
9858
|
: undefined,
|
|
9847
9859
|
createdOn:
|
|
9848
9860
|
output.createdOn !== undefined && output.createdOn !== null
|
|
9849
|
-
?
|
|
9861
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdOn)))
|
|
9850
9862
|
: undefined,
|
|
9851
9863
|
offeringPromotionId: __expectString(output.offeringPromotionId),
|
|
9852
9864
|
offeringStatus:
|
|
@@ -9928,8 +9940,10 @@ const deserializeAws_json1_1Project = (output: any, context: __SerdeContext): Pr
|
|
|
9928
9940
|
return {
|
|
9929
9941
|
arn: __expectString(output.arn),
|
|
9930
9942
|
created:
|
|
9931
|
-
output.created !== undefined && output.created !== null
|
|
9932
|
-
|
|
9943
|
+
output.created !== undefined && output.created !== null
|
|
9944
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.created)))
|
|
9945
|
+
: undefined,
|
|
9946
|
+
defaultJobTimeoutMinutes: __expectInt32(output.defaultJobTimeoutMinutes),
|
|
9933
9947
|
name: __expectString(output.name),
|
|
9934
9948
|
} as any;
|
|
9935
9949
|
};
|
|
@@ -9953,7 +9967,7 @@ const deserializeAws_json1_1PurchasedDevicesMap = (output: any, context: __Serde
|
|
|
9953
9967
|
}
|
|
9954
9968
|
return {
|
|
9955
9969
|
...acc,
|
|
9956
|
-
[key]:
|
|
9970
|
+
[key]: __expectInt32(value) as any,
|
|
9957
9971
|
};
|
|
9958
9972
|
},
|
|
9959
9973
|
{}
|
|
@@ -10005,7 +10019,9 @@ const deserializeAws_json1_1RemoteAccessSession = (output: any, context: __Serde
|
|
|
10005
10019
|
billingMethod: __expectString(output.billingMethod),
|
|
10006
10020
|
clientId: __expectString(output.clientId),
|
|
10007
10021
|
created:
|
|
10008
|
-
output.created !== undefined && output.created !== null
|
|
10022
|
+
output.created !== undefined && output.created !== null
|
|
10023
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.created)))
|
|
10024
|
+
: undefined,
|
|
10009
10025
|
device:
|
|
10010
10026
|
output.device !== undefined && output.device !== null
|
|
10011
10027
|
? deserializeAws_json1_1Device(output.device, context)
|
|
@@ -10027,10 +10043,14 @@ const deserializeAws_json1_1RemoteAccessSession = (output: any, context: __Serde
|
|
|
10027
10043
|
result: __expectString(output.result),
|
|
10028
10044
|
skipAppResign: __expectBoolean(output.skipAppResign),
|
|
10029
10045
|
started:
|
|
10030
|
-
output.started !== undefined && output.started !== null
|
|
10046
|
+
output.started !== undefined && output.started !== null
|
|
10047
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.started)))
|
|
10048
|
+
: undefined,
|
|
10031
10049
|
status: __expectString(output.status),
|
|
10032
10050
|
stopped:
|
|
10033
|
-
output.stopped !== undefined && output.stopped !== null
|
|
10051
|
+
output.stopped !== undefined && output.stopped !== null
|
|
10052
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.stopped)))
|
|
10053
|
+
: undefined,
|
|
10034
10054
|
} as any;
|
|
10035
10055
|
};
|
|
10036
10056
|
|
|
@@ -10056,8 +10076,8 @@ const deserializeAws_json1_1RenewOfferingResult = (output: any, context: __Serde
|
|
|
10056
10076
|
|
|
10057
10077
|
const deserializeAws_json1_1Resolution = (output: any, context: __SerdeContext): Resolution => {
|
|
10058
10078
|
return {
|
|
10059
|
-
height:
|
|
10060
|
-
width:
|
|
10079
|
+
height: __expectInt32(output.height),
|
|
10080
|
+
width: __expectInt32(output.width),
|
|
10061
10081
|
} as any;
|
|
10062
10082
|
};
|
|
10063
10083
|
|
|
@@ -10085,13 +10105,15 @@ const deserializeAws_json1_1Run = (output: any, context: __SerdeContext): Run =>
|
|
|
10085
10105
|
appUpload: __expectString(output.appUpload),
|
|
10086
10106
|
arn: __expectString(output.arn),
|
|
10087
10107
|
billingMethod: __expectString(output.billingMethod),
|
|
10088
|
-
completedJobs:
|
|
10108
|
+
completedJobs: __expectInt32(output.completedJobs),
|
|
10089
10109
|
counters:
|
|
10090
10110
|
output.counters !== undefined && output.counters !== null
|
|
10091
10111
|
? deserializeAws_json1_1Counters(output.counters, context)
|
|
10092
10112
|
: undefined,
|
|
10093
10113
|
created:
|
|
10094
|
-
output.created !== undefined && output.created !== null
|
|
10114
|
+
output.created !== undefined && output.created !== null
|
|
10115
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.created)))
|
|
10116
|
+
: undefined,
|
|
10095
10117
|
customerArtifactPaths:
|
|
10096
10118
|
output.customerArtifactPaths !== undefined && output.customerArtifactPaths !== null
|
|
10097
10119
|
? deserializeAws_json1_1CustomerArtifactPaths(output.customerArtifactPaths, context)
|
|
@@ -10105,8 +10127,8 @@ const deserializeAws_json1_1Run = (output: any, context: __SerdeContext): Run =>
|
|
|
10105
10127
|
output.deviceSelectionResult !== undefined && output.deviceSelectionResult !== null
|
|
10106
10128
|
? deserializeAws_json1_1DeviceSelectionResult(output.deviceSelectionResult, context)
|
|
10107
10129
|
: undefined,
|
|
10108
|
-
eventCount:
|
|
10109
|
-
jobTimeoutMinutes:
|
|
10130
|
+
eventCount: __expectInt32(output.eventCount),
|
|
10131
|
+
jobTimeoutMinutes: __expectInt32(output.jobTimeoutMinutes),
|
|
10110
10132
|
locale: __expectString(output.locale),
|
|
10111
10133
|
location:
|
|
10112
10134
|
output.location !== undefined && output.location !== null
|
|
@@ -10126,15 +10148,19 @@ const deserializeAws_json1_1Run = (output: any, context: __SerdeContext): Run =>
|
|
|
10126
10148
|
: undefined,
|
|
10127
10149
|
result: __expectString(output.result),
|
|
10128
10150
|
resultCode: __expectString(output.resultCode),
|
|
10129
|
-
seed:
|
|
10151
|
+
seed: __expectInt32(output.seed),
|
|
10130
10152
|
skipAppResign: __expectBoolean(output.skipAppResign),
|
|
10131
10153
|
started:
|
|
10132
|
-
output.started !== undefined && output.started !== null
|
|
10154
|
+
output.started !== undefined && output.started !== null
|
|
10155
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.started)))
|
|
10156
|
+
: undefined,
|
|
10133
10157
|
status: __expectString(output.status),
|
|
10134
10158
|
stopped:
|
|
10135
|
-
output.stopped !== undefined && output.stopped !== null
|
|
10159
|
+
output.stopped !== undefined && output.stopped !== null
|
|
10160
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.stopped)))
|
|
10161
|
+
: undefined,
|
|
10136
10162
|
testSpecArn: __expectString(output.testSpecArn),
|
|
10137
|
-
totalJobs:
|
|
10163
|
+
totalJobs: __expectInt32(output.totalJobs),
|
|
10138
10164
|
type: __expectString(output.type),
|
|
10139
10165
|
webUrl: __expectString(output.webUrl),
|
|
10140
10166
|
} as any;
|
|
@@ -10239,7 +10265,9 @@ const deserializeAws_json1_1Suite = (output: any, context: __SerdeContext): Suit
|
|
|
10239
10265
|
? deserializeAws_json1_1Counters(output.counters, context)
|
|
10240
10266
|
: undefined,
|
|
10241
10267
|
created:
|
|
10242
|
-
output.created !== undefined && output.created !== null
|
|
10268
|
+
output.created !== undefined && output.created !== null
|
|
10269
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.created)))
|
|
10270
|
+
: undefined,
|
|
10243
10271
|
deviceMinutes:
|
|
10244
10272
|
output.deviceMinutes !== undefined && output.deviceMinutes !== null
|
|
10245
10273
|
? deserializeAws_json1_1DeviceMinutes(output.deviceMinutes, context)
|
|
@@ -10248,10 +10276,14 @@ const deserializeAws_json1_1Suite = (output: any, context: __SerdeContext): Suit
|
|
|
10248
10276
|
name: __expectString(output.name),
|
|
10249
10277
|
result: __expectString(output.result),
|
|
10250
10278
|
started:
|
|
10251
|
-
output.started !== undefined && output.started !== null
|
|
10279
|
+
output.started !== undefined && output.started !== null
|
|
10280
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.started)))
|
|
10281
|
+
: undefined,
|
|
10252
10282
|
status: __expectString(output.status),
|
|
10253
10283
|
stopped:
|
|
10254
|
-
output.stopped !== undefined && output.stopped !== null
|
|
10284
|
+
output.stopped !== undefined && output.stopped !== null
|
|
10285
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.stopped)))
|
|
10286
|
+
: undefined,
|
|
10255
10287
|
type: __expectString(output.type),
|
|
10256
10288
|
} as any;
|
|
10257
10289
|
};
|
|
@@ -10311,7 +10343,9 @@ const deserializeAws_json1_1Test = (output: any, context: __SerdeContext): Test
|
|
|
10311
10343
|
? deserializeAws_json1_1Counters(output.counters, context)
|
|
10312
10344
|
: undefined,
|
|
10313
10345
|
created:
|
|
10314
|
-
output.created !== undefined && output.created !== null
|
|
10346
|
+
output.created !== undefined && output.created !== null
|
|
10347
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.created)))
|
|
10348
|
+
: undefined,
|
|
10315
10349
|
deviceMinutes:
|
|
10316
10350
|
output.deviceMinutes !== undefined && output.deviceMinutes !== null
|
|
10317
10351
|
? deserializeAws_json1_1DeviceMinutes(output.deviceMinutes, context)
|
|
@@ -10320,10 +10354,14 @@ const deserializeAws_json1_1Test = (output: any, context: __SerdeContext): Test
|
|
|
10320
10354
|
name: __expectString(output.name),
|
|
10321
10355
|
result: __expectString(output.result),
|
|
10322
10356
|
started:
|
|
10323
|
-
output.started !== undefined && output.started !== null
|
|
10357
|
+
output.started !== undefined && output.started !== null
|
|
10358
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.started)))
|
|
10359
|
+
: undefined,
|
|
10324
10360
|
status: __expectString(output.status),
|
|
10325
10361
|
stopped:
|
|
10326
|
-
output.stopped !== undefined && output.stopped !== null
|
|
10362
|
+
output.stopped !== undefined && output.stopped !== null
|
|
10363
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.stopped)))
|
|
10364
|
+
: undefined,
|
|
10327
10365
|
type: __expectString(output.type),
|
|
10328
10366
|
} as any;
|
|
10329
10367
|
};
|
|
@@ -10332,7 +10370,9 @@ const deserializeAws_json1_1TestGridProject = (output: any, context: __SerdeCont
|
|
|
10332
10370
|
return {
|
|
10333
10371
|
arn: __expectString(output.arn),
|
|
10334
10372
|
created:
|
|
10335
|
-
output.created !== undefined && output.created !== null
|
|
10373
|
+
output.created !== undefined && output.created !== null
|
|
10374
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.created)))
|
|
10375
|
+
: undefined,
|
|
10336
10376
|
description: __expectString(output.description),
|
|
10337
10377
|
name: __expectString(output.name),
|
|
10338
10378
|
vpcConfig:
|
|
@@ -10356,10 +10396,15 @@ const deserializeAws_json1_1TestGridProjects = (output: any, context: __SerdeCon
|
|
|
10356
10396
|
const deserializeAws_json1_1TestGridSession = (output: any, context: __SerdeContext): TestGridSession => {
|
|
10357
10397
|
return {
|
|
10358
10398
|
arn: __expectString(output.arn),
|
|
10359
|
-
billingMinutes:
|
|
10399
|
+
billingMinutes: __limitedParseDouble(output.billingMinutes),
|
|
10360
10400
|
created:
|
|
10361
|
-
output.created !== undefined && output.created !== null
|
|
10362
|
-
|
|
10401
|
+
output.created !== undefined && output.created !== null
|
|
10402
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.created)))
|
|
10403
|
+
: undefined,
|
|
10404
|
+
ended:
|
|
10405
|
+
output.ended !== undefined && output.ended !== null
|
|
10406
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ended)))
|
|
10407
|
+
: undefined,
|
|
10363
10408
|
seleniumProperties: __expectString(output.seleniumProperties),
|
|
10364
10409
|
status: __expectString(output.status),
|
|
10365
10410
|
} as any;
|
|
@@ -10368,10 +10413,12 @@ const deserializeAws_json1_1TestGridSession = (output: any, context: __SerdeCont
|
|
|
10368
10413
|
const deserializeAws_json1_1TestGridSessionAction = (output: any, context: __SerdeContext): TestGridSessionAction => {
|
|
10369
10414
|
return {
|
|
10370
10415
|
action: __expectString(output.action),
|
|
10371
|
-
duration:
|
|
10416
|
+
duration: __expectLong(output.duration),
|
|
10372
10417
|
requestMethod: __expectString(output.requestMethod),
|
|
10373
10418
|
started:
|
|
10374
|
-
output.started !== undefined && output.started !== null
|
|
10419
|
+
output.started !== undefined && output.started !== null
|
|
10420
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.started)))
|
|
10421
|
+
: undefined,
|
|
10375
10422
|
statusCode: __expectString(output.statusCode),
|
|
10376
10423
|
} as any;
|
|
10377
10424
|
};
|
|
@@ -10460,8 +10507,8 @@ const deserializeAws_json1_1TooManyTagsException = (output: any, context: __Serd
|
|
|
10460
10507
|
|
|
10461
10508
|
const deserializeAws_json1_1TrialMinutes = (output: any, context: __SerdeContext): TrialMinutes => {
|
|
10462
10509
|
return {
|
|
10463
|
-
remaining:
|
|
10464
|
-
total:
|
|
10510
|
+
remaining: __limitedParseDouble(output.remaining),
|
|
10511
|
+
total: __limitedParseDouble(output.total),
|
|
10465
10512
|
} as any;
|
|
10466
10513
|
};
|
|
10467
10514
|
|
|
@@ -10601,7 +10648,9 @@ const deserializeAws_json1_1Upload = (output: any, context: __SerdeContext): Upl
|
|
|
10601
10648
|
category: __expectString(output.category),
|
|
10602
10649
|
contentType: __expectString(output.contentType),
|
|
10603
10650
|
created:
|
|
10604
|
-
output.created !== undefined && output.created !== null
|
|
10651
|
+
output.created !== undefined && output.created !== null
|
|
10652
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.created)))
|
|
10653
|
+
: undefined,
|
|
10605
10654
|
message: __expectString(output.message),
|
|
10606
10655
|
metadata: __expectString(output.metadata),
|
|
10607
10656
|
name: __expectString(output.name),
|