@aws-sdk/client-device-farm 3.121.0 → 3.130.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 +27 -0
- package/dist-cjs/protocols/Aws_json1_1.js +389 -644
- package/dist-es/protocols/Aws_json1_1.js +244 -499
- package/package.json +26 -26
|
@@ -4432,190 +4432,162 @@ const serializeAws_json1_1AndroidPaths = (input, context) => {
|
|
|
4432
4432
|
};
|
|
4433
4433
|
const serializeAws_json1_1CreateDevicePoolRequest = (input, context) => {
|
|
4434
4434
|
return {
|
|
4435
|
-
...(input.description
|
|
4436
|
-
...(input.maxDevices
|
|
4437
|
-
...(input.name
|
|
4438
|
-
...(input.projectArn
|
|
4439
|
-
...(input.rules
|
|
4440
|
-
input.rules !== null && { rules: serializeAws_json1_1Rules(input.rules, context) }),
|
|
4435
|
+
...(input.description != null && { description: input.description }),
|
|
4436
|
+
...(input.maxDevices != null && { maxDevices: input.maxDevices }),
|
|
4437
|
+
...(input.name != null && { name: input.name }),
|
|
4438
|
+
...(input.projectArn != null && { projectArn: input.projectArn }),
|
|
4439
|
+
...(input.rules != null && { rules: serializeAws_json1_1Rules(input.rules, context) }),
|
|
4441
4440
|
};
|
|
4442
4441
|
};
|
|
4443
4442
|
const serializeAws_json1_1CreateInstanceProfileRequest = (input, context) => {
|
|
4444
4443
|
return {
|
|
4445
|
-
...(input.description
|
|
4446
|
-
...(input.excludeAppPackagesFromCleanup
|
|
4447
|
-
input.excludeAppPackagesFromCleanup !== null && {
|
|
4444
|
+
...(input.description != null && { description: input.description }),
|
|
4445
|
+
...(input.excludeAppPackagesFromCleanup != null && {
|
|
4448
4446
|
excludeAppPackagesFromCleanup: serializeAws_json1_1PackageIds(input.excludeAppPackagesFromCleanup, context),
|
|
4449
4447
|
}),
|
|
4450
|
-
...(input.name
|
|
4451
|
-
...(input.packageCleanup
|
|
4452
|
-
|
|
4453
|
-
...(input.rebootAfterUse !== undefined &&
|
|
4454
|
-
input.rebootAfterUse !== null && { rebootAfterUse: input.rebootAfterUse }),
|
|
4448
|
+
...(input.name != null && { name: input.name }),
|
|
4449
|
+
...(input.packageCleanup != null && { packageCleanup: input.packageCleanup }),
|
|
4450
|
+
...(input.rebootAfterUse != null && { rebootAfterUse: input.rebootAfterUse }),
|
|
4455
4451
|
};
|
|
4456
4452
|
};
|
|
4457
4453
|
const serializeAws_json1_1CreateNetworkProfileRequest = (input, context) => {
|
|
4458
4454
|
return {
|
|
4459
|
-
...(input.description
|
|
4460
|
-
...(input.downlinkBandwidthBits
|
|
4461
|
-
|
|
4462
|
-
...(input.
|
|
4463
|
-
|
|
4464
|
-
...(input.
|
|
4465
|
-
|
|
4466
|
-
...(input.
|
|
4467
|
-
|
|
4468
|
-
...(input.
|
|
4469
|
-
...(input.
|
|
4470
|
-
...(input.
|
|
4471
|
-
...(input.uplinkBandwidthBits !== undefined &&
|
|
4472
|
-
input.uplinkBandwidthBits !== null && { uplinkBandwidthBits: input.uplinkBandwidthBits }),
|
|
4473
|
-
...(input.uplinkDelayMs !== undefined && input.uplinkDelayMs !== null && { uplinkDelayMs: input.uplinkDelayMs }),
|
|
4474
|
-
...(input.uplinkJitterMs !== undefined &&
|
|
4475
|
-
input.uplinkJitterMs !== null && { uplinkJitterMs: input.uplinkJitterMs }),
|
|
4476
|
-
...(input.uplinkLossPercent !== undefined &&
|
|
4477
|
-
input.uplinkLossPercent !== null && { uplinkLossPercent: input.uplinkLossPercent }),
|
|
4455
|
+
...(input.description != null && { description: input.description }),
|
|
4456
|
+
...(input.downlinkBandwidthBits != null && { downlinkBandwidthBits: input.downlinkBandwidthBits }),
|
|
4457
|
+
...(input.downlinkDelayMs != null && { downlinkDelayMs: input.downlinkDelayMs }),
|
|
4458
|
+
...(input.downlinkJitterMs != null && { downlinkJitterMs: input.downlinkJitterMs }),
|
|
4459
|
+
...(input.downlinkLossPercent != null && { downlinkLossPercent: input.downlinkLossPercent }),
|
|
4460
|
+
...(input.name != null && { name: input.name }),
|
|
4461
|
+
...(input.projectArn != null && { projectArn: input.projectArn }),
|
|
4462
|
+
...(input.type != null && { type: input.type }),
|
|
4463
|
+
...(input.uplinkBandwidthBits != null && { uplinkBandwidthBits: input.uplinkBandwidthBits }),
|
|
4464
|
+
...(input.uplinkDelayMs != null && { uplinkDelayMs: input.uplinkDelayMs }),
|
|
4465
|
+
...(input.uplinkJitterMs != null && { uplinkJitterMs: input.uplinkJitterMs }),
|
|
4466
|
+
...(input.uplinkLossPercent != null && { uplinkLossPercent: input.uplinkLossPercent }),
|
|
4478
4467
|
};
|
|
4479
4468
|
};
|
|
4480
4469
|
const serializeAws_json1_1CreateProjectRequest = (input, context) => {
|
|
4481
4470
|
return {
|
|
4482
|
-
...(input.defaultJobTimeoutMinutes
|
|
4483
|
-
|
|
4484
|
-
...(input.name !== undefined && input.name !== null && { name: input.name }),
|
|
4471
|
+
...(input.defaultJobTimeoutMinutes != null && { defaultJobTimeoutMinutes: input.defaultJobTimeoutMinutes }),
|
|
4472
|
+
...(input.name != null && { name: input.name }),
|
|
4485
4473
|
};
|
|
4486
4474
|
};
|
|
4487
4475
|
const serializeAws_json1_1CreateRemoteAccessSessionConfiguration = (input, context) => {
|
|
4488
4476
|
return {
|
|
4489
|
-
...(input.billingMethod
|
|
4490
|
-
...(input.vpceConfigurationArns
|
|
4491
|
-
input.vpceConfigurationArns !== null && {
|
|
4477
|
+
...(input.billingMethod != null && { billingMethod: input.billingMethod }),
|
|
4478
|
+
...(input.vpceConfigurationArns != null && {
|
|
4492
4479
|
vpceConfigurationArns: serializeAws_json1_1AmazonResourceNames(input.vpceConfigurationArns, context),
|
|
4493
4480
|
}),
|
|
4494
4481
|
};
|
|
4495
4482
|
};
|
|
4496
4483
|
const serializeAws_json1_1CreateRemoteAccessSessionRequest = (input, context) => {
|
|
4497
4484
|
return {
|
|
4498
|
-
...(input.clientId
|
|
4499
|
-
...(input.configuration
|
|
4500
|
-
input.configuration !== null && {
|
|
4485
|
+
...(input.clientId != null && { clientId: input.clientId }),
|
|
4486
|
+
...(input.configuration != null && {
|
|
4501
4487
|
configuration: serializeAws_json1_1CreateRemoteAccessSessionConfiguration(input.configuration, context),
|
|
4502
4488
|
}),
|
|
4503
|
-
...(input.deviceArn
|
|
4504
|
-
...(input.instanceArn
|
|
4505
|
-
...(input.interactionMode
|
|
4506
|
-
|
|
4507
|
-
...(input.
|
|
4508
|
-
...(input.
|
|
4509
|
-
...(input.
|
|
4510
|
-
|
|
4511
|
-
...(input.
|
|
4512
|
-
|
|
4513
|
-
...(input.remoteRecordEnabled !== undefined &&
|
|
4514
|
-
input.remoteRecordEnabled !== null && { remoteRecordEnabled: input.remoteRecordEnabled }),
|
|
4515
|
-
...(input.skipAppResign !== undefined && input.skipAppResign !== null && { skipAppResign: input.skipAppResign }),
|
|
4516
|
-
...(input.sshPublicKey !== undefined && input.sshPublicKey !== null && { sshPublicKey: input.sshPublicKey }),
|
|
4489
|
+
...(input.deviceArn != null && { deviceArn: input.deviceArn }),
|
|
4490
|
+
...(input.instanceArn != null && { instanceArn: input.instanceArn }),
|
|
4491
|
+
...(input.interactionMode != null && { interactionMode: input.interactionMode }),
|
|
4492
|
+
...(input.name != null && { name: input.name }),
|
|
4493
|
+
...(input.projectArn != null && { projectArn: input.projectArn }),
|
|
4494
|
+
...(input.remoteDebugEnabled != null && { remoteDebugEnabled: input.remoteDebugEnabled }),
|
|
4495
|
+
...(input.remoteRecordAppArn != null && { remoteRecordAppArn: input.remoteRecordAppArn }),
|
|
4496
|
+
...(input.remoteRecordEnabled != null && { remoteRecordEnabled: input.remoteRecordEnabled }),
|
|
4497
|
+
...(input.skipAppResign != null && { skipAppResign: input.skipAppResign }),
|
|
4498
|
+
...(input.sshPublicKey != null && { sshPublicKey: input.sshPublicKey }),
|
|
4517
4499
|
};
|
|
4518
4500
|
};
|
|
4519
4501
|
const serializeAws_json1_1CreateTestGridProjectRequest = (input, context) => {
|
|
4520
4502
|
return {
|
|
4521
|
-
...(input.description
|
|
4522
|
-
...(input.name
|
|
4523
|
-
...(input.vpcConfig
|
|
4524
|
-
input.vpcConfig !== null && { vpcConfig: serializeAws_json1_1TestGridVpcConfig(input.vpcConfig, context) }),
|
|
4503
|
+
...(input.description != null && { description: input.description }),
|
|
4504
|
+
...(input.name != null && { name: input.name }),
|
|
4505
|
+
...(input.vpcConfig != null && { vpcConfig: serializeAws_json1_1TestGridVpcConfig(input.vpcConfig, context) }),
|
|
4525
4506
|
};
|
|
4526
4507
|
};
|
|
4527
4508
|
const serializeAws_json1_1CreateTestGridUrlRequest = (input, context) => {
|
|
4528
4509
|
return {
|
|
4529
|
-
...(input.expiresInSeconds
|
|
4530
|
-
|
|
4531
|
-
...(input.projectArn !== undefined && input.projectArn !== null && { projectArn: input.projectArn }),
|
|
4510
|
+
...(input.expiresInSeconds != null && { expiresInSeconds: input.expiresInSeconds }),
|
|
4511
|
+
...(input.projectArn != null && { projectArn: input.projectArn }),
|
|
4532
4512
|
};
|
|
4533
4513
|
};
|
|
4534
4514
|
const serializeAws_json1_1CreateUploadRequest = (input, context) => {
|
|
4535
4515
|
return {
|
|
4536
|
-
...(input.contentType
|
|
4537
|
-
...(input.name
|
|
4538
|
-
...(input.projectArn
|
|
4539
|
-
...(input.type
|
|
4516
|
+
...(input.contentType != null && { contentType: input.contentType }),
|
|
4517
|
+
...(input.name != null && { name: input.name }),
|
|
4518
|
+
...(input.projectArn != null && { projectArn: input.projectArn }),
|
|
4519
|
+
...(input.type != null && { type: input.type }),
|
|
4540
4520
|
};
|
|
4541
4521
|
};
|
|
4542
4522
|
const serializeAws_json1_1CreateVPCEConfigurationRequest = (input, context) => {
|
|
4543
4523
|
return {
|
|
4544
|
-
...(input.serviceDnsName
|
|
4545
|
-
|
|
4546
|
-
...(input.vpceConfigurationDescription !== undefined &&
|
|
4547
|
-
input.vpceConfigurationDescription !== null && {
|
|
4524
|
+
...(input.serviceDnsName != null && { serviceDnsName: input.serviceDnsName }),
|
|
4525
|
+
...(input.vpceConfigurationDescription != null && {
|
|
4548
4526
|
vpceConfigurationDescription: input.vpceConfigurationDescription,
|
|
4549
4527
|
}),
|
|
4550
|
-
...(input.vpceConfigurationName
|
|
4551
|
-
|
|
4552
|
-
...(input.vpceServiceName !== undefined &&
|
|
4553
|
-
input.vpceServiceName !== null && { vpceServiceName: input.vpceServiceName }),
|
|
4528
|
+
...(input.vpceConfigurationName != null && { vpceConfigurationName: input.vpceConfigurationName }),
|
|
4529
|
+
...(input.vpceServiceName != null && { vpceServiceName: input.vpceServiceName }),
|
|
4554
4530
|
};
|
|
4555
4531
|
};
|
|
4556
4532
|
const serializeAws_json1_1CustomerArtifactPaths = (input, context) => {
|
|
4557
4533
|
return {
|
|
4558
|
-
...(input.androidPaths
|
|
4559
|
-
|
|
4560
|
-
...(input.deviceHostPaths !== undefined &&
|
|
4561
|
-
input.deviceHostPaths !== null && {
|
|
4534
|
+
...(input.androidPaths != null && { androidPaths: serializeAws_json1_1AndroidPaths(input.androidPaths, context) }),
|
|
4535
|
+
...(input.deviceHostPaths != null && {
|
|
4562
4536
|
deviceHostPaths: serializeAws_json1_1DeviceHostPaths(input.deviceHostPaths, context),
|
|
4563
4537
|
}),
|
|
4564
|
-
...(input.iosPaths
|
|
4565
|
-
input.iosPaths !== null && { iosPaths: serializeAws_json1_1IosPaths(input.iosPaths, context) }),
|
|
4538
|
+
...(input.iosPaths != null && { iosPaths: serializeAws_json1_1IosPaths(input.iosPaths, context) }),
|
|
4566
4539
|
};
|
|
4567
4540
|
};
|
|
4568
4541
|
const serializeAws_json1_1DeleteDevicePoolRequest = (input, context) => {
|
|
4569
4542
|
return {
|
|
4570
|
-
...(input.arn
|
|
4543
|
+
...(input.arn != null && { arn: input.arn }),
|
|
4571
4544
|
};
|
|
4572
4545
|
};
|
|
4573
4546
|
const serializeAws_json1_1DeleteInstanceProfileRequest = (input, context) => {
|
|
4574
4547
|
return {
|
|
4575
|
-
...(input.arn
|
|
4548
|
+
...(input.arn != null && { arn: input.arn }),
|
|
4576
4549
|
};
|
|
4577
4550
|
};
|
|
4578
4551
|
const serializeAws_json1_1DeleteNetworkProfileRequest = (input, context) => {
|
|
4579
4552
|
return {
|
|
4580
|
-
...(input.arn
|
|
4553
|
+
...(input.arn != null && { arn: input.arn }),
|
|
4581
4554
|
};
|
|
4582
4555
|
};
|
|
4583
4556
|
const serializeAws_json1_1DeleteProjectRequest = (input, context) => {
|
|
4584
4557
|
return {
|
|
4585
|
-
...(input.arn
|
|
4558
|
+
...(input.arn != null && { arn: input.arn }),
|
|
4586
4559
|
};
|
|
4587
4560
|
};
|
|
4588
4561
|
const serializeAws_json1_1DeleteRemoteAccessSessionRequest = (input, context) => {
|
|
4589
4562
|
return {
|
|
4590
|
-
...(input.arn
|
|
4563
|
+
...(input.arn != null && { arn: input.arn }),
|
|
4591
4564
|
};
|
|
4592
4565
|
};
|
|
4593
4566
|
const serializeAws_json1_1DeleteRunRequest = (input, context) => {
|
|
4594
4567
|
return {
|
|
4595
|
-
...(input.arn
|
|
4568
|
+
...(input.arn != null && { arn: input.arn }),
|
|
4596
4569
|
};
|
|
4597
4570
|
};
|
|
4598
4571
|
const serializeAws_json1_1DeleteTestGridProjectRequest = (input, context) => {
|
|
4599
4572
|
return {
|
|
4600
|
-
...(input.projectArn
|
|
4573
|
+
...(input.projectArn != null && { projectArn: input.projectArn }),
|
|
4601
4574
|
};
|
|
4602
4575
|
};
|
|
4603
4576
|
const serializeAws_json1_1DeleteUploadRequest = (input, context) => {
|
|
4604
4577
|
return {
|
|
4605
|
-
...(input.arn
|
|
4578
|
+
...(input.arn != null && { arn: input.arn }),
|
|
4606
4579
|
};
|
|
4607
4580
|
};
|
|
4608
4581
|
const serializeAws_json1_1DeleteVPCEConfigurationRequest = (input, context) => {
|
|
4609
4582
|
return {
|
|
4610
|
-
...(input.arn
|
|
4583
|
+
...(input.arn != null && { arn: input.arn }),
|
|
4611
4584
|
};
|
|
4612
4585
|
};
|
|
4613
4586
|
const serializeAws_json1_1DeviceFilter = (input, context) => {
|
|
4614
4587
|
return {
|
|
4615
|
-
...(input.attribute
|
|
4616
|
-
...(input.operator
|
|
4617
|
-
...(input.values
|
|
4618
|
-
input.values !== null && { values: serializeAws_json1_1DeviceFilterValues(input.values, context) }),
|
|
4588
|
+
...(input.attribute != null && { attribute: input.attribute }),
|
|
4589
|
+
...(input.operator != null && { operator: input.operator }),
|
|
4590
|
+
...(input.values != null && { values: serializeAws_json1_1DeviceFilterValues(input.values, context) }),
|
|
4619
4591
|
};
|
|
4620
4592
|
};
|
|
4621
4593
|
const serializeAws_json1_1DeviceFilters = (input, context) => {
|
|
@@ -4650,21 +4622,17 @@ const serializeAws_json1_1DeviceHostPaths = (input, context) => {
|
|
|
4650
4622
|
};
|
|
4651
4623
|
const serializeAws_json1_1DeviceSelectionConfiguration = (input, context) => {
|
|
4652
4624
|
return {
|
|
4653
|
-
...(input.filters
|
|
4654
|
-
|
|
4655
|
-
...(input.maxDevices !== undefined && input.maxDevices !== null && { maxDevices: input.maxDevices }),
|
|
4625
|
+
...(input.filters != null && { filters: serializeAws_json1_1DeviceFilters(input.filters, context) }),
|
|
4626
|
+
...(input.maxDevices != null && { maxDevices: input.maxDevices }),
|
|
4656
4627
|
};
|
|
4657
4628
|
};
|
|
4658
4629
|
const serializeAws_json1_1ExecutionConfiguration = (input, context) => {
|
|
4659
4630
|
return {
|
|
4660
|
-
...(input.accountsCleanup
|
|
4661
|
-
|
|
4662
|
-
...(input.
|
|
4663
|
-
|
|
4664
|
-
...(input.
|
|
4665
|
-
input.jobTimeoutMinutes !== null && { jobTimeoutMinutes: input.jobTimeoutMinutes }),
|
|
4666
|
-
...(input.skipAppResign !== undefined && input.skipAppResign !== null && { skipAppResign: input.skipAppResign }),
|
|
4667
|
-
...(input.videoCapture !== undefined && input.videoCapture !== null && { videoCapture: input.videoCapture }),
|
|
4631
|
+
...(input.accountsCleanup != null && { accountsCleanup: input.accountsCleanup }),
|
|
4632
|
+
...(input.appPackagesCleanup != null && { appPackagesCleanup: input.appPackagesCleanup }),
|
|
4633
|
+
...(input.jobTimeoutMinutes != null && { jobTimeoutMinutes: input.jobTimeoutMinutes }),
|
|
4634
|
+
...(input.skipAppResign != null && { skipAppResign: input.skipAppResign }),
|
|
4635
|
+
...(input.videoCapture != null && { videoCapture: input.videoCapture }),
|
|
4668
4636
|
};
|
|
4669
4637
|
};
|
|
4670
4638
|
const serializeAws_json1_1GetAccountSettingsRequest = (input, context) => {
|
|
@@ -4672,104 +4640,101 @@ const serializeAws_json1_1GetAccountSettingsRequest = (input, context) => {
|
|
|
4672
4640
|
};
|
|
4673
4641
|
const serializeAws_json1_1GetDeviceInstanceRequest = (input, context) => {
|
|
4674
4642
|
return {
|
|
4675
|
-
...(input.arn
|
|
4643
|
+
...(input.arn != null && { arn: input.arn }),
|
|
4676
4644
|
};
|
|
4677
4645
|
};
|
|
4678
4646
|
const serializeAws_json1_1GetDevicePoolCompatibilityRequest = (input, context) => {
|
|
4679
4647
|
return {
|
|
4680
|
-
...(input.appArn
|
|
4681
|
-
...(input.configuration
|
|
4682
|
-
input.configuration !== null && {
|
|
4648
|
+
...(input.appArn != null && { appArn: input.appArn }),
|
|
4649
|
+
...(input.configuration != null && {
|
|
4683
4650
|
configuration: serializeAws_json1_1ScheduleRunConfiguration(input.configuration, context),
|
|
4684
4651
|
}),
|
|
4685
|
-
...(input.devicePoolArn
|
|
4686
|
-
...(input.test
|
|
4687
|
-
|
|
4688
|
-
...(input.testType !== undefined && input.testType !== null && { testType: input.testType }),
|
|
4652
|
+
...(input.devicePoolArn != null && { devicePoolArn: input.devicePoolArn }),
|
|
4653
|
+
...(input.test != null && { test: serializeAws_json1_1ScheduleRunTest(input.test, context) }),
|
|
4654
|
+
...(input.testType != null && { testType: input.testType }),
|
|
4689
4655
|
};
|
|
4690
4656
|
};
|
|
4691
4657
|
const serializeAws_json1_1GetDevicePoolRequest = (input, context) => {
|
|
4692
4658
|
return {
|
|
4693
|
-
...(input.arn
|
|
4659
|
+
...(input.arn != null && { arn: input.arn }),
|
|
4694
4660
|
};
|
|
4695
4661
|
};
|
|
4696
4662
|
const serializeAws_json1_1GetDeviceRequest = (input, context) => {
|
|
4697
4663
|
return {
|
|
4698
|
-
...(input.arn
|
|
4664
|
+
...(input.arn != null && { arn: input.arn }),
|
|
4699
4665
|
};
|
|
4700
4666
|
};
|
|
4701
4667
|
const serializeAws_json1_1GetInstanceProfileRequest = (input, context) => {
|
|
4702
4668
|
return {
|
|
4703
|
-
...(input.arn
|
|
4669
|
+
...(input.arn != null && { arn: input.arn }),
|
|
4704
4670
|
};
|
|
4705
4671
|
};
|
|
4706
4672
|
const serializeAws_json1_1GetJobRequest = (input, context) => {
|
|
4707
4673
|
return {
|
|
4708
|
-
...(input.arn
|
|
4674
|
+
...(input.arn != null && { arn: input.arn }),
|
|
4709
4675
|
};
|
|
4710
4676
|
};
|
|
4711
4677
|
const serializeAws_json1_1GetNetworkProfileRequest = (input, context) => {
|
|
4712
4678
|
return {
|
|
4713
|
-
...(input.arn
|
|
4679
|
+
...(input.arn != null && { arn: input.arn }),
|
|
4714
4680
|
};
|
|
4715
4681
|
};
|
|
4716
4682
|
const serializeAws_json1_1GetOfferingStatusRequest = (input, context) => {
|
|
4717
4683
|
return {
|
|
4718
|
-
...(input.nextToken
|
|
4684
|
+
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
4719
4685
|
};
|
|
4720
4686
|
};
|
|
4721
4687
|
const serializeAws_json1_1GetProjectRequest = (input, context) => {
|
|
4722
4688
|
return {
|
|
4723
|
-
...(input.arn
|
|
4689
|
+
...(input.arn != null && { arn: input.arn }),
|
|
4724
4690
|
};
|
|
4725
4691
|
};
|
|
4726
4692
|
const serializeAws_json1_1GetRemoteAccessSessionRequest = (input, context) => {
|
|
4727
4693
|
return {
|
|
4728
|
-
...(input.arn
|
|
4694
|
+
...(input.arn != null && { arn: input.arn }),
|
|
4729
4695
|
};
|
|
4730
4696
|
};
|
|
4731
4697
|
const serializeAws_json1_1GetRunRequest = (input, context) => {
|
|
4732
4698
|
return {
|
|
4733
|
-
...(input.arn
|
|
4699
|
+
...(input.arn != null && { arn: input.arn }),
|
|
4734
4700
|
};
|
|
4735
4701
|
};
|
|
4736
4702
|
const serializeAws_json1_1GetSuiteRequest = (input, context) => {
|
|
4737
4703
|
return {
|
|
4738
|
-
...(input.arn
|
|
4704
|
+
...(input.arn != null && { arn: input.arn }),
|
|
4739
4705
|
};
|
|
4740
4706
|
};
|
|
4741
4707
|
const serializeAws_json1_1GetTestGridProjectRequest = (input, context) => {
|
|
4742
4708
|
return {
|
|
4743
|
-
...(input.projectArn
|
|
4709
|
+
...(input.projectArn != null && { projectArn: input.projectArn }),
|
|
4744
4710
|
};
|
|
4745
4711
|
};
|
|
4746
4712
|
const serializeAws_json1_1GetTestGridSessionRequest = (input, context) => {
|
|
4747
4713
|
return {
|
|
4748
|
-
...(input.projectArn
|
|
4749
|
-
...(input.sessionArn
|
|
4750
|
-
...(input.sessionId
|
|
4714
|
+
...(input.projectArn != null && { projectArn: input.projectArn }),
|
|
4715
|
+
...(input.sessionArn != null && { sessionArn: input.sessionArn }),
|
|
4716
|
+
...(input.sessionId != null && { sessionId: input.sessionId }),
|
|
4751
4717
|
};
|
|
4752
4718
|
};
|
|
4753
4719
|
const serializeAws_json1_1GetTestRequest = (input, context) => {
|
|
4754
4720
|
return {
|
|
4755
|
-
...(input.arn
|
|
4721
|
+
...(input.arn != null && { arn: input.arn }),
|
|
4756
4722
|
};
|
|
4757
4723
|
};
|
|
4758
4724
|
const serializeAws_json1_1GetUploadRequest = (input, context) => {
|
|
4759
4725
|
return {
|
|
4760
|
-
...(input.arn
|
|
4726
|
+
...(input.arn != null && { arn: input.arn }),
|
|
4761
4727
|
};
|
|
4762
4728
|
};
|
|
4763
4729
|
const serializeAws_json1_1GetVPCEConfigurationRequest = (input, context) => {
|
|
4764
4730
|
return {
|
|
4765
|
-
...(input.arn
|
|
4731
|
+
...(input.arn != null && { arn: input.arn }),
|
|
4766
4732
|
};
|
|
4767
4733
|
};
|
|
4768
4734
|
const serializeAws_json1_1InstallToRemoteAccessSessionRequest = (input, context) => {
|
|
4769
4735
|
return {
|
|
4770
|
-
...(input.appArn
|
|
4771
|
-
...(input.remoteAccessSessionArn
|
|
4772
|
-
input.remoteAccessSessionArn !== null && { remoteAccessSessionArn: input.remoteAccessSessionArn }),
|
|
4736
|
+
...(input.appArn != null && { appArn: input.appArn }),
|
|
4737
|
+
...(input.remoteAccessSessionArn != null && { remoteAccessSessionArn: input.remoteAccessSessionArn }),
|
|
4773
4738
|
};
|
|
4774
4739
|
};
|
|
4775
4740
|
const serializeAws_json1_1InstanceLabels = (input, context) => {
|
|
@@ -4794,169 +4759,164 @@ const serializeAws_json1_1IosPaths = (input, context) => {
|
|
|
4794
4759
|
};
|
|
4795
4760
|
const serializeAws_json1_1ListArtifactsRequest = (input, context) => {
|
|
4796
4761
|
return {
|
|
4797
|
-
...(input.arn
|
|
4798
|
-
...(input.nextToken
|
|
4799
|
-
...(input.type
|
|
4762
|
+
...(input.arn != null && { arn: input.arn }),
|
|
4763
|
+
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
4764
|
+
...(input.type != null && { type: input.type }),
|
|
4800
4765
|
};
|
|
4801
4766
|
};
|
|
4802
4767
|
const serializeAws_json1_1ListDeviceInstancesRequest = (input, context) => {
|
|
4803
4768
|
return {
|
|
4804
|
-
...(input.maxResults
|
|
4805
|
-
...(input.nextToken
|
|
4769
|
+
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
4770
|
+
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
4806
4771
|
};
|
|
4807
4772
|
};
|
|
4808
4773
|
const serializeAws_json1_1ListDevicePoolsRequest = (input, context) => {
|
|
4809
4774
|
return {
|
|
4810
|
-
...(input.arn
|
|
4811
|
-
...(input.nextToken
|
|
4812
|
-
...(input.type
|
|
4775
|
+
...(input.arn != null && { arn: input.arn }),
|
|
4776
|
+
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
4777
|
+
...(input.type != null && { type: input.type }),
|
|
4813
4778
|
};
|
|
4814
4779
|
};
|
|
4815
4780
|
const serializeAws_json1_1ListDevicesRequest = (input, context) => {
|
|
4816
4781
|
return {
|
|
4817
|
-
...(input.arn
|
|
4818
|
-
...(input.filters
|
|
4819
|
-
|
|
4820
|
-
...(input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken }),
|
|
4782
|
+
...(input.arn != null && { arn: input.arn }),
|
|
4783
|
+
...(input.filters != null && { filters: serializeAws_json1_1DeviceFilters(input.filters, context) }),
|
|
4784
|
+
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
4821
4785
|
};
|
|
4822
4786
|
};
|
|
4823
4787
|
const serializeAws_json1_1ListInstanceProfilesRequest = (input, context) => {
|
|
4824
4788
|
return {
|
|
4825
|
-
...(input.maxResults
|
|
4826
|
-
...(input.nextToken
|
|
4789
|
+
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
4790
|
+
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
4827
4791
|
};
|
|
4828
4792
|
};
|
|
4829
4793
|
const serializeAws_json1_1ListJobsRequest = (input, context) => {
|
|
4830
4794
|
return {
|
|
4831
|
-
...(input.arn
|
|
4832
|
-
...(input.nextToken
|
|
4795
|
+
...(input.arn != null && { arn: input.arn }),
|
|
4796
|
+
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
4833
4797
|
};
|
|
4834
4798
|
};
|
|
4835
4799
|
const serializeAws_json1_1ListNetworkProfilesRequest = (input, context) => {
|
|
4836
4800
|
return {
|
|
4837
|
-
...(input.arn
|
|
4838
|
-
...(input.nextToken
|
|
4839
|
-
...(input.type
|
|
4801
|
+
...(input.arn != null && { arn: input.arn }),
|
|
4802
|
+
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
4803
|
+
...(input.type != null && { type: input.type }),
|
|
4840
4804
|
};
|
|
4841
4805
|
};
|
|
4842
4806
|
const serializeAws_json1_1ListOfferingPromotionsRequest = (input, context) => {
|
|
4843
4807
|
return {
|
|
4844
|
-
...(input.nextToken
|
|
4808
|
+
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
4845
4809
|
};
|
|
4846
4810
|
};
|
|
4847
4811
|
const serializeAws_json1_1ListOfferingsRequest = (input, context) => {
|
|
4848
4812
|
return {
|
|
4849
|
-
...(input.nextToken
|
|
4813
|
+
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
4850
4814
|
};
|
|
4851
4815
|
};
|
|
4852
4816
|
const serializeAws_json1_1ListOfferingTransactionsRequest = (input, context) => {
|
|
4853
4817
|
return {
|
|
4854
|
-
...(input.nextToken
|
|
4818
|
+
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
4855
4819
|
};
|
|
4856
4820
|
};
|
|
4857
4821
|
const serializeAws_json1_1ListProjectsRequest = (input, context) => {
|
|
4858
4822
|
return {
|
|
4859
|
-
...(input.arn
|
|
4860
|
-
...(input.nextToken
|
|
4823
|
+
...(input.arn != null && { arn: input.arn }),
|
|
4824
|
+
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
4861
4825
|
};
|
|
4862
4826
|
};
|
|
4863
4827
|
const serializeAws_json1_1ListRemoteAccessSessionsRequest = (input, context) => {
|
|
4864
4828
|
return {
|
|
4865
|
-
...(input.arn
|
|
4866
|
-
...(input.nextToken
|
|
4829
|
+
...(input.arn != null && { arn: input.arn }),
|
|
4830
|
+
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
4867
4831
|
};
|
|
4868
4832
|
};
|
|
4869
4833
|
const serializeAws_json1_1ListRunsRequest = (input, context) => {
|
|
4870
4834
|
return {
|
|
4871
|
-
...(input.arn
|
|
4872
|
-
...(input.nextToken
|
|
4835
|
+
...(input.arn != null && { arn: input.arn }),
|
|
4836
|
+
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
4873
4837
|
};
|
|
4874
4838
|
};
|
|
4875
4839
|
const serializeAws_json1_1ListSamplesRequest = (input, context) => {
|
|
4876
4840
|
return {
|
|
4877
|
-
...(input.arn
|
|
4878
|
-
...(input.nextToken
|
|
4841
|
+
...(input.arn != null && { arn: input.arn }),
|
|
4842
|
+
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
4879
4843
|
};
|
|
4880
4844
|
};
|
|
4881
4845
|
const serializeAws_json1_1ListSuitesRequest = (input, context) => {
|
|
4882
4846
|
return {
|
|
4883
|
-
...(input.arn
|
|
4884
|
-
...(input.nextToken
|
|
4847
|
+
...(input.arn != null && { arn: input.arn }),
|
|
4848
|
+
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
4885
4849
|
};
|
|
4886
4850
|
};
|
|
4887
4851
|
const serializeAws_json1_1ListTagsForResourceRequest = (input, context) => {
|
|
4888
4852
|
return {
|
|
4889
|
-
...(input.ResourceARN
|
|
4853
|
+
...(input.ResourceARN != null && { ResourceARN: input.ResourceARN }),
|
|
4890
4854
|
};
|
|
4891
4855
|
};
|
|
4892
4856
|
const serializeAws_json1_1ListTestGridProjectsRequest = (input, context) => {
|
|
4893
4857
|
return {
|
|
4894
|
-
...(input.maxResult
|
|
4895
|
-
...(input.nextToken
|
|
4858
|
+
...(input.maxResult != null && { maxResult: input.maxResult }),
|
|
4859
|
+
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
4896
4860
|
};
|
|
4897
4861
|
};
|
|
4898
4862
|
const serializeAws_json1_1ListTestGridSessionActionsRequest = (input, context) => {
|
|
4899
4863
|
return {
|
|
4900
|
-
...(input.maxResult
|
|
4901
|
-
...(input.nextToken
|
|
4902
|
-
...(input.sessionArn
|
|
4864
|
+
...(input.maxResult != null && { maxResult: input.maxResult }),
|
|
4865
|
+
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
4866
|
+
...(input.sessionArn != null && { sessionArn: input.sessionArn }),
|
|
4903
4867
|
};
|
|
4904
4868
|
};
|
|
4905
4869
|
const serializeAws_json1_1ListTestGridSessionArtifactsRequest = (input, context) => {
|
|
4906
4870
|
return {
|
|
4907
|
-
...(input.maxResult
|
|
4908
|
-
...(input.nextToken
|
|
4909
|
-
...(input.sessionArn
|
|
4910
|
-
...(input.type
|
|
4871
|
+
...(input.maxResult != null && { maxResult: input.maxResult }),
|
|
4872
|
+
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
4873
|
+
...(input.sessionArn != null && { sessionArn: input.sessionArn }),
|
|
4874
|
+
...(input.type != null && { type: input.type }),
|
|
4911
4875
|
};
|
|
4912
4876
|
};
|
|
4913
4877
|
const serializeAws_json1_1ListTestGridSessionsRequest = (input, context) => {
|
|
4914
4878
|
return {
|
|
4915
|
-
...(input.creationTimeAfter
|
|
4916
|
-
|
|
4917
|
-
...(input.creationTimeBefore !== undefined &&
|
|
4918
|
-
input.creationTimeBefore !== null && {
|
|
4879
|
+
...(input.creationTimeAfter != null && { creationTimeAfter: Math.round(input.creationTimeAfter.getTime() / 1000) }),
|
|
4880
|
+
...(input.creationTimeBefore != null && {
|
|
4919
4881
|
creationTimeBefore: Math.round(input.creationTimeBefore.getTime() / 1000),
|
|
4920
4882
|
}),
|
|
4921
|
-
...(input.endTimeAfter
|
|
4922
|
-
|
|
4923
|
-
...(input.
|
|
4924
|
-
|
|
4925
|
-
...(input.
|
|
4926
|
-
...(input.
|
|
4927
|
-
...(input.projectArn !== undefined && input.projectArn !== null && { projectArn: input.projectArn }),
|
|
4928
|
-
...(input.status !== undefined && input.status !== null && { status: input.status }),
|
|
4883
|
+
...(input.endTimeAfter != null && { endTimeAfter: Math.round(input.endTimeAfter.getTime() / 1000) }),
|
|
4884
|
+
...(input.endTimeBefore != null && { endTimeBefore: Math.round(input.endTimeBefore.getTime() / 1000) }),
|
|
4885
|
+
...(input.maxResult != null && { maxResult: input.maxResult }),
|
|
4886
|
+
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
4887
|
+
...(input.projectArn != null && { projectArn: input.projectArn }),
|
|
4888
|
+
...(input.status != null && { status: input.status }),
|
|
4929
4889
|
};
|
|
4930
4890
|
};
|
|
4931
4891
|
const serializeAws_json1_1ListTestsRequest = (input, context) => {
|
|
4932
4892
|
return {
|
|
4933
|
-
...(input.arn
|
|
4934
|
-
...(input.nextToken
|
|
4893
|
+
...(input.arn != null && { arn: input.arn }),
|
|
4894
|
+
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
4935
4895
|
};
|
|
4936
4896
|
};
|
|
4937
4897
|
const serializeAws_json1_1ListUniqueProblemsRequest = (input, context) => {
|
|
4938
4898
|
return {
|
|
4939
|
-
...(input.arn
|
|
4940
|
-
...(input.nextToken
|
|
4899
|
+
...(input.arn != null && { arn: input.arn }),
|
|
4900
|
+
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
4941
4901
|
};
|
|
4942
4902
|
};
|
|
4943
4903
|
const serializeAws_json1_1ListUploadsRequest = (input, context) => {
|
|
4944
4904
|
return {
|
|
4945
|
-
...(input.arn
|
|
4946
|
-
...(input.nextToken
|
|
4947
|
-
...(input.type
|
|
4905
|
+
...(input.arn != null && { arn: input.arn }),
|
|
4906
|
+
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
4907
|
+
...(input.type != null && { type: input.type }),
|
|
4948
4908
|
};
|
|
4949
4909
|
};
|
|
4950
4910
|
const serializeAws_json1_1ListVPCEConfigurationsRequest = (input, context) => {
|
|
4951
4911
|
return {
|
|
4952
|
-
...(input.maxResults
|
|
4953
|
-
...(input.nextToken
|
|
4912
|
+
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
4913
|
+
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
4954
4914
|
};
|
|
4955
4915
|
};
|
|
4956
4916
|
const serializeAws_json1_1Location = (input, context) => {
|
|
4957
4917
|
return {
|
|
4958
|
-
...(input.latitude
|
|
4959
|
-
...(input.longitude
|
|
4918
|
+
...(input.latitude != null && { latitude: (0, smithy_client_1.serializeFloat)(input.latitude) }),
|
|
4919
|
+
...(input.longitude != null && { longitude: (0, smithy_client_1.serializeFloat)(input.longitude) }),
|
|
4960
4920
|
};
|
|
4961
4921
|
};
|
|
4962
4922
|
const serializeAws_json1_1PackageIds = (input, context) => {
|
|
@@ -4971,31 +4931,30 @@ const serializeAws_json1_1PackageIds = (input, context) => {
|
|
|
4971
4931
|
};
|
|
4972
4932
|
const serializeAws_json1_1PurchaseOfferingRequest = (input, context) => {
|
|
4973
4933
|
return {
|
|
4974
|
-
...(input.offeringId
|
|
4975
|
-
...(input.offeringPromotionId
|
|
4976
|
-
|
|
4977
|
-
...(input.quantity !== undefined && input.quantity !== null && { quantity: input.quantity }),
|
|
4934
|
+
...(input.offeringId != null && { offeringId: input.offeringId }),
|
|
4935
|
+
...(input.offeringPromotionId != null && { offeringPromotionId: input.offeringPromotionId }),
|
|
4936
|
+
...(input.quantity != null && { quantity: input.quantity }),
|
|
4978
4937
|
};
|
|
4979
4938
|
};
|
|
4980
4939
|
const serializeAws_json1_1Radios = (input, context) => {
|
|
4981
4940
|
return {
|
|
4982
|
-
...(input.bluetooth
|
|
4983
|
-
...(input.gps
|
|
4984
|
-
...(input.nfc
|
|
4985
|
-
...(input.wifi
|
|
4941
|
+
...(input.bluetooth != null && { bluetooth: input.bluetooth }),
|
|
4942
|
+
...(input.gps != null && { gps: input.gps }),
|
|
4943
|
+
...(input.nfc != null && { nfc: input.nfc }),
|
|
4944
|
+
...(input.wifi != null && { wifi: input.wifi }),
|
|
4986
4945
|
};
|
|
4987
4946
|
};
|
|
4988
4947
|
const serializeAws_json1_1RenewOfferingRequest = (input, context) => {
|
|
4989
4948
|
return {
|
|
4990
|
-
...(input.offeringId
|
|
4991
|
-
...(input.quantity
|
|
4949
|
+
...(input.offeringId != null && { offeringId: input.offeringId }),
|
|
4950
|
+
...(input.quantity != null && { quantity: input.quantity }),
|
|
4992
4951
|
};
|
|
4993
4952
|
};
|
|
4994
4953
|
const serializeAws_json1_1Rule = (input, context) => {
|
|
4995
4954
|
return {
|
|
4996
|
-
...(input.attribute
|
|
4997
|
-
...(input.operator
|
|
4998
|
-
...(input.value
|
|
4955
|
+
...(input.attribute != null && { attribute: input.attribute }),
|
|
4956
|
+
...(input.operator != null && { operator: input.operator }),
|
|
4957
|
+
...(input.value != null && { value: input.value }),
|
|
4999
4958
|
};
|
|
5000
4959
|
};
|
|
5001
4960
|
const serializeAws_json1_1Rules = (input, context) => {
|
|
@@ -5010,61 +4969,48 @@ const serializeAws_json1_1Rules = (input, context) => {
|
|
|
5010
4969
|
};
|
|
5011
4970
|
const serializeAws_json1_1ScheduleRunConfiguration = (input, context) => {
|
|
5012
4971
|
return {
|
|
5013
|
-
...(input.auxiliaryApps
|
|
5014
|
-
input.auxiliaryApps !== null && {
|
|
4972
|
+
...(input.auxiliaryApps != null && {
|
|
5015
4973
|
auxiliaryApps: serializeAws_json1_1AmazonResourceNames(input.auxiliaryApps, context),
|
|
5016
4974
|
}),
|
|
5017
|
-
...(input.billingMethod
|
|
5018
|
-
...(input.customerArtifactPaths
|
|
5019
|
-
input.customerArtifactPaths !== null && {
|
|
4975
|
+
...(input.billingMethod != null && { billingMethod: input.billingMethod }),
|
|
4976
|
+
...(input.customerArtifactPaths != null && {
|
|
5020
4977
|
customerArtifactPaths: serializeAws_json1_1CustomerArtifactPaths(input.customerArtifactPaths, context),
|
|
5021
4978
|
}),
|
|
5022
|
-
...(input.extraDataPackageArn
|
|
5023
|
-
|
|
5024
|
-
...(input.
|
|
5025
|
-
...(input.
|
|
5026
|
-
|
|
5027
|
-
...(input.
|
|
5028
|
-
input.networkProfileArn !== null && { networkProfileArn: input.networkProfileArn }),
|
|
5029
|
-
...(input.radios !== undefined &&
|
|
5030
|
-
input.radios !== null && { radios: serializeAws_json1_1Radios(input.radios, context) }),
|
|
5031
|
-
...(input.vpceConfigurationArns !== undefined &&
|
|
5032
|
-
input.vpceConfigurationArns !== null && {
|
|
4979
|
+
...(input.extraDataPackageArn != null && { extraDataPackageArn: input.extraDataPackageArn }),
|
|
4980
|
+
...(input.locale != null && { locale: input.locale }),
|
|
4981
|
+
...(input.location != null && { location: serializeAws_json1_1Location(input.location, context) }),
|
|
4982
|
+
...(input.networkProfileArn != null && { networkProfileArn: input.networkProfileArn }),
|
|
4983
|
+
...(input.radios != null && { radios: serializeAws_json1_1Radios(input.radios, context) }),
|
|
4984
|
+
...(input.vpceConfigurationArns != null && {
|
|
5033
4985
|
vpceConfigurationArns: serializeAws_json1_1AmazonResourceNames(input.vpceConfigurationArns, context),
|
|
5034
4986
|
}),
|
|
5035
4987
|
};
|
|
5036
4988
|
};
|
|
5037
4989
|
const serializeAws_json1_1ScheduleRunRequest = (input, context) => {
|
|
5038
4990
|
return {
|
|
5039
|
-
...(input.appArn
|
|
5040
|
-
...(input.configuration
|
|
5041
|
-
input.configuration !== null && {
|
|
4991
|
+
...(input.appArn != null && { appArn: input.appArn }),
|
|
4992
|
+
...(input.configuration != null && {
|
|
5042
4993
|
configuration: serializeAws_json1_1ScheduleRunConfiguration(input.configuration, context),
|
|
5043
4994
|
}),
|
|
5044
|
-
...(input.devicePoolArn
|
|
5045
|
-
...(input.deviceSelectionConfiguration
|
|
5046
|
-
input.deviceSelectionConfiguration !== null && {
|
|
4995
|
+
...(input.devicePoolArn != null && { devicePoolArn: input.devicePoolArn }),
|
|
4996
|
+
...(input.deviceSelectionConfiguration != null && {
|
|
5047
4997
|
deviceSelectionConfiguration: serializeAws_json1_1DeviceSelectionConfiguration(input.deviceSelectionConfiguration, context),
|
|
5048
4998
|
}),
|
|
5049
|
-
...(input.executionConfiguration
|
|
5050
|
-
input.executionConfiguration !== null && {
|
|
4999
|
+
...(input.executionConfiguration != null && {
|
|
5051
5000
|
executionConfiguration: serializeAws_json1_1ExecutionConfiguration(input.executionConfiguration, context),
|
|
5052
5001
|
}),
|
|
5053
|
-
...(input.name
|
|
5054
|
-
...(input.projectArn
|
|
5055
|
-
...(input.test
|
|
5056
|
-
input.test !== null && { test: serializeAws_json1_1ScheduleRunTest(input.test, context) }),
|
|
5002
|
+
...(input.name != null && { name: input.name }),
|
|
5003
|
+
...(input.projectArn != null && { projectArn: input.projectArn }),
|
|
5004
|
+
...(input.test != null && { test: serializeAws_json1_1ScheduleRunTest(input.test, context) }),
|
|
5057
5005
|
};
|
|
5058
5006
|
};
|
|
5059
5007
|
const serializeAws_json1_1ScheduleRunTest = (input, context) => {
|
|
5060
5008
|
return {
|
|
5061
|
-
...(input.filter
|
|
5062
|
-
...(input.parameters
|
|
5063
|
-
|
|
5064
|
-
...(input.
|
|
5065
|
-
|
|
5066
|
-
...(input.testSpecArn !== undefined && input.testSpecArn !== null && { testSpecArn: input.testSpecArn }),
|
|
5067
|
-
...(input.type !== undefined && input.type !== null && { type: input.type }),
|
|
5009
|
+
...(input.filter != null && { filter: input.filter }),
|
|
5010
|
+
...(input.parameters != null && { parameters: serializeAws_json1_1TestParameters(input.parameters, context) }),
|
|
5011
|
+
...(input.testPackageArn != null && { testPackageArn: input.testPackageArn }),
|
|
5012
|
+
...(input.testSpecArn != null && { testSpecArn: input.testSpecArn }),
|
|
5013
|
+
...(input.type != null && { type: input.type }),
|
|
5068
5014
|
};
|
|
5069
5015
|
};
|
|
5070
5016
|
const serializeAws_json1_1SecurityGroupIds = (input, context) => {
|
|
@@ -5079,17 +5025,17 @@ const serializeAws_json1_1SecurityGroupIds = (input, context) => {
|
|
|
5079
5025
|
};
|
|
5080
5026
|
const serializeAws_json1_1StopJobRequest = (input, context) => {
|
|
5081
5027
|
return {
|
|
5082
|
-
...(input.arn
|
|
5028
|
+
...(input.arn != null && { arn: input.arn }),
|
|
5083
5029
|
};
|
|
5084
5030
|
};
|
|
5085
5031
|
const serializeAws_json1_1StopRemoteAccessSessionRequest = (input, context) => {
|
|
5086
5032
|
return {
|
|
5087
|
-
...(input.arn
|
|
5033
|
+
...(input.arn != null && { arn: input.arn }),
|
|
5088
5034
|
};
|
|
5089
5035
|
};
|
|
5090
5036
|
const serializeAws_json1_1StopRunRequest = (input, context) => {
|
|
5091
5037
|
return {
|
|
5092
|
-
...(input.arn
|
|
5038
|
+
...(input.arn != null && { arn: input.arn }),
|
|
5093
5039
|
};
|
|
5094
5040
|
};
|
|
5095
5041
|
const serializeAws_json1_1SubnetIds = (input, context) => {
|
|
@@ -5104,8 +5050,8 @@ const serializeAws_json1_1SubnetIds = (input, context) => {
|
|
|
5104
5050
|
};
|
|
5105
5051
|
const serializeAws_json1_1Tag = (input, context) => {
|
|
5106
5052
|
return {
|
|
5107
|
-
...(input.Key
|
|
5108
|
-
...(input.Value
|
|
5053
|
+
...(input.Key != null && { Key: input.Key }),
|
|
5054
|
+
...(input.Value != null && { Value: input.Value }),
|
|
5109
5055
|
};
|
|
5110
5056
|
};
|
|
5111
5057
|
const serializeAws_json1_1TagKeyList = (input, context) => {
|
|
@@ -5130,19 +5076,17 @@ const serializeAws_json1_1TagList = (input, context) => {
|
|
|
5130
5076
|
};
|
|
5131
5077
|
const serializeAws_json1_1TagResourceRequest = (input, context) => {
|
|
5132
5078
|
return {
|
|
5133
|
-
...(input.ResourceARN
|
|
5134
|
-
...(input.Tags
|
|
5079
|
+
...(input.ResourceARN != null && { ResourceARN: input.ResourceARN }),
|
|
5080
|
+
...(input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }),
|
|
5135
5081
|
};
|
|
5136
5082
|
};
|
|
5137
5083
|
const serializeAws_json1_1TestGridVpcConfig = (input, context) => {
|
|
5138
5084
|
return {
|
|
5139
|
-
...(input.securityGroupIds
|
|
5140
|
-
input.securityGroupIds !== null && {
|
|
5085
|
+
...(input.securityGroupIds != null && {
|
|
5141
5086
|
securityGroupIds: serializeAws_json1_1SecurityGroupIds(input.securityGroupIds, context),
|
|
5142
5087
|
}),
|
|
5143
|
-
...(input.subnetIds
|
|
5144
|
-
|
|
5145
|
-
...(input.vpcId !== undefined && input.vpcId !== null && { vpcId: input.vpcId }),
|
|
5088
|
+
...(input.subnetIds != null && { subnetIds: serializeAws_json1_1SubnetIds(input.subnetIds, context) }),
|
|
5089
|
+
...(input.vpcId != null && { vpcId: input.vpcId }),
|
|
5146
5090
|
};
|
|
5147
5091
|
};
|
|
5148
5092
|
const serializeAws_json1_1TestParameters = (input, context) => {
|
|
@@ -5158,107 +5102,87 @@ const serializeAws_json1_1TestParameters = (input, context) => {
|
|
|
5158
5102
|
};
|
|
5159
5103
|
const serializeAws_json1_1UntagResourceRequest = (input, context) => {
|
|
5160
5104
|
return {
|
|
5161
|
-
...(input.ResourceARN
|
|
5162
|
-
...(input.TagKeys
|
|
5163
|
-
input.TagKeys !== null && { TagKeys: serializeAws_json1_1TagKeyList(input.TagKeys, context) }),
|
|
5105
|
+
...(input.ResourceARN != null && { ResourceARN: input.ResourceARN }),
|
|
5106
|
+
...(input.TagKeys != null && { TagKeys: serializeAws_json1_1TagKeyList(input.TagKeys, context) }),
|
|
5164
5107
|
};
|
|
5165
5108
|
};
|
|
5166
5109
|
const serializeAws_json1_1UpdateDeviceInstanceRequest = (input, context) => {
|
|
5167
5110
|
return {
|
|
5168
|
-
...(input.arn
|
|
5169
|
-
...(input.labels
|
|
5170
|
-
|
|
5171
|
-
...(input.profileArn !== undefined && input.profileArn !== null && { profileArn: input.profileArn }),
|
|
5111
|
+
...(input.arn != null && { arn: input.arn }),
|
|
5112
|
+
...(input.labels != null && { labels: serializeAws_json1_1InstanceLabels(input.labels, context) }),
|
|
5113
|
+
...(input.profileArn != null && { profileArn: input.profileArn }),
|
|
5172
5114
|
};
|
|
5173
5115
|
};
|
|
5174
5116
|
const serializeAws_json1_1UpdateDevicePoolRequest = (input, context) => {
|
|
5175
5117
|
return {
|
|
5176
|
-
...(input.arn
|
|
5177
|
-
...(input.clearMaxDevices
|
|
5178
|
-
|
|
5179
|
-
...(input.
|
|
5180
|
-
...(input.
|
|
5181
|
-
...(input.
|
|
5182
|
-
...(input.rules !== undefined &&
|
|
5183
|
-
input.rules !== null && { rules: serializeAws_json1_1Rules(input.rules, context) }),
|
|
5118
|
+
...(input.arn != null && { arn: input.arn }),
|
|
5119
|
+
...(input.clearMaxDevices != null && { clearMaxDevices: input.clearMaxDevices }),
|
|
5120
|
+
...(input.description != null && { description: input.description }),
|
|
5121
|
+
...(input.maxDevices != null && { maxDevices: input.maxDevices }),
|
|
5122
|
+
...(input.name != null && { name: input.name }),
|
|
5123
|
+
...(input.rules != null && { rules: serializeAws_json1_1Rules(input.rules, context) }),
|
|
5184
5124
|
};
|
|
5185
5125
|
};
|
|
5186
5126
|
const serializeAws_json1_1UpdateInstanceProfileRequest = (input, context) => {
|
|
5187
5127
|
return {
|
|
5188
|
-
...(input.arn
|
|
5189
|
-
...(input.description
|
|
5190
|
-
...(input.excludeAppPackagesFromCleanup
|
|
5191
|
-
input.excludeAppPackagesFromCleanup !== null && {
|
|
5128
|
+
...(input.arn != null && { arn: input.arn }),
|
|
5129
|
+
...(input.description != null && { description: input.description }),
|
|
5130
|
+
...(input.excludeAppPackagesFromCleanup != null && {
|
|
5192
5131
|
excludeAppPackagesFromCleanup: serializeAws_json1_1PackageIds(input.excludeAppPackagesFromCleanup, context),
|
|
5193
5132
|
}),
|
|
5194
|
-
...(input.name
|
|
5195
|
-
...(input.packageCleanup
|
|
5196
|
-
|
|
5197
|
-
...(input.rebootAfterUse !== undefined &&
|
|
5198
|
-
input.rebootAfterUse !== null && { rebootAfterUse: input.rebootAfterUse }),
|
|
5133
|
+
...(input.name != null && { name: input.name }),
|
|
5134
|
+
...(input.packageCleanup != null && { packageCleanup: input.packageCleanup }),
|
|
5135
|
+
...(input.rebootAfterUse != null && { rebootAfterUse: input.rebootAfterUse }),
|
|
5199
5136
|
};
|
|
5200
5137
|
};
|
|
5201
5138
|
const serializeAws_json1_1UpdateNetworkProfileRequest = (input, context) => {
|
|
5202
5139
|
return {
|
|
5203
|
-
...(input.arn
|
|
5204
|
-
...(input.description
|
|
5205
|
-
...(input.downlinkBandwidthBits
|
|
5206
|
-
|
|
5207
|
-
...(input.
|
|
5208
|
-
|
|
5209
|
-
...(input.
|
|
5210
|
-
|
|
5211
|
-
...(input.
|
|
5212
|
-
|
|
5213
|
-
...(input.
|
|
5214
|
-
...(input.
|
|
5215
|
-
...(input.uplinkBandwidthBits !== undefined &&
|
|
5216
|
-
input.uplinkBandwidthBits !== null && { uplinkBandwidthBits: input.uplinkBandwidthBits }),
|
|
5217
|
-
...(input.uplinkDelayMs !== undefined && input.uplinkDelayMs !== null && { uplinkDelayMs: input.uplinkDelayMs }),
|
|
5218
|
-
...(input.uplinkJitterMs !== undefined &&
|
|
5219
|
-
input.uplinkJitterMs !== null && { uplinkJitterMs: input.uplinkJitterMs }),
|
|
5220
|
-
...(input.uplinkLossPercent !== undefined &&
|
|
5221
|
-
input.uplinkLossPercent !== null && { uplinkLossPercent: input.uplinkLossPercent }),
|
|
5140
|
+
...(input.arn != null && { arn: input.arn }),
|
|
5141
|
+
...(input.description != null && { description: input.description }),
|
|
5142
|
+
...(input.downlinkBandwidthBits != null && { downlinkBandwidthBits: input.downlinkBandwidthBits }),
|
|
5143
|
+
...(input.downlinkDelayMs != null && { downlinkDelayMs: input.downlinkDelayMs }),
|
|
5144
|
+
...(input.downlinkJitterMs != null && { downlinkJitterMs: input.downlinkJitterMs }),
|
|
5145
|
+
...(input.downlinkLossPercent != null && { downlinkLossPercent: input.downlinkLossPercent }),
|
|
5146
|
+
...(input.name != null && { name: input.name }),
|
|
5147
|
+
...(input.type != null && { type: input.type }),
|
|
5148
|
+
...(input.uplinkBandwidthBits != null && { uplinkBandwidthBits: input.uplinkBandwidthBits }),
|
|
5149
|
+
...(input.uplinkDelayMs != null && { uplinkDelayMs: input.uplinkDelayMs }),
|
|
5150
|
+
...(input.uplinkJitterMs != null && { uplinkJitterMs: input.uplinkJitterMs }),
|
|
5151
|
+
...(input.uplinkLossPercent != null && { uplinkLossPercent: input.uplinkLossPercent }),
|
|
5222
5152
|
};
|
|
5223
5153
|
};
|
|
5224
5154
|
const serializeAws_json1_1UpdateProjectRequest = (input, context) => {
|
|
5225
5155
|
return {
|
|
5226
|
-
...(input.arn
|
|
5227
|
-
...(input.defaultJobTimeoutMinutes
|
|
5228
|
-
|
|
5229
|
-
...(input.name !== undefined && input.name !== null && { name: input.name }),
|
|
5156
|
+
...(input.arn != null && { arn: input.arn }),
|
|
5157
|
+
...(input.defaultJobTimeoutMinutes != null && { defaultJobTimeoutMinutes: input.defaultJobTimeoutMinutes }),
|
|
5158
|
+
...(input.name != null && { name: input.name }),
|
|
5230
5159
|
};
|
|
5231
5160
|
};
|
|
5232
5161
|
const serializeAws_json1_1UpdateTestGridProjectRequest = (input, context) => {
|
|
5233
5162
|
return {
|
|
5234
|
-
...(input.description
|
|
5235
|
-
...(input.name
|
|
5236
|
-
...(input.projectArn
|
|
5237
|
-
...(input.vpcConfig
|
|
5238
|
-
input.vpcConfig !== null && { vpcConfig: serializeAws_json1_1TestGridVpcConfig(input.vpcConfig, context) }),
|
|
5163
|
+
...(input.description != null && { description: input.description }),
|
|
5164
|
+
...(input.name != null && { name: input.name }),
|
|
5165
|
+
...(input.projectArn != null && { projectArn: input.projectArn }),
|
|
5166
|
+
...(input.vpcConfig != null && { vpcConfig: serializeAws_json1_1TestGridVpcConfig(input.vpcConfig, context) }),
|
|
5239
5167
|
};
|
|
5240
5168
|
};
|
|
5241
5169
|
const serializeAws_json1_1UpdateUploadRequest = (input, context) => {
|
|
5242
5170
|
return {
|
|
5243
|
-
...(input.arn
|
|
5244
|
-
...(input.contentType
|
|
5245
|
-
...(input.editContent
|
|
5246
|
-
...(input.name
|
|
5171
|
+
...(input.arn != null && { arn: input.arn }),
|
|
5172
|
+
...(input.contentType != null && { contentType: input.contentType }),
|
|
5173
|
+
...(input.editContent != null && { editContent: input.editContent }),
|
|
5174
|
+
...(input.name != null && { name: input.name }),
|
|
5247
5175
|
};
|
|
5248
5176
|
};
|
|
5249
5177
|
const serializeAws_json1_1UpdateVPCEConfigurationRequest = (input, context) => {
|
|
5250
5178
|
return {
|
|
5251
|
-
...(input.arn
|
|
5252
|
-
...(input.serviceDnsName
|
|
5253
|
-
|
|
5254
|
-
...(input.vpceConfigurationDescription !== undefined &&
|
|
5255
|
-
input.vpceConfigurationDescription !== null && {
|
|
5179
|
+
...(input.arn != null && { arn: input.arn }),
|
|
5180
|
+
...(input.serviceDnsName != null && { serviceDnsName: input.serviceDnsName }),
|
|
5181
|
+
...(input.vpceConfigurationDescription != null && {
|
|
5256
5182
|
vpceConfigurationDescription: input.vpceConfigurationDescription,
|
|
5257
5183
|
}),
|
|
5258
|
-
...(input.vpceConfigurationName
|
|
5259
|
-
|
|
5260
|
-
...(input.vpceServiceName !== undefined &&
|
|
5261
|
-
input.vpceServiceName !== null && { vpceServiceName: input.vpceServiceName }),
|
|
5184
|
+
...(input.vpceConfigurationName != null && { vpceConfigurationName: input.vpceConfigurationName }),
|
|
5185
|
+
...(input.vpceServiceName != null && { vpceServiceName: input.vpceServiceName }),
|
|
5262
5186
|
};
|
|
5263
5187
|
};
|
|
5264
5188
|
const deserializeAws_json1_1AccountSettings = (output, context) => {
|
|
@@ -5266,17 +5190,13 @@ const deserializeAws_json1_1AccountSettings = (output, context) => {
|
|
|
5266
5190
|
awsAccountNumber: (0, smithy_client_1.expectString)(output.awsAccountNumber),
|
|
5267
5191
|
defaultJobTimeoutMinutes: (0, smithy_client_1.expectInt32)(output.defaultJobTimeoutMinutes),
|
|
5268
5192
|
maxJobTimeoutMinutes: (0, smithy_client_1.expectInt32)(output.maxJobTimeoutMinutes),
|
|
5269
|
-
maxSlots: output.maxSlots
|
|
5270
|
-
? deserializeAws_json1_1MaxSlotMap(output.maxSlots, context)
|
|
5271
|
-
: undefined,
|
|
5193
|
+
maxSlots: output.maxSlots != null ? deserializeAws_json1_1MaxSlotMap(output.maxSlots, context) : undefined,
|
|
5272
5194
|
skipAppResign: (0, smithy_client_1.expectBoolean)(output.skipAppResign),
|
|
5273
|
-
trialMinutes: output.trialMinutes
|
|
5274
|
-
|
|
5275
|
-
: undefined,
|
|
5276
|
-
unmeteredDevices: output.unmeteredDevices !== undefined && output.unmeteredDevices !== null
|
|
5195
|
+
trialMinutes: output.trialMinutes != null ? deserializeAws_json1_1TrialMinutes(output.trialMinutes, context) : undefined,
|
|
5196
|
+
unmeteredDevices: output.unmeteredDevices != null
|
|
5277
5197
|
? deserializeAws_json1_1PurchasedDevicesMap(output.unmeteredDevices, context)
|
|
5278
5198
|
: undefined,
|
|
5279
|
-
unmeteredRemoteAccessDevices: output.unmeteredRemoteAccessDevices
|
|
5199
|
+
unmeteredRemoteAccessDevices: output.unmeteredRemoteAccessDevices != null
|
|
5280
5200
|
? deserializeAws_json1_1PurchasedDevicesMap(output.unmeteredRemoteAccessDevices, context)
|
|
5281
5201
|
: undefined,
|
|
5282
5202
|
};
|
|
@@ -5342,79 +5262,65 @@ const deserializeAws_json1_1CPU = (output, context) => {
|
|
|
5342
5262
|
};
|
|
5343
5263
|
const deserializeAws_json1_1CreateDevicePoolResult = (output, context) => {
|
|
5344
5264
|
return {
|
|
5345
|
-
devicePool: output.devicePool
|
|
5346
|
-
? deserializeAws_json1_1DevicePool(output.devicePool, context)
|
|
5347
|
-
: undefined,
|
|
5265
|
+
devicePool: output.devicePool != null ? deserializeAws_json1_1DevicePool(output.devicePool, context) : undefined,
|
|
5348
5266
|
};
|
|
5349
5267
|
};
|
|
5350
5268
|
const deserializeAws_json1_1CreateInstanceProfileResult = (output, context) => {
|
|
5351
5269
|
return {
|
|
5352
|
-
instanceProfile: output.instanceProfile
|
|
5270
|
+
instanceProfile: output.instanceProfile != null
|
|
5353
5271
|
? deserializeAws_json1_1InstanceProfile(output.instanceProfile, context)
|
|
5354
5272
|
: undefined,
|
|
5355
5273
|
};
|
|
5356
5274
|
};
|
|
5357
5275
|
const deserializeAws_json1_1CreateNetworkProfileResult = (output, context) => {
|
|
5358
5276
|
return {
|
|
5359
|
-
networkProfile: output.networkProfile
|
|
5360
|
-
? deserializeAws_json1_1NetworkProfile(output.networkProfile, context)
|
|
5361
|
-
: undefined,
|
|
5277
|
+
networkProfile: output.networkProfile != null ? deserializeAws_json1_1NetworkProfile(output.networkProfile, context) : undefined,
|
|
5362
5278
|
};
|
|
5363
5279
|
};
|
|
5364
5280
|
const deserializeAws_json1_1CreateProjectResult = (output, context) => {
|
|
5365
5281
|
return {
|
|
5366
|
-
project: output.project
|
|
5367
|
-
? deserializeAws_json1_1Project(output.project, context)
|
|
5368
|
-
: undefined,
|
|
5282
|
+
project: output.project != null ? deserializeAws_json1_1Project(output.project, context) : undefined,
|
|
5369
5283
|
};
|
|
5370
5284
|
};
|
|
5371
5285
|
const deserializeAws_json1_1CreateRemoteAccessSessionResult = (output, context) => {
|
|
5372
5286
|
return {
|
|
5373
|
-
remoteAccessSession: output.remoteAccessSession
|
|
5287
|
+
remoteAccessSession: output.remoteAccessSession != null
|
|
5374
5288
|
? deserializeAws_json1_1RemoteAccessSession(output.remoteAccessSession, context)
|
|
5375
5289
|
: undefined,
|
|
5376
5290
|
};
|
|
5377
5291
|
};
|
|
5378
5292
|
const deserializeAws_json1_1CreateTestGridProjectResult = (output, context) => {
|
|
5379
5293
|
return {
|
|
5380
|
-
testGridProject: output.testGridProject
|
|
5294
|
+
testGridProject: output.testGridProject != null
|
|
5381
5295
|
? deserializeAws_json1_1TestGridProject(output.testGridProject, context)
|
|
5382
5296
|
: undefined,
|
|
5383
5297
|
};
|
|
5384
5298
|
};
|
|
5385
5299
|
const deserializeAws_json1_1CreateTestGridUrlResult = (output, context) => {
|
|
5386
5300
|
return {
|
|
5387
|
-
expires: output.expires
|
|
5388
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.expires)))
|
|
5389
|
-
: undefined,
|
|
5301
|
+
expires: output.expires != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.expires))) : undefined,
|
|
5390
5302
|
url: (0, smithy_client_1.expectString)(output.url),
|
|
5391
5303
|
};
|
|
5392
5304
|
};
|
|
5393
5305
|
const deserializeAws_json1_1CreateUploadResult = (output, context) => {
|
|
5394
5306
|
return {
|
|
5395
|
-
upload: output.upload
|
|
5396
|
-
? deserializeAws_json1_1Upload(output.upload, context)
|
|
5397
|
-
: undefined,
|
|
5307
|
+
upload: output.upload != null ? deserializeAws_json1_1Upload(output.upload, context) : undefined,
|
|
5398
5308
|
};
|
|
5399
5309
|
};
|
|
5400
5310
|
const deserializeAws_json1_1CreateVPCEConfigurationResult = (output, context) => {
|
|
5401
5311
|
return {
|
|
5402
|
-
vpceConfiguration: output.vpceConfiguration
|
|
5312
|
+
vpceConfiguration: output.vpceConfiguration != null
|
|
5403
5313
|
? deserializeAws_json1_1VPCEConfiguration(output.vpceConfiguration, context)
|
|
5404
5314
|
: undefined,
|
|
5405
5315
|
};
|
|
5406
5316
|
};
|
|
5407
5317
|
const deserializeAws_json1_1CustomerArtifactPaths = (output, context) => {
|
|
5408
5318
|
return {
|
|
5409
|
-
androidPaths: output.androidPaths
|
|
5410
|
-
|
|
5411
|
-
: undefined,
|
|
5412
|
-
deviceHostPaths: output.deviceHostPaths !== undefined && output.deviceHostPaths !== null
|
|
5319
|
+
androidPaths: output.androidPaths != null ? deserializeAws_json1_1AndroidPaths(output.androidPaths, context) : undefined,
|
|
5320
|
+
deviceHostPaths: output.deviceHostPaths != null
|
|
5413
5321
|
? deserializeAws_json1_1DeviceHostPaths(output.deviceHostPaths, context)
|
|
5414
5322
|
: undefined,
|
|
5415
|
-
iosPaths: output.iosPaths
|
|
5416
|
-
? deserializeAws_json1_1IosPaths(output.iosPaths, context)
|
|
5417
|
-
: undefined,
|
|
5323
|
+
iosPaths: output.iosPaths != null ? deserializeAws_json1_1IosPaths(output.iosPaths, context) : undefined,
|
|
5418
5324
|
};
|
|
5419
5325
|
};
|
|
5420
5326
|
const deserializeAws_json1_1DeleteDevicePoolResult = (output, context) => {
|
|
@@ -5449,15 +5355,13 @@ const deserializeAws_json1_1Device = (output, context) => {
|
|
|
5449
5355
|
arn: (0, smithy_client_1.expectString)(output.arn),
|
|
5450
5356
|
availability: (0, smithy_client_1.expectString)(output.availability),
|
|
5451
5357
|
carrier: (0, smithy_client_1.expectString)(output.carrier),
|
|
5452
|
-
cpu: output.cpu
|
|
5358
|
+
cpu: output.cpu != null ? deserializeAws_json1_1CPU(output.cpu, context) : undefined,
|
|
5453
5359
|
fleetName: (0, smithy_client_1.expectString)(output.fleetName),
|
|
5454
5360
|
fleetType: (0, smithy_client_1.expectString)(output.fleetType),
|
|
5455
5361
|
formFactor: (0, smithy_client_1.expectString)(output.formFactor),
|
|
5456
5362
|
heapSize: (0, smithy_client_1.expectLong)(output.heapSize),
|
|
5457
5363
|
image: (0, smithy_client_1.expectString)(output.image),
|
|
5458
|
-
instances: output.instances
|
|
5459
|
-
? deserializeAws_json1_1DeviceInstances(output.instances, context)
|
|
5460
|
-
: undefined,
|
|
5364
|
+
instances: output.instances != null ? deserializeAws_json1_1DeviceInstances(output.instances, context) : undefined,
|
|
5461
5365
|
manufacturer: (0, smithy_client_1.expectString)(output.manufacturer),
|
|
5462
5366
|
memory: (0, smithy_client_1.expectLong)(output.memory),
|
|
5463
5367
|
model: (0, smithy_client_1.expectString)(output.model),
|
|
@@ -5468,18 +5372,14 @@ const deserializeAws_json1_1Device = (output, context) => {
|
|
|
5468
5372
|
radio: (0, smithy_client_1.expectString)(output.radio),
|
|
5469
5373
|
remoteAccessEnabled: (0, smithy_client_1.expectBoolean)(output.remoteAccessEnabled),
|
|
5470
5374
|
remoteDebugEnabled: (0, smithy_client_1.expectBoolean)(output.remoteDebugEnabled),
|
|
5471
|
-
resolution: output.resolution
|
|
5472
|
-
? deserializeAws_json1_1Resolution(output.resolution, context)
|
|
5473
|
-
: undefined,
|
|
5375
|
+
resolution: output.resolution != null ? deserializeAws_json1_1Resolution(output.resolution, context) : undefined,
|
|
5474
5376
|
};
|
|
5475
5377
|
};
|
|
5476
5378
|
const deserializeAws_json1_1DeviceFilter = (output, context) => {
|
|
5477
5379
|
return {
|
|
5478
5380
|
attribute: (0, smithy_client_1.expectString)(output.attribute),
|
|
5479
5381
|
operator: (0, smithy_client_1.expectString)(output.operator),
|
|
5480
|
-
values: output.values
|
|
5481
|
-
? deserializeAws_json1_1DeviceFilterValues(output.values, context)
|
|
5482
|
-
: undefined,
|
|
5382
|
+
values: output.values != null ? deserializeAws_json1_1DeviceFilterValues(output.values, context) : undefined,
|
|
5483
5383
|
};
|
|
5484
5384
|
};
|
|
5485
5385
|
const deserializeAws_json1_1DeviceFilters = (output, context) => {
|
|
@@ -5519,12 +5419,10 @@ const deserializeAws_json1_1DeviceInstance = (output, context) => {
|
|
|
5519
5419
|
return {
|
|
5520
5420
|
arn: (0, smithy_client_1.expectString)(output.arn),
|
|
5521
5421
|
deviceArn: (0, smithy_client_1.expectString)(output.deviceArn),
|
|
5522
|
-
instanceProfile: output.instanceProfile
|
|
5422
|
+
instanceProfile: output.instanceProfile != null
|
|
5523
5423
|
? deserializeAws_json1_1InstanceProfile(output.instanceProfile, context)
|
|
5524
5424
|
: undefined,
|
|
5525
|
-
labels: output.labels
|
|
5526
|
-
? deserializeAws_json1_1InstanceLabels(output.labels, context)
|
|
5527
|
-
: undefined,
|
|
5425
|
+
labels: output.labels != null ? deserializeAws_json1_1InstanceLabels(output.labels, context) : undefined,
|
|
5528
5426
|
status: (0, smithy_client_1.expectString)(output.status),
|
|
5529
5427
|
udid: (0, smithy_client_1.expectString)(output.udid),
|
|
5530
5428
|
};
|
|
@@ -5553,19 +5451,15 @@ const deserializeAws_json1_1DevicePool = (output, context) => {
|
|
|
5553
5451
|
description: (0, smithy_client_1.expectString)(output.description),
|
|
5554
5452
|
maxDevices: (0, smithy_client_1.expectInt32)(output.maxDevices),
|
|
5555
5453
|
name: (0, smithy_client_1.expectString)(output.name),
|
|
5556
|
-
rules: output.rules
|
|
5557
|
-
? deserializeAws_json1_1Rules(output.rules, context)
|
|
5558
|
-
: undefined,
|
|
5454
|
+
rules: output.rules != null ? deserializeAws_json1_1Rules(output.rules, context) : undefined,
|
|
5559
5455
|
type: (0, smithy_client_1.expectString)(output.type),
|
|
5560
5456
|
};
|
|
5561
5457
|
};
|
|
5562
5458
|
const deserializeAws_json1_1DevicePoolCompatibilityResult = (output, context) => {
|
|
5563
5459
|
return {
|
|
5564
5460
|
compatible: (0, smithy_client_1.expectBoolean)(output.compatible),
|
|
5565
|
-
device: output.device
|
|
5566
|
-
|
|
5567
|
-
: undefined,
|
|
5568
|
-
incompatibilityMessages: output.incompatibilityMessages !== undefined && output.incompatibilityMessages !== null
|
|
5461
|
+
device: output.device != null ? deserializeAws_json1_1Device(output.device, context) : undefined,
|
|
5462
|
+
incompatibilityMessages: output.incompatibilityMessages != null
|
|
5569
5463
|
? deserializeAws_json1_1IncompatibilityMessages(output.incompatibilityMessages, context)
|
|
5570
5464
|
: undefined,
|
|
5571
5465
|
};
|
|
@@ -5605,136 +5499,116 @@ const deserializeAws_json1_1Devices = (output, context) => {
|
|
|
5605
5499
|
};
|
|
5606
5500
|
const deserializeAws_json1_1DeviceSelectionResult = (output, context) => {
|
|
5607
5501
|
return {
|
|
5608
|
-
filters: output.filters
|
|
5609
|
-
? deserializeAws_json1_1DeviceFilters(output.filters, context)
|
|
5610
|
-
: undefined,
|
|
5502
|
+
filters: output.filters != null ? deserializeAws_json1_1DeviceFilters(output.filters, context) : undefined,
|
|
5611
5503
|
matchedDevicesCount: (0, smithy_client_1.expectInt32)(output.matchedDevicesCount),
|
|
5612
5504
|
maxDevices: (0, smithy_client_1.expectInt32)(output.maxDevices),
|
|
5613
5505
|
};
|
|
5614
5506
|
};
|
|
5615
5507
|
const deserializeAws_json1_1GetAccountSettingsResult = (output, context) => {
|
|
5616
5508
|
return {
|
|
5617
|
-
accountSettings: output.accountSettings
|
|
5509
|
+
accountSettings: output.accountSettings != null
|
|
5618
5510
|
? deserializeAws_json1_1AccountSettings(output.accountSettings, context)
|
|
5619
5511
|
: undefined,
|
|
5620
5512
|
};
|
|
5621
5513
|
};
|
|
5622
5514
|
const deserializeAws_json1_1GetDeviceInstanceResult = (output, context) => {
|
|
5623
5515
|
return {
|
|
5624
|
-
deviceInstance: output.deviceInstance
|
|
5625
|
-
? deserializeAws_json1_1DeviceInstance(output.deviceInstance, context)
|
|
5626
|
-
: undefined,
|
|
5516
|
+
deviceInstance: output.deviceInstance != null ? deserializeAws_json1_1DeviceInstance(output.deviceInstance, context) : undefined,
|
|
5627
5517
|
};
|
|
5628
5518
|
};
|
|
5629
5519
|
const deserializeAws_json1_1GetDevicePoolCompatibilityResult = (output, context) => {
|
|
5630
5520
|
return {
|
|
5631
|
-
compatibleDevices: output.compatibleDevices
|
|
5521
|
+
compatibleDevices: output.compatibleDevices != null
|
|
5632
5522
|
? deserializeAws_json1_1DevicePoolCompatibilityResults(output.compatibleDevices, context)
|
|
5633
5523
|
: undefined,
|
|
5634
|
-
incompatibleDevices: output.incompatibleDevices
|
|
5524
|
+
incompatibleDevices: output.incompatibleDevices != null
|
|
5635
5525
|
? deserializeAws_json1_1DevicePoolCompatibilityResults(output.incompatibleDevices, context)
|
|
5636
5526
|
: undefined,
|
|
5637
5527
|
};
|
|
5638
5528
|
};
|
|
5639
5529
|
const deserializeAws_json1_1GetDevicePoolResult = (output, context) => {
|
|
5640
5530
|
return {
|
|
5641
|
-
devicePool: output.devicePool
|
|
5642
|
-
? deserializeAws_json1_1DevicePool(output.devicePool, context)
|
|
5643
|
-
: undefined,
|
|
5531
|
+
devicePool: output.devicePool != null ? deserializeAws_json1_1DevicePool(output.devicePool, context) : undefined,
|
|
5644
5532
|
};
|
|
5645
5533
|
};
|
|
5646
5534
|
const deserializeAws_json1_1GetDeviceResult = (output, context) => {
|
|
5647
5535
|
return {
|
|
5648
|
-
device: output.device
|
|
5649
|
-
? deserializeAws_json1_1Device(output.device, context)
|
|
5650
|
-
: undefined,
|
|
5536
|
+
device: output.device != null ? deserializeAws_json1_1Device(output.device, context) : undefined,
|
|
5651
5537
|
};
|
|
5652
5538
|
};
|
|
5653
5539
|
const deserializeAws_json1_1GetInstanceProfileResult = (output, context) => {
|
|
5654
5540
|
return {
|
|
5655
|
-
instanceProfile: output.instanceProfile
|
|
5541
|
+
instanceProfile: output.instanceProfile != null
|
|
5656
5542
|
? deserializeAws_json1_1InstanceProfile(output.instanceProfile, context)
|
|
5657
5543
|
: undefined,
|
|
5658
5544
|
};
|
|
5659
5545
|
};
|
|
5660
5546
|
const deserializeAws_json1_1GetJobResult = (output, context) => {
|
|
5661
5547
|
return {
|
|
5662
|
-
job: output.job
|
|
5548
|
+
job: output.job != null ? deserializeAws_json1_1Job(output.job, context) : undefined,
|
|
5663
5549
|
};
|
|
5664
5550
|
};
|
|
5665
5551
|
const deserializeAws_json1_1GetNetworkProfileResult = (output, context) => {
|
|
5666
5552
|
return {
|
|
5667
|
-
networkProfile: output.networkProfile
|
|
5668
|
-
? deserializeAws_json1_1NetworkProfile(output.networkProfile, context)
|
|
5669
|
-
: undefined,
|
|
5553
|
+
networkProfile: output.networkProfile != null ? deserializeAws_json1_1NetworkProfile(output.networkProfile, context) : undefined,
|
|
5670
5554
|
};
|
|
5671
5555
|
};
|
|
5672
5556
|
const deserializeAws_json1_1GetOfferingStatusResult = (output, context) => {
|
|
5673
5557
|
return {
|
|
5674
|
-
current: output.current
|
|
5675
|
-
|
|
5676
|
-
: undefined,
|
|
5677
|
-
nextPeriod: output.nextPeriod !== undefined && output.nextPeriod !== null
|
|
5678
|
-
? deserializeAws_json1_1OfferingStatusMap(output.nextPeriod, context)
|
|
5679
|
-
: undefined,
|
|
5558
|
+
current: output.current != null ? deserializeAws_json1_1OfferingStatusMap(output.current, context) : undefined,
|
|
5559
|
+
nextPeriod: output.nextPeriod != null ? deserializeAws_json1_1OfferingStatusMap(output.nextPeriod, context) : undefined,
|
|
5680
5560
|
nextToken: (0, smithy_client_1.expectString)(output.nextToken),
|
|
5681
5561
|
};
|
|
5682
5562
|
};
|
|
5683
5563
|
const deserializeAws_json1_1GetProjectResult = (output, context) => {
|
|
5684
5564
|
return {
|
|
5685
|
-
project: output.project
|
|
5686
|
-
? deserializeAws_json1_1Project(output.project, context)
|
|
5687
|
-
: undefined,
|
|
5565
|
+
project: output.project != null ? deserializeAws_json1_1Project(output.project, context) : undefined,
|
|
5688
5566
|
};
|
|
5689
5567
|
};
|
|
5690
5568
|
const deserializeAws_json1_1GetRemoteAccessSessionResult = (output, context) => {
|
|
5691
5569
|
return {
|
|
5692
|
-
remoteAccessSession: output.remoteAccessSession
|
|
5570
|
+
remoteAccessSession: output.remoteAccessSession != null
|
|
5693
5571
|
? deserializeAws_json1_1RemoteAccessSession(output.remoteAccessSession, context)
|
|
5694
5572
|
: undefined,
|
|
5695
5573
|
};
|
|
5696
5574
|
};
|
|
5697
5575
|
const deserializeAws_json1_1GetRunResult = (output, context) => {
|
|
5698
5576
|
return {
|
|
5699
|
-
run: output.run
|
|
5577
|
+
run: output.run != null ? deserializeAws_json1_1Run(output.run, context) : undefined,
|
|
5700
5578
|
};
|
|
5701
5579
|
};
|
|
5702
5580
|
const deserializeAws_json1_1GetSuiteResult = (output, context) => {
|
|
5703
5581
|
return {
|
|
5704
|
-
suite: output.suite
|
|
5705
|
-
? deserializeAws_json1_1Suite(output.suite, context)
|
|
5706
|
-
: undefined,
|
|
5582
|
+
suite: output.suite != null ? deserializeAws_json1_1Suite(output.suite, context) : undefined,
|
|
5707
5583
|
};
|
|
5708
5584
|
};
|
|
5709
5585
|
const deserializeAws_json1_1GetTestGridProjectResult = (output, context) => {
|
|
5710
5586
|
return {
|
|
5711
|
-
testGridProject: output.testGridProject
|
|
5587
|
+
testGridProject: output.testGridProject != null
|
|
5712
5588
|
? deserializeAws_json1_1TestGridProject(output.testGridProject, context)
|
|
5713
5589
|
: undefined,
|
|
5714
5590
|
};
|
|
5715
5591
|
};
|
|
5716
5592
|
const deserializeAws_json1_1GetTestGridSessionResult = (output, context) => {
|
|
5717
5593
|
return {
|
|
5718
|
-
testGridSession: output.testGridSession
|
|
5594
|
+
testGridSession: output.testGridSession != null
|
|
5719
5595
|
? deserializeAws_json1_1TestGridSession(output.testGridSession, context)
|
|
5720
5596
|
: undefined,
|
|
5721
5597
|
};
|
|
5722
5598
|
};
|
|
5723
5599
|
const deserializeAws_json1_1GetTestResult = (output, context) => {
|
|
5724
5600
|
return {
|
|
5725
|
-
test: output.test
|
|
5601
|
+
test: output.test != null ? deserializeAws_json1_1Test(output.test, context) : undefined,
|
|
5726
5602
|
};
|
|
5727
5603
|
};
|
|
5728
5604
|
const deserializeAws_json1_1GetUploadResult = (output, context) => {
|
|
5729
5605
|
return {
|
|
5730
|
-
upload: output.upload
|
|
5731
|
-
? deserializeAws_json1_1Upload(output.upload, context)
|
|
5732
|
-
: undefined,
|
|
5606
|
+
upload: output.upload != null ? deserializeAws_json1_1Upload(output.upload, context) : undefined,
|
|
5733
5607
|
};
|
|
5734
5608
|
};
|
|
5735
5609
|
const deserializeAws_json1_1GetVPCEConfigurationResult = (output, context) => {
|
|
5736
5610
|
return {
|
|
5737
|
-
vpceConfiguration: output.vpceConfiguration
|
|
5611
|
+
vpceConfiguration: output.vpceConfiguration != null
|
|
5738
5612
|
? deserializeAws_json1_1VPCEConfiguration(output.vpceConfiguration, context)
|
|
5739
5613
|
: undefined,
|
|
5740
5614
|
};
|
|
@@ -5763,9 +5637,7 @@ const deserializeAws_json1_1IncompatibilityMessages = (output, context) => {
|
|
|
5763
5637
|
};
|
|
5764
5638
|
const deserializeAws_json1_1InstallToRemoteAccessSessionResult = (output, context) => {
|
|
5765
5639
|
return {
|
|
5766
|
-
appUpload: output.appUpload
|
|
5767
|
-
? deserializeAws_json1_1Upload(output.appUpload, context)
|
|
5768
|
-
: undefined,
|
|
5640
|
+
appUpload: output.appUpload != null ? deserializeAws_json1_1Upload(output.appUpload, context) : undefined,
|
|
5769
5641
|
};
|
|
5770
5642
|
};
|
|
5771
5643
|
const deserializeAws_json1_1InstanceLabels = (output, context) => {
|
|
@@ -5783,7 +5655,7 @@ const deserializeAws_json1_1InstanceProfile = (output, context) => {
|
|
|
5783
5655
|
return {
|
|
5784
5656
|
arn: (0, smithy_client_1.expectString)(output.arn),
|
|
5785
5657
|
description: (0, smithy_client_1.expectString)(output.description),
|
|
5786
|
-
excludeAppPackagesFromCleanup: output.excludeAppPackagesFromCleanup
|
|
5658
|
+
excludeAppPackagesFromCleanup: output.excludeAppPackagesFromCleanup != null
|
|
5787
5659
|
? deserializeAws_json1_1PackageIds(output.excludeAppPackagesFromCleanup, context)
|
|
5788
5660
|
: undefined,
|
|
5789
5661
|
name: (0, smithy_client_1.expectString)(output.name),
|
|
@@ -5826,29 +5698,17 @@ const deserializeAws_json1_1IosPaths = (output, context) => {
|
|
|
5826
5698
|
const deserializeAws_json1_1Job = (output, context) => {
|
|
5827
5699
|
return {
|
|
5828
5700
|
arn: (0, smithy_client_1.expectString)(output.arn),
|
|
5829
|
-
counters: output.counters
|
|
5830
|
-
|
|
5831
|
-
|
|
5832
|
-
|
|
5833
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.created)))
|
|
5834
|
-
: undefined,
|
|
5835
|
-
device: output.device !== undefined && output.device !== null
|
|
5836
|
-
? deserializeAws_json1_1Device(output.device, context)
|
|
5837
|
-
: undefined,
|
|
5838
|
-
deviceMinutes: output.deviceMinutes !== undefined && output.deviceMinutes !== null
|
|
5839
|
-
? deserializeAws_json1_1DeviceMinutes(output.deviceMinutes, context)
|
|
5840
|
-
: undefined,
|
|
5701
|
+
counters: output.counters != null ? deserializeAws_json1_1Counters(output.counters, context) : undefined,
|
|
5702
|
+
created: output.created != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.created))) : undefined,
|
|
5703
|
+
device: output.device != null ? deserializeAws_json1_1Device(output.device, context) : undefined,
|
|
5704
|
+
deviceMinutes: output.deviceMinutes != null ? deserializeAws_json1_1DeviceMinutes(output.deviceMinutes, context) : undefined,
|
|
5841
5705
|
instanceArn: (0, smithy_client_1.expectString)(output.instanceArn),
|
|
5842
5706
|
message: (0, smithy_client_1.expectString)(output.message),
|
|
5843
5707
|
name: (0, smithy_client_1.expectString)(output.name),
|
|
5844
5708
|
result: (0, smithy_client_1.expectString)(output.result),
|
|
5845
|
-
started: output.started
|
|
5846
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.started)))
|
|
5847
|
-
: undefined,
|
|
5709
|
+
started: output.started != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.started))) : undefined,
|
|
5848
5710
|
status: (0, smithy_client_1.expectString)(output.status),
|
|
5849
|
-
stopped: output.stopped
|
|
5850
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.stopped)))
|
|
5851
|
-
: undefined,
|
|
5711
|
+
stopped: output.stopped != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.stopped))) : undefined,
|
|
5852
5712
|
type: (0, smithy_client_1.expectString)(output.type),
|
|
5853
5713
|
videoCapture: (0, smithy_client_1.expectBoolean)(output.videoCapture),
|
|
5854
5714
|
videoEndpoint: (0, smithy_client_1.expectString)(output.videoEndpoint),
|
|
@@ -5872,15 +5732,13 @@ const deserializeAws_json1_1LimitExceededException = (output, context) => {
|
|
|
5872
5732
|
};
|
|
5873
5733
|
const deserializeAws_json1_1ListArtifactsResult = (output, context) => {
|
|
5874
5734
|
return {
|
|
5875
|
-
artifacts: output.artifacts
|
|
5876
|
-
? deserializeAws_json1_1Artifacts(output.artifacts, context)
|
|
5877
|
-
: undefined,
|
|
5735
|
+
artifacts: output.artifacts != null ? deserializeAws_json1_1Artifacts(output.artifacts, context) : undefined,
|
|
5878
5736
|
nextToken: (0, smithy_client_1.expectString)(output.nextToken),
|
|
5879
5737
|
};
|
|
5880
5738
|
};
|
|
5881
5739
|
const deserializeAws_json1_1ListDeviceInstancesResult = (output, context) => {
|
|
5882
5740
|
return {
|
|
5883
|
-
deviceInstances: output.deviceInstances
|
|
5741
|
+
deviceInstances: output.deviceInstances != null
|
|
5884
5742
|
? deserializeAws_json1_1DeviceInstances(output.deviceInstances, context)
|
|
5885
5743
|
: undefined,
|
|
5886
5744
|
nextToken: (0, smithy_client_1.expectString)(output.nextToken),
|
|
@@ -5888,23 +5746,19 @@ const deserializeAws_json1_1ListDeviceInstancesResult = (output, context) => {
|
|
|
5888
5746
|
};
|
|
5889
5747
|
const deserializeAws_json1_1ListDevicePoolsResult = (output, context) => {
|
|
5890
5748
|
return {
|
|
5891
|
-
devicePools: output.devicePools
|
|
5892
|
-
? deserializeAws_json1_1DevicePools(output.devicePools, context)
|
|
5893
|
-
: undefined,
|
|
5749
|
+
devicePools: output.devicePools != null ? deserializeAws_json1_1DevicePools(output.devicePools, context) : undefined,
|
|
5894
5750
|
nextToken: (0, smithy_client_1.expectString)(output.nextToken),
|
|
5895
5751
|
};
|
|
5896
5752
|
};
|
|
5897
5753
|
const deserializeAws_json1_1ListDevicesResult = (output, context) => {
|
|
5898
5754
|
return {
|
|
5899
|
-
devices: output.devices
|
|
5900
|
-
? deserializeAws_json1_1Devices(output.devices, context)
|
|
5901
|
-
: undefined,
|
|
5755
|
+
devices: output.devices != null ? deserializeAws_json1_1Devices(output.devices, context) : undefined,
|
|
5902
5756
|
nextToken: (0, smithy_client_1.expectString)(output.nextToken),
|
|
5903
5757
|
};
|
|
5904
5758
|
};
|
|
5905
5759
|
const deserializeAws_json1_1ListInstanceProfilesResult = (output, context) => {
|
|
5906
5760
|
return {
|
|
5907
|
-
instanceProfiles: output.instanceProfiles
|
|
5761
|
+
instanceProfiles: output.instanceProfiles != null
|
|
5908
5762
|
? deserializeAws_json1_1InstanceProfiles(output.instanceProfiles, context)
|
|
5909
5763
|
: undefined,
|
|
5910
5764
|
nextToken: (0, smithy_client_1.expectString)(output.nextToken),
|
|
@@ -5912,13 +5766,13 @@ const deserializeAws_json1_1ListInstanceProfilesResult = (output, context) => {
|
|
|
5912
5766
|
};
|
|
5913
5767
|
const deserializeAws_json1_1ListJobsResult = (output, context) => {
|
|
5914
5768
|
return {
|
|
5915
|
-
jobs: output.jobs
|
|
5769
|
+
jobs: output.jobs != null ? deserializeAws_json1_1Jobs(output.jobs, context) : undefined,
|
|
5916
5770
|
nextToken: (0, smithy_client_1.expectString)(output.nextToken),
|
|
5917
5771
|
};
|
|
5918
5772
|
};
|
|
5919
5773
|
const deserializeAws_json1_1ListNetworkProfilesResult = (output, context) => {
|
|
5920
5774
|
return {
|
|
5921
|
-
networkProfiles: output.networkProfiles
|
|
5775
|
+
networkProfiles: output.networkProfiles != null
|
|
5922
5776
|
? deserializeAws_json1_1NetworkProfiles(output.networkProfiles, context)
|
|
5923
5777
|
: undefined,
|
|
5924
5778
|
nextToken: (0, smithy_client_1.expectString)(output.nextToken),
|
|
@@ -5927,7 +5781,7 @@ const deserializeAws_json1_1ListNetworkProfilesResult = (output, context) => {
|
|
|
5927
5781
|
const deserializeAws_json1_1ListOfferingPromotionsResult = (output, context) => {
|
|
5928
5782
|
return {
|
|
5929
5783
|
nextToken: (0, smithy_client_1.expectString)(output.nextToken),
|
|
5930
|
-
offeringPromotions: output.offeringPromotions
|
|
5784
|
+
offeringPromotions: output.offeringPromotions != null
|
|
5931
5785
|
? deserializeAws_json1_1OfferingPromotions(output.offeringPromotions, context)
|
|
5932
5786
|
: undefined,
|
|
5933
5787
|
};
|
|
@@ -5935,15 +5789,13 @@ const deserializeAws_json1_1ListOfferingPromotionsResult = (output, context) =>
|
|
|
5935
5789
|
const deserializeAws_json1_1ListOfferingsResult = (output, context) => {
|
|
5936
5790
|
return {
|
|
5937
5791
|
nextToken: (0, smithy_client_1.expectString)(output.nextToken),
|
|
5938
|
-
offerings: output.offerings
|
|
5939
|
-
? deserializeAws_json1_1Offerings(output.offerings, context)
|
|
5940
|
-
: undefined,
|
|
5792
|
+
offerings: output.offerings != null ? deserializeAws_json1_1Offerings(output.offerings, context) : undefined,
|
|
5941
5793
|
};
|
|
5942
5794
|
};
|
|
5943
5795
|
const deserializeAws_json1_1ListOfferingTransactionsResult = (output, context) => {
|
|
5944
5796
|
return {
|
|
5945
5797
|
nextToken: (0, smithy_client_1.expectString)(output.nextToken),
|
|
5946
|
-
offeringTransactions: output.offeringTransactions
|
|
5798
|
+
offeringTransactions: output.offeringTransactions != null
|
|
5947
5799
|
? deserializeAws_json1_1OfferingTransactions(output.offeringTransactions, context)
|
|
5948
5800
|
: undefined,
|
|
5949
5801
|
};
|
|
@@ -5951,15 +5803,13 @@ const deserializeAws_json1_1ListOfferingTransactionsResult = (output, context) =
|
|
|
5951
5803
|
const deserializeAws_json1_1ListProjectsResult = (output, context) => {
|
|
5952
5804
|
return {
|
|
5953
5805
|
nextToken: (0, smithy_client_1.expectString)(output.nextToken),
|
|
5954
|
-
projects: output.projects
|
|
5955
|
-
? deserializeAws_json1_1Projects(output.projects, context)
|
|
5956
|
-
: undefined,
|
|
5806
|
+
projects: output.projects != null ? deserializeAws_json1_1Projects(output.projects, context) : undefined,
|
|
5957
5807
|
};
|
|
5958
5808
|
};
|
|
5959
5809
|
const deserializeAws_json1_1ListRemoteAccessSessionsResult = (output, context) => {
|
|
5960
5810
|
return {
|
|
5961
5811
|
nextToken: (0, smithy_client_1.expectString)(output.nextToken),
|
|
5962
|
-
remoteAccessSessions: output.remoteAccessSessions
|
|
5812
|
+
remoteAccessSessions: output.remoteAccessSessions != null
|
|
5963
5813
|
? deserializeAws_json1_1RemoteAccessSessions(output.remoteAccessSessions, context)
|
|
5964
5814
|
: undefined,
|
|
5965
5815
|
};
|
|
@@ -5967,60 +5817,50 @@ const deserializeAws_json1_1ListRemoteAccessSessionsResult = (output, context) =
|
|
|
5967
5817
|
const deserializeAws_json1_1ListRunsResult = (output, context) => {
|
|
5968
5818
|
return {
|
|
5969
5819
|
nextToken: (0, smithy_client_1.expectString)(output.nextToken),
|
|
5970
|
-
runs: output.runs
|
|
5820
|
+
runs: output.runs != null ? deserializeAws_json1_1Runs(output.runs, context) : undefined,
|
|
5971
5821
|
};
|
|
5972
5822
|
};
|
|
5973
5823
|
const deserializeAws_json1_1ListSamplesResult = (output, context) => {
|
|
5974
5824
|
return {
|
|
5975
5825
|
nextToken: (0, smithy_client_1.expectString)(output.nextToken),
|
|
5976
|
-
samples: output.samples
|
|
5977
|
-
? deserializeAws_json1_1Samples(output.samples, context)
|
|
5978
|
-
: undefined,
|
|
5826
|
+
samples: output.samples != null ? deserializeAws_json1_1Samples(output.samples, context) : undefined,
|
|
5979
5827
|
};
|
|
5980
5828
|
};
|
|
5981
5829
|
const deserializeAws_json1_1ListSuitesResult = (output, context) => {
|
|
5982
5830
|
return {
|
|
5983
5831
|
nextToken: (0, smithy_client_1.expectString)(output.nextToken),
|
|
5984
|
-
suites: output.suites
|
|
5985
|
-
? deserializeAws_json1_1Suites(output.suites, context)
|
|
5986
|
-
: undefined,
|
|
5832
|
+
suites: output.suites != null ? deserializeAws_json1_1Suites(output.suites, context) : undefined,
|
|
5987
5833
|
};
|
|
5988
5834
|
};
|
|
5989
5835
|
const deserializeAws_json1_1ListTagsForResourceResponse = (output, context) => {
|
|
5990
5836
|
return {
|
|
5991
|
-
Tags: output.Tags
|
|
5992
|
-
? deserializeAws_json1_1TagList(output.Tags, context)
|
|
5993
|
-
: undefined,
|
|
5837
|
+
Tags: output.Tags != null ? deserializeAws_json1_1TagList(output.Tags, context) : undefined,
|
|
5994
5838
|
};
|
|
5995
5839
|
};
|
|
5996
5840
|
const deserializeAws_json1_1ListTestGridProjectsResult = (output, context) => {
|
|
5997
5841
|
return {
|
|
5998
5842
|
nextToken: (0, smithy_client_1.expectString)(output.nextToken),
|
|
5999
|
-
testGridProjects: output.testGridProjects
|
|
5843
|
+
testGridProjects: output.testGridProjects != null
|
|
6000
5844
|
? deserializeAws_json1_1TestGridProjects(output.testGridProjects, context)
|
|
6001
5845
|
: undefined,
|
|
6002
5846
|
};
|
|
6003
5847
|
};
|
|
6004
5848
|
const deserializeAws_json1_1ListTestGridSessionActionsResult = (output, context) => {
|
|
6005
5849
|
return {
|
|
6006
|
-
actions: output.actions
|
|
6007
|
-
? deserializeAws_json1_1TestGridSessionActions(output.actions, context)
|
|
6008
|
-
: undefined,
|
|
5850
|
+
actions: output.actions != null ? deserializeAws_json1_1TestGridSessionActions(output.actions, context) : undefined,
|
|
6009
5851
|
nextToken: (0, smithy_client_1.expectString)(output.nextToken),
|
|
6010
5852
|
};
|
|
6011
5853
|
};
|
|
6012
5854
|
const deserializeAws_json1_1ListTestGridSessionArtifactsResult = (output, context) => {
|
|
6013
5855
|
return {
|
|
6014
|
-
artifacts: output.artifacts
|
|
6015
|
-
? deserializeAws_json1_1TestGridSessionArtifacts(output.artifacts, context)
|
|
6016
|
-
: undefined,
|
|
5856
|
+
artifacts: output.artifacts != null ? deserializeAws_json1_1TestGridSessionArtifacts(output.artifacts, context) : undefined,
|
|
6017
5857
|
nextToken: (0, smithy_client_1.expectString)(output.nextToken),
|
|
6018
5858
|
};
|
|
6019
5859
|
};
|
|
6020
5860
|
const deserializeAws_json1_1ListTestGridSessionsResult = (output, context) => {
|
|
6021
5861
|
return {
|
|
6022
5862
|
nextToken: (0, smithy_client_1.expectString)(output.nextToken),
|
|
6023
|
-
testGridSessions: output.testGridSessions
|
|
5863
|
+
testGridSessions: output.testGridSessions != null
|
|
6024
5864
|
? deserializeAws_json1_1TestGridSessions(output.testGridSessions, context)
|
|
6025
5865
|
: undefined,
|
|
6026
5866
|
};
|
|
@@ -6028,15 +5868,13 @@ const deserializeAws_json1_1ListTestGridSessionsResult = (output, context) => {
|
|
|
6028
5868
|
const deserializeAws_json1_1ListTestsResult = (output, context) => {
|
|
6029
5869
|
return {
|
|
6030
5870
|
nextToken: (0, smithy_client_1.expectString)(output.nextToken),
|
|
6031
|
-
tests: output.tests
|
|
6032
|
-
? deserializeAws_json1_1Tests(output.tests, context)
|
|
6033
|
-
: undefined,
|
|
5871
|
+
tests: output.tests != null ? deserializeAws_json1_1Tests(output.tests, context) : undefined,
|
|
6034
5872
|
};
|
|
6035
5873
|
};
|
|
6036
5874
|
const deserializeAws_json1_1ListUniqueProblemsResult = (output, context) => {
|
|
6037
5875
|
return {
|
|
6038
5876
|
nextToken: (0, smithy_client_1.expectString)(output.nextToken),
|
|
6039
|
-
uniqueProblems: output.uniqueProblems
|
|
5877
|
+
uniqueProblems: output.uniqueProblems != null
|
|
6040
5878
|
? deserializeAws_json1_1UniqueProblemsByExecutionResultMap(output.uniqueProblems, context)
|
|
6041
5879
|
: undefined,
|
|
6042
5880
|
};
|
|
@@ -6044,15 +5882,13 @@ const deserializeAws_json1_1ListUniqueProblemsResult = (output, context) => {
|
|
|
6044
5882
|
const deserializeAws_json1_1ListUploadsResult = (output, context) => {
|
|
6045
5883
|
return {
|
|
6046
5884
|
nextToken: (0, smithy_client_1.expectString)(output.nextToken),
|
|
6047
|
-
uploads: output.uploads
|
|
6048
|
-
? deserializeAws_json1_1Uploads(output.uploads, context)
|
|
6049
|
-
: undefined,
|
|
5885
|
+
uploads: output.uploads != null ? deserializeAws_json1_1Uploads(output.uploads, context) : undefined,
|
|
6050
5886
|
};
|
|
6051
5887
|
};
|
|
6052
5888
|
const deserializeAws_json1_1ListVPCEConfigurationsResult = (output, context) => {
|
|
6053
5889
|
return {
|
|
6054
5890
|
nextToken: (0, smithy_client_1.expectString)(output.nextToken),
|
|
6055
|
-
vpceConfigurations: output.vpceConfigurations
|
|
5891
|
+
vpceConfigurations: output.vpceConfigurations != null
|
|
6056
5892
|
? deserializeAws_json1_1VPCEConfigurations(output.vpceConfigurations, context)
|
|
6057
5893
|
: undefined,
|
|
6058
5894
|
};
|
|
@@ -6122,7 +5958,7 @@ const deserializeAws_json1_1Offering = (output, context) => {
|
|
|
6122
5958
|
description: (0, smithy_client_1.expectString)(output.description),
|
|
6123
5959
|
id: (0, smithy_client_1.expectString)(output.id),
|
|
6124
5960
|
platform: (0, smithy_client_1.expectString)(output.platform),
|
|
6125
|
-
recurringCharges: output.recurringCharges
|
|
5961
|
+
recurringCharges: output.recurringCharges != null
|
|
6126
5962
|
? deserializeAws_json1_1RecurringCharges(output.recurringCharges, context)
|
|
6127
5963
|
: undefined,
|
|
6128
5964
|
type: (0, smithy_client_1.expectString)(output.type),
|
|
@@ -6158,12 +5994,10 @@ const deserializeAws_json1_1Offerings = (output, context) => {
|
|
|
6158
5994
|
};
|
|
6159
5995
|
const deserializeAws_json1_1OfferingStatus = (output, context) => {
|
|
6160
5996
|
return {
|
|
6161
|
-
effectiveOn: output.effectiveOn
|
|
5997
|
+
effectiveOn: output.effectiveOn != null
|
|
6162
5998
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.effectiveOn)))
|
|
6163
5999
|
: undefined,
|
|
6164
|
-
offering: output.offering
|
|
6165
|
-
? deserializeAws_json1_1Offering(output.offering, context)
|
|
6166
|
-
: undefined,
|
|
6000
|
+
offering: output.offering != null ? deserializeAws_json1_1Offering(output.offering, context) : undefined,
|
|
6167
6001
|
quantity: (0, smithy_client_1.expectInt32)(output.quantity),
|
|
6168
6002
|
type: (0, smithy_client_1.expectString)(output.type),
|
|
6169
6003
|
};
|
|
@@ -6181,16 +6015,10 @@ const deserializeAws_json1_1OfferingStatusMap = (output, context) => {
|
|
|
6181
6015
|
};
|
|
6182
6016
|
const deserializeAws_json1_1OfferingTransaction = (output, context) => {
|
|
6183
6017
|
return {
|
|
6184
|
-
cost: output.cost
|
|
6185
|
-
|
|
6186
|
-
: undefined,
|
|
6187
|
-
createdOn: output.createdOn !== undefined && output.createdOn !== null
|
|
6188
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdOn)))
|
|
6189
|
-
: undefined,
|
|
6018
|
+
cost: output.cost != null ? deserializeAws_json1_1MonetaryAmount(output.cost, context) : undefined,
|
|
6019
|
+
createdOn: output.createdOn != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdOn))) : undefined,
|
|
6190
6020
|
offeringPromotionId: (0, smithy_client_1.expectString)(output.offeringPromotionId),
|
|
6191
|
-
offeringStatus: output.offeringStatus
|
|
6192
|
-
? deserializeAws_json1_1OfferingStatus(output.offeringStatus, context)
|
|
6193
|
-
: undefined,
|
|
6021
|
+
offeringStatus: output.offeringStatus != null ? deserializeAws_json1_1OfferingStatus(output.offeringStatus, context) : undefined,
|
|
6194
6022
|
transactionId: (0, smithy_client_1.expectString)(output.transactionId),
|
|
6195
6023
|
};
|
|
6196
6024
|
};
|
|
@@ -6218,23 +6046,13 @@ const deserializeAws_json1_1PackageIds = (output, context) => {
|
|
|
6218
6046
|
};
|
|
6219
6047
|
const deserializeAws_json1_1Problem = (output, context) => {
|
|
6220
6048
|
return {
|
|
6221
|
-
device: output.device
|
|
6222
|
-
|
|
6223
|
-
: undefined,
|
|
6224
|
-
job: output.job !== undefined && output.job !== null
|
|
6225
|
-
? deserializeAws_json1_1ProblemDetail(output.job, context)
|
|
6226
|
-
: undefined,
|
|
6049
|
+
device: output.device != null ? deserializeAws_json1_1Device(output.device, context) : undefined,
|
|
6050
|
+
job: output.job != null ? deserializeAws_json1_1ProblemDetail(output.job, context) : undefined,
|
|
6227
6051
|
message: (0, smithy_client_1.expectString)(output.message),
|
|
6228
6052
|
result: (0, smithy_client_1.expectString)(output.result),
|
|
6229
|
-
run: output.run
|
|
6230
|
-
|
|
6231
|
-
|
|
6232
|
-
suite: output.suite !== undefined && output.suite !== null
|
|
6233
|
-
? deserializeAws_json1_1ProblemDetail(output.suite, context)
|
|
6234
|
-
: undefined,
|
|
6235
|
-
test: output.test !== undefined && output.test !== null
|
|
6236
|
-
? deserializeAws_json1_1ProblemDetail(output.test, context)
|
|
6237
|
-
: undefined,
|
|
6053
|
+
run: output.run != null ? deserializeAws_json1_1ProblemDetail(output.run, context) : undefined,
|
|
6054
|
+
suite: output.suite != null ? deserializeAws_json1_1ProblemDetail(output.suite, context) : undefined,
|
|
6055
|
+
test: output.test != null ? deserializeAws_json1_1ProblemDetail(output.test, context) : undefined,
|
|
6238
6056
|
};
|
|
6239
6057
|
};
|
|
6240
6058
|
const deserializeAws_json1_1ProblemDetail = (output, context) => {
|
|
@@ -6257,9 +6075,7 @@ const deserializeAws_json1_1Problems = (output, context) => {
|
|
|
6257
6075
|
const deserializeAws_json1_1Project = (output, context) => {
|
|
6258
6076
|
return {
|
|
6259
6077
|
arn: (0, smithy_client_1.expectString)(output.arn),
|
|
6260
|
-
created: output.created
|
|
6261
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.created)))
|
|
6262
|
-
: undefined,
|
|
6078
|
+
created: output.created != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.created))) : undefined,
|
|
6263
6079
|
defaultJobTimeoutMinutes: (0, smithy_client_1.expectInt32)(output.defaultJobTimeoutMinutes),
|
|
6264
6080
|
name: (0, smithy_client_1.expectString)(output.name),
|
|
6265
6081
|
};
|
|
@@ -6288,7 +6104,7 @@ const deserializeAws_json1_1PurchasedDevicesMap = (output, context) => {
|
|
|
6288
6104
|
};
|
|
6289
6105
|
const deserializeAws_json1_1PurchaseOfferingResult = (output, context) => {
|
|
6290
6106
|
return {
|
|
6291
|
-
offeringTransaction: output.offeringTransaction
|
|
6107
|
+
offeringTransaction: output.offeringTransaction != null
|
|
6292
6108
|
? deserializeAws_json1_1OfferingTransaction(output.offeringTransaction, context)
|
|
6293
6109
|
: undefined,
|
|
6294
6110
|
};
|
|
@@ -6303,9 +6119,7 @@ const deserializeAws_json1_1Radios = (output, context) => {
|
|
|
6303
6119
|
};
|
|
6304
6120
|
const deserializeAws_json1_1RecurringCharge = (output, context) => {
|
|
6305
6121
|
return {
|
|
6306
|
-
cost: output.cost
|
|
6307
|
-
? deserializeAws_json1_1MonetaryAmount(output.cost, context)
|
|
6308
|
-
: undefined,
|
|
6122
|
+
cost: output.cost != null ? deserializeAws_json1_1MonetaryAmount(output.cost, context) : undefined,
|
|
6309
6123
|
frequency: (0, smithy_client_1.expectString)(output.frequency),
|
|
6310
6124
|
};
|
|
6311
6125
|
};
|
|
@@ -6325,15 +6139,9 @@ const deserializeAws_json1_1RemoteAccessSession = (output, context) => {
|
|
|
6325
6139
|
arn: (0, smithy_client_1.expectString)(output.arn),
|
|
6326
6140
|
billingMethod: (0, smithy_client_1.expectString)(output.billingMethod),
|
|
6327
6141
|
clientId: (0, smithy_client_1.expectString)(output.clientId),
|
|
6328
|
-
created: output.created
|
|
6329
|
-
|
|
6330
|
-
|
|
6331
|
-
device: output.device !== undefined && output.device !== null
|
|
6332
|
-
? deserializeAws_json1_1Device(output.device, context)
|
|
6333
|
-
: undefined,
|
|
6334
|
-
deviceMinutes: output.deviceMinutes !== undefined && output.deviceMinutes !== null
|
|
6335
|
-
? deserializeAws_json1_1DeviceMinutes(output.deviceMinutes, context)
|
|
6336
|
-
: undefined,
|
|
6142
|
+
created: output.created != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.created))) : undefined,
|
|
6143
|
+
device: output.device != null ? deserializeAws_json1_1Device(output.device, context) : undefined,
|
|
6144
|
+
deviceMinutes: output.deviceMinutes != null ? deserializeAws_json1_1DeviceMinutes(output.deviceMinutes, context) : undefined,
|
|
6337
6145
|
deviceUdid: (0, smithy_client_1.expectString)(output.deviceUdid),
|
|
6338
6146
|
endpoint: (0, smithy_client_1.expectString)(output.endpoint),
|
|
6339
6147
|
hostAddress: (0, smithy_client_1.expectString)(output.hostAddress),
|
|
@@ -6346,13 +6154,9 @@ const deserializeAws_json1_1RemoteAccessSession = (output, context) => {
|
|
|
6346
6154
|
remoteRecordEnabled: (0, smithy_client_1.expectBoolean)(output.remoteRecordEnabled),
|
|
6347
6155
|
result: (0, smithy_client_1.expectString)(output.result),
|
|
6348
6156
|
skipAppResign: (0, smithy_client_1.expectBoolean)(output.skipAppResign),
|
|
6349
|
-
started: output.started
|
|
6350
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.started)))
|
|
6351
|
-
: undefined,
|
|
6157
|
+
started: output.started != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.started))) : undefined,
|
|
6352
6158
|
status: (0, smithy_client_1.expectString)(output.status),
|
|
6353
|
-
stopped: output.stopped
|
|
6354
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.stopped)))
|
|
6355
|
-
: undefined,
|
|
6159
|
+
stopped: output.stopped != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.stopped))) : undefined,
|
|
6356
6160
|
};
|
|
6357
6161
|
};
|
|
6358
6162
|
const deserializeAws_json1_1RemoteAccessSessions = (output, context) => {
|
|
@@ -6368,7 +6172,7 @@ const deserializeAws_json1_1RemoteAccessSessions = (output, context) => {
|
|
|
6368
6172
|
};
|
|
6369
6173
|
const deserializeAws_json1_1RenewOfferingResult = (output, context) => {
|
|
6370
6174
|
return {
|
|
6371
|
-
offeringTransaction: output.offeringTransaction
|
|
6175
|
+
offeringTransaction: output.offeringTransaction != null
|
|
6372
6176
|
? deserializeAws_json1_1OfferingTransaction(output.offeringTransaction, context)
|
|
6373
6177
|
: undefined,
|
|
6374
6178
|
};
|
|
@@ -6403,49 +6207,33 @@ const deserializeAws_json1_1Run = (output, context) => {
|
|
|
6403
6207
|
arn: (0, smithy_client_1.expectString)(output.arn),
|
|
6404
6208
|
billingMethod: (0, smithy_client_1.expectString)(output.billingMethod),
|
|
6405
6209
|
completedJobs: (0, smithy_client_1.expectInt32)(output.completedJobs),
|
|
6406
|
-
counters: output.counters
|
|
6407
|
-
|
|
6408
|
-
|
|
6409
|
-
created: output.created !== undefined && output.created !== null
|
|
6410
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.created)))
|
|
6411
|
-
: undefined,
|
|
6412
|
-
customerArtifactPaths: output.customerArtifactPaths !== undefined && output.customerArtifactPaths !== null
|
|
6210
|
+
counters: output.counters != null ? deserializeAws_json1_1Counters(output.counters, context) : undefined,
|
|
6211
|
+
created: output.created != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.created))) : undefined,
|
|
6212
|
+
customerArtifactPaths: output.customerArtifactPaths != null
|
|
6413
6213
|
? deserializeAws_json1_1CustomerArtifactPaths(output.customerArtifactPaths, context)
|
|
6414
6214
|
: undefined,
|
|
6415
|
-
deviceMinutes: output.deviceMinutes
|
|
6416
|
-
? deserializeAws_json1_1DeviceMinutes(output.deviceMinutes, context)
|
|
6417
|
-
: undefined,
|
|
6215
|
+
deviceMinutes: output.deviceMinutes != null ? deserializeAws_json1_1DeviceMinutes(output.deviceMinutes, context) : undefined,
|
|
6418
6216
|
devicePoolArn: (0, smithy_client_1.expectString)(output.devicePoolArn),
|
|
6419
|
-
deviceSelectionResult: output.deviceSelectionResult
|
|
6217
|
+
deviceSelectionResult: output.deviceSelectionResult != null
|
|
6420
6218
|
? deserializeAws_json1_1DeviceSelectionResult(output.deviceSelectionResult, context)
|
|
6421
6219
|
: undefined,
|
|
6422
6220
|
eventCount: (0, smithy_client_1.expectInt32)(output.eventCount),
|
|
6423
6221
|
jobTimeoutMinutes: (0, smithy_client_1.expectInt32)(output.jobTimeoutMinutes),
|
|
6424
6222
|
locale: (0, smithy_client_1.expectString)(output.locale),
|
|
6425
|
-
location: output.location
|
|
6426
|
-
? deserializeAws_json1_1Location(output.location, context)
|
|
6427
|
-
: undefined,
|
|
6223
|
+
location: output.location != null ? deserializeAws_json1_1Location(output.location, context) : undefined,
|
|
6428
6224
|
message: (0, smithy_client_1.expectString)(output.message),
|
|
6429
6225
|
name: (0, smithy_client_1.expectString)(output.name),
|
|
6430
|
-
networkProfile: output.networkProfile
|
|
6431
|
-
? deserializeAws_json1_1NetworkProfile(output.networkProfile, context)
|
|
6432
|
-
: undefined,
|
|
6226
|
+
networkProfile: output.networkProfile != null ? deserializeAws_json1_1NetworkProfile(output.networkProfile, context) : undefined,
|
|
6433
6227
|
parsingResultUrl: (0, smithy_client_1.expectString)(output.parsingResultUrl),
|
|
6434
6228
|
platform: (0, smithy_client_1.expectString)(output.platform),
|
|
6435
|
-
radios: output.radios
|
|
6436
|
-
? deserializeAws_json1_1Radios(output.radios, context)
|
|
6437
|
-
: undefined,
|
|
6229
|
+
radios: output.radios != null ? deserializeAws_json1_1Radios(output.radios, context) : undefined,
|
|
6438
6230
|
result: (0, smithy_client_1.expectString)(output.result),
|
|
6439
6231
|
resultCode: (0, smithy_client_1.expectString)(output.resultCode),
|
|
6440
6232
|
seed: (0, smithy_client_1.expectInt32)(output.seed),
|
|
6441
6233
|
skipAppResign: (0, smithy_client_1.expectBoolean)(output.skipAppResign),
|
|
6442
|
-
started: output.started
|
|
6443
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.started)))
|
|
6444
|
-
: undefined,
|
|
6234
|
+
started: output.started != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.started))) : undefined,
|
|
6445
6235
|
status: (0, smithy_client_1.expectString)(output.status),
|
|
6446
|
-
stopped: output.stopped
|
|
6447
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.stopped)))
|
|
6448
|
-
: undefined,
|
|
6236
|
+
stopped: output.stopped != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.stopped))) : undefined,
|
|
6449
6237
|
testSpecArn: (0, smithy_client_1.expectString)(output.testSpecArn),
|
|
6450
6238
|
totalJobs: (0, smithy_client_1.expectInt32)(output.totalJobs),
|
|
6451
6239
|
type: (0, smithy_client_1.expectString)(output.type),
|
|
@@ -6483,7 +6271,7 @@ const deserializeAws_json1_1Samples = (output, context) => {
|
|
|
6483
6271
|
};
|
|
6484
6272
|
const deserializeAws_json1_1ScheduleRunResult = (output, context) => {
|
|
6485
6273
|
return {
|
|
6486
|
-
run: output.run
|
|
6274
|
+
run: output.run != null ? deserializeAws_json1_1Run(output.run, context) : undefined,
|
|
6487
6275
|
};
|
|
6488
6276
|
};
|
|
6489
6277
|
const deserializeAws_json1_1SecurityGroupIds = (output, context) => {
|
|
@@ -6504,19 +6292,19 @@ const deserializeAws_json1_1ServiceAccountException = (output, context) => {
|
|
|
6504
6292
|
};
|
|
6505
6293
|
const deserializeAws_json1_1StopJobResult = (output, context) => {
|
|
6506
6294
|
return {
|
|
6507
|
-
job: output.job
|
|
6295
|
+
job: output.job != null ? deserializeAws_json1_1Job(output.job, context) : undefined,
|
|
6508
6296
|
};
|
|
6509
6297
|
};
|
|
6510
6298
|
const deserializeAws_json1_1StopRemoteAccessSessionResult = (output, context) => {
|
|
6511
6299
|
return {
|
|
6512
|
-
remoteAccessSession: output.remoteAccessSession
|
|
6300
|
+
remoteAccessSession: output.remoteAccessSession != null
|
|
6513
6301
|
? deserializeAws_json1_1RemoteAccessSession(output.remoteAccessSession, context)
|
|
6514
6302
|
: undefined,
|
|
6515
6303
|
};
|
|
6516
6304
|
};
|
|
6517
6305
|
const deserializeAws_json1_1StopRunResult = (output, context) => {
|
|
6518
6306
|
return {
|
|
6519
|
-
run: output.run
|
|
6307
|
+
run: output.run != null ? deserializeAws_json1_1Run(output.run, context) : undefined,
|
|
6520
6308
|
};
|
|
6521
6309
|
};
|
|
6522
6310
|
const deserializeAws_json1_1SubnetIds = (output, context) => {
|
|
@@ -6533,25 +6321,15 @@ const deserializeAws_json1_1SubnetIds = (output, context) => {
|
|
|
6533
6321
|
const deserializeAws_json1_1Suite = (output, context) => {
|
|
6534
6322
|
return {
|
|
6535
6323
|
arn: (0, smithy_client_1.expectString)(output.arn),
|
|
6536
|
-
counters: output.counters
|
|
6537
|
-
|
|
6538
|
-
|
|
6539
|
-
created: output.created !== undefined && output.created !== null
|
|
6540
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.created)))
|
|
6541
|
-
: undefined,
|
|
6542
|
-
deviceMinutes: output.deviceMinutes !== undefined && output.deviceMinutes !== null
|
|
6543
|
-
? deserializeAws_json1_1DeviceMinutes(output.deviceMinutes, context)
|
|
6544
|
-
: undefined,
|
|
6324
|
+
counters: output.counters != null ? deserializeAws_json1_1Counters(output.counters, context) : undefined,
|
|
6325
|
+
created: output.created != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.created))) : undefined,
|
|
6326
|
+
deviceMinutes: output.deviceMinutes != null ? deserializeAws_json1_1DeviceMinutes(output.deviceMinutes, context) : undefined,
|
|
6545
6327
|
message: (0, smithy_client_1.expectString)(output.message),
|
|
6546
6328
|
name: (0, smithy_client_1.expectString)(output.name),
|
|
6547
6329
|
result: (0, smithy_client_1.expectString)(output.result),
|
|
6548
|
-
started: output.started
|
|
6549
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.started)))
|
|
6550
|
-
: undefined,
|
|
6330
|
+
started: output.started != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.started))) : undefined,
|
|
6551
6331
|
status: (0, smithy_client_1.expectString)(output.status),
|
|
6552
|
-
stopped: output.stopped
|
|
6553
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.stopped)))
|
|
6554
|
-
: undefined,
|
|
6332
|
+
stopped: output.stopped != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.stopped))) : undefined,
|
|
6555
6333
|
type: (0, smithy_client_1.expectString)(output.type),
|
|
6556
6334
|
};
|
|
6557
6335
|
};
|
|
@@ -6601,39 +6379,25 @@ const deserializeAws_json1_1TagResourceResponse = (output, context) => {
|
|
|
6601
6379
|
const deserializeAws_json1_1Test = (output, context) => {
|
|
6602
6380
|
return {
|
|
6603
6381
|
arn: (0, smithy_client_1.expectString)(output.arn),
|
|
6604
|
-
counters: output.counters
|
|
6605
|
-
|
|
6606
|
-
|
|
6607
|
-
created: output.created !== undefined && output.created !== null
|
|
6608
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.created)))
|
|
6609
|
-
: undefined,
|
|
6610
|
-
deviceMinutes: output.deviceMinutes !== undefined && output.deviceMinutes !== null
|
|
6611
|
-
? deserializeAws_json1_1DeviceMinutes(output.deviceMinutes, context)
|
|
6612
|
-
: undefined,
|
|
6382
|
+
counters: output.counters != null ? deserializeAws_json1_1Counters(output.counters, context) : undefined,
|
|
6383
|
+
created: output.created != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.created))) : undefined,
|
|
6384
|
+
deviceMinutes: output.deviceMinutes != null ? deserializeAws_json1_1DeviceMinutes(output.deviceMinutes, context) : undefined,
|
|
6613
6385
|
message: (0, smithy_client_1.expectString)(output.message),
|
|
6614
6386
|
name: (0, smithy_client_1.expectString)(output.name),
|
|
6615
6387
|
result: (0, smithy_client_1.expectString)(output.result),
|
|
6616
|
-
started: output.started
|
|
6617
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.started)))
|
|
6618
|
-
: undefined,
|
|
6388
|
+
started: output.started != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.started))) : undefined,
|
|
6619
6389
|
status: (0, smithy_client_1.expectString)(output.status),
|
|
6620
|
-
stopped: output.stopped
|
|
6621
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.stopped)))
|
|
6622
|
-
: undefined,
|
|
6390
|
+
stopped: output.stopped != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.stopped))) : undefined,
|
|
6623
6391
|
type: (0, smithy_client_1.expectString)(output.type),
|
|
6624
6392
|
};
|
|
6625
6393
|
};
|
|
6626
6394
|
const deserializeAws_json1_1TestGridProject = (output, context) => {
|
|
6627
6395
|
return {
|
|
6628
6396
|
arn: (0, smithy_client_1.expectString)(output.arn),
|
|
6629
|
-
created: output.created
|
|
6630
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.created)))
|
|
6631
|
-
: undefined,
|
|
6397
|
+
created: output.created != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.created))) : undefined,
|
|
6632
6398
|
description: (0, smithy_client_1.expectString)(output.description),
|
|
6633
6399
|
name: (0, smithy_client_1.expectString)(output.name),
|
|
6634
|
-
vpcConfig: output.vpcConfig
|
|
6635
|
-
? deserializeAws_json1_1TestGridVpcConfig(output.vpcConfig, context)
|
|
6636
|
-
: undefined,
|
|
6400
|
+
vpcConfig: output.vpcConfig != null ? deserializeAws_json1_1TestGridVpcConfig(output.vpcConfig, context) : undefined,
|
|
6637
6401
|
};
|
|
6638
6402
|
};
|
|
6639
6403
|
const deserializeAws_json1_1TestGridProjects = (output, context) => {
|
|
@@ -6651,12 +6415,8 @@ const deserializeAws_json1_1TestGridSession = (output, context) => {
|
|
|
6651
6415
|
return {
|
|
6652
6416
|
arn: (0, smithy_client_1.expectString)(output.arn),
|
|
6653
6417
|
billingMinutes: (0, smithy_client_1.limitedParseDouble)(output.billingMinutes),
|
|
6654
|
-
created: output.created
|
|
6655
|
-
|
|
6656
|
-
: undefined,
|
|
6657
|
-
ended: output.ended !== undefined && output.ended !== null
|
|
6658
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.ended)))
|
|
6659
|
-
: undefined,
|
|
6418
|
+
created: output.created != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.created))) : undefined,
|
|
6419
|
+
ended: output.ended != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.ended))) : undefined,
|
|
6660
6420
|
seleniumProperties: (0, smithy_client_1.expectString)(output.seleniumProperties),
|
|
6661
6421
|
status: (0, smithy_client_1.expectString)(output.status),
|
|
6662
6422
|
};
|
|
@@ -6666,9 +6426,7 @@ const deserializeAws_json1_1TestGridSessionAction = (output, context) => {
|
|
|
6666
6426
|
action: (0, smithy_client_1.expectString)(output.action),
|
|
6667
6427
|
duration: (0, smithy_client_1.expectLong)(output.duration),
|
|
6668
6428
|
requestMethod: (0, smithy_client_1.expectString)(output.requestMethod),
|
|
6669
|
-
started: output.started
|
|
6670
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.started)))
|
|
6671
|
-
: undefined,
|
|
6429
|
+
started: output.started != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.started))) : undefined,
|
|
6672
6430
|
statusCode: (0, smithy_client_1.expectString)(output.statusCode),
|
|
6673
6431
|
};
|
|
6674
6432
|
};
|
|
@@ -6714,12 +6472,10 @@ const deserializeAws_json1_1TestGridSessions = (output, context) => {
|
|
|
6714
6472
|
};
|
|
6715
6473
|
const deserializeAws_json1_1TestGridVpcConfig = (output, context) => {
|
|
6716
6474
|
return {
|
|
6717
|
-
securityGroupIds: output.securityGroupIds
|
|
6475
|
+
securityGroupIds: output.securityGroupIds != null
|
|
6718
6476
|
? deserializeAws_json1_1SecurityGroupIds(output.securityGroupIds, context)
|
|
6719
6477
|
: undefined,
|
|
6720
|
-
subnetIds: output.subnetIds
|
|
6721
|
-
? deserializeAws_json1_1SubnetIds(output.subnetIds, context)
|
|
6722
|
-
: undefined,
|
|
6478
|
+
subnetIds: output.subnetIds != null ? deserializeAws_json1_1SubnetIds(output.subnetIds, context) : undefined,
|
|
6723
6479
|
vpcId: (0, smithy_client_1.expectString)(output.vpcId),
|
|
6724
6480
|
};
|
|
6725
6481
|
};
|
|
@@ -6749,9 +6505,7 @@ const deserializeAws_json1_1TrialMinutes = (output, context) => {
|
|
|
6749
6505
|
const deserializeAws_json1_1UniqueProblem = (output, context) => {
|
|
6750
6506
|
return {
|
|
6751
6507
|
message: (0, smithy_client_1.expectString)(output.message),
|
|
6752
|
-
problems: output.problems
|
|
6753
|
-
? deserializeAws_json1_1Problems(output.problems, context)
|
|
6754
|
-
: undefined,
|
|
6508
|
+
problems: output.problems != null ? deserializeAws_json1_1Problems(output.problems, context) : undefined,
|
|
6755
6509
|
};
|
|
6756
6510
|
};
|
|
6757
6511
|
const deserializeAws_json1_1UniqueProblems = (output, context) => {
|
|
@@ -6781,56 +6535,46 @@ const deserializeAws_json1_1UntagResourceResponse = (output, context) => {
|
|
|
6781
6535
|
};
|
|
6782
6536
|
const deserializeAws_json1_1UpdateDeviceInstanceResult = (output, context) => {
|
|
6783
6537
|
return {
|
|
6784
|
-
deviceInstance: output.deviceInstance
|
|
6785
|
-
? deserializeAws_json1_1DeviceInstance(output.deviceInstance, context)
|
|
6786
|
-
: undefined,
|
|
6538
|
+
deviceInstance: output.deviceInstance != null ? deserializeAws_json1_1DeviceInstance(output.deviceInstance, context) : undefined,
|
|
6787
6539
|
};
|
|
6788
6540
|
};
|
|
6789
6541
|
const deserializeAws_json1_1UpdateDevicePoolResult = (output, context) => {
|
|
6790
6542
|
return {
|
|
6791
|
-
devicePool: output.devicePool
|
|
6792
|
-
? deserializeAws_json1_1DevicePool(output.devicePool, context)
|
|
6793
|
-
: undefined,
|
|
6543
|
+
devicePool: output.devicePool != null ? deserializeAws_json1_1DevicePool(output.devicePool, context) : undefined,
|
|
6794
6544
|
};
|
|
6795
6545
|
};
|
|
6796
6546
|
const deserializeAws_json1_1UpdateInstanceProfileResult = (output, context) => {
|
|
6797
6547
|
return {
|
|
6798
|
-
instanceProfile: output.instanceProfile
|
|
6548
|
+
instanceProfile: output.instanceProfile != null
|
|
6799
6549
|
? deserializeAws_json1_1InstanceProfile(output.instanceProfile, context)
|
|
6800
6550
|
: undefined,
|
|
6801
6551
|
};
|
|
6802
6552
|
};
|
|
6803
6553
|
const deserializeAws_json1_1UpdateNetworkProfileResult = (output, context) => {
|
|
6804
6554
|
return {
|
|
6805
|
-
networkProfile: output.networkProfile
|
|
6806
|
-
? deserializeAws_json1_1NetworkProfile(output.networkProfile, context)
|
|
6807
|
-
: undefined,
|
|
6555
|
+
networkProfile: output.networkProfile != null ? deserializeAws_json1_1NetworkProfile(output.networkProfile, context) : undefined,
|
|
6808
6556
|
};
|
|
6809
6557
|
};
|
|
6810
6558
|
const deserializeAws_json1_1UpdateProjectResult = (output, context) => {
|
|
6811
6559
|
return {
|
|
6812
|
-
project: output.project
|
|
6813
|
-
? deserializeAws_json1_1Project(output.project, context)
|
|
6814
|
-
: undefined,
|
|
6560
|
+
project: output.project != null ? deserializeAws_json1_1Project(output.project, context) : undefined,
|
|
6815
6561
|
};
|
|
6816
6562
|
};
|
|
6817
6563
|
const deserializeAws_json1_1UpdateTestGridProjectResult = (output, context) => {
|
|
6818
6564
|
return {
|
|
6819
|
-
testGridProject: output.testGridProject
|
|
6565
|
+
testGridProject: output.testGridProject != null
|
|
6820
6566
|
? deserializeAws_json1_1TestGridProject(output.testGridProject, context)
|
|
6821
6567
|
: undefined,
|
|
6822
6568
|
};
|
|
6823
6569
|
};
|
|
6824
6570
|
const deserializeAws_json1_1UpdateUploadResult = (output, context) => {
|
|
6825
6571
|
return {
|
|
6826
|
-
upload: output.upload
|
|
6827
|
-
? deserializeAws_json1_1Upload(output.upload, context)
|
|
6828
|
-
: undefined,
|
|
6572
|
+
upload: output.upload != null ? deserializeAws_json1_1Upload(output.upload, context) : undefined,
|
|
6829
6573
|
};
|
|
6830
6574
|
};
|
|
6831
6575
|
const deserializeAws_json1_1UpdateVPCEConfigurationResult = (output, context) => {
|
|
6832
6576
|
return {
|
|
6833
|
-
vpceConfiguration: output.vpceConfiguration
|
|
6577
|
+
vpceConfiguration: output.vpceConfiguration != null
|
|
6834
6578
|
? deserializeAws_json1_1VPCEConfiguration(output.vpceConfiguration, context)
|
|
6835
6579
|
: undefined,
|
|
6836
6580
|
};
|
|
@@ -6840,9 +6584,7 @@ const deserializeAws_json1_1Upload = (output, context) => {
|
|
|
6840
6584
|
arn: (0, smithy_client_1.expectString)(output.arn),
|
|
6841
6585
|
category: (0, smithy_client_1.expectString)(output.category),
|
|
6842
6586
|
contentType: (0, smithy_client_1.expectString)(output.contentType),
|
|
6843
|
-
created: output.created
|
|
6844
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.created)))
|
|
6845
|
-
: undefined,
|
|
6587
|
+
created: output.created != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.created))) : undefined,
|
|
6846
6588
|
message: (0, smithy_client_1.expectString)(output.message),
|
|
6847
6589
|
metadata: (0, smithy_client_1.expectString)(output.metadata),
|
|
6848
6590
|
name: (0, smithy_client_1.expectString)(output.name),
|
|
@@ -6926,6 +6668,9 @@ const loadRestJsonErrorCode = (output, data) => {
|
|
|
6926
6668
|
const findKey = (object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase());
|
|
6927
6669
|
const sanitizeErrorCode = (rawValue) => {
|
|
6928
6670
|
let cleanValue = rawValue;
|
|
6671
|
+
if (typeof cleanValue === "number") {
|
|
6672
|
+
cleanValue = cleanValue.toString();
|
|
6673
|
+
}
|
|
6929
6674
|
if (cleanValue.indexOf(":") >= 0) {
|
|
6930
6675
|
cleanValue = cleanValue.split(":")[0];
|
|
6931
6676
|
}
|