@aws-sdk/client-neptune 3.200.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 +22 -0
- package/dist-cjs/endpoint/EndpointParameters.js +2 -3
- package/dist-cjs/protocols/Aws_query.js +205 -11
- package/dist-cjs/runtimeConfig.browser.js +16 -16
- package/dist-cjs/runtimeConfig.js +20 -19
- package/dist-cjs/runtimeConfig.native.js +1 -2
- package/dist-cjs/runtimeConfig.shared.js +8 -11
- package/dist-es/protocols/Aws_query.js +198 -0
- package/package.json +35 -35
|
@@ -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;
|
|
@@ -9552,15 +9750,12 @@ const deserializeAws_queryVpcSecurityGroupMembershipList = (output, context) =>
|
|
|
9552
9750
|
return deserializeAws_queryVpcSecurityGroupMembership(entry, context);
|
|
9553
9751
|
});
|
|
9554
9752
|
};
|
|
9555
|
-
const deserializeMetadata = (output) => {
|
|
9556
|
-
|
|
9557
|
-
|
|
9558
|
-
|
|
9559
|
-
|
|
9560
|
-
|
|
9561
|
-
cfId: output.headers["x-amz-cf-id"],
|
|
9562
|
-
});
|
|
9563
|
-
};
|
|
9753
|
+
const deserializeMetadata = (output) => ({
|
|
9754
|
+
httpStatusCode: output.statusCode,
|
|
9755
|
+
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
9756
|
+
extendedRequestId: output.headers["x-amz-id-2"],
|
|
9757
|
+
cfId: output.headers["x-amz-cf-id"],
|
|
9758
|
+
});
|
|
9564
9759
|
const collectBody = (streamBody = new Uint8Array(), context) => {
|
|
9565
9760
|
if (streamBody instanceof Uint8Array) {
|
|
9566
9761
|
return Promise.resolve(streamBody);
|
|
@@ -9612,10 +9807,9 @@ const parseBody = (streamBody, context) => collectBodyString(streamBody, context
|
|
|
9612
9807
|
return {};
|
|
9613
9808
|
});
|
|
9614
9809
|
const parseErrorBody = async (errorBody, context) => {
|
|
9615
|
-
var _a;
|
|
9616
9810
|
const value = await parseBody(errorBody, context);
|
|
9617
9811
|
if (value.Error) {
|
|
9618
|
-
value.Error.message =
|
|
9812
|
+
value.Error.message = value.Error.message ?? value.Error.Message;
|
|
9619
9813
|
}
|
|
9620
9814
|
return value;
|
|
9621
9815
|
};
|