@aws-sdk/client-neptune 3.201.0 → 3.202.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 +11 -0
- package/dist-cjs/protocols/Aws_query.js +198 -0
- package/dist-es/protocols/Aws_query.js +198 -0
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.202.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.201.0...v3.202.0) (2022-11-02)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **codegen:** aws-query protocol, distinguish explicit empty list ([#4003](https://github.com/aws/aws-sdk-js-v3/issues/4003)) ([8e10769](https://github.com/aws/aws-sdk-js-v3/commit/8e10769b6146f93c0674686fa547290292714917))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [3.201.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.200.0...v3.201.0) (2022-11-01)
|
|
7
18
|
|
|
8
19
|
|
|
@@ -4385,6 +4385,9 @@ const serializeAws_queryAddTagsToResourceMessage = (input, context) => {
|
|
|
4385
4385
|
}
|
|
4386
4386
|
if (input.Tags != null) {
|
|
4387
4387
|
const memberEntries = serializeAws_queryTagList(input.Tags, context);
|
|
4388
|
+
if (input.Tags?.length === 0) {
|
|
4389
|
+
entries.Tags = [];
|
|
4390
|
+
}
|
|
4388
4391
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4389
4392
|
const loc = `Tags.${key}`;
|
|
4390
4393
|
entries[loc] = value;
|
|
@@ -4433,6 +4436,9 @@ const serializeAws_queryCloudwatchLogsExportConfiguration = (input, context) =>
|
|
|
4433
4436
|
const entries = {};
|
|
4434
4437
|
if (input.EnableLogTypes != null) {
|
|
4435
4438
|
const memberEntries = serializeAws_queryLogTypeList(input.EnableLogTypes, context);
|
|
4439
|
+
if (input.EnableLogTypes?.length === 0) {
|
|
4440
|
+
entries.EnableLogTypes = [];
|
|
4441
|
+
}
|
|
4436
4442
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4437
4443
|
const loc = `EnableLogTypes.${key}`;
|
|
4438
4444
|
entries[loc] = value;
|
|
@@ -4440,6 +4446,9 @@ const serializeAws_queryCloudwatchLogsExportConfiguration = (input, context) =>
|
|
|
4440
4446
|
}
|
|
4441
4447
|
if (input.DisableLogTypes != null) {
|
|
4442
4448
|
const memberEntries = serializeAws_queryLogTypeList(input.DisableLogTypes, context);
|
|
4449
|
+
if (input.DisableLogTypes?.length === 0) {
|
|
4450
|
+
entries.DisableLogTypes = [];
|
|
4451
|
+
}
|
|
4443
4452
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4444
4453
|
const loc = `DisableLogTypes.${key}`;
|
|
4445
4454
|
entries[loc] = value;
|
|
@@ -4460,6 +4469,9 @@ const serializeAws_queryCopyDBClusterParameterGroupMessage = (input, context) =>
|
|
|
4460
4469
|
}
|
|
4461
4470
|
if (input.Tags != null) {
|
|
4462
4471
|
const memberEntries = serializeAws_queryTagList(input.Tags, context);
|
|
4472
|
+
if (input.Tags?.length === 0) {
|
|
4473
|
+
entries.Tags = [];
|
|
4474
|
+
}
|
|
4463
4475
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4464
4476
|
const loc = `Tags.${key}`;
|
|
4465
4477
|
entries[loc] = value;
|
|
@@ -4486,6 +4498,9 @@ const serializeAws_queryCopyDBClusterSnapshotMessage = (input, context) => {
|
|
|
4486
4498
|
}
|
|
4487
4499
|
if (input.Tags != null) {
|
|
4488
4500
|
const memberEntries = serializeAws_queryTagList(input.Tags, context);
|
|
4501
|
+
if (input.Tags?.length === 0) {
|
|
4502
|
+
entries.Tags = [];
|
|
4503
|
+
}
|
|
4489
4504
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4490
4505
|
const loc = `Tags.${key}`;
|
|
4491
4506
|
entries[loc] = value;
|
|
@@ -4506,6 +4521,9 @@ const serializeAws_queryCopyDBParameterGroupMessage = (input, context) => {
|
|
|
4506
4521
|
}
|
|
4507
4522
|
if (input.Tags != null) {
|
|
4508
4523
|
const memberEntries = serializeAws_queryTagList(input.Tags, context);
|
|
4524
|
+
if (input.Tags?.length === 0) {
|
|
4525
|
+
entries.Tags = [];
|
|
4526
|
+
}
|
|
4509
4527
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4510
4528
|
const loc = `Tags.${key}`;
|
|
4511
4529
|
entries[loc] = value;
|
|
@@ -4526,6 +4544,9 @@ const serializeAws_queryCreateDBClusterEndpointMessage = (input, context) => {
|
|
|
4526
4544
|
}
|
|
4527
4545
|
if (input.StaticMembers != null) {
|
|
4528
4546
|
const memberEntries = serializeAws_queryStringList(input.StaticMembers, context);
|
|
4547
|
+
if (input.StaticMembers?.length === 0) {
|
|
4548
|
+
entries.StaticMembers = [];
|
|
4549
|
+
}
|
|
4529
4550
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4530
4551
|
const loc = `StaticMembers.${key}`;
|
|
4531
4552
|
entries[loc] = value;
|
|
@@ -4533,6 +4554,9 @@ const serializeAws_queryCreateDBClusterEndpointMessage = (input, context) => {
|
|
|
4533
4554
|
}
|
|
4534
4555
|
if (input.ExcludedMembers != null) {
|
|
4535
4556
|
const memberEntries = serializeAws_queryStringList(input.ExcludedMembers, context);
|
|
4557
|
+
if (input.ExcludedMembers?.length === 0) {
|
|
4558
|
+
entries.ExcludedMembers = [];
|
|
4559
|
+
}
|
|
4536
4560
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4537
4561
|
const loc = `ExcludedMembers.${key}`;
|
|
4538
4562
|
entries[loc] = value;
|
|
@@ -4540,6 +4564,9 @@ const serializeAws_queryCreateDBClusterEndpointMessage = (input, context) => {
|
|
|
4540
4564
|
}
|
|
4541
4565
|
if (input.Tags != null) {
|
|
4542
4566
|
const memberEntries = serializeAws_queryTagList(input.Tags, context);
|
|
4567
|
+
if (input.Tags?.length === 0) {
|
|
4568
|
+
entries.Tags = [];
|
|
4569
|
+
}
|
|
4543
4570
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4544
4571
|
const loc = `Tags.${key}`;
|
|
4545
4572
|
entries[loc] = value;
|
|
@@ -4551,6 +4578,9 @@ const serializeAws_queryCreateDBClusterMessage = (input, context) => {
|
|
|
4551
4578
|
const entries = {};
|
|
4552
4579
|
if (input.AvailabilityZones != null) {
|
|
4553
4580
|
const memberEntries = serializeAws_queryAvailabilityZones(input.AvailabilityZones, context);
|
|
4581
|
+
if (input.AvailabilityZones?.length === 0) {
|
|
4582
|
+
entries.AvailabilityZones = [];
|
|
4583
|
+
}
|
|
4554
4584
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4555
4585
|
const loc = `AvailabilityZones.${key}`;
|
|
4556
4586
|
entries[loc] = value;
|
|
@@ -4576,6 +4606,9 @@ const serializeAws_queryCreateDBClusterMessage = (input, context) => {
|
|
|
4576
4606
|
}
|
|
4577
4607
|
if (input.VpcSecurityGroupIds != null) {
|
|
4578
4608
|
const memberEntries = serializeAws_queryVpcSecurityGroupIdList(input.VpcSecurityGroupIds, context);
|
|
4609
|
+
if (input.VpcSecurityGroupIds?.length === 0) {
|
|
4610
|
+
entries.VpcSecurityGroupIds = [];
|
|
4611
|
+
}
|
|
4579
4612
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4580
4613
|
const loc = `VpcSecurityGroupIds.${key}`;
|
|
4581
4614
|
entries[loc] = value;
|
|
@@ -4613,6 +4646,9 @@ const serializeAws_queryCreateDBClusterMessage = (input, context) => {
|
|
|
4613
4646
|
}
|
|
4614
4647
|
if (input.Tags != null) {
|
|
4615
4648
|
const memberEntries = serializeAws_queryTagList(input.Tags, context);
|
|
4649
|
+
if (input.Tags?.length === 0) {
|
|
4650
|
+
entries.Tags = [];
|
|
4651
|
+
}
|
|
4616
4652
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4617
4653
|
const loc = `Tags.${key}`;
|
|
4618
4654
|
entries[loc] = value;
|
|
@@ -4632,6 +4668,9 @@ const serializeAws_queryCreateDBClusterMessage = (input, context) => {
|
|
|
4632
4668
|
}
|
|
4633
4669
|
if (input.EnableCloudwatchLogsExports != null) {
|
|
4634
4670
|
const memberEntries = serializeAws_queryLogTypeList(input.EnableCloudwatchLogsExports, context);
|
|
4671
|
+
if (input.EnableCloudwatchLogsExports?.length === 0) {
|
|
4672
|
+
entries.EnableCloudwatchLogsExports = [];
|
|
4673
|
+
}
|
|
4635
4674
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4636
4675
|
const loc = `EnableCloudwatchLogsExports.${key}`;
|
|
4637
4676
|
entries[loc] = value;
|
|
@@ -4665,6 +4704,9 @@ const serializeAws_queryCreateDBClusterParameterGroupMessage = (input, context)
|
|
|
4665
4704
|
}
|
|
4666
4705
|
if (input.Tags != null) {
|
|
4667
4706
|
const memberEntries = serializeAws_queryTagList(input.Tags, context);
|
|
4707
|
+
if (input.Tags?.length === 0) {
|
|
4708
|
+
entries.Tags = [];
|
|
4709
|
+
}
|
|
4668
4710
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4669
4711
|
const loc = `Tags.${key}`;
|
|
4670
4712
|
entries[loc] = value;
|
|
@@ -4682,6 +4724,9 @@ const serializeAws_queryCreateDBClusterSnapshotMessage = (input, context) => {
|
|
|
4682
4724
|
}
|
|
4683
4725
|
if (input.Tags != null) {
|
|
4684
4726
|
const memberEntries = serializeAws_queryTagList(input.Tags, context);
|
|
4727
|
+
if (input.Tags?.length === 0) {
|
|
4728
|
+
entries.Tags = [];
|
|
4729
|
+
}
|
|
4685
4730
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4686
4731
|
const loc = `Tags.${key}`;
|
|
4687
4732
|
entries[loc] = value;
|
|
@@ -4714,6 +4759,9 @@ const serializeAws_queryCreateDBInstanceMessage = (input, context) => {
|
|
|
4714
4759
|
}
|
|
4715
4760
|
if (input.DBSecurityGroups != null) {
|
|
4716
4761
|
const memberEntries = serializeAws_queryDBSecurityGroupNameList(input.DBSecurityGroups, context);
|
|
4762
|
+
if (input.DBSecurityGroups?.length === 0) {
|
|
4763
|
+
entries.DBSecurityGroups = [];
|
|
4764
|
+
}
|
|
4717
4765
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4718
4766
|
const loc = `DBSecurityGroups.${key}`;
|
|
4719
4767
|
entries[loc] = value;
|
|
@@ -4721,6 +4769,9 @@ const serializeAws_queryCreateDBInstanceMessage = (input, context) => {
|
|
|
4721
4769
|
}
|
|
4722
4770
|
if (input.VpcSecurityGroupIds != null) {
|
|
4723
4771
|
const memberEntries = serializeAws_queryVpcSecurityGroupIdList(input.VpcSecurityGroupIds, context);
|
|
4772
|
+
if (input.VpcSecurityGroupIds?.length === 0) {
|
|
4773
|
+
entries.VpcSecurityGroupIds = [];
|
|
4774
|
+
}
|
|
4724
4775
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4725
4776
|
const loc = `VpcSecurityGroupIds.${key}`;
|
|
4726
4777
|
entries[loc] = value;
|
|
@@ -4773,6 +4824,9 @@ const serializeAws_queryCreateDBInstanceMessage = (input, context) => {
|
|
|
4773
4824
|
}
|
|
4774
4825
|
if (input.Tags != null) {
|
|
4775
4826
|
const memberEntries = serializeAws_queryTagList(input.Tags, context);
|
|
4827
|
+
if (input.Tags?.length === 0) {
|
|
4828
|
+
entries.Tags = [];
|
|
4829
|
+
}
|
|
4776
4830
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4777
4831
|
const loc = `Tags.${key}`;
|
|
4778
4832
|
entries[loc] = value;
|
|
@@ -4828,6 +4882,9 @@ const serializeAws_queryCreateDBInstanceMessage = (input, context) => {
|
|
|
4828
4882
|
}
|
|
4829
4883
|
if (input.EnableCloudwatchLogsExports != null) {
|
|
4830
4884
|
const memberEntries = serializeAws_queryLogTypeList(input.EnableCloudwatchLogsExports, context);
|
|
4885
|
+
if (input.EnableCloudwatchLogsExports?.length === 0) {
|
|
4886
|
+
entries.EnableCloudwatchLogsExports = [];
|
|
4887
|
+
}
|
|
4831
4888
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4832
4889
|
const loc = `EnableCloudwatchLogsExports.${key}`;
|
|
4833
4890
|
entries[loc] = value;
|
|
@@ -4851,6 +4908,9 @@ const serializeAws_queryCreateDBParameterGroupMessage = (input, context) => {
|
|
|
4851
4908
|
}
|
|
4852
4909
|
if (input.Tags != null) {
|
|
4853
4910
|
const memberEntries = serializeAws_queryTagList(input.Tags, context);
|
|
4911
|
+
if (input.Tags?.length === 0) {
|
|
4912
|
+
entries.Tags = [];
|
|
4913
|
+
}
|
|
4854
4914
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4855
4915
|
const loc = `Tags.${key}`;
|
|
4856
4916
|
entries[loc] = value;
|
|
@@ -4868,6 +4928,9 @@ const serializeAws_queryCreateDBSubnetGroupMessage = (input, context) => {
|
|
|
4868
4928
|
}
|
|
4869
4929
|
if (input.SubnetIds != null) {
|
|
4870
4930
|
const memberEntries = serializeAws_querySubnetIdentifierList(input.SubnetIds, context);
|
|
4931
|
+
if (input.SubnetIds?.length === 0) {
|
|
4932
|
+
entries.SubnetIds = [];
|
|
4933
|
+
}
|
|
4871
4934
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4872
4935
|
const loc = `SubnetIds.${key}`;
|
|
4873
4936
|
entries[loc] = value;
|
|
@@ -4875,6 +4938,9 @@ const serializeAws_queryCreateDBSubnetGroupMessage = (input, context) => {
|
|
|
4875
4938
|
}
|
|
4876
4939
|
if (input.Tags != null) {
|
|
4877
4940
|
const memberEntries = serializeAws_queryTagList(input.Tags, context);
|
|
4941
|
+
if (input.Tags?.length === 0) {
|
|
4942
|
+
entries.Tags = [];
|
|
4943
|
+
}
|
|
4878
4944
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4879
4945
|
const loc = `Tags.${key}`;
|
|
4880
4946
|
entries[loc] = value;
|
|
@@ -4895,6 +4961,9 @@ const serializeAws_queryCreateEventSubscriptionMessage = (input, context) => {
|
|
|
4895
4961
|
}
|
|
4896
4962
|
if (input.EventCategories != null) {
|
|
4897
4963
|
const memberEntries = serializeAws_queryEventCategoriesList(input.EventCategories, context);
|
|
4964
|
+
if (input.EventCategories?.length === 0) {
|
|
4965
|
+
entries.EventCategories = [];
|
|
4966
|
+
}
|
|
4898
4967
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4899
4968
|
const loc = `EventCategories.${key}`;
|
|
4900
4969
|
entries[loc] = value;
|
|
@@ -4902,6 +4971,9 @@ const serializeAws_queryCreateEventSubscriptionMessage = (input, context) => {
|
|
|
4902
4971
|
}
|
|
4903
4972
|
if (input.SourceIds != null) {
|
|
4904
4973
|
const memberEntries = serializeAws_querySourceIdsList(input.SourceIds, context);
|
|
4974
|
+
if (input.SourceIds?.length === 0) {
|
|
4975
|
+
entries.SourceIds = [];
|
|
4976
|
+
}
|
|
4905
4977
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4906
4978
|
const loc = `SourceIds.${key}`;
|
|
4907
4979
|
entries[loc] = value;
|
|
@@ -4912,6 +4984,9 @@ const serializeAws_queryCreateEventSubscriptionMessage = (input, context) => {
|
|
|
4912
4984
|
}
|
|
4913
4985
|
if (input.Tags != null) {
|
|
4914
4986
|
const memberEntries = serializeAws_queryTagList(input.Tags, context);
|
|
4987
|
+
if (input.Tags?.length === 0) {
|
|
4988
|
+
entries.Tags = [];
|
|
4989
|
+
}
|
|
4915
4990
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4916
4991
|
const loc = `Tags.${key}`;
|
|
4917
4992
|
entries[loc] = value;
|
|
@@ -5038,6 +5113,9 @@ const serializeAws_queryDescribeDBClusterEndpointsMessage = (input, context) =>
|
|
|
5038
5113
|
}
|
|
5039
5114
|
if (input.Filters != null) {
|
|
5040
5115
|
const memberEntries = serializeAws_queryFilterList(input.Filters, context);
|
|
5116
|
+
if (input.Filters?.length === 0) {
|
|
5117
|
+
entries.Filters = [];
|
|
5118
|
+
}
|
|
5041
5119
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5042
5120
|
const loc = `Filters.${key}`;
|
|
5043
5121
|
entries[loc] = value;
|
|
@@ -5058,6 +5136,9 @@ const serializeAws_queryDescribeDBClusterParameterGroupsMessage = (input, contex
|
|
|
5058
5136
|
}
|
|
5059
5137
|
if (input.Filters != null) {
|
|
5060
5138
|
const memberEntries = serializeAws_queryFilterList(input.Filters, context);
|
|
5139
|
+
if (input.Filters?.length === 0) {
|
|
5140
|
+
entries.Filters = [];
|
|
5141
|
+
}
|
|
5061
5142
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5062
5143
|
const loc = `Filters.${key}`;
|
|
5063
5144
|
entries[loc] = value;
|
|
@@ -5081,6 +5162,9 @@ const serializeAws_queryDescribeDBClusterParametersMessage = (input, context) =>
|
|
|
5081
5162
|
}
|
|
5082
5163
|
if (input.Filters != null) {
|
|
5083
5164
|
const memberEntries = serializeAws_queryFilterList(input.Filters, context);
|
|
5165
|
+
if (input.Filters?.length === 0) {
|
|
5166
|
+
entries.Filters = [];
|
|
5167
|
+
}
|
|
5084
5168
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5085
5169
|
const loc = `Filters.${key}`;
|
|
5086
5170
|
entries[loc] = value;
|
|
@@ -5101,6 +5185,9 @@ const serializeAws_queryDescribeDBClustersMessage = (input, context) => {
|
|
|
5101
5185
|
}
|
|
5102
5186
|
if (input.Filters != null) {
|
|
5103
5187
|
const memberEntries = serializeAws_queryFilterList(input.Filters, context);
|
|
5188
|
+
if (input.Filters?.length === 0) {
|
|
5189
|
+
entries.Filters = [];
|
|
5190
|
+
}
|
|
5104
5191
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5105
5192
|
const loc = `Filters.${key}`;
|
|
5106
5193
|
entries[loc] = value;
|
|
@@ -5134,6 +5221,9 @@ const serializeAws_queryDescribeDBClusterSnapshotsMessage = (input, context) =>
|
|
|
5134
5221
|
}
|
|
5135
5222
|
if (input.Filters != null) {
|
|
5136
5223
|
const memberEntries = serializeAws_queryFilterList(input.Filters, context);
|
|
5224
|
+
if (input.Filters?.length === 0) {
|
|
5225
|
+
entries.Filters = [];
|
|
5226
|
+
}
|
|
5137
5227
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5138
5228
|
const loc = `Filters.${key}`;
|
|
5139
5229
|
entries[loc] = value;
|
|
@@ -5166,6 +5256,9 @@ const serializeAws_queryDescribeDBEngineVersionsMessage = (input, context) => {
|
|
|
5166
5256
|
}
|
|
5167
5257
|
if (input.Filters != null) {
|
|
5168
5258
|
const memberEntries = serializeAws_queryFilterList(input.Filters, context);
|
|
5259
|
+
if (input.Filters?.length === 0) {
|
|
5260
|
+
entries.Filters = [];
|
|
5261
|
+
}
|
|
5169
5262
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5170
5263
|
const loc = `Filters.${key}`;
|
|
5171
5264
|
entries[loc] = value;
|
|
@@ -5195,6 +5288,9 @@ const serializeAws_queryDescribeDBInstancesMessage = (input, context) => {
|
|
|
5195
5288
|
}
|
|
5196
5289
|
if (input.Filters != null) {
|
|
5197
5290
|
const memberEntries = serializeAws_queryFilterList(input.Filters, context);
|
|
5291
|
+
if (input.Filters?.length === 0) {
|
|
5292
|
+
entries.Filters = [];
|
|
5293
|
+
}
|
|
5198
5294
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5199
5295
|
const loc = `Filters.${key}`;
|
|
5200
5296
|
entries[loc] = value;
|
|
@@ -5215,6 +5311,9 @@ const serializeAws_queryDescribeDBParameterGroupsMessage = (input, context) => {
|
|
|
5215
5311
|
}
|
|
5216
5312
|
if (input.Filters != null) {
|
|
5217
5313
|
const memberEntries = serializeAws_queryFilterList(input.Filters, context);
|
|
5314
|
+
if (input.Filters?.length === 0) {
|
|
5315
|
+
entries.Filters = [];
|
|
5316
|
+
}
|
|
5218
5317
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5219
5318
|
const loc = `Filters.${key}`;
|
|
5220
5319
|
entries[loc] = value;
|
|
@@ -5238,6 +5337,9 @@ const serializeAws_queryDescribeDBParametersMessage = (input, context) => {
|
|
|
5238
5337
|
}
|
|
5239
5338
|
if (input.Filters != null) {
|
|
5240
5339
|
const memberEntries = serializeAws_queryFilterList(input.Filters, context);
|
|
5340
|
+
if (input.Filters?.length === 0) {
|
|
5341
|
+
entries.Filters = [];
|
|
5342
|
+
}
|
|
5241
5343
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5242
5344
|
const loc = `Filters.${key}`;
|
|
5243
5345
|
entries[loc] = value;
|
|
@@ -5258,6 +5360,9 @@ const serializeAws_queryDescribeDBSubnetGroupsMessage = (input, context) => {
|
|
|
5258
5360
|
}
|
|
5259
5361
|
if (input.Filters != null) {
|
|
5260
5362
|
const memberEntries = serializeAws_queryFilterList(input.Filters, context);
|
|
5363
|
+
if (input.Filters?.length === 0) {
|
|
5364
|
+
entries.Filters = [];
|
|
5365
|
+
}
|
|
5261
5366
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5262
5367
|
const loc = `Filters.${key}`;
|
|
5263
5368
|
entries[loc] = value;
|
|
@@ -5278,6 +5383,9 @@ const serializeAws_queryDescribeEngineDefaultClusterParametersMessage = (input,
|
|
|
5278
5383
|
}
|
|
5279
5384
|
if (input.Filters != null) {
|
|
5280
5385
|
const memberEntries = serializeAws_queryFilterList(input.Filters, context);
|
|
5386
|
+
if (input.Filters?.length === 0) {
|
|
5387
|
+
entries.Filters = [];
|
|
5388
|
+
}
|
|
5281
5389
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5282
5390
|
const loc = `Filters.${key}`;
|
|
5283
5391
|
entries[loc] = value;
|
|
@@ -5298,6 +5406,9 @@ const serializeAws_queryDescribeEngineDefaultParametersMessage = (input, context
|
|
|
5298
5406
|
}
|
|
5299
5407
|
if (input.Filters != null) {
|
|
5300
5408
|
const memberEntries = serializeAws_queryFilterList(input.Filters, context);
|
|
5409
|
+
if (input.Filters?.length === 0) {
|
|
5410
|
+
entries.Filters = [];
|
|
5411
|
+
}
|
|
5301
5412
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5302
5413
|
const loc = `Filters.${key}`;
|
|
5303
5414
|
entries[loc] = value;
|
|
@@ -5318,6 +5429,9 @@ const serializeAws_queryDescribeEventCategoriesMessage = (input, context) => {
|
|
|
5318
5429
|
}
|
|
5319
5430
|
if (input.Filters != null) {
|
|
5320
5431
|
const memberEntries = serializeAws_queryFilterList(input.Filters, context);
|
|
5432
|
+
if (input.Filters?.length === 0) {
|
|
5433
|
+
entries.Filters = [];
|
|
5434
|
+
}
|
|
5321
5435
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5322
5436
|
const loc = `Filters.${key}`;
|
|
5323
5437
|
entries[loc] = value;
|
|
@@ -5344,6 +5458,9 @@ const serializeAws_queryDescribeEventsMessage = (input, context) => {
|
|
|
5344
5458
|
}
|
|
5345
5459
|
if (input.EventCategories != null) {
|
|
5346
5460
|
const memberEntries = serializeAws_queryEventCategoriesList(input.EventCategories, context);
|
|
5461
|
+
if (input.EventCategories?.length === 0) {
|
|
5462
|
+
entries.EventCategories = [];
|
|
5463
|
+
}
|
|
5347
5464
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5348
5465
|
const loc = `EventCategories.${key}`;
|
|
5349
5466
|
entries[loc] = value;
|
|
@@ -5351,6 +5468,9 @@ const serializeAws_queryDescribeEventsMessage = (input, context) => {
|
|
|
5351
5468
|
}
|
|
5352
5469
|
if (input.Filters != null) {
|
|
5353
5470
|
const memberEntries = serializeAws_queryFilterList(input.Filters, context);
|
|
5471
|
+
if (input.Filters?.length === 0) {
|
|
5472
|
+
entries.Filters = [];
|
|
5473
|
+
}
|
|
5354
5474
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5355
5475
|
const loc = `Filters.${key}`;
|
|
5356
5476
|
entries[loc] = value;
|
|
@@ -5371,6 +5491,9 @@ const serializeAws_queryDescribeEventSubscriptionsMessage = (input, context) =>
|
|
|
5371
5491
|
}
|
|
5372
5492
|
if (input.Filters != null) {
|
|
5373
5493
|
const memberEntries = serializeAws_queryFilterList(input.Filters, context);
|
|
5494
|
+
if (input.Filters?.length === 0) {
|
|
5495
|
+
entries.Filters = [];
|
|
5496
|
+
}
|
|
5374
5497
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5375
5498
|
const loc = `Filters.${key}`;
|
|
5376
5499
|
entries[loc] = value;
|
|
@@ -5416,6 +5539,9 @@ const serializeAws_queryDescribeOrderableDBInstanceOptionsMessage = (input, cont
|
|
|
5416
5539
|
}
|
|
5417
5540
|
if (input.Filters != null) {
|
|
5418
5541
|
const memberEntries = serializeAws_queryFilterList(input.Filters, context);
|
|
5542
|
+
if (input.Filters?.length === 0) {
|
|
5543
|
+
entries.Filters = [];
|
|
5544
|
+
}
|
|
5419
5545
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5420
5546
|
const loc = `Filters.${key}`;
|
|
5421
5547
|
entries[loc] = value;
|
|
@@ -5436,6 +5562,9 @@ const serializeAws_queryDescribePendingMaintenanceActionsMessage = (input, conte
|
|
|
5436
5562
|
}
|
|
5437
5563
|
if (input.Filters != null) {
|
|
5438
5564
|
const memberEntries = serializeAws_queryFilterList(input.Filters, context);
|
|
5565
|
+
if (input.Filters?.length === 0) {
|
|
5566
|
+
entries.Filters = [];
|
|
5567
|
+
}
|
|
5439
5568
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5440
5569
|
const loc = `Filters.${key}`;
|
|
5441
5570
|
entries[loc] = value;
|
|
@@ -5495,6 +5624,9 @@ const serializeAws_queryFilter = (input, context) => {
|
|
|
5495
5624
|
}
|
|
5496
5625
|
if (input.Values != null) {
|
|
5497
5626
|
const memberEntries = serializeAws_queryFilterValueList(input.Values, context);
|
|
5627
|
+
if (input.Values?.length === 0) {
|
|
5628
|
+
entries.Values = [];
|
|
5629
|
+
}
|
|
5498
5630
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5499
5631
|
const loc = `Values.${key}`;
|
|
5500
5632
|
entries[loc] = value;
|
|
@@ -5548,6 +5680,9 @@ const serializeAws_queryListTagsForResourceMessage = (input, context) => {
|
|
|
5548
5680
|
}
|
|
5549
5681
|
if (input.Filters != null) {
|
|
5550
5682
|
const memberEntries = serializeAws_queryFilterList(input.Filters, context);
|
|
5683
|
+
if (input.Filters?.length === 0) {
|
|
5684
|
+
entries.Filters = [];
|
|
5685
|
+
}
|
|
5551
5686
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5552
5687
|
const loc = `Filters.${key}`;
|
|
5553
5688
|
entries[loc] = value;
|
|
@@ -5577,6 +5712,9 @@ const serializeAws_queryModifyDBClusterEndpointMessage = (input, context) => {
|
|
|
5577
5712
|
}
|
|
5578
5713
|
if (input.StaticMembers != null) {
|
|
5579
5714
|
const memberEntries = serializeAws_queryStringList(input.StaticMembers, context);
|
|
5715
|
+
if (input.StaticMembers?.length === 0) {
|
|
5716
|
+
entries.StaticMembers = [];
|
|
5717
|
+
}
|
|
5580
5718
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5581
5719
|
const loc = `StaticMembers.${key}`;
|
|
5582
5720
|
entries[loc] = value;
|
|
@@ -5584,6 +5722,9 @@ const serializeAws_queryModifyDBClusterEndpointMessage = (input, context) => {
|
|
|
5584
5722
|
}
|
|
5585
5723
|
if (input.ExcludedMembers != null) {
|
|
5586
5724
|
const memberEntries = serializeAws_queryStringList(input.ExcludedMembers, context);
|
|
5725
|
+
if (input.ExcludedMembers?.length === 0) {
|
|
5726
|
+
entries.ExcludedMembers = [];
|
|
5727
|
+
}
|
|
5587
5728
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5588
5729
|
const loc = `ExcludedMembers.${key}`;
|
|
5589
5730
|
entries[loc] = value;
|
|
@@ -5610,6 +5751,9 @@ const serializeAws_queryModifyDBClusterMessage = (input, context) => {
|
|
|
5610
5751
|
}
|
|
5611
5752
|
if (input.VpcSecurityGroupIds != null) {
|
|
5612
5753
|
const memberEntries = serializeAws_queryVpcSecurityGroupIdList(input.VpcSecurityGroupIds, context);
|
|
5754
|
+
if (input.VpcSecurityGroupIds?.length === 0) {
|
|
5755
|
+
entries.VpcSecurityGroupIds = [];
|
|
5756
|
+
}
|
|
5613
5757
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5614
5758
|
const loc = `VpcSecurityGroupIds.${key}`;
|
|
5615
5759
|
entries[loc] = value;
|
|
@@ -5671,6 +5815,9 @@ const serializeAws_queryModifyDBClusterParameterGroupMessage = (input, context)
|
|
|
5671
5815
|
}
|
|
5672
5816
|
if (input.Parameters != null) {
|
|
5673
5817
|
const memberEntries = serializeAws_queryParametersList(input.Parameters, context);
|
|
5818
|
+
if (input.Parameters?.length === 0) {
|
|
5819
|
+
entries.Parameters = [];
|
|
5820
|
+
}
|
|
5674
5821
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5675
5822
|
const loc = `Parameters.${key}`;
|
|
5676
5823
|
entries[loc] = value;
|
|
@@ -5688,6 +5835,9 @@ const serializeAws_queryModifyDBClusterSnapshotAttributeMessage = (input, contex
|
|
|
5688
5835
|
}
|
|
5689
5836
|
if (input.ValuesToAdd != null) {
|
|
5690
5837
|
const memberEntries = serializeAws_queryAttributeValueList(input.ValuesToAdd, context);
|
|
5838
|
+
if (input.ValuesToAdd?.length === 0) {
|
|
5839
|
+
entries.ValuesToAdd = [];
|
|
5840
|
+
}
|
|
5691
5841
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5692
5842
|
const loc = `ValuesToAdd.${key}`;
|
|
5693
5843
|
entries[loc] = value;
|
|
@@ -5695,6 +5845,9 @@ const serializeAws_queryModifyDBClusterSnapshotAttributeMessage = (input, contex
|
|
|
5695
5845
|
}
|
|
5696
5846
|
if (input.ValuesToRemove != null) {
|
|
5697
5847
|
const memberEntries = serializeAws_queryAttributeValueList(input.ValuesToRemove, context);
|
|
5848
|
+
if (input.ValuesToRemove?.length === 0) {
|
|
5849
|
+
entries.ValuesToRemove = [];
|
|
5850
|
+
}
|
|
5698
5851
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5699
5852
|
const loc = `ValuesToRemove.${key}`;
|
|
5700
5853
|
entries[loc] = value;
|
|
@@ -5718,6 +5871,9 @@ const serializeAws_queryModifyDBInstanceMessage = (input, context) => {
|
|
|
5718
5871
|
}
|
|
5719
5872
|
if (input.DBSecurityGroups != null) {
|
|
5720
5873
|
const memberEntries = serializeAws_queryDBSecurityGroupNameList(input.DBSecurityGroups, context);
|
|
5874
|
+
if (input.DBSecurityGroups?.length === 0) {
|
|
5875
|
+
entries.DBSecurityGroups = [];
|
|
5876
|
+
}
|
|
5721
5877
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5722
5878
|
const loc = `DBSecurityGroups.${key}`;
|
|
5723
5879
|
entries[loc] = value;
|
|
@@ -5725,6 +5881,9 @@ const serializeAws_queryModifyDBInstanceMessage = (input, context) => {
|
|
|
5725
5881
|
}
|
|
5726
5882
|
if (input.VpcSecurityGroupIds != null) {
|
|
5727
5883
|
const memberEntries = serializeAws_queryVpcSecurityGroupIdList(input.VpcSecurityGroupIds, context);
|
|
5884
|
+
if (input.VpcSecurityGroupIds?.length === 0) {
|
|
5885
|
+
entries.VpcSecurityGroupIds = [];
|
|
5886
|
+
}
|
|
5728
5887
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5729
5888
|
const loc = `VpcSecurityGroupIds.${key}`;
|
|
5730
5889
|
entries[loc] = value;
|
|
@@ -5836,6 +5995,9 @@ const serializeAws_queryModifyDBParameterGroupMessage = (input, context) => {
|
|
|
5836
5995
|
}
|
|
5837
5996
|
if (input.Parameters != null) {
|
|
5838
5997
|
const memberEntries = serializeAws_queryParametersList(input.Parameters, context);
|
|
5998
|
+
if (input.Parameters?.length === 0) {
|
|
5999
|
+
entries.Parameters = [];
|
|
6000
|
+
}
|
|
5839
6001
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5840
6002
|
const loc = `Parameters.${key}`;
|
|
5841
6003
|
entries[loc] = value;
|
|
@@ -5853,6 +6015,9 @@ const serializeAws_queryModifyDBSubnetGroupMessage = (input, context) => {
|
|
|
5853
6015
|
}
|
|
5854
6016
|
if (input.SubnetIds != null) {
|
|
5855
6017
|
const memberEntries = serializeAws_querySubnetIdentifierList(input.SubnetIds, context);
|
|
6018
|
+
if (input.SubnetIds?.length === 0) {
|
|
6019
|
+
entries.SubnetIds = [];
|
|
6020
|
+
}
|
|
5856
6021
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5857
6022
|
const loc = `SubnetIds.${key}`;
|
|
5858
6023
|
entries[loc] = value;
|
|
@@ -5873,6 +6038,9 @@ const serializeAws_queryModifyEventSubscriptionMessage = (input, context) => {
|
|
|
5873
6038
|
}
|
|
5874
6039
|
if (input.EventCategories != null) {
|
|
5875
6040
|
const memberEntries = serializeAws_queryEventCategoriesList(input.EventCategories, context);
|
|
6041
|
+
if (input.EventCategories?.length === 0) {
|
|
6042
|
+
entries.EventCategories = [];
|
|
6043
|
+
}
|
|
5876
6044
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5877
6045
|
const loc = `EventCategories.${key}`;
|
|
5878
6046
|
entries[loc] = value;
|
|
@@ -6008,6 +6176,9 @@ const serializeAws_queryRemoveTagsFromResourceMessage = (input, context) => {
|
|
|
6008
6176
|
}
|
|
6009
6177
|
if (input.TagKeys != null) {
|
|
6010
6178
|
const memberEntries = serializeAws_queryKeyList(input.TagKeys, context);
|
|
6179
|
+
if (input.TagKeys?.length === 0) {
|
|
6180
|
+
entries.TagKeys = [];
|
|
6181
|
+
}
|
|
6011
6182
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
6012
6183
|
const loc = `TagKeys.${key}`;
|
|
6013
6184
|
entries[loc] = value;
|
|
@@ -6025,6 +6196,9 @@ const serializeAws_queryResetDBClusterParameterGroupMessage = (input, context) =
|
|
|
6025
6196
|
}
|
|
6026
6197
|
if (input.Parameters != null) {
|
|
6027
6198
|
const memberEntries = serializeAws_queryParametersList(input.Parameters, context);
|
|
6199
|
+
if (input.Parameters?.length === 0) {
|
|
6200
|
+
entries.Parameters = [];
|
|
6201
|
+
}
|
|
6028
6202
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
6029
6203
|
const loc = `Parameters.${key}`;
|
|
6030
6204
|
entries[loc] = value;
|
|
@@ -6042,6 +6216,9 @@ const serializeAws_queryResetDBParameterGroupMessage = (input, context) => {
|
|
|
6042
6216
|
}
|
|
6043
6217
|
if (input.Parameters != null) {
|
|
6044
6218
|
const memberEntries = serializeAws_queryParametersList(input.Parameters, context);
|
|
6219
|
+
if (input.Parameters?.length === 0) {
|
|
6220
|
+
entries.Parameters = [];
|
|
6221
|
+
}
|
|
6045
6222
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
6046
6223
|
const loc = `Parameters.${key}`;
|
|
6047
6224
|
entries[loc] = value;
|
|
@@ -6053,6 +6230,9 @@ const serializeAws_queryRestoreDBClusterFromSnapshotMessage = (input, context) =
|
|
|
6053
6230
|
const entries = {};
|
|
6054
6231
|
if (input.AvailabilityZones != null) {
|
|
6055
6232
|
const memberEntries = serializeAws_queryAvailabilityZones(input.AvailabilityZones, context);
|
|
6233
|
+
if (input.AvailabilityZones?.length === 0) {
|
|
6234
|
+
entries.AvailabilityZones = [];
|
|
6235
|
+
}
|
|
6056
6236
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
6057
6237
|
const loc = `AvailabilityZones.${key}`;
|
|
6058
6238
|
entries[loc] = value;
|
|
@@ -6084,6 +6264,9 @@ const serializeAws_queryRestoreDBClusterFromSnapshotMessage = (input, context) =
|
|
|
6084
6264
|
}
|
|
6085
6265
|
if (input.VpcSecurityGroupIds != null) {
|
|
6086
6266
|
const memberEntries = serializeAws_queryVpcSecurityGroupIdList(input.VpcSecurityGroupIds, context);
|
|
6267
|
+
if (input.VpcSecurityGroupIds?.length === 0) {
|
|
6268
|
+
entries.VpcSecurityGroupIds = [];
|
|
6269
|
+
}
|
|
6087
6270
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
6088
6271
|
const loc = `VpcSecurityGroupIds.${key}`;
|
|
6089
6272
|
entries[loc] = value;
|
|
@@ -6091,6 +6274,9 @@ const serializeAws_queryRestoreDBClusterFromSnapshotMessage = (input, context) =
|
|
|
6091
6274
|
}
|
|
6092
6275
|
if (input.Tags != null) {
|
|
6093
6276
|
const memberEntries = serializeAws_queryTagList(input.Tags, context);
|
|
6277
|
+
if (input.Tags?.length === 0) {
|
|
6278
|
+
entries.Tags = [];
|
|
6279
|
+
}
|
|
6094
6280
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
6095
6281
|
const loc = `Tags.${key}`;
|
|
6096
6282
|
entries[loc] = value;
|
|
@@ -6104,6 +6290,9 @@ const serializeAws_queryRestoreDBClusterFromSnapshotMessage = (input, context) =
|
|
|
6104
6290
|
}
|
|
6105
6291
|
if (input.EnableCloudwatchLogsExports != null) {
|
|
6106
6292
|
const memberEntries = serializeAws_queryLogTypeList(input.EnableCloudwatchLogsExports, context);
|
|
6293
|
+
if (input.EnableCloudwatchLogsExports?.length === 0) {
|
|
6294
|
+
entries.EnableCloudwatchLogsExports = [];
|
|
6295
|
+
}
|
|
6107
6296
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
6108
6297
|
const loc = `EnableCloudwatchLogsExports.${key}`;
|
|
6109
6298
|
entries[loc] = value;
|
|
@@ -6155,6 +6344,9 @@ const serializeAws_queryRestoreDBClusterToPointInTimeMessage = (input, context)
|
|
|
6155
6344
|
}
|
|
6156
6345
|
if (input.VpcSecurityGroupIds != null) {
|
|
6157
6346
|
const memberEntries = serializeAws_queryVpcSecurityGroupIdList(input.VpcSecurityGroupIds, context);
|
|
6347
|
+
if (input.VpcSecurityGroupIds?.length === 0) {
|
|
6348
|
+
entries.VpcSecurityGroupIds = [];
|
|
6349
|
+
}
|
|
6158
6350
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
6159
6351
|
const loc = `VpcSecurityGroupIds.${key}`;
|
|
6160
6352
|
entries[loc] = value;
|
|
@@ -6162,6 +6354,9 @@ const serializeAws_queryRestoreDBClusterToPointInTimeMessage = (input, context)
|
|
|
6162
6354
|
}
|
|
6163
6355
|
if (input.Tags != null) {
|
|
6164
6356
|
const memberEntries = serializeAws_queryTagList(input.Tags, context);
|
|
6357
|
+
if (input.Tags?.length === 0) {
|
|
6358
|
+
entries.Tags = [];
|
|
6359
|
+
}
|
|
6165
6360
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
6166
6361
|
const loc = `Tags.${key}`;
|
|
6167
6362
|
entries[loc] = value;
|
|
@@ -6175,6 +6370,9 @@ const serializeAws_queryRestoreDBClusterToPointInTimeMessage = (input, context)
|
|
|
6175
6370
|
}
|
|
6176
6371
|
if (input.EnableCloudwatchLogsExports != null) {
|
|
6177
6372
|
const memberEntries = serializeAws_queryLogTypeList(input.EnableCloudwatchLogsExports, context);
|
|
6373
|
+
if (input.EnableCloudwatchLogsExports?.length === 0) {
|
|
6374
|
+
entries.EnableCloudwatchLogsExports = [];
|
|
6375
|
+
}
|
|
6178
6376
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
6179
6377
|
const loc = `EnableCloudwatchLogsExports.${key}`;
|
|
6180
6378
|
entries[loc] = value;
|
|
@@ -4242,6 +4242,9 @@ const serializeAws_queryAddTagsToResourceMessage = (input, context) => {
|
|
|
4242
4242
|
}
|
|
4243
4243
|
if (input.Tags != null) {
|
|
4244
4244
|
const memberEntries = serializeAws_queryTagList(input.Tags, context);
|
|
4245
|
+
if (input.Tags?.length === 0) {
|
|
4246
|
+
entries.Tags = [];
|
|
4247
|
+
}
|
|
4245
4248
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4246
4249
|
const loc = `Tags.${key}`;
|
|
4247
4250
|
entries[loc] = value;
|
|
@@ -4290,6 +4293,9 @@ const serializeAws_queryCloudwatchLogsExportConfiguration = (input, context) =>
|
|
|
4290
4293
|
const entries = {};
|
|
4291
4294
|
if (input.EnableLogTypes != null) {
|
|
4292
4295
|
const memberEntries = serializeAws_queryLogTypeList(input.EnableLogTypes, context);
|
|
4296
|
+
if (input.EnableLogTypes?.length === 0) {
|
|
4297
|
+
entries.EnableLogTypes = [];
|
|
4298
|
+
}
|
|
4293
4299
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4294
4300
|
const loc = `EnableLogTypes.${key}`;
|
|
4295
4301
|
entries[loc] = value;
|
|
@@ -4297,6 +4303,9 @@ const serializeAws_queryCloudwatchLogsExportConfiguration = (input, context) =>
|
|
|
4297
4303
|
}
|
|
4298
4304
|
if (input.DisableLogTypes != null) {
|
|
4299
4305
|
const memberEntries = serializeAws_queryLogTypeList(input.DisableLogTypes, context);
|
|
4306
|
+
if (input.DisableLogTypes?.length === 0) {
|
|
4307
|
+
entries.DisableLogTypes = [];
|
|
4308
|
+
}
|
|
4300
4309
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4301
4310
|
const loc = `DisableLogTypes.${key}`;
|
|
4302
4311
|
entries[loc] = value;
|
|
@@ -4317,6 +4326,9 @@ const serializeAws_queryCopyDBClusterParameterGroupMessage = (input, context) =>
|
|
|
4317
4326
|
}
|
|
4318
4327
|
if (input.Tags != null) {
|
|
4319
4328
|
const memberEntries = serializeAws_queryTagList(input.Tags, context);
|
|
4329
|
+
if (input.Tags?.length === 0) {
|
|
4330
|
+
entries.Tags = [];
|
|
4331
|
+
}
|
|
4320
4332
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4321
4333
|
const loc = `Tags.${key}`;
|
|
4322
4334
|
entries[loc] = value;
|
|
@@ -4343,6 +4355,9 @@ const serializeAws_queryCopyDBClusterSnapshotMessage = (input, context) => {
|
|
|
4343
4355
|
}
|
|
4344
4356
|
if (input.Tags != null) {
|
|
4345
4357
|
const memberEntries = serializeAws_queryTagList(input.Tags, context);
|
|
4358
|
+
if (input.Tags?.length === 0) {
|
|
4359
|
+
entries.Tags = [];
|
|
4360
|
+
}
|
|
4346
4361
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4347
4362
|
const loc = `Tags.${key}`;
|
|
4348
4363
|
entries[loc] = value;
|
|
@@ -4363,6 +4378,9 @@ const serializeAws_queryCopyDBParameterGroupMessage = (input, context) => {
|
|
|
4363
4378
|
}
|
|
4364
4379
|
if (input.Tags != null) {
|
|
4365
4380
|
const memberEntries = serializeAws_queryTagList(input.Tags, context);
|
|
4381
|
+
if (input.Tags?.length === 0) {
|
|
4382
|
+
entries.Tags = [];
|
|
4383
|
+
}
|
|
4366
4384
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4367
4385
|
const loc = `Tags.${key}`;
|
|
4368
4386
|
entries[loc] = value;
|
|
@@ -4383,6 +4401,9 @@ const serializeAws_queryCreateDBClusterEndpointMessage = (input, context) => {
|
|
|
4383
4401
|
}
|
|
4384
4402
|
if (input.StaticMembers != null) {
|
|
4385
4403
|
const memberEntries = serializeAws_queryStringList(input.StaticMembers, context);
|
|
4404
|
+
if (input.StaticMembers?.length === 0) {
|
|
4405
|
+
entries.StaticMembers = [];
|
|
4406
|
+
}
|
|
4386
4407
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4387
4408
|
const loc = `StaticMembers.${key}`;
|
|
4388
4409
|
entries[loc] = value;
|
|
@@ -4390,6 +4411,9 @@ const serializeAws_queryCreateDBClusterEndpointMessage = (input, context) => {
|
|
|
4390
4411
|
}
|
|
4391
4412
|
if (input.ExcludedMembers != null) {
|
|
4392
4413
|
const memberEntries = serializeAws_queryStringList(input.ExcludedMembers, context);
|
|
4414
|
+
if (input.ExcludedMembers?.length === 0) {
|
|
4415
|
+
entries.ExcludedMembers = [];
|
|
4416
|
+
}
|
|
4393
4417
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4394
4418
|
const loc = `ExcludedMembers.${key}`;
|
|
4395
4419
|
entries[loc] = value;
|
|
@@ -4397,6 +4421,9 @@ const serializeAws_queryCreateDBClusterEndpointMessage = (input, context) => {
|
|
|
4397
4421
|
}
|
|
4398
4422
|
if (input.Tags != null) {
|
|
4399
4423
|
const memberEntries = serializeAws_queryTagList(input.Tags, context);
|
|
4424
|
+
if (input.Tags?.length === 0) {
|
|
4425
|
+
entries.Tags = [];
|
|
4426
|
+
}
|
|
4400
4427
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4401
4428
|
const loc = `Tags.${key}`;
|
|
4402
4429
|
entries[loc] = value;
|
|
@@ -4408,6 +4435,9 @@ const serializeAws_queryCreateDBClusterMessage = (input, context) => {
|
|
|
4408
4435
|
const entries = {};
|
|
4409
4436
|
if (input.AvailabilityZones != null) {
|
|
4410
4437
|
const memberEntries = serializeAws_queryAvailabilityZones(input.AvailabilityZones, context);
|
|
4438
|
+
if (input.AvailabilityZones?.length === 0) {
|
|
4439
|
+
entries.AvailabilityZones = [];
|
|
4440
|
+
}
|
|
4411
4441
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4412
4442
|
const loc = `AvailabilityZones.${key}`;
|
|
4413
4443
|
entries[loc] = value;
|
|
@@ -4433,6 +4463,9 @@ const serializeAws_queryCreateDBClusterMessage = (input, context) => {
|
|
|
4433
4463
|
}
|
|
4434
4464
|
if (input.VpcSecurityGroupIds != null) {
|
|
4435
4465
|
const memberEntries = serializeAws_queryVpcSecurityGroupIdList(input.VpcSecurityGroupIds, context);
|
|
4466
|
+
if (input.VpcSecurityGroupIds?.length === 0) {
|
|
4467
|
+
entries.VpcSecurityGroupIds = [];
|
|
4468
|
+
}
|
|
4436
4469
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4437
4470
|
const loc = `VpcSecurityGroupIds.${key}`;
|
|
4438
4471
|
entries[loc] = value;
|
|
@@ -4470,6 +4503,9 @@ const serializeAws_queryCreateDBClusterMessage = (input, context) => {
|
|
|
4470
4503
|
}
|
|
4471
4504
|
if (input.Tags != null) {
|
|
4472
4505
|
const memberEntries = serializeAws_queryTagList(input.Tags, context);
|
|
4506
|
+
if (input.Tags?.length === 0) {
|
|
4507
|
+
entries.Tags = [];
|
|
4508
|
+
}
|
|
4473
4509
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4474
4510
|
const loc = `Tags.${key}`;
|
|
4475
4511
|
entries[loc] = value;
|
|
@@ -4489,6 +4525,9 @@ const serializeAws_queryCreateDBClusterMessage = (input, context) => {
|
|
|
4489
4525
|
}
|
|
4490
4526
|
if (input.EnableCloudwatchLogsExports != null) {
|
|
4491
4527
|
const memberEntries = serializeAws_queryLogTypeList(input.EnableCloudwatchLogsExports, context);
|
|
4528
|
+
if (input.EnableCloudwatchLogsExports?.length === 0) {
|
|
4529
|
+
entries.EnableCloudwatchLogsExports = [];
|
|
4530
|
+
}
|
|
4492
4531
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4493
4532
|
const loc = `EnableCloudwatchLogsExports.${key}`;
|
|
4494
4533
|
entries[loc] = value;
|
|
@@ -4522,6 +4561,9 @@ const serializeAws_queryCreateDBClusterParameterGroupMessage = (input, context)
|
|
|
4522
4561
|
}
|
|
4523
4562
|
if (input.Tags != null) {
|
|
4524
4563
|
const memberEntries = serializeAws_queryTagList(input.Tags, context);
|
|
4564
|
+
if (input.Tags?.length === 0) {
|
|
4565
|
+
entries.Tags = [];
|
|
4566
|
+
}
|
|
4525
4567
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4526
4568
|
const loc = `Tags.${key}`;
|
|
4527
4569
|
entries[loc] = value;
|
|
@@ -4539,6 +4581,9 @@ const serializeAws_queryCreateDBClusterSnapshotMessage = (input, context) => {
|
|
|
4539
4581
|
}
|
|
4540
4582
|
if (input.Tags != null) {
|
|
4541
4583
|
const memberEntries = serializeAws_queryTagList(input.Tags, context);
|
|
4584
|
+
if (input.Tags?.length === 0) {
|
|
4585
|
+
entries.Tags = [];
|
|
4586
|
+
}
|
|
4542
4587
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4543
4588
|
const loc = `Tags.${key}`;
|
|
4544
4589
|
entries[loc] = value;
|
|
@@ -4571,6 +4616,9 @@ const serializeAws_queryCreateDBInstanceMessage = (input, context) => {
|
|
|
4571
4616
|
}
|
|
4572
4617
|
if (input.DBSecurityGroups != null) {
|
|
4573
4618
|
const memberEntries = serializeAws_queryDBSecurityGroupNameList(input.DBSecurityGroups, context);
|
|
4619
|
+
if (input.DBSecurityGroups?.length === 0) {
|
|
4620
|
+
entries.DBSecurityGroups = [];
|
|
4621
|
+
}
|
|
4574
4622
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4575
4623
|
const loc = `DBSecurityGroups.${key}`;
|
|
4576
4624
|
entries[loc] = value;
|
|
@@ -4578,6 +4626,9 @@ const serializeAws_queryCreateDBInstanceMessage = (input, context) => {
|
|
|
4578
4626
|
}
|
|
4579
4627
|
if (input.VpcSecurityGroupIds != null) {
|
|
4580
4628
|
const memberEntries = serializeAws_queryVpcSecurityGroupIdList(input.VpcSecurityGroupIds, context);
|
|
4629
|
+
if (input.VpcSecurityGroupIds?.length === 0) {
|
|
4630
|
+
entries.VpcSecurityGroupIds = [];
|
|
4631
|
+
}
|
|
4581
4632
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4582
4633
|
const loc = `VpcSecurityGroupIds.${key}`;
|
|
4583
4634
|
entries[loc] = value;
|
|
@@ -4630,6 +4681,9 @@ const serializeAws_queryCreateDBInstanceMessage = (input, context) => {
|
|
|
4630
4681
|
}
|
|
4631
4682
|
if (input.Tags != null) {
|
|
4632
4683
|
const memberEntries = serializeAws_queryTagList(input.Tags, context);
|
|
4684
|
+
if (input.Tags?.length === 0) {
|
|
4685
|
+
entries.Tags = [];
|
|
4686
|
+
}
|
|
4633
4687
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4634
4688
|
const loc = `Tags.${key}`;
|
|
4635
4689
|
entries[loc] = value;
|
|
@@ -4685,6 +4739,9 @@ const serializeAws_queryCreateDBInstanceMessage = (input, context) => {
|
|
|
4685
4739
|
}
|
|
4686
4740
|
if (input.EnableCloudwatchLogsExports != null) {
|
|
4687
4741
|
const memberEntries = serializeAws_queryLogTypeList(input.EnableCloudwatchLogsExports, context);
|
|
4742
|
+
if (input.EnableCloudwatchLogsExports?.length === 0) {
|
|
4743
|
+
entries.EnableCloudwatchLogsExports = [];
|
|
4744
|
+
}
|
|
4688
4745
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4689
4746
|
const loc = `EnableCloudwatchLogsExports.${key}`;
|
|
4690
4747
|
entries[loc] = value;
|
|
@@ -4708,6 +4765,9 @@ const serializeAws_queryCreateDBParameterGroupMessage = (input, context) => {
|
|
|
4708
4765
|
}
|
|
4709
4766
|
if (input.Tags != null) {
|
|
4710
4767
|
const memberEntries = serializeAws_queryTagList(input.Tags, context);
|
|
4768
|
+
if (input.Tags?.length === 0) {
|
|
4769
|
+
entries.Tags = [];
|
|
4770
|
+
}
|
|
4711
4771
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4712
4772
|
const loc = `Tags.${key}`;
|
|
4713
4773
|
entries[loc] = value;
|
|
@@ -4725,6 +4785,9 @@ const serializeAws_queryCreateDBSubnetGroupMessage = (input, context) => {
|
|
|
4725
4785
|
}
|
|
4726
4786
|
if (input.SubnetIds != null) {
|
|
4727
4787
|
const memberEntries = serializeAws_querySubnetIdentifierList(input.SubnetIds, context);
|
|
4788
|
+
if (input.SubnetIds?.length === 0) {
|
|
4789
|
+
entries.SubnetIds = [];
|
|
4790
|
+
}
|
|
4728
4791
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4729
4792
|
const loc = `SubnetIds.${key}`;
|
|
4730
4793
|
entries[loc] = value;
|
|
@@ -4732,6 +4795,9 @@ const serializeAws_queryCreateDBSubnetGroupMessage = (input, context) => {
|
|
|
4732
4795
|
}
|
|
4733
4796
|
if (input.Tags != null) {
|
|
4734
4797
|
const memberEntries = serializeAws_queryTagList(input.Tags, context);
|
|
4798
|
+
if (input.Tags?.length === 0) {
|
|
4799
|
+
entries.Tags = [];
|
|
4800
|
+
}
|
|
4735
4801
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4736
4802
|
const loc = `Tags.${key}`;
|
|
4737
4803
|
entries[loc] = value;
|
|
@@ -4752,6 +4818,9 @@ const serializeAws_queryCreateEventSubscriptionMessage = (input, context) => {
|
|
|
4752
4818
|
}
|
|
4753
4819
|
if (input.EventCategories != null) {
|
|
4754
4820
|
const memberEntries = serializeAws_queryEventCategoriesList(input.EventCategories, context);
|
|
4821
|
+
if (input.EventCategories?.length === 0) {
|
|
4822
|
+
entries.EventCategories = [];
|
|
4823
|
+
}
|
|
4755
4824
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4756
4825
|
const loc = `EventCategories.${key}`;
|
|
4757
4826
|
entries[loc] = value;
|
|
@@ -4759,6 +4828,9 @@ const serializeAws_queryCreateEventSubscriptionMessage = (input, context) => {
|
|
|
4759
4828
|
}
|
|
4760
4829
|
if (input.SourceIds != null) {
|
|
4761
4830
|
const memberEntries = serializeAws_querySourceIdsList(input.SourceIds, context);
|
|
4831
|
+
if (input.SourceIds?.length === 0) {
|
|
4832
|
+
entries.SourceIds = [];
|
|
4833
|
+
}
|
|
4762
4834
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4763
4835
|
const loc = `SourceIds.${key}`;
|
|
4764
4836
|
entries[loc] = value;
|
|
@@ -4769,6 +4841,9 @@ const serializeAws_queryCreateEventSubscriptionMessage = (input, context) => {
|
|
|
4769
4841
|
}
|
|
4770
4842
|
if (input.Tags != null) {
|
|
4771
4843
|
const memberEntries = serializeAws_queryTagList(input.Tags, context);
|
|
4844
|
+
if (input.Tags?.length === 0) {
|
|
4845
|
+
entries.Tags = [];
|
|
4846
|
+
}
|
|
4772
4847
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4773
4848
|
const loc = `Tags.${key}`;
|
|
4774
4849
|
entries[loc] = value;
|
|
@@ -4895,6 +4970,9 @@ const serializeAws_queryDescribeDBClusterEndpointsMessage = (input, context) =>
|
|
|
4895
4970
|
}
|
|
4896
4971
|
if (input.Filters != null) {
|
|
4897
4972
|
const memberEntries = serializeAws_queryFilterList(input.Filters, context);
|
|
4973
|
+
if (input.Filters?.length === 0) {
|
|
4974
|
+
entries.Filters = [];
|
|
4975
|
+
}
|
|
4898
4976
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4899
4977
|
const loc = `Filters.${key}`;
|
|
4900
4978
|
entries[loc] = value;
|
|
@@ -4915,6 +4993,9 @@ const serializeAws_queryDescribeDBClusterParameterGroupsMessage = (input, contex
|
|
|
4915
4993
|
}
|
|
4916
4994
|
if (input.Filters != null) {
|
|
4917
4995
|
const memberEntries = serializeAws_queryFilterList(input.Filters, context);
|
|
4996
|
+
if (input.Filters?.length === 0) {
|
|
4997
|
+
entries.Filters = [];
|
|
4998
|
+
}
|
|
4918
4999
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4919
5000
|
const loc = `Filters.${key}`;
|
|
4920
5001
|
entries[loc] = value;
|
|
@@ -4938,6 +5019,9 @@ const serializeAws_queryDescribeDBClusterParametersMessage = (input, context) =>
|
|
|
4938
5019
|
}
|
|
4939
5020
|
if (input.Filters != null) {
|
|
4940
5021
|
const memberEntries = serializeAws_queryFilterList(input.Filters, context);
|
|
5022
|
+
if (input.Filters?.length === 0) {
|
|
5023
|
+
entries.Filters = [];
|
|
5024
|
+
}
|
|
4941
5025
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4942
5026
|
const loc = `Filters.${key}`;
|
|
4943
5027
|
entries[loc] = value;
|
|
@@ -4958,6 +5042,9 @@ const serializeAws_queryDescribeDBClustersMessage = (input, context) => {
|
|
|
4958
5042
|
}
|
|
4959
5043
|
if (input.Filters != null) {
|
|
4960
5044
|
const memberEntries = serializeAws_queryFilterList(input.Filters, context);
|
|
5045
|
+
if (input.Filters?.length === 0) {
|
|
5046
|
+
entries.Filters = [];
|
|
5047
|
+
}
|
|
4961
5048
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4962
5049
|
const loc = `Filters.${key}`;
|
|
4963
5050
|
entries[loc] = value;
|
|
@@ -4991,6 +5078,9 @@ const serializeAws_queryDescribeDBClusterSnapshotsMessage = (input, context) =>
|
|
|
4991
5078
|
}
|
|
4992
5079
|
if (input.Filters != null) {
|
|
4993
5080
|
const memberEntries = serializeAws_queryFilterList(input.Filters, context);
|
|
5081
|
+
if (input.Filters?.length === 0) {
|
|
5082
|
+
entries.Filters = [];
|
|
5083
|
+
}
|
|
4994
5084
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4995
5085
|
const loc = `Filters.${key}`;
|
|
4996
5086
|
entries[loc] = value;
|
|
@@ -5023,6 +5113,9 @@ const serializeAws_queryDescribeDBEngineVersionsMessage = (input, context) => {
|
|
|
5023
5113
|
}
|
|
5024
5114
|
if (input.Filters != null) {
|
|
5025
5115
|
const memberEntries = serializeAws_queryFilterList(input.Filters, context);
|
|
5116
|
+
if (input.Filters?.length === 0) {
|
|
5117
|
+
entries.Filters = [];
|
|
5118
|
+
}
|
|
5026
5119
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5027
5120
|
const loc = `Filters.${key}`;
|
|
5028
5121
|
entries[loc] = value;
|
|
@@ -5052,6 +5145,9 @@ const serializeAws_queryDescribeDBInstancesMessage = (input, context) => {
|
|
|
5052
5145
|
}
|
|
5053
5146
|
if (input.Filters != null) {
|
|
5054
5147
|
const memberEntries = serializeAws_queryFilterList(input.Filters, context);
|
|
5148
|
+
if (input.Filters?.length === 0) {
|
|
5149
|
+
entries.Filters = [];
|
|
5150
|
+
}
|
|
5055
5151
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5056
5152
|
const loc = `Filters.${key}`;
|
|
5057
5153
|
entries[loc] = value;
|
|
@@ -5072,6 +5168,9 @@ const serializeAws_queryDescribeDBParameterGroupsMessage = (input, context) => {
|
|
|
5072
5168
|
}
|
|
5073
5169
|
if (input.Filters != null) {
|
|
5074
5170
|
const memberEntries = serializeAws_queryFilterList(input.Filters, context);
|
|
5171
|
+
if (input.Filters?.length === 0) {
|
|
5172
|
+
entries.Filters = [];
|
|
5173
|
+
}
|
|
5075
5174
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5076
5175
|
const loc = `Filters.${key}`;
|
|
5077
5176
|
entries[loc] = value;
|
|
@@ -5095,6 +5194,9 @@ const serializeAws_queryDescribeDBParametersMessage = (input, context) => {
|
|
|
5095
5194
|
}
|
|
5096
5195
|
if (input.Filters != null) {
|
|
5097
5196
|
const memberEntries = serializeAws_queryFilterList(input.Filters, context);
|
|
5197
|
+
if (input.Filters?.length === 0) {
|
|
5198
|
+
entries.Filters = [];
|
|
5199
|
+
}
|
|
5098
5200
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5099
5201
|
const loc = `Filters.${key}`;
|
|
5100
5202
|
entries[loc] = value;
|
|
@@ -5115,6 +5217,9 @@ const serializeAws_queryDescribeDBSubnetGroupsMessage = (input, context) => {
|
|
|
5115
5217
|
}
|
|
5116
5218
|
if (input.Filters != null) {
|
|
5117
5219
|
const memberEntries = serializeAws_queryFilterList(input.Filters, context);
|
|
5220
|
+
if (input.Filters?.length === 0) {
|
|
5221
|
+
entries.Filters = [];
|
|
5222
|
+
}
|
|
5118
5223
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5119
5224
|
const loc = `Filters.${key}`;
|
|
5120
5225
|
entries[loc] = value;
|
|
@@ -5135,6 +5240,9 @@ const serializeAws_queryDescribeEngineDefaultClusterParametersMessage = (input,
|
|
|
5135
5240
|
}
|
|
5136
5241
|
if (input.Filters != null) {
|
|
5137
5242
|
const memberEntries = serializeAws_queryFilterList(input.Filters, context);
|
|
5243
|
+
if (input.Filters?.length === 0) {
|
|
5244
|
+
entries.Filters = [];
|
|
5245
|
+
}
|
|
5138
5246
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5139
5247
|
const loc = `Filters.${key}`;
|
|
5140
5248
|
entries[loc] = value;
|
|
@@ -5155,6 +5263,9 @@ const serializeAws_queryDescribeEngineDefaultParametersMessage = (input, context
|
|
|
5155
5263
|
}
|
|
5156
5264
|
if (input.Filters != null) {
|
|
5157
5265
|
const memberEntries = serializeAws_queryFilterList(input.Filters, context);
|
|
5266
|
+
if (input.Filters?.length === 0) {
|
|
5267
|
+
entries.Filters = [];
|
|
5268
|
+
}
|
|
5158
5269
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5159
5270
|
const loc = `Filters.${key}`;
|
|
5160
5271
|
entries[loc] = value;
|
|
@@ -5175,6 +5286,9 @@ const serializeAws_queryDescribeEventCategoriesMessage = (input, context) => {
|
|
|
5175
5286
|
}
|
|
5176
5287
|
if (input.Filters != null) {
|
|
5177
5288
|
const memberEntries = serializeAws_queryFilterList(input.Filters, context);
|
|
5289
|
+
if (input.Filters?.length === 0) {
|
|
5290
|
+
entries.Filters = [];
|
|
5291
|
+
}
|
|
5178
5292
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5179
5293
|
const loc = `Filters.${key}`;
|
|
5180
5294
|
entries[loc] = value;
|
|
@@ -5201,6 +5315,9 @@ const serializeAws_queryDescribeEventsMessage = (input, context) => {
|
|
|
5201
5315
|
}
|
|
5202
5316
|
if (input.EventCategories != null) {
|
|
5203
5317
|
const memberEntries = serializeAws_queryEventCategoriesList(input.EventCategories, context);
|
|
5318
|
+
if (input.EventCategories?.length === 0) {
|
|
5319
|
+
entries.EventCategories = [];
|
|
5320
|
+
}
|
|
5204
5321
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5205
5322
|
const loc = `EventCategories.${key}`;
|
|
5206
5323
|
entries[loc] = value;
|
|
@@ -5208,6 +5325,9 @@ const serializeAws_queryDescribeEventsMessage = (input, context) => {
|
|
|
5208
5325
|
}
|
|
5209
5326
|
if (input.Filters != null) {
|
|
5210
5327
|
const memberEntries = serializeAws_queryFilterList(input.Filters, context);
|
|
5328
|
+
if (input.Filters?.length === 0) {
|
|
5329
|
+
entries.Filters = [];
|
|
5330
|
+
}
|
|
5211
5331
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5212
5332
|
const loc = `Filters.${key}`;
|
|
5213
5333
|
entries[loc] = value;
|
|
@@ -5228,6 +5348,9 @@ const serializeAws_queryDescribeEventSubscriptionsMessage = (input, context) =>
|
|
|
5228
5348
|
}
|
|
5229
5349
|
if (input.Filters != null) {
|
|
5230
5350
|
const memberEntries = serializeAws_queryFilterList(input.Filters, context);
|
|
5351
|
+
if (input.Filters?.length === 0) {
|
|
5352
|
+
entries.Filters = [];
|
|
5353
|
+
}
|
|
5231
5354
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5232
5355
|
const loc = `Filters.${key}`;
|
|
5233
5356
|
entries[loc] = value;
|
|
@@ -5273,6 +5396,9 @@ const serializeAws_queryDescribeOrderableDBInstanceOptionsMessage = (input, cont
|
|
|
5273
5396
|
}
|
|
5274
5397
|
if (input.Filters != null) {
|
|
5275
5398
|
const memberEntries = serializeAws_queryFilterList(input.Filters, context);
|
|
5399
|
+
if (input.Filters?.length === 0) {
|
|
5400
|
+
entries.Filters = [];
|
|
5401
|
+
}
|
|
5276
5402
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5277
5403
|
const loc = `Filters.${key}`;
|
|
5278
5404
|
entries[loc] = value;
|
|
@@ -5293,6 +5419,9 @@ const serializeAws_queryDescribePendingMaintenanceActionsMessage = (input, conte
|
|
|
5293
5419
|
}
|
|
5294
5420
|
if (input.Filters != null) {
|
|
5295
5421
|
const memberEntries = serializeAws_queryFilterList(input.Filters, context);
|
|
5422
|
+
if (input.Filters?.length === 0) {
|
|
5423
|
+
entries.Filters = [];
|
|
5424
|
+
}
|
|
5296
5425
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5297
5426
|
const loc = `Filters.${key}`;
|
|
5298
5427
|
entries[loc] = value;
|
|
@@ -5352,6 +5481,9 @@ const serializeAws_queryFilter = (input, context) => {
|
|
|
5352
5481
|
}
|
|
5353
5482
|
if (input.Values != null) {
|
|
5354
5483
|
const memberEntries = serializeAws_queryFilterValueList(input.Values, context);
|
|
5484
|
+
if (input.Values?.length === 0) {
|
|
5485
|
+
entries.Values = [];
|
|
5486
|
+
}
|
|
5355
5487
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5356
5488
|
const loc = `Values.${key}`;
|
|
5357
5489
|
entries[loc] = value;
|
|
@@ -5405,6 +5537,9 @@ const serializeAws_queryListTagsForResourceMessage = (input, context) => {
|
|
|
5405
5537
|
}
|
|
5406
5538
|
if (input.Filters != null) {
|
|
5407
5539
|
const memberEntries = serializeAws_queryFilterList(input.Filters, context);
|
|
5540
|
+
if (input.Filters?.length === 0) {
|
|
5541
|
+
entries.Filters = [];
|
|
5542
|
+
}
|
|
5408
5543
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5409
5544
|
const loc = `Filters.${key}`;
|
|
5410
5545
|
entries[loc] = value;
|
|
@@ -5434,6 +5569,9 @@ const serializeAws_queryModifyDBClusterEndpointMessage = (input, context) => {
|
|
|
5434
5569
|
}
|
|
5435
5570
|
if (input.StaticMembers != null) {
|
|
5436
5571
|
const memberEntries = serializeAws_queryStringList(input.StaticMembers, context);
|
|
5572
|
+
if (input.StaticMembers?.length === 0) {
|
|
5573
|
+
entries.StaticMembers = [];
|
|
5574
|
+
}
|
|
5437
5575
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5438
5576
|
const loc = `StaticMembers.${key}`;
|
|
5439
5577
|
entries[loc] = value;
|
|
@@ -5441,6 +5579,9 @@ const serializeAws_queryModifyDBClusterEndpointMessage = (input, context) => {
|
|
|
5441
5579
|
}
|
|
5442
5580
|
if (input.ExcludedMembers != null) {
|
|
5443
5581
|
const memberEntries = serializeAws_queryStringList(input.ExcludedMembers, context);
|
|
5582
|
+
if (input.ExcludedMembers?.length === 0) {
|
|
5583
|
+
entries.ExcludedMembers = [];
|
|
5584
|
+
}
|
|
5444
5585
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5445
5586
|
const loc = `ExcludedMembers.${key}`;
|
|
5446
5587
|
entries[loc] = value;
|
|
@@ -5467,6 +5608,9 @@ const serializeAws_queryModifyDBClusterMessage = (input, context) => {
|
|
|
5467
5608
|
}
|
|
5468
5609
|
if (input.VpcSecurityGroupIds != null) {
|
|
5469
5610
|
const memberEntries = serializeAws_queryVpcSecurityGroupIdList(input.VpcSecurityGroupIds, context);
|
|
5611
|
+
if (input.VpcSecurityGroupIds?.length === 0) {
|
|
5612
|
+
entries.VpcSecurityGroupIds = [];
|
|
5613
|
+
}
|
|
5470
5614
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5471
5615
|
const loc = `VpcSecurityGroupIds.${key}`;
|
|
5472
5616
|
entries[loc] = value;
|
|
@@ -5528,6 +5672,9 @@ const serializeAws_queryModifyDBClusterParameterGroupMessage = (input, context)
|
|
|
5528
5672
|
}
|
|
5529
5673
|
if (input.Parameters != null) {
|
|
5530
5674
|
const memberEntries = serializeAws_queryParametersList(input.Parameters, context);
|
|
5675
|
+
if (input.Parameters?.length === 0) {
|
|
5676
|
+
entries.Parameters = [];
|
|
5677
|
+
}
|
|
5531
5678
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5532
5679
|
const loc = `Parameters.${key}`;
|
|
5533
5680
|
entries[loc] = value;
|
|
@@ -5545,6 +5692,9 @@ const serializeAws_queryModifyDBClusterSnapshotAttributeMessage = (input, contex
|
|
|
5545
5692
|
}
|
|
5546
5693
|
if (input.ValuesToAdd != null) {
|
|
5547
5694
|
const memberEntries = serializeAws_queryAttributeValueList(input.ValuesToAdd, context);
|
|
5695
|
+
if (input.ValuesToAdd?.length === 0) {
|
|
5696
|
+
entries.ValuesToAdd = [];
|
|
5697
|
+
}
|
|
5548
5698
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5549
5699
|
const loc = `ValuesToAdd.${key}`;
|
|
5550
5700
|
entries[loc] = value;
|
|
@@ -5552,6 +5702,9 @@ const serializeAws_queryModifyDBClusterSnapshotAttributeMessage = (input, contex
|
|
|
5552
5702
|
}
|
|
5553
5703
|
if (input.ValuesToRemove != null) {
|
|
5554
5704
|
const memberEntries = serializeAws_queryAttributeValueList(input.ValuesToRemove, context);
|
|
5705
|
+
if (input.ValuesToRemove?.length === 0) {
|
|
5706
|
+
entries.ValuesToRemove = [];
|
|
5707
|
+
}
|
|
5555
5708
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5556
5709
|
const loc = `ValuesToRemove.${key}`;
|
|
5557
5710
|
entries[loc] = value;
|
|
@@ -5575,6 +5728,9 @@ const serializeAws_queryModifyDBInstanceMessage = (input, context) => {
|
|
|
5575
5728
|
}
|
|
5576
5729
|
if (input.DBSecurityGroups != null) {
|
|
5577
5730
|
const memberEntries = serializeAws_queryDBSecurityGroupNameList(input.DBSecurityGroups, context);
|
|
5731
|
+
if (input.DBSecurityGroups?.length === 0) {
|
|
5732
|
+
entries.DBSecurityGroups = [];
|
|
5733
|
+
}
|
|
5578
5734
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5579
5735
|
const loc = `DBSecurityGroups.${key}`;
|
|
5580
5736
|
entries[loc] = value;
|
|
@@ -5582,6 +5738,9 @@ const serializeAws_queryModifyDBInstanceMessage = (input, context) => {
|
|
|
5582
5738
|
}
|
|
5583
5739
|
if (input.VpcSecurityGroupIds != null) {
|
|
5584
5740
|
const memberEntries = serializeAws_queryVpcSecurityGroupIdList(input.VpcSecurityGroupIds, context);
|
|
5741
|
+
if (input.VpcSecurityGroupIds?.length === 0) {
|
|
5742
|
+
entries.VpcSecurityGroupIds = [];
|
|
5743
|
+
}
|
|
5585
5744
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5586
5745
|
const loc = `VpcSecurityGroupIds.${key}`;
|
|
5587
5746
|
entries[loc] = value;
|
|
@@ -5693,6 +5852,9 @@ const serializeAws_queryModifyDBParameterGroupMessage = (input, context) => {
|
|
|
5693
5852
|
}
|
|
5694
5853
|
if (input.Parameters != null) {
|
|
5695
5854
|
const memberEntries = serializeAws_queryParametersList(input.Parameters, context);
|
|
5855
|
+
if (input.Parameters?.length === 0) {
|
|
5856
|
+
entries.Parameters = [];
|
|
5857
|
+
}
|
|
5696
5858
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5697
5859
|
const loc = `Parameters.${key}`;
|
|
5698
5860
|
entries[loc] = value;
|
|
@@ -5710,6 +5872,9 @@ const serializeAws_queryModifyDBSubnetGroupMessage = (input, context) => {
|
|
|
5710
5872
|
}
|
|
5711
5873
|
if (input.SubnetIds != null) {
|
|
5712
5874
|
const memberEntries = serializeAws_querySubnetIdentifierList(input.SubnetIds, context);
|
|
5875
|
+
if (input.SubnetIds?.length === 0) {
|
|
5876
|
+
entries.SubnetIds = [];
|
|
5877
|
+
}
|
|
5713
5878
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5714
5879
|
const loc = `SubnetIds.${key}`;
|
|
5715
5880
|
entries[loc] = value;
|
|
@@ -5730,6 +5895,9 @@ const serializeAws_queryModifyEventSubscriptionMessage = (input, context) => {
|
|
|
5730
5895
|
}
|
|
5731
5896
|
if (input.EventCategories != null) {
|
|
5732
5897
|
const memberEntries = serializeAws_queryEventCategoriesList(input.EventCategories, context);
|
|
5898
|
+
if (input.EventCategories?.length === 0) {
|
|
5899
|
+
entries.EventCategories = [];
|
|
5900
|
+
}
|
|
5733
5901
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5734
5902
|
const loc = `EventCategories.${key}`;
|
|
5735
5903
|
entries[loc] = value;
|
|
@@ -5865,6 +6033,9 @@ const serializeAws_queryRemoveTagsFromResourceMessage = (input, context) => {
|
|
|
5865
6033
|
}
|
|
5866
6034
|
if (input.TagKeys != null) {
|
|
5867
6035
|
const memberEntries = serializeAws_queryKeyList(input.TagKeys, context);
|
|
6036
|
+
if (input.TagKeys?.length === 0) {
|
|
6037
|
+
entries.TagKeys = [];
|
|
6038
|
+
}
|
|
5868
6039
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5869
6040
|
const loc = `TagKeys.${key}`;
|
|
5870
6041
|
entries[loc] = value;
|
|
@@ -5882,6 +6053,9 @@ const serializeAws_queryResetDBClusterParameterGroupMessage = (input, context) =
|
|
|
5882
6053
|
}
|
|
5883
6054
|
if (input.Parameters != null) {
|
|
5884
6055
|
const memberEntries = serializeAws_queryParametersList(input.Parameters, context);
|
|
6056
|
+
if (input.Parameters?.length === 0) {
|
|
6057
|
+
entries.Parameters = [];
|
|
6058
|
+
}
|
|
5885
6059
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5886
6060
|
const loc = `Parameters.${key}`;
|
|
5887
6061
|
entries[loc] = value;
|
|
@@ -5899,6 +6073,9 @@ const serializeAws_queryResetDBParameterGroupMessage = (input, context) => {
|
|
|
5899
6073
|
}
|
|
5900
6074
|
if (input.Parameters != null) {
|
|
5901
6075
|
const memberEntries = serializeAws_queryParametersList(input.Parameters, context);
|
|
6076
|
+
if (input.Parameters?.length === 0) {
|
|
6077
|
+
entries.Parameters = [];
|
|
6078
|
+
}
|
|
5902
6079
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5903
6080
|
const loc = `Parameters.${key}`;
|
|
5904
6081
|
entries[loc] = value;
|
|
@@ -5910,6 +6087,9 @@ const serializeAws_queryRestoreDBClusterFromSnapshotMessage = (input, context) =
|
|
|
5910
6087
|
const entries = {};
|
|
5911
6088
|
if (input.AvailabilityZones != null) {
|
|
5912
6089
|
const memberEntries = serializeAws_queryAvailabilityZones(input.AvailabilityZones, context);
|
|
6090
|
+
if (input.AvailabilityZones?.length === 0) {
|
|
6091
|
+
entries.AvailabilityZones = [];
|
|
6092
|
+
}
|
|
5913
6093
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5914
6094
|
const loc = `AvailabilityZones.${key}`;
|
|
5915
6095
|
entries[loc] = value;
|
|
@@ -5941,6 +6121,9 @@ const serializeAws_queryRestoreDBClusterFromSnapshotMessage = (input, context) =
|
|
|
5941
6121
|
}
|
|
5942
6122
|
if (input.VpcSecurityGroupIds != null) {
|
|
5943
6123
|
const memberEntries = serializeAws_queryVpcSecurityGroupIdList(input.VpcSecurityGroupIds, context);
|
|
6124
|
+
if (input.VpcSecurityGroupIds?.length === 0) {
|
|
6125
|
+
entries.VpcSecurityGroupIds = [];
|
|
6126
|
+
}
|
|
5944
6127
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5945
6128
|
const loc = `VpcSecurityGroupIds.${key}`;
|
|
5946
6129
|
entries[loc] = value;
|
|
@@ -5948,6 +6131,9 @@ const serializeAws_queryRestoreDBClusterFromSnapshotMessage = (input, context) =
|
|
|
5948
6131
|
}
|
|
5949
6132
|
if (input.Tags != null) {
|
|
5950
6133
|
const memberEntries = serializeAws_queryTagList(input.Tags, context);
|
|
6134
|
+
if (input.Tags?.length === 0) {
|
|
6135
|
+
entries.Tags = [];
|
|
6136
|
+
}
|
|
5951
6137
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5952
6138
|
const loc = `Tags.${key}`;
|
|
5953
6139
|
entries[loc] = value;
|
|
@@ -5961,6 +6147,9 @@ const serializeAws_queryRestoreDBClusterFromSnapshotMessage = (input, context) =
|
|
|
5961
6147
|
}
|
|
5962
6148
|
if (input.EnableCloudwatchLogsExports != null) {
|
|
5963
6149
|
const memberEntries = serializeAws_queryLogTypeList(input.EnableCloudwatchLogsExports, context);
|
|
6150
|
+
if (input.EnableCloudwatchLogsExports?.length === 0) {
|
|
6151
|
+
entries.EnableCloudwatchLogsExports = [];
|
|
6152
|
+
}
|
|
5964
6153
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5965
6154
|
const loc = `EnableCloudwatchLogsExports.${key}`;
|
|
5966
6155
|
entries[loc] = value;
|
|
@@ -6012,6 +6201,9 @@ const serializeAws_queryRestoreDBClusterToPointInTimeMessage = (input, context)
|
|
|
6012
6201
|
}
|
|
6013
6202
|
if (input.VpcSecurityGroupIds != null) {
|
|
6014
6203
|
const memberEntries = serializeAws_queryVpcSecurityGroupIdList(input.VpcSecurityGroupIds, context);
|
|
6204
|
+
if (input.VpcSecurityGroupIds?.length === 0) {
|
|
6205
|
+
entries.VpcSecurityGroupIds = [];
|
|
6206
|
+
}
|
|
6015
6207
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
6016
6208
|
const loc = `VpcSecurityGroupIds.${key}`;
|
|
6017
6209
|
entries[loc] = value;
|
|
@@ -6019,6 +6211,9 @@ const serializeAws_queryRestoreDBClusterToPointInTimeMessage = (input, context)
|
|
|
6019
6211
|
}
|
|
6020
6212
|
if (input.Tags != null) {
|
|
6021
6213
|
const memberEntries = serializeAws_queryTagList(input.Tags, context);
|
|
6214
|
+
if (input.Tags?.length === 0) {
|
|
6215
|
+
entries.Tags = [];
|
|
6216
|
+
}
|
|
6022
6217
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
6023
6218
|
const loc = `Tags.${key}`;
|
|
6024
6219
|
entries[loc] = value;
|
|
@@ -6032,6 +6227,9 @@ const serializeAws_queryRestoreDBClusterToPointInTimeMessage = (input, context)
|
|
|
6032
6227
|
}
|
|
6033
6228
|
if (input.EnableCloudwatchLogsExports != null) {
|
|
6034
6229
|
const memberEntries = serializeAws_queryLogTypeList(input.EnableCloudwatchLogsExports, context);
|
|
6230
|
+
if (input.EnableCloudwatchLogsExports?.length === 0) {
|
|
6231
|
+
entries.EnableCloudwatchLogsExports = [];
|
|
6232
|
+
}
|
|
6035
6233
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
6036
6234
|
const loc = `EnableCloudwatchLogsExports.${key}`;
|
|
6037
6235
|
entries[loc] = value;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-neptune",
|
|
3
3
|
"description": "AWS SDK for JavaScript Neptune Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.202.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -19,9 +19,9 @@
|
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
21
21
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
22
|
-
"@aws-sdk/client-sts": "3.
|
|
22
|
+
"@aws-sdk/client-sts": "3.202.0",
|
|
23
23
|
"@aws-sdk/config-resolver": "3.201.0",
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.202.0",
|
|
25
25
|
"@aws-sdk/fetch-http-handler": "3.201.0",
|
|
26
26
|
"@aws-sdk/hash-node": "3.201.0",
|
|
27
27
|
"@aws-sdk/invalid-dependency": "3.201.0",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.201.0",
|
|
49
49
|
"@aws-sdk/util-defaults-mode-browser": "3.201.0",
|
|
50
50
|
"@aws-sdk/util-defaults-mode-node": "3.201.0",
|
|
51
|
-
"@aws-sdk/util-endpoints": "3.
|
|
51
|
+
"@aws-sdk/util-endpoints": "3.202.0",
|
|
52
52
|
"@aws-sdk/util-user-agent-browser": "3.201.0",
|
|
53
53
|
"@aws-sdk/util-user-agent-node": "3.201.0",
|
|
54
54
|
"@aws-sdk/util-utf8-browser": "3.188.0",
|