@aws-sdk/client-device-farm 3.121.0 → 3.127.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 +8 -0
- package/dist-cjs/protocols/Aws_json1_1.js +386 -644
- package/dist-es/protocols/Aws_json1_1.js +241 -499
- package/package.json +26 -26
|
@@ -5806,105 +5806,77 @@ var serializeAws_json1_1AndroidPaths = function (input, context) {
|
|
|
5806
5806
|
});
|
|
5807
5807
|
};
|
|
5808
5808
|
var serializeAws_json1_1CreateDevicePoolRequest = function (input, context) {
|
|
5809
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.description
|
|
5810
|
-
input.rules !== null && { rules: serializeAws_json1_1Rules(input.rules, context) }));
|
|
5809
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.description != null && { description: input.description })), (input.maxDevices != null && { maxDevices: input.maxDevices })), (input.name != null && { name: input.name })), (input.projectArn != null && { projectArn: input.projectArn })), (input.rules != null && { rules: serializeAws_json1_1Rules(input.rules, context) }));
|
|
5811
5810
|
};
|
|
5812
5811
|
var serializeAws_json1_1CreateInstanceProfileRequest = function (input, context) {
|
|
5813
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.description
|
|
5814
|
-
input.excludeAppPackagesFromCleanup !== null && {
|
|
5812
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.description != null && { description: input.description })), (input.excludeAppPackagesFromCleanup != null && {
|
|
5815
5813
|
excludeAppPackagesFromCleanup: serializeAws_json1_1PackageIds(input.excludeAppPackagesFromCleanup, context),
|
|
5816
|
-
})), (input.name
|
|
5817
|
-
input.packageCleanup !== null && { packageCleanup: input.packageCleanup })), (input.rebootAfterUse !== undefined &&
|
|
5818
|
-
input.rebootAfterUse !== null && { rebootAfterUse: input.rebootAfterUse }));
|
|
5814
|
+
})), (input.name != null && { name: input.name })), (input.packageCleanup != null && { packageCleanup: input.packageCleanup })), (input.rebootAfterUse != null && { rebootAfterUse: input.rebootAfterUse }));
|
|
5819
5815
|
};
|
|
5820
5816
|
var serializeAws_json1_1CreateNetworkProfileRequest = function (input, context) {
|
|
5821
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.description
|
|
5822
|
-
input.downlinkBandwidthBits !== null && { downlinkBandwidthBits: input.downlinkBandwidthBits })), (input.downlinkDelayMs !== undefined &&
|
|
5823
|
-
input.downlinkDelayMs !== null && { downlinkDelayMs: input.downlinkDelayMs })), (input.downlinkJitterMs !== undefined &&
|
|
5824
|
-
input.downlinkJitterMs !== null && { downlinkJitterMs: input.downlinkJitterMs })), (input.downlinkLossPercent !== undefined &&
|
|
5825
|
-
input.downlinkLossPercent !== null && { downlinkLossPercent: input.downlinkLossPercent })), (input.name !== undefined && input.name !== null && { name: input.name })), (input.projectArn !== undefined && input.projectArn !== null && { projectArn: input.projectArn })), (input.type !== undefined && input.type !== null && { type: input.type })), (input.uplinkBandwidthBits !== undefined &&
|
|
5826
|
-
input.uplinkBandwidthBits !== null && { uplinkBandwidthBits: input.uplinkBandwidthBits })), (input.uplinkDelayMs !== undefined && input.uplinkDelayMs !== null && { uplinkDelayMs: input.uplinkDelayMs })), (input.uplinkJitterMs !== undefined &&
|
|
5827
|
-
input.uplinkJitterMs !== null && { uplinkJitterMs: input.uplinkJitterMs })), (input.uplinkLossPercent !== undefined &&
|
|
5828
|
-
input.uplinkLossPercent !== null && { uplinkLossPercent: input.uplinkLossPercent }));
|
|
5817
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.description != null && { description: input.description })), (input.downlinkBandwidthBits != null && { downlinkBandwidthBits: input.downlinkBandwidthBits })), (input.downlinkDelayMs != null && { downlinkDelayMs: input.downlinkDelayMs })), (input.downlinkJitterMs != null && { downlinkJitterMs: input.downlinkJitterMs })), (input.downlinkLossPercent != null && { downlinkLossPercent: input.downlinkLossPercent })), (input.name != null && { name: input.name })), (input.projectArn != null && { projectArn: input.projectArn })), (input.type != null && { type: input.type })), (input.uplinkBandwidthBits != null && { uplinkBandwidthBits: input.uplinkBandwidthBits })), (input.uplinkDelayMs != null && { uplinkDelayMs: input.uplinkDelayMs })), (input.uplinkJitterMs != null && { uplinkJitterMs: input.uplinkJitterMs })), (input.uplinkLossPercent != null && { uplinkLossPercent: input.uplinkLossPercent }));
|
|
5829
5818
|
};
|
|
5830
5819
|
var serializeAws_json1_1CreateProjectRequest = function (input, context) {
|
|
5831
|
-
return __assign(__assign({}, (input.defaultJobTimeoutMinutes
|
|
5832
|
-
input.defaultJobTimeoutMinutes !== null && { defaultJobTimeoutMinutes: input.defaultJobTimeoutMinutes })), (input.name !== undefined && input.name !== null && { name: input.name }));
|
|
5820
|
+
return __assign(__assign({}, (input.defaultJobTimeoutMinutes != null && { defaultJobTimeoutMinutes: input.defaultJobTimeoutMinutes })), (input.name != null && { name: input.name }));
|
|
5833
5821
|
};
|
|
5834
5822
|
var serializeAws_json1_1CreateRemoteAccessSessionConfiguration = function (input, context) {
|
|
5835
|
-
return __assign(__assign({}, (input.billingMethod
|
|
5836
|
-
input.vpceConfigurationArns !== null && {
|
|
5823
|
+
return __assign(__assign({}, (input.billingMethod != null && { billingMethod: input.billingMethod })), (input.vpceConfigurationArns != null && {
|
|
5837
5824
|
vpceConfigurationArns: serializeAws_json1_1AmazonResourceNames(input.vpceConfigurationArns, context),
|
|
5838
5825
|
}));
|
|
5839
5826
|
};
|
|
5840
5827
|
var serializeAws_json1_1CreateRemoteAccessSessionRequest = function (input, context) {
|
|
5841
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.clientId
|
|
5842
|
-
input.configuration !== null && {
|
|
5828
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.clientId != null && { clientId: input.clientId })), (input.configuration != null && {
|
|
5843
5829
|
configuration: serializeAws_json1_1CreateRemoteAccessSessionConfiguration(input.configuration, context),
|
|
5844
|
-
})), (input.deviceArn
|
|
5845
|
-
input.interactionMode !== null && { interactionMode: input.interactionMode })), (input.name !== undefined && input.name !== null && { name: input.name })), (input.projectArn !== undefined && input.projectArn !== null && { projectArn: input.projectArn })), (input.remoteDebugEnabled !== undefined &&
|
|
5846
|
-
input.remoteDebugEnabled !== null && { remoteDebugEnabled: input.remoteDebugEnabled })), (input.remoteRecordAppArn !== undefined &&
|
|
5847
|
-
input.remoteRecordAppArn !== null && { remoteRecordAppArn: input.remoteRecordAppArn })), (input.remoteRecordEnabled !== undefined &&
|
|
5848
|
-
input.remoteRecordEnabled !== null && { remoteRecordEnabled: input.remoteRecordEnabled })), (input.skipAppResign !== undefined && input.skipAppResign !== null && { skipAppResign: input.skipAppResign })), (input.sshPublicKey !== undefined && input.sshPublicKey !== null && { sshPublicKey: input.sshPublicKey }));
|
|
5830
|
+
})), (input.deviceArn != null && { deviceArn: input.deviceArn })), (input.instanceArn != null && { instanceArn: input.instanceArn })), (input.interactionMode != null && { interactionMode: input.interactionMode })), (input.name != null && { name: input.name })), (input.projectArn != null && { projectArn: input.projectArn })), (input.remoteDebugEnabled != null && { remoteDebugEnabled: input.remoteDebugEnabled })), (input.remoteRecordAppArn != null && { remoteRecordAppArn: input.remoteRecordAppArn })), (input.remoteRecordEnabled != null && { remoteRecordEnabled: input.remoteRecordEnabled })), (input.skipAppResign != null && { skipAppResign: input.skipAppResign })), (input.sshPublicKey != null && { sshPublicKey: input.sshPublicKey }));
|
|
5849
5831
|
};
|
|
5850
5832
|
var serializeAws_json1_1CreateTestGridProjectRequest = function (input, context) {
|
|
5851
|
-
return __assign(__assign(__assign({}, (input.description
|
|
5852
|
-
input.vpcConfig !== null && { vpcConfig: serializeAws_json1_1TestGridVpcConfig(input.vpcConfig, context) }));
|
|
5833
|
+
return __assign(__assign(__assign({}, (input.description != null && { description: input.description })), (input.name != null && { name: input.name })), (input.vpcConfig != null && { vpcConfig: serializeAws_json1_1TestGridVpcConfig(input.vpcConfig, context) }));
|
|
5853
5834
|
};
|
|
5854
5835
|
var serializeAws_json1_1CreateTestGridUrlRequest = function (input, context) {
|
|
5855
|
-
return __assign(__assign({}, (input.expiresInSeconds
|
|
5856
|
-
input.expiresInSeconds !== null && { expiresInSeconds: input.expiresInSeconds })), (input.projectArn !== undefined && input.projectArn !== null && { projectArn: input.projectArn }));
|
|
5836
|
+
return __assign(__assign({}, (input.expiresInSeconds != null && { expiresInSeconds: input.expiresInSeconds })), (input.projectArn != null && { projectArn: input.projectArn }));
|
|
5857
5837
|
};
|
|
5858
5838
|
var serializeAws_json1_1CreateUploadRequest = function (input, context) {
|
|
5859
|
-
return __assign(__assign(__assign(__assign({}, (input.contentType
|
|
5839
|
+
return __assign(__assign(__assign(__assign({}, (input.contentType != null && { contentType: input.contentType })), (input.name != null && { name: input.name })), (input.projectArn != null && { projectArn: input.projectArn })), (input.type != null && { type: input.type }));
|
|
5860
5840
|
};
|
|
5861
5841
|
var serializeAws_json1_1CreateVPCEConfigurationRequest = function (input, context) {
|
|
5862
|
-
return __assign(__assign(__assign(__assign({}, (input.serviceDnsName
|
|
5863
|
-
input.serviceDnsName !== null && { serviceDnsName: input.serviceDnsName })), (input.vpceConfigurationDescription !== undefined &&
|
|
5864
|
-
input.vpceConfigurationDescription !== null && {
|
|
5842
|
+
return __assign(__assign(__assign(__assign({}, (input.serviceDnsName != null && { serviceDnsName: input.serviceDnsName })), (input.vpceConfigurationDescription != null && {
|
|
5865
5843
|
vpceConfigurationDescription: input.vpceConfigurationDescription,
|
|
5866
|
-
})), (input.vpceConfigurationName
|
|
5867
|
-
input.vpceConfigurationName !== null && { vpceConfigurationName: input.vpceConfigurationName })), (input.vpceServiceName !== undefined &&
|
|
5868
|
-
input.vpceServiceName !== null && { vpceServiceName: input.vpceServiceName }));
|
|
5844
|
+
})), (input.vpceConfigurationName != null && { vpceConfigurationName: input.vpceConfigurationName })), (input.vpceServiceName != null && { vpceServiceName: input.vpceServiceName }));
|
|
5869
5845
|
};
|
|
5870
5846
|
var serializeAws_json1_1CustomerArtifactPaths = function (input, context) {
|
|
5871
|
-
return __assign(__assign(__assign({}, (input.androidPaths
|
|
5872
|
-
input.androidPaths !== null && { androidPaths: serializeAws_json1_1AndroidPaths(input.androidPaths, context) })), (input.deviceHostPaths !== undefined &&
|
|
5873
|
-
input.deviceHostPaths !== null && {
|
|
5847
|
+
return __assign(__assign(__assign({}, (input.androidPaths != null && { androidPaths: serializeAws_json1_1AndroidPaths(input.androidPaths, context) })), (input.deviceHostPaths != null && {
|
|
5874
5848
|
deviceHostPaths: serializeAws_json1_1DeviceHostPaths(input.deviceHostPaths, context),
|
|
5875
|
-
})), (input.iosPaths
|
|
5876
|
-
input.iosPaths !== null && { iosPaths: serializeAws_json1_1IosPaths(input.iosPaths, context) }));
|
|
5849
|
+
})), (input.iosPaths != null && { iosPaths: serializeAws_json1_1IosPaths(input.iosPaths, context) }));
|
|
5877
5850
|
};
|
|
5878
5851
|
var serializeAws_json1_1DeleteDevicePoolRequest = function (input, context) {
|
|
5879
|
-
return __assign({}, (input.arn
|
|
5852
|
+
return __assign({}, (input.arn != null && { arn: input.arn }));
|
|
5880
5853
|
};
|
|
5881
5854
|
var serializeAws_json1_1DeleteInstanceProfileRequest = function (input, context) {
|
|
5882
|
-
return __assign({}, (input.arn
|
|
5855
|
+
return __assign({}, (input.arn != null && { arn: input.arn }));
|
|
5883
5856
|
};
|
|
5884
5857
|
var serializeAws_json1_1DeleteNetworkProfileRequest = function (input, context) {
|
|
5885
|
-
return __assign({}, (input.arn
|
|
5858
|
+
return __assign({}, (input.arn != null && { arn: input.arn }));
|
|
5886
5859
|
};
|
|
5887
5860
|
var serializeAws_json1_1DeleteProjectRequest = function (input, context) {
|
|
5888
|
-
return __assign({}, (input.arn
|
|
5861
|
+
return __assign({}, (input.arn != null && { arn: input.arn }));
|
|
5889
5862
|
};
|
|
5890
5863
|
var serializeAws_json1_1DeleteRemoteAccessSessionRequest = function (input, context) {
|
|
5891
|
-
return __assign({}, (input.arn
|
|
5864
|
+
return __assign({}, (input.arn != null && { arn: input.arn }));
|
|
5892
5865
|
};
|
|
5893
5866
|
var serializeAws_json1_1DeleteRunRequest = function (input, context) {
|
|
5894
|
-
return __assign({}, (input.arn
|
|
5867
|
+
return __assign({}, (input.arn != null && { arn: input.arn }));
|
|
5895
5868
|
};
|
|
5896
5869
|
var serializeAws_json1_1DeleteTestGridProjectRequest = function (input, context) {
|
|
5897
|
-
return __assign({}, (input.projectArn
|
|
5870
|
+
return __assign({}, (input.projectArn != null && { projectArn: input.projectArn }));
|
|
5898
5871
|
};
|
|
5899
5872
|
var serializeAws_json1_1DeleteUploadRequest = function (input, context) {
|
|
5900
|
-
return __assign({}, (input.arn
|
|
5873
|
+
return __assign({}, (input.arn != null && { arn: input.arn }));
|
|
5901
5874
|
};
|
|
5902
5875
|
var serializeAws_json1_1DeleteVPCEConfigurationRequest = function (input, context) {
|
|
5903
|
-
return __assign({}, (input.arn
|
|
5876
|
+
return __assign({}, (input.arn != null && { arn: input.arn }));
|
|
5904
5877
|
};
|
|
5905
5878
|
var serializeAws_json1_1DeviceFilter = function (input, context) {
|
|
5906
|
-
return __assign(__assign(__assign({}, (input.attribute
|
|
5907
|
-
input.values !== null && { values: serializeAws_json1_1DeviceFilterValues(input.values, context) }));
|
|
5879
|
+
return __assign(__assign(__assign({}, (input.attribute != null && { attribute: input.attribute })), (input.operator != null && { operator: input.operator })), (input.values != null && { values: serializeAws_json1_1DeviceFilterValues(input.values, context) }));
|
|
5908
5880
|
};
|
|
5909
5881
|
var serializeAws_json1_1DeviceFilters = function (input, context) {
|
|
5910
5882
|
return input
|
|
@@ -5937,76 +5909,69 @@ var serializeAws_json1_1DeviceHostPaths = function (input, context) {
|
|
|
5937
5909
|
});
|
|
5938
5910
|
};
|
|
5939
5911
|
var serializeAws_json1_1DeviceSelectionConfiguration = function (input, context) {
|
|
5940
|
-
return __assign(__assign({}, (input.filters
|
|
5941
|
-
input.filters !== null && { filters: serializeAws_json1_1DeviceFilters(input.filters, context) })), (input.maxDevices !== undefined && input.maxDevices !== null && { maxDevices: input.maxDevices }));
|
|
5912
|
+
return __assign(__assign({}, (input.filters != null && { filters: serializeAws_json1_1DeviceFilters(input.filters, context) })), (input.maxDevices != null && { maxDevices: input.maxDevices }));
|
|
5942
5913
|
};
|
|
5943
5914
|
var serializeAws_json1_1ExecutionConfiguration = function (input, context) {
|
|
5944
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.accountsCleanup
|
|
5945
|
-
input.accountsCleanup !== null && { accountsCleanup: input.accountsCleanup })), (input.appPackagesCleanup !== undefined &&
|
|
5946
|
-
input.appPackagesCleanup !== null && { appPackagesCleanup: input.appPackagesCleanup })), (input.jobTimeoutMinutes !== undefined &&
|
|
5947
|
-
input.jobTimeoutMinutes !== null && { jobTimeoutMinutes: input.jobTimeoutMinutes })), (input.skipAppResign !== undefined && input.skipAppResign !== null && { skipAppResign: input.skipAppResign })), (input.videoCapture !== undefined && input.videoCapture !== null && { videoCapture: input.videoCapture }));
|
|
5915
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.accountsCleanup != null && { accountsCleanup: input.accountsCleanup })), (input.appPackagesCleanup != null && { appPackagesCleanup: input.appPackagesCleanup })), (input.jobTimeoutMinutes != null && { jobTimeoutMinutes: input.jobTimeoutMinutes })), (input.skipAppResign != null && { skipAppResign: input.skipAppResign })), (input.videoCapture != null && { videoCapture: input.videoCapture }));
|
|
5948
5916
|
};
|
|
5949
5917
|
var serializeAws_json1_1GetAccountSettingsRequest = function (input, context) {
|
|
5950
5918
|
return {};
|
|
5951
5919
|
};
|
|
5952
5920
|
var serializeAws_json1_1GetDeviceInstanceRequest = function (input, context) {
|
|
5953
|
-
return __assign({}, (input.arn
|
|
5921
|
+
return __assign({}, (input.arn != null && { arn: input.arn }));
|
|
5954
5922
|
};
|
|
5955
5923
|
var serializeAws_json1_1GetDevicePoolCompatibilityRequest = function (input, context) {
|
|
5956
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.appArn
|
|
5957
|
-
input.configuration !== null && {
|
|
5924
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.appArn != null && { appArn: input.appArn })), (input.configuration != null && {
|
|
5958
5925
|
configuration: serializeAws_json1_1ScheduleRunConfiguration(input.configuration, context),
|
|
5959
|
-
})), (input.devicePoolArn
|
|
5960
|
-
input.test !== null && { test: serializeAws_json1_1ScheduleRunTest(input.test, context) })), (input.testType !== undefined && input.testType !== null && { testType: input.testType }));
|
|
5926
|
+
})), (input.devicePoolArn != null && { devicePoolArn: input.devicePoolArn })), (input.test != null && { test: serializeAws_json1_1ScheduleRunTest(input.test, context) })), (input.testType != null && { testType: input.testType }));
|
|
5961
5927
|
};
|
|
5962
5928
|
var serializeAws_json1_1GetDevicePoolRequest = function (input, context) {
|
|
5963
|
-
return __assign({}, (input.arn
|
|
5929
|
+
return __assign({}, (input.arn != null && { arn: input.arn }));
|
|
5964
5930
|
};
|
|
5965
5931
|
var serializeAws_json1_1GetDeviceRequest = function (input, context) {
|
|
5966
|
-
return __assign({}, (input.arn
|
|
5932
|
+
return __assign({}, (input.arn != null && { arn: input.arn }));
|
|
5967
5933
|
};
|
|
5968
5934
|
var serializeAws_json1_1GetInstanceProfileRequest = function (input, context) {
|
|
5969
|
-
return __assign({}, (input.arn
|
|
5935
|
+
return __assign({}, (input.arn != null && { arn: input.arn }));
|
|
5970
5936
|
};
|
|
5971
5937
|
var serializeAws_json1_1GetJobRequest = function (input, context) {
|
|
5972
|
-
return __assign({}, (input.arn
|
|
5938
|
+
return __assign({}, (input.arn != null && { arn: input.arn }));
|
|
5973
5939
|
};
|
|
5974
5940
|
var serializeAws_json1_1GetNetworkProfileRequest = function (input, context) {
|
|
5975
|
-
return __assign({}, (input.arn
|
|
5941
|
+
return __assign({}, (input.arn != null && { arn: input.arn }));
|
|
5976
5942
|
};
|
|
5977
5943
|
var serializeAws_json1_1GetOfferingStatusRequest = function (input, context) {
|
|
5978
|
-
return __assign({}, (input.nextToken
|
|
5944
|
+
return __assign({}, (input.nextToken != null && { nextToken: input.nextToken }));
|
|
5979
5945
|
};
|
|
5980
5946
|
var serializeAws_json1_1GetProjectRequest = function (input, context) {
|
|
5981
|
-
return __assign({}, (input.arn
|
|
5947
|
+
return __assign({}, (input.arn != null && { arn: input.arn }));
|
|
5982
5948
|
};
|
|
5983
5949
|
var serializeAws_json1_1GetRemoteAccessSessionRequest = function (input, context) {
|
|
5984
|
-
return __assign({}, (input.arn
|
|
5950
|
+
return __assign({}, (input.arn != null && { arn: input.arn }));
|
|
5985
5951
|
};
|
|
5986
5952
|
var serializeAws_json1_1GetRunRequest = function (input, context) {
|
|
5987
|
-
return __assign({}, (input.arn
|
|
5953
|
+
return __assign({}, (input.arn != null && { arn: input.arn }));
|
|
5988
5954
|
};
|
|
5989
5955
|
var serializeAws_json1_1GetSuiteRequest = function (input, context) {
|
|
5990
|
-
return __assign({}, (input.arn
|
|
5956
|
+
return __assign({}, (input.arn != null && { arn: input.arn }));
|
|
5991
5957
|
};
|
|
5992
5958
|
var serializeAws_json1_1GetTestGridProjectRequest = function (input, context) {
|
|
5993
|
-
return __assign({}, (input.projectArn
|
|
5959
|
+
return __assign({}, (input.projectArn != null && { projectArn: input.projectArn }));
|
|
5994
5960
|
};
|
|
5995
5961
|
var serializeAws_json1_1GetTestGridSessionRequest = function (input, context) {
|
|
5996
|
-
return __assign(__assign(__assign({}, (input.projectArn
|
|
5962
|
+
return __assign(__assign(__assign({}, (input.projectArn != null && { projectArn: input.projectArn })), (input.sessionArn != null && { sessionArn: input.sessionArn })), (input.sessionId != null && { sessionId: input.sessionId }));
|
|
5997
5963
|
};
|
|
5998
5964
|
var serializeAws_json1_1GetTestRequest = function (input, context) {
|
|
5999
|
-
return __assign({}, (input.arn
|
|
5965
|
+
return __assign({}, (input.arn != null && { arn: input.arn }));
|
|
6000
5966
|
};
|
|
6001
5967
|
var serializeAws_json1_1GetUploadRequest = function (input, context) {
|
|
6002
|
-
return __assign({}, (input.arn
|
|
5968
|
+
return __assign({}, (input.arn != null && { arn: input.arn }));
|
|
6003
5969
|
};
|
|
6004
5970
|
var serializeAws_json1_1GetVPCEConfigurationRequest = function (input, context) {
|
|
6005
|
-
return __assign({}, (input.arn
|
|
5971
|
+
return __assign({}, (input.arn != null && { arn: input.arn }));
|
|
6006
5972
|
};
|
|
6007
5973
|
var serializeAws_json1_1InstallToRemoteAccessSessionRequest = function (input, context) {
|
|
6008
|
-
return __assign(__assign({}, (input.appArn
|
|
6009
|
-
input.remoteAccessSessionArn !== null && { remoteAccessSessionArn: input.remoteAccessSessionArn }));
|
|
5974
|
+
return __assign(__assign({}, (input.appArn != null && { appArn: input.appArn })), (input.remoteAccessSessionArn != null && { remoteAccessSessionArn: input.remoteAccessSessionArn }));
|
|
6010
5975
|
};
|
|
6011
5976
|
var serializeAws_json1_1InstanceLabels = function (input, context) {
|
|
6012
5977
|
return input
|
|
@@ -6029,86 +5994,81 @@ var serializeAws_json1_1IosPaths = function (input, context) {
|
|
|
6029
5994
|
});
|
|
6030
5995
|
};
|
|
6031
5996
|
var serializeAws_json1_1ListArtifactsRequest = function (input, context) {
|
|
6032
|
-
return __assign(__assign(__assign({}, (input.arn
|
|
5997
|
+
return __assign(__assign(__assign({}, (input.arn != null && { arn: input.arn })), (input.nextToken != null && { nextToken: input.nextToken })), (input.type != null && { type: input.type }));
|
|
6033
5998
|
};
|
|
6034
5999
|
var serializeAws_json1_1ListDeviceInstancesRequest = function (input, context) {
|
|
6035
|
-
return __assign(__assign({}, (input.maxResults
|
|
6000
|
+
return __assign(__assign({}, (input.maxResults != null && { maxResults: input.maxResults })), (input.nextToken != null && { nextToken: input.nextToken }));
|
|
6036
6001
|
};
|
|
6037
6002
|
var serializeAws_json1_1ListDevicePoolsRequest = function (input, context) {
|
|
6038
|
-
return __assign(__assign(__assign({}, (input.arn
|
|
6003
|
+
return __assign(__assign(__assign({}, (input.arn != null && { arn: input.arn })), (input.nextToken != null && { nextToken: input.nextToken })), (input.type != null && { type: input.type }));
|
|
6039
6004
|
};
|
|
6040
6005
|
var serializeAws_json1_1ListDevicesRequest = function (input, context) {
|
|
6041
|
-
return __assign(__assign(__assign({}, (input.arn
|
|
6042
|
-
input.filters !== null && { filters: serializeAws_json1_1DeviceFilters(input.filters, context) })), (input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken }));
|
|
6006
|
+
return __assign(__assign(__assign({}, (input.arn != null && { arn: input.arn })), (input.filters != null && { filters: serializeAws_json1_1DeviceFilters(input.filters, context) })), (input.nextToken != null && { nextToken: input.nextToken }));
|
|
6043
6007
|
};
|
|
6044
6008
|
var serializeAws_json1_1ListInstanceProfilesRequest = function (input, context) {
|
|
6045
|
-
return __assign(__assign({}, (input.maxResults
|
|
6009
|
+
return __assign(__assign({}, (input.maxResults != null && { maxResults: input.maxResults })), (input.nextToken != null && { nextToken: input.nextToken }));
|
|
6046
6010
|
};
|
|
6047
6011
|
var serializeAws_json1_1ListJobsRequest = function (input, context) {
|
|
6048
|
-
return __assign(__assign({}, (input.arn
|
|
6012
|
+
return __assign(__assign({}, (input.arn != null && { arn: input.arn })), (input.nextToken != null && { nextToken: input.nextToken }));
|
|
6049
6013
|
};
|
|
6050
6014
|
var serializeAws_json1_1ListNetworkProfilesRequest = function (input, context) {
|
|
6051
|
-
return __assign(__assign(__assign({}, (input.arn
|
|
6015
|
+
return __assign(__assign(__assign({}, (input.arn != null && { arn: input.arn })), (input.nextToken != null && { nextToken: input.nextToken })), (input.type != null && { type: input.type }));
|
|
6052
6016
|
};
|
|
6053
6017
|
var serializeAws_json1_1ListOfferingPromotionsRequest = function (input, context) {
|
|
6054
|
-
return __assign({}, (input.nextToken
|
|
6018
|
+
return __assign({}, (input.nextToken != null && { nextToken: input.nextToken }));
|
|
6055
6019
|
};
|
|
6056
6020
|
var serializeAws_json1_1ListOfferingsRequest = function (input, context) {
|
|
6057
|
-
return __assign({}, (input.nextToken
|
|
6021
|
+
return __assign({}, (input.nextToken != null && { nextToken: input.nextToken }));
|
|
6058
6022
|
};
|
|
6059
6023
|
var serializeAws_json1_1ListOfferingTransactionsRequest = function (input, context) {
|
|
6060
|
-
return __assign({}, (input.nextToken
|
|
6024
|
+
return __assign({}, (input.nextToken != null && { nextToken: input.nextToken }));
|
|
6061
6025
|
};
|
|
6062
6026
|
var serializeAws_json1_1ListProjectsRequest = function (input, context) {
|
|
6063
|
-
return __assign(__assign({}, (input.arn
|
|
6027
|
+
return __assign(__assign({}, (input.arn != null && { arn: input.arn })), (input.nextToken != null && { nextToken: input.nextToken }));
|
|
6064
6028
|
};
|
|
6065
6029
|
var serializeAws_json1_1ListRemoteAccessSessionsRequest = function (input, context) {
|
|
6066
|
-
return __assign(__assign({}, (input.arn
|
|
6030
|
+
return __assign(__assign({}, (input.arn != null && { arn: input.arn })), (input.nextToken != null && { nextToken: input.nextToken }));
|
|
6067
6031
|
};
|
|
6068
6032
|
var serializeAws_json1_1ListRunsRequest = function (input, context) {
|
|
6069
|
-
return __assign(__assign({}, (input.arn
|
|
6033
|
+
return __assign(__assign({}, (input.arn != null && { arn: input.arn })), (input.nextToken != null && { nextToken: input.nextToken }));
|
|
6070
6034
|
};
|
|
6071
6035
|
var serializeAws_json1_1ListSamplesRequest = function (input, context) {
|
|
6072
|
-
return __assign(__assign({}, (input.arn
|
|
6036
|
+
return __assign(__assign({}, (input.arn != null && { arn: input.arn })), (input.nextToken != null && { nextToken: input.nextToken }));
|
|
6073
6037
|
};
|
|
6074
6038
|
var serializeAws_json1_1ListSuitesRequest = function (input, context) {
|
|
6075
|
-
return __assign(__assign({}, (input.arn
|
|
6039
|
+
return __assign(__assign({}, (input.arn != null && { arn: input.arn })), (input.nextToken != null && { nextToken: input.nextToken }));
|
|
6076
6040
|
};
|
|
6077
6041
|
var serializeAws_json1_1ListTagsForResourceRequest = function (input, context) {
|
|
6078
|
-
return __assign({}, (input.ResourceARN
|
|
6042
|
+
return __assign({}, (input.ResourceARN != null && { ResourceARN: input.ResourceARN }));
|
|
6079
6043
|
};
|
|
6080
6044
|
var serializeAws_json1_1ListTestGridProjectsRequest = function (input, context) {
|
|
6081
|
-
return __assign(__assign({}, (input.maxResult
|
|
6045
|
+
return __assign(__assign({}, (input.maxResult != null && { maxResult: input.maxResult })), (input.nextToken != null && { nextToken: input.nextToken }));
|
|
6082
6046
|
};
|
|
6083
6047
|
var serializeAws_json1_1ListTestGridSessionActionsRequest = function (input, context) {
|
|
6084
|
-
return __assign(__assign(__assign({}, (input.maxResult
|
|
6048
|
+
return __assign(__assign(__assign({}, (input.maxResult != null && { maxResult: input.maxResult })), (input.nextToken != null && { nextToken: input.nextToken })), (input.sessionArn != null && { sessionArn: input.sessionArn }));
|
|
6085
6049
|
};
|
|
6086
6050
|
var serializeAws_json1_1ListTestGridSessionArtifactsRequest = function (input, context) {
|
|
6087
|
-
return __assign(__assign(__assign(__assign({}, (input.maxResult
|
|
6051
|
+
return __assign(__assign(__assign(__assign({}, (input.maxResult != null && { maxResult: input.maxResult })), (input.nextToken != null && { nextToken: input.nextToken })), (input.sessionArn != null && { sessionArn: input.sessionArn })), (input.type != null && { type: input.type }));
|
|
6088
6052
|
};
|
|
6089
6053
|
var serializeAws_json1_1ListTestGridSessionsRequest = function (input, context) {
|
|
6090
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.creationTimeAfter
|
|
6091
|
-
input.creationTimeAfter !== null && { creationTimeAfter: Math.round(input.creationTimeAfter.getTime() / 1000) })), (input.creationTimeBefore !== undefined &&
|
|
6092
|
-
input.creationTimeBefore !== null && {
|
|
6054
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.creationTimeAfter != null && { creationTimeAfter: Math.round(input.creationTimeAfter.getTime() / 1000) })), (input.creationTimeBefore != null && {
|
|
6093
6055
|
creationTimeBefore: Math.round(input.creationTimeBefore.getTime() / 1000),
|
|
6094
|
-
})), (input.endTimeAfter
|
|
6095
|
-
input.endTimeAfter !== null && { endTimeAfter: Math.round(input.endTimeAfter.getTime() / 1000) })), (input.endTimeBefore !== undefined &&
|
|
6096
|
-
input.endTimeBefore !== null && { endTimeBefore: Math.round(input.endTimeBefore.getTime() / 1000) })), (input.maxResult !== undefined && input.maxResult !== null && { maxResult: input.maxResult })), (input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken })), (input.projectArn !== undefined && input.projectArn !== null && { projectArn: input.projectArn })), (input.status !== undefined && input.status !== null && { status: input.status }));
|
|
6056
|
+
})), (input.endTimeAfter != null && { endTimeAfter: Math.round(input.endTimeAfter.getTime() / 1000) })), (input.endTimeBefore != null && { endTimeBefore: Math.round(input.endTimeBefore.getTime() / 1000) })), (input.maxResult != null && { maxResult: input.maxResult })), (input.nextToken != null && { nextToken: input.nextToken })), (input.projectArn != null && { projectArn: input.projectArn })), (input.status != null && { status: input.status }));
|
|
6097
6057
|
};
|
|
6098
6058
|
var serializeAws_json1_1ListTestsRequest = function (input, context) {
|
|
6099
|
-
return __assign(__assign({}, (input.arn
|
|
6059
|
+
return __assign(__assign({}, (input.arn != null && { arn: input.arn })), (input.nextToken != null && { nextToken: input.nextToken }));
|
|
6100
6060
|
};
|
|
6101
6061
|
var serializeAws_json1_1ListUniqueProblemsRequest = function (input, context) {
|
|
6102
|
-
return __assign(__assign({}, (input.arn
|
|
6062
|
+
return __assign(__assign({}, (input.arn != null && { arn: input.arn })), (input.nextToken != null && { nextToken: input.nextToken }));
|
|
6103
6063
|
};
|
|
6104
6064
|
var serializeAws_json1_1ListUploadsRequest = function (input, context) {
|
|
6105
|
-
return __assign(__assign(__assign({}, (input.arn
|
|
6065
|
+
return __assign(__assign(__assign({}, (input.arn != null && { arn: input.arn })), (input.nextToken != null && { nextToken: input.nextToken })), (input.type != null && { type: input.type }));
|
|
6106
6066
|
};
|
|
6107
6067
|
var serializeAws_json1_1ListVPCEConfigurationsRequest = function (input, context) {
|
|
6108
|
-
return __assign(__assign({}, (input.maxResults
|
|
6068
|
+
return __assign(__assign({}, (input.maxResults != null && { maxResults: input.maxResults })), (input.nextToken != null && { nextToken: input.nextToken }));
|
|
6109
6069
|
};
|
|
6110
6070
|
var serializeAws_json1_1Location = function (input, context) {
|
|
6111
|
-
return __assign(__assign({}, (input.latitude
|
|
6071
|
+
return __assign(__assign({}, (input.latitude != null && { latitude: __serializeFloat(input.latitude) })), (input.longitude != null && { longitude: __serializeFloat(input.longitude) }));
|
|
6112
6072
|
};
|
|
6113
6073
|
var serializeAws_json1_1PackageIds = function (input, context) {
|
|
6114
6074
|
return input
|
|
@@ -6121,17 +6081,16 @@ var serializeAws_json1_1PackageIds = function (input, context) {
|
|
|
6121
6081
|
});
|
|
6122
6082
|
};
|
|
6123
6083
|
var serializeAws_json1_1PurchaseOfferingRequest = function (input, context) {
|
|
6124
|
-
return __assign(__assign(__assign({}, (input.offeringId
|
|
6125
|
-
input.offeringPromotionId !== null && { offeringPromotionId: input.offeringPromotionId })), (input.quantity !== undefined && input.quantity !== null && { quantity: input.quantity }));
|
|
6084
|
+
return __assign(__assign(__assign({}, (input.offeringId != null && { offeringId: input.offeringId })), (input.offeringPromotionId != null && { offeringPromotionId: input.offeringPromotionId })), (input.quantity != null && { quantity: input.quantity }));
|
|
6126
6085
|
};
|
|
6127
6086
|
var serializeAws_json1_1Radios = function (input, context) {
|
|
6128
|
-
return __assign(__assign(__assign(__assign({}, (input.bluetooth
|
|
6087
|
+
return __assign(__assign(__assign(__assign({}, (input.bluetooth != null && { bluetooth: input.bluetooth })), (input.gps != null && { gps: input.gps })), (input.nfc != null && { nfc: input.nfc })), (input.wifi != null && { wifi: input.wifi }));
|
|
6129
6088
|
};
|
|
6130
6089
|
var serializeAws_json1_1RenewOfferingRequest = function (input, context) {
|
|
6131
|
-
return __assign(__assign({}, (input.offeringId
|
|
6090
|
+
return __assign(__assign({}, (input.offeringId != null && { offeringId: input.offeringId })), (input.quantity != null && { quantity: input.quantity }));
|
|
6132
6091
|
};
|
|
6133
6092
|
var serializeAws_json1_1Rule = function (input, context) {
|
|
6134
|
-
return __assign(__assign(__assign({}, (input.attribute
|
|
6093
|
+
return __assign(__assign(__assign({}, (input.attribute != null && { attribute: input.attribute })), (input.operator != null && { operator: input.operator })), (input.value != null && { value: input.value }));
|
|
6135
6094
|
};
|
|
6136
6095
|
var serializeAws_json1_1Rules = function (input, context) {
|
|
6137
6096
|
return input
|
|
@@ -6144,38 +6103,25 @@ var serializeAws_json1_1Rules = function (input, context) {
|
|
|
6144
6103
|
});
|
|
6145
6104
|
};
|
|
6146
6105
|
var serializeAws_json1_1ScheduleRunConfiguration = function (input, context) {
|
|
6147
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.auxiliaryApps
|
|
6148
|
-
input.auxiliaryApps !== null && {
|
|
6106
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.auxiliaryApps != null && {
|
|
6149
6107
|
auxiliaryApps: serializeAws_json1_1AmazonResourceNames(input.auxiliaryApps, context),
|
|
6150
|
-
})), (input.billingMethod
|
|
6151
|
-
input.customerArtifactPaths !== null && {
|
|
6108
|
+
})), (input.billingMethod != null && { billingMethod: input.billingMethod })), (input.customerArtifactPaths != null && {
|
|
6152
6109
|
customerArtifactPaths: serializeAws_json1_1CustomerArtifactPaths(input.customerArtifactPaths, context),
|
|
6153
|
-
})), (input.extraDataPackageArn
|
|
6154
|
-
input.extraDataPackageArn !== null && { extraDataPackageArn: input.extraDataPackageArn })), (input.locale !== undefined && input.locale !== null && { locale: input.locale })), (input.location !== undefined &&
|
|
6155
|
-
input.location !== null && { location: serializeAws_json1_1Location(input.location, context) })), (input.networkProfileArn !== undefined &&
|
|
6156
|
-
input.networkProfileArn !== null && { networkProfileArn: input.networkProfileArn })), (input.radios !== undefined &&
|
|
6157
|
-
input.radios !== null && { radios: serializeAws_json1_1Radios(input.radios, context) })), (input.vpceConfigurationArns !== undefined &&
|
|
6158
|
-
input.vpceConfigurationArns !== null && {
|
|
6110
|
+
})), (input.extraDataPackageArn != null && { extraDataPackageArn: input.extraDataPackageArn })), (input.locale != null && { locale: input.locale })), (input.location != null && { location: serializeAws_json1_1Location(input.location, context) })), (input.networkProfileArn != null && { networkProfileArn: input.networkProfileArn })), (input.radios != null && { radios: serializeAws_json1_1Radios(input.radios, context) })), (input.vpceConfigurationArns != null && {
|
|
6159
6111
|
vpceConfigurationArns: serializeAws_json1_1AmazonResourceNames(input.vpceConfigurationArns, context),
|
|
6160
6112
|
}));
|
|
6161
6113
|
};
|
|
6162
6114
|
var serializeAws_json1_1ScheduleRunRequest = function (input, context) {
|
|
6163
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.appArn
|
|
6164
|
-
input.configuration !== null && {
|
|
6115
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.appArn != null && { appArn: input.appArn })), (input.configuration != null && {
|
|
6165
6116
|
configuration: serializeAws_json1_1ScheduleRunConfiguration(input.configuration, context),
|
|
6166
|
-
})), (input.devicePoolArn
|
|
6167
|
-
input.deviceSelectionConfiguration !== null && {
|
|
6117
|
+
})), (input.devicePoolArn != null && { devicePoolArn: input.devicePoolArn })), (input.deviceSelectionConfiguration != null && {
|
|
6168
6118
|
deviceSelectionConfiguration: serializeAws_json1_1DeviceSelectionConfiguration(input.deviceSelectionConfiguration, context),
|
|
6169
|
-
})), (input.executionConfiguration
|
|
6170
|
-
input.executionConfiguration !== null && {
|
|
6119
|
+
})), (input.executionConfiguration != null && {
|
|
6171
6120
|
executionConfiguration: serializeAws_json1_1ExecutionConfiguration(input.executionConfiguration, context),
|
|
6172
|
-
})), (input.name
|
|
6173
|
-
input.test !== null && { test: serializeAws_json1_1ScheduleRunTest(input.test, context) }));
|
|
6121
|
+
})), (input.name != null && { name: input.name })), (input.projectArn != null && { projectArn: input.projectArn })), (input.test != null && { test: serializeAws_json1_1ScheduleRunTest(input.test, context) }));
|
|
6174
6122
|
};
|
|
6175
6123
|
var serializeAws_json1_1ScheduleRunTest = function (input, context) {
|
|
6176
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.filter
|
|
6177
|
-
input.parameters !== null && { parameters: serializeAws_json1_1TestParameters(input.parameters, context) })), (input.testPackageArn !== undefined &&
|
|
6178
|
-
input.testPackageArn !== null && { testPackageArn: input.testPackageArn })), (input.testSpecArn !== undefined && input.testSpecArn !== null && { testSpecArn: input.testSpecArn })), (input.type !== undefined && input.type !== null && { type: input.type }));
|
|
6124
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.filter != null && { filter: input.filter })), (input.parameters != null && { parameters: serializeAws_json1_1TestParameters(input.parameters, context) })), (input.testPackageArn != null && { testPackageArn: input.testPackageArn })), (input.testSpecArn != null && { testSpecArn: input.testSpecArn })), (input.type != null && { type: input.type }));
|
|
6179
6125
|
};
|
|
6180
6126
|
var serializeAws_json1_1SecurityGroupIds = function (input, context) {
|
|
6181
6127
|
return input
|
|
@@ -6188,13 +6134,13 @@ var serializeAws_json1_1SecurityGroupIds = function (input, context) {
|
|
|
6188
6134
|
});
|
|
6189
6135
|
};
|
|
6190
6136
|
var serializeAws_json1_1StopJobRequest = function (input, context) {
|
|
6191
|
-
return __assign({}, (input.arn
|
|
6137
|
+
return __assign({}, (input.arn != null && { arn: input.arn }));
|
|
6192
6138
|
};
|
|
6193
6139
|
var serializeAws_json1_1StopRemoteAccessSessionRequest = function (input, context) {
|
|
6194
|
-
return __assign({}, (input.arn
|
|
6140
|
+
return __assign({}, (input.arn != null && { arn: input.arn }));
|
|
6195
6141
|
};
|
|
6196
6142
|
var serializeAws_json1_1StopRunRequest = function (input, context) {
|
|
6197
|
-
return __assign({}, (input.arn
|
|
6143
|
+
return __assign({}, (input.arn != null && { arn: input.arn }));
|
|
6198
6144
|
};
|
|
6199
6145
|
var serializeAws_json1_1SubnetIds = function (input, context) {
|
|
6200
6146
|
return input
|
|
@@ -6207,7 +6153,7 @@ var serializeAws_json1_1SubnetIds = function (input, context) {
|
|
|
6207
6153
|
});
|
|
6208
6154
|
};
|
|
6209
6155
|
var serializeAws_json1_1Tag = function (input, context) {
|
|
6210
|
-
return __assign(__assign({}, (input.Key
|
|
6156
|
+
return __assign(__assign({}, (input.Key != null && { Key: input.Key })), (input.Value != null && { Value: input.Value }));
|
|
6211
6157
|
};
|
|
6212
6158
|
var serializeAws_json1_1TagKeyList = function (input, context) {
|
|
6213
6159
|
return input
|
|
@@ -6230,14 +6176,12 @@ var serializeAws_json1_1TagList = function (input, context) {
|
|
|
6230
6176
|
});
|
|
6231
6177
|
};
|
|
6232
6178
|
var serializeAws_json1_1TagResourceRequest = function (input, context) {
|
|
6233
|
-
return __assign(__assign({}, (input.ResourceARN
|
|
6179
|
+
return __assign(__assign({}, (input.ResourceARN != null && { ResourceARN: input.ResourceARN })), (input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }));
|
|
6234
6180
|
};
|
|
6235
6181
|
var serializeAws_json1_1TestGridVpcConfig = function (input, context) {
|
|
6236
|
-
return __assign(__assign(__assign({}, (input.securityGroupIds
|
|
6237
|
-
input.securityGroupIds !== null && {
|
|
6182
|
+
return __assign(__assign(__assign({}, (input.securityGroupIds != null && {
|
|
6238
6183
|
securityGroupIds: serializeAws_json1_1SecurityGroupIds(input.securityGroupIds, context),
|
|
6239
|
-
})), (input.subnetIds
|
|
6240
|
-
input.subnetIds !== null && { subnetIds: serializeAws_json1_1SubnetIds(input.subnetIds, context) })), (input.vpcId !== undefined && input.vpcId !== null && { vpcId: input.vpcId }));
|
|
6184
|
+
})), (input.subnetIds != null && { subnetIds: serializeAws_json1_1SubnetIds(input.subnetIds, context) })), (input.vpcId != null && { vpcId: input.vpcId }));
|
|
6241
6185
|
};
|
|
6242
6186
|
var serializeAws_json1_1TestParameters = function (input, context) {
|
|
6243
6187
|
return Object.entries(input).reduce(function (acc, _a) {
|
|
@@ -6250,72 +6194,48 @@ var serializeAws_json1_1TestParameters = function (input, context) {
|
|
|
6250
6194
|
}, {});
|
|
6251
6195
|
};
|
|
6252
6196
|
var serializeAws_json1_1UntagResourceRequest = function (input, context) {
|
|
6253
|
-
return __assign(__assign({}, (input.ResourceARN
|
|
6254
|
-
input.TagKeys !== null && { TagKeys: serializeAws_json1_1TagKeyList(input.TagKeys, context) }));
|
|
6197
|
+
return __assign(__assign({}, (input.ResourceARN != null && { ResourceARN: input.ResourceARN })), (input.TagKeys != null && { TagKeys: serializeAws_json1_1TagKeyList(input.TagKeys, context) }));
|
|
6255
6198
|
};
|
|
6256
6199
|
var serializeAws_json1_1UpdateDeviceInstanceRequest = function (input, context) {
|
|
6257
|
-
return __assign(__assign(__assign({}, (input.arn
|
|
6258
|
-
input.labels !== null && { labels: serializeAws_json1_1InstanceLabels(input.labels, context) })), (input.profileArn !== undefined && input.profileArn !== null && { profileArn: input.profileArn }));
|
|
6200
|
+
return __assign(__assign(__assign({}, (input.arn != null && { arn: input.arn })), (input.labels != null && { labels: serializeAws_json1_1InstanceLabels(input.labels, context) })), (input.profileArn != null && { profileArn: input.profileArn }));
|
|
6259
6201
|
};
|
|
6260
6202
|
var serializeAws_json1_1UpdateDevicePoolRequest = function (input, context) {
|
|
6261
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.arn
|
|
6262
|
-
input.clearMaxDevices !== null && { clearMaxDevices: input.clearMaxDevices })), (input.description !== undefined && input.description !== null && { description: input.description })), (input.maxDevices !== undefined && input.maxDevices !== null && { maxDevices: input.maxDevices })), (input.name !== undefined && input.name !== null && { name: input.name })), (input.rules !== undefined &&
|
|
6263
|
-
input.rules !== null && { rules: serializeAws_json1_1Rules(input.rules, context) }));
|
|
6203
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.arn != null && { arn: input.arn })), (input.clearMaxDevices != null && { clearMaxDevices: input.clearMaxDevices })), (input.description != null && { description: input.description })), (input.maxDevices != null && { maxDevices: input.maxDevices })), (input.name != null && { name: input.name })), (input.rules != null && { rules: serializeAws_json1_1Rules(input.rules, context) }));
|
|
6264
6204
|
};
|
|
6265
6205
|
var serializeAws_json1_1UpdateInstanceProfileRequest = function (input, context) {
|
|
6266
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.arn
|
|
6267
|
-
input.excludeAppPackagesFromCleanup !== null && {
|
|
6206
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.arn != null && { arn: input.arn })), (input.description != null && { description: input.description })), (input.excludeAppPackagesFromCleanup != null && {
|
|
6268
6207
|
excludeAppPackagesFromCleanup: serializeAws_json1_1PackageIds(input.excludeAppPackagesFromCleanup, context),
|
|
6269
|
-
})), (input.name
|
|
6270
|
-
input.packageCleanup !== null && { packageCleanup: input.packageCleanup })), (input.rebootAfterUse !== undefined &&
|
|
6271
|
-
input.rebootAfterUse !== null && { rebootAfterUse: input.rebootAfterUse }));
|
|
6208
|
+
})), (input.name != null && { name: input.name })), (input.packageCleanup != null && { packageCleanup: input.packageCleanup })), (input.rebootAfterUse != null && { rebootAfterUse: input.rebootAfterUse }));
|
|
6272
6209
|
};
|
|
6273
6210
|
var serializeAws_json1_1UpdateNetworkProfileRequest = function (input, context) {
|
|
6274
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.arn
|
|
6275
|
-
input.downlinkBandwidthBits !== null && { downlinkBandwidthBits: input.downlinkBandwidthBits })), (input.downlinkDelayMs !== undefined &&
|
|
6276
|
-
input.downlinkDelayMs !== null && { downlinkDelayMs: input.downlinkDelayMs })), (input.downlinkJitterMs !== undefined &&
|
|
6277
|
-
input.downlinkJitterMs !== null && { downlinkJitterMs: input.downlinkJitterMs })), (input.downlinkLossPercent !== undefined &&
|
|
6278
|
-
input.downlinkLossPercent !== null && { downlinkLossPercent: input.downlinkLossPercent })), (input.name !== undefined && input.name !== null && { name: input.name })), (input.type !== undefined && input.type !== null && { type: input.type })), (input.uplinkBandwidthBits !== undefined &&
|
|
6279
|
-
input.uplinkBandwidthBits !== null && { uplinkBandwidthBits: input.uplinkBandwidthBits })), (input.uplinkDelayMs !== undefined && input.uplinkDelayMs !== null && { uplinkDelayMs: input.uplinkDelayMs })), (input.uplinkJitterMs !== undefined &&
|
|
6280
|
-
input.uplinkJitterMs !== null && { uplinkJitterMs: input.uplinkJitterMs })), (input.uplinkLossPercent !== undefined &&
|
|
6281
|
-
input.uplinkLossPercent !== null && { uplinkLossPercent: input.uplinkLossPercent }));
|
|
6211
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.arn != null && { arn: input.arn })), (input.description != null && { description: input.description })), (input.downlinkBandwidthBits != null && { downlinkBandwidthBits: input.downlinkBandwidthBits })), (input.downlinkDelayMs != null && { downlinkDelayMs: input.downlinkDelayMs })), (input.downlinkJitterMs != null && { downlinkJitterMs: input.downlinkJitterMs })), (input.downlinkLossPercent != null && { downlinkLossPercent: input.downlinkLossPercent })), (input.name != null && { name: input.name })), (input.type != null && { type: input.type })), (input.uplinkBandwidthBits != null && { uplinkBandwidthBits: input.uplinkBandwidthBits })), (input.uplinkDelayMs != null && { uplinkDelayMs: input.uplinkDelayMs })), (input.uplinkJitterMs != null && { uplinkJitterMs: input.uplinkJitterMs })), (input.uplinkLossPercent != null && { uplinkLossPercent: input.uplinkLossPercent }));
|
|
6282
6212
|
};
|
|
6283
6213
|
var serializeAws_json1_1UpdateProjectRequest = function (input, context) {
|
|
6284
|
-
return __assign(__assign(__assign({}, (input.arn
|
|
6285
|
-
input.defaultJobTimeoutMinutes !== null && { defaultJobTimeoutMinutes: input.defaultJobTimeoutMinutes })), (input.name !== undefined && input.name !== null && { name: input.name }));
|
|
6214
|
+
return __assign(__assign(__assign({}, (input.arn != null && { arn: input.arn })), (input.defaultJobTimeoutMinutes != null && { defaultJobTimeoutMinutes: input.defaultJobTimeoutMinutes })), (input.name != null && { name: input.name }));
|
|
6286
6215
|
};
|
|
6287
6216
|
var serializeAws_json1_1UpdateTestGridProjectRequest = function (input, context) {
|
|
6288
|
-
return __assign(__assign(__assign(__assign({}, (input.description
|
|
6289
|
-
input.vpcConfig !== null && { vpcConfig: serializeAws_json1_1TestGridVpcConfig(input.vpcConfig, context) }));
|
|
6217
|
+
return __assign(__assign(__assign(__assign({}, (input.description != null && { description: input.description })), (input.name != null && { name: input.name })), (input.projectArn != null && { projectArn: input.projectArn })), (input.vpcConfig != null && { vpcConfig: serializeAws_json1_1TestGridVpcConfig(input.vpcConfig, context) }));
|
|
6290
6218
|
};
|
|
6291
6219
|
var serializeAws_json1_1UpdateUploadRequest = function (input, context) {
|
|
6292
|
-
return __assign(__assign(__assign(__assign({}, (input.arn
|
|
6220
|
+
return __assign(__assign(__assign(__assign({}, (input.arn != null && { arn: input.arn })), (input.contentType != null && { contentType: input.contentType })), (input.editContent != null && { editContent: input.editContent })), (input.name != null && { name: input.name }));
|
|
6293
6221
|
};
|
|
6294
6222
|
var serializeAws_json1_1UpdateVPCEConfigurationRequest = function (input, context) {
|
|
6295
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.arn
|
|
6296
|
-
input.serviceDnsName !== null && { serviceDnsName: input.serviceDnsName })), (input.vpceConfigurationDescription !== undefined &&
|
|
6297
|
-
input.vpceConfigurationDescription !== null && {
|
|
6223
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.arn != null && { arn: input.arn })), (input.serviceDnsName != null && { serviceDnsName: input.serviceDnsName })), (input.vpceConfigurationDescription != null && {
|
|
6298
6224
|
vpceConfigurationDescription: input.vpceConfigurationDescription,
|
|
6299
|
-
})), (input.vpceConfigurationName
|
|
6300
|
-
input.vpceConfigurationName !== null && { vpceConfigurationName: input.vpceConfigurationName })), (input.vpceServiceName !== undefined &&
|
|
6301
|
-
input.vpceServiceName !== null && { vpceServiceName: input.vpceServiceName }));
|
|
6225
|
+
})), (input.vpceConfigurationName != null && { vpceConfigurationName: input.vpceConfigurationName })), (input.vpceServiceName != null && { vpceServiceName: input.vpceServiceName }));
|
|
6302
6226
|
};
|
|
6303
6227
|
var deserializeAws_json1_1AccountSettings = function (output, context) {
|
|
6304
6228
|
return {
|
|
6305
6229
|
awsAccountNumber: __expectString(output.awsAccountNumber),
|
|
6306
6230
|
defaultJobTimeoutMinutes: __expectInt32(output.defaultJobTimeoutMinutes),
|
|
6307
6231
|
maxJobTimeoutMinutes: __expectInt32(output.maxJobTimeoutMinutes),
|
|
6308
|
-
maxSlots: output.maxSlots
|
|
6309
|
-
? deserializeAws_json1_1MaxSlotMap(output.maxSlots, context)
|
|
6310
|
-
: undefined,
|
|
6232
|
+
maxSlots: output.maxSlots != null ? deserializeAws_json1_1MaxSlotMap(output.maxSlots, context) : undefined,
|
|
6311
6233
|
skipAppResign: __expectBoolean(output.skipAppResign),
|
|
6312
|
-
trialMinutes: output.trialMinutes
|
|
6313
|
-
|
|
6314
|
-
: undefined,
|
|
6315
|
-
unmeteredDevices: output.unmeteredDevices !== undefined && output.unmeteredDevices !== null
|
|
6234
|
+
trialMinutes: output.trialMinutes != null ? deserializeAws_json1_1TrialMinutes(output.trialMinutes, context) : undefined,
|
|
6235
|
+
unmeteredDevices: output.unmeteredDevices != null
|
|
6316
6236
|
? deserializeAws_json1_1PurchasedDevicesMap(output.unmeteredDevices, context)
|
|
6317
6237
|
: undefined,
|
|
6318
|
-
unmeteredRemoteAccessDevices: output.unmeteredRemoteAccessDevices
|
|
6238
|
+
unmeteredRemoteAccessDevices: output.unmeteredRemoteAccessDevices != null
|
|
6319
6239
|
? deserializeAws_json1_1PurchasedDevicesMap(output.unmeteredRemoteAccessDevices, context)
|
|
6320
6240
|
: undefined,
|
|
6321
6241
|
};
|
|
@@ -6381,79 +6301,65 @@ var deserializeAws_json1_1CPU = function (output, context) {
|
|
|
6381
6301
|
};
|
|
6382
6302
|
var deserializeAws_json1_1CreateDevicePoolResult = function (output, context) {
|
|
6383
6303
|
return {
|
|
6384
|
-
devicePool: output.devicePool
|
|
6385
|
-
? deserializeAws_json1_1DevicePool(output.devicePool, context)
|
|
6386
|
-
: undefined,
|
|
6304
|
+
devicePool: output.devicePool != null ? deserializeAws_json1_1DevicePool(output.devicePool, context) : undefined,
|
|
6387
6305
|
};
|
|
6388
6306
|
};
|
|
6389
6307
|
var deserializeAws_json1_1CreateInstanceProfileResult = function (output, context) {
|
|
6390
6308
|
return {
|
|
6391
|
-
instanceProfile: output.instanceProfile
|
|
6309
|
+
instanceProfile: output.instanceProfile != null
|
|
6392
6310
|
? deserializeAws_json1_1InstanceProfile(output.instanceProfile, context)
|
|
6393
6311
|
: undefined,
|
|
6394
6312
|
};
|
|
6395
6313
|
};
|
|
6396
6314
|
var deserializeAws_json1_1CreateNetworkProfileResult = function (output, context) {
|
|
6397
6315
|
return {
|
|
6398
|
-
networkProfile: output.networkProfile
|
|
6399
|
-
? deserializeAws_json1_1NetworkProfile(output.networkProfile, context)
|
|
6400
|
-
: undefined,
|
|
6316
|
+
networkProfile: output.networkProfile != null ? deserializeAws_json1_1NetworkProfile(output.networkProfile, context) : undefined,
|
|
6401
6317
|
};
|
|
6402
6318
|
};
|
|
6403
6319
|
var deserializeAws_json1_1CreateProjectResult = function (output, context) {
|
|
6404
6320
|
return {
|
|
6405
|
-
project: output.project
|
|
6406
|
-
? deserializeAws_json1_1Project(output.project, context)
|
|
6407
|
-
: undefined,
|
|
6321
|
+
project: output.project != null ? deserializeAws_json1_1Project(output.project, context) : undefined,
|
|
6408
6322
|
};
|
|
6409
6323
|
};
|
|
6410
6324
|
var deserializeAws_json1_1CreateRemoteAccessSessionResult = function (output, context) {
|
|
6411
6325
|
return {
|
|
6412
|
-
remoteAccessSession: output.remoteAccessSession
|
|
6326
|
+
remoteAccessSession: output.remoteAccessSession != null
|
|
6413
6327
|
? deserializeAws_json1_1RemoteAccessSession(output.remoteAccessSession, context)
|
|
6414
6328
|
: undefined,
|
|
6415
6329
|
};
|
|
6416
6330
|
};
|
|
6417
6331
|
var deserializeAws_json1_1CreateTestGridProjectResult = function (output, context) {
|
|
6418
6332
|
return {
|
|
6419
|
-
testGridProject: output.testGridProject
|
|
6333
|
+
testGridProject: output.testGridProject != null
|
|
6420
6334
|
? deserializeAws_json1_1TestGridProject(output.testGridProject, context)
|
|
6421
6335
|
: undefined,
|
|
6422
6336
|
};
|
|
6423
6337
|
};
|
|
6424
6338
|
var deserializeAws_json1_1CreateTestGridUrlResult = function (output, context) {
|
|
6425
6339
|
return {
|
|
6426
|
-
expires: output.expires
|
|
6427
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.expires)))
|
|
6428
|
-
: undefined,
|
|
6340
|
+
expires: output.expires != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.expires))) : undefined,
|
|
6429
6341
|
url: __expectString(output.url),
|
|
6430
6342
|
};
|
|
6431
6343
|
};
|
|
6432
6344
|
var deserializeAws_json1_1CreateUploadResult = function (output, context) {
|
|
6433
6345
|
return {
|
|
6434
|
-
upload: output.upload
|
|
6435
|
-
? deserializeAws_json1_1Upload(output.upload, context)
|
|
6436
|
-
: undefined,
|
|
6346
|
+
upload: output.upload != null ? deserializeAws_json1_1Upload(output.upload, context) : undefined,
|
|
6437
6347
|
};
|
|
6438
6348
|
};
|
|
6439
6349
|
var deserializeAws_json1_1CreateVPCEConfigurationResult = function (output, context) {
|
|
6440
6350
|
return {
|
|
6441
|
-
vpceConfiguration: output.vpceConfiguration
|
|
6351
|
+
vpceConfiguration: output.vpceConfiguration != null
|
|
6442
6352
|
? deserializeAws_json1_1VPCEConfiguration(output.vpceConfiguration, context)
|
|
6443
6353
|
: undefined,
|
|
6444
6354
|
};
|
|
6445
6355
|
};
|
|
6446
6356
|
var deserializeAws_json1_1CustomerArtifactPaths = function (output, context) {
|
|
6447
6357
|
return {
|
|
6448
|
-
androidPaths: output.androidPaths
|
|
6449
|
-
|
|
6450
|
-
: undefined,
|
|
6451
|
-
deviceHostPaths: output.deviceHostPaths !== undefined && output.deviceHostPaths !== null
|
|
6358
|
+
androidPaths: output.androidPaths != null ? deserializeAws_json1_1AndroidPaths(output.androidPaths, context) : undefined,
|
|
6359
|
+
deviceHostPaths: output.deviceHostPaths != null
|
|
6452
6360
|
? deserializeAws_json1_1DeviceHostPaths(output.deviceHostPaths, context)
|
|
6453
6361
|
: undefined,
|
|
6454
|
-
iosPaths: output.iosPaths
|
|
6455
|
-
? deserializeAws_json1_1IosPaths(output.iosPaths, context)
|
|
6456
|
-
: undefined,
|
|
6362
|
+
iosPaths: output.iosPaths != null ? deserializeAws_json1_1IosPaths(output.iosPaths, context) : undefined,
|
|
6457
6363
|
};
|
|
6458
6364
|
};
|
|
6459
6365
|
var deserializeAws_json1_1DeleteDevicePoolResult = function (output, context) {
|
|
@@ -6488,15 +6394,13 @@ var deserializeAws_json1_1Device = function (output, context) {
|
|
|
6488
6394
|
arn: __expectString(output.arn),
|
|
6489
6395
|
availability: __expectString(output.availability),
|
|
6490
6396
|
carrier: __expectString(output.carrier),
|
|
6491
|
-
cpu: output.cpu
|
|
6397
|
+
cpu: output.cpu != null ? deserializeAws_json1_1CPU(output.cpu, context) : undefined,
|
|
6492
6398
|
fleetName: __expectString(output.fleetName),
|
|
6493
6399
|
fleetType: __expectString(output.fleetType),
|
|
6494
6400
|
formFactor: __expectString(output.formFactor),
|
|
6495
6401
|
heapSize: __expectLong(output.heapSize),
|
|
6496
6402
|
image: __expectString(output.image),
|
|
6497
|
-
instances: output.instances
|
|
6498
|
-
? deserializeAws_json1_1DeviceInstances(output.instances, context)
|
|
6499
|
-
: undefined,
|
|
6403
|
+
instances: output.instances != null ? deserializeAws_json1_1DeviceInstances(output.instances, context) : undefined,
|
|
6500
6404
|
manufacturer: __expectString(output.manufacturer),
|
|
6501
6405
|
memory: __expectLong(output.memory),
|
|
6502
6406
|
model: __expectString(output.model),
|
|
@@ -6507,18 +6411,14 @@ var deserializeAws_json1_1Device = function (output, context) {
|
|
|
6507
6411
|
radio: __expectString(output.radio),
|
|
6508
6412
|
remoteAccessEnabled: __expectBoolean(output.remoteAccessEnabled),
|
|
6509
6413
|
remoteDebugEnabled: __expectBoolean(output.remoteDebugEnabled),
|
|
6510
|
-
resolution: output.resolution
|
|
6511
|
-
? deserializeAws_json1_1Resolution(output.resolution, context)
|
|
6512
|
-
: undefined,
|
|
6414
|
+
resolution: output.resolution != null ? deserializeAws_json1_1Resolution(output.resolution, context) : undefined,
|
|
6513
6415
|
};
|
|
6514
6416
|
};
|
|
6515
6417
|
var deserializeAws_json1_1DeviceFilter = function (output, context) {
|
|
6516
6418
|
return {
|
|
6517
6419
|
attribute: __expectString(output.attribute),
|
|
6518
6420
|
operator: __expectString(output.operator),
|
|
6519
|
-
values: output.values
|
|
6520
|
-
? deserializeAws_json1_1DeviceFilterValues(output.values, context)
|
|
6521
|
-
: undefined,
|
|
6421
|
+
values: output.values != null ? deserializeAws_json1_1DeviceFilterValues(output.values, context) : undefined,
|
|
6522
6422
|
};
|
|
6523
6423
|
};
|
|
6524
6424
|
var deserializeAws_json1_1DeviceFilters = function (output, context) {
|
|
@@ -6558,12 +6458,10 @@ var deserializeAws_json1_1DeviceInstance = function (output, context) {
|
|
|
6558
6458
|
return {
|
|
6559
6459
|
arn: __expectString(output.arn),
|
|
6560
6460
|
deviceArn: __expectString(output.deviceArn),
|
|
6561
|
-
instanceProfile: output.instanceProfile
|
|
6461
|
+
instanceProfile: output.instanceProfile != null
|
|
6562
6462
|
? deserializeAws_json1_1InstanceProfile(output.instanceProfile, context)
|
|
6563
6463
|
: undefined,
|
|
6564
|
-
labels: output.labels
|
|
6565
|
-
? deserializeAws_json1_1InstanceLabels(output.labels, context)
|
|
6566
|
-
: undefined,
|
|
6464
|
+
labels: output.labels != null ? deserializeAws_json1_1InstanceLabels(output.labels, context) : undefined,
|
|
6567
6465
|
status: __expectString(output.status),
|
|
6568
6466
|
udid: __expectString(output.udid),
|
|
6569
6467
|
};
|
|
@@ -6592,19 +6490,15 @@ var deserializeAws_json1_1DevicePool = function (output, context) {
|
|
|
6592
6490
|
description: __expectString(output.description),
|
|
6593
6491
|
maxDevices: __expectInt32(output.maxDevices),
|
|
6594
6492
|
name: __expectString(output.name),
|
|
6595
|
-
rules: output.rules
|
|
6596
|
-
? deserializeAws_json1_1Rules(output.rules, context)
|
|
6597
|
-
: undefined,
|
|
6493
|
+
rules: output.rules != null ? deserializeAws_json1_1Rules(output.rules, context) : undefined,
|
|
6598
6494
|
type: __expectString(output.type),
|
|
6599
6495
|
};
|
|
6600
6496
|
};
|
|
6601
6497
|
var deserializeAws_json1_1DevicePoolCompatibilityResult = function (output, context) {
|
|
6602
6498
|
return {
|
|
6603
6499
|
compatible: __expectBoolean(output.compatible),
|
|
6604
|
-
device: output.device
|
|
6605
|
-
|
|
6606
|
-
: undefined,
|
|
6607
|
-
incompatibilityMessages: output.incompatibilityMessages !== undefined && output.incompatibilityMessages !== null
|
|
6500
|
+
device: output.device != null ? deserializeAws_json1_1Device(output.device, context) : undefined,
|
|
6501
|
+
incompatibilityMessages: output.incompatibilityMessages != null
|
|
6608
6502
|
? deserializeAws_json1_1IncompatibilityMessages(output.incompatibilityMessages, context)
|
|
6609
6503
|
: undefined,
|
|
6610
6504
|
};
|
|
@@ -6644,136 +6538,116 @@ var deserializeAws_json1_1Devices = function (output, context) {
|
|
|
6644
6538
|
};
|
|
6645
6539
|
var deserializeAws_json1_1DeviceSelectionResult = function (output, context) {
|
|
6646
6540
|
return {
|
|
6647
|
-
filters: output.filters
|
|
6648
|
-
? deserializeAws_json1_1DeviceFilters(output.filters, context)
|
|
6649
|
-
: undefined,
|
|
6541
|
+
filters: output.filters != null ? deserializeAws_json1_1DeviceFilters(output.filters, context) : undefined,
|
|
6650
6542
|
matchedDevicesCount: __expectInt32(output.matchedDevicesCount),
|
|
6651
6543
|
maxDevices: __expectInt32(output.maxDevices),
|
|
6652
6544
|
};
|
|
6653
6545
|
};
|
|
6654
6546
|
var deserializeAws_json1_1GetAccountSettingsResult = function (output, context) {
|
|
6655
6547
|
return {
|
|
6656
|
-
accountSettings: output.accountSettings
|
|
6548
|
+
accountSettings: output.accountSettings != null
|
|
6657
6549
|
? deserializeAws_json1_1AccountSettings(output.accountSettings, context)
|
|
6658
6550
|
: undefined,
|
|
6659
6551
|
};
|
|
6660
6552
|
};
|
|
6661
6553
|
var deserializeAws_json1_1GetDeviceInstanceResult = function (output, context) {
|
|
6662
6554
|
return {
|
|
6663
|
-
deviceInstance: output.deviceInstance
|
|
6664
|
-
? deserializeAws_json1_1DeviceInstance(output.deviceInstance, context)
|
|
6665
|
-
: undefined,
|
|
6555
|
+
deviceInstance: output.deviceInstance != null ? deserializeAws_json1_1DeviceInstance(output.deviceInstance, context) : undefined,
|
|
6666
6556
|
};
|
|
6667
6557
|
};
|
|
6668
6558
|
var deserializeAws_json1_1GetDevicePoolCompatibilityResult = function (output, context) {
|
|
6669
6559
|
return {
|
|
6670
|
-
compatibleDevices: output.compatibleDevices
|
|
6560
|
+
compatibleDevices: output.compatibleDevices != null
|
|
6671
6561
|
? deserializeAws_json1_1DevicePoolCompatibilityResults(output.compatibleDevices, context)
|
|
6672
6562
|
: undefined,
|
|
6673
|
-
incompatibleDevices: output.incompatibleDevices
|
|
6563
|
+
incompatibleDevices: output.incompatibleDevices != null
|
|
6674
6564
|
? deserializeAws_json1_1DevicePoolCompatibilityResults(output.incompatibleDevices, context)
|
|
6675
6565
|
: undefined,
|
|
6676
6566
|
};
|
|
6677
6567
|
};
|
|
6678
6568
|
var deserializeAws_json1_1GetDevicePoolResult = function (output, context) {
|
|
6679
6569
|
return {
|
|
6680
|
-
devicePool: output.devicePool
|
|
6681
|
-
? deserializeAws_json1_1DevicePool(output.devicePool, context)
|
|
6682
|
-
: undefined,
|
|
6570
|
+
devicePool: output.devicePool != null ? deserializeAws_json1_1DevicePool(output.devicePool, context) : undefined,
|
|
6683
6571
|
};
|
|
6684
6572
|
};
|
|
6685
6573
|
var deserializeAws_json1_1GetDeviceResult = function (output, context) {
|
|
6686
6574
|
return {
|
|
6687
|
-
device: output.device
|
|
6688
|
-
? deserializeAws_json1_1Device(output.device, context)
|
|
6689
|
-
: undefined,
|
|
6575
|
+
device: output.device != null ? deserializeAws_json1_1Device(output.device, context) : undefined,
|
|
6690
6576
|
};
|
|
6691
6577
|
};
|
|
6692
6578
|
var deserializeAws_json1_1GetInstanceProfileResult = function (output, context) {
|
|
6693
6579
|
return {
|
|
6694
|
-
instanceProfile: output.instanceProfile
|
|
6580
|
+
instanceProfile: output.instanceProfile != null
|
|
6695
6581
|
? deserializeAws_json1_1InstanceProfile(output.instanceProfile, context)
|
|
6696
6582
|
: undefined,
|
|
6697
6583
|
};
|
|
6698
6584
|
};
|
|
6699
6585
|
var deserializeAws_json1_1GetJobResult = function (output, context) {
|
|
6700
6586
|
return {
|
|
6701
|
-
job: output.job
|
|
6587
|
+
job: output.job != null ? deserializeAws_json1_1Job(output.job, context) : undefined,
|
|
6702
6588
|
};
|
|
6703
6589
|
};
|
|
6704
6590
|
var deserializeAws_json1_1GetNetworkProfileResult = function (output, context) {
|
|
6705
6591
|
return {
|
|
6706
|
-
networkProfile: output.networkProfile
|
|
6707
|
-
? deserializeAws_json1_1NetworkProfile(output.networkProfile, context)
|
|
6708
|
-
: undefined,
|
|
6592
|
+
networkProfile: output.networkProfile != null ? deserializeAws_json1_1NetworkProfile(output.networkProfile, context) : undefined,
|
|
6709
6593
|
};
|
|
6710
6594
|
};
|
|
6711
6595
|
var deserializeAws_json1_1GetOfferingStatusResult = function (output, context) {
|
|
6712
6596
|
return {
|
|
6713
|
-
current: output.current
|
|
6714
|
-
|
|
6715
|
-
: undefined,
|
|
6716
|
-
nextPeriod: output.nextPeriod !== undefined && output.nextPeriod !== null
|
|
6717
|
-
? deserializeAws_json1_1OfferingStatusMap(output.nextPeriod, context)
|
|
6718
|
-
: undefined,
|
|
6597
|
+
current: output.current != null ? deserializeAws_json1_1OfferingStatusMap(output.current, context) : undefined,
|
|
6598
|
+
nextPeriod: output.nextPeriod != null ? deserializeAws_json1_1OfferingStatusMap(output.nextPeriod, context) : undefined,
|
|
6719
6599
|
nextToken: __expectString(output.nextToken),
|
|
6720
6600
|
};
|
|
6721
6601
|
};
|
|
6722
6602
|
var deserializeAws_json1_1GetProjectResult = function (output, context) {
|
|
6723
6603
|
return {
|
|
6724
|
-
project: output.project
|
|
6725
|
-
? deserializeAws_json1_1Project(output.project, context)
|
|
6726
|
-
: undefined,
|
|
6604
|
+
project: output.project != null ? deserializeAws_json1_1Project(output.project, context) : undefined,
|
|
6727
6605
|
};
|
|
6728
6606
|
};
|
|
6729
6607
|
var deserializeAws_json1_1GetRemoteAccessSessionResult = function (output, context) {
|
|
6730
6608
|
return {
|
|
6731
|
-
remoteAccessSession: output.remoteAccessSession
|
|
6609
|
+
remoteAccessSession: output.remoteAccessSession != null
|
|
6732
6610
|
? deserializeAws_json1_1RemoteAccessSession(output.remoteAccessSession, context)
|
|
6733
6611
|
: undefined,
|
|
6734
6612
|
};
|
|
6735
6613
|
};
|
|
6736
6614
|
var deserializeAws_json1_1GetRunResult = function (output, context) {
|
|
6737
6615
|
return {
|
|
6738
|
-
run: output.run
|
|
6616
|
+
run: output.run != null ? deserializeAws_json1_1Run(output.run, context) : undefined,
|
|
6739
6617
|
};
|
|
6740
6618
|
};
|
|
6741
6619
|
var deserializeAws_json1_1GetSuiteResult = function (output, context) {
|
|
6742
6620
|
return {
|
|
6743
|
-
suite: output.suite
|
|
6744
|
-
? deserializeAws_json1_1Suite(output.suite, context)
|
|
6745
|
-
: undefined,
|
|
6621
|
+
suite: output.suite != null ? deserializeAws_json1_1Suite(output.suite, context) : undefined,
|
|
6746
6622
|
};
|
|
6747
6623
|
};
|
|
6748
6624
|
var deserializeAws_json1_1GetTestGridProjectResult = function (output, context) {
|
|
6749
6625
|
return {
|
|
6750
|
-
testGridProject: output.testGridProject
|
|
6626
|
+
testGridProject: output.testGridProject != null
|
|
6751
6627
|
? deserializeAws_json1_1TestGridProject(output.testGridProject, context)
|
|
6752
6628
|
: undefined,
|
|
6753
6629
|
};
|
|
6754
6630
|
};
|
|
6755
6631
|
var deserializeAws_json1_1GetTestGridSessionResult = function (output, context) {
|
|
6756
6632
|
return {
|
|
6757
|
-
testGridSession: output.testGridSession
|
|
6633
|
+
testGridSession: output.testGridSession != null
|
|
6758
6634
|
? deserializeAws_json1_1TestGridSession(output.testGridSession, context)
|
|
6759
6635
|
: undefined,
|
|
6760
6636
|
};
|
|
6761
6637
|
};
|
|
6762
6638
|
var deserializeAws_json1_1GetTestResult = function (output, context) {
|
|
6763
6639
|
return {
|
|
6764
|
-
test: output.test
|
|
6640
|
+
test: output.test != null ? deserializeAws_json1_1Test(output.test, context) : undefined,
|
|
6765
6641
|
};
|
|
6766
6642
|
};
|
|
6767
6643
|
var deserializeAws_json1_1GetUploadResult = function (output, context) {
|
|
6768
6644
|
return {
|
|
6769
|
-
upload: output.upload
|
|
6770
|
-
? deserializeAws_json1_1Upload(output.upload, context)
|
|
6771
|
-
: undefined,
|
|
6645
|
+
upload: output.upload != null ? deserializeAws_json1_1Upload(output.upload, context) : undefined,
|
|
6772
6646
|
};
|
|
6773
6647
|
};
|
|
6774
6648
|
var deserializeAws_json1_1GetVPCEConfigurationResult = function (output, context) {
|
|
6775
6649
|
return {
|
|
6776
|
-
vpceConfiguration: output.vpceConfiguration
|
|
6650
|
+
vpceConfiguration: output.vpceConfiguration != null
|
|
6777
6651
|
? deserializeAws_json1_1VPCEConfiguration(output.vpceConfiguration, context)
|
|
6778
6652
|
: undefined,
|
|
6779
6653
|
};
|
|
@@ -6802,9 +6676,7 @@ var deserializeAws_json1_1IncompatibilityMessages = function (output, context) {
|
|
|
6802
6676
|
};
|
|
6803
6677
|
var deserializeAws_json1_1InstallToRemoteAccessSessionResult = function (output, context) {
|
|
6804
6678
|
return {
|
|
6805
|
-
appUpload: output.appUpload
|
|
6806
|
-
? deserializeAws_json1_1Upload(output.appUpload, context)
|
|
6807
|
-
: undefined,
|
|
6679
|
+
appUpload: output.appUpload != null ? deserializeAws_json1_1Upload(output.appUpload, context) : undefined,
|
|
6808
6680
|
};
|
|
6809
6681
|
};
|
|
6810
6682
|
var deserializeAws_json1_1InstanceLabels = function (output, context) {
|
|
@@ -6822,7 +6694,7 @@ var deserializeAws_json1_1InstanceProfile = function (output, context) {
|
|
|
6822
6694
|
return {
|
|
6823
6695
|
arn: __expectString(output.arn),
|
|
6824
6696
|
description: __expectString(output.description),
|
|
6825
|
-
excludeAppPackagesFromCleanup: output.excludeAppPackagesFromCleanup
|
|
6697
|
+
excludeAppPackagesFromCleanup: output.excludeAppPackagesFromCleanup != null
|
|
6826
6698
|
? deserializeAws_json1_1PackageIds(output.excludeAppPackagesFromCleanup, context)
|
|
6827
6699
|
: undefined,
|
|
6828
6700
|
name: __expectString(output.name),
|
|
@@ -6865,29 +6737,17 @@ var deserializeAws_json1_1IosPaths = function (output, context) {
|
|
|
6865
6737
|
var deserializeAws_json1_1Job = function (output, context) {
|
|
6866
6738
|
return {
|
|
6867
6739
|
arn: __expectString(output.arn),
|
|
6868
|
-
counters: output.counters
|
|
6869
|
-
|
|
6870
|
-
|
|
6871
|
-
|
|
6872
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.created)))
|
|
6873
|
-
: undefined,
|
|
6874
|
-
device: output.device !== undefined && output.device !== null
|
|
6875
|
-
? deserializeAws_json1_1Device(output.device, context)
|
|
6876
|
-
: undefined,
|
|
6877
|
-
deviceMinutes: output.deviceMinutes !== undefined && output.deviceMinutes !== null
|
|
6878
|
-
? deserializeAws_json1_1DeviceMinutes(output.deviceMinutes, context)
|
|
6879
|
-
: undefined,
|
|
6740
|
+
counters: output.counters != null ? deserializeAws_json1_1Counters(output.counters, context) : undefined,
|
|
6741
|
+
created: output.created != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.created))) : undefined,
|
|
6742
|
+
device: output.device != null ? deserializeAws_json1_1Device(output.device, context) : undefined,
|
|
6743
|
+
deviceMinutes: output.deviceMinutes != null ? deserializeAws_json1_1DeviceMinutes(output.deviceMinutes, context) : undefined,
|
|
6880
6744
|
instanceArn: __expectString(output.instanceArn),
|
|
6881
6745
|
message: __expectString(output.message),
|
|
6882
6746
|
name: __expectString(output.name),
|
|
6883
6747
|
result: __expectString(output.result),
|
|
6884
|
-
started: output.started
|
|
6885
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.started)))
|
|
6886
|
-
: undefined,
|
|
6748
|
+
started: output.started != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.started))) : undefined,
|
|
6887
6749
|
status: __expectString(output.status),
|
|
6888
|
-
stopped: output.stopped
|
|
6889
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.stopped)))
|
|
6890
|
-
: undefined,
|
|
6750
|
+
stopped: output.stopped != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.stopped))) : undefined,
|
|
6891
6751
|
type: __expectString(output.type),
|
|
6892
6752
|
videoCapture: __expectBoolean(output.videoCapture),
|
|
6893
6753
|
videoEndpoint: __expectString(output.videoEndpoint),
|
|
@@ -6911,15 +6771,13 @@ var deserializeAws_json1_1LimitExceededException = function (output, context) {
|
|
|
6911
6771
|
};
|
|
6912
6772
|
var deserializeAws_json1_1ListArtifactsResult = function (output, context) {
|
|
6913
6773
|
return {
|
|
6914
|
-
artifacts: output.artifacts
|
|
6915
|
-
? deserializeAws_json1_1Artifacts(output.artifacts, context)
|
|
6916
|
-
: undefined,
|
|
6774
|
+
artifacts: output.artifacts != null ? deserializeAws_json1_1Artifacts(output.artifacts, context) : undefined,
|
|
6917
6775
|
nextToken: __expectString(output.nextToken),
|
|
6918
6776
|
};
|
|
6919
6777
|
};
|
|
6920
6778
|
var deserializeAws_json1_1ListDeviceInstancesResult = function (output, context) {
|
|
6921
6779
|
return {
|
|
6922
|
-
deviceInstances: output.deviceInstances
|
|
6780
|
+
deviceInstances: output.deviceInstances != null
|
|
6923
6781
|
? deserializeAws_json1_1DeviceInstances(output.deviceInstances, context)
|
|
6924
6782
|
: undefined,
|
|
6925
6783
|
nextToken: __expectString(output.nextToken),
|
|
@@ -6927,23 +6785,19 @@ var deserializeAws_json1_1ListDeviceInstancesResult = function (output, context)
|
|
|
6927
6785
|
};
|
|
6928
6786
|
var deserializeAws_json1_1ListDevicePoolsResult = function (output, context) {
|
|
6929
6787
|
return {
|
|
6930
|
-
devicePools: output.devicePools
|
|
6931
|
-
? deserializeAws_json1_1DevicePools(output.devicePools, context)
|
|
6932
|
-
: undefined,
|
|
6788
|
+
devicePools: output.devicePools != null ? deserializeAws_json1_1DevicePools(output.devicePools, context) : undefined,
|
|
6933
6789
|
nextToken: __expectString(output.nextToken),
|
|
6934
6790
|
};
|
|
6935
6791
|
};
|
|
6936
6792
|
var deserializeAws_json1_1ListDevicesResult = function (output, context) {
|
|
6937
6793
|
return {
|
|
6938
|
-
devices: output.devices
|
|
6939
|
-
? deserializeAws_json1_1Devices(output.devices, context)
|
|
6940
|
-
: undefined,
|
|
6794
|
+
devices: output.devices != null ? deserializeAws_json1_1Devices(output.devices, context) : undefined,
|
|
6941
6795
|
nextToken: __expectString(output.nextToken),
|
|
6942
6796
|
};
|
|
6943
6797
|
};
|
|
6944
6798
|
var deserializeAws_json1_1ListInstanceProfilesResult = function (output, context) {
|
|
6945
6799
|
return {
|
|
6946
|
-
instanceProfiles: output.instanceProfiles
|
|
6800
|
+
instanceProfiles: output.instanceProfiles != null
|
|
6947
6801
|
? deserializeAws_json1_1InstanceProfiles(output.instanceProfiles, context)
|
|
6948
6802
|
: undefined,
|
|
6949
6803
|
nextToken: __expectString(output.nextToken),
|
|
@@ -6951,13 +6805,13 @@ var deserializeAws_json1_1ListInstanceProfilesResult = function (output, context
|
|
|
6951
6805
|
};
|
|
6952
6806
|
var deserializeAws_json1_1ListJobsResult = function (output, context) {
|
|
6953
6807
|
return {
|
|
6954
|
-
jobs: output.jobs
|
|
6808
|
+
jobs: output.jobs != null ? deserializeAws_json1_1Jobs(output.jobs, context) : undefined,
|
|
6955
6809
|
nextToken: __expectString(output.nextToken),
|
|
6956
6810
|
};
|
|
6957
6811
|
};
|
|
6958
6812
|
var deserializeAws_json1_1ListNetworkProfilesResult = function (output, context) {
|
|
6959
6813
|
return {
|
|
6960
|
-
networkProfiles: output.networkProfiles
|
|
6814
|
+
networkProfiles: output.networkProfiles != null
|
|
6961
6815
|
? deserializeAws_json1_1NetworkProfiles(output.networkProfiles, context)
|
|
6962
6816
|
: undefined,
|
|
6963
6817
|
nextToken: __expectString(output.nextToken),
|
|
@@ -6966,7 +6820,7 @@ var deserializeAws_json1_1ListNetworkProfilesResult = function (output, context)
|
|
|
6966
6820
|
var deserializeAws_json1_1ListOfferingPromotionsResult = function (output, context) {
|
|
6967
6821
|
return {
|
|
6968
6822
|
nextToken: __expectString(output.nextToken),
|
|
6969
|
-
offeringPromotions: output.offeringPromotions
|
|
6823
|
+
offeringPromotions: output.offeringPromotions != null
|
|
6970
6824
|
? deserializeAws_json1_1OfferingPromotions(output.offeringPromotions, context)
|
|
6971
6825
|
: undefined,
|
|
6972
6826
|
};
|
|
@@ -6974,15 +6828,13 @@ var deserializeAws_json1_1ListOfferingPromotionsResult = function (output, conte
|
|
|
6974
6828
|
var deserializeAws_json1_1ListOfferingsResult = function (output, context) {
|
|
6975
6829
|
return {
|
|
6976
6830
|
nextToken: __expectString(output.nextToken),
|
|
6977
|
-
offerings: output.offerings
|
|
6978
|
-
? deserializeAws_json1_1Offerings(output.offerings, context)
|
|
6979
|
-
: undefined,
|
|
6831
|
+
offerings: output.offerings != null ? deserializeAws_json1_1Offerings(output.offerings, context) : undefined,
|
|
6980
6832
|
};
|
|
6981
6833
|
};
|
|
6982
6834
|
var deserializeAws_json1_1ListOfferingTransactionsResult = function (output, context) {
|
|
6983
6835
|
return {
|
|
6984
6836
|
nextToken: __expectString(output.nextToken),
|
|
6985
|
-
offeringTransactions: output.offeringTransactions
|
|
6837
|
+
offeringTransactions: output.offeringTransactions != null
|
|
6986
6838
|
? deserializeAws_json1_1OfferingTransactions(output.offeringTransactions, context)
|
|
6987
6839
|
: undefined,
|
|
6988
6840
|
};
|
|
@@ -6990,15 +6842,13 @@ var deserializeAws_json1_1ListOfferingTransactionsResult = function (output, con
|
|
|
6990
6842
|
var deserializeAws_json1_1ListProjectsResult = function (output, context) {
|
|
6991
6843
|
return {
|
|
6992
6844
|
nextToken: __expectString(output.nextToken),
|
|
6993
|
-
projects: output.projects
|
|
6994
|
-
? deserializeAws_json1_1Projects(output.projects, context)
|
|
6995
|
-
: undefined,
|
|
6845
|
+
projects: output.projects != null ? deserializeAws_json1_1Projects(output.projects, context) : undefined,
|
|
6996
6846
|
};
|
|
6997
6847
|
};
|
|
6998
6848
|
var deserializeAws_json1_1ListRemoteAccessSessionsResult = function (output, context) {
|
|
6999
6849
|
return {
|
|
7000
6850
|
nextToken: __expectString(output.nextToken),
|
|
7001
|
-
remoteAccessSessions: output.remoteAccessSessions
|
|
6851
|
+
remoteAccessSessions: output.remoteAccessSessions != null
|
|
7002
6852
|
? deserializeAws_json1_1RemoteAccessSessions(output.remoteAccessSessions, context)
|
|
7003
6853
|
: undefined,
|
|
7004
6854
|
};
|
|
@@ -7006,60 +6856,50 @@ var deserializeAws_json1_1ListRemoteAccessSessionsResult = function (output, con
|
|
|
7006
6856
|
var deserializeAws_json1_1ListRunsResult = function (output, context) {
|
|
7007
6857
|
return {
|
|
7008
6858
|
nextToken: __expectString(output.nextToken),
|
|
7009
|
-
runs: output.runs
|
|
6859
|
+
runs: output.runs != null ? deserializeAws_json1_1Runs(output.runs, context) : undefined,
|
|
7010
6860
|
};
|
|
7011
6861
|
};
|
|
7012
6862
|
var deserializeAws_json1_1ListSamplesResult = function (output, context) {
|
|
7013
6863
|
return {
|
|
7014
6864
|
nextToken: __expectString(output.nextToken),
|
|
7015
|
-
samples: output.samples
|
|
7016
|
-
? deserializeAws_json1_1Samples(output.samples, context)
|
|
7017
|
-
: undefined,
|
|
6865
|
+
samples: output.samples != null ? deserializeAws_json1_1Samples(output.samples, context) : undefined,
|
|
7018
6866
|
};
|
|
7019
6867
|
};
|
|
7020
6868
|
var deserializeAws_json1_1ListSuitesResult = function (output, context) {
|
|
7021
6869
|
return {
|
|
7022
6870
|
nextToken: __expectString(output.nextToken),
|
|
7023
|
-
suites: output.suites
|
|
7024
|
-
? deserializeAws_json1_1Suites(output.suites, context)
|
|
7025
|
-
: undefined,
|
|
6871
|
+
suites: output.suites != null ? deserializeAws_json1_1Suites(output.suites, context) : undefined,
|
|
7026
6872
|
};
|
|
7027
6873
|
};
|
|
7028
6874
|
var deserializeAws_json1_1ListTagsForResourceResponse = function (output, context) {
|
|
7029
6875
|
return {
|
|
7030
|
-
Tags: output.Tags
|
|
7031
|
-
? deserializeAws_json1_1TagList(output.Tags, context)
|
|
7032
|
-
: undefined,
|
|
6876
|
+
Tags: output.Tags != null ? deserializeAws_json1_1TagList(output.Tags, context) : undefined,
|
|
7033
6877
|
};
|
|
7034
6878
|
};
|
|
7035
6879
|
var deserializeAws_json1_1ListTestGridProjectsResult = function (output, context) {
|
|
7036
6880
|
return {
|
|
7037
6881
|
nextToken: __expectString(output.nextToken),
|
|
7038
|
-
testGridProjects: output.testGridProjects
|
|
6882
|
+
testGridProjects: output.testGridProjects != null
|
|
7039
6883
|
? deserializeAws_json1_1TestGridProjects(output.testGridProjects, context)
|
|
7040
6884
|
: undefined,
|
|
7041
6885
|
};
|
|
7042
6886
|
};
|
|
7043
6887
|
var deserializeAws_json1_1ListTestGridSessionActionsResult = function (output, context) {
|
|
7044
6888
|
return {
|
|
7045
|
-
actions: output.actions
|
|
7046
|
-
? deserializeAws_json1_1TestGridSessionActions(output.actions, context)
|
|
7047
|
-
: undefined,
|
|
6889
|
+
actions: output.actions != null ? deserializeAws_json1_1TestGridSessionActions(output.actions, context) : undefined,
|
|
7048
6890
|
nextToken: __expectString(output.nextToken),
|
|
7049
6891
|
};
|
|
7050
6892
|
};
|
|
7051
6893
|
var deserializeAws_json1_1ListTestGridSessionArtifactsResult = function (output, context) {
|
|
7052
6894
|
return {
|
|
7053
|
-
artifacts: output.artifacts
|
|
7054
|
-
? deserializeAws_json1_1TestGridSessionArtifacts(output.artifacts, context)
|
|
7055
|
-
: undefined,
|
|
6895
|
+
artifacts: output.artifacts != null ? deserializeAws_json1_1TestGridSessionArtifacts(output.artifacts, context) : undefined,
|
|
7056
6896
|
nextToken: __expectString(output.nextToken),
|
|
7057
6897
|
};
|
|
7058
6898
|
};
|
|
7059
6899
|
var deserializeAws_json1_1ListTestGridSessionsResult = function (output, context) {
|
|
7060
6900
|
return {
|
|
7061
6901
|
nextToken: __expectString(output.nextToken),
|
|
7062
|
-
testGridSessions: output.testGridSessions
|
|
6902
|
+
testGridSessions: output.testGridSessions != null
|
|
7063
6903
|
? deserializeAws_json1_1TestGridSessions(output.testGridSessions, context)
|
|
7064
6904
|
: undefined,
|
|
7065
6905
|
};
|
|
@@ -7067,15 +6907,13 @@ var deserializeAws_json1_1ListTestGridSessionsResult = function (output, context
|
|
|
7067
6907
|
var deserializeAws_json1_1ListTestsResult = function (output, context) {
|
|
7068
6908
|
return {
|
|
7069
6909
|
nextToken: __expectString(output.nextToken),
|
|
7070
|
-
tests: output.tests
|
|
7071
|
-
? deserializeAws_json1_1Tests(output.tests, context)
|
|
7072
|
-
: undefined,
|
|
6910
|
+
tests: output.tests != null ? deserializeAws_json1_1Tests(output.tests, context) : undefined,
|
|
7073
6911
|
};
|
|
7074
6912
|
};
|
|
7075
6913
|
var deserializeAws_json1_1ListUniqueProblemsResult = function (output, context) {
|
|
7076
6914
|
return {
|
|
7077
6915
|
nextToken: __expectString(output.nextToken),
|
|
7078
|
-
uniqueProblems: output.uniqueProblems
|
|
6916
|
+
uniqueProblems: output.uniqueProblems != null
|
|
7079
6917
|
? deserializeAws_json1_1UniqueProblemsByExecutionResultMap(output.uniqueProblems, context)
|
|
7080
6918
|
: undefined,
|
|
7081
6919
|
};
|
|
@@ -7083,15 +6921,13 @@ var deserializeAws_json1_1ListUniqueProblemsResult = function (output, context)
|
|
|
7083
6921
|
var deserializeAws_json1_1ListUploadsResult = function (output, context) {
|
|
7084
6922
|
return {
|
|
7085
6923
|
nextToken: __expectString(output.nextToken),
|
|
7086
|
-
uploads: output.uploads
|
|
7087
|
-
? deserializeAws_json1_1Uploads(output.uploads, context)
|
|
7088
|
-
: undefined,
|
|
6924
|
+
uploads: output.uploads != null ? deserializeAws_json1_1Uploads(output.uploads, context) : undefined,
|
|
7089
6925
|
};
|
|
7090
6926
|
};
|
|
7091
6927
|
var deserializeAws_json1_1ListVPCEConfigurationsResult = function (output, context) {
|
|
7092
6928
|
return {
|
|
7093
6929
|
nextToken: __expectString(output.nextToken),
|
|
7094
|
-
vpceConfigurations: output.vpceConfigurations
|
|
6930
|
+
vpceConfigurations: output.vpceConfigurations != null
|
|
7095
6931
|
? deserializeAws_json1_1VPCEConfigurations(output.vpceConfigurations, context)
|
|
7096
6932
|
: undefined,
|
|
7097
6933
|
};
|
|
@@ -7160,7 +6996,7 @@ var deserializeAws_json1_1Offering = function (output, context) {
|
|
|
7160
6996
|
description: __expectString(output.description),
|
|
7161
6997
|
id: __expectString(output.id),
|
|
7162
6998
|
platform: __expectString(output.platform),
|
|
7163
|
-
recurringCharges: output.recurringCharges
|
|
6999
|
+
recurringCharges: output.recurringCharges != null
|
|
7164
7000
|
? deserializeAws_json1_1RecurringCharges(output.recurringCharges, context)
|
|
7165
7001
|
: undefined,
|
|
7166
7002
|
type: __expectString(output.type),
|
|
@@ -7196,12 +7032,10 @@ var deserializeAws_json1_1Offerings = function (output, context) {
|
|
|
7196
7032
|
};
|
|
7197
7033
|
var deserializeAws_json1_1OfferingStatus = function (output, context) {
|
|
7198
7034
|
return {
|
|
7199
|
-
effectiveOn: output.effectiveOn
|
|
7035
|
+
effectiveOn: output.effectiveOn != null
|
|
7200
7036
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.effectiveOn)))
|
|
7201
7037
|
: undefined,
|
|
7202
|
-
offering: output.offering
|
|
7203
|
-
? deserializeAws_json1_1Offering(output.offering, context)
|
|
7204
|
-
: undefined,
|
|
7038
|
+
offering: output.offering != null ? deserializeAws_json1_1Offering(output.offering, context) : undefined,
|
|
7205
7039
|
quantity: __expectInt32(output.quantity),
|
|
7206
7040
|
type: __expectString(output.type),
|
|
7207
7041
|
};
|
|
@@ -7218,16 +7052,10 @@ var deserializeAws_json1_1OfferingStatusMap = function (output, context) {
|
|
|
7218
7052
|
};
|
|
7219
7053
|
var deserializeAws_json1_1OfferingTransaction = function (output, context) {
|
|
7220
7054
|
return {
|
|
7221
|
-
cost: output.cost
|
|
7222
|
-
|
|
7223
|
-
: undefined,
|
|
7224
|
-
createdOn: output.createdOn !== undefined && output.createdOn !== null
|
|
7225
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdOn)))
|
|
7226
|
-
: undefined,
|
|
7055
|
+
cost: output.cost != null ? deserializeAws_json1_1MonetaryAmount(output.cost, context) : undefined,
|
|
7056
|
+
createdOn: output.createdOn != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdOn))) : undefined,
|
|
7227
7057
|
offeringPromotionId: __expectString(output.offeringPromotionId),
|
|
7228
|
-
offeringStatus: output.offeringStatus
|
|
7229
|
-
? deserializeAws_json1_1OfferingStatus(output.offeringStatus, context)
|
|
7230
|
-
: undefined,
|
|
7058
|
+
offeringStatus: output.offeringStatus != null ? deserializeAws_json1_1OfferingStatus(output.offeringStatus, context) : undefined,
|
|
7231
7059
|
transactionId: __expectString(output.transactionId),
|
|
7232
7060
|
};
|
|
7233
7061
|
};
|
|
@@ -7255,23 +7083,13 @@ var deserializeAws_json1_1PackageIds = function (output, context) {
|
|
|
7255
7083
|
};
|
|
7256
7084
|
var deserializeAws_json1_1Problem = function (output, context) {
|
|
7257
7085
|
return {
|
|
7258
|
-
device: output.device
|
|
7259
|
-
|
|
7260
|
-
: undefined,
|
|
7261
|
-
job: output.job !== undefined && output.job !== null
|
|
7262
|
-
? deserializeAws_json1_1ProblemDetail(output.job, context)
|
|
7263
|
-
: undefined,
|
|
7086
|
+
device: output.device != null ? deserializeAws_json1_1Device(output.device, context) : undefined,
|
|
7087
|
+
job: output.job != null ? deserializeAws_json1_1ProblemDetail(output.job, context) : undefined,
|
|
7264
7088
|
message: __expectString(output.message),
|
|
7265
7089
|
result: __expectString(output.result),
|
|
7266
|
-
run: output.run
|
|
7267
|
-
|
|
7268
|
-
|
|
7269
|
-
suite: output.suite !== undefined && output.suite !== null
|
|
7270
|
-
? deserializeAws_json1_1ProblemDetail(output.suite, context)
|
|
7271
|
-
: undefined,
|
|
7272
|
-
test: output.test !== undefined && output.test !== null
|
|
7273
|
-
? deserializeAws_json1_1ProblemDetail(output.test, context)
|
|
7274
|
-
: undefined,
|
|
7090
|
+
run: output.run != null ? deserializeAws_json1_1ProblemDetail(output.run, context) : undefined,
|
|
7091
|
+
suite: output.suite != null ? deserializeAws_json1_1ProblemDetail(output.suite, context) : undefined,
|
|
7092
|
+
test: output.test != null ? deserializeAws_json1_1ProblemDetail(output.test, context) : undefined,
|
|
7275
7093
|
};
|
|
7276
7094
|
};
|
|
7277
7095
|
var deserializeAws_json1_1ProblemDetail = function (output, context) {
|
|
@@ -7294,9 +7112,7 @@ var deserializeAws_json1_1Problems = function (output, context) {
|
|
|
7294
7112
|
var deserializeAws_json1_1Project = function (output, context) {
|
|
7295
7113
|
return {
|
|
7296
7114
|
arn: __expectString(output.arn),
|
|
7297
|
-
created: output.created
|
|
7298
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.created)))
|
|
7299
|
-
: undefined,
|
|
7115
|
+
created: output.created != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.created))) : undefined,
|
|
7300
7116
|
defaultJobTimeoutMinutes: __expectInt32(output.defaultJobTimeoutMinutes),
|
|
7301
7117
|
name: __expectString(output.name),
|
|
7302
7118
|
};
|
|
@@ -7324,7 +7140,7 @@ var deserializeAws_json1_1PurchasedDevicesMap = function (output, context) {
|
|
|
7324
7140
|
};
|
|
7325
7141
|
var deserializeAws_json1_1PurchaseOfferingResult = function (output, context) {
|
|
7326
7142
|
return {
|
|
7327
|
-
offeringTransaction: output.offeringTransaction
|
|
7143
|
+
offeringTransaction: output.offeringTransaction != null
|
|
7328
7144
|
? deserializeAws_json1_1OfferingTransaction(output.offeringTransaction, context)
|
|
7329
7145
|
: undefined,
|
|
7330
7146
|
};
|
|
@@ -7339,9 +7155,7 @@ var deserializeAws_json1_1Radios = function (output, context) {
|
|
|
7339
7155
|
};
|
|
7340
7156
|
var deserializeAws_json1_1RecurringCharge = function (output, context) {
|
|
7341
7157
|
return {
|
|
7342
|
-
cost: output.cost
|
|
7343
|
-
? deserializeAws_json1_1MonetaryAmount(output.cost, context)
|
|
7344
|
-
: undefined,
|
|
7158
|
+
cost: output.cost != null ? deserializeAws_json1_1MonetaryAmount(output.cost, context) : undefined,
|
|
7345
7159
|
frequency: __expectString(output.frequency),
|
|
7346
7160
|
};
|
|
7347
7161
|
};
|
|
@@ -7361,15 +7175,9 @@ var deserializeAws_json1_1RemoteAccessSession = function (output, context) {
|
|
|
7361
7175
|
arn: __expectString(output.arn),
|
|
7362
7176
|
billingMethod: __expectString(output.billingMethod),
|
|
7363
7177
|
clientId: __expectString(output.clientId),
|
|
7364
|
-
created: output.created
|
|
7365
|
-
|
|
7366
|
-
|
|
7367
|
-
device: output.device !== undefined && output.device !== null
|
|
7368
|
-
? deserializeAws_json1_1Device(output.device, context)
|
|
7369
|
-
: undefined,
|
|
7370
|
-
deviceMinutes: output.deviceMinutes !== undefined && output.deviceMinutes !== null
|
|
7371
|
-
? deserializeAws_json1_1DeviceMinutes(output.deviceMinutes, context)
|
|
7372
|
-
: undefined,
|
|
7178
|
+
created: output.created != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.created))) : undefined,
|
|
7179
|
+
device: output.device != null ? deserializeAws_json1_1Device(output.device, context) : undefined,
|
|
7180
|
+
deviceMinutes: output.deviceMinutes != null ? deserializeAws_json1_1DeviceMinutes(output.deviceMinutes, context) : undefined,
|
|
7373
7181
|
deviceUdid: __expectString(output.deviceUdid),
|
|
7374
7182
|
endpoint: __expectString(output.endpoint),
|
|
7375
7183
|
hostAddress: __expectString(output.hostAddress),
|
|
@@ -7382,13 +7190,9 @@ var deserializeAws_json1_1RemoteAccessSession = function (output, context) {
|
|
|
7382
7190
|
remoteRecordEnabled: __expectBoolean(output.remoteRecordEnabled),
|
|
7383
7191
|
result: __expectString(output.result),
|
|
7384
7192
|
skipAppResign: __expectBoolean(output.skipAppResign),
|
|
7385
|
-
started: output.started
|
|
7386
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.started)))
|
|
7387
|
-
: undefined,
|
|
7193
|
+
started: output.started != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.started))) : undefined,
|
|
7388
7194
|
status: __expectString(output.status),
|
|
7389
|
-
stopped: output.stopped
|
|
7390
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.stopped)))
|
|
7391
|
-
: undefined,
|
|
7195
|
+
stopped: output.stopped != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.stopped))) : undefined,
|
|
7392
7196
|
};
|
|
7393
7197
|
};
|
|
7394
7198
|
var deserializeAws_json1_1RemoteAccessSessions = function (output, context) {
|
|
@@ -7404,7 +7208,7 @@ var deserializeAws_json1_1RemoteAccessSessions = function (output, context) {
|
|
|
7404
7208
|
};
|
|
7405
7209
|
var deserializeAws_json1_1RenewOfferingResult = function (output, context) {
|
|
7406
7210
|
return {
|
|
7407
|
-
offeringTransaction: output.offeringTransaction
|
|
7211
|
+
offeringTransaction: output.offeringTransaction != null
|
|
7408
7212
|
? deserializeAws_json1_1OfferingTransaction(output.offeringTransaction, context)
|
|
7409
7213
|
: undefined,
|
|
7410
7214
|
};
|
|
@@ -7439,49 +7243,33 @@ var deserializeAws_json1_1Run = function (output, context) {
|
|
|
7439
7243
|
arn: __expectString(output.arn),
|
|
7440
7244
|
billingMethod: __expectString(output.billingMethod),
|
|
7441
7245
|
completedJobs: __expectInt32(output.completedJobs),
|
|
7442
|
-
counters: output.counters
|
|
7443
|
-
|
|
7444
|
-
|
|
7445
|
-
created: output.created !== undefined && output.created !== null
|
|
7446
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.created)))
|
|
7447
|
-
: undefined,
|
|
7448
|
-
customerArtifactPaths: output.customerArtifactPaths !== undefined && output.customerArtifactPaths !== null
|
|
7246
|
+
counters: output.counters != null ? deserializeAws_json1_1Counters(output.counters, context) : undefined,
|
|
7247
|
+
created: output.created != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.created))) : undefined,
|
|
7248
|
+
customerArtifactPaths: output.customerArtifactPaths != null
|
|
7449
7249
|
? deserializeAws_json1_1CustomerArtifactPaths(output.customerArtifactPaths, context)
|
|
7450
7250
|
: undefined,
|
|
7451
|
-
deviceMinutes: output.deviceMinutes
|
|
7452
|
-
? deserializeAws_json1_1DeviceMinutes(output.deviceMinutes, context)
|
|
7453
|
-
: undefined,
|
|
7251
|
+
deviceMinutes: output.deviceMinutes != null ? deserializeAws_json1_1DeviceMinutes(output.deviceMinutes, context) : undefined,
|
|
7454
7252
|
devicePoolArn: __expectString(output.devicePoolArn),
|
|
7455
|
-
deviceSelectionResult: output.deviceSelectionResult
|
|
7253
|
+
deviceSelectionResult: output.deviceSelectionResult != null
|
|
7456
7254
|
? deserializeAws_json1_1DeviceSelectionResult(output.deviceSelectionResult, context)
|
|
7457
7255
|
: undefined,
|
|
7458
7256
|
eventCount: __expectInt32(output.eventCount),
|
|
7459
7257
|
jobTimeoutMinutes: __expectInt32(output.jobTimeoutMinutes),
|
|
7460
7258
|
locale: __expectString(output.locale),
|
|
7461
|
-
location: output.location
|
|
7462
|
-
? deserializeAws_json1_1Location(output.location, context)
|
|
7463
|
-
: undefined,
|
|
7259
|
+
location: output.location != null ? deserializeAws_json1_1Location(output.location, context) : undefined,
|
|
7464
7260
|
message: __expectString(output.message),
|
|
7465
7261
|
name: __expectString(output.name),
|
|
7466
|
-
networkProfile: output.networkProfile
|
|
7467
|
-
? deserializeAws_json1_1NetworkProfile(output.networkProfile, context)
|
|
7468
|
-
: undefined,
|
|
7262
|
+
networkProfile: output.networkProfile != null ? deserializeAws_json1_1NetworkProfile(output.networkProfile, context) : undefined,
|
|
7469
7263
|
parsingResultUrl: __expectString(output.parsingResultUrl),
|
|
7470
7264
|
platform: __expectString(output.platform),
|
|
7471
|
-
radios: output.radios
|
|
7472
|
-
? deserializeAws_json1_1Radios(output.radios, context)
|
|
7473
|
-
: undefined,
|
|
7265
|
+
radios: output.radios != null ? deserializeAws_json1_1Radios(output.radios, context) : undefined,
|
|
7474
7266
|
result: __expectString(output.result),
|
|
7475
7267
|
resultCode: __expectString(output.resultCode),
|
|
7476
7268
|
seed: __expectInt32(output.seed),
|
|
7477
7269
|
skipAppResign: __expectBoolean(output.skipAppResign),
|
|
7478
|
-
started: output.started
|
|
7479
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.started)))
|
|
7480
|
-
: undefined,
|
|
7270
|
+
started: output.started != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.started))) : undefined,
|
|
7481
7271
|
status: __expectString(output.status),
|
|
7482
|
-
stopped: output.stopped
|
|
7483
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.stopped)))
|
|
7484
|
-
: undefined,
|
|
7272
|
+
stopped: output.stopped != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.stopped))) : undefined,
|
|
7485
7273
|
testSpecArn: __expectString(output.testSpecArn),
|
|
7486
7274
|
totalJobs: __expectInt32(output.totalJobs),
|
|
7487
7275
|
type: __expectString(output.type),
|
|
@@ -7519,7 +7307,7 @@ var deserializeAws_json1_1Samples = function (output, context) {
|
|
|
7519
7307
|
};
|
|
7520
7308
|
var deserializeAws_json1_1ScheduleRunResult = function (output, context) {
|
|
7521
7309
|
return {
|
|
7522
|
-
run: output.run
|
|
7310
|
+
run: output.run != null ? deserializeAws_json1_1Run(output.run, context) : undefined,
|
|
7523
7311
|
};
|
|
7524
7312
|
};
|
|
7525
7313
|
var deserializeAws_json1_1SecurityGroupIds = function (output, context) {
|
|
@@ -7540,19 +7328,19 @@ var deserializeAws_json1_1ServiceAccountException = function (output, context) {
|
|
|
7540
7328
|
};
|
|
7541
7329
|
var deserializeAws_json1_1StopJobResult = function (output, context) {
|
|
7542
7330
|
return {
|
|
7543
|
-
job: output.job
|
|
7331
|
+
job: output.job != null ? deserializeAws_json1_1Job(output.job, context) : undefined,
|
|
7544
7332
|
};
|
|
7545
7333
|
};
|
|
7546
7334
|
var deserializeAws_json1_1StopRemoteAccessSessionResult = function (output, context) {
|
|
7547
7335
|
return {
|
|
7548
|
-
remoteAccessSession: output.remoteAccessSession
|
|
7336
|
+
remoteAccessSession: output.remoteAccessSession != null
|
|
7549
7337
|
? deserializeAws_json1_1RemoteAccessSession(output.remoteAccessSession, context)
|
|
7550
7338
|
: undefined,
|
|
7551
7339
|
};
|
|
7552
7340
|
};
|
|
7553
7341
|
var deserializeAws_json1_1StopRunResult = function (output, context) {
|
|
7554
7342
|
return {
|
|
7555
|
-
run: output.run
|
|
7343
|
+
run: output.run != null ? deserializeAws_json1_1Run(output.run, context) : undefined,
|
|
7556
7344
|
};
|
|
7557
7345
|
};
|
|
7558
7346
|
var deserializeAws_json1_1SubnetIds = function (output, context) {
|
|
@@ -7569,25 +7357,15 @@ var deserializeAws_json1_1SubnetIds = function (output, context) {
|
|
|
7569
7357
|
var deserializeAws_json1_1Suite = function (output, context) {
|
|
7570
7358
|
return {
|
|
7571
7359
|
arn: __expectString(output.arn),
|
|
7572
|
-
counters: output.counters
|
|
7573
|
-
|
|
7574
|
-
|
|
7575
|
-
created: output.created !== undefined && output.created !== null
|
|
7576
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.created)))
|
|
7577
|
-
: undefined,
|
|
7578
|
-
deviceMinutes: output.deviceMinutes !== undefined && output.deviceMinutes !== null
|
|
7579
|
-
? deserializeAws_json1_1DeviceMinutes(output.deviceMinutes, context)
|
|
7580
|
-
: undefined,
|
|
7360
|
+
counters: output.counters != null ? deserializeAws_json1_1Counters(output.counters, context) : undefined,
|
|
7361
|
+
created: output.created != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.created))) : undefined,
|
|
7362
|
+
deviceMinutes: output.deviceMinutes != null ? deserializeAws_json1_1DeviceMinutes(output.deviceMinutes, context) : undefined,
|
|
7581
7363
|
message: __expectString(output.message),
|
|
7582
7364
|
name: __expectString(output.name),
|
|
7583
7365
|
result: __expectString(output.result),
|
|
7584
|
-
started: output.started
|
|
7585
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.started)))
|
|
7586
|
-
: undefined,
|
|
7366
|
+
started: output.started != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.started))) : undefined,
|
|
7587
7367
|
status: __expectString(output.status),
|
|
7588
|
-
stopped: output.stopped
|
|
7589
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.stopped)))
|
|
7590
|
-
: undefined,
|
|
7368
|
+
stopped: output.stopped != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.stopped))) : undefined,
|
|
7591
7369
|
type: __expectString(output.type),
|
|
7592
7370
|
};
|
|
7593
7371
|
};
|
|
@@ -7637,39 +7415,25 @@ var deserializeAws_json1_1TagResourceResponse = function (output, context) {
|
|
|
7637
7415
|
var deserializeAws_json1_1Test = function (output, context) {
|
|
7638
7416
|
return {
|
|
7639
7417
|
arn: __expectString(output.arn),
|
|
7640
|
-
counters: output.counters
|
|
7641
|
-
|
|
7642
|
-
|
|
7643
|
-
created: output.created !== undefined && output.created !== null
|
|
7644
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.created)))
|
|
7645
|
-
: undefined,
|
|
7646
|
-
deviceMinutes: output.deviceMinutes !== undefined && output.deviceMinutes !== null
|
|
7647
|
-
? deserializeAws_json1_1DeviceMinutes(output.deviceMinutes, context)
|
|
7648
|
-
: undefined,
|
|
7418
|
+
counters: output.counters != null ? deserializeAws_json1_1Counters(output.counters, context) : undefined,
|
|
7419
|
+
created: output.created != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.created))) : undefined,
|
|
7420
|
+
deviceMinutes: output.deviceMinutes != null ? deserializeAws_json1_1DeviceMinutes(output.deviceMinutes, context) : undefined,
|
|
7649
7421
|
message: __expectString(output.message),
|
|
7650
7422
|
name: __expectString(output.name),
|
|
7651
7423
|
result: __expectString(output.result),
|
|
7652
|
-
started: output.started
|
|
7653
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.started)))
|
|
7654
|
-
: undefined,
|
|
7424
|
+
started: output.started != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.started))) : undefined,
|
|
7655
7425
|
status: __expectString(output.status),
|
|
7656
|
-
stopped: output.stopped
|
|
7657
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.stopped)))
|
|
7658
|
-
: undefined,
|
|
7426
|
+
stopped: output.stopped != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.stopped))) : undefined,
|
|
7659
7427
|
type: __expectString(output.type),
|
|
7660
7428
|
};
|
|
7661
7429
|
};
|
|
7662
7430
|
var deserializeAws_json1_1TestGridProject = function (output, context) {
|
|
7663
7431
|
return {
|
|
7664
7432
|
arn: __expectString(output.arn),
|
|
7665
|
-
created: output.created
|
|
7666
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.created)))
|
|
7667
|
-
: undefined,
|
|
7433
|
+
created: output.created != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.created))) : undefined,
|
|
7668
7434
|
description: __expectString(output.description),
|
|
7669
7435
|
name: __expectString(output.name),
|
|
7670
|
-
vpcConfig: output.vpcConfig
|
|
7671
|
-
? deserializeAws_json1_1TestGridVpcConfig(output.vpcConfig, context)
|
|
7672
|
-
: undefined,
|
|
7436
|
+
vpcConfig: output.vpcConfig != null ? deserializeAws_json1_1TestGridVpcConfig(output.vpcConfig, context) : undefined,
|
|
7673
7437
|
};
|
|
7674
7438
|
};
|
|
7675
7439
|
var deserializeAws_json1_1TestGridProjects = function (output, context) {
|
|
@@ -7687,12 +7451,8 @@ var deserializeAws_json1_1TestGridSession = function (output, context) {
|
|
|
7687
7451
|
return {
|
|
7688
7452
|
arn: __expectString(output.arn),
|
|
7689
7453
|
billingMinutes: __limitedParseDouble(output.billingMinutes),
|
|
7690
|
-
created: output.created
|
|
7691
|
-
|
|
7692
|
-
: undefined,
|
|
7693
|
-
ended: output.ended !== undefined && output.ended !== null
|
|
7694
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ended)))
|
|
7695
|
-
: undefined,
|
|
7454
|
+
created: output.created != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.created))) : undefined,
|
|
7455
|
+
ended: output.ended != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ended))) : undefined,
|
|
7696
7456
|
seleniumProperties: __expectString(output.seleniumProperties),
|
|
7697
7457
|
status: __expectString(output.status),
|
|
7698
7458
|
};
|
|
@@ -7702,9 +7462,7 @@ var deserializeAws_json1_1TestGridSessionAction = function (output, context) {
|
|
|
7702
7462
|
action: __expectString(output.action),
|
|
7703
7463
|
duration: __expectLong(output.duration),
|
|
7704
7464
|
requestMethod: __expectString(output.requestMethod),
|
|
7705
|
-
started: output.started
|
|
7706
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.started)))
|
|
7707
|
-
: undefined,
|
|
7465
|
+
started: output.started != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.started))) : undefined,
|
|
7708
7466
|
statusCode: __expectString(output.statusCode),
|
|
7709
7467
|
};
|
|
7710
7468
|
};
|
|
@@ -7750,12 +7508,10 @@ var deserializeAws_json1_1TestGridSessions = function (output, context) {
|
|
|
7750
7508
|
};
|
|
7751
7509
|
var deserializeAws_json1_1TestGridVpcConfig = function (output, context) {
|
|
7752
7510
|
return {
|
|
7753
|
-
securityGroupIds: output.securityGroupIds
|
|
7511
|
+
securityGroupIds: output.securityGroupIds != null
|
|
7754
7512
|
? deserializeAws_json1_1SecurityGroupIds(output.securityGroupIds, context)
|
|
7755
7513
|
: undefined,
|
|
7756
|
-
subnetIds: output.subnetIds
|
|
7757
|
-
? deserializeAws_json1_1SubnetIds(output.subnetIds, context)
|
|
7758
|
-
: undefined,
|
|
7514
|
+
subnetIds: output.subnetIds != null ? deserializeAws_json1_1SubnetIds(output.subnetIds, context) : undefined,
|
|
7759
7515
|
vpcId: __expectString(output.vpcId),
|
|
7760
7516
|
};
|
|
7761
7517
|
};
|
|
@@ -7785,9 +7541,7 @@ var deserializeAws_json1_1TrialMinutes = function (output, context) {
|
|
|
7785
7541
|
var deserializeAws_json1_1UniqueProblem = function (output, context) {
|
|
7786
7542
|
return {
|
|
7787
7543
|
message: __expectString(output.message),
|
|
7788
|
-
problems: output.problems
|
|
7789
|
-
? deserializeAws_json1_1Problems(output.problems, context)
|
|
7790
|
-
: undefined,
|
|
7544
|
+
problems: output.problems != null ? deserializeAws_json1_1Problems(output.problems, context) : undefined,
|
|
7791
7545
|
};
|
|
7792
7546
|
};
|
|
7793
7547
|
var deserializeAws_json1_1UniqueProblems = function (output, context) {
|
|
@@ -7816,56 +7570,46 @@ var deserializeAws_json1_1UntagResourceResponse = function (output, context) {
|
|
|
7816
7570
|
};
|
|
7817
7571
|
var deserializeAws_json1_1UpdateDeviceInstanceResult = function (output, context) {
|
|
7818
7572
|
return {
|
|
7819
|
-
deviceInstance: output.deviceInstance
|
|
7820
|
-
? deserializeAws_json1_1DeviceInstance(output.deviceInstance, context)
|
|
7821
|
-
: undefined,
|
|
7573
|
+
deviceInstance: output.deviceInstance != null ? deserializeAws_json1_1DeviceInstance(output.deviceInstance, context) : undefined,
|
|
7822
7574
|
};
|
|
7823
7575
|
};
|
|
7824
7576
|
var deserializeAws_json1_1UpdateDevicePoolResult = function (output, context) {
|
|
7825
7577
|
return {
|
|
7826
|
-
devicePool: output.devicePool
|
|
7827
|
-
? deserializeAws_json1_1DevicePool(output.devicePool, context)
|
|
7828
|
-
: undefined,
|
|
7578
|
+
devicePool: output.devicePool != null ? deserializeAws_json1_1DevicePool(output.devicePool, context) : undefined,
|
|
7829
7579
|
};
|
|
7830
7580
|
};
|
|
7831
7581
|
var deserializeAws_json1_1UpdateInstanceProfileResult = function (output, context) {
|
|
7832
7582
|
return {
|
|
7833
|
-
instanceProfile: output.instanceProfile
|
|
7583
|
+
instanceProfile: output.instanceProfile != null
|
|
7834
7584
|
? deserializeAws_json1_1InstanceProfile(output.instanceProfile, context)
|
|
7835
7585
|
: undefined,
|
|
7836
7586
|
};
|
|
7837
7587
|
};
|
|
7838
7588
|
var deserializeAws_json1_1UpdateNetworkProfileResult = function (output, context) {
|
|
7839
7589
|
return {
|
|
7840
|
-
networkProfile: output.networkProfile
|
|
7841
|
-
? deserializeAws_json1_1NetworkProfile(output.networkProfile, context)
|
|
7842
|
-
: undefined,
|
|
7590
|
+
networkProfile: output.networkProfile != null ? deserializeAws_json1_1NetworkProfile(output.networkProfile, context) : undefined,
|
|
7843
7591
|
};
|
|
7844
7592
|
};
|
|
7845
7593
|
var deserializeAws_json1_1UpdateProjectResult = function (output, context) {
|
|
7846
7594
|
return {
|
|
7847
|
-
project: output.project
|
|
7848
|
-
? deserializeAws_json1_1Project(output.project, context)
|
|
7849
|
-
: undefined,
|
|
7595
|
+
project: output.project != null ? deserializeAws_json1_1Project(output.project, context) : undefined,
|
|
7850
7596
|
};
|
|
7851
7597
|
};
|
|
7852
7598
|
var deserializeAws_json1_1UpdateTestGridProjectResult = function (output, context) {
|
|
7853
7599
|
return {
|
|
7854
|
-
testGridProject: output.testGridProject
|
|
7600
|
+
testGridProject: output.testGridProject != null
|
|
7855
7601
|
? deserializeAws_json1_1TestGridProject(output.testGridProject, context)
|
|
7856
7602
|
: undefined,
|
|
7857
7603
|
};
|
|
7858
7604
|
};
|
|
7859
7605
|
var deserializeAws_json1_1UpdateUploadResult = function (output, context) {
|
|
7860
7606
|
return {
|
|
7861
|
-
upload: output.upload
|
|
7862
|
-
? deserializeAws_json1_1Upload(output.upload, context)
|
|
7863
|
-
: undefined,
|
|
7607
|
+
upload: output.upload != null ? deserializeAws_json1_1Upload(output.upload, context) : undefined,
|
|
7864
7608
|
};
|
|
7865
7609
|
};
|
|
7866
7610
|
var deserializeAws_json1_1UpdateVPCEConfigurationResult = function (output, context) {
|
|
7867
7611
|
return {
|
|
7868
|
-
vpceConfiguration: output.vpceConfiguration
|
|
7612
|
+
vpceConfiguration: output.vpceConfiguration != null
|
|
7869
7613
|
? deserializeAws_json1_1VPCEConfiguration(output.vpceConfiguration, context)
|
|
7870
7614
|
: undefined,
|
|
7871
7615
|
};
|
|
@@ -7875,9 +7619,7 @@ var deserializeAws_json1_1Upload = function (output, context) {
|
|
|
7875
7619
|
arn: __expectString(output.arn),
|
|
7876
7620
|
category: __expectString(output.category),
|
|
7877
7621
|
contentType: __expectString(output.contentType),
|
|
7878
|
-
created: output.created
|
|
7879
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.created)))
|
|
7880
|
-
: undefined,
|
|
7622
|
+
created: output.created != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.created))) : undefined,
|
|
7881
7623
|
message: __expectString(output.message),
|
|
7882
7624
|
metadata: __expectString(output.metadata),
|
|
7883
7625
|
name: __expectString(output.name),
|