@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
|
@@ -4540,6 +4540,9 @@ const serializeAws_queryAddTagsToResourceMessage = (input, context) => {
|
|
|
4540
4540
|
}
|
|
4541
4541
|
if (input.Tags != null) {
|
|
4542
4542
|
const memberEntries = serializeAws_queryTagList(input.Tags, context);
|
|
4543
|
+
if (input.Tags?.length === 0) {
|
|
4544
|
+
entries.Tags = [];
|
|
4545
|
+
}
|
|
4543
4546
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4544
4547
|
const loc = `Tags.${key}`;
|
|
4545
4548
|
entries[loc] = value;
|
|
@@ -4576,6 +4579,9 @@ const serializeAws_queryBatchApplyUpdateActionMessage = (input, context) => {
|
|
|
4576
4579
|
const entries = {};
|
|
4577
4580
|
if (input.ReplicationGroupIds != null) {
|
|
4578
4581
|
const memberEntries = serializeAws_queryReplicationGroupIdList(input.ReplicationGroupIds, context);
|
|
4582
|
+
if (input.ReplicationGroupIds?.length === 0) {
|
|
4583
|
+
entries.ReplicationGroupIds = [];
|
|
4584
|
+
}
|
|
4579
4585
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4580
4586
|
const loc = `ReplicationGroupIds.${key}`;
|
|
4581
4587
|
entries[loc] = value;
|
|
@@ -4583,6 +4589,9 @@ const serializeAws_queryBatchApplyUpdateActionMessage = (input, context) => {
|
|
|
4583
4589
|
}
|
|
4584
4590
|
if (input.CacheClusterIds != null) {
|
|
4585
4591
|
const memberEntries = serializeAws_queryCacheClusterIdList(input.CacheClusterIds, context);
|
|
4592
|
+
if (input.CacheClusterIds?.length === 0) {
|
|
4593
|
+
entries.CacheClusterIds = [];
|
|
4594
|
+
}
|
|
4586
4595
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4587
4596
|
const loc = `CacheClusterIds.${key}`;
|
|
4588
4597
|
entries[loc] = value;
|
|
@@ -4597,6 +4606,9 @@ const serializeAws_queryBatchStopUpdateActionMessage = (input, context) => {
|
|
|
4597
4606
|
const entries = {};
|
|
4598
4607
|
if (input.ReplicationGroupIds != null) {
|
|
4599
4608
|
const memberEntries = serializeAws_queryReplicationGroupIdList(input.ReplicationGroupIds, context);
|
|
4609
|
+
if (input.ReplicationGroupIds?.length === 0) {
|
|
4610
|
+
entries.ReplicationGroupIds = [];
|
|
4611
|
+
}
|
|
4600
4612
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4601
4613
|
const loc = `ReplicationGroupIds.${key}`;
|
|
4602
4614
|
entries[loc] = value;
|
|
@@ -4604,6 +4616,9 @@ const serializeAws_queryBatchStopUpdateActionMessage = (input, context) => {
|
|
|
4604
4616
|
}
|
|
4605
4617
|
if (input.CacheClusterIds != null) {
|
|
4606
4618
|
const memberEntries = serializeAws_queryCacheClusterIdList(input.CacheClusterIds, context);
|
|
4619
|
+
if (input.CacheClusterIds?.length === 0) {
|
|
4620
|
+
entries.CacheClusterIds = [];
|
|
4621
|
+
}
|
|
4607
4622
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4608
4623
|
const loc = `CacheClusterIds.${key}`;
|
|
4609
4624
|
entries[loc] = value;
|
|
@@ -4677,6 +4692,9 @@ const serializeAws_queryConfigureShard = (input, context) => {
|
|
|
4677
4692
|
}
|
|
4678
4693
|
if (input.PreferredAvailabilityZones != null) {
|
|
4679
4694
|
const memberEntries = serializeAws_queryPreferredAvailabilityZoneList(input.PreferredAvailabilityZones, context);
|
|
4695
|
+
if (input.PreferredAvailabilityZones?.length === 0) {
|
|
4696
|
+
entries.PreferredAvailabilityZones = [];
|
|
4697
|
+
}
|
|
4680
4698
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4681
4699
|
const loc = `PreferredAvailabilityZones.${key}`;
|
|
4682
4700
|
entries[loc] = value;
|
|
@@ -4684,6 +4702,9 @@ const serializeAws_queryConfigureShard = (input, context) => {
|
|
|
4684
4702
|
}
|
|
4685
4703
|
if (input.PreferredOutpostArns != null) {
|
|
4686
4704
|
const memberEntries = serializeAws_queryPreferredOutpostArnList(input.PreferredOutpostArns, context);
|
|
4705
|
+
if (input.PreferredOutpostArns?.length === 0) {
|
|
4706
|
+
entries.PreferredOutpostArns = [];
|
|
4707
|
+
}
|
|
4687
4708
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4688
4709
|
const loc = `PreferredOutpostArns.${key}`;
|
|
4689
4710
|
entries[loc] = value;
|
|
@@ -4707,6 +4728,9 @@ const serializeAws_queryCopySnapshotMessage = (input, context) => {
|
|
|
4707
4728
|
}
|
|
4708
4729
|
if (input.Tags != null) {
|
|
4709
4730
|
const memberEntries = serializeAws_queryTagList(input.Tags, context);
|
|
4731
|
+
if (input.Tags?.length === 0) {
|
|
4732
|
+
entries.Tags = [];
|
|
4733
|
+
}
|
|
4710
4734
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4711
4735
|
const loc = `Tags.${key}`;
|
|
4712
4736
|
entries[loc] = value;
|
|
@@ -4730,6 +4754,9 @@ const serializeAws_queryCreateCacheClusterMessage = (input, context) => {
|
|
|
4730
4754
|
}
|
|
4731
4755
|
if (input.PreferredAvailabilityZones != null) {
|
|
4732
4756
|
const memberEntries = serializeAws_queryPreferredAvailabilityZoneList(input.PreferredAvailabilityZones, context);
|
|
4757
|
+
if (input.PreferredAvailabilityZones?.length === 0) {
|
|
4758
|
+
entries.PreferredAvailabilityZones = [];
|
|
4759
|
+
}
|
|
4733
4760
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4734
4761
|
const loc = `PreferredAvailabilityZones.${key}`;
|
|
4735
4762
|
entries[loc] = value;
|
|
@@ -4755,6 +4782,9 @@ const serializeAws_queryCreateCacheClusterMessage = (input, context) => {
|
|
|
4755
4782
|
}
|
|
4756
4783
|
if (input.CacheSecurityGroupNames != null) {
|
|
4757
4784
|
const memberEntries = serializeAws_queryCacheSecurityGroupNameList(input.CacheSecurityGroupNames, context);
|
|
4785
|
+
if (input.CacheSecurityGroupNames?.length === 0) {
|
|
4786
|
+
entries.CacheSecurityGroupNames = [];
|
|
4787
|
+
}
|
|
4758
4788
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4759
4789
|
const loc = `CacheSecurityGroupNames.${key}`;
|
|
4760
4790
|
entries[loc] = value;
|
|
@@ -4762,6 +4792,9 @@ const serializeAws_queryCreateCacheClusterMessage = (input, context) => {
|
|
|
4762
4792
|
}
|
|
4763
4793
|
if (input.SecurityGroupIds != null) {
|
|
4764
4794
|
const memberEntries = serializeAws_querySecurityGroupIdsList(input.SecurityGroupIds, context);
|
|
4795
|
+
if (input.SecurityGroupIds?.length === 0) {
|
|
4796
|
+
entries.SecurityGroupIds = [];
|
|
4797
|
+
}
|
|
4765
4798
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4766
4799
|
const loc = `SecurityGroupIds.${key}`;
|
|
4767
4800
|
entries[loc] = value;
|
|
@@ -4769,6 +4802,9 @@ const serializeAws_queryCreateCacheClusterMessage = (input, context) => {
|
|
|
4769
4802
|
}
|
|
4770
4803
|
if (input.Tags != null) {
|
|
4771
4804
|
const memberEntries = serializeAws_queryTagList(input.Tags, context);
|
|
4805
|
+
if (input.Tags?.length === 0) {
|
|
4806
|
+
entries.Tags = [];
|
|
4807
|
+
}
|
|
4772
4808
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4773
4809
|
const loc = `Tags.${key}`;
|
|
4774
4810
|
entries[loc] = value;
|
|
@@ -4776,6 +4812,9 @@ const serializeAws_queryCreateCacheClusterMessage = (input, context) => {
|
|
|
4776
4812
|
}
|
|
4777
4813
|
if (input.SnapshotArns != null) {
|
|
4778
4814
|
const memberEntries = serializeAws_querySnapshotArnsList(input.SnapshotArns, context);
|
|
4815
|
+
if (input.SnapshotArns?.length === 0) {
|
|
4816
|
+
entries.SnapshotArns = [];
|
|
4817
|
+
}
|
|
4779
4818
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4780
4819
|
const loc = `SnapshotArns.${key}`;
|
|
4781
4820
|
entries[loc] = value;
|
|
@@ -4813,6 +4852,9 @@ const serializeAws_queryCreateCacheClusterMessage = (input, context) => {
|
|
|
4813
4852
|
}
|
|
4814
4853
|
if (input.PreferredOutpostArns != null) {
|
|
4815
4854
|
const memberEntries = serializeAws_queryPreferredOutpostArnList(input.PreferredOutpostArns, context);
|
|
4855
|
+
if (input.PreferredOutpostArns?.length === 0) {
|
|
4856
|
+
entries.PreferredOutpostArns = [];
|
|
4857
|
+
}
|
|
4816
4858
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4817
4859
|
const loc = `PreferredOutpostArns.${key}`;
|
|
4818
4860
|
entries[loc] = value;
|
|
@@ -4820,6 +4862,9 @@ const serializeAws_queryCreateCacheClusterMessage = (input, context) => {
|
|
|
4820
4862
|
}
|
|
4821
4863
|
if (input.LogDeliveryConfigurations != null) {
|
|
4822
4864
|
const memberEntries = serializeAws_queryLogDeliveryConfigurationRequestList(input.LogDeliveryConfigurations, context);
|
|
4865
|
+
if (input.LogDeliveryConfigurations?.length === 0) {
|
|
4866
|
+
entries.LogDeliveryConfigurations = [];
|
|
4867
|
+
}
|
|
4823
4868
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4824
4869
|
const loc = `LogDeliveryConfigurations.${key}`;
|
|
4825
4870
|
entries[loc] = value;
|
|
@@ -4843,6 +4888,9 @@ const serializeAws_queryCreateCacheParameterGroupMessage = (input, context) => {
|
|
|
4843
4888
|
}
|
|
4844
4889
|
if (input.Tags != null) {
|
|
4845
4890
|
const memberEntries = serializeAws_queryTagList(input.Tags, context);
|
|
4891
|
+
if (input.Tags?.length === 0) {
|
|
4892
|
+
entries.Tags = [];
|
|
4893
|
+
}
|
|
4846
4894
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4847
4895
|
const loc = `Tags.${key}`;
|
|
4848
4896
|
entries[loc] = value;
|
|
@@ -4860,6 +4908,9 @@ const serializeAws_queryCreateCacheSecurityGroupMessage = (input, context) => {
|
|
|
4860
4908
|
}
|
|
4861
4909
|
if (input.Tags != null) {
|
|
4862
4910
|
const memberEntries = serializeAws_queryTagList(input.Tags, context);
|
|
4911
|
+
if (input.Tags?.length === 0) {
|
|
4912
|
+
entries.Tags = [];
|
|
4913
|
+
}
|
|
4863
4914
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4864
4915
|
const loc = `Tags.${key}`;
|
|
4865
4916
|
entries[loc] = value;
|
|
@@ -4877,6 +4928,9 @@ const serializeAws_queryCreateCacheSubnetGroupMessage = (input, context) => {
|
|
|
4877
4928
|
}
|
|
4878
4929
|
if (input.SubnetIds != null) {
|
|
4879
4930
|
const memberEntries = serializeAws_querySubnetIdentifierList(input.SubnetIds, context);
|
|
4931
|
+
if (input.SubnetIds?.length === 0) {
|
|
4932
|
+
entries.SubnetIds = [];
|
|
4933
|
+
}
|
|
4880
4934
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4881
4935
|
const loc = `SubnetIds.${key}`;
|
|
4882
4936
|
entries[loc] = value;
|
|
@@ -4884,6 +4938,9 @@ const serializeAws_queryCreateCacheSubnetGroupMessage = (input, context) => {
|
|
|
4884
4938
|
}
|
|
4885
4939
|
if (input.Tags != null) {
|
|
4886
4940
|
const memberEntries = serializeAws_queryTagList(input.Tags, context);
|
|
4941
|
+
if (input.Tags?.length === 0) {
|
|
4942
|
+
entries.Tags = [];
|
|
4943
|
+
}
|
|
4887
4944
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4888
4945
|
const loc = `Tags.${key}`;
|
|
4889
4946
|
entries[loc] = value;
|
|
@@ -4929,6 +4986,9 @@ const serializeAws_queryCreateReplicationGroupMessage = (input, context) => {
|
|
|
4929
4986
|
}
|
|
4930
4987
|
if (input.PreferredCacheClusterAZs != null) {
|
|
4931
4988
|
const memberEntries = serializeAws_queryAvailabilityZonesList(input.PreferredCacheClusterAZs, context);
|
|
4989
|
+
if (input.PreferredCacheClusterAZs?.length === 0) {
|
|
4990
|
+
entries.PreferredCacheClusterAZs = [];
|
|
4991
|
+
}
|
|
4932
4992
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4933
4993
|
const loc = `PreferredCacheClusterAZs.${key}`;
|
|
4934
4994
|
entries[loc] = value;
|
|
@@ -4942,6 +5002,9 @@ const serializeAws_queryCreateReplicationGroupMessage = (input, context) => {
|
|
|
4942
5002
|
}
|
|
4943
5003
|
if (input.NodeGroupConfiguration != null) {
|
|
4944
5004
|
const memberEntries = serializeAws_queryNodeGroupConfigurationList(input.NodeGroupConfiguration, context);
|
|
5005
|
+
if (input.NodeGroupConfiguration?.length === 0) {
|
|
5006
|
+
entries.NodeGroupConfiguration = [];
|
|
5007
|
+
}
|
|
4945
5008
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4946
5009
|
const loc = `NodeGroupConfiguration.${key}`;
|
|
4947
5010
|
entries[loc] = value;
|
|
@@ -4964,6 +5027,9 @@ const serializeAws_queryCreateReplicationGroupMessage = (input, context) => {
|
|
|
4964
5027
|
}
|
|
4965
5028
|
if (input.CacheSecurityGroupNames != null) {
|
|
4966
5029
|
const memberEntries = serializeAws_queryCacheSecurityGroupNameList(input.CacheSecurityGroupNames, context);
|
|
5030
|
+
if (input.CacheSecurityGroupNames?.length === 0) {
|
|
5031
|
+
entries.CacheSecurityGroupNames = [];
|
|
5032
|
+
}
|
|
4967
5033
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4968
5034
|
const loc = `CacheSecurityGroupNames.${key}`;
|
|
4969
5035
|
entries[loc] = value;
|
|
@@ -4971,6 +5037,9 @@ const serializeAws_queryCreateReplicationGroupMessage = (input, context) => {
|
|
|
4971
5037
|
}
|
|
4972
5038
|
if (input.SecurityGroupIds != null) {
|
|
4973
5039
|
const memberEntries = serializeAws_querySecurityGroupIdsList(input.SecurityGroupIds, context);
|
|
5040
|
+
if (input.SecurityGroupIds?.length === 0) {
|
|
5041
|
+
entries.SecurityGroupIds = [];
|
|
5042
|
+
}
|
|
4974
5043
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4975
5044
|
const loc = `SecurityGroupIds.${key}`;
|
|
4976
5045
|
entries[loc] = value;
|
|
@@ -4978,6 +5047,9 @@ const serializeAws_queryCreateReplicationGroupMessage = (input, context) => {
|
|
|
4978
5047
|
}
|
|
4979
5048
|
if (input.Tags != null) {
|
|
4980
5049
|
const memberEntries = serializeAws_queryTagList(input.Tags, context);
|
|
5050
|
+
if (input.Tags?.length === 0) {
|
|
5051
|
+
entries.Tags = [];
|
|
5052
|
+
}
|
|
4981
5053
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4982
5054
|
const loc = `Tags.${key}`;
|
|
4983
5055
|
entries[loc] = value;
|
|
@@ -4985,6 +5057,9 @@ const serializeAws_queryCreateReplicationGroupMessage = (input, context) => {
|
|
|
4985
5057
|
}
|
|
4986
5058
|
if (input.SnapshotArns != null) {
|
|
4987
5059
|
const memberEntries = serializeAws_querySnapshotArnsList(input.SnapshotArns, context);
|
|
5060
|
+
if (input.SnapshotArns?.length === 0) {
|
|
5061
|
+
entries.SnapshotArns = [];
|
|
5062
|
+
}
|
|
4988
5063
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4989
5064
|
const loc = `SnapshotArns.${key}`;
|
|
4990
5065
|
entries[loc] = value;
|
|
@@ -5025,6 +5100,9 @@ const serializeAws_queryCreateReplicationGroupMessage = (input, context) => {
|
|
|
5025
5100
|
}
|
|
5026
5101
|
if (input.UserGroupIds != null) {
|
|
5027
5102
|
const memberEntries = serializeAws_queryUserGroupIdListInput(input.UserGroupIds, context);
|
|
5103
|
+
if (input.UserGroupIds?.length === 0) {
|
|
5104
|
+
entries.UserGroupIds = [];
|
|
5105
|
+
}
|
|
5028
5106
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5029
5107
|
const loc = `UserGroupIds.${key}`;
|
|
5030
5108
|
entries[loc] = value;
|
|
@@ -5032,6 +5110,9 @@ const serializeAws_queryCreateReplicationGroupMessage = (input, context) => {
|
|
|
5032
5110
|
}
|
|
5033
5111
|
if (input.LogDeliveryConfigurations != null) {
|
|
5034
5112
|
const memberEntries = serializeAws_queryLogDeliveryConfigurationRequestList(input.LogDeliveryConfigurations, context);
|
|
5113
|
+
if (input.LogDeliveryConfigurations?.length === 0) {
|
|
5114
|
+
entries.LogDeliveryConfigurations = [];
|
|
5115
|
+
}
|
|
5035
5116
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5036
5117
|
const loc = `LogDeliveryConfigurations.${key}`;
|
|
5037
5118
|
entries[loc] = value;
|
|
@@ -5058,6 +5139,9 @@ const serializeAws_queryCreateSnapshotMessage = (input, context) => {
|
|
|
5058
5139
|
}
|
|
5059
5140
|
if (input.Tags != null) {
|
|
5060
5141
|
const memberEntries = serializeAws_queryTagList(input.Tags, context);
|
|
5142
|
+
if (input.Tags?.length === 0) {
|
|
5143
|
+
entries.Tags = [];
|
|
5144
|
+
}
|
|
5061
5145
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5062
5146
|
const loc = `Tags.${key}`;
|
|
5063
5147
|
entries[loc] = value;
|
|
@@ -5075,6 +5159,9 @@ const serializeAws_queryCreateUserGroupMessage = (input, context) => {
|
|
|
5075
5159
|
}
|
|
5076
5160
|
if (input.UserIds != null) {
|
|
5077
5161
|
const memberEntries = serializeAws_queryUserIdListInput(input.UserIds, context);
|
|
5162
|
+
if (input.UserIds?.length === 0) {
|
|
5163
|
+
entries.UserIds = [];
|
|
5164
|
+
}
|
|
5078
5165
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5079
5166
|
const loc = `UserIds.${key}`;
|
|
5080
5167
|
entries[loc] = value;
|
|
@@ -5082,6 +5169,9 @@ const serializeAws_queryCreateUserGroupMessage = (input, context) => {
|
|
|
5082
5169
|
}
|
|
5083
5170
|
if (input.Tags != null) {
|
|
5084
5171
|
const memberEntries = serializeAws_queryTagList(input.Tags, context);
|
|
5172
|
+
if (input.Tags?.length === 0) {
|
|
5173
|
+
entries.Tags = [];
|
|
5174
|
+
}
|
|
5085
5175
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5086
5176
|
const loc = `Tags.${key}`;
|
|
5087
5177
|
entries[loc] = value;
|
|
@@ -5102,6 +5192,9 @@ const serializeAws_queryCreateUserMessage = (input, context) => {
|
|
|
5102
5192
|
}
|
|
5103
5193
|
if (input.Passwords != null) {
|
|
5104
5194
|
const memberEntries = serializeAws_queryPasswordListInput(input.Passwords, context);
|
|
5195
|
+
if (input.Passwords?.length === 0) {
|
|
5196
|
+
entries.Passwords = [];
|
|
5197
|
+
}
|
|
5105
5198
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5106
5199
|
const loc = `Passwords.${key}`;
|
|
5107
5200
|
entries[loc] = value;
|
|
@@ -5115,6 +5208,9 @@ const serializeAws_queryCreateUserMessage = (input, context) => {
|
|
|
5115
5208
|
}
|
|
5116
5209
|
if (input.Tags != null) {
|
|
5117
5210
|
const memberEntries = serializeAws_queryTagList(input.Tags, context);
|
|
5211
|
+
if (input.Tags?.length === 0) {
|
|
5212
|
+
entries.Tags = [];
|
|
5213
|
+
}
|
|
5118
5214
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5119
5215
|
const loc = `Tags.${key}`;
|
|
5120
5216
|
entries[loc] = value;
|
|
@@ -5157,6 +5253,9 @@ const serializeAws_queryDecreaseNodeGroupsInGlobalReplicationGroupMessage = (inp
|
|
|
5157
5253
|
}
|
|
5158
5254
|
if (input.GlobalNodeGroupsToRemove != null) {
|
|
5159
5255
|
const memberEntries = serializeAws_queryGlobalNodeGroupIdList(input.GlobalNodeGroupsToRemove, context);
|
|
5256
|
+
if (input.GlobalNodeGroupsToRemove?.length === 0) {
|
|
5257
|
+
entries.GlobalNodeGroupsToRemove = [];
|
|
5258
|
+
}
|
|
5160
5259
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5161
5260
|
const loc = `GlobalNodeGroupsToRemove.${key}`;
|
|
5162
5261
|
entries[loc] = value;
|
|
@@ -5164,6 +5263,9 @@ const serializeAws_queryDecreaseNodeGroupsInGlobalReplicationGroupMessage = (inp
|
|
|
5164
5263
|
}
|
|
5165
5264
|
if (input.GlobalNodeGroupsToRetain != null) {
|
|
5166
5265
|
const memberEntries = serializeAws_queryGlobalNodeGroupIdList(input.GlobalNodeGroupsToRetain, context);
|
|
5266
|
+
if (input.GlobalNodeGroupsToRetain?.length === 0) {
|
|
5267
|
+
entries.GlobalNodeGroupsToRetain = [];
|
|
5268
|
+
}
|
|
5167
5269
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5168
5270
|
const loc = `GlobalNodeGroupsToRetain.${key}`;
|
|
5169
5271
|
entries[loc] = value;
|
|
@@ -5184,6 +5286,9 @@ const serializeAws_queryDecreaseReplicaCountMessage = (input, context) => {
|
|
|
5184
5286
|
}
|
|
5185
5287
|
if (input.ReplicaConfiguration != null) {
|
|
5186
5288
|
const memberEntries = serializeAws_queryReplicaConfigurationList(input.ReplicaConfiguration, context);
|
|
5289
|
+
if (input.ReplicaConfiguration?.length === 0) {
|
|
5290
|
+
entries.ReplicaConfiguration = [];
|
|
5291
|
+
}
|
|
5187
5292
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5188
5293
|
const loc = `ReplicaConfiguration.${key}`;
|
|
5189
5294
|
entries[loc] = value;
|
|
@@ -5191,6 +5296,9 @@ const serializeAws_queryDecreaseReplicaCountMessage = (input, context) => {
|
|
|
5191
5296
|
}
|
|
5192
5297
|
if (input.ReplicasToRemove != null) {
|
|
5193
5298
|
const memberEntries = serializeAws_queryRemoveReplicasList(input.ReplicasToRemove, context);
|
|
5299
|
+
if (input.ReplicasToRemove?.length === 0) {
|
|
5300
|
+
entries.ReplicasToRemove = [];
|
|
5301
|
+
}
|
|
5194
5302
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5195
5303
|
const loc = `ReplicasToRemove.${key}`;
|
|
5196
5304
|
entries[loc] = value;
|
|
@@ -5499,6 +5607,9 @@ const serializeAws_queryDescribeServiceUpdatesMessage = (input, context) => {
|
|
|
5499
5607
|
}
|
|
5500
5608
|
if (input.ServiceUpdateStatus != null) {
|
|
5501
5609
|
const memberEntries = serializeAws_queryServiceUpdateStatusList(input.ServiceUpdateStatus, context);
|
|
5610
|
+
if (input.ServiceUpdateStatus?.length === 0) {
|
|
5611
|
+
entries.ServiceUpdateStatus = [];
|
|
5612
|
+
}
|
|
5502
5613
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5503
5614
|
const loc = `ServiceUpdateStatus.${key}`;
|
|
5504
5615
|
entries[loc] = value;
|
|
@@ -5544,6 +5655,9 @@ const serializeAws_queryDescribeUpdateActionsMessage = (input, context) => {
|
|
|
5544
5655
|
}
|
|
5545
5656
|
if (input.ReplicationGroupIds != null) {
|
|
5546
5657
|
const memberEntries = serializeAws_queryReplicationGroupIdList(input.ReplicationGroupIds, context);
|
|
5658
|
+
if (input.ReplicationGroupIds?.length === 0) {
|
|
5659
|
+
entries.ReplicationGroupIds = [];
|
|
5660
|
+
}
|
|
5547
5661
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5548
5662
|
const loc = `ReplicationGroupIds.${key}`;
|
|
5549
5663
|
entries[loc] = value;
|
|
@@ -5551,6 +5665,9 @@ const serializeAws_queryDescribeUpdateActionsMessage = (input, context) => {
|
|
|
5551
5665
|
}
|
|
5552
5666
|
if (input.CacheClusterIds != null) {
|
|
5553
5667
|
const memberEntries = serializeAws_queryCacheClusterIdList(input.CacheClusterIds, context);
|
|
5668
|
+
if (input.CacheClusterIds?.length === 0) {
|
|
5669
|
+
entries.CacheClusterIds = [];
|
|
5670
|
+
}
|
|
5554
5671
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5555
5672
|
const loc = `CacheClusterIds.${key}`;
|
|
5556
5673
|
entries[loc] = value;
|
|
@@ -5561,6 +5678,9 @@ const serializeAws_queryDescribeUpdateActionsMessage = (input, context) => {
|
|
|
5561
5678
|
}
|
|
5562
5679
|
if (input.ServiceUpdateStatus != null) {
|
|
5563
5680
|
const memberEntries = serializeAws_queryServiceUpdateStatusList(input.ServiceUpdateStatus, context);
|
|
5681
|
+
if (input.ServiceUpdateStatus?.length === 0) {
|
|
5682
|
+
entries.ServiceUpdateStatus = [];
|
|
5683
|
+
}
|
|
5564
5684
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5565
5685
|
const loc = `ServiceUpdateStatus.${key}`;
|
|
5566
5686
|
entries[loc] = value;
|
|
@@ -5575,6 +5695,9 @@ const serializeAws_queryDescribeUpdateActionsMessage = (input, context) => {
|
|
|
5575
5695
|
}
|
|
5576
5696
|
if (input.UpdateActionStatus != null) {
|
|
5577
5697
|
const memberEntries = serializeAws_queryUpdateActionStatusList(input.UpdateActionStatus, context);
|
|
5698
|
+
if (input.UpdateActionStatus?.length === 0) {
|
|
5699
|
+
entries.UpdateActionStatus = [];
|
|
5700
|
+
}
|
|
5578
5701
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5579
5702
|
const loc = `UpdateActionStatus.${key}`;
|
|
5580
5703
|
entries[loc] = value;
|
|
@@ -5614,6 +5737,9 @@ const serializeAws_queryDescribeUsersMessage = (input, context) => {
|
|
|
5614
5737
|
}
|
|
5615
5738
|
if (input.Filters != null) {
|
|
5616
5739
|
const memberEntries = serializeAws_queryFilterList(input.Filters, context);
|
|
5740
|
+
if (input.Filters?.length === 0) {
|
|
5741
|
+
entries.Filters = [];
|
|
5742
|
+
}
|
|
5617
5743
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5618
5744
|
const loc = `Filters.${key}`;
|
|
5619
5745
|
entries[loc] = value;
|
|
@@ -5678,6 +5804,9 @@ const serializeAws_queryFilter = (input, context) => {
|
|
|
5678
5804
|
}
|
|
5679
5805
|
if (input.Values != null) {
|
|
5680
5806
|
const memberEntries = serializeAws_queryFilterValueList(input.Values, context);
|
|
5807
|
+
if (input.Values?.length === 0) {
|
|
5808
|
+
entries.Values = [];
|
|
5809
|
+
}
|
|
5681
5810
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5682
5811
|
const loc = `Values.${key}`;
|
|
5683
5812
|
entries[loc] = value;
|
|
@@ -5734,6 +5863,9 @@ const serializeAws_queryIncreaseNodeGroupsInGlobalReplicationGroupMessage = (inp
|
|
|
5734
5863
|
}
|
|
5735
5864
|
if (input.RegionalConfigurations != null) {
|
|
5736
5865
|
const memberEntries = serializeAws_queryRegionalConfigurationList(input.RegionalConfigurations, context);
|
|
5866
|
+
if (input.RegionalConfigurations?.length === 0) {
|
|
5867
|
+
entries.RegionalConfigurations = [];
|
|
5868
|
+
}
|
|
5737
5869
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5738
5870
|
const loc = `RegionalConfigurations.${key}`;
|
|
5739
5871
|
entries[loc] = value;
|
|
@@ -5754,6 +5886,9 @@ const serializeAws_queryIncreaseReplicaCountMessage = (input, context) => {
|
|
|
5754
5886
|
}
|
|
5755
5887
|
if (input.ReplicaConfiguration != null) {
|
|
5756
5888
|
const memberEntries = serializeAws_queryReplicaConfigurationList(input.ReplicaConfiguration, context);
|
|
5889
|
+
if (input.ReplicaConfiguration?.length === 0) {
|
|
5890
|
+
entries.ReplicaConfiguration = [];
|
|
5891
|
+
}
|
|
5757
5892
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5758
5893
|
const loc = `ReplicaConfiguration.${key}`;
|
|
5759
5894
|
entries[loc] = value;
|
|
@@ -5848,6 +5983,9 @@ const serializeAws_queryModifyCacheClusterMessage = (input, context) => {
|
|
|
5848
5983
|
}
|
|
5849
5984
|
if (input.CacheNodeIdsToRemove != null) {
|
|
5850
5985
|
const memberEntries = serializeAws_queryCacheNodeIdsList(input.CacheNodeIdsToRemove, context);
|
|
5986
|
+
if (input.CacheNodeIdsToRemove?.length === 0) {
|
|
5987
|
+
entries.CacheNodeIdsToRemove = [];
|
|
5988
|
+
}
|
|
5851
5989
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5852
5990
|
const loc = `CacheNodeIdsToRemove.${key}`;
|
|
5853
5991
|
entries[loc] = value;
|
|
@@ -5858,6 +5996,9 @@ const serializeAws_queryModifyCacheClusterMessage = (input, context) => {
|
|
|
5858
5996
|
}
|
|
5859
5997
|
if (input.NewAvailabilityZones != null) {
|
|
5860
5998
|
const memberEntries = serializeAws_queryPreferredAvailabilityZoneList(input.NewAvailabilityZones, context);
|
|
5999
|
+
if (input.NewAvailabilityZones?.length === 0) {
|
|
6000
|
+
entries.NewAvailabilityZones = [];
|
|
6001
|
+
}
|
|
5861
6002
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5862
6003
|
const loc = `NewAvailabilityZones.${key}`;
|
|
5863
6004
|
entries[loc] = value;
|
|
@@ -5865,6 +6006,9 @@ const serializeAws_queryModifyCacheClusterMessage = (input, context) => {
|
|
|
5865
6006
|
}
|
|
5866
6007
|
if (input.CacheSecurityGroupNames != null) {
|
|
5867
6008
|
const memberEntries = serializeAws_queryCacheSecurityGroupNameList(input.CacheSecurityGroupNames, context);
|
|
6009
|
+
if (input.CacheSecurityGroupNames?.length === 0) {
|
|
6010
|
+
entries.CacheSecurityGroupNames = [];
|
|
6011
|
+
}
|
|
5868
6012
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5869
6013
|
const loc = `CacheSecurityGroupNames.${key}`;
|
|
5870
6014
|
entries[loc] = value;
|
|
@@ -5872,6 +6016,9 @@ const serializeAws_queryModifyCacheClusterMessage = (input, context) => {
|
|
|
5872
6016
|
}
|
|
5873
6017
|
if (input.SecurityGroupIds != null) {
|
|
5874
6018
|
const memberEntries = serializeAws_querySecurityGroupIdsList(input.SecurityGroupIds, context);
|
|
6019
|
+
if (input.SecurityGroupIds?.length === 0) {
|
|
6020
|
+
entries.SecurityGroupIds = [];
|
|
6021
|
+
}
|
|
5875
6022
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5876
6023
|
const loc = `SecurityGroupIds.${key}`;
|
|
5877
6024
|
entries[loc] = value;
|
|
@@ -5915,6 +6062,9 @@ const serializeAws_queryModifyCacheClusterMessage = (input, context) => {
|
|
|
5915
6062
|
}
|
|
5916
6063
|
if (input.LogDeliveryConfigurations != null) {
|
|
5917
6064
|
const memberEntries = serializeAws_queryLogDeliveryConfigurationRequestList(input.LogDeliveryConfigurations, context);
|
|
6065
|
+
if (input.LogDeliveryConfigurations?.length === 0) {
|
|
6066
|
+
entries.LogDeliveryConfigurations = [];
|
|
6067
|
+
}
|
|
5918
6068
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5919
6069
|
const loc = `LogDeliveryConfigurations.${key}`;
|
|
5920
6070
|
entries[loc] = value;
|
|
@@ -5929,6 +6079,9 @@ const serializeAws_queryModifyCacheParameterGroupMessage = (input, context) => {
|
|
|
5929
6079
|
}
|
|
5930
6080
|
if (input.ParameterNameValues != null) {
|
|
5931
6081
|
const memberEntries = serializeAws_queryParameterNameValueList(input.ParameterNameValues, context);
|
|
6082
|
+
if (input.ParameterNameValues?.length === 0) {
|
|
6083
|
+
entries.ParameterNameValues = [];
|
|
6084
|
+
}
|
|
5932
6085
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5933
6086
|
const loc = `ParameterNameValues.${key}`;
|
|
5934
6087
|
entries[loc] = value;
|
|
@@ -5946,6 +6099,9 @@ const serializeAws_queryModifyCacheSubnetGroupMessage = (input, context) => {
|
|
|
5946
6099
|
}
|
|
5947
6100
|
if (input.SubnetIds != null) {
|
|
5948
6101
|
const memberEntries = serializeAws_querySubnetIdentifierList(input.SubnetIds, context);
|
|
6102
|
+
if (input.SubnetIds?.length === 0) {
|
|
6103
|
+
entries.SubnetIds = [];
|
|
6104
|
+
}
|
|
5949
6105
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5950
6106
|
const loc = `SubnetIds.${key}`;
|
|
5951
6107
|
entries[loc] = value;
|
|
@@ -6003,6 +6159,9 @@ const serializeAws_queryModifyReplicationGroupMessage = (input, context) => {
|
|
|
6003
6159
|
}
|
|
6004
6160
|
if (input.CacheSecurityGroupNames != null) {
|
|
6005
6161
|
const memberEntries = serializeAws_queryCacheSecurityGroupNameList(input.CacheSecurityGroupNames, context);
|
|
6162
|
+
if (input.CacheSecurityGroupNames?.length === 0) {
|
|
6163
|
+
entries.CacheSecurityGroupNames = [];
|
|
6164
|
+
}
|
|
6006
6165
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
6007
6166
|
const loc = `CacheSecurityGroupNames.${key}`;
|
|
6008
6167
|
entries[loc] = value;
|
|
@@ -6010,6 +6169,9 @@ const serializeAws_queryModifyReplicationGroupMessage = (input, context) => {
|
|
|
6010
6169
|
}
|
|
6011
6170
|
if (input.SecurityGroupIds != null) {
|
|
6012
6171
|
const memberEntries = serializeAws_querySecurityGroupIdsList(input.SecurityGroupIds, context);
|
|
6172
|
+
if (input.SecurityGroupIds?.length === 0) {
|
|
6173
|
+
entries.SecurityGroupIds = [];
|
|
6174
|
+
}
|
|
6013
6175
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
6014
6176
|
const loc = `SecurityGroupIds.${key}`;
|
|
6015
6177
|
entries[loc] = value;
|
|
@@ -6053,6 +6215,9 @@ const serializeAws_queryModifyReplicationGroupMessage = (input, context) => {
|
|
|
6053
6215
|
}
|
|
6054
6216
|
if (input.UserGroupIdsToAdd != null) {
|
|
6055
6217
|
const memberEntries = serializeAws_queryUserGroupIdList(input.UserGroupIdsToAdd, context);
|
|
6218
|
+
if (input.UserGroupIdsToAdd?.length === 0) {
|
|
6219
|
+
entries.UserGroupIdsToAdd = [];
|
|
6220
|
+
}
|
|
6056
6221
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
6057
6222
|
const loc = `UserGroupIdsToAdd.${key}`;
|
|
6058
6223
|
entries[loc] = value;
|
|
@@ -6060,6 +6225,9 @@ const serializeAws_queryModifyReplicationGroupMessage = (input, context) => {
|
|
|
6060
6225
|
}
|
|
6061
6226
|
if (input.UserGroupIdsToRemove != null) {
|
|
6062
6227
|
const memberEntries = serializeAws_queryUserGroupIdList(input.UserGroupIdsToRemove, context);
|
|
6228
|
+
if (input.UserGroupIdsToRemove?.length === 0) {
|
|
6229
|
+
entries.UserGroupIdsToRemove = [];
|
|
6230
|
+
}
|
|
6063
6231
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
6064
6232
|
const loc = `UserGroupIdsToRemove.${key}`;
|
|
6065
6233
|
entries[loc] = value;
|
|
@@ -6070,6 +6238,9 @@ const serializeAws_queryModifyReplicationGroupMessage = (input, context) => {
|
|
|
6070
6238
|
}
|
|
6071
6239
|
if (input.LogDeliveryConfigurations != null) {
|
|
6072
6240
|
const memberEntries = serializeAws_queryLogDeliveryConfigurationRequestList(input.LogDeliveryConfigurations, context);
|
|
6241
|
+
if (input.LogDeliveryConfigurations?.length === 0) {
|
|
6242
|
+
entries.LogDeliveryConfigurations = [];
|
|
6243
|
+
}
|
|
6073
6244
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
6074
6245
|
const loc = `LogDeliveryConfigurations.${key}`;
|
|
6075
6246
|
entries[loc] = value;
|
|
@@ -6090,6 +6261,9 @@ const serializeAws_queryModifyReplicationGroupShardConfigurationMessage = (input
|
|
|
6090
6261
|
}
|
|
6091
6262
|
if (input.ReshardingConfiguration != null) {
|
|
6092
6263
|
const memberEntries = serializeAws_queryReshardingConfigurationList(input.ReshardingConfiguration, context);
|
|
6264
|
+
if (input.ReshardingConfiguration?.length === 0) {
|
|
6265
|
+
entries.ReshardingConfiguration = [];
|
|
6266
|
+
}
|
|
6093
6267
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
6094
6268
|
const loc = `ReshardingConfiguration.${key}`;
|
|
6095
6269
|
entries[loc] = value;
|
|
@@ -6097,6 +6271,9 @@ const serializeAws_queryModifyReplicationGroupShardConfigurationMessage = (input
|
|
|
6097
6271
|
}
|
|
6098
6272
|
if (input.NodeGroupsToRemove != null) {
|
|
6099
6273
|
const memberEntries = serializeAws_queryNodeGroupsToRemoveList(input.NodeGroupsToRemove, context);
|
|
6274
|
+
if (input.NodeGroupsToRemove?.length === 0) {
|
|
6275
|
+
entries.NodeGroupsToRemove = [];
|
|
6276
|
+
}
|
|
6100
6277
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
6101
6278
|
const loc = `NodeGroupsToRemove.${key}`;
|
|
6102
6279
|
entries[loc] = value;
|
|
@@ -6104,6 +6281,9 @@ const serializeAws_queryModifyReplicationGroupShardConfigurationMessage = (input
|
|
|
6104
6281
|
}
|
|
6105
6282
|
if (input.NodeGroupsToRetain != null) {
|
|
6106
6283
|
const memberEntries = serializeAws_queryNodeGroupsToRetainList(input.NodeGroupsToRetain, context);
|
|
6284
|
+
if (input.NodeGroupsToRetain?.length === 0) {
|
|
6285
|
+
entries.NodeGroupsToRetain = [];
|
|
6286
|
+
}
|
|
6107
6287
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
6108
6288
|
const loc = `NodeGroupsToRetain.${key}`;
|
|
6109
6289
|
entries[loc] = value;
|
|
@@ -6118,6 +6298,9 @@ const serializeAws_queryModifyUserGroupMessage = (input, context) => {
|
|
|
6118
6298
|
}
|
|
6119
6299
|
if (input.UserIdsToAdd != null) {
|
|
6120
6300
|
const memberEntries = serializeAws_queryUserIdListInput(input.UserIdsToAdd, context);
|
|
6301
|
+
if (input.UserIdsToAdd?.length === 0) {
|
|
6302
|
+
entries.UserIdsToAdd = [];
|
|
6303
|
+
}
|
|
6121
6304
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
6122
6305
|
const loc = `UserIdsToAdd.${key}`;
|
|
6123
6306
|
entries[loc] = value;
|
|
@@ -6125,6 +6308,9 @@ const serializeAws_queryModifyUserGroupMessage = (input, context) => {
|
|
|
6125
6308
|
}
|
|
6126
6309
|
if (input.UserIdsToRemove != null) {
|
|
6127
6310
|
const memberEntries = serializeAws_queryUserIdListInput(input.UserIdsToRemove, context);
|
|
6311
|
+
if (input.UserIdsToRemove?.length === 0) {
|
|
6312
|
+
entries.UserIdsToRemove = [];
|
|
6313
|
+
}
|
|
6128
6314
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
6129
6315
|
const loc = `UserIdsToRemove.${key}`;
|
|
6130
6316
|
entries[loc] = value;
|
|
@@ -6145,6 +6331,9 @@ const serializeAws_queryModifyUserMessage = (input, context) => {
|
|
|
6145
6331
|
}
|
|
6146
6332
|
if (input.Passwords != null) {
|
|
6147
6333
|
const memberEntries = serializeAws_queryPasswordListInput(input.Passwords, context);
|
|
6334
|
+
if (input.Passwords?.length === 0) {
|
|
6335
|
+
entries.Passwords = [];
|
|
6336
|
+
}
|
|
6148
6337
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
6149
6338
|
const loc = `Passwords.${key}`;
|
|
6150
6339
|
entries[loc] = value;
|
|
@@ -6171,6 +6360,9 @@ const serializeAws_queryNodeGroupConfiguration = (input, context) => {
|
|
|
6171
6360
|
}
|
|
6172
6361
|
if (input.ReplicaAvailabilityZones != null) {
|
|
6173
6362
|
const memberEntries = serializeAws_queryAvailabilityZonesList(input.ReplicaAvailabilityZones, context);
|
|
6363
|
+
if (input.ReplicaAvailabilityZones?.length === 0) {
|
|
6364
|
+
entries.ReplicaAvailabilityZones = [];
|
|
6365
|
+
}
|
|
6174
6366
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
6175
6367
|
const loc = `ReplicaAvailabilityZones.${key}`;
|
|
6176
6368
|
entries[loc] = value;
|
|
@@ -6181,6 +6373,9 @@ const serializeAws_queryNodeGroupConfiguration = (input, context) => {
|
|
|
6181
6373
|
}
|
|
6182
6374
|
if (input.ReplicaOutpostArns != null) {
|
|
6183
6375
|
const memberEntries = serializeAws_queryOutpostArnsList(input.ReplicaOutpostArns, context);
|
|
6376
|
+
if (input.ReplicaOutpostArns?.length === 0) {
|
|
6377
|
+
entries.ReplicaOutpostArns = [];
|
|
6378
|
+
}
|
|
6184
6379
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
6185
6380
|
const loc = `ReplicaOutpostArns.${key}`;
|
|
6186
6381
|
entries[loc] = value;
|
|
@@ -6313,6 +6508,9 @@ const serializeAws_queryPurchaseReservedCacheNodesOfferingMessage = (input, cont
|
|
|
6313
6508
|
}
|
|
6314
6509
|
if (input.Tags != null) {
|
|
6315
6510
|
const memberEntries = serializeAws_queryTagList(input.Tags, context);
|
|
6511
|
+
if (input.Tags?.length === 0) {
|
|
6512
|
+
entries.Tags = [];
|
|
6513
|
+
}
|
|
6316
6514
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
6317
6515
|
const loc = `Tags.${key}`;
|
|
6318
6516
|
entries[loc] = value;
|
|
@@ -6337,6 +6535,9 @@ const serializeAws_queryRebootCacheClusterMessage = (input, context) => {
|
|
|
6337
6535
|
}
|
|
6338
6536
|
if (input.CacheNodeIdsToReboot != null) {
|
|
6339
6537
|
const memberEntries = serializeAws_queryCacheNodeIdsList(input.CacheNodeIdsToReboot, context);
|
|
6538
|
+
if (input.CacheNodeIdsToReboot?.length === 0) {
|
|
6539
|
+
entries.CacheNodeIdsToReboot = [];
|
|
6540
|
+
}
|
|
6340
6541
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
6341
6542
|
const loc = `CacheNodeIdsToReboot.${key}`;
|
|
6342
6543
|
entries[loc] = value;
|
|
@@ -6354,6 +6555,9 @@ const serializeAws_queryRegionalConfiguration = (input, context) => {
|
|
|
6354
6555
|
}
|
|
6355
6556
|
if (input.ReshardingConfiguration != null) {
|
|
6356
6557
|
const memberEntries = serializeAws_queryReshardingConfigurationList(input.ReshardingConfiguration, context);
|
|
6558
|
+
if (input.ReshardingConfiguration?.length === 0) {
|
|
6559
|
+
entries.ReshardingConfiguration = [];
|
|
6560
|
+
}
|
|
6357
6561
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
6358
6562
|
const loc = `ReshardingConfiguration.${key}`;
|
|
6359
6563
|
entries[loc] = value;
|
|
@@ -6395,6 +6599,9 @@ const serializeAws_queryRemoveTagsFromResourceMessage = (input, context) => {
|
|
|
6395
6599
|
}
|
|
6396
6600
|
if (input.TagKeys != null) {
|
|
6397
6601
|
const memberEntries = serializeAws_queryKeyList(input.TagKeys, context);
|
|
6602
|
+
if (input.TagKeys?.length === 0) {
|
|
6603
|
+
entries.TagKeys = [];
|
|
6604
|
+
}
|
|
6398
6605
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
6399
6606
|
const loc = `TagKeys.${key}`;
|
|
6400
6607
|
entries[loc] = value;
|
|
@@ -6439,6 +6646,9 @@ const serializeAws_queryResetCacheParameterGroupMessage = (input, context) => {
|
|
|
6439
6646
|
}
|
|
6440
6647
|
if (input.ParameterNameValues != null) {
|
|
6441
6648
|
const memberEntries = serializeAws_queryParameterNameValueList(input.ParameterNameValues, context);
|
|
6649
|
+
if (input.ParameterNameValues?.length === 0) {
|
|
6650
|
+
entries.ParameterNameValues = [];
|
|
6651
|
+
}
|
|
6442
6652
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
6443
6653
|
const loc = `ParameterNameValues.${key}`;
|
|
6444
6654
|
entries[loc] = value;
|
|
@@ -6453,6 +6663,9 @@ const serializeAws_queryReshardingConfiguration = (input, context) => {
|
|
|
6453
6663
|
}
|
|
6454
6664
|
if (input.PreferredAvailabilityZones != null) {
|
|
6455
6665
|
const memberEntries = serializeAws_queryAvailabilityZonesList(input.PreferredAvailabilityZones, context);
|
|
6666
|
+
if (input.PreferredAvailabilityZones?.length === 0) {
|
|
6667
|
+
entries.PreferredAvailabilityZones = [];
|
|
6668
|
+
}
|
|
6456
6669
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
6457
6670
|
const loc = `PreferredAvailabilityZones.${key}`;
|
|
6458
6671
|
entries[loc] = value;
|
|
@@ -6531,6 +6744,9 @@ const serializeAws_queryStartMigrationMessage = (input, context) => {
|
|
|
6531
6744
|
}
|
|
6532
6745
|
if (input.CustomerNodeEndpointList != null) {
|
|
6533
6746
|
const memberEntries = serializeAws_queryCustomerNodeEndpointList(input.CustomerNodeEndpointList, context);
|
|
6747
|
+
if (input.CustomerNodeEndpointList?.length === 0) {
|
|
6748
|
+
entries.CustomerNodeEndpointList = [];
|
|
6749
|
+
}
|
|
6534
6750
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
6535
6751
|
const loc = `CustomerNodeEndpointList.${key}`;
|
|
6536
6752
|
entries[loc] = value;
|