@aws-sdk/client-elasticache 3.201.0 → 3.204.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/dist-cjs/protocols/Aws_query.js +216 -0
- package/dist-cjs/runtimeConfig.browser.js +0 -3
- package/dist-cjs/runtimeConfig.js +0 -3
- package/dist-cjs/runtimeConfig.shared.js +3 -0
- package/dist-es/protocols/Aws_query.js +216 -0
- package/dist-es/runtimeConfig.browser.js +0 -3
- package/dist-es/runtimeConfig.js +0 -3
- package/dist-es/runtimeConfig.shared.js +3 -0
- package/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/runtimeConfig.d.ts +2 -2
- package/dist-types/runtimeConfig.shared.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -0
- package/package.json +6 -5
- package/CHANGELOG.md +0 -3275
|
@@ -4405,6 +4405,9 @@ const serializeAws_queryAddTagsToResourceMessage = (input, context) => {
|
|
|
4405
4405
|
}
|
|
4406
4406
|
if (input.Tags != null) {
|
|
4407
4407
|
const memberEntries = serializeAws_queryTagList(input.Tags, context);
|
|
4408
|
+
if (input.Tags?.length === 0) {
|
|
4409
|
+
entries.Tags = [];
|
|
4410
|
+
}
|
|
4408
4411
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4409
4412
|
const loc = `Tags.${key}`;
|
|
4410
4413
|
entries[loc] = value;
|
|
@@ -4441,6 +4444,9 @@ const serializeAws_queryBatchApplyUpdateActionMessage = (input, context) => {
|
|
|
4441
4444
|
const entries = {};
|
|
4442
4445
|
if (input.ReplicationGroupIds != null) {
|
|
4443
4446
|
const memberEntries = serializeAws_queryReplicationGroupIdList(input.ReplicationGroupIds, context);
|
|
4447
|
+
if (input.ReplicationGroupIds?.length === 0) {
|
|
4448
|
+
entries.ReplicationGroupIds = [];
|
|
4449
|
+
}
|
|
4444
4450
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4445
4451
|
const loc = `ReplicationGroupIds.${key}`;
|
|
4446
4452
|
entries[loc] = value;
|
|
@@ -4448,6 +4454,9 @@ const serializeAws_queryBatchApplyUpdateActionMessage = (input, context) => {
|
|
|
4448
4454
|
}
|
|
4449
4455
|
if (input.CacheClusterIds != null) {
|
|
4450
4456
|
const memberEntries = serializeAws_queryCacheClusterIdList(input.CacheClusterIds, context);
|
|
4457
|
+
if (input.CacheClusterIds?.length === 0) {
|
|
4458
|
+
entries.CacheClusterIds = [];
|
|
4459
|
+
}
|
|
4451
4460
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4452
4461
|
const loc = `CacheClusterIds.${key}`;
|
|
4453
4462
|
entries[loc] = value;
|
|
@@ -4462,6 +4471,9 @@ const serializeAws_queryBatchStopUpdateActionMessage = (input, context) => {
|
|
|
4462
4471
|
const entries = {};
|
|
4463
4472
|
if (input.ReplicationGroupIds != null) {
|
|
4464
4473
|
const memberEntries = serializeAws_queryReplicationGroupIdList(input.ReplicationGroupIds, context);
|
|
4474
|
+
if (input.ReplicationGroupIds?.length === 0) {
|
|
4475
|
+
entries.ReplicationGroupIds = [];
|
|
4476
|
+
}
|
|
4465
4477
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4466
4478
|
const loc = `ReplicationGroupIds.${key}`;
|
|
4467
4479
|
entries[loc] = value;
|
|
@@ -4469,6 +4481,9 @@ const serializeAws_queryBatchStopUpdateActionMessage = (input, context) => {
|
|
|
4469
4481
|
}
|
|
4470
4482
|
if (input.CacheClusterIds != null) {
|
|
4471
4483
|
const memberEntries = serializeAws_queryCacheClusterIdList(input.CacheClusterIds, context);
|
|
4484
|
+
if (input.CacheClusterIds?.length === 0) {
|
|
4485
|
+
entries.CacheClusterIds = [];
|
|
4486
|
+
}
|
|
4472
4487
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4473
4488
|
const loc = `CacheClusterIds.${key}`;
|
|
4474
4489
|
entries[loc] = value;
|
|
@@ -4542,6 +4557,9 @@ const serializeAws_queryConfigureShard = (input, context) => {
|
|
|
4542
4557
|
}
|
|
4543
4558
|
if (input.PreferredAvailabilityZones != null) {
|
|
4544
4559
|
const memberEntries = serializeAws_queryPreferredAvailabilityZoneList(input.PreferredAvailabilityZones, context);
|
|
4560
|
+
if (input.PreferredAvailabilityZones?.length === 0) {
|
|
4561
|
+
entries.PreferredAvailabilityZones = [];
|
|
4562
|
+
}
|
|
4545
4563
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4546
4564
|
const loc = `PreferredAvailabilityZones.${key}`;
|
|
4547
4565
|
entries[loc] = value;
|
|
@@ -4549,6 +4567,9 @@ const serializeAws_queryConfigureShard = (input, context) => {
|
|
|
4549
4567
|
}
|
|
4550
4568
|
if (input.PreferredOutpostArns != null) {
|
|
4551
4569
|
const memberEntries = serializeAws_queryPreferredOutpostArnList(input.PreferredOutpostArns, context);
|
|
4570
|
+
if (input.PreferredOutpostArns?.length === 0) {
|
|
4571
|
+
entries.PreferredOutpostArns = [];
|
|
4572
|
+
}
|
|
4552
4573
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4553
4574
|
const loc = `PreferredOutpostArns.${key}`;
|
|
4554
4575
|
entries[loc] = value;
|
|
@@ -4572,6 +4593,9 @@ const serializeAws_queryCopySnapshotMessage = (input, context) => {
|
|
|
4572
4593
|
}
|
|
4573
4594
|
if (input.Tags != null) {
|
|
4574
4595
|
const memberEntries = serializeAws_queryTagList(input.Tags, context);
|
|
4596
|
+
if (input.Tags?.length === 0) {
|
|
4597
|
+
entries.Tags = [];
|
|
4598
|
+
}
|
|
4575
4599
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4576
4600
|
const loc = `Tags.${key}`;
|
|
4577
4601
|
entries[loc] = value;
|
|
@@ -4595,6 +4619,9 @@ const serializeAws_queryCreateCacheClusterMessage = (input, context) => {
|
|
|
4595
4619
|
}
|
|
4596
4620
|
if (input.PreferredAvailabilityZones != null) {
|
|
4597
4621
|
const memberEntries = serializeAws_queryPreferredAvailabilityZoneList(input.PreferredAvailabilityZones, context);
|
|
4622
|
+
if (input.PreferredAvailabilityZones?.length === 0) {
|
|
4623
|
+
entries.PreferredAvailabilityZones = [];
|
|
4624
|
+
}
|
|
4598
4625
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4599
4626
|
const loc = `PreferredAvailabilityZones.${key}`;
|
|
4600
4627
|
entries[loc] = value;
|
|
@@ -4620,6 +4647,9 @@ const serializeAws_queryCreateCacheClusterMessage = (input, context) => {
|
|
|
4620
4647
|
}
|
|
4621
4648
|
if (input.CacheSecurityGroupNames != null) {
|
|
4622
4649
|
const memberEntries = serializeAws_queryCacheSecurityGroupNameList(input.CacheSecurityGroupNames, context);
|
|
4650
|
+
if (input.CacheSecurityGroupNames?.length === 0) {
|
|
4651
|
+
entries.CacheSecurityGroupNames = [];
|
|
4652
|
+
}
|
|
4623
4653
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4624
4654
|
const loc = `CacheSecurityGroupNames.${key}`;
|
|
4625
4655
|
entries[loc] = value;
|
|
@@ -4627,6 +4657,9 @@ const serializeAws_queryCreateCacheClusterMessage = (input, context) => {
|
|
|
4627
4657
|
}
|
|
4628
4658
|
if (input.SecurityGroupIds != null) {
|
|
4629
4659
|
const memberEntries = serializeAws_querySecurityGroupIdsList(input.SecurityGroupIds, context);
|
|
4660
|
+
if (input.SecurityGroupIds?.length === 0) {
|
|
4661
|
+
entries.SecurityGroupIds = [];
|
|
4662
|
+
}
|
|
4630
4663
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4631
4664
|
const loc = `SecurityGroupIds.${key}`;
|
|
4632
4665
|
entries[loc] = value;
|
|
@@ -4634,6 +4667,9 @@ const serializeAws_queryCreateCacheClusterMessage = (input, context) => {
|
|
|
4634
4667
|
}
|
|
4635
4668
|
if (input.Tags != null) {
|
|
4636
4669
|
const memberEntries = serializeAws_queryTagList(input.Tags, context);
|
|
4670
|
+
if (input.Tags?.length === 0) {
|
|
4671
|
+
entries.Tags = [];
|
|
4672
|
+
}
|
|
4637
4673
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4638
4674
|
const loc = `Tags.${key}`;
|
|
4639
4675
|
entries[loc] = value;
|
|
@@ -4641,6 +4677,9 @@ const serializeAws_queryCreateCacheClusterMessage = (input, context) => {
|
|
|
4641
4677
|
}
|
|
4642
4678
|
if (input.SnapshotArns != null) {
|
|
4643
4679
|
const memberEntries = serializeAws_querySnapshotArnsList(input.SnapshotArns, context);
|
|
4680
|
+
if (input.SnapshotArns?.length === 0) {
|
|
4681
|
+
entries.SnapshotArns = [];
|
|
4682
|
+
}
|
|
4644
4683
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4645
4684
|
const loc = `SnapshotArns.${key}`;
|
|
4646
4685
|
entries[loc] = value;
|
|
@@ -4678,6 +4717,9 @@ const serializeAws_queryCreateCacheClusterMessage = (input, context) => {
|
|
|
4678
4717
|
}
|
|
4679
4718
|
if (input.PreferredOutpostArns != null) {
|
|
4680
4719
|
const memberEntries = serializeAws_queryPreferredOutpostArnList(input.PreferredOutpostArns, context);
|
|
4720
|
+
if (input.PreferredOutpostArns?.length === 0) {
|
|
4721
|
+
entries.PreferredOutpostArns = [];
|
|
4722
|
+
}
|
|
4681
4723
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4682
4724
|
const loc = `PreferredOutpostArns.${key}`;
|
|
4683
4725
|
entries[loc] = value;
|
|
@@ -4685,6 +4727,9 @@ const serializeAws_queryCreateCacheClusterMessage = (input, context) => {
|
|
|
4685
4727
|
}
|
|
4686
4728
|
if (input.LogDeliveryConfigurations != null) {
|
|
4687
4729
|
const memberEntries = serializeAws_queryLogDeliveryConfigurationRequestList(input.LogDeliveryConfigurations, context);
|
|
4730
|
+
if (input.LogDeliveryConfigurations?.length === 0) {
|
|
4731
|
+
entries.LogDeliveryConfigurations = [];
|
|
4732
|
+
}
|
|
4688
4733
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4689
4734
|
const loc = `LogDeliveryConfigurations.${key}`;
|
|
4690
4735
|
entries[loc] = value;
|
|
@@ -4708,6 +4753,9 @@ const serializeAws_queryCreateCacheParameterGroupMessage = (input, context) => {
|
|
|
4708
4753
|
}
|
|
4709
4754
|
if (input.Tags != null) {
|
|
4710
4755
|
const memberEntries = serializeAws_queryTagList(input.Tags, context);
|
|
4756
|
+
if (input.Tags?.length === 0) {
|
|
4757
|
+
entries.Tags = [];
|
|
4758
|
+
}
|
|
4711
4759
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4712
4760
|
const loc = `Tags.${key}`;
|
|
4713
4761
|
entries[loc] = value;
|
|
@@ -4725,6 +4773,9 @@ const serializeAws_queryCreateCacheSecurityGroupMessage = (input, context) => {
|
|
|
4725
4773
|
}
|
|
4726
4774
|
if (input.Tags != null) {
|
|
4727
4775
|
const memberEntries = serializeAws_queryTagList(input.Tags, context);
|
|
4776
|
+
if (input.Tags?.length === 0) {
|
|
4777
|
+
entries.Tags = [];
|
|
4778
|
+
}
|
|
4728
4779
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4729
4780
|
const loc = `Tags.${key}`;
|
|
4730
4781
|
entries[loc] = value;
|
|
@@ -4742,6 +4793,9 @@ const serializeAws_queryCreateCacheSubnetGroupMessage = (input, context) => {
|
|
|
4742
4793
|
}
|
|
4743
4794
|
if (input.SubnetIds != null) {
|
|
4744
4795
|
const memberEntries = serializeAws_querySubnetIdentifierList(input.SubnetIds, context);
|
|
4796
|
+
if (input.SubnetIds?.length === 0) {
|
|
4797
|
+
entries.SubnetIds = [];
|
|
4798
|
+
}
|
|
4745
4799
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4746
4800
|
const loc = `SubnetIds.${key}`;
|
|
4747
4801
|
entries[loc] = value;
|
|
@@ -4749,6 +4803,9 @@ const serializeAws_queryCreateCacheSubnetGroupMessage = (input, context) => {
|
|
|
4749
4803
|
}
|
|
4750
4804
|
if (input.Tags != null) {
|
|
4751
4805
|
const memberEntries = serializeAws_queryTagList(input.Tags, context);
|
|
4806
|
+
if (input.Tags?.length === 0) {
|
|
4807
|
+
entries.Tags = [];
|
|
4808
|
+
}
|
|
4752
4809
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4753
4810
|
const loc = `Tags.${key}`;
|
|
4754
4811
|
entries[loc] = value;
|
|
@@ -4794,6 +4851,9 @@ const serializeAws_queryCreateReplicationGroupMessage = (input, context) => {
|
|
|
4794
4851
|
}
|
|
4795
4852
|
if (input.PreferredCacheClusterAZs != null) {
|
|
4796
4853
|
const memberEntries = serializeAws_queryAvailabilityZonesList(input.PreferredCacheClusterAZs, context);
|
|
4854
|
+
if (input.PreferredCacheClusterAZs?.length === 0) {
|
|
4855
|
+
entries.PreferredCacheClusterAZs = [];
|
|
4856
|
+
}
|
|
4797
4857
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4798
4858
|
const loc = `PreferredCacheClusterAZs.${key}`;
|
|
4799
4859
|
entries[loc] = value;
|
|
@@ -4807,6 +4867,9 @@ const serializeAws_queryCreateReplicationGroupMessage = (input, context) => {
|
|
|
4807
4867
|
}
|
|
4808
4868
|
if (input.NodeGroupConfiguration != null) {
|
|
4809
4869
|
const memberEntries = serializeAws_queryNodeGroupConfigurationList(input.NodeGroupConfiguration, context);
|
|
4870
|
+
if (input.NodeGroupConfiguration?.length === 0) {
|
|
4871
|
+
entries.NodeGroupConfiguration = [];
|
|
4872
|
+
}
|
|
4810
4873
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4811
4874
|
const loc = `NodeGroupConfiguration.${key}`;
|
|
4812
4875
|
entries[loc] = value;
|
|
@@ -4829,6 +4892,9 @@ const serializeAws_queryCreateReplicationGroupMessage = (input, context) => {
|
|
|
4829
4892
|
}
|
|
4830
4893
|
if (input.CacheSecurityGroupNames != null) {
|
|
4831
4894
|
const memberEntries = serializeAws_queryCacheSecurityGroupNameList(input.CacheSecurityGroupNames, context);
|
|
4895
|
+
if (input.CacheSecurityGroupNames?.length === 0) {
|
|
4896
|
+
entries.CacheSecurityGroupNames = [];
|
|
4897
|
+
}
|
|
4832
4898
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4833
4899
|
const loc = `CacheSecurityGroupNames.${key}`;
|
|
4834
4900
|
entries[loc] = value;
|
|
@@ -4836,6 +4902,9 @@ const serializeAws_queryCreateReplicationGroupMessage = (input, context) => {
|
|
|
4836
4902
|
}
|
|
4837
4903
|
if (input.SecurityGroupIds != null) {
|
|
4838
4904
|
const memberEntries = serializeAws_querySecurityGroupIdsList(input.SecurityGroupIds, context);
|
|
4905
|
+
if (input.SecurityGroupIds?.length === 0) {
|
|
4906
|
+
entries.SecurityGroupIds = [];
|
|
4907
|
+
}
|
|
4839
4908
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4840
4909
|
const loc = `SecurityGroupIds.${key}`;
|
|
4841
4910
|
entries[loc] = value;
|
|
@@ -4843,6 +4912,9 @@ const serializeAws_queryCreateReplicationGroupMessage = (input, context) => {
|
|
|
4843
4912
|
}
|
|
4844
4913
|
if (input.Tags != null) {
|
|
4845
4914
|
const memberEntries = serializeAws_queryTagList(input.Tags, context);
|
|
4915
|
+
if (input.Tags?.length === 0) {
|
|
4916
|
+
entries.Tags = [];
|
|
4917
|
+
}
|
|
4846
4918
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4847
4919
|
const loc = `Tags.${key}`;
|
|
4848
4920
|
entries[loc] = value;
|
|
@@ -4850,6 +4922,9 @@ const serializeAws_queryCreateReplicationGroupMessage = (input, context) => {
|
|
|
4850
4922
|
}
|
|
4851
4923
|
if (input.SnapshotArns != null) {
|
|
4852
4924
|
const memberEntries = serializeAws_querySnapshotArnsList(input.SnapshotArns, context);
|
|
4925
|
+
if (input.SnapshotArns?.length === 0) {
|
|
4926
|
+
entries.SnapshotArns = [];
|
|
4927
|
+
}
|
|
4853
4928
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4854
4929
|
const loc = `SnapshotArns.${key}`;
|
|
4855
4930
|
entries[loc] = value;
|
|
@@ -4890,6 +4965,9 @@ const serializeAws_queryCreateReplicationGroupMessage = (input, context) => {
|
|
|
4890
4965
|
}
|
|
4891
4966
|
if (input.UserGroupIds != null) {
|
|
4892
4967
|
const memberEntries = serializeAws_queryUserGroupIdListInput(input.UserGroupIds, context);
|
|
4968
|
+
if (input.UserGroupIds?.length === 0) {
|
|
4969
|
+
entries.UserGroupIds = [];
|
|
4970
|
+
}
|
|
4893
4971
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4894
4972
|
const loc = `UserGroupIds.${key}`;
|
|
4895
4973
|
entries[loc] = value;
|
|
@@ -4897,6 +4975,9 @@ const serializeAws_queryCreateReplicationGroupMessage = (input, context) => {
|
|
|
4897
4975
|
}
|
|
4898
4976
|
if (input.LogDeliveryConfigurations != null) {
|
|
4899
4977
|
const memberEntries = serializeAws_queryLogDeliveryConfigurationRequestList(input.LogDeliveryConfigurations, context);
|
|
4978
|
+
if (input.LogDeliveryConfigurations?.length === 0) {
|
|
4979
|
+
entries.LogDeliveryConfigurations = [];
|
|
4980
|
+
}
|
|
4900
4981
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4901
4982
|
const loc = `LogDeliveryConfigurations.${key}`;
|
|
4902
4983
|
entries[loc] = value;
|
|
@@ -4923,6 +5004,9 @@ const serializeAws_queryCreateSnapshotMessage = (input, context) => {
|
|
|
4923
5004
|
}
|
|
4924
5005
|
if (input.Tags != null) {
|
|
4925
5006
|
const memberEntries = serializeAws_queryTagList(input.Tags, context);
|
|
5007
|
+
if (input.Tags?.length === 0) {
|
|
5008
|
+
entries.Tags = [];
|
|
5009
|
+
}
|
|
4926
5010
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4927
5011
|
const loc = `Tags.${key}`;
|
|
4928
5012
|
entries[loc] = value;
|
|
@@ -4940,6 +5024,9 @@ const serializeAws_queryCreateUserGroupMessage = (input, context) => {
|
|
|
4940
5024
|
}
|
|
4941
5025
|
if (input.UserIds != null) {
|
|
4942
5026
|
const memberEntries = serializeAws_queryUserIdListInput(input.UserIds, context);
|
|
5027
|
+
if (input.UserIds?.length === 0) {
|
|
5028
|
+
entries.UserIds = [];
|
|
5029
|
+
}
|
|
4943
5030
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4944
5031
|
const loc = `UserIds.${key}`;
|
|
4945
5032
|
entries[loc] = value;
|
|
@@ -4947,6 +5034,9 @@ const serializeAws_queryCreateUserGroupMessage = (input, context) => {
|
|
|
4947
5034
|
}
|
|
4948
5035
|
if (input.Tags != null) {
|
|
4949
5036
|
const memberEntries = serializeAws_queryTagList(input.Tags, context);
|
|
5037
|
+
if (input.Tags?.length === 0) {
|
|
5038
|
+
entries.Tags = [];
|
|
5039
|
+
}
|
|
4950
5040
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4951
5041
|
const loc = `Tags.${key}`;
|
|
4952
5042
|
entries[loc] = value;
|
|
@@ -4967,6 +5057,9 @@ const serializeAws_queryCreateUserMessage = (input, context) => {
|
|
|
4967
5057
|
}
|
|
4968
5058
|
if (input.Passwords != null) {
|
|
4969
5059
|
const memberEntries = serializeAws_queryPasswordListInput(input.Passwords, context);
|
|
5060
|
+
if (input.Passwords?.length === 0) {
|
|
5061
|
+
entries.Passwords = [];
|
|
5062
|
+
}
|
|
4970
5063
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4971
5064
|
const loc = `Passwords.${key}`;
|
|
4972
5065
|
entries[loc] = value;
|
|
@@ -4980,6 +5073,9 @@ const serializeAws_queryCreateUserMessage = (input, context) => {
|
|
|
4980
5073
|
}
|
|
4981
5074
|
if (input.Tags != null) {
|
|
4982
5075
|
const memberEntries = serializeAws_queryTagList(input.Tags, context);
|
|
5076
|
+
if (input.Tags?.length === 0) {
|
|
5077
|
+
entries.Tags = [];
|
|
5078
|
+
}
|
|
4983
5079
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4984
5080
|
const loc = `Tags.${key}`;
|
|
4985
5081
|
entries[loc] = value;
|
|
@@ -5022,6 +5118,9 @@ const serializeAws_queryDecreaseNodeGroupsInGlobalReplicationGroupMessage = (inp
|
|
|
5022
5118
|
}
|
|
5023
5119
|
if (input.GlobalNodeGroupsToRemove != null) {
|
|
5024
5120
|
const memberEntries = serializeAws_queryGlobalNodeGroupIdList(input.GlobalNodeGroupsToRemove, context);
|
|
5121
|
+
if (input.GlobalNodeGroupsToRemove?.length === 0) {
|
|
5122
|
+
entries.GlobalNodeGroupsToRemove = [];
|
|
5123
|
+
}
|
|
5025
5124
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5026
5125
|
const loc = `GlobalNodeGroupsToRemove.${key}`;
|
|
5027
5126
|
entries[loc] = value;
|
|
@@ -5029,6 +5128,9 @@ const serializeAws_queryDecreaseNodeGroupsInGlobalReplicationGroupMessage = (inp
|
|
|
5029
5128
|
}
|
|
5030
5129
|
if (input.GlobalNodeGroupsToRetain != null) {
|
|
5031
5130
|
const memberEntries = serializeAws_queryGlobalNodeGroupIdList(input.GlobalNodeGroupsToRetain, context);
|
|
5131
|
+
if (input.GlobalNodeGroupsToRetain?.length === 0) {
|
|
5132
|
+
entries.GlobalNodeGroupsToRetain = [];
|
|
5133
|
+
}
|
|
5032
5134
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5033
5135
|
const loc = `GlobalNodeGroupsToRetain.${key}`;
|
|
5034
5136
|
entries[loc] = value;
|
|
@@ -5049,6 +5151,9 @@ const serializeAws_queryDecreaseReplicaCountMessage = (input, context) => {
|
|
|
5049
5151
|
}
|
|
5050
5152
|
if (input.ReplicaConfiguration != null) {
|
|
5051
5153
|
const memberEntries = serializeAws_queryReplicaConfigurationList(input.ReplicaConfiguration, context);
|
|
5154
|
+
if (input.ReplicaConfiguration?.length === 0) {
|
|
5155
|
+
entries.ReplicaConfiguration = [];
|
|
5156
|
+
}
|
|
5052
5157
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5053
5158
|
const loc = `ReplicaConfiguration.${key}`;
|
|
5054
5159
|
entries[loc] = value;
|
|
@@ -5056,6 +5161,9 @@ const serializeAws_queryDecreaseReplicaCountMessage = (input, context) => {
|
|
|
5056
5161
|
}
|
|
5057
5162
|
if (input.ReplicasToRemove != null) {
|
|
5058
5163
|
const memberEntries = serializeAws_queryRemoveReplicasList(input.ReplicasToRemove, context);
|
|
5164
|
+
if (input.ReplicasToRemove?.length === 0) {
|
|
5165
|
+
entries.ReplicasToRemove = [];
|
|
5166
|
+
}
|
|
5059
5167
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5060
5168
|
const loc = `ReplicasToRemove.${key}`;
|
|
5061
5169
|
entries[loc] = value;
|
|
@@ -5364,6 +5472,9 @@ const serializeAws_queryDescribeServiceUpdatesMessage = (input, context) => {
|
|
|
5364
5472
|
}
|
|
5365
5473
|
if (input.ServiceUpdateStatus != null) {
|
|
5366
5474
|
const memberEntries = serializeAws_queryServiceUpdateStatusList(input.ServiceUpdateStatus, context);
|
|
5475
|
+
if (input.ServiceUpdateStatus?.length === 0) {
|
|
5476
|
+
entries.ServiceUpdateStatus = [];
|
|
5477
|
+
}
|
|
5367
5478
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5368
5479
|
const loc = `ServiceUpdateStatus.${key}`;
|
|
5369
5480
|
entries[loc] = value;
|
|
@@ -5409,6 +5520,9 @@ const serializeAws_queryDescribeUpdateActionsMessage = (input, context) => {
|
|
|
5409
5520
|
}
|
|
5410
5521
|
if (input.ReplicationGroupIds != null) {
|
|
5411
5522
|
const memberEntries = serializeAws_queryReplicationGroupIdList(input.ReplicationGroupIds, context);
|
|
5523
|
+
if (input.ReplicationGroupIds?.length === 0) {
|
|
5524
|
+
entries.ReplicationGroupIds = [];
|
|
5525
|
+
}
|
|
5412
5526
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5413
5527
|
const loc = `ReplicationGroupIds.${key}`;
|
|
5414
5528
|
entries[loc] = value;
|
|
@@ -5416,6 +5530,9 @@ const serializeAws_queryDescribeUpdateActionsMessage = (input, context) => {
|
|
|
5416
5530
|
}
|
|
5417
5531
|
if (input.CacheClusterIds != null) {
|
|
5418
5532
|
const memberEntries = serializeAws_queryCacheClusterIdList(input.CacheClusterIds, context);
|
|
5533
|
+
if (input.CacheClusterIds?.length === 0) {
|
|
5534
|
+
entries.CacheClusterIds = [];
|
|
5535
|
+
}
|
|
5419
5536
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5420
5537
|
const loc = `CacheClusterIds.${key}`;
|
|
5421
5538
|
entries[loc] = value;
|
|
@@ -5426,6 +5543,9 @@ const serializeAws_queryDescribeUpdateActionsMessage = (input, context) => {
|
|
|
5426
5543
|
}
|
|
5427
5544
|
if (input.ServiceUpdateStatus != null) {
|
|
5428
5545
|
const memberEntries = serializeAws_queryServiceUpdateStatusList(input.ServiceUpdateStatus, context);
|
|
5546
|
+
if (input.ServiceUpdateStatus?.length === 0) {
|
|
5547
|
+
entries.ServiceUpdateStatus = [];
|
|
5548
|
+
}
|
|
5429
5549
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5430
5550
|
const loc = `ServiceUpdateStatus.${key}`;
|
|
5431
5551
|
entries[loc] = value;
|
|
@@ -5440,6 +5560,9 @@ const serializeAws_queryDescribeUpdateActionsMessage = (input, context) => {
|
|
|
5440
5560
|
}
|
|
5441
5561
|
if (input.UpdateActionStatus != null) {
|
|
5442
5562
|
const memberEntries = serializeAws_queryUpdateActionStatusList(input.UpdateActionStatus, context);
|
|
5563
|
+
if (input.UpdateActionStatus?.length === 0) {
|
|
5564
|
+
entries.UpdateActionStatus = [];
|
|
5565
|
+
}
|
|
5443
5566
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5444
5567
|
const loc = `UpdateActionStatus.${key}`;
|
|
5445
5568
|
entries[loc] = value;
|
|
@@ -5479,6 +5602,9 @@ const serializeAws_queryDescribeUsersMessage = (input, context) => {
|
|
|
5479
5602
|
}
|
|
5480
5603
|
if (input.Filters != null) {
|
|
5481
5604
|
const memberEntries = serializeAws_queryFilterList(input.Filters, context);
|
|
5605
|
+
if (input.Filters?.length === 0) {
|
|
5606
|
+
entries.Filters = [];
|
|
5607
|
+
}
|
|
5482
5608
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5483
5609
|
const loc = `Filters.${key}`;
|
|
5484
5610
|
entries[loc] = value;
|
|
@@ -5543,6 +5669,9 @@ const serializeAws_queryFilter = (input, context) => {
|
|
|
5543
5669
|
}
|
|
5544
5670
|
if (input.Values != null) {
|
|
5545
5671
|
const memberEntries = serializeAws_queryFilterValueList(input.Values, context);
|
|
5672
|
+
if (input.Values?.length === 0) {
|
|
5673
|
+
entries.Values = [];
|
|
5674
|
+
}
|
|
5546
5675
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5547
5676
|
const loc = `Values.${key}`;
|
|
5548
5677
|
entries[loc] = value;
|
|
@@ -5599,6 +5728,9 @@ const serializeAws_queryIncreaseNodeGroupsInGlobalReplicationGroupMessage = (inp
|
|
|
5599
5728
|
}
|
|
5600
5729
|
if (input.RegionalConfigurations != null) {
|
|
5601
5730
|
const memberEntries = serializeAws_queryRegionalConfigurationList(input.RegionalConfigurations, context);
|
|
5731
|
+
if (input.RegionalConfigurations?.length === 0) {
|
|
5732
|
+
entries.RegionalConfigurations = [];
|
|
5733
|
+
}
|
|
5602
5734
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5603
5735
|
const loc = `RegionalConfigurations.${key}`;
|
|
5604
5736
|
entries[loc] = value;
|
|
@@ -5619,6 +5751,9 @@ const serializeAws_queryIncreaseReplicaCountMessage = (input, context) => {
|
|
|
5619
5751
|
}
|
|
5620
5752
|
if (input.ReplicaConfiguration != null) {
|
|
5621
5753
|
const memberEntries = serializeAws_queryReplicaConfigurationList(input.ReplicaConfiguration, context);
|
|
5754
|
+
if (input.ReplicaConfiguration?.length === 0) {
|
|
5755
|
+
entries.ReplicaConfiguration = [];
|
|
5756
|
+
}
|
|
5622
5757
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5623
5758
|
const loc = `ReplicaConfiguration.${key}`;
|
|
5624
5759
|
entries[loc] = value;
|
|
@@ -5713,6 +5848,9 @@ const serializeAws_queryModifyCacheClusterMessage = (input, context) => {
|
|
|
5713
5848
|
}
|
|
5714
5849
|
if (input.CacheNodeIdsToRemove != null) {
|
|
5715
5850
|
const memberEntries = serializeAws_queryCacheNodeIdsList(input.CacheNodeIdsToRemove, context);
|
|
5851
|
+
if (input.CacheNodeIdsToRemove?.length === 0) {
|
|
5852
|
+
entries.CacheNodeIdsToRemove = [];
|
|
5853
|
+
}
|
|
5716
5854
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5717
5855
|
const loc = `CacheNodeIdsToRemove.${key}`;
|
|
5718
5856
|
entries[loc] = value;
|
|
@@ -5723,6 +5861,9 @@ const serializeAws_queryModifyCacheClusterMessage = (input, context) => {
|
|
|
5723
5861
|
}
|
|
5724
5862
|
if (input.NewAvailabilityZones != null) {
|
|
5725
5863
|
const memberEntries = serializeAws_queryPreferredAvailabilityZoneList(input.NewAvailabilityZones, context);
|
|
5864
|
+
if (input.NewAvailabilityZones?.length === 0) {
|
|
5865
|
+
entries.NewAvailabilityZones = [];
|
|
5866
|
+
}
|
|
5726
5867
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5727
5868
|
const loc = `NewAvailabilityZones.${key}`;
|
|
5728
5869
|
entries[loc] = value;
|
|
@@ -5730,6 +5871,9 @@ const serializeAws_queryModifyCacheClusterMessage = (input, context) => {
|
|
|
5730
5871
|
}
|
|
5731
5872
|
if (input.CacheSecurityGroupNames != null) {
|
|
5732
5873
|
const memberEntries = serializeAws_queryCacheSecurityGroupNameList(input.CacheSecurityGroupNames, context);
|
|
5874
|
+
if (input.CacheSecurityGroupNames?.length === 0) {
|
|
5875
|
+
entries.CacheSecurityGroupNames = [];
|
|
5876
|
+
}
|
|
5733
5877
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5734
5878
|
const loc = `CacheSecurityGroupNames.${key}`;
|
|
5735
5879
|
entries[loc] = value;
|
|
@@ -5737,6 +5881,9 @@ const serializeAws_queryModifyCacheClusterMessage = (input, context) => {
|
|
|
5737
5881
|
}
|
|
5738
5882
|
if (input.SecurityGroupIds != null) {
|
|
5739
5883
|
const memberEntries = serializeAws_querySecurityGroupIdsList(input.SecurityGroupIds, context);
|
|
5884
|
+
if (input.SecurityGroupIds?.length === 0) {
|
|
5885
|
+
entries.SecurityGroupIds = [];
|
|
5886
|
+
}
|
|
5740
5887
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5741
5888
|
const loc = `SecurityGroupIds.${key}`;
|
|
5742
5889
|
entries[loc] = value;
|
|
@@ -5780,6 +5927,9 @@ const serializeAws_queryModifyCacheClusterMessage = (input, context) => {
|
|
|
5780
5927
|
}
|
|
5781
5928
|
if (input.LogDeliveryConfigurations != null) {
|
|
5782
5929
|
const memberEntries = serializeAws_queryLogDeliveryConfigurationRequestList(input.LogDeliveryConfigurations, context);
|
|
5930
|
+
if (input.LogDeliveryConfigurations?.length === 0) {
|
|
5931
|
+
entries.LogDeliveryConfigurations = [];
|
|
5932
|
+
}
|
|
5783
5933
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5784
5934
|
const loc = `LogDeliveryConfigurations.${key}`;
|
|
5785
5935
|
entries[loc] = value;
|
|
@@ -5794,6 +5944,9 @@ const serializeAws_queryModifyCacheParameterGroupMessage = (input, context) => {
|
|
|
5794
5944
|
}
|
|
5795
5945
|
if (input.ParameterNameValues != null) {
|
|
5796
5946
|
const memberEntries = serializeAws_queryParameterNameValueList(input.ParameterNameValues, context);
|
|
5947
|
+
if (input.ParameterNameValues?.length === 0) {
|
|
5948
|
+
entries.ParameterNameValues = [];
|
|
5949
|
+
}
|
|
5797
5950
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5798
5951
|
const loc = `ParameterNameValues.${key}`;
|
|
5799
5952
|
entries[loc] = value;
|
|
@@ -5811,6 +5964,9 @@ const serializeAws_queryModifyCacheSubnetGroupMessage = (input, context) => {
|
|
|
5811
5964
|
}
|
|
5812
5965
|
if (input.SubnetIds != null) {
|
|
5813
5966
|
const memberEntries = serializeAws_querySubnetIdentifierList(input.SubnetIds, context);
|
|
5967
|
+
if (input.SubnetIds?.length === 0) {
|
|
5968
|
+
entries.SubnetIds = [];
|
|
5969
|
+
}
|
|
5814
5970
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5815
5971
|
const loc = `SubnetIds.${key}`;
|
|
5816
5972
|
entries[loc] = value;
|
|
@@ -5868,6 +6024,9 @@ const serializeAws_queryModifyReplicationGroupMessage = (input, context) => {
|
|
|
5868
6024
|
}
|
|
5869
6025
|
if (input.CacheSecurityGroupNames != null) {
|
|
5870
6026
|
const memberEntries = serializeAws_queryCacheSecurityGroupNameList(input.CacheSecurityGroupNames, context);
|
|
6027
|
+
if (input.CacheSecurityGroupNames?.length === 0) {
|
|
6028
|
+
entries.CacheSecurityGroupNames = [];
|
|
6029
|
+
}
|
|
5871
6030
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5872
6031
|
const loc = `CacheSecurityGroupNames.${key}`;
|
|
5873
6032
|
entries[loc] = value;
|
|
@@ -5875,6 +6034,9 @@ const serializeAws_queryModifyReplicationGroupMessage = (input, context) => {
|
|
|
5875
6034
|
}
|
|
5876
6035
|
if (input.SecurityGroupIds != null) {
|
|
5877
6036
|
const memberEntries = serializeAws_querySecurityGroupIdsList(input.SecurityGroupIds, context);
|
|
6037
|
+
if (input.SecurityGroupIds?.length === 0) {
|
|
6038
|
+
entries.SecurityGroupIds = [];
|
|
6039
|
+
}
|
|
5878
6040
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5879
6041
|
const loc = `SecurityGroupIds.${key}`;
|
|
5880
6042
|
entries[loc] = value;
|
|
@@ -5918,6 +6080,9 @@ const serializeAws_queryModifyReplicationGroupMessage = (input, context) => {
|
|
|
5918
6080
|
}
|
|
5919
6081
|
if (input.UserGroupIdsToAdd != null) {
|
|
5920
6082
|
const memberEntries = serializeAws_queryUserGroupIdList(input.UserGroupIdsToAdd, context);
|
|
6083
|
+
if (input.UserGroupIdsToAdd?.length === 0) {
|
|
6084
|
+
entries.UserGroupIdsToAdd = [];
|
|
6085
|
+
}
|
|
5921
6086
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5922
6087
|
const loc = `UserGroupIdsToAdd.${key}`;
|
|
5923
6088
|
entries[loc] = value;
|
|
@@ -5925,6 +6090,9 @@ const serializeAws_queryModifyReplicationGroupMessage = (input, context) => {
|
|
|
5925
6090
|
}
|
|
5926
6091
|
if (input.UserGroupIdsToRemove != null) {
|
|
5927
6092
|
const memberEntries = serializeAws_queryUserGroupIdList(input.UserGroupIdsToRemove, context);
|
|
6093
|
+
if (input.UserGroupIdsToRemove?.length === 0) {
|
|
6094
|
+
entries.UserGroupIdsToRemove = [];
|
|
6095
|
+
}
|
|
5928
6096
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5929
6097
|
const loc = `UserGroupIdsToRemove.${key}`;
|
|
5930
6098
|
entries[loc] = value;
|
|
@@ -5935,6 +6103,9 @@ const serializeAws_queryModifyReplicationGroupMessage = (input, context) => {
|
|
|
5935
6103
|
}
|
|
5936
6104
|
if (input.LogDeliveryConfigurations != null) {
|
|
5937
6105
|
const memberEntries = serializeAws_queryLogDeliveryConfigurationRequestList(input.LogDeliveryConfigurations, context);
|
|
6106
|
+
if (input.LogDeliveryConfigurations?.length === 0) {
|
|
6107
|
+
entries.LogDeliveryConfigurations = [];
|
|
6108
|
+
}
|
|
5938
6109
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5939
6110
|
const loc = `LogDeliveryConfigurations.${key}`;
|
|
5940
6111
|
entries[loc] = value;
|
|
@@ -5955,6 +6126,9 @@ const serializeAws_queryModifyReplicationGroupShardConfigurationMessage = (input
|
|
|
5955
6126
|
}
|
|
5956
6127
|
if (input.ReshardingConfiguration != null) {
|
|
5957
6128
|
const memberEntries = serializeAws_queryReshardingConfigurationList(input.ReshardingConfiguration, context);
|
|
6129
|
+
if (input.ReshardingConfiguration?.length === 0) {
|
|
6130
|
+
entries.ReshardingConfiguration = [];
|
|
6131
|
+
}
|
|
5958
6132
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5959
6133
|
const loc = `ReshardingConfiguration.${key}`;
|
|
5960
6134
|
entries[loc] = value;
|
|
@@ -5962,6 +6136,9 @@ const serializeAws_queryModifyReplicationGroupShardConfigurationMessage = (input
|
|
|
5962
6136
|
}
|
|
5963
6137
|
if (input.NodeGroupsToRemove != null) {
|
|
5964
6138
|
const memberEntries = serializeAws_queryNodeGroupsToRemoveList(input.NodeGroupsToRemove, context);
|
|
6139
|
+
if (input.NodeGroupsToRemove?.length === 0) {
|
|
6140
|
+
entries.NodeGroupsToRemove = [];
|
|
6141
|
+
}
|
|
5965
6142
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5966
6143
|
const loc = `NodeGroupsToRemove.${key}`;
|
|
5967
6144
|
entries[loc] = value;
|
|
@@ -5969,6 +6146,9 @@ const serializeAws_queryModifyReplicationGroupShardConfigurationMessage = (input
|
|
|
5969
6146
|
}
|
|
5970
6147
|
if (input.NodeGroupsToRetain != null) {
|
|
5971
6148
|
const memberEntries = serializeAws_queryNodeGroupsToRetainList(input.NodeGroupsToRetain, context);
|
|
6149
|
+
if (input.NodeGroupsToRetain?.length === 0) {
|
|
6150
|
+
entries.NodeGroupsToRetain = [];
|
|
6151
|
+
}
|
|
5972
6152
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5973
6153
|
const loc = `NodeGroupsToRetain.${key}`;
|
|
5974
6154
|
entries[loc] = value;
|
|
@@ -5983,6 +6163,9 @@ const serializeAws_queryModifyUserGroupMessage = (input, context) => {
|
|
|
5983
6163
|
}
|
|
5984
6164
|
if (input.UserIdsToAdd != null) {
|
|
5985
6165
|
const memberEntries = serializeAws_queryUserIdListInput(input.UserIdsToAdd, context);
|
|
6166
|
+
if (input.UserIdsToAdd?.length === 0) {
|
|
6167
|
+
entries.UserIdsToAdd = [];
|
|
6168
|
+
}
|
|
5986
6169
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5987
6170
|
const loc = `UserIdsToAdd.${key}`;
|
|
5988
6171
|
entries[loc] = value;
|
|
@@ -5990,6 +6173,9 @@ const serializeAws_queryModifyUserGroupMessage = (input, context) => {
|
|
|
5990
6173
|
}
|
|
5991
6174
|
if (input.UserIdsToRemove != null) {
|
|
5992
6175
|
const memberEntries = serializeAws_queryUserIdListInput(input.UserIdsToRemove, context);
|
|
6176
|
+
if (input.UserIdsToRemove?.length === 0) {
|
|
6177
|
+
entries.UserIdsToRemove = [];
|
|
6178
|
+
}
|
|
5993
6179
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5994
6180
|
const loc = `UserIdsToRemove.${key}`;
|
|
5995
6181
|
entries[loc] = value;
|
|
@@ -6010,6 +6196,9 @@ const serializeAws_queryModifyUserMessage = (input, context) => {
|
|
|
6010
6196
|
}
|
|
6011
6197
|
if (input.Passwords != null) {
|
|
6012
6198
|
const memberEntries = serializeAws_queryPasswordListInput(input.Passwords, context);
|
|
6199
|
+
if (input.Passwords?.length === 0) {
|
|
6200
|
+
entries.Passwords = [];
|
|
6201
|
+
}
|
|
6013
6202
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
6014
6203
|
const loc = `Passwords.${key}`;
|
|
6015
6204
|
entries[loc] = value;
|
|
@@ -6036,6 +6225,9 @@ const serializeAws_queryNodeGroupConfiguration = (input, context) => {
|
|
|
6036
6225
|
}
|
|
6037
6226
|
if (input.ReplicaAvailabilityZones != null) {
|
|
6038
6227
|
const memberEntries = serializeAws_queryAvailabilityZonesList(input.ReplicaAvailabilityZones, context);
|
|
6228
|
+
if (input.ReplicaAvailabilityZones?.length === 0) {
|
|
6229
|
+
entries.ReplicaAvailabilityZones = [];
|
|
6230
|
+
}
|
|
6039
6231
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
6040
6232
|
const loc = `ReplicaAvailabilityZones.${key}`;
|
|
6041
6233
|
entries[loc] = value;
|
|
@@ -6046,6 +6238,9 @@ const serializeAws_queryNodeGroupConfiguration = (input, context) => {
|
|
|
6046
6238
|
}
|
|
6047
6239
|
if (input.ReplicaOutpostArns != null) {
|
|
6048
6240
|
const memberEntries = serializeAws_queryOutpostArnsList(input.ReplicaOutpostArns, context);
|
|
6241
|
+
if (input.ReplicaOutpostArns?.length === 0) {
|
|
6242
|
+
entries.ReplicaOutpostArns = [];
|
|
6243
|
+
}
|
|
6049
6244
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
6050
6245
|
const loc = `ReplicaOutpostArns.${key}`;
|
|
6051
6246
|
entries[loc] = value;
|
|
@@ -6178,6 +6373,9 @@ const serializeAws_queryPurchaseReservedCacheNodesOfferingMessage = (input, cont
|
|
|
6178
6373
|
}
|
|
6179
6374
|
if (input.Tags != null) {
|
|
6180
6375
|
const memberEntries = serializeAws_queryTagList(input.Tags, context);
|
|
6376
|
+
if (input.Tags?.length === 0) {
|
|
6377
|
+
entries.Tags = [];
|
|
6378
|
+
}
|
|
6181
6379
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
6182
6380
|
const loc = `Tags.${key}`;
|
|
6183
6381
|
entries[loc] = value;
|
|
@@ -6202,6 +6400,9 @@ const serializeAws_queryRebootCacheClusterMessage = (input, context) => {
|
|
|
6202
6400
|
}
|
|
6203
6401
|
if (input.CacheNodeIdsToReboot != null) {
|
|
6204
6402
|
const memberEntries = serializeAws_queryCacheNodeIdsList(input.CacheNodeIdsToReboot, context);
|
|
6403
|
+
if (input.CacheNodeIdsToReboot?.length === 0) {
|
|
6404
|
+
entries.CacheNodeIdsToReboot = [];
|
|
6405
|
+
}
|
|
6205
6406
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
6206
6407
|
const loc = `CacheNodeIdsToReboot.${key}`;
|
|
6207
6408
|
entries[loc] = value;
|
|
@@ -6219,6 +6420,9 @@ const serializeAws_queryRegionalConfiguration = (input, context) => {
|
|
|
6219
6420
|
}
|
|
6220
6421
|
if (input.ReshardingConfiguration != null) {
|
|
6221
6422
|
const memberEntries = serializeAws_queryReshardingConfigurationList(input.ReshardingConfiguration, context);
|
|
6423
|
+
if (input.ReshardingConfiguration?.length === 0) {
|
|
6424
|
+
entries.ReshardingConfiguration = [];
|
|
6425
|
+
}
|
|
6222
6426
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
6223
6427
|
const loc = `ReshardingConfiguration.${key}`;
|
|
6224
6428
|
entries[loc] = value;
|
|
@@ -6260,6 +6464,9 @@ const serializeAws_queryRemoveTagsFromResourceMessage = (input, context) => {
|
|
|
6260
6464
|
}
|
|
6261
6465
|
if (input.TagKeys != null) {
|
|
6262
6466
|
const memberEntries = serializeAws_queryKeyList(input.TagKeys, context);
|
|
6467
|
+
if (input.TagKeys?.length === 0) {
|
|
6468
|
+
entries.TagKeys = [];
|
|
6469
|
+
}
|
|
6263
6470
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
6264
6471
|
const loc = `TagKeys.${key}`;
|
|
6265
6472
|
entries[loc] = value;
|
|
@@ -6304,6 +6511,9 @@ const serializeAws_queryResetCacheParameterGroupMessage = (input, context) => {
|
|
|
6304
6511
|
}
|
|
6305
6512
|
if (input.ParameterNameValues != null) {
|
|
6306
6513
|
const memberEntries = serializeAws_queryParameterNameValueList(input.ParameterNameValues, context);
|
|
6514
|
+
if (input.ParameterNameValues?.length === 0) {
|
|
6515
|
+
entries.ParameterNameValues = [];
|
|
6516
|
+
}
|
|
6307
6517
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
6308
6518
|
const loc = `ParameterNameValues.${key}`;
|
|
6309
6519
|
entries[loc] = value;
|
|
@@ -6318,6 +6528,9 @@ const serializeAws_queryReshardingConfiguration = (input, context) => {
|
|
|
6318
6528
|
}
|
|
6319
6529
|
if (input.PreferredAvailabilityZones != null) {
|
|
6320
6530
|
const memberEntries = serializeAws_queryAvailabilityZonesList(input.PreferredAvailabilityZones, context);
|
|
6531
|
+
if (input.PreferredAvailabilityZones?.length === 0) {
|
|
6532
|
+
entries.PreferredAvailabilityZones = [];
|
|
6533
|
+
}
|
|
6321
6534
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
6322
6535
|
const loc = `PreferredAvailabilityZones.${key}`;
|
|
6323
6536
|
entries[loc] = value;
|
|
@@ -6396,6 +6609,9 @@ const serializeAws_queryStartMigrationMessage = (input, context) => {
|
|
|
6396
6609
|
}
|
|
6397
6610
|
if (input.CustomerNodeEndpointList != null) {
|
|
6398
6611
|
const memberEntries = serializeAws_queryCustomerNodeEndpointList(input.CustomerNodeEndpointList, context);
|
|
6612
|
+
if (input.CustomerNodeEndpointList?.length === 0) {
|
|
6613
|
+
entries.CustomerNodeEndpointList = [];
|
|
6614
|
+
}
|
|
6399
6615
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
6400
6616
|
const loc = `CustomerNodeEndpointList.${key}`;
|
|
6401
6617
|
entries[loc] = value;
|